templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <head>
  3.     <meta charset="UTF-8">
  4.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <title>{% block title %}Previoo - Admin{% endblock %}</title>
  7.     {% block stylesheets %}
  8.     {{ encore_entry_link_tags('app') }}
  9.     {% endblock %}
  10.     {% block javascripts %}
  11.     {{ encore_entry_script_tags('app') }}
  12.     {% endblock %}
  13.     <script src="https://code.jquery.com/jquery-3.6.0.min.js"
  14.         integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
  15.         <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>
  16. </head>
  17. <body class="bg-gray-100 flex flex-col">
  18.     <nav class="bg-white shadow-lg">
  19.         <div class="max-w-6xl mx-auto px-4">
  20.             <div id="header" class="flex justify-between">
  21.                 <div class="flex justify-between w-full">
  22.                     <div>
  23.                         <a href="#" class="flex items-center p-2">
  24.                             <img src="{{ asset('build/yeati-full.png') }}" alt="Logo" class="w-36">
  25.                         </a>
  26.                     </div>
  27.                     <div class="hidden md:flex items-center space-x-1">
  28.                         <a href="/factures"
  29.                             class="text-lg font-light p-4 hover:text-primary transition duration-300 text-gray-800">Factures</a>
  30.                         <a href="/clients"
  31.                             class="text-lg font-light p-4 hover:text-primary transition duration-300 text-gray-800">Clients</a>
  32.                         <a href="/resultats"
  33.                             class="text-lg font-light p-4 hover:text-primary transition duration-300 text-gray-800">Résultats</a>
  34.                         <a href="/statistiques"
  35.                             class="text-lg font-light p-4 hover:text-primary transition duration-300 text-gray-800">Statistiques</a>
  36.                     </div>
  37.                 </div>
  38.                 <!-- Mobile menu button -->
  39.                 <div class="md:hidden flex items-center">
  40.                     <button class="outline-none mobile-menu-button">
  41.                         <svg class="w-10 h-10 text-gray-500" x-show="!showMenu" fill="none" stroke-linecap="round"
  42.                             stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor">
  43.                             <path d="M4 6h16M4 12h16M4 18h16"></path>
  44.                         </svg>
  45.                     </button>
  46.                 </div>
  47.             </div>
  48.         </div>
  49.         <!-- mobile menu -->
  50.         <div class="hidden mobile-menu">
  51.             <ul class="">
  52.                 <li><a href="/factures" class="block text-center px-2 py-4">Factures</a></li>
  53.                 <li><a href="/clients" class="block text-center px-2 py-4">Compte client</a></li>
  54.                 <li><a href="/resultats" class="block text-center px-2 py-4">Résultats</a></li>
  55.                 <li><a href="/statistiques" class="block text-center px-2 py-4">Statistiques</a></li>
  56.             </ul>
  57.         </div>
  58.     </nav>
  59.     <div id="app" class="w-11/12 mx-auto mt-8">
  60.         {% block body %}{% endblock %}
  61.     </div>
  62. </body>
  63. </html>