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

Open in your IDE?
  1. {% trans_default_domain 'header' %}
  2. <header class="float-left w-100 position-relative">
  3.     <section class="main float-left w-100 position-relative bg-dark pt-3 pb-3">
  4.         <div class="container-fluid">
  5.             <div class="row align-items-center">
  6.                 <div class="col-md-5 col-4 d-flex align-items-center">
  7.                     <a href="" class="toggleNav white">
  8.                         <i class="icon-burger"></i>
  9.                     </a>
  10.                     <a href="{{ path('search') }}"
  11.                        data-route="{{ app.request.get('_route') }}"
  12.                        class="toggleSearch btn btn-search ml-5 align-items-center d-none d-md-flex">
  13.                         <i class="icon-loupe mr-2"></i> {{ 'find_experience'|trans }}
  14.                     </a>
  15.                     <a href="{{ path('search') }}"
  16.                        data-route="{{ app.request.get('_route') }}"
  17.                        class="toggleSearch ml-4 d-block d-md-none white" title="{{ 'find_experience'|trans }}">
  18.                         <i class="icon-loupe mr-2"></i>
  19.                     </a>
  20.                 </div>
  21.                 <div class="col-md-2 col-4 d-flex justify-content-center">
  22.                     <a href="{{ path('front_home') }}" class="logo w-100">
  23.                         <img src="{{ asset('images/front/header/logo-navigation.svg') }}" class="img-fluid"
  24.                              alt="Alpes Isère" title="Alpes Isère"/>
  25.                     </a>
  26.                 </div>
  27.                 <div class="col-md-5 col-4 d-flex justify-content-end">
  28.                     <a href="{{ url('wishlist') }}" class="wishlist align-items-center d-md-flex d-none white">
  29.                         {{ 'my_wishlist'|trans }}<span class="wishlist_cntr" data-url="{{ url('get-wishlist-exp-count') }}"></span>
  30.                     </a>
  31.                     <a href="{{ url('wishlist') }}" class="wishlist align-items-center d-flex d-md-none white">
  32.                         {{ 'my_wishlist_mobile'|trans }}<span class="wishlist_cntr" data-url="{{ url('get-wishlist-exp-count') }}"></span>
  33.                     </a>
  34.                 </div>
  35.             </div>
  36.         </div>
  37.     </section>
  38.     <section class="sticky w-100 position-fixed bg-dark pt-3 pb-3">
  39.         <div class="container-fluid">
  40.             <div class="row align-items-center">
  41.                 <div class="col-md-5 col-4 d-flex align-items-center">
  42.                     <a href="" class="toggleNav white">
  43.                         <i class="icon-burger"></i>
  44.                     </a>
  45.                     <a href="{{ path('search') }}"
  46.                        data-route="{{ app.request.get('_route') }}"
  47.                        class="toggleSearch btn btn-search ml-5 align-items-center d-none d-md-flex">
  48.                         <i class="icon-loupe mr-2"></i> {{ 'find_experience'|trans }}
  49.                     </a>
  50.                     <a href="{{ path('search') }}"
  51.                        data-route="{{ app.request.get('_route') }}"
  52.                        class="toggleSearch ml-4 d-block d-md-none white" title="{{ 'find_experience'|trans }}">
  53.                         <i class="icon-loupe mr-2"></i>
  54.                     </a>
  55.                 </div>
  56.                 <div class="col-md-2 col-4 d-flex justify-content-center">
  57.                     <a href="{{ path('front_home') }}" class="logo w-100">
  58.                         <img src="{{ asset('images/front/header/logo-navigation.svg') }}" class="img-fluid"
  59.                              alt="Alpes Isère" title="Alpes Isère"/>
  60.                     </a>
  61.                 </div>
  62.                 <div class="col-md-5 col-4 d-flex justify-content-end">
  63.                     <a href={{ url('wishlist') }}"" class="wishlist align-items-center d-md-flex d-none white">
  64.                         {{ 'my_wishlist'|trans }}<span class="wishlist_cntr" data-url="{{ url('get-wishlist-exp-count') }}"></span>
  65.                     </a>
  66.                     <a href="{{ url('wishlist') }}" class="wishlist align-items-center d-flex d-md-none white">
  67.                         {{ 'my_wishlist_mobile'|trans }}<span class="wishlist_cntr" data-url="{{ url('get-wishlist-exp-count') }}"></span>
  68.                     </a>
  69.                 </div>
  70.             </div>
  71.         </div>
  72.     </section>
  73. </header>