<header id="header" class="header" role="banner"> {% include 'frontend/header_change_country.html.twig' %} {% set country_switcher %} {% include 'frontend/countries.html.twig' %} {% endset %} <div class="header-container-top header-menu-mobile clearfix" data-size="big"> <div class="left"><a href="{{ path('homepage') }}"><img src="{{ asset('bundles/vpauto/frontend/images/logo-vpauto.webp') }}" alt="Achat/Vente de voitures d'occasion aux enchères" class="logo-vpauto" /></a></div> <nav class="left navigation nav m-hide" role="navigation"> <ul class="clearfix"> <li> <a href="javascript:void(0)" class="bt-menu tab-l-hide tab-p-hide m-hide"> <span class="lignes"> <span class="ligne1"></span> <span class="ligne2"></span> <span class="ligne3"></span> </span> <span>{{ 'frontend.header.navigation.menu'|trans }}</span> </a> <a href="#" class="tab-bt-menu grid-hide tab-l-visible tab-p-visible m-hide"> <span class="lignes"> <span class="ligne1"></span> <span class="ligne2"></span> <span class="ligne3"></span> </span> <span>{{ 'frontend.header.navigation.menu'|trans }}</span> </a> </li> <li class="tab-l-hide tab-p-hide m-hide"><a href="{{ path('frontend_vehicle_list') }}">{{ 'frontend.header.link.buy'|trans }}</a></li> {% if is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE')) %} <li class="tab-l-hide tab-p-hide m-hide"><a href="{{ sell_my_auto_url }}" target="_blank" title="">{{ 'frontend.header.link.sell'|trans }}</a></li> {% endif %} {% if is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE')) %} <li class="grid-xl-visible grid-l-visible grid-hide"> <a href="{{ path('frontend_wiki_list_fr', {'limit': 10}) }}" title=""> {{ 'frontend.france.blog.link01'|trans }} </a> </li> {% endif %} {% if is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL')) %} <li class="grid-xl-visible grid-l-visible grid-hide"> <a href="{{ path('frontend_wiki_list_pt') }}"> {{ 'frontend.portugal.blog.title'|trans }} </a> </li> {% endif %} </ul> </nav> <div class="menuhaut d-menuhaut right prelative tab-p-hide m-hide"> <ul class="left"> <li class="tel"><i class="icon-menu-tel"></i><span>{% include 'Frontend/user/_tel_customer_service.html.twig' %}</span></li> {% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %} <li class="connexion"><a href="{{ path('fos_user_profile_edit') }}" title="" class="mon-compte">{{ "frontend.profile.account"|trans }}</a></li> {% if is_granted('ROLE_PREVIOUS_ADMIN') %} <li class="inscription"><a href="{{ path('backend_user_view', {'id': app.user.id, '_switch_user': '_exit'})}}" title="">{{ "frontend.switch.user.exit"|trans }}</a></li> {% else %} <li class="deconnexion"><a href="{{ path('fos_user_security_logout') }}" title="" class="deconnexion">{{ "frontend.profile.logout"|trans }}</a></li> {% endif %} {% else %} <li class="connexion u-login u-modal"><a href="#" title="" class="">{{ "frontend.header.profile.login"|trans }}</a></li> <li class="inscription header_menu_dropdown"> {{ "frontend.header.profile.create"|trans }} <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" fill="#383b3e" class="bi bi-chevron-down" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path> </svg> <ul class="header_menu_dropdown_ul"> <li class="header_menu_link_pro"><a href="{{ getADUrl() }}" title="{{ "frontend.header.link.pro"|trans }}">{{ "frontend.header.link.pro"|trans }}</a></li> <li class="header_menu_link_private"><a href="{{ path('registration_step', {step: 2}) }}" title="{{ "frontend.header.link.private"|trans }}">{{ "frontend.header.link.private"|trans }}</a></li> <li class="header_menu_link_society"><a href="{{ path('registration_step', {step: 2}) }}" title="{{ "frontend.header.link.society"|trans }}">{{ "frontend.header.link.society"|trans }}</a></li> </ul> </li> {% endif %} {% if app.user is null or app.user is pro %} <li class="btn-pro"><a href="{{ path('homepage_pro') }}" title="" rel="nofollow">{{ "frontend.header.button.pro"|trans }}</a></li> {% endif %} {% if not (is_current_website('showvroom')) %} <li class="langue cursor"> <span class="d-txt-langue"> <i class="icon-flag-{{ current_country }}"></i> <span class="fleche"> <span class="ligne1"></span> <span class="ligne2"></span> </span> </span> {{ country_switcher }} </li> {% endif %} </ul> </div> <div class="menuhaut-mobile right grid-hide tab-l-hide tab-p-hide m-visible"> <a href="#" class="m-bt-menu"> <span class="lignes"> <span class="ligne1"></span> <span class="ligne2"></span> <span class="ligne3"></span> </span> <span>{{ 'frontend.navigation.menu'|trans }}</span> </a> </div> </div></header>{% include 'frontend/main_menu.html.twig' with { 'type': 'private', country_switcher: country_switcher} %}