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

Open in your IDE?
  1. <header>
  2.     {{ include('front/inc/header_fixed.html.twig') }}
  3.     <div class="d-flex justify-content-center flex-column nav-container">
  4.         <div class="logo text-center">
  5.             <a href="{{ path('front_home') }}">
  6.                 <img src="{{ asset('img/royal_hamilius_logo.png') }}" title="Royal Hamilius">
  7.             </a>
  8.         </div>
  9.         <div class="menu d-flex">
  10.             <nav class="d-flex justify-content-between align-items-center col-md-8 col-lg-5 col-xl-3 mt-4 no-responsive-mobile">
  11.                 <a href="#" id="displayBoutiques">Boutiques</a>
  12.                 <span>.</span>
  13.                 <a href="{{ path('front_post_list') }}">Actualités</a>
  14.                 <span>.</span>
  15.                 <a href="{{ path('front_parking') }}">Parking</a>
  16.                 <span>.</span>
  17.                 <a href="{{ path('front_contact') }}">Contact</a>
  18.             </nav>
  19.             <div id="navMenuResponsive" class="nav-menu-responsive d-none position-fixed">
  20.                 <i class="fa-solid fa-xmark fa-3x" id="crossRemoveNav"></i>
  21.                 <nav class="nav-list-responsive col-md-8 col-lg-5 col-xl-3">
  22.                     <a href="{{ path('front_post_list') }}"><h3>Actualités</h3></a>
  23.                     <a href="{{ path('front_parking') }}"><h3>Parking</h3></a>
  24.                     <a href="{{ path('front_contact') }}"><h3>Contact</h3></a>
  25.                 </nav>
  26.             </div>
  27.             <div id="burgerMenu">
  28.                 <div class="bar"></div>
  29.                 <div class="bar"></div>
  30.                 <div class="bar"></div>
  31.             </div>
  32.         </div>
  33.     </div>
  34.     <div class="boutiques bg-black" id="boutiquesHeader">
  35.         <div class="text-center col-md-12 pt-5 title-boutiques">
  36.             <h2 class="red">Nos boutiques</h2>
  37.         </div>
  38.         {% set shopWithoutFilter = ["Hels1nk1", "Galeries Lafayette", "Lët's Refashion"] %}
  39.         <div class="d-flex justify-content-center align-items-center pt-4 pb-4 list-boutiques position-relative">
  40.             {% set shops = twig_service.getShops() %}
  41.             {% for shop in shops %}
  42.                 <a href="{{ path('front_shop_single', {'slug': shop.slug}) }}" id="{{shop.slug}}" class=" {% if loop.index > 4 %}no-responsive{% elseif loop.index > 2 and loop.index <= 4 %}no-responsive-mobile{% endif %}" style="text-align:center;"><img src="{{ asset(constant('App\\Services\\UploadFileService::SHOP_IMAGE_DIR') ~ shop.logo) }}" style="max-height:50px;max-width:150px;"></a>
  43.             {% endfor %}      
  44.                         
  45.             <a class="link-arrow green position-relative" href="#">
  46.                 <img src="{{ asset('img/icons/arrow_right.svg') }}" class="position-absolute">
  47.                 Voir tous
  48.             </a>
  49.             <a href="" id="crossCloseBoutiques" class="green">X</a>
  50.         </div>
  51.         
  52.     </div>
  53. </header>