templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <title>{% block title %}Welcome!{% endblock %}</title>
  6.         <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
  7.         <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"/>
  8.         {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  9.         <link rel="preconnect" href="https://fonts.googleapis.com">
  10.         <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  11.         <link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"> 
  12.         <link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&display=swap" rel="stylesheet"> 
  13.         {% block stylesheets %}
  14.             {{ encore_entry_link_tags('app') }}
  15.         {% endblock %}
  16.         {% block javascripts %}
  17.             {{ encore_entry_script_tags('app') }}
  18.         {% endblock %}
  19.     </head>
  20.     <body>
  21.         <div class="container-app">
  22.             <header class="header">
  23.                 <div class="logo">
  24.                     <img src="{{ asset('images/logo-latour.svg') }}" alt="Logo La Tour">
  25.                 </div>
  26.                 <div data-controller="swiper">
  27.                     <nav class="menu carousel-menu swiper">
  28.                         <div class="swiper-wrapper">
  29.                             <div class="swiper-slide">
  30.                                 <div class="menu-item">
  31.                                     <a href="{{ path('aperitif') }}" {% if current_menu == 'aperitif' %}class="active"{% endif %}>
  32.                                         <div class="picto">
  33.                                             <img src="{{ asset('images/icons/aperitif2.svg') }}" alt="Aperitif">
  34.                                         </div>
  35.                                         <span>Apéritifs</span>
  36.                                     </a>
  37.                                 </div>
  38.                             </div>
  39.                             <div class="swiper-slide">
  40.                                 <div class="menu-item">
  41.                                     <a href="{{ path('cocktail') }}" {% if current_menu == 'cocktail' %}class="active"{% endif %}>
  42.                                         <div class="picto">
  43.                                             <img src="{{ asset('images/icons/boisson.svg') }}" alt="cocktail">
  44.                                         </div>
  45.                                         <span>Cocktails</span>
  46.                                     </a>
  47.                                 </div>
  48.                             </div>
  49.                             <div class="swiper-slide">
  50.                                 <div class="menu-item">
  51.                                     <a href="{{ path('boisson') }}" {% if current_menu == 'boisson' %}class="active"{% endif %}>
  52.                                         <div class="picto">
  53.                                             <img src="{{ asset('images/icons/aperitif.svg') }}" alt="Boisson">
  54.                                         </div>
  55.                                         <span>Boissons</span>
  56.                                     </a>
  57.                                 </div>
  58.                             </div>
  59.                             <div class="swiper-slide">
  60.                                 <div class="menu-item">
  61.                                     <a href="{{ path('planche') }}" {% if current_menu == 'planche' %}class="active"{% endif %}>
  62.                                         <div class="picto">
  63.                                             <img src="{{ asset('images/icons/assiette-apero.svg') }}" alt="Assiette apéro">
  64.                                         </div>
  65.                                         <span>Assiettes apéro</span>
  66.                                     </a>
  67.                                 </div>
  68.                             </div>
  69.                             <div class="swiper-slide">
  70.                                 <div class="menu-item">
  71.                                     <a href="{{ path('vin') }}" {% if current_menu == 'vin' %}class="active"{% endif %}>
  72.                                         <div class="picto">
  73.                                             <img src="{{ asset('images/icons/vin.svg') }}" alt="Aperitif">
  74.                                         </div>
  75.                                         <span>Vins</span>
  76.                                     </a>
  77.                                 </div>
  78.                             </div>
  79.                             <div class="swiper-slide">
  80.                                 <div class="menu-item">
  81.                                     <a href="{{ path('entree') }}" {% if current_menu == 'entree' %}class="active"{% endif %}>
  82.                                         <div class="picto">
  83.                                             <img src="{{ asset('images/icons/salade.svg') }}" alt="Salade">
  84.                                         </div>
  85.                                         <span>Entrées Salades</span>
  86.                                     </a>
  87.                                 </div>
  88.                             </div>
  89.                             <div class="swiper-slide">
  90.                                 <div class="menu-item">
  91.                                     <a href="{{ path('plat') }}" {% if current_menu == 'plat' %}class="active"{% endif %}>
  92.                                         <div class="picto">
  93.                                             <img src="{{ asset('images/icons/plat.svg') }}" alt="Plat">
  94.                                         </div>
  95.                                         <span>Plats</span>
  96.                                     </a>
  97.                                 </div>
  98.                             </div>
  99.                             <div class="swiper-slide">
  100.                                 <div class="menu-item">
  101.                                     <a href="{{ path('pates') }}" {% if current_menu == 'pates' %}class="active"{% endif %}>
  102.                                         <div class="picto">
  103.                                             <img src="{{ asset('images/icons/pates.svg') }}" alt="Plat">
  104.                                         </div>
  105.                                         <span>Pâtes & gratins</span>
  106.                                     </a>
  107.                                 </div>
  108.                             </div>
  109.                             <div class="swiper-slide">
  110.                                 <div class="menu-item">
  111.                                     <a href="{{ path('burger') }}" {% if current_menu == 'burger' %}class="active"{% endif %}>
  112.                                         <div class="picto">
  113.                                             <img src="{{ asset('images/icons/burger.svg') }}" alt="Burger">
  114.                                         </div>
  115.                                         <span>Burgers</span>
  116.                                     </a>
  117.                                 </div>
  118.                             </div>
  119.                             <div class="swiper-slide">
  120.                                 <div class="menu-item">
  121.                                     <a href="{{ path('pizza') }}" {% if current_menu == 'pizza' %}class="active"{% endif %}>
  122.                                         <div class="picto">
  123.                                             <img src="{{ asset('images/icons/pizza.svg') }}" alt="Pizza">
  124.                                         </div>
  125.                                         <span>Pizza</span>
  126.                                     </a>
  127.                                 </div>
  128.                             </div>
  129.                             <div class="swiper-slide">
  130.                                 <div class="menu-item">
  131.                                     <a href="{{ path('dessert') }}" {% if current_menu == 'dessert' %}class="active"{% endif %}>
  132.                                         <div class="picto">
  133.                                             <img src="{{ asset('images/icons/dessert.svg') }}" alt="Desserts">
  134.                                         </div>
  135.                                         <span>Desserts</span>
  136.                                     </a>
  137.                                 </div>
  138.                             </div>
  139.                             <div class="swiper-slide">
  140.                                 <div class="menu-item">
  141.                                     <a href="{{ path('boissonChaude') }}" {% if current_menu == 'boissonChaude' %}class="active"{% endif %}>
  142.                                         <div class="picto">
  143.                                             <img src="{{ asset('images/icons/boisson-chaude.svg') }}" alt="Boissons chaudes">
  144.                                         </div>
  145.                                         <span>Boissons Chaudes</span>
  146.                                     </a>
  147.                                 </div>
  148.                             </div>
  149.                             <div class="swiper-slide">
  150.                                 <div class="menu-item">
  151.                                     <a href="{{ path('formule') }}" {% if current_menu == 'formule' %}class="active"{% endif %}>
  152.                                         <div class="picto">
  153.                                             <img src="{{ asset('images/icons/formule.svg') }}" alt="Boissons chaudes">
  154.                                         </div>
  155.                                         <span>Formules & Menu enfant</span>
  156.                                     </a>
  157.                                 </div>
  158.                             </div>
  159.                             <div class="swiper-slide">
  160.                             </div>
  161.                         </div>
  162.                     </nav>
  163.                 </div>
  164.             </header>
  165.             {% block body %}{% endblock %}
  166.         </div>
  167.     </body>
  168. </html>