templates/front/inc/header.html.twig line 1

Open in your IDE?
  1. <header class="d-flex align-items-center w-100 bg-blue">
  2.     <div class="container d-flex justify-content-between align-items-center p-0">
  3.         <div class="logo">
  4.             <a href="{{ path('front_home') }}">
  5.                 <img src="{{ asset('img/logo_floor_logo.svg') }}" alt="Floor">
  6.                 <img src="{{ asset('img/logo_floor_text.svg') }}" alt="Floor text">
  7.             </a>
  8.         </div>
  9.         <div class="nav-menu">
  10.             <ul class="row m-0 no-responsive-nav">
  11.                 <li {% if app.request.attributes.get('_route') == 'front_home' %}class="active"{% endif %}>
  12.                     <a class="link" href="{{ path('front_home') }}">Accueil</a>
  13.                 </li>
  14.                 <li {% if app.request.attributes.get('_route') == 'front_property_list' and type == 'vente' %}class="active"{% endif %}>
  15.                     <a class="link" href="{{ path('front_property_list', {'type': 'vente'}) }}">Vente</a>
  16.                 </li>
  17.                 <li {% if app.request.attributes.get('_route') == 'front_property_list' and type == 'location' %}class="active"{% endif %}>
  18.                     <a class="link" href="{{ path('front_property_list', {'type': 'location'}) }}">Location</a>
  19.                 </li>
  20.                 <li {% if app.request.attributes.get('_route') == 'front_who_is' %}class="active"{% endif %}>
  21.                     <a class="link" href="{{ path('front_who_is') }}">Qui sommes nous?</a>
  22.                 </li>
  23.                 <li {% if app.request.attributes.get('_route') == 'front_partner' %}class="active"{% endif %}>
  24.                     <a class="link" href="{{ path('front_partner') }}">Partenaires</a>
  25.                 </li>
  26.                 <li {% if app.request.attributes.get('_route') == 'front_contact_page' %}class="active"{% endif %}>
  27.                     <a class="link" href="{{ path('front_contact_page') }}">Contact</a>
  28.                 </li>
  29.             </ul>
  30.             <div class="burger">
  31.                 <div class="lineup" ></div>
  32.                 <div class="linecntr" ></div>
  33.                 <div class="linedn" ></div>
  34.             </div>
  35.         </div>
  36.     </div>
  37. </header>