templates/dashboard_free/lesson-free.html.twig line 1

Open in your IDE?
  1. {% extends 'dashboard_free/layout.html.twig' %}
  2. {% block head %}
  3.     <meta name="description" content="{% if find %}{{ find.metadescription }}{% else %}{% endif %}" />
  4.     <title>{{ find.dTitle }} - Les Bons Profs</title>
  5.     <link rel="canonical" href="{{ base_url_front }}{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}" />
  6.     <!--Tags Facebook-->
  7.     <meta property="og:url"                content="{{ base_url_front }}{{ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}" />
  8.     <meta property="og:type"               content="website" />
  9.     <meta property="og:title"              content="{{ find.dTitle }} - Les Bons Profs" />
  10.     <meta property="og:description"        content="{% if find %}{{ find.metadescription }}{% else %}Les Bons Profs aident votre enfant avec un soutien scolaire en ligne de la sixième à la terminale : cours vidéos, fiches de révision et QCM.{% endif %}" />
  11.     <meta property="og:image"              content="{{ base_url_front }}static/img/dashboard-free/eleve-cours-gratuit.webp" />
  12.     <script type="application/ld+json">
  13.         {
  14.             "@context": "https://schema.org",
  15.             "@type": "Course",
  16.             "name": "Soutien scolaire en Philosophie Terminale : cours et exercices",
  17.             "description": "{% if find %}{{ find.metadescription }}{% else %}Cours de {% if find %}{{ find.dTitle }}{% endif %} gratuits pour {{ course.title }} : vidéos, fiches, exercices, méthodologie de dissertation et explication de texte. Préparez le bac avec Les Bons Profs."{% endif %},
  18.             "provider": {
  19.                 "@type": "EducationalOrganization",
  20.                 "name": "Les Bons Profs",
  21.                 "url": "https://lesbonsprofs.com",
  22.                 "logo": {
  23.                     "@type": "ImageObject",
  24.                     "url": "https://lesbonsprofs.com/static/img/dashboard-free/les-bons-profs-logo.svg"
  25.                 },
  26.                 "contactPoint": {
  27.                     "@type": "ContactPoint",
  28.                     "telephone": "+33-1-86-95-72-01",
  29.                     "contactType": "Customer Support",
  30.                     "availableLanguage": ["fr"]
  31.                 }
  32.             },
  33.             "educationalLevel": "{{ course.title|capitalize }}",
  34.             "inLanguage": "fr",
  35.             "category": "{% if find %}{{ find.dTitle|capitalize }}{% endif %}",
  36.             "hasCourseInstance": {
  37.                 "@type": "CourseInstance",
  38.                 "courseMode": "online",
  39.                 "isAccessibleForFree": true,
  40.                 "startDate": "2025-06-16",
  41.                 "endDate": "2025-06-16",
  42.                 "location": {
  43.                     "@type": "VirtualLocation"
  44.                 },
  45.                 "courseWorkload": "P4H",
  46.                 "offers": {
  47.                     "@type": "Offer",
  48.                     "price": "0",
  49.                     "category": "{% if find %}{{ find.dTitle|capitalize }}{% endif %}",
  50.                     "priceCurrency": "EUR",
  51.                     "availability": "https://schema.org/InStock",
  52.                     "url": "https://lesbonsprofs.com"
  53.                 }
  54.             }
  55.         }
  56.     </script>
  57. {% endblock %}
  58. {% block content %}
  59.     <section>
  60.         <!-- Bloc Tête -->
  61.         <section class="flex justify-center bg-bleu text-white pt-[100px]">
  62.             <div class="flex justify-between items-center w-[1160px] px-5 xl:px-0">
  63.                 <h1 class="font-muller text-[6vw] lg:text-[55px] w-8/12">
  64.                     Soutien scolaire en {% if find %}{{ find.dTitle }}{% endif %} {{ course.title|capitalize }} : cours et exercices
  65.                 </h1>
  66.                 <img src="{{ base_url }}/static/img/dashboard-free/eleve-cours-gratuit.webp" alt="Les bons profs - Cours gratuits" class="w-[30%] lg:w-3/12 mt-2"/>
  67.             </div>
  68.         </section>
  69.         <!-- Bloc Contenu -->
  70.         <section class="flex justify-center pt-10 px-5">
  71.             <div class="flex flex-col md:flex-row w-[1160px] relative">
  72.                 <!-- Menu gauche -->
  73.                 <aside id="menu-gauche" class="w-full md:w-[275px] absolute bg-rose md:bg-inherit mb-5 md:mb-0">
  74.                     {% include 'dashboard_free/menu-gauche.html.twig' %}
  75.                     <div class="hidden md:block mt-5">
  76.                         <a href=""><img src="{{ base_url }}/static/img/dashboard-free/annales-bac-2025.webp" alt="Les bons profs - Annales BAC 2025" /></a>
  77.                     </div>
  78.                     <div class="hidden md:flex justify-center pb-5">
  79.                         <a class="bg-fushia hover:bg-bleu text-white font-bold py-2 px-3 rounded-full text-[15px] hover:bg-rouge transition-all ease-in-out duration-300 mt-5" href="">
  80.                             J'en profite
  81.                         </a>
  82.                     </div>
  83.                 </aside>
  84.                 <!-- Partie droite -->
  85.                 {% if find %}
  86.                     <section class="md:ml-[300px]">
  87.                         <h3 class="font-muller text-bleu text-3xl font-bold text-center sm:text-left pb-4">
  88.                             Comment réussir en {{ find.dTitle }} en {{ course.title }} ?
  89.                         </h3>
  90.                         <div>
  91.                             {{ find.content|raw }}
  92.                         </div>
  93.                         <h3 class="font-muller text-bleu text-3xl font-bold text-center sm:text-left mt-12 mb-4">
  94.                             Exemples de cours en vidéo en {{ find.dTitle }} {{ course.title }}
  95.                         </h3>
  96.                         {% for key,data in listActivity %}
  97.                             {% set itemsPerColumn = 6 %}
  98.                             {% set columns = data|batch(itemsPerColumn) %}
  99.                             <h4 class="inline-flex bg-grenat text-white font-bold text-[20px] rounded-lg px-4 py-3 -mb-5">{{ key }}</h4>
  100.                             <div class="bg-vanille rounded-lg mb-10 {% if columns|length > 1 %}grid grid-cols-1 md:grid-cols-3 gap-6 {% endif %}">
  101.                                 {% for column in columns %}
  102.                                     <ul class="list-disc list-outside p-5">
  103.                                         {% for row in column %}
  104.                                             <li style="margin-left: 1.2em;">
  105.                                                 {% if row.videoSlug is not null and row.videoSlug is not empty %}
  106.                                                     <a style="text-decoration: underline" href="/nos-cours/{{ course.slug }}/{{ row.dSlug }}/{{ row.actSlug }}">
  107.                                                         {{ row.notionTitle }}</a>
  108.                                                 {% else %}
  109.                                                     <span class="cursor-pointer" @click.prevent="open = true">{{ row.notionTitle }}</span>
  110.                                                 {% endif %}
  111.                                             </li>
  112.                                         {% endfor %}
  113.                                     </ul>
  114.                                 {% endfor %}
  115.                             </div>
  116.                         {% endfor %}
  117.                     </section>
  118.                 {% endif %}
  119.             </div>
  120.         </section>
  121.         <!-- Bloc offres -->
  122.         <section class="flex justify-center bg-miel px-5 py-12">
  123.             <div class="flex flex-col w-[1160px]">
  124.                 <h3 class="font-muller text-bleu text-3xl font-bold text-center sm:text-left mb-5">
  125.                     Nos offres de soutien scolaire en ligne
  126.                 </h3>
  127.                 <div class="flex flex-wrap justify-around lg:justify-between gap-4">
  128.                     <div class="flex flex-col items-center justify-between bg-white border-orange border-2 rounded-xl w-[330px]">
  129.                         <h4 class="text-orange font-bold text-3xl pt-3">Autonomie</h4>
  130.                         <p class="text-orange">Abonnement</p>
  131.                         <p>À partir de <span class="text-orange font-bold text-3xl">6,99€</span> / mois</p>
  132.                         <p class="text-grenat font-bold text-[19px]">Réussir tous ses contrôles</p>
  133.                         <div class="flex items-end gap-4">
  134.                             <img src="{{ base_url }}/static/img/dashboard-free/offre-autonomie.webp" alt="Les bons profs - Autonomie" class="object-contain w-[115px] rounded-bl-lg"/>
  135.                             <div>
  136.                                 <ul class="list-disc text-[12px]">
  137.                                     <li>+ 4000 cours en vidéo</li>
  138.                                     <li>Fiches et QCM</li>
  139.                                     <li>Exercices corrigés</li>
  140.                                     <li>Remise à niveau</li>
  141.                                     <li>Stages vacances scolaires</li>
  142.                                     <li>Annales BAC<br /><span>(Inclus dans offres 12 et 24 mois)</span></li>
  143.                                 </ul>
  144.                                 <div class="flex justify-center my-2">
  145.                                     <a class="bg-orange hover:bg-bleu text-white text-[12px] font-bold py-2 px-3 rounded-full hover:bg-rouge transition-all ease-in-out duration-300" href="">
  146.                                         7 jours d'essai gratuit
  147.                                     </a>
  148.                                 </div>
  149.                             </div>
  150.                         </div>
  151.                     </div>
  152.                     <div class="flex flex-col items-center justify-between bg-white border-azur border-2 rounded-xl w-[330px]">
  153.                         <h4 class="text-azur font-bold text-3xl pt-3">Assistance Visio</h4>
  154.                         <p class="text-azur">Abonnement</p>
  155.                         <p>À partir de <span class="text-azur font-bold text-3xl">14,99€</span> / mois</p>
  156.                         <p class="text-grenat font-bold text-[19px]">Être aidé dans ses devoirs</p>
  157.                         <div class="flex items-end gap-4">
  158.                             <img src="{{ base_url }}/static/img/dashboard-free/offre-assistance-visio.webp" alt="Les bons profs - Assistance Visio" class="object-contain w-[115px] rounded-bl-lg"/>
  159.                             <div>
  160.                                 <ul class="list-disc text-[12px]">
  161.                                     <li>Tous les services de l'<span class="text-orange font-bold">offre Autonomie</span><br />
  162.                                         <span class="text-azur font-bold text-2xl pl-8 block -my-2">+</span> </li>
  163.                                     <li>Aide aux devoirs</li>
  164.                                     <li class="ml-5">Profs en visio</li>
  165.                                     <li class="ml-5">de 17h à 20h</li>
  166.                                     <li class="ml-5">6 jours / 7</li>
  167.                                 </ul>
  168.                                 <div class="flex justify-center my-2">
  169.                                     <a class="bg-azur hover:bg-bleu text-white text-[12px] font-bold py-2 px-3 rounded-full hover:bg-rouge transition-all ease-in-out duration-300" href="">
  170.                                         7 jours d'essai gratuit
  171.                                     </a>
  172.                                 </div>
  173.                             </div>
  174.                         </div>
  175.                     </div>
  176.                     <div class="flex flex-col items-center justify-between bg-white border-fushia border-2 rounded-xl w-[330px]">
  177.                         <h4 class="text-fushia font-bold text-3xl pt-3">Mission Bac</h4>
  178.                         <p class="text-fushia">Achat unique</p>
  179.                         <p>À partir de <span class="text-fushia font-bold text-3xl">16,99€</span> / mois</p>
  180.                         <p class="text-grenat font-bold text-[19px]">Avoir son Bac et viser la mention</p>
  181.                         <div class="flex items-end gap-4">
  182.                             <img src="{{ base_url }}/static/img/dashboard-free/offre-mission-bac.webp" alt="Les bons profs - Mission Bac" class="object-contain w-[115px] rounded-bl-lg"/>
  183.                             <div>
  184.                                 <ul class="list-disc text-[12px]">
  185.                                     <li>En philo et dans toutes les spécialités</li>
  186.                                     <li>Annales Bac corrigées en vidéo</li>
  187.                                     <li>Cours, fiches et quiz</li>
  188.                                     <li>Méthodologie et conseils de profs</li>
  189.                                     <li>Préparation au grand oral</li>
  190.                                 </ul>
  191.                                 <div class="flex justify-center my-2">
  192.                                     <a class="bg-fushia hover:bg-bleu text-white text-[12px] font-bold py-2 px-3 rounded-full hover:bg-rouge transition-all ease-in-out duration-300" href="">
  193.                                         J'en profite
  194.                                     </a>
  195.                                 </div>
  196.                             </div>
  197.                         </div>
  198.                     </div>
  199.                 </div>
  200.             </div>
  201.         </section>
  202.         <!-- Popup -->
  203.         <div x-cloak>
  204.             <!-- Fond noir transparent flouté -->
  205.             <div  x-show="open"
  206.                   x-transition:enter="transition ease-out duration-300"
  207.                   x-transition:enter-start="opacity-0"
  208.                   x-transition:enter-end="opacity-100"
  209.                   x-transition:leave="transition ease-in duration-200"
  210.                   x-transition:leave-start="opacity-100"
  211.                   x-transition:leave-end="opacity-0"
  212.                   class="fixed inset-0 bg-black/50 backdrop-blur-sm z-40"
  213.                   @click="open = false">
  214.                 <!-- Contenu du popup -->
  215.                 <div class="fixed inset-0 z-50 flex items-center justify-center">
  216.                     <div class="flex flex-col items-center bg-white border-8 border-miel rounded-lg p-2 sm:p-6 max-w-lg mx-4" @click.stop>
  217.                         <!-- Contenu à personnaliser -->
  218.                         <p class="text-xl font-bold text-center mb-4">Ce contenu est réservé à nos inscrits</p>
  219.                         <img src="{{ base_url }}/static/img/dashboard-free/hibou-popup2.webp" alt="Tous nos cours en ligne en accès gratuit" class="w-24">
  220.                         <p class="text-lg sm:text-2xl text-bleu text-center font-bold mt-4">
  221.                             Inscrivez-vous gratuitement
  222.                         </p>
  223.                         <p class="text-lg sm:text-xl text-center">
  224.                             pour accéder à tous nos cours en ligne
  225.                         </p>
  226.                         <p class="flex text-lg sm:text-xl text-bleu font-bold mb-2">
  227.                             pendant 7 jours <img src="{{ base_url }}/static/img/dashboard-free/emphase-miel-dr.webp" alt="Inscrivez-vous gratuitement" class="w-[24px] mt-[12px]">
  228.                         </p>
  229.                         <p class="text-base sm:text-lg text-center">
  230.                             Vidéos / Fiches / Exercices corrigés /<br />QCM / Méthodologie
  231.                         </p>
  232.                         <a href="{{ base_url_front }}/nos-offres/" class="bg-miel hover:bg-grenat text-bleu hover:text-white text-lg sm:text-xl font-bold py-2 px-4 rounded-full transition-colors mt-4">
  233.                             S'inscrire gratuitement
  234.                         </a>
  235.                         <p class="text-base sm:text-xl mt-4">Déjà un compte ?
  236.                             <a href="{{ url("app_login") }}" class="text-bleu hover:text-grenat">Je me connecte</a>
  237.                         </p>
  238.                     </div>
  239.                 </div>
  240.             </div>
  241.         </div>
  242.     </section>
  243. {% endblock %}