templates/include/_navbar.html.twig line 1

  1. <nav class="bg-gray-800">
  2.     <div class="mx-auto max-w-7xl px-2 sm:px-6 lg:px-8">
  3.         <div class="relative flex h-16 items-center justify-between">
  4.             <div class="absolute inset-y-0 left-0 flex items-center sm:hidden">
  5.                 <!-- Mobile menu button-->
  6.                 <button type="button" class="inline-flex items-center justify-center rounded-md p-2 text-gray-400 hover:bg-gray-700 hover:text-white focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white" aria-controls="mobile-menu" aria-expanded="false">
  7.                     <span class="sr-only">Open main menu</span>
  8.                     <!--
  9.                       Icon when menu is closed.
  10.                       Menu open: "hidden", Menu closed: "block"
  11.                     -->
  12.                     <svg class="block h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
  13.                         <path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" />
  14.                     </svg>
  15.                     <!--
  16.                       Icon when menu is open.
  17.                       Menu open: "block", Menu closed: "hidden"
  18.                     -->
  19.                     <svg class="hidden h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
  20.                         <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
  21.                     </svg>
  22.                 </button>
  23.             </div>
  24.             <div class="flex flex-1 items-center justify-center sm:items-stretch sm:justify-start">
  25.                 <div class="flex flex-shrink-0 items-center">
  26.                     <a href="{{ path('app_home') }}">
  27.                         <img class="h-10 w-auto" src="{{asset('images/ligo.png')}}" alt="Your Company">
  28.                     </a>
  29.                 </div>
  30.             </div>
  31.             <div class="absolute inset-y-0 right-0 flex items-center pr-2 sm:static sm:inset-auto sm:ml-6 sm:pr-0">
  32.                 <div class="relative ml-3">
  33.                     <div>
  34. {#                        <a href="{{ path("app_register") }}" class="text-gray-300 hover:bg-gray-700 hover:text-white rounded-md px-3 py-2 text-sm font-medium">INSCRIPTION</a>#}
  35.                         <a href="{{ path("app_login") }}" class="bg-gray-900 text-white rounded-md px-3 py-2 text-sm font-medium" aria-current="page">CONNEXION</a>
  36.                     </div>
  37.                 </div>
  38.             </div>
  39.         </div>
  40.     </div>
  41. </nav>