templates/_partials/_header.html.twig line 1

Open in your IDE?
  1. <nav class="navbar navbar-expand-lg fixed-top navbar-light background-grey">
  2.     <div class="container-fluid">
  3.         <a class="navbar-brand logo footer-text d-lg-block d-md-block d-sm-none d-none" href="{{ path("app_accueil") }}"><img height="47px" class="mb-0 logo_left" src="{{ asset("/images/logo/logo_final.ico") }}" alt="logo"></a>
  4.         <div class="d-lg-none d-md-none d-sm-block d-block width-calculed">
  5.             <a class="navbar-brand ml-20 mr-0 logo footer-text" href="{{ path("app_accueil") }}"><img height="47px" class="mb-0 logo_left" src="{{ asset("/images/logo/logo_final.ico") }}" alt="logo"></a>
  6.         </div>
  7.         <button class="navbar-toggler d-lg-none d-md-block d-sm-none d-none" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
  8.             <span class="navbar-toggler-icon"></span>
  9.         </button>
  10.         <button class="navbar-toggler pt-0 pl-0 pr-0 d-lg-none d-md-none d-sm-block d-block show-menu-sm" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
  11.             <img height="14px" src="{{ asset('/images/logo/three_dots.png') }}" alt="dots">
  12.         </button>
  13.         <div class="collapse navbar-collapse text-lg-start text-md-start text-sm-center text-center" id="navbarText">
  14.             <ul class="navbar-nav me-auto mb-2 mb-lg-0">
  15.                 <li class="nav-item">
  16.                     <a class="nav-link active footer-text" aria-current="page" href="{{ path("app_list_product_per_categ", {"type":"gamme-3-etoiles", "id_categorie":2}) }}">Spas {% trans %}<span class="fw-bold" style="color:#048b9a;">3</span> étoiles{% endtrans %}</a>
  17.                 </li>
  18.                 <li class="nav-item">
  19.                     <a class="nav-link footer-text" href="{{ path("app_list_product_per_categ", {"type":"gamme-4-etoiles", "id_categorie":3}) }}">Spas {% trans %}<span class="fw-bold" style="color:#048b9a;">4</span> étoiles{% endtrans %}</a>
  20.                 </li>
  21.                 <li class="nav-item">
  22.                     <a class="nav-link footer-text" href="{{ path("app_list_product_per_categ", {"type":"gamme-5-etoiles", "id_categorie":5}) }}">Spas {% trans %}<span class="fw-bold" style="color:#048b9a;">5</span> étoiles{% endtrans %}</a>
  23.                 </li>
  24.                 <li class="nav-item">
  25.                     <a class="nav-link footer-text" href="{{ path("app_list_spa") }}">{% trans %}Tous les{% endtrans %} spas</a>
  26.                 </li>
  27.                 <li class="nav-item">
  28.                     <a class="nav-link footer-text" target="_blank" href="https://pieces-detachees.tropicspa.fr/378-accessoire-spa">{% trans %}Accessoires{% endtrans %}</a>
  29.                 </li>
  30.                 <li class="nav-item ml-50">
  31.                     <ul class="navbar-nav ml-auto mb-2 mb-lg-0">
  32.                         <li class="nav-item">
  33.                             <a class="nav-link footer-text" href="{{ path("app_about") }}">{% trans %}Qui sommes nous ?{% endtrans %}</a>
  34.                         </li>
  35.                         <li class="nav-item">
  36.                             <a class="nav-link footer-text" href="{{ path('app_contact') }}">{% trans %}Contact{% endtrans %}</a>
  37.                         </li>
  38.                     </ul>
  39.                 </li>
  40.             </ul>
  41.             <ul class="navbar-nav ml-auto mb-2 mb-lg-0 position-relative">
  42.                 <li class="nav-item">
  43.                     <a class="nav-link hp_comparateur" href="{{ path("app_comparateur") }}">COMPARATEUR</a>
  44.                 </li>
  45.                 {% if is_granted('ROLE_CUSTOMER') %}
  46.                     {% include '_partials/_menus/_account/_customer_menu.html.twig' %}
  47.                 {% else %}
  48.                     {% include '_partials/_menus/_account/_customer_access.html.twig' %}
  49.                 {% endif %}
  50.                 <li class="nav-item">
  51.                     <a class="nav-link footer-text position-relative" href="{{ path('app.cart.list') }}"><img height="19px" src="{{ asset("/images/logo/paner_grey.png") }}" alt="logo"><span class="nbr_of_list_offert" data-url="{{ path("app.cart.get-count-cart") }}">0</span></a>
  52.                 </li>
  53.             </ul>
  54.             {# <ul class="navbar-nav ml-auto mb-2 mb-lg-0">
  55.                 <li class="nav-item">
  56.                     <a class="nav-link hp_comparateur" href="{{ path("app_comparateur") }}">COMPARATEUR</a>
  57.                 </li>
  58.                 <li class="nav-item dropdown">
  59.                     <a class="nav-link footer-text" href="#" id="dropdownMenuButton1" data-bs-toggle="dropdown"><img src="{{ asset("/images/logo/profil.png") }}" alt="logo"></a>
  60.                     <ul class="dropdown-menu d-none dropdown-language" aria-labelledby="dropdownMenuButton1">
  61.                         {% for locale in locales %}
  62.                             {%  if locale != app.request.locale %}
  63.                                 <li><a class="dropdown-item" href="{{ path("app_langue", {'locale':locale}) }}"><span class="me-4"><img height="27px" src="{{ asset('/images/drapeau/'~locale~'.png') }}" alt="{{ locale }}"></span> {{ locale | upper }}</a></li>
  64.                             {% else %}
  65.                                 <li><a class="dropdown-item active" href="{{ path("app_langue", {'locale':locale}) }}"><span class="me-4"><img height="27px" src="{{ asset('/images/drapeau/'~locale~'.png') }}" alt="{{ locale }}"></span> {{ locale | upper }}</a></li>
  66.                             {% endif %}
  67.                         {% endfor %}
  68.                     </ul>
  69.                 </li>
  70.                 <li class="nav-item">
  71.                     <a class="nav-link footer-text" href="{{ path('app.cart.list') }}"><img src="{{ asset("/images/logo/panier.png") }}" alt="logo"></a>
  72.                 </li>
  73.             </ul> #}
  74.         </div>
  75.     </div>
  76. </nav>
  77. <div class="mt-4" style="height: 1px;"></div>