<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>Accueil</p><p class="link-bilingue">Startseite</p></a>
</li>
<li>
<a href="{{ path('ecole') }}" title="L'école" class="{{ (currentPage is defined and currentPage == 'ecole')?'text-primary' }}">
<p>L'école de Haguenau</p><p class="link-bilingue">Die Hagenauer Schule</p>
</a>
</li>
<li>
<a href="{{ path('page', {'ecole':constant('WWW_HOST'), page:'periscolaire'}) }}" title="Périscolaire" class="{{ page != '' and page.filtre == 'periscolaire' ? 'text-primary' }}">
<p>Périscolaire</p><p class="link-bilingue">Außerschulisch</p>
</a>
</li>
<li>
<a href="{{ path('page', {'ecole':constant('WWW_HOST'), page:'journee-ecole'}) }}" title="Une journée à l'école" class="{{ page != '' and page.filtre == 'journee-ecole' ? 'text-primary' }}">
<p>Une journée à l'école</p><p class="link-bilingue">Ein Tag in der Schule</p>
</a>
</li>
<li>
<a href="{{ path('actualites') }}" title="Wàs gebt’s neus ?" class="{{ (currentPage is defined and currentPage == 'actualites')?'text-primary' }}">
<p>Was gebt’s neus ?</p><p class="link-bilingue">Was 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', {ecole:constant('WWW_HOST')}) }}" title="Je me pré-inscris"><p>Je me pré-inscris</p><p class="link-bilingue">Ich melde mich vorab an </p></a>
</aside>