templates/dashboard_free/layout.html.twig line 1

Open in your IDE?
  1. {% set nouvellesPages = false %}
  2. <!doctype html>
  3. <html lang="fr">
  4. <head>
  5.     {% set base_url = app.request.schemeAndHttpHost %}
  6.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7.     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  8.     <meta http-equiv="Content-Language" content="fr" />
  9.     <meta name="viewport" content="width=device-width, initial-scale=1">
  10.     {% block head %}
  11.     {% endblock %}
  12.     <!--Favicon-->
  13.     <link rel="icon" type="image/png" href="{{ base_url }}/static/img/dashboard-free/favicon.webp" />
  14.     <!--CSS-->
  15.     <link rel="preload" href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap" as="style" />
  16.     <link rel="preload" href="https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap" as="style" />
  17.     <link rel="preload" href="https://fonts.cdnfonts.com/css/muller-narrow" as="style" />
  18.     <link rel="preload" type="text/css" title="Style" href="{{ base_url }}/styles.css" as="style" />
  19.     <link rel="stylesheet" type="text/css" title="Style" href="{{ base_url }}/styles.css" />
  20.     <!--JS-->
  21.   {#  <script src="{{ base_url }}/js/custom.js" type="text/javascript"></script>#}
  22.     <script src="https://unpkg.com/alpinejs" defer></script>
  23.     {% for file in encore_entry_css_files('free') %}
  24.         <link href="{{ absolute_url(asset(file)) }}" rel="stylesheet" />
  25.     {% endfor %}
  26.     <link rel="stylesheet" href="{{ base_url }}/styles-o.css">
  27.     <link rel="stylesheet" href="/dashboard-free.css">
  28.     {#{{ encore_entry_link_tags('free',null,'/') }}#}
  29. </head>
  30. <body class="font-rubik" x-data="{ open: false, mobileMenuOpen: false, dropdownOpen: false }" @keydown.escape.window="open = false; mobileMenuOpen = false; dropdown = null">
  31. <!-- Header -->
  32.     <header
  33.         class="flex bg-white fixed w-full z-10 border-bleuindigo border-b px-4 py-4 justify-center flex-wrap items-center"
  34.         x-data="{ mobileMenuOpen: false, dropdown: null }"
  35. >
  36.     <div class="flex md:flex-col lg:flex-row justify-between w-290">
  37.         <div>
  38.             <a href="https://lesbonsprofs.com" aria-label="Les Bons Profs">
  39.                 <img src="{{ base_url }}/static/img/tunnel/logo-les-bons-profs.webp" alt="Les bons profs" class="w-63.75"/>
  40.             </a>
  41.         </div>
  42.         <div class="flex md:justify-end lg:justify-start">
  43.             <!-- Menu -->
  44.             <div x-cloak class="w-full md:w-auto text-bleuindigo text-sm font-bold">
  45.                 <!-- Bouton Menu Mobile -->
  46.                 <button @click="mobileMenuOpen = !mobileMenuOpen" class="md:hidden text-bleuindigo">
  47.                     <svg x-show="!mobileMenuOpen" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
  48.                         <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
  49.                               d="M4 6h16M4 12h16M4 18h16"/>
  50.                     </svg>
  51.                     <svg x-show="mobileMenuOpen" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
  52.                         <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/>
  53.                     </svg>
  54.                 </button>
  55.                 <!-- Navigation Links -->
  56.                 <nav
  57.                         :class="{'hidden': !mobileMenuOpen, 'absolute left-0 right-0 bg-white z-50': mobileMenuOpen}"
  58.                         class="md:block md:relative shadow-gray-400 md:shadow-none mt-5 md:mt-0"
  59.                 >
  60.                     <ul class="md:flex md:items-center xl:gap-1">
  61.                         {% if nouvellesPages %}
  62.                         <!-- Dropdown NOS OFFRES -->
  63.                         <li class="relative">
  64.                             <button
  65.                                     @click.stop="dropdown = (dropdown === 'offres') ? null : 'offres'"
  66.                                     @mouseenter="if (window.innerWidth >= 768) dropdown = 'offres'"
  67.                                     class="flex items-center w-full px-4 py-2 hover:text-framboise"
  68.                             >
  69.                                 <span><a href="https://www.lesbonsprofs.com/nos-offres/">NOS OFFRES</a></span>
  70.                                 <svg class="w-4 h-4 ml-1 transition-transform"
  71.                                      :class="{'rotate-180': dropdown === 'offres'}" fill="currentColor"
  72.                                      viewBox="0 0 20 20">
  73.                                     <path fill-rule="evenodd"
  74.                                           d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/>
  75.                                 </svg>
  76.                             </button>
  77.                             <div
  78.                                     x-show="dropdown === 'offres'"
  79.                                     @click.away="dropdown = null"
  80.                                     @mouseenter="if (window.innerWidth >= 768) dropdown = 'offres'"
  81.                                     @mouseleave="if (window.innerWidth >= 768) dropdown = null"
  82.                                     @click.stop
  83.                                     x-transition:enter="transition ease-out duration-200"
  84.                                     x-transition:enter-start="opacity-0"
  85.                                     x-transition:enter-end="opacity-100"
  86.                                     x-transition:leave="transition ease-in duration-150"
  87.                                     x-transition:leave-start="opacity-100"
  88.                                     x-transition:leave-end="opacity-0"
  89.                                     class="md:absolute md:left-0 md:mt-2 bg-white md:border-2 md:rounded-lg md:shadow-lg z-50"
  90.                             >
  91.                                 <div>
  92.                                     <a href=""
  93.                                        class="block whitespace-nowrap px-8 md:px-4 py-1 hover:text-framboise">Soutien
  94.                                         en autonomie</a>
  95.                                     <a href=""
  96.                                        class="block whitespace-nowrap px-8 md:px-4 py-1 hover:text-framboise">Accompagnement
  97.                                         visio</a>
  98.                                 </div>
  99.                             </div>
  100.                         </li>
  101.                         {% else %}
  102.                         <!-- Nos offres -->
  103.                         <li>
  104.                             <a href="https://www.lesbonsprofs.com/nos-offres/"
  105.                                class="block px-4 py-2 hover:text-framboise">NOS OFFRES</a>
  106.                         </li>
  107.                         {% endif %}
  108.                         <!-- Dropdown BAC / BREVET -->
  109.                         <li class="relative">
  110.                             <button
  111.                                     @click.stop="dropdown = (dropdown === 'bac') ? null : 'bac'"
  112.                                     @mouseenter="if (window.innerWidth >= 768) dropdown = 'bac'"
  113.                                     class="flex items-center w-full px-4 py-2 hover:text-framboise"
  114.                             >
  115.                                 <span>BAC / BREVET</span>
  116.                                 <svg class="w-4 h-4 ml-1 transition-transform"
  117.                                      :class="{'rotate-180': dropdown === 'bac'}" fill="currentColor"
  118.                                      viewBox="0 0 20 20">
  119.                                     <path fill-rule="evenodd"
  120.                                           d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/>
  121.                                 </svg>
  122.                             </button>
  123.                             <div
  124.                                     x-show="dropdown === 'bac'"
  125.                                     @click.away="dropdown = null"
  126.                                     @mouseenter="if (window.innerWidth >= 768) dropdown = 'bac'"
  127.                                     @mouseleave="if (window.innerWidth >= 768) dropdown = null"
  128.                                     @click.stop
  129.                                     x-transition:enter="transition ease-out duration-200"
  130.                                     x-transition:enter-start="opacity-0"
  131.                                     x-transition:enter-end="opacity-100"
  132.                                     x-transition:leave="transition ease-in duration-150"
  133.                                     x-transition:leave-start="opacity-100"
  134.                                     x-transition:leave-end="opacity-0"
  135.                                     class="md:absolute md:left-0 md:mt-2 bg-white md:border-2 md:rounded-lg md:shadow-lg z-50"
  136.                             >
  137.                                 <div>
  138.                                     <a href="https://www.lesbonsprofs.com/mission-bac/"
  139.                                        class="block px-8 md:px-4 py-1 hover:text-framboise">Bac Terminale</a>
  140.                                     <a href="https://www.lesbonsprofs.com/mission-bac-premiere/"
  141.                                        class="block px-8 md:px-4 py-1 hover:text-framboise">Bac Première</a>
  142.                                     <a href="https://www.lesbonsprofs.com/mission-brevet/"
  143.                                        class="block px-8 md:px-4 py-1 hover:text-framboise">Brevet</a>
  144.                                 </div>
  145.                             </div>
  146.                         </li>
  147.                         <!-- Dropdown NOS COURS -->
  148.                         <li class="relative">
  149.                             <button
  150.                                     @click.stop="dropdown = (dropdown === 'cours') ? null : 'cours'"
  151.                                     @mouseenter="if (window.innerWidth >= 768) dropdown = 'cours'"
  152.                                     class="flex items-center w-full px-4 py-2 hover:text-framboise"
  153.                             >
  154.                                 <span>NOS COURS</span>
  155.                                 <svg class="w-4 h-4 ml-1 transition-transform"
  156.                                      :class="{'rotate-180': dropdown === 'cours'}" fill="currentColor"
  157.                                      viewBox="0 0 20 20">
  158.                                     <path fill-rule="evenodd"
  159.                                           d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"/>
  160.                                 </svg>
  161.                             </button>
  162.                             <div
  163.                                     x-show="dropdown === 'cours'"
  164.                                     @click.away="dropdown = null"
  165.                                     @mouseenter="if (window.innerWidth >= 768) dropdown = 'cours'"
  166.                                     @mouseleave="if (window.innerWidth >= 768) dropdown = null"
  167.                                     @click.stop
  168.                                     x-transition:enter="transition ease-out duration-200"
  169.                                     x-transition:enter-start="opacity-0"
  170.                                     x-transition:enter-end="opacity-100"
  171.                                     x-transition:leave="transition ease-in duration-150"
  172.                                     x-transition:leave-start="opacity-100"
  173.                                     x-transition:leave-end="opacity-0"
  174.                                     class="md:absolute md:left-0 md:mt-2 bg-white md:border-2 md:rounded-lg md:shadow-lg z-50"
  175.                             >
  176.                                 <div>
  177.                                     <a href="https://www.lesbonsprofs.com/nos-cours/terminale/"
  178.                                        class="block px-8 md:px-4 py-1 hover:text-framboise">Terminale</a>
  179.                                     <a href="https://www.lesbonsprofs.com/nos-cours/premiere/"
  180.                                        class="block px-8 md:px-4 py-1 hover:text-framboise">Première</a>
  181.                                     <a href="https://www.lesbonsprofs.com/nos-cours/seconde/"
  182.                                        class="block px-8 md:px-4 py-1 hover:text-framboise">Seconde</a>
  183.                                     <a href="https://www.lesbonsprofs.com/nos-cours/troisieme/"
  184.                                        class="block px-8 md:px-4 py-1 hover:text-framboise">Troisième</a>
  185.                                     <a href="https://www.lesbonsprofs.com/nos-cours/quatrieme/"
  186.                                        class="block px-8 md:px-4 py-1 hover:text-framboise">Quatrième</a>
  187.                                     <a href="https://www.lesbonsprofs.com/nos-cours/cinquieme/"
  188.                                        class="block px-8 md:px-4 py-1 hover:text-framboise">Cinquième</a>
  189.                                     <a href="https://www.lesbonsprofs.com/nos-cours/sixieme/"
  190.                                        class="block px-8 md:px-4 py-1 hover:text-framboise">Sixième</a>
  191.                                 </div>
  192.                             </div>
  193.                         </li>
  194.                         <!-- Blog -->
  195.                         <li>
  196.                             <a href="#" class="block px-4 py-2 hover:text-framboise">BLOG</a>
  197.                         </li>
  198.                         <!-- Connexion -->
  199.                         <li>
  200.                             <a href="https://app.lesbonsprofs.com/connexion" class="flex flex-row px-4 py-2">
  201.                                 <img src="{{ base_url }}/static/img/tunnel/avatar.webp" alt="Se connecter" class="size-5"/><span
  202.                                         class="sm:hidden text-framboise ml-2">CONNEXION</span>
  203.                             </a>
  204.                         </li>
  205.                         <!-- Bouton Essayer gratuitement -->
  206.                         <li class="flex flex-col relative text-center text-xs text-framboise px-4 md:px-0 py-2">
  207.                             <a href="https://www.lesbonsprofs.com/nos-offres#offres"
  208.                                class="block bg-framboise hover:bg-bleuindigo text-white font-bold py-2 px-4 rounded-full text-center w-fit transition-colors">
  209.                                 ESSAI GRATUIT 7 JOURS
  210.                             </a>
  211.                             <span class="absolute md:relative left-50 md:left-0 top-4 md:top-1">sans engagement</span>
  212.                         </li>
  213.                     </ul>
  214.                 </nav>
  215.             </div>
  216.         </div>
  217.     </div>
  218. </header>
  219.     {% block content %}
  220.     {% endblock %}
  221. <footer class="bg-bleuindigo text-white py-12 px-4" x-data="{
  222.   openSection: null,
  223.   toggleSection(section) {
  224.     this.openSection = this.openSection === section ? null : section
  225.   }
  226. }">
  227.     <div class="max-w-290 mx-auto">
  228.         <!-- Logo -->
  229.         <a href="https://lesbonsprofs.com" aria-label="Les Bons Profs" class="block mb-8">
  230.             <img src="{{ base_url }}/static/img/tunnel/logo-blanc.svg" alt="Les bons profs - Cours gratuits" class="w-67.5"/>
  231.         </a>
  232.         <!-- Navigation -->
  233.         <div class="flex flex-col sm:flex-row flex-wrap justify-between text-sm">
  234.             <!-- Contact -->
  235.             <div class="flex flex-col sm:w-[45%] md:w-fit order-1 sm:order-1 md:order-1 gap-y-4 mt-4 md:mt-0">
  236.                 <span class="font-bold text-md">NOUS CONTACTER</span>
  237.                 <span>Du lundi au samedi, de 8h à 20h</span>
  238.                 <div class="flex flex-row sm:flex-col gap-x-2">
  239.                     <span class="flex flex-row bg-pervenche text-white px-4 py-3 rounded-full mb-2"><img
  240.                                 src="{{ base_url }}/static/img/tunnel/icone-phone.webp" alt="Téléphone" class="size-5 mr-2"/>01 86 95 72 01</span>
  241.                     <a href="mailto:[email protected]"
  242.                        class="flex flex-row bg-pervenche/80 hover:bg-pervenche text-white px-4 py-3 rounded-full transition-colors mb-2"><img
  243.                                 src="{{ base_url }}/static/img/tunnel/icone-mail.webp" alt="Mail" class="size-5 mr-2"/>PAR MAIL</a>
  244.                 </div>
  245.             </div>
  246.             <!-- Bac / Brevet + Nos offres -->
  247.             <div class="sm:w-[45%] md:w-fit order-2 sm:order-3 md:order-2 sm:mt-8 md:mt-0">
  248.                 <div class="sm:w-[45%] md:w-fit mt-4 sm:mt-0">
  249.                     <button
  250.                             @click="toggleSection('bac')"
  251.                             class="font-bold text-md mb-4 md:cursor-default inline-flex items-center"
  252.                     >
  253.                         <span class="whitespace-nowrap">PRÉPARATION BAC / BREVET</span>
  254.                         <svg
  255.                                 class="size-4 transition-transform md:hidden ml-1"
  256.                                 :class="{'rotate-180': openSection === 'bac'}"
  257.                                 fill="none"
  258.                                 stroke="currentColor"
  259.                                 viewBox="0 0 24 24"
  260.                         >
  261.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
  262.                         </svg>
  263.                     </button>
  264.                     <ul
  265.                             class="space-y-2 transition-all duration-300 md:block list-disc ml-5 marker:text-framboise"
  266.                             :class="{'hidden': openSection !== 'bac'}"
  267.                     >
  268.                         <li><a href="https://www.lesbonsprofs.com/mission-bac/"
  269.                                class="hover:text-pervenche transition-colors whitespace-nowrap">Bac Terminale</a></li>
  270.                         <li><a href="https://www.lesbonsprofs.com/mission-bac-premiere/"
  271.                                class="hover:text-pervenche transition-colors whitespace-nowrap">Bac Première</a></li>
  272.                         <li><a href="https://www.lesbonsprofs.com/mission-brevet/"
  273.                                class="hover:text-pervenche transition-colors whitespace-nowrap">Brevet</a></li>
  274.                     </ul>
  275.                 </div>
  276.                 {% if nouvellesPages %}
  277.                 <div class="sm:w-[45%] md:w-fit mt-4">
  278.                     <button
  279.                             @click="toggleSection('offres')"
  280.                             class="font-bold text-md mb-4 md:cursor-default inline-flex items-center"
  281.                     >
  282.                         <span class="whitespace-nowrap"><a href="https://www.lesbonsprofs.com/nos-offres/">NOS OFFRES</a></span>
  283.                         <svg
  284.                                 class="size-4 transition-transform md:hidden ml-1"
  285.                                 :class="{'rotate-180': openSection === 'offres'}"
  286.                                 fill="none"
  287.                                 stroke="currentColor"
  288.                                 viewBox="0 0 24 24"
  289.                         >
  290.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
  291.                                   d="M19 9l-7 7-7-7"/>
  292.                         </svg>
  293.                     </button>
  294.                     <ul
  295.                             class="space-y-2 transition-all duration-300 md:block list-disc ml-5 marker:text-framboise"
  296.                             :class="{'hidden': openSection !== 'offres'}"
  297.                     >
  298.                         <li><a href="" class="hover:text-pervenche transition-colors whitespace-nowrap">Soutien en
  299.                                 autonomie</a></li>
  300.                         <li><a href="" class="hover:text-pervenche transition-colors whitespace-nowrap">Accompagnement
  301.                                 visio</a></li>
  302.                     </ul>
  303.                 </div>
  304.                 {% endif %}
  305.             </div>
  306.             <!-- Tous les cours -->
  307.             <div class="sm:w-[45%] md:w-fit order-2 sm:order-4 md:order-3 mt-4 sm:mt-8 md:mt-0">
  308.                 <button
  309.                         @click="toggleSection('cours')"
  310.                         class="font-bold text-md mb-4 md:cursor-default inline-flex items-center"
  311.                 >
  312.                     <span>TOUS LES COURS</span>
  313.                     <svg
  314.                             class="size-4 transition-transform md:hidden ml-1"
  315.                             :class="{'rotate-180': openSection === 'cours'}"
  316.                             fill="none"
  317.                             stroke="currentColor"
  318.                             viewBox="0 0 24 24"
  319.                     >
  320.                         <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
  321.                     </svg>
  322.                 </button>
  323.                 <ul
  324.                         class="space-y-2 transition-all duration-300 md:block list-disc ml-5 marker:text-framboise"
  325.                         :class="{'hidden': openSection !== 'cours'}"
  326.                 >
  327.                     <li><a href="https://www.lesbonsprofs.com/nos-cours/terminale/"
  328.                            class="hover:text-pervenche transition-colors">Terminale</a></li>
  329.                     <li><a href="https://www.lesbonsprofs.com/nos-cours/premiere/"
  330.                            class="hover:text-pervenche transition-colors">Première</a></li>
  331.                     <li><a href="https://www.lesbonsprofs.com/nos-cours/seconde/"
  332.                            class="hover:text-pervenche transition-colors">Seconde</a></li>
  333.                     <li><a href="https://www.lesbonsprofs.com/nos-cours/troisieme/"
  334.                            class="hover:text-pervenche transition-colors">Troisième</a></li>
  335.                     <li><a href="https://www.lesbonsprofs.com/nos-cours/quatrieme/"
  336.                            class="hover:text-pervenche transition-colors">Quatrième</a></li>
  337.                     <li><a href="https://www.lesbonsprofs.com/nos-cours/cinquieme/"
  338.                            class="hover:text-pervenche transition-colors">Cinquième</a></li>
  339.                     <li><a href="https://www.lesbonsprofs.com/nos-cours/sixieme/"
  340.                            class="hover:text-pervenche transition-colors">Sixième</a></li>
  341.                 </ul>
  342.             </div>
  343.             <!-- Navigation -->
  344.             <div class="sm:w-[45%] md:w-fit order-3 sm:order-5 md:order-4 mt-4 md:mt-0">
  345.                 <button
  346.                         @click="toggleSection('pages')"
  347.                         class="font-bold text-md mb-4 md:cursor-default inline-flex items-center"
  348.                 >
  349.                     <span>NAVIGATION</span>
  350.                     <svg
  351.                             class="size-4 transition-transform md:hidden ml-1"
  352.                             :class="{'rotate-180': openSection === 'pages'}"
  353.                             fill="none"
  354.                             stroke="currentColor"
  355.                             viewBox="0 0 24 24"
  356.                     >
  357.                         <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
  358.                     </svg>
  359.                 </button>
  360.                 <ul
  361.                         class="space-y-2 transition-all duration-300 md:block list-disc ml-5 marker:text-framboise"
  362.                         :class="{'hidden': openSection !== 'pages'}"
  363.                 >
  364.                     <li><a href="https://www.lesbonsprofs.com" class="hover:text-pervenche transition-colors">Les Bons
  365.                             Profs</a></li>
  366.                     {% if not nouvellesPages %}
  367.                     <li><a href="https://www.lesbonsprofs.com/nos-offres/"
  368.                            class="hover:text-pervenche transition-colors">Nos offres</a></li>
  369.                     {% endif %}
  370.                     <li><a href="https://www.lesbonsprofs.com/blog/"
  371.                            class="hover:text-pervenche transition-colors">Blog</a></li>
  372.                     <li><a href="https://www.lesbonsprofs.com/wp-content/uploads/2024/10/cgu-lbp.pdf"
  373.                            class="hover:text-pervenche transition-colors">Conditions générales <br
  374.                                     class="hidden md:block lg:hidden"/>d'utilisation</a></li>
  375.                     <li><a href="https://www.lesbonsprofs.com/mentions-legales/"
  376.                            class="hover:text-pervenche transition-colors">Mentions légales</a></li>
  377.                 </ul>
  378.             </div>
  379.             <!-- Réseaux sociaux -->
  380.             <div class="flex flex-col sm:w-[45%] md:w-fit order-4 sm:order-2 md:order-5 gap-y-4 mt-4 md:mt-0">
  381.                 <span class="font-bold text-md">SUIVEZ-NOUS</span>
  382.                 <div class="flex space-x-4">
  383.                     <a href="https://www.facebook.com/lesbonsprofs" target="_blank"
  384.                        class="hover:opacity-75 transition-opacity">
  385.                         <img src="{{ base_url }}/static/img/tunnel/logo-facebook.webp" alt="Facebook" class="size-8">
  386.                     </a>
  387.                     <a href="https://www.instagram.com/lesbonsprofs/" target="_blank"
  388.                        class="hover:opacity-75 transition-opacity">
  389.                         <img src="{{ base_url }}/static/img/tunnel/logo-instagram.webp" alt="Instagram" class="size-8">
  390.                     </a>
  391.                     <a href="https://fr.linkedin.com/company/lesbonsprofs" target="_blank"
  392.                        class="hover:opacity-75 transition-opacity">
  393.                         <img src="{{ base_url }}/static/img/tunnel/logo-linkedin.webp" alt="Linkedin" class="size-8">
  394.                     </a>
  395.                     <a href="https://www.youtube.com/user/lesbonsprofs" target="_blank"
  396.                        class="hover:opacity-75 transition-opacity">
  397.                         <img src="{{ base_url }}/static/img/tunnel/logo-youtube.webp" alt="Linkedin" class="size-8">
  398.                     </a>
  399.                 </div>
  400.                 <div class="flex flex-col relative text-xs text-framboise">
  401.                     <span class="text-framboise font-bold mt-2 mb-2">ESSAYEZ DÈS MAINTENANT !</span>
  402.                     <a href="https://www.lesbonsprofs.com/nos-offres#offres"
  403.                        class="block bg-framboise hover:bg-bleuindigo text-white font-bold py-2 px-4 rounded-full text-center w-fit transition-colors">
  404.                         ESSAI GRATUIT 7 JOURS
  405.                     </a>
  406.                     <span class="ml-10 mt-1">sans engagement</span>
  407.                 </div>
  408.             </div>
  409.         </div>
  410.     </div>
  411. </footer>
  412.   {#  <footer class="bg-bleu bg-[url('{{ base_url }}/static/img/dashboard-free/logo-bleu-transparent.png')] bg-no-repeat bg-right-bottom bg-[size:250px] text-white py-12 px-4" x-data="{
  413.       openSection: null,
  414.       toggleSection(section) {
  415.         this.openSection = this.openSection === section ? null : section
  416.       }
  417.     }">
  418.         <div class="max-w-[1160px] mx-auto">
  419.             <!-- Logo -->
  420.             <a href="https://lesbonsprofs.com" target="_blank" aria-label="Les Bons Profs" class="block mb-8">
  421.                 <img src="{{ base_url }}/static/img/dashboard-free/logo-blanc.svg" alt="Les bons profs - Cours gratuits" class="w-[285px]"/>
  422.             </a>
  423.             <!-- Navigation -->
  424.             <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-8 text-[15px]">
  425.                 <!-- Nos cours -->
  426.                 <div>
  427.                     <button
  428.                             @click="toggleSection('cours')"
  429.                             class="font-bold text-xl md:text-2xl mb-4 md:cursor-default inline-flex items-center gap-2"
  430.                     >
  431.                         <span>Nos cours</span>
  432.                         <svg
  433.                                 class="w-4 h-4 transition-transform md:hidden"
  434.                                 :class="{'rotate-180': openSection === 'cours'}"
  435.                                 fill="none"
  436.                                 stroke="currentColor"
  437.                                 viewBox="0 0 24 24"
  438.                         >
  439.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
  440.                         </svg>
  441.                     </button>
  442.                     <ul
  443.                             class="space-y-2 overflow-hidden transition-all duration-300 md:block"
  444.                             :class="{'hidden': openSection !== 'cours'}"
  445.                     >
  446.                         {% for al in allCourses %}
  447.                         <li><a href="{{ base_url_front~'/nos-cours/'~al.slug }}" class="hover:text-peche transition-colors">{{ al.title }}</a></li>
  448.                         {% endfor %}
  449.                     </ul>
  450.                 </div>
  451.                 <!-- Nos pages -->
  452.                 <div class="sm:col-start-1 md:col-start-2 sm:-mt-16 md:mt-0">
  453.                     <button
  454.                             @click="toggleSection('pages')"
  455.                             class="font-bold text-xl md:text-2xl mb-4 md:cursor-default inline-flex items-center gap-2"
  456.                     >
  457.                         <span>Nos pages</span>
  458.                         <svg
  459.                                 class="w-4 h-4 transition-transform md:hidden"
  460.                                 :class="{'rotate-180': openSection === 'pages'}"
  461.                                 fill="none"
  462.                                 stroke="currentColor"
  463.                                 viewBox="0 0 24 24"
  464.                         >
  465.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/>
  466.                         </svg>
  467.                     </button>
  468.                     <ul
  469.                             class="space-y-2 overflow-hidden transition-all duration-300 md:block"
  470.                             :class="{'hidden': openSection !== 'pages'}"
  471.                     >
  472.                         <li><a href="{{ base_url_front }}" class="hover:text-peche transition-colors">Les Bons Profs</a></li>
  473.                         <li><a href="{{ base_url_front }}/nos-offres" class="hover:text-peche transition-colors">Nos offres</a></li>
  474.                         <li><a href="{{ base_url_front }}/blog" class="hover:text-peche transition-colors">Blog</a></li>
  475.                         <li><a href="https://www.lesbonsprofs.com/wp-content/uploads/2024/10/cgu-lbp.pdf" class="hover:text-peche transition-colors">Conditions générales d'utilisation</a></li>
  476.                         <li><a href="https://www.lesbonsprofs.com/mentions-legales/" class="hover:text-peche transition-colors">Mentions légales</a></li>
  477.                     </ul>
  478.                 </div>
  479.                 <!-- Réseaux sociaux et Contact -->
  480.                 <div class="grid items-start sm:col-start-2 sm:row-start-1 md:col-start-3">
  481.                     <span class="hidden md:block font-bold text-xl md:text-2xl md:-mb-8">Nous suivre</span>
  482.                     <div class="flex space-x-4">
  483.                         <a href="https://www.facebook.com/lesbonsprofs" target="_blank" class="hover:opacity-75 transition-opacity">
  484.                             <img src="{{ base_url }}/static/img/dashboard-free/facebook.svg" alt="Facebook" class="w-8 h-8">
  485.                         </a>
  486.                         <a href="https://www.instagram.com/lesbonsprofs/" target="_blank" class="hover:opacity-75 transition-opacity">
  487.                             <img src="{{ base_url }}/static/img/dashboard-free/instagram.svg" alt="Instagram" class="w-8 h-8">
  488.                         </a>
  489.                         <a href="https://fr.linkedin.com/company/lesbonsprofs" target="_blank" class="hover:opacity-75 transition-opacity">
  490.                             <img src="{{ base_url }}/static/img/dashboard-free/linkedin.svg" alt="Linkedin" class="w-8 h-8">
  491.                         </a>
  492.                         <a href="https://www.youtube.com/user/lesbonsprofs" target="_blank" class="hover:opacity-75 transition-opacity">
  493.                             <img src="{{ base_url }}/static/img/dashboard-free/youtube.svg" alt="Linkedin" class="w-8 h-8">
  494.                         </a>
  495.                     </div>
  496.                     <a href="mailto:[email protected]" class="font-bold text-xl md:text-2xl row-start-1 md:row-start-3 mb-8 md:mb-0">Contactez-nous</a>
  497.                 </div>
  498.             </div>
  499.         </div>
  500.     </footer>#}
  501. {% for file in encore_entry_js_files('free') %}
  502.     <script src="{{ absolute_url(asset(file)) }}" ></script>
  503. {% endfor %}
  504. </body>
  505. </html>