<?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;
/* pages/homepage.html.twig */
class __TwigTemplate_507af18598d85bd281d1c8046337f72ae8811993512e5d0fea950a81400337a5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'style' => [$this, 'block_style'],
'content' => [$this, 'block_content'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/homepage.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/homepage.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "pages/homepage.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_style($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
// line 3
yield "\t";
yield from $this->yieldParentBlock("style", $context, $blocks);
yield "
";
// line 4
yield from $this->loadTemplate("css/shepherd.html.twig", "pages/homepage.html.twig", 4)->unwrap()->yield($context);
// line 5
yield "\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/homepage.html.twig", 5)->unwrap()->yield(CoreExtension::merge($context, ["file" => "homepage_css"]));
// line 6
yield "\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/homepage.html.twig", 6)->unwrap()->yield(CoreExtension::merge($context, ["file" => "evenementavenir_css"]));
// line 7
yield "\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/homepage.html.twig", 7)->unwrap()->yield(CoreExtension::merge($context, ["file" => "previews_css"]));
// line 8
yield "\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/homepage.html.twig", 8)->unwrap()->yield(CoreExtension::merge($context, ["file" => "preview_thematique_css"]));
// line 9
yield "\t";
yield from $this->loadTemplate("pages/headers/encore-entry-css-files.html.twig", "pages/homepage.html.twig", 9)->unwrap()->yield(CoreExtension::merge($context, ["file" => "splide_css"]));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 11
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 12
yield "\t";
$context["thematiquesArray"] = [];
// line 13
yield "\t";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 13) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 13), "contact", [], "any", true, true, false, 13))) {
// line 14
yield "\t\t";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, 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.', 14, $this->source); })()), "user", [], "any", false, false, false, 14), "contact", [], "any", false, false, false, 14), "categories", [], "any", false, false, false, 14));
foreach ($context['_seq'] as $context["_key"] => $context["thematiques"]) {
// line 15
yield "\t\t\t";
$context["thematiquesArray"] = Twig\Extension\CoreExtension::merge((isset($context["thematiquesArray"]) || array_key_exists("thematiquesArray", $context) ? $context["thematiquesArray"] : (function () { throw new RuntimeError('Variable "thematiquesArray" does not exist.', 15, $this->source); })()), [CoreExtension::getAttribute($this->env, $this->source, $context["thematiques"], "id", [], "any", false, false, false, 15)]);
// line 16
yield "\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['thematiques'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 17
yield "\t";
}
// line 18
yield "
\t<div id=\"myHeader\" class=\"";
// line 19
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 19) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 19, $this->source); })()), "header_img", [], "any", false, false, false, 19)))) {
yield "homepage-title";
} else {
yield "small-main-title";
}
yield " dflex aic jcc prelative homepage-header homepage-intro example-css-selector\">
\t\t";
// line 20
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 20) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 20, $this->source); })()), "header_img", [], "any", false, false, false, 20)))) {
// line 21
yield "\t\t\t";
// line 22
yield "\t\t\t<img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 22, $this->source); })()), "header_img", [], "any", false, false, false, 22), "formats", [], "any", false, false, false, 22), "1000x.webp", [], "array", false, false, false, 22), "html", null, true);
yield "\" srcset=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 22, $this->source); })()), "header_img", [], "any", false, false, false, 22), "formats", [], "any", false, false, false, 22), "300x.webp", [], "array", false, false, false, 22), "html", null, true);
yield " 300w, ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 22, $this->source); })()), "header_img", [], "any", false, false, false, 22), "formats", [], "any", false, false, false, 22), "600x.webp", [], "array", false, false, false, 22), "html", null, true);
yield " 600w, ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 22, $this->source); })()), "header_img", [], "any", false, false, false, 22), "formats", [], "any", false, false, false, 22), "800x.webp", [], "array", false, false, false, 22), "html", null, true);
yield " 800w, ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 22, $this->source); })()), "header_img", [], "any", false, false, false, 22), "formats", [], "any", false, false, false, 22), "1000x.webp", [], "array", false, false, false, 22), "html", null, true);
yield " 1000w\" sizes=\"(max-width: 300px) 300w, (max-width: 600px) 600w, (max-width: 800px) 800w, 1000w\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AltImageExtension']->getCopyrightOrDescriptionOrTitle(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 22, $this->source); })()), "header_img", [], "any", false, false, false, 22)), "html", null, true);
yield "\" width=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 22, $this->source); })()), "header_img", [], "any", false, false, false, 22), "fileVersion", [], "any", false, false, false, 22), "properties", [], "any", false, false, false, 22), "width", [], "any", false, false, false, 22), "html", null, true);
yield "\" height=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 22, $this->source); })()), "header_img", [], "any", false, false, false, 22), "fileVersion", [], "any", false, false, false, 22), "properties", [], "any", false, false, false, 22), "height", [], "any", false, false, false, 22), "html", null, true);
yield "\" loading=\"lazy\">
\t\t";
}
// line 24
yield "\t\t<div class=\"center w100\">
\t\t\t<h1 ";
// line 25
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 25) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 25, $this->source); })()), "header_img", [], "any", false, false, false, 25)))) {
yield " class=\"cwhite\" ";
}
yield ">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 25, $this->source); })()), "page_title", [], "any", false, false, false, 25), "html", null, true);
yield "</h1>
\t\t\t<div class=\"mt-20px mb-20px fw500 fs20 text tac";
// line 26
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 26) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 26, $this->source); })()), "header_img", [], "any", false, false, false, 26)))) {
yield " cwhite";
} else {
yield " cgrey";
}
yield "\">";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 26, $this->source); })()), "chapo", [], "any", false, false, false, 26);
yield "</div>
\t\t\t<form action=\"";
// line 27
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pqna.search");
yield "\" method=\"POST\" class=\"dflex fdc aic usnone\">
\t\t\t\t<div class=\"input-search-container prelative\">
\t\t\t\t\t<input type=\"text\" name=\"q\" placeholder=\"Que recherchez-vous ?\" class=\"fs16 lh24\">
\t\t\t\t\t<button type=\"submit\" class=\"pabsolute dflex aic jcc\"><img src=\"/resources/img/search-icon.svg\" alt=\"Rechercher\" width=\"16\" height=\"16\" loading=\"lazy\" style=\"pointer-events: none;\"></button>
\t\t\t\t</div>
\t\t\t\t<div class=\"dflex jcc fwwrap search-button-display mt-24px\" id=\"search-buttons-container-hp\">
\t\t\t\t\t<div>
\t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Contractualisation-hp\" name=\"keyword\" value=\"Contractualisation\">
\t\t\t\t\t\t<label for=\"Contractualisation-hp\" class=\"fs18 fw600 cwhite lh28\">Contractualisation</label>
\t\t\t\t\t</div>
\t\t\t\t\t<div>
\t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Gouvernance-hp\" name=\"keyword\" value=\"Gouvernance\">
\t\t\t\t\t\t<label for=\"Gouvernance-hp\" class=\"fs18 fw600 cwhite lh28\">Gouvernance</label>
\t\t\t\t\t</div>
\t\t\t\t\t<div>
\t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Experimentation-hp\" name=\"keyword\" value=\"Experimentation\">
\t\t\t\t\t\t<label for=\"Experimentation-hp\" class=\"fs18 fw600 cwhite lh28\">Expérimentation</label>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"break\"></div>
\t\t\t\t\t<div>
\t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Cooperation-hp\" name=\"keyword\" value=\"Cooperation\">
\t\t\t\t\t\t<label for=\"Cooperation-hp\" class=\"fs18 fw600 cwhite lh28\">Coopération</label>
\t\t\t\t\t</div>
\t\t\t\t\t<div>
\t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Evaluation-hp\" name=\"keyword\" value=\"Evaluation\">
\t\t\t\t\t\t<label for=\"Evaluation-hp\" class=\"fs18 fw600 cwhite lh28\">Évaluation</label>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</form>
\t\t</div>
\t\t";
// line 57
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "header_img", [], "any", true, true, false, 57) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 57, $this->source); })()), "header_img", [], "any", false, false, false, 57)))) {
// line 58
yield "\t\t\t<div class=\"background-color-blue\"></div>
\t\t";
}
// line 60
yield "\t</div>
\t<div class=\"main-container w100 plr-1em\">
\t\t<div class=\"content\">
\t\t\t<div class=\"blocks w100\">
\t\t\t\t<section class=\"alaune mt-40px\">
\t\t\t\t\t<h2 class=\"fs60 lh60 fw700 center\">À la une</h2>
\t\t\t\t\t";
// line 66
yield from $this->loadTemplate("homepage-articles/alaune.html.twig", "pages/homepage.html.twig", 66)->unwrap()->yield(CoreExtension::merge($context, ["thematiques" => (isset($context["thematiquesArray"]) || array_key_exists("thematiquesArray", $context) ? $context["thematiquesArray"] : (function () { throw new RuntimeError('Variable "thematiquesArray" does not exist.', 66, $this->source); })())]));
// line 67
yield "\t\t\t\t</section>
\t\t\t\t<section class=\"evenementsavenir mt-80px mb-40px pb-100px prelative\">
\t\t\t\t\t<h2 class=\"fs60 lh60 fw700 center mb-40px\">Évènements à venir</h2>
\t\t\t\t\t";
// line 70
yield from $this->loadTemplate("homepage-articles/evenementsavenir.html.twig", "pages/homepage.html.twig", 70)->unwrap()->yield($context);
// line 71
yield "\t\t\t\t</section>
\t\t\t\t<section class=\"presentation\">
\t\t\t\t\t";
// line 73
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 73, $this->source); })()), "main_content", [], "any", false, false, false, 73));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["block"]) {
// line 74
yield "\t\t\t\t\t\t";
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 74), "category_presentation"))) {
// line 75
yield "\t\t\t\t\t\t\t";
yield from $this->loadTemplate("homepage-articles/presentation-category.html.twig", "pages/homepage.html.twig", 75)->unwrap()->yield($context);
// line 76
yield "\t\t\t\t\t\t";
} elseif ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, $context["block"], "type", [], "any", false, false, false, 76), "partenaires_financiers"))) {
// line 77
yield "\t\t\t\t\t\t\t";
yield from $this->loadTemplate("homepage-articles/partenaires.html.twig", "pages/homepage.html.twig", 77)->unwrap()->yield($context);
// line 78
yield "\t\t\t\t\t\t";
}
// line 79
yield "\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['block'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 80
yield "\t\t\t\t</section>
\t\t\t</div>
\t\t</div>
\t</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 85
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 86
yield "\t";
yield from $this->yieldParentBlock("javascripts", $context, $blocks);
yield "
\t";
// line 87
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("splide");
yield "
\t";
// line 88
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("onboard_tour");
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "pages/homepage.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 331 => 88, 327 => 87, 322 => 86, 312 => 85, 297 => 80, 283 => 79, 280 => 78, 277 => 77, 274 => 76, 271 => 75, 268 => 74, 251 => 73, 247 => 71, 245 => 70, 240 => 67, 238 => 66, 230 => 60, 226 => 58, 224 => 57, 191 => 27, 181 => 26, 173 => 25, 170 => 24, 150 => 22, 148 => 21, 146 => 20, 138 => 19, 135 => 18, 132 => 17, 126 => 16, 123 => 15, 118 => 14, 115 => 13, 112 => 12, 102 => 11, 90 => 9, 87 => 8, 84 => 7, 81 => 6, 78 => 5, 76 => 4, 71 => 3, 61 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block style %}
\t{{ parent() }}
{% include \"css/shepherd.html.twig\" %}
\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'homepage_css'} %}
\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'evenementavenir_css'} %}
\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'previews_css'} %}
\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'preview_thematique_css'} %}
\t{% include \"pages/headers/encore-entry-css-files.html.twig\" with {file: 'splide_css'} %}
{% endblock %}
{% block content %}
\t{% set thematiquesArray = [] %}
\t{% if app.user is defined and app.user.contact is defined %}
\t\t{% for thematiques in app.user.contact.categories %}
\t\t\t{% set thematiquesArray = thematiquesArray|merge([thematiques.id]) %}
\t\t{% endfor %}
\t{% endif %}
\t<div id=\"myHeader\" class=\"{% if content.header_img is defined and content.header_img is not empty %}homepage-title{% else %}small-main-title{% endif %} dflex aic jcc prelative homepage-header homepage-intro example-css-selector\">
\t\t{% if content.header_img is defined and content.header_img is not empty %}
\t\t\t{# pas de loading=lazy ici car c'est le LPC (largest painted content) qui apparaît dès l'arrivée sur le site #}
\t\t\t<img src=\"{{ content.header_img.formats['1000x.webp'] }}\" srcset=\"{{ content.header_img.formats['300x.webp'] }} 300w, {{ content.header_img.formats['600x.webp'] }} 600w, {{ content.header_img.formats['800x.webp'] }} 800w, {{ content.header_img.formats['1000x.webp'] }} 1000w\" sizes=\"(max-width: 300px) 300w, (max-width: 600px) 600w, (max-width: 800px) 800w, 1000w\" alt=\"{{ content.header_img | copyright_or_description_or_title }}\" width=\"{{ content.header_img.fileVersion.properties.width }}\" height=\"{{ content.header_img.fileVersion.properties.height }}\" loading=\"lazy\">
\t\t{% endif %}
\t\t<div class=\"center w100\">
\t\t\t<h1 {% if content.header_img is defined and content.header_img is not empty %} class=\"cwhite\" {% endif %}>{{ content.page_title }}</h1>
\t\t\t<div class=\"mt-20px mb-20px fw500 fs20 text tac{% if content.header_img is defined and content.header_img is not empty %} cwhite{% else %} cgrey{% endif %}\">{{ content.chapo|raw }}</div>
\t\t\t<form action=\"{{ path('pqna.search') }}\" method=\"POST\" class=\"dflex fdc aic usnone\">
\t\t\t\t<div class=\"input-search-container prelative\">
\t\t\t\t\t<input type=\"text\" name=\"q\" placeholder=\"Que recherchez-vous ?\" class=\"fs16 lh24\">
\t\t\t\t\t<button type=\"submit\" class=\"pabsolute dflex aic jcc\"><img src=\"/resources/img/search-icon.svg\" alt=\"Rechercher\" width=\"16\" height=\"16\" loading=\"lazy\" style=\"pointer-events: none;\"></button>
\t\t\t\t</div>
\t\t\t\t<div class=\"dflex jcc fwwrap search-button-display mt-24px\" id=\"search-buttons-container-hp\">
\t\t\t\t\t<div>
\t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Contractualisation-hp\" name=\"keyword\" value=\"Contractualisation\">
\t\t\t\t\t\t<label for=\"Contractualisation-hp\" class=\"fs18 fw600 cwhite lh28\">Contractualisation</label>
\t\t\t\t\t</div>
\t\t\t\t\t<div>
\t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Gouvernance-hp\" name=\"keyword\" value=\"Gouvernance\">
\t\t\t\t\t\t<label for=\"Gouvernance-hp\" class=\"fs18 fw600 cwhite lh28\">Gouvernance</label>
\t\t\t\t\t</div>
\t\t\t\t\t<div>
\t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Experimentation-hp\" name=\"keyword\" value=\"Experimentation\">
\t\t\t\t\t\t<label for=\"Experimentation-hp\" class=\"fs18 fw600 cwhite lh28\">Expérimentation</label>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"break\"></div>
\t\t\t\t\t<div>
\t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Cooperation-hp\" name=\"keyword\" value=\"Cooperation\">
\t\t\t\t\t\t<label for=\"Cooperation-hp\" class=\"fs18 fw600 cwhite lh28\">Coopération</label>
\t\t\t\t\t</div>
\t\t\t\t\t<div>
\t\t\t\t\t\t<input class=\"check_search\" type=\"radio\" id=\"Evaluation-hp\" name=\"keyword\" value=\"Evaluation\">
\t\t\t\t\t\t<label for=\"Evaluation-hp\" class=\"fs18 fw600 cwhite lh28\">Évaluation</label>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</form>
\t\t</div>
\t\t{% if content.header_img is defined and content.header_img is not empty %}
\t\t\t<div class=\"background-color-blue\"></div>
\t\t{% endif %}
\t</div>
\t<div class=\"main-container w100 plr-1em\">
\t\t<div class=\"content\">
\t\t\t<div class=\"blocks w100\">
\t\t\t\t<section class=\"alaune mt-40px\">
\t\t\t\t\t<h2 class=\"fs60 lh60 fw700 center\">À la une</h2>
\t\t\t\t\t{% include \"homepage-articles/alaune.html.twig\" with {thematiques: thematiquesArray} %}
\t\t\t\t</section>
\t\t\t\t<section class=\"evenementsavenir mt-80px mb-40px pb-100px prelative\">
\t\t\t\t\t<h2 class=\"fs60 lh60 fw700 center mb-40px\">Évènements à venir</h2>
\t\t\t\t\t{% include \"homepage-articles/evenementsavenir.html.twig\" %}
\t\t\t\t</section>
\t\t\t\t<section class=\"presentation\">
\t\t\t\t\t{% for block in content.main_content %}
\t\t\t\t\t\t{% if block.type == 'category_presentation' %}
\t\t\t\t\t\t\t{% include \"homepage-articles/presentation-category.html.twig\" %}
\t\t\t\t\t\t{% elseif block.type == 'partenaires_financiers' %}
\t\t\t\t\t\t\t{% include \"homepage-articles/partenaires.html.twig\" %}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t{% endfor %}
\t\t\t\t</section>
\t\t\t</div>
\t\t</div>
\t</div>
{% endblock %}
{% block javascripts %}
\t{{ parent() }}
\t{{ encore_entry_script_tags('splide') }}
\t{{ encore_entry_script_tags('onboard_tour') }}
{% endblock %}
", "pages/homepage.html.twig", "/var/www/html/templates/pages/homepage.html.twig");
}
}