<header class="container-fluid header">
<nav class="navbar">
<button class="burger">
<span class="visually-hidden">Toggle menu</span>
</button>
<div class="logo"><img src="{{ absolute_url( asset('build/images/icons/LOGO.svg') ) }}" alt="Logo"></div>
{% if app.user %}
<button class="login-button">
<div style="background-image:url('{{ absolute_url( asset('build/images/icons/person.svg') ) }}');"></div>
<span>{{ app.user.email}}</span>
<i class="bi bi-chevron-down"></i>
<ul class="account-dropdown">
<li class="account-dropdown-item">
<a href="{{ path('profile_orders', { '_locale': app.request.getLocale() }) }}"><img src="{{ absolute_url( asset('build/images/icons/myreservation.svg') ) }}" alt=""><span>{{ 'pages.account.reservations'|trans }}</span>
</a>
</li>
<li class="account-dropdown-item">
<a href="{{ path('profile_edit', { '_locale': app.request.getLocale() }) }}"><img src="{{ absolute_url( asset('build/images/icons/settings.svg') ) }}" alt=""><span>{{ 'pages.account.settings'|trans }}</span>
</a>
</li>
<li class="account-dropdown-item">
<a href="{{ path('web_logout') }}"><img src="{{ absolute_url( asset('build/images/icons/logout.svg') ) }}" alt=""><span>{{ 'pages.account.logout'|trans }}</span>
</a>
</li>
</ul>
</button>
{% else %}
<div class="buttons-wrapper sign-buttons">
<a class="signin-button signin-white-button" href="/{{ app.request.getLocale() }}/signin" style="color:#fff;">{{ 'pages.account.login'|trans }}</a>
<a class="create-account-button" href="/{{ app.request.getLocale() }}/registration">
<span>{{ 'pages.account.create'|trans }}</span>
</a>
</div>
{% endif %}
{{ sonata_block_render({type: 'block.langMenu'}) }}
<ul class="menu">
<li class="menu-item">
<a href="{{ path('app_homepage') }}" role="button" class="">
<span class="visually-hidden">Logo</span>
<img src="{{ absolute_url( asset('build/images/icons/LOGO.svg') ) }}" alt="Logo"></a>
</li>
{% if app.request.locale == 'en' %}
<li class="menu-item dropdown">
<a title="Transfers" class="menu-item-link">
Transfers
</a>
<ul class="dropdown-content" style="width:260px;">
<li class="dropdown-content-item">
<a href="/en/transfer/pico" title="Transfer to Pico do Arieiro">
Transfer to Pico do Arieiro
</a>
</li>
<li class="dropdown-content-item">
<a href="/en/transfer/rabacal" title="Transfer to Rabaçal">
Transfer to Rabaçal
</a>
</li>
<li class="dropdown-content-item">
<a href="/en/transfer/fanal" title="Transfer to Fanal Forest">
Transfer to Fanal Forest
</a>
</li>
<li class="dropdown-content-item">
<a href="/en/transfer/sunrise-transfer-to-pico-do-arieiro" title="Sunrise transfer to Pico do Arieiro">
Sunrise transfer to Pico do Arieiro
</a>
</li>
</ul>
</li>
{% endif %}
<li class="menu-item">
<a href="{{ path('app_bus_stop') }}" title="Bus stops" class="menu-item-link">
{{ 'pages.menu.busStops'|trans }}
</a>
</li>
{% if app.request.locale == 'en' %}
<li class="menu-item">
<a href="/en/travel-info" title="Travel info" class="menu-item-link">
Travel info
</a>
</li>
{% endif %}
{% if app.request.locale == 'en' %}
<li class="menu-item">
<a href="/en/hike-trails" title="Hike trails" class="menu-item-link">
Hike trails
</a>
</li>
{% endif %}
{% if app.request.locale == 'en' %}
<li class="menu-item">
<a href="/en/outdoor-safety" title="Before your trip" class="menu-item-link">
Before your trip
</a>
</li>
{% endif %}
<li class="menu-item">
<a href="{{ path('app_inspirations') }}" title="Inspirations" class="menu-item-link">
{{ 'pages.menu.inspirations'|trans }}
</a>
</li>
<li class="menu-item dropdown">
<a title="About us" class="menu-item-link">
Info
</a>
<ul class="dropdown-content">
<li class="dropdown-content-item">
<a href="{{ path('app_faq') }}" title="FAQ">
{{ 'pages.menu.faq'|trans }}
</a>
</li>
<li class="dropdown-content-item">
<a href="{{ path('app_contact') }}" title="Contact">
{{ 'pages.menu.contact'|trans }}
</a>
</li>
<li class="dropdown-content-item">
<a href="{{ path('app_about_us') }}" title="About us">
{{ 'pages.menu.about'|trans }}
</a>
</li>
</ul>
</li>
{% if app.user %}
<div></div>
{% else %}
<div class="buttons-wrapper">
<a class="signin-button signin-white-button" href="{{ app.request.getLocale() }}/signin" style="color:#fff;">{{ 'pages.account.login'|trans }}</a>
<a class="create-account-button" href="{{ app.request.getLocale() }}/registration">
<span>{{ 'pages.account.create'|trans }}</span>
</a>
</div>
{% endif %}
</ul>
</nav>
</header>