Skip to content

Commit

Permalink
Remove responsive lang selector before fixing it
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelGoutmann committed Feb 15, 2024
1 parent f3a69b8 commit 31d62c0
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions resources/views/base/main.edge
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,11 @@
<div id="lang-select">
@each(locale in locales)
@if(locale != i18n.locale)
<a href="?lang={{ locale }}"><span class="fi fi-{{ flags[locale] }}"
aria-label="{{ t(`ui.languages.${locale}`) }}"></span></a>
<a href="?lang={{ locale }}">
<span class="fi fi-{{ flags[locale] }}"
aria-label="{{ t(`ui.languages.${locale}`) }}">
</span>
</a>
@end
@end
</div>
Expand All @@ -78,14 +81,6 @@
<li class="responsive-nav-item"><a class="responsive-nav-link"
href="https://tribee.fr/cagnotte/01H7DFJGAQHNWSH4SC77A9X2ZV/participation" target="_blank">{{
t("ui.header.donations") }}</a></li>
<li class="responsive-nav-item">
<select id="lang_responsive">
@each(locale in locales)
<option value="{{ locale }}" selected="{{ locale == i18n.locale }}">{{ t(`ui.languages.${locale}`) }}
</option>
@end
</select>
</li>
</ul>
</nav>
</header>
Expand Down

0 comments on commit 31d62c0

Please sign in to comment.