templates/header.html.twig line 1

Open in your IDE?
  1. <div class="app-header1 header py-2 d-flex">
  2.     <div class="container-fluid">
  3.         <div class="d-flex">
  4.             <a class="header-brand" href="index.html">
  5.                 <img src="{{ asset('assets/images/custom/logo/logo-top.png') }}" class="header-brand-img desktop-logo" alt="logo">
  6.                 <img src="{{ asset('assets/images/custom/logo/logo-footer.png') }}" class="header-brand-img mobile-logo" alt="logo">
  7.             </a>
  8.             <a aria-label="Hide Sidebar" class="app-sidebar__toggle" data-bs-toggle="sidebar" href="javascript:void(0)"><i class=""><svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg></i></a>
  9.             <div class="d-flex order-lg-2 ms-auto heaader-right">
  10.                 <button class="navbar-toggler navresponsive-toggler d-md-none" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent-4" aria-controls="navbarSupportedContent-4" aria-expanded="false" aria-label="Toggle navigation">
  11.                     <i class="fe fe-more-vertical header-icons navbar-toggler-icon"></i>
  12.                 </button>
  13.                 <div class="p-0 mb-0 navbar navbar-expand-lg  responsive-navbar navbar-dark  ">
  14.                     <div class="navbar-collapse collapse" id="navbarSupportedContent-4">
  15.                         <div class="d-flex">
  16.                             {% if is_granted('IS_AUTHENTICATED_FULLY') %}
  17.                                 <div class="dropdown header-user">
  18.                                     <a class="nav-link icon" href="javascript:void(0)" data-bs-toggle="dropdown">
  19.                                         <i class=""><svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 15 15" width="24px" class="bi bi-person mb-1" fill="#000000"><path d="M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z"></path></svg></i>
  20.                                     </a>
  21.                                     <div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
  22.                                         <a class="dropdown-item ml-3" href="{{ path('logout') }}">
  23.                                             <i class="dropdown-icon  icon icon-power"></i> Se déconnecter
  24.                                         </a>
  25.                                     </div>
  26.                                 </div>
  27.                             {% else %}
  28.                                 <div class="dropdown header-message d-flex">
  29.                                     <a class="nav-link icon" href="{{ path('login') }}">
  30.                                         <i class=""><svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 15 15" width="24px" class="bi bi-person mb-1" fill="#000000"><path d="M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z"></path></svg></i>
  31.                                     </a>
  32.                                     <div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
  33.                                         <div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow ">
  34.                                             <a class="dropdown-item" href="{{ path('logout') }}">
  35.                                                 <i class="dropdown-icon icon icon-power"></i> Se déconnecter
  36.                                             </a>
  37.                                         </div>
  38.                                     </div>
  39.                                 </div>
  40.                             {% endif %}
  41.                         </div>
  42.                     </div>
  43.                 </div>
  44.             </div>
  45.         </div>
  46.     </div>
  47. </div>