<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* dashboard_free/layout.html.twig */
class __TwigTemplate_79c59c30551f90d14d72beef399c6136 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'head' => [$this, 'block_head'],
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "dashboard_free/layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "dashboard_free/layout.html.twig"));
// line 1
yield "<!doctype html>
<html lang=\"fr\">
<head>
";
// line 5
$context["base_url"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 5, $this->source); })()), "request", [], "any", false, false, false, 5), "schemeAndHttpHost", [], "any", false, false, false, 5);
// line 6
yield " <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
<meta http-equiv=\"Content-Language\" content=\"fr\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta name=\"robots\" content=\"noindex, nofollow\">
";
// line 12
yield from $this->unwrap()->yieldBlock('head', $context, $blocks);
// line 14
yield "
<!--Favicon-->
<link rel=\"icon\" type=\"image/png\" href=\"";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 18, $this->source); })()), "html", null, true);
yield "/static/img/dashboard-free/favicon.webp\" />
<!--CSS-->
<link rel=\"preload\" href=\"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap\" as=\"style\" />
<link rel=\"preload\" href=\"https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap\" as=\"style\" />
<link rel=\"preload\" href=\"https://fonts.cdnfonts.com/css/muller-narrow\" as=\"style\" />
<link rel=\"preload\" type=\"text/css\" title=\"Style\" href=\"";
// line 24
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 24, $this->source); })()), "html", null, true);
yield "/styles.css\" as=\"style\" />
<link rel=\"stylesheet\" type=\"text/css\" title=\"Style\" href=\"";
// line 25
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 25, $this->source); })()), "html", null, true);
yield "/styles.css\" />
<!--JS-->
<script src=\"";
// line 28
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 28, $this->source); })()), "html", null, true);
yield "/js/custom.js\" type=\"text/javascript\"></script>
<script src=\"https://unpkg.com/alpinejs\" defer></script>
";
// line 32
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->getWebpackCssFiles("free"));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 33
yield " <link href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"])), "html", null, true);
yield "\" rel=\"stylesheet\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['file'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 35
yield " ";
// line 36
yield "
</head>
<body class=\"font-poppins\" x-data=\"{ open: false, mobileMenuOpen: false, dropdownOpen: false }\" @keydown.escape.window=\"open = false\">
<!-- Header -->
<header class=\"flex bg-white fixed w-full z-10 border-bleu border-b-[1px] px-4 py-4 justify-between flex-wrap items-center\" x-data=\"{ mobileMenuOpen: false, dropdownOpen: false }\">
<div class=\"flex flex-wrap items-center\">
<a href=\"https://lesbonsprofs.com\" target=\"_blank\" aria-label=\"Les Bons Profs\"><img src=\"";
// line 46
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 46, $this->source); })()), "html", null, true);
yield "/static/img/dashboard-free/les-bons-profs-logo.svg\" alt=\"Les bons profs - Cours gratuits\" class=\"w-48 md:w-56 lg:w-auto\"/></a>
<div class=\"hidden lg:flex text-nowrap font-bold text-bleu text-[15px]\"><img src=\"";
// line 47
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 47, $this->source); })()), "html", null, true);
yield "/static/img/dashboard-free/phone.svg\" alt=\"télephone\" class=\"pl-3 pr-1\" /> 01 86 95 72 01</div>
</div>
<div class=\"flex\">
<!-- Menu -->
<div x-data=\"{ mobileMenuOpen: false, dropdownOpen: false }\" class=\"w-full md:w-auto\">
<!-- Bouton Menu Mobile -->
<button @click=\"mobileMenuOpen = !mobileMenuOpen\" class=\"md:hidden text-bleu\">
<svg x-show=\"!mobileMenuOpen\" class=\"h-6 w-6\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6h16M4 12h16M4 18h16\"/>
</svg>
<svg x-show=\"mobileMenuOpen\" class=\"h-6 w-6\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18L18 6M6 6l12 12\"/>
</svg>
</button>
<!-- Navigation Links (partagé entre Desktop et Mobile) -->
<nav :class=\"{'hidden': !mobileMenuOpen, 'absolute left-0 right-0 bg-white z-50': mobileMenuOpen}\"
class=\"md:block md:relative\">
<ul class=\"md:flex md:items-center xl:gap-8\">
<!-- Nos offres -->
<li>
<a href=\"";
// line 69
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((isset($context["base_url_front"]) || array_key_exists("base_url_front", $context) ? $context["base_url_front"] : (function () { throw new RuntimeError('Variable "base_url_front" does not exist.', 69, $this->source); })()) . "/nos-offres"), "html", null, true);
yield "\" class=\"block px-4 py-2 text-bleu hover:text-grenat font-bold transition-colors\">Nos offres</a>
</li>
<!-- Dropdown Nos cours -->
<li class=\"relative\">
<button @click=\"dropdownOpen = !dropdownOpen\"
class=\"flex items-center w-full px-4 py-2 text-bleu hover:text-grenat font-bold transition-colors\">
<span>Nos cours</span>
<svg class=\"w-4 h-4 ml-1 transition-transform\" :class=\"{'rotate-180': dropdownOpen}\" fill=\"currentColor\" viewBox=\"0 0 20 20\">
<path fill-rule=\"evenodd\" 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\"/>
</svg>
</button>
<!-- Sous-menu (même contenu pour Desktop et Mobile) -->
<div x-show=\"dropdownOpen\"
@click.away=\"dropdownOpen = false\"
x-transition:enter=\"transition ease-out duration-200\"
x-transition:enter-start=\"opacity-0\"
x-transition:enter-end=\"opacity-100\"
x-transition:leave=\"transition ease-in duration-150\"
x-transition:leave-start=\"opacity-100\"
x-transition:leave-end=\"opacity-0\"
class=\"md:absolute md:left-0 md:mt-2 md:w-48 bg-white md:border-2 md:rounded-lg md:shadow-lg z-50\">
<div class=\"py-2 text-[14px]\">
";
// line 93
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["allCourses"]) || array_key_exists("allCourses", $context) ? $context["allCourses"] : (function () { throw new RuntimeError('Variable "allCourses" does not exist.', 93, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["al"]) {
// line 94
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url_front"]) || array_key_exists("base_url_front", $context) ? $context["base_url_front"] : (function () { throw new RuntimeError('Variable "base_url_front" does not exist.', 94, $this->source); })()), "html", null, true);
yield "/nos-cours/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["al"], "slug", [], "any", false, false, false, 94), "html", null, true);
yield "\" class=\"block px-8 md:px-4 py-2 text-bleu hover:text-grenat transition-colors\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["al"], "title", [], "any", false, false, false, 94)), "html", null, true);
yield "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['al'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 96
yield " </div>
</div>
</li>
<!-- Blog -->
<li>
<a href=\"#\" class=\"block px-4 py-2 text-bleu hover:text-grenat font-bold transition-colors\">Blog</a>
</li>
<!-- Bouton Essayer gratuitement -->
<li class=\"px-4 md:px-0 py-2\">
<a href=\"#\" class=\"block bg-bleu hover:bg-grenat text-white md:text-[12px] lg:text-[16px] font-bold py-2 px-4 rounded-full text-center transition-colors\">
Essayer gratuitement
</a>
</li>
</ul>
</nav>
</div>
</div>
</header>
";
// line 116
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 118
yield " <footer class=\"bg-bleu bg-[url('";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 118, $this->source); })()), "html", null, true);
yield "/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=\"{
openSection: null,
toggleSection(section) {
this.openSection = this.openSection === section ? null : section
}
}\">
<div class=\"max-w-[1160px] mx-auto\">
<!-- Logo -->
<a href=\"https://lesbonsprofs.com\" target=\"_blank\" aria-label=\"Les Bons Profs\" class=\"block mb-8\">
<img src=\"";
// line 127
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 127, $this->source); })()), "html", null, true);
yield "/static/img/dashboard-free/logo-blanc.svg\" alt=\"Les bons profs - Cours gratuits\" class=\"w-[285px]\"/>
</a>
<!-- Navigation -->
<div class=\"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-8 text-[15px]\">
<!-- Nos cours -->
<div>
<button
@click=\"toggleSection('cours')\"
class=\"font-bold text-xl md:text-2xl mb-4 md:cursor-default inline-flex items-center gap-2\"
>
<span>Nos cours</span>
<svg
class=\"w-4 h-4 transition-transform md:hidden\"
:class=\"{'rotate-180': openSection === 'cours'}\"
fill=\"none\"
stroke=\"currentColor\"
viewBox=\"0 0 24 24\"
>
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 9l-7 7-7-7\"/>
</svg>
</button>
<ul
class=\"space-y-2 overflow-hidden transition-all duration-300 md:block\"
:class=\"{'hidden': openSection !== 'cours'}\"
>
";
// line 153
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["allCourses"]) || array_key_exists("allCourses", $context) ? $context["allCourses"] : (function () { throw new RuntimeError('Variable "allCourses" does not exist.', 153, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["al"]) {
// line 154
yield " <li><a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((isset($context["base_url_front"]) || array_key_exists("base_url_front", $context) ? $context["base_url_front"] : (function () { throw new RuntimeError('Variable "base_url_front" does not exist.', 154, $this->source); })()) . "/nos-cours/") . CoreExtension::getAttribute($this->env, $this->source, $context["al"], "slug", [], "any", false, false, false, 154)), "html", null, true);
yield "\" class=\"hover:text-peche transition-colors\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["al"], "title", [], "any", false, false, false, 154), "html", null, true);
yield "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['al'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 156
yield " </ul>
</div>
<!-- Nos pages -->
<div class=\"sm:col-start-1 md:col-start-2 sm:-mt-16 md:mt-0\">
<button
@click=\"toggleSection('pages')\"
class=\"font-bold text-xl md:text-2xl mb-4 md:cursor-default inline-flex items-center gap-2\"
>
<span>Nos pages</span>
<svg
class=\"w-4 h-4 transition-transform md:hidden\"
:class=\"{'rotate-180': openSection === 'pages'}\"
fill=\"none\"
stroke=\"currentColor\"
viewBox=\"0 0 24 24\"
>
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 9l-7 7-7-7\"/>
</svg>
</button>
<ul
class=\"space-y-2 overflow-hidden transition-all duration-300 md:block\"
:class=\"{'hidden': openSection !== 'pages'}\"
>
<li><a href=\"";
// line 180
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url_front"]) || array_key_exists("base_url_front", $context) ? $context["base_url_front"] : (function () { throw new RuntimeError('Variable "base_url_front" does not exist.', 180, $this->source); })()), "html", null, true);
yield "\" class=\"hover:text-peche transition-colors\">Les Bons Profs</a></li>
<li><a href=\"";
// line 181
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url_front"]) || array_key_exists("base_url_front", $context) ? $context["base_url_front"] : (function () { throw new RuntimeError('Variable "base_url_front" does not exist.', 181, $this->source); })()), "html", null, true);
yield "/nos-offres\" class=\"hover:text-peche transition-colors\">Nos offres</a></li>
<li><a href=\"";
// line 182
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url_front"]) || array_key_exists("base_url_front", $context) ? $context["base_url_front"] : (function () { throw new RuntimeError('Variable "base_url_front" does not exist.', 182, $this->source); })()), "html", null, true);
yield "/blog\" class=\"hover:text-peche transition-colors\">Blog</a></li>
<li><a href=\"#\" class=\"hover:text-peche transition-colors\">Notre manifeste</a></li>
<li><a href=\"#\" class=\"hover:text-peche transition-colors\">Conditions générales d'utilisation</a></li>
<li><a href=\"#\" class=\"hover:text-peche transition-colors\">Mentions légales</a></li>
</ul>
</div>
<!-- Réseaux sociaux et Contact -->
<div class=\"grid sm:col-start-2 sm:row-start-1 md:col-start-3\">
<span class=\"hidden md:block font-bold text-xl md:text-2xl md:-mb-8\">Nous suivre</span>
<div class=\"flex space-x-4\">
<a href=\"https://www.facebook.com/lesbonsprofs\" target=\"_blank\" class=\"hover:opacity-75 transition-opacity\">
<img src=\"";
// line 194
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 194, $this->source); })()), "html", null, true);
yield "/static/img/dashboard-free/facebook.svg\" alt=\"Facebook\" class=\"w-8 h-8\">
</a>
<a href=\"https://www.instagram.com/lesbonsprofs/\" target=\"_blank\" class=\"hover:opacity-75 transition-opacity\">
<img src=\"";
// line 197
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 197, $this->source); })()), "html", null, true);
yield "/static/img/dashboard-free/instagram.svg\" alt=\"Instagram\" class=\"w-8 h-8\">
</a>
<a href=\"https://fr.linkedin.com/company/lesbonsprofs\" target=\"_blank\" class=\"hover:opacity-75 transition-opacity\">
<img src=\"";
// line 200
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["base_url"]) || array_key_exists("base_url", $context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.', 200, $this->source); })()), "html", null, true);
yield "/static/img/dashboard-free/linkedin.svg\" alt=\"Linkedin\" class=\"w-8 h-8\">
</a>
</div>
<span class=\"font-bold text-xl md:text-2xl row-start-1 md:row-start-3 mb-8 md:mb-0\">Contactez-nous</span>
</div>
</div>
</div>
</footer>
";
// line 208
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->getWebpackJsFiles("free"));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 209
yield " <script src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["file"])), "html", null, true);
yield "\" ></script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['file'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 211
yield "
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
// line 12
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_head(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
// line 13
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 116
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 117
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "dashboard_free/layout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 418 => 117, 405 => 116, 394 => 13, 381 => 12, 366 => 211, 357 => 209, 353 => 208, 342 => 200, 336 => 197, 330 => 194, 315 => 182, 311 => 181, 307 => 180, 281 => 156, 270 => 154, 266 => 153, 237 => 127, 224 => 118, 222 => 116, 200 => 96, 187 => 94, 183 => 93, 156 => 69, 131 => 47, 127 => 46, 115 => 36, 113 => 35, 104 => 33, 100 => 32, 93 => 28, 87 => 25, 83 => 24, 74 => 18, 68 => 14, 66 => 12, 58 => 6, 56 => 5, 50 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!doctype html>
<html lang=\"fr\">
<head>
{% set base_url = app.request.schemeAndHttpHost %}
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
<meta http-equiv=\"Content-Language\" content=\"fr\" />
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<meta name=\"robots\" content=\"noindex, nofollow\">
{% block head %}
{% endblock %}
<!--Favicon-->
<link rel=\"icon\" type=\"image/png\" href=\"{{ base_url }}/static/img/dashboard-free/favicon.webp\" />
<!--CSS-->
<link rel=\"preload\" href=\"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap\" as=\"style\" />
<link rel=\"preload\" href=\"https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap\" as=\"style\" />
<link rel=\"preload\" href=\"https://fonts.cdnfonts.com/css/muller-narrow\" as=\"style\" />
<link rel=\"preload\" type=\"text/css\" title=\"Style\" href=\"{{ base_url }}/styles.css\" as=\"style\" />
<link rel=\"stylesheet\" type=\"text/css\" title=\"Style\" href=\"{{ base_url }}/styles.css\" />
<!--JS-->
<script src=\"{{ base_url }}/js/custom.js\" type=\"text/javascript\"></script>
<script src=\"https://unpkg.com/alpinejs\" defer></script>
{% for file in encore_entry_css_files('free') %}
<link href=\"{{ absolute_url(asset(file)) }}\" rel=\"stylesheet\" />
{% endfor %}
{#{{ encore_entry_link_tags('free',null,'/') }}#}
</head>
<body class=\"font-poppins\" x-data=\"{ open: false, mobileMenuOpen: false, dropdownOpen: false }\" @keydown.escape.window=\"open = false\">
<!-- Header -->
<header class=\"flex bg-white fixed w-full z-10 border-bleu border-b-[1px] px-4 py-4 justify-between flex-wrap items-center\" x-data=\"{ mobileMenuOpen: false, dropdownOpen: false }\">
<div class=\"flex flex-wrap items-center\">
<a href=\"https://lesbonsprofs.com\" target=\"_blank\" aria-label=\"Les Bons Profs\"><img src=\"{{ base_url }}/static/img/dashboard-free/les-bons-profs-logo.svg\" alt=\"Les bons profs - Cours gratuits\" class=\"w-48 md:w-56 lg:w-auto\"/></a>
<div class=\"hidden lg:flex text-nowrap font-bold text-bleu text-[15px]\"><img src=\"{{ base_url }}/static/img/dashboard-free/phone.svg\" alt=\"télephone\" class=\"pl-3 pr-1\" /> 01 86 95 72 01</div>
</div>
<div class=\"flex\">
<!-- Menu -->
<div x-data=\"{ mobileMenuOpen: false, dropdownOpen: false }\" class=\"w-full md:w-auto\">
<!-- Bouton Menu Mobile -->
<button @click=\"mobileMenuOpen = !mobileMenuOpen\" class=\"md:hidden text-bleu\">
<svg x-show=\"!mobileMenuOpen\" class=\"h-6 w-6\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6h16M4 12h16M4 18h16\"/>
</svg>
<svg x-show=\"mobileMenuOpen\" class=\"h-6 w-6\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18L18 6M6 6l12 12\"/>
</svg>
</button>
<!-- Navigation Links (partagé entre Desktop et Mobile) -->
<nav :class=\"{'hidden': !mobileMenuOpen, 'absolute left-0 right-0 bg-white z-50': mobileMenuOpen}\"
class=\"md:block md:relative\">
<ul class=\"md:flex md:items-center xl:gap-8\">
<!-- Nos offres -->
<li>
<a href=\"{{ base_url_front~'/nos-offres' }}\" class=\"block px-4 py-2 text-bleu hover:text-grenat font-bold transition-colors\">Nos offres</a>
</li>
<!-- Dropdown Nos cours -->
<li class=\"relative\">
<button @click=\"dropdownOpen = !dropdownOpen\"
class=\"flex items-center w-full px-4 py-2 text-bleu hover:text-grenat font-bold transition-colors\">
<span>Nos cours</span>
<svg class=\"w-4 h-4 ml-1 transition-transform\" :class=\"{'rotate-180': dropdownOpen}\" fill=\"currentColor\" viewBox=\"0 0 20 20\">
<path fill-rule=\"evenodd\" 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\"/>
</svg>
</button>
<!-- Sous-menu (même contenu pour Desktop et Mobile) -->
<div x-show=\"dropdownOpen\"
@click.away=\"dropdownOpen = false\"
x-transition:enter=\"transition ease-out duration-200\"
x-transition:enter-start=\"opacity-0\"
x-transition:enter-end=\"opacity-100\"
x-transition:leave=\"transition ease-in duration-150\"
x-transition:leave-start=\"opacity-100\"
x-transition:leave-end=\"opacity-0\"
class=\"md:absolute md:left-0 md:mt-2 md:w-48 bg-white md:border-2 md:rounded-lg md:shadow-lg z-50\">
<div class=\"py-2 text-[14px]\">
{% for al in allCourses %}
<a href=\"{{ base_url_front }}/nos-cours/{{ al.slug }}\" class=\"block px-8 md:px-4 py-2 text-bleu hover:text-grenat transition-colors\">{{ al.title|capitalize }}</a>
{% endfor %}
</div>
</div>
</li>
<!-- Blog -->
<li>
<a href=\"#\" class=\"block px-4 py-2 text-bleu hover:text-grenat font-bold transition-colors\">Blog</a>
</li>
<!-- Bouton Essayer gratuitement -->
<li class=\"px-4 md:px-0 py-2\">
<a href=\"#\" class=\"block bg-bleu hover:bg-grenat text-white md:text-[12px] lg:text-[16px] font-bold py-2 px-4 rounded-full text-center transition-colors\">
Essayer gratuitement
</a>
</li>
</ul>
</nav>
</div>
</div>
</header>
{% block content %}
{% endblock %}
<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=\"{
openSection: null,
toggleSection(section) {
this.openSection = this.openSection === section ? null : section
}
}\">
<div class=\"max-w-[1160px] mx-auto\">
<!-- Logo -->
<a href=\"https://lesbonsprofs.com\" target=\"_blank\" aria-label=\"Les Bons Profs\" class=\"block mb-8\">
<img src=\"{{ base_url }}/static/img/dashboard-free/logo-blanc.svg\" alt=\"Les bons profs - Cours gratuits\" class=\"w-[285px]\"/>
</a>
<!-- Navigation -->
<div class=\"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-8 text-[15px]\">
<!-- Nos cours -->
<div>
<button
@click=\"toggleSection('cours')\"
class=\"font-bold text-xl md:text-2xl mb-4 md:cursor-default inline-flex items-center gap-2\"
>
<span>Nos cours</span>
<svg
class=\"w-4 h-4 transition-transform md:hidden\"
:class=\"{'rotate-180': openSection === 'cours'}\"
fill=\"none\"
stroke=\"currentColor\"
viewBox=\"0 0 24 24\"
>
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 9l-7 7-7-7\"/>
</svg>
</button>
<ul
class=\"space-y-2 overflow-hidden transition-all duration-300 md:block\"
:class=\"{'hidden': openSection !== 'cours'}\"
>
{% for al in allCourses %}
<li><a href=\"{{ base_url_front~'/nos-cours/'~al.slug }}\" class=\"hover:text-peche transition-colors\">{{ al.title }}</a></li>
{% endfor %}
</ul>
</div>
<!-- Nos pages -->
<div class=\"sm:col-start-1 md:col-start-2 sm:-mt-16 md:mt-0\">
<button
@click=\"toggleSection('pages')\"
class=\"font-bold text-xl md:text-2xl mb-4 md:cursor-default inline-flex items-center gap-2\"
>
<span>Nos pages</span>
<svg
class=\"w-4 h-4 transition-transform md:hidden\"
:class=\"{'rotate-180': openSection === 'pages'}\"
fill=\"none\"
stroke=\"currentColor\"
viewBox=\"0 0 24 24\"
>
<path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 9l-7 7-7-7\"/>
</svg>
</button>
<ul
class=\"space-y-2 overflow-hidden transition-all duration-300 md:block\"
:class=\"{'hidden': openSection !== 'pages'}\"
>
<li><a href=\"{{ base_url_front }}\" class=\"hover:text-peche transition-colors\">Les Bons Profs</a></li>
<li><a href=\"{{ base_url_front }}/nos-offres\" class=\"hover:text-peche transition-colors\">Nos offres</a></li>
<li><a href=\"{{ base_url_front }}/blog\" class=\"hover:text-peche transition-colors\">Blog</a></li>
<li><a href=\"#\" class=\"hover:text-peche transition-colors\">Notre manifeste</a></li>
<li><a href=\"#\" class=\"hover:text-peche transition-colors\">Conditions générales d'utilisation</a></li>
<li><a href=\"#\" class=\"hover:text-peche transition-colors\">Mentions légales</a></li>
</ul>
</div>
<!-- Réseaux sociaux et Contact -->
<div class=\"grid sm:col-start-2 sm:row-start-1 md:col-start-3\">
<span class=\"hidden md:block font-bold text-xl md:text-2xl md:-mb-8\">Nous suivre</span>
<div class=\"flex space-x-4\">
<a href=\"https://www.facebook.com/lesbonsprofs\" target=\"_blank\" class=\"hover:opacity-75 transition-opacity\">
<img src=\"{{ base_url }}/static/img/dashboard-free/facebook.svg\" alt=\"Facebook\" class=\"w-8 h-8\">
</a>
<a href=\"https://www.instagram.com/lesbonsprofs/\" target=\"_blank\" class=\"hover:opacity-75 transition-opacity\">
<img src=\"{{ base_url }}/static/img/dashboard-free/instagram.svg\" alt=\"Instagram\" class=\"w-8 h-8\">
</a>
<a href=\"https://fr.linkedin.com/company/lesbonsprofs\" target=\"_blank\" class=\"hover:opacity-75 transition-opacity\">
<img src=\"{{ base_url }}/static/img/dashboard-free/linkedin.svg\" alt=\"Linkedin\" class=\"w-8 h-8\">
</a>
</div>
<span class=\"font-bold text-xl md:text-2xl row-start-1 md:row-start-3 mb-8 md:mb-0\">Contactez-nous</span>
</div>
</div>
</div>
</footer>
{% for file in encore_entry_js_files('free') %}
<script src=\"{{ absolute_url(asset(file)) }}\" ></script>
{% endfor %}
</body>
</html>
", "dashboard_free/layout.html.twig", "/var/www/dashboard/templates/dashboard_free/layout.html.twig");
}
}