Closed uf0 closed 6 years ago
https://github.com/C2DH/ww1/blob/master/src/components/Layout/OpenSideMenu/OpenSideMenu.js#L46
<li><a href="your link"> {this.context.t('YOUR TITLE KEY')} </a></li>
@uf0 how to get the current language and current page? I'd like to do something like:
<li><a href="/contact-us/?lang=fr&next=/collection">
https://github.com/C2DH/ww1/blob/master/src/components/Layout/OpenSideMenu/OpenSideMenu.js#L46
<li><a href="your link"> {this.context.t('YOUR TITLE KEY')} </a></li>