<header class="z-20 bg-white font-bold shadow-md text-lg lg:text-sm">
<nav class="pl-8 flex w-full py-1 bg-white lg:hidden">
<img class="w-16 sm:w-20" src="{{ asset('/img/logo/logo.png') }}">
<img src="{{ asset('/img/icones/menu.svg') }}" alt="" id="menu" class="absolute top-5 right-8 w-10 sm:w-14 cursor-pointer z-50">
</nav>
<nav id="nav" class="relative py-2 hidden lg:block">
<ul class="flex flex-col lg:flex-row gap-8 lg:gap-0 pb-8 lg:pb-0 items-center justify-between text-center px-8 xl:px-36 xxl:px-44">
<li class="hidden lg:block">
<a href="{{ path('home') }}" title="Accueil"><img alt="" id="logo" class="w-18 h-auto" src={{ asset("img/logo/logo.png")}}></a>
</li>
<li class="lg:hidden block">
<a href="{{ path('home') }}" title="Accueil"><p>{{ 'MENU_ACCUEIL'|trans({fr:'Accueil', de:'Startseite'}) }}</p></a>
</li>
<li>
<a href="{{ path('trouver-ecole') }}" title="L'école" class="{{ (currentPage is defined and currentPage == 'ecoles')?'text-primary' }}">
<p>{{ 'MENU_NOS_ECOLES'|trans({fr:'Nos écoles', de:'Unsere Schulen'}) }}</p>
</a>
</li>
<li>
<a href="{{ path('ecole') }}" title="Fonctionnement des écoles" class="{{ (currentPage is defined and currentPage == 'ecole')?'text-primary' }}">
<p>{{ 'MENU_FONCTIONNEMENT_DES_ECOLES'|trans({fr:'Fonctionnement des écoles', de:'Wie funktionieren unsere Schulen'}) }}</p>
</a>
</li>
<li>
<a href="{{ path('page', {'page':'MENU_LIEN_IMMERSIF'|trans({fr:'pourquoi-choisir-l-immersif'})}) }}" class="{{ (page != '' and page.filtre == 'immersif')?'text-primary' }}" title="Pourquoi choisir l'immersif">
<p>{{ 'MENU_POURQUOI_CHOISIR_IMMERSIF'|trans({fr:"Pourquoi choisir l'immersif", de:'Warum immersiv wählen?'}) }}</p>
</a>
</li>
<li>
<a href="{{ path('page', {'page':'MENU_LIEN_ASSOCIATION'|trans({fr:'l-association'})}) }}" class="{{ (page != '' and page.filtre == 'association')?'text-primary' }}" title="L'association">
<p>{{ 'MENU_ASSOCIATION'|trans({fr:"L'association", de:'Der Verein'}) }}</p></a>
</li>
<li>
<a href="{{ path('page', {'page':'MENU_LIEN_PARENTS'|trans}) }}" class="{{ (page != '' and page.filtre == 'parents')?'text-primary' }}" title="Être parent d’élève">
<p>{{ 'MENU_PARENT_ELEVE'|trans({fr:"Être parent d’élève", de:'Elternteil des Schülers'}) }}</p>
</a>
</li>
<li>
<a href="{{ path('page', {'page':'MENU_LIEN_SOUTENIR'|trans}) }}" class="{{ (page != '' and page.filtre == 'soutenir')?'text-primary' }}" title="Soutenir ABCM">
<p>{{ 'MENU_SOUTENIR_ABCM'|trans({fr:"Soutenir ABCM", de:'ABCM unterstützen'}) }}</p></a>
</li>
<li>
<a href="{{ path('actualites') }}" title="Was gebt’s neus ?" class="{{ (currentPage is defined and currentPage == 'actualites')?'text-primary' }}">
<p>{{ 'MENU_ACTUALITES'|trans({fr:"Was gebt’s neus ?", de:'Wàs git‘s neis'}) }}</p>
</a>
</li>
<li id="lang-select" class="relative px-2 z-10 w-12">
{% if app.request.locale == "de" %}
<img src="/img/icones/flag-de.png" alt="Deutsch" title="Deutsch" class="block w-8 h-auto cursor-pointer">
{% else %}
<img src="/img/icones/flag-fr.png" alt="Français" title="Français" class="block w-8 h-auto cursor-pointer">
{% endif %}
<ul class="absolute x-center bg-white p-2 hidden">
<li>
<a href="{{ path('select_locale', {'langue': "fr"}) }}" class="block w-8 py-1 h-auto" title="Français">
<img src="/img/icones/flag-fr.png" alt="Français" title="Français">
</a>
</li>
<li>
<a href="{{ path('select_locale', {'langue': "de"}) }}" class="block w-8 py-1 h-auto" title="Deutsch">
<img src="/img/icones/flag-de.png" alt="Deutsch" title="Deutsch">
</a>
</li>
</ul>
</li>
</ul>
</nav>
</header>
<aside>
<a class="bg-tertiary-300 px-8 py-1 rounded-2xl text-center font-bold hover:bg-transparent hover:text-tertiary border-transparent border-2 hover:border-tertiary" href="{{ path('contact') }}" title="Je me pré-inscris"><p>{{ 'MENU_INSCRIPTION'|trans({fr:"Je me pré-inscris", de:'Ich melde mich vorab an'}) }}</p></a>
</aside>