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 }}&nbsp;:&nbsp;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.         <div class="flex justify-center px-5 pt-[20px] ">
  70.             <div class="text-[16px] w-[1160px]">
  71.                 <a href="https://www.lesbonsprofs.com/" class="text-bleu">
  72.                     <span class="text-[21px]">⌂</span> Accueil</a> »
  73.                 <a href="{{ base_url_front }}/nos-cours/{{ course.slug }}" class="text-bleu">{{ course.title|capitalize }}</a> » {{ find.dTitle|capitalize }}
  74.             </div>
  75.         </div>
  76.         <!-- Bloc Contenu -->
  77.         <section class="flex justify-center mt-[20px] px-5">
  78.             <div class="flex flex-col md:flex-row w-[1160px] relative">
  79.                 <!-- Menu gauche -->
  80.                 <aside id="menu-gauche" class="w-full md:w-[275px] absolute bg-rose md:bg-inherit mb-5 md:mb-0">
  81.                     {% include 'dashboard_free/menu-gauche.html.twig' %}
  82.                     <div class="hidden md:block mt-5">
  83.                         <a href="https://www.lesbonsprofs.com/stages/ete"><img class="rounded-lg" src="{{ base_url }}/static/img/dashboard-free/stages-ete.webp" alt="Les bons profs - Stage ÉTÉ 2025" /></a>
  84.                     </div>
  85.                     <div class="hidden md:flex justify-center pb-5">
  86.                         <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="https://www.lesbonsprofs.com/stages/ete">
  87.                             J'en profite
  88.                         </a>
  89.                     </div>
  90.                 </aside>
  91.                 <!-- Partie droite -->
  92.                 {% if find %}
  93.                     <section class="md:ml-[300px]">
  94.                         <h3 class="font-muller text-bleu text-3xl font-bold text-center sm:text-left pb-4">
  95.                             Comment réussir en {{ find.dTitle }} en {{ course.title }} ?
  96.                         </h3>
  97.                         <div class="description-discipline">
  98.                             {{ find.content|raw }}
  99.                         </div>
  100.                         <h3 class="font-muller text-bleu text-3xl font-bold text-center sm:text-left mt-12 mb-4">
  101.                             Exemples de cours en vidéo en {{ find.dTitle }} {{ course.title }}
  102.                         </h3>
  103.                         {% for key,data in listActivity %}
  104.                             <h4 class="inline-flex bg-grenat text-white font-bold text-[20px] rounded-lg px-4 py-3 -mb-5">{{ key }}</h4>
  105.                             <div class="bg-vanille rounded-lg mb-10 ">
  106.                                 <ul class="list-disc list-outside p-5 list-activity">
  107.                                     {% for row in data %}
  108.                                         <li style="margin-left: 1.2em;">
  109.                                             {% if row.videoSlug is not null and row.videoSlug is not empty %}
  110.                                                 <a style="text-decoration: underline" href="/nos-cours/{{ course.slug }}/{{ row.dSlug }}/{{ row.actSlug }}">
  111.                                                     {{ row.notionTitle }}</a>
  112.                                             {% else %}
  113.                                                 <span class="cursor-pointer" @click.prevent="open = true">{{ row.notionTitle }}</span>
  114.                                             {% endif %}
  115.                                         </li>
  116.                                     {% endfor %}
  117.                                 </ul>
  118.                             </div>
  119.                         {% endfor %}
  120.                     </section>
  121.                 {% endif %}
  122.             </div>
  123.         </section>
  124.         <!-- Bloc offres -->
  125.         <section class="flex justify-center bg-miel px-5 py-12">
  126.             <div class="flex flex-col w-[1160px]">
  127.                 <h3 class="font-muller text-bleu text-3xl font-bold text-center sm:text-left mb-5">
  128.                     Nos offres de soutien scolaire en ligne
  129.                 </h3>
  130.                 <div class="flex flex-wrap justify-around lg:justify-between gap-4">
  131.                     <div class="flex flex-col items-center justify-between bg-white border-orange border-2 rounded-xl w-[330px]">
  132.                         <h4 class="text-orange font-bold text-3xl pt-3">Autonomie</h4>
  133.                         <p class="text-orange">Abonnement</p>
  134.                         <p>À partir de <span class="text-orange font-bold text-3xl">6,99€</span> / mois</p>
  135.                         <p class="text-grenat font-bold text-[19px]">Réussir tous ses contrôles</p>
  136.                         <div class="flex items-end gap-4">
  137.                             <img src="{{ base_url }}/static/img/dashboard-free/offre-autonomie.webp" alt="Les bons profs - Autonomie" class="object-contain w-[115px] rounded-bl-lg"/>
  138.                             <div>
  139.                                 <ul class="list-disc text-[12px]">
  140.                                     <li>+ 4000 cours en vidéo</li>
  141.                                     <li>Fiches et QCM</li>
  142.                                     <li>Exercices corrigés</li>
  143.                                     <li>Remise à niveau</li>
  144.                                     <li>Stages vacances scolaires</li>
  145.                                     <li>Annales BAC<br /><span>(Inclus dans offres 12 et 24 mois)</span></li>
  146.                                 </ul>
  147.                                 <div class="flex justify-center my-2">
  148.                                     <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="{{ url('choix-formule-step',{'offre':'autonomie'}) }}">
  149.                                         7 jours d'essai gratuit
  150.                                     </a>
  151.                                 </div>
  152.                             </div>
  153.                         </div>
  154.                     </div>
  155.                     <div class="flex flex-col items-center justify-between bg-white border-azur border-2 rounded-xl w-[330px]">
  156.                         <h4 class="text-azur font-bold text-3xl pt-3">Assistance Visio</h4>
  157.                         <p class="text-azur">Abonnement</p>
  158.                         <p>À partir de <span class="text-azur font-bold text-3xl">14,99€</span> / mois</p>
  159.                         <p class="text-grenat font-bold text-[19px]">Être aidé dans ses devoirs</p>
  160.                         <div class="flex items-end gap-4">
  161.                             <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"/>
  162.                             <div>
  163.                                 <ul class="list-disc text-[12px]">
  164.                                     <li>Tous les services de l'<span class="text-orange font-bold">offre Autonomie</span><br />
  165.                                         <span class="text-azur font-bold text-2xl pl-8 block -my-2">+</span> </li>
  166.                                     <li>Aide aux devoirs</li>
  167.                                     <li class="ml-5">Profs en visio</li>
  168.                                     <li class="ml-5">de 17h à 20h</li>
  169.                                     <li class="ml-5">6 jours / 7</li>
  170.                                 </ul>
  171.                                 <div class="flex justify-center my-2">
  172.                                     <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="{{ url('choix-formule-step',{'offre':'assistance-visio'}) }}">
  173.                                         7 jours d'essai gratuit
  174.                                     </a>
  175.                                 </div>
  176.                             </div>
  177.                         </div>
  178.                     </div>
  179.                     <div class="flex flex-col items-center justify-between bg-white border-fushia border-2 rounded-xl w-[330px]">
  180.                         <h4 class="text-fushia font-bold text-3xl pt-3">Mission Bac</h4>
  181.                         <p class="text-fushia">Achat unique</p>
  182.                         <p>À partir de <span class="text-fushia font-bold text-3xl">16,99€</span> / mois</p>
  183.                         <p class="text-grenat font-bold text-[19px]">Avoir son Bac et viser la mention</p>
  184.                         <div class="flex items-end gap-4">
  185.                             <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"/>
  186.                             <div>
  187.                                 <ul class="list-disc text-[12px]">
  188.                                     <li>En philo et dans toutes les spécialités</li>
  189.                                     <li>Annales Bac corrigées en vidéo</li>
  190.                                     <li>Cours, fiches et quiz</li>
  191.                                     <li>Méthodologie et conseils de profs</li>
  192.                                     <li>Préparation au grand oral</li>
  193.                                 </ul>
  194.                                 <div class="flex justify-center my-2">
  195.                                     <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="{{ url('choice-mission',{'mission':'bac'}) }}">
  196.                                         J'en profite
  197.                                     </a>
  198.                                 </div>
  199.                             </div>
  200.                         </div>
  201.                     </div>
  202.                 </div>
  203.             </div>
  204.         </section>
  205.         <!-- Popup -->
  206.         <div x-cloak>
  207.             <!-- Fond noir transparent flouté -->
  208.             <div  x-show="open"
  209.                   x-transition:enter="transition ease-out duration-300"
  210.                   x-transition:enter-start="opacity-0"
  211.                   x-transition:enter-end="opacity-100"
  212.                   x-transition:leave="transition ease-in duration-200"
  213.                   x-transition:leave-start="opacity-100"
  214.                   x-transition:leave-end="opacity-0"
  215.                   class="fixed inset-0 bg-black/50 backdrop-blur-sm z-40"
  216.                   @click="open = false">
  217.                 <!-- Contenu du popup -->
  218.                 <div class="fixed inset-0 z-50 flex items-center justify-center">
  219.                     <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>
  220.                         <!-- Contenu à personnaliser -->
  221.                         <p class="text-xl font-bold text-center mb-4">Ce contenu est réservé à nos inscrits</p>
  222.                         <img src="{{ base_url }}/static/img/dashboard-free/hibou-popup2.webp" alt="Tous nos cours en ligne en accès gratuit" class="w-24">
  223.                         <p class="text-lg sm:text-2xl text-bleu text-center font-bold mt-4">
  224.                             Inscrivez-vous gratuitement
  225.                         </p>
  226.                         <p class="text-lg sm:text-xl text-center">
  227.                             pour accéder à tous nos cours en ligne
  228.                         </p>
  229.                         <p class="flex text-lg sm:text-xl text-bleu font-bold mb-2">
  230.                             pendant 7 jours <img src="{{ base_url }}/static/img/dashboard-free/emphase-miel-dr.webp" alt="Inscrivez-vous gratuitement" class="w-[24px] mt-[12px]">
  231.                         </p>
  232.                         <p class="text-base sm:text-lg text-center">
  233.                             Vidéos / Fiches / Exercices corrigés /<br />QCM / Méthodologie
  234.                         </p>
  235.                         <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">
  236.                             S'inscrire gratuitement
  237.                         </a>
  238.                         <p class="text-base sm:text-xl mt-4">Déjà un compte ?
  239.                             <a href="{{ url("app_login") }}" class="text-bleu hover:text-grenat">Je me connecte</a>
  240.                         </p>
  241.                     </div>
  242.                 </div>
  243.             </div>
  244.         </div>
  245.     </section>
  246. {% endblock %}