Refine header language switcher and align i18n search routes

This commit is contained in:
2026-05-14 00:15:43 +02:00
parent 1c991756c1
commit 1ddc7b10f6
5 changed files with 30 additions and 11 deletions

View File

@@ -14,14 +14,7 @@
aria-expanded="false"
aria-label="{% trans 'Language switcher' %}"
>
<svg class="language-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" aria-hidden="true" focusable="false">
<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="9" />
<path d="M3 12h18" />
<path d="M12 3c3 3.5 3 14.5 0 18" />
<path d="M12 3c-3 3.5-3 14.5 0 18" />
</g>
</svg>
<i class="fa fa-globe language-icon" aria-hidden="true"></i>
</button>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="header-language-switcher">
{% for language in languages %}

View File

@@ -13,4 +13,3 @@
{% include "oxyan/headers/partials/mini_in_basket.html" %}
</div>
</div>