templates/base.html.twig line 1

  1. <!doctype html>
  2. <html lang="fr" data-bs-theme="auto">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1">
  6.     <title>BuyAndSelam - 100% Made in Africa</title>
  7.     <meta name="description" content="La boutique spécialisée dans la fabrication Made In World">
  8.         <link href="https://cdn.jsdelivr.net/npm/remixicon@3.2.0/fonts/remixicon.css" rel="stylesheet">
  9.     <link
  10.             rel="stylesheet"
  11.             href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css"
  12.     />
  13.     <link rel="stylesheet" href="{{ asset('assets/css/styles.css') }}">
  14.     <link rel='stylesheet' href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css'>
  15.     <link href="{{ asset('assets/css/bootstrap.min.css') }}" rel="stylesheet">
  16.     <!-- Custom styles for this template -->
  17.     <link href="{{ asset('assets/css/carousel.css') }}" rel="stylesheet">
  18.     <link href="{{ asset('assets/css/custom.css') }}" rel="stylesheet">
  19.     <!-- favicon pour avoir une photo perso dans le header du nav-->
  20.     <link rel="icon" href="https://img.kwcdn.com/product/fancy/6870913f-03b8-4053-80d4-997bdef72eff.jpg?imageView2/2/w/800/q/70" type="image/gif" sizes="16x16">
  21.     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.css">
  22.     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick-theme.min.css">
  23.     <script src="https://unpkg.com/feather-icons"></script>
  24.    
  25. </head>
  26. <body>
  27. <header data-bs-theme="dark">
  28.     <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
  29.         <div class="container-fluid">
  30.             <a class="navbar-brand" href="{{ path('app_home') }}">BuyAndSalam</a>
  31.             <nav class="dropdownmenu">
  32.   <ul>
  33.     <li><a href="{{ path('app_home') }}">Home</a></li>
  34.  
  35.     <li><a href="#">Produits 100% africains</a>
  36.       <ul id="submenu">
  37.         <li><a href="https://www.google.com/search?client=firefox-b-d&sca_esv=323b9f97f7d38a56&sxsrf=ADLYWIJlt7g4pkGqADcz9tVAQ-6kc3BqEw:1716017998058&q=mode+afrique+de+l%27ouest&uds=ADvngMipajioxIlpJYA27QdZAqwgG1miVjJvV2LnlXuvD42r3D4e1UNLSC859yCKR3SorR-aemjwdSsKv6boRaAtpRBZp-N0qPTP2R4fNlGjadBnFVmcacF067jufRvELnfUEbLIojFkfC9WXyDInNdso5dWgPI1jUJX3vXESBHEc0Whin_Ihd1taprdjsLqVIdE4Nsnttjwadq7UsMlfSRsdRT029plk3UhsmHF-shs4akGa9ERtfo-scBXweDDzJh9qWGTJmGXuZv9loeR5sOooHLjwH9FX7HjVwYuBkOk9ODAD7NrpaA&udm=2&prmd=ivnbz&sa=X&ved=2ahUKEwj_886Z2ZaGAxUWcKQEHVaAAdoQtKgLegQIDRAB&biw=1920&bih=955&dpr=1">Afrique de l'Ouest</a></li>
  38.         <li><a href="">Afrique du Sud</a></li>
  39.         <li><a href="">Afrique de l'Est</a></li>
  40.       </ul>
  41.     </li>
  42.     <li><a href="">Tous les Produits</a>
  43.         <ul id="submenu">
  44.             <li>
  45.                 <ol class="list-unstyled">
  46.                     {% for category in allCategories %}
  47.                         <li>
  48.                             <a class="nav-link" href="{{ path('app_category', { slug : category.slug } ) }}">{{ category.name }}</a>
  49.                         </li>
  50.                     {% endfor %}
  51.                 </ol>
  52.             </li>
  53.         </ul>
  54.     
  55.     </li>
  56.     <li><a href="">News</a>
  57.       
  58.     </li>
  59.   
  60.   </ul>
  61. </nav>
  62.             <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
  63.                 <span class="navbar-toggler-icon"></span>
  64.             </button>
  65.             <div class="collapse navbar-collapse" id="navbarCollapse">
  66.                 <ul class="navbar-nav me-auto">
  67.                     
  68.                     
  69.                 </ul>
  70.                 
  71.             
  72.                 <div class="speed-menu">
  73.                     {% if app.user %}
  74.                         <a href="{{ path('app_account') }}"><i data-feather="user"></i> {{ app.user.firstname }}</a>
  75.                         <a href="{{ path('app_account_wishlist') }}">
  76.                             <i data-feather="heart"></i>
  77.                         </a>
  78.                     {% else %}
  79.                         <a href="{{ path('app_login') }}"><i class="bg-light" data-feather="user"></i></a>
  80.                     {% endif %}
  81.                     <a href="{{ path('app_cart') }}">
  82.                         <i data-feather="shopping-cart"></i>
  83.                         <span class="badge text-bg-light">{{ fullCartQuantity }}</span>
  84.                     </a>
  85.                 </div>
  86.             </div>
  87.         </div>
  88.     </nav>
  89. </header>
  90.     <div class="container">
  91.         {% for label, messages in app.flashes %}
  92.             {% for message in messages %}
  93.                 <div class="alert mt-4 alert-{{ label }}">
  94.                     {{ message }}
  95.                 </div>
  96.             {% endfor %}
  97.         {% endfor %}
  98.     </div>
  99.     
  100.     {% block body %}{% endblock %}
  101.     
  102.     <!-- menu bottom -->
  103.     <script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>
  104.         <script src="https://unpkg.com/feather-icons"></script>
  105.         
  106.         
  107.         <script src="{{ asset('assets/js/bootstrap.bundle.min.js') }}"></script>
  108.         <script src="{{ asset('assets/js/global.js') }}"></script>
  109.     </body>
  110. </html>
  111.