<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\MacroNamespace;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Sandbox\SecurityNotAllowedTestError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* Front/Pages/home/home.html.twig */
class __TwigTemplate_eaffdd29c6d9f7e83d40d6fb8e272cef extends Template
{
private Source $source;
/**
* @var array<string, MacroNamespace>
*/
private array $macros = [];
private \Twig\Runtime\EscaperRuntime $escaper;
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
$this->blocks = [
'header' => [$this, 'block_header'],
'body_markup' => [$this, 'block_body_markup'],
'inner_content_container' => [$this, 'block_inner_content_container'],
'inner_content' => [$this, 'block_inner_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return $this->parent ??= $this->load("base.html.twig", 1);
}
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", "Front/Pages/home/home.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Pages/home/home.html.twig"));
$this->parent = $this->load("base.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_header(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", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 4
yield " <div class=\"header-landing-wrapper\">
";
// line 5
yield from $this->load("Partial/Base/header.html.twig", 5)->unwrap()->yield($context);
// line 6
yield " <section class=\"header-background-container\">
<div class=\"background\">
<div class=\"background-file-container\">
<div class=\"img-container\">
<div class=\"circle-container\">
<div class=\"circle\"></div>
</div>
<img class=\"img-profile\" src=\"";
// line 14
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/common/landing-page-img.png", "common"), "html", null, true);
yield "\">
</div>
<div class=\"infos-user\">
<div>
<h1 class=\"d-flex flex-column align-items-center d-md-block\">Trouvez ce qui <strong>vous correspond</strong></h1>
<p class=\"d-flex justify-content-center d-md-block\">Je suis...</p>
<div class=\"choice-user-button\">
<a href=\"";
// line 21
yield (string) $this->escaper->escape((isset($context["nellapp_wordpress_url"]) || array_key_exists("nellapp_wordpress_url", $context) ? $context["nellapp_wordpress_url"] : (function () { throw new RuntimeError('Variable "nellapp_wordpress_url" does not exist.', 21, $this->source); })()), "html", null, true);
yield "\" class=\"home-button home-button-hover\">
Un organisme
</a>
";
// line 24
if ((($tmp = $this->env->getRuntime('Nellapp\Bundle\SDKBundle\Routing\Twig\Runtime\UrlGeneratorRuntime')->exist("core", "app_login")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 25
yield " <a href=\"";
yield (string) $this->escaper->escape($this->env->getRuntime('Nellapp\Bundle\SDKBundle\Routing\Twig\Runtime\UrlGeneratorRuntime')->generate("core", "app_login"), "html", null, true);
yield "\" class=\"home-button home-button-hover\">
Un apprenant
</a>
";
}
// line 29
yield " </div>
</div>
</div>
<div class=\"scroll-action\">
<a href=\"#main\" class=\"btn arrow-down-btn\">
<i class=\"fas fa-arrow-down\"></i>
</a>
</div>
</div>
</div>
</section>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
// line 43
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body_markup(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", "body_markup"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_markup"));
// line 44
yield " <body class=\"home-template\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
// line 47
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_inner_content_container(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", "inner_content_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inner_content_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
// line 49
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_inner_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", "inner_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inner_content"));
// line 50
yield " <section class=\"section_filters\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<h2 class=\"v2-title-mid text-center text-sm-left mb-5\">
";
// line 55
yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.home.section_filters.title");
yield "
</h2>
";
// line 57
yield from $this->load("Front/Pages/partials/_home_filters.html.twig", 57)->unwrap()->yield(CoreExtension::merge($context, ["form" => // line 58
(isset($context["home_filters"]) || array_key_exists("home_filters", $context) ? $context["home_filters"] : (function () { throw new RuntimeError('Variable "home_filters" does not exist.', 58, $this->source); })())]));
// line 60
yield " </div>
</div>
</div>
<div class=\"snake-container\"></div>
</section>
<section class=\"container\">
<div class=\"row home_section\">
<div class=\"col-12\">
<div class=\"scrollable-bar-hidden\">
";
// line 70
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["popular_trainings"]) || array_key_exists("popular_trainings", $context) ? $context["popular_trainings"] : (function () { throw new RuntimeError('Variable "popular_trainings" does not exist.', 70, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["training"]) {
// line 71
yield " ";
yield (string) $this->extensions['Symfony\UX\TwigComponent\Twig\ComponentExtension']->render("TrainingCard", ["training" => $context["training"]]);
yield "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['training'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 73
yield " </div>
</div>
</div>
<div class=\"row home_section\">
<div class=\"col-12 col-lg-6 d-flex flex-column justify-content-between align-items-center mb-5 mb-lg-0\">
<h2 class=\"v2-title-big text-center\">";
// line 79
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.home.section_intro.title"), "html", null, true);
yield "</h2>
<p class=\"text-justify\">";
// line 80
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.home.section_intro.text"), "html", null, true);
yield "</p>
<div class=\"text-center\">
<a href=\"";
// line 82
yield (string) $this->escaper->escape((isset($context["nellapp_wordpress_url"]) || array_key_exists("nellapp_wordpress_url", $context) ? $context["nellapp_wordpress_url"] : (function () { throw new RuntimeError('Variable "nellapp_wordpress_url" does not exist.', 82, $this->source); })()), "html", null, true);
yield "\" class=\"mx-auto mt-3 btn-nellapp-v2\">";
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.home.section_intro.contact"), "html", null, true);
yield "</a>
</div>
</div>
<div class=\"col-12 col-lg-6\">
";
// line 86
$preRendered = $this->extensions["Symfony\\UX\\TwigComponent\\Twig\\ComponentExtension"]->extensionPreCreateForRender("NellappVideoPlayer", Twig\Extension\CoreExtension::toArray(["videoSrc" => "https://www.youtube.com/watch?v=olwK-bO-1co", "alt" => "Présentation de Nellapp"]));
if (null !== $preRendered) {
echo $preRendered;
} else {
$preRenderEvent = $this->extensions["Symfony\\UX\\TwigComponent\\Twig\\ComponentExtension"]->startEmbeddedComponentRender("NellappVideoPlayer", Twig\Extension\CoreExtension::toArray(["videoSrc" => "https://www.youtube.com/watch?v=olwK-bO-1co", "alt" => "Présentation de Nellapp"]), $context, "Front/Pages/home/home.html.twig", 15707060511);
$embeddedContext = $preRenderEvent->getVariables();
$embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
if (!isset($embeddedContext["outerBlocks"])) {
$embeddedContext["outerBlocks"] = new \Symfony\UX\TwigComponent\BlockStack();
}
$embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 15707060511);
$this->loadTemplate("Front/Pages/home/home.html.twig", "Front/Pages/home/home.html.twig", 86, "15707060511")->display($embeddedContext, $embeddedBlocks);
$this->extensions["Symfony\\UX\\TwigComponent\\Twig\\ComponentExtension"]->finishEmbeddedComponentRender();
}
// line 87
yield " </div>
</div>
<div class=\"row stats_section margin-bottom-big\">
<div class=\"col-12\">
<dl class=\"stats_list\">
<div>
<dd>
";
// line 95
yield (string) $this->escaper->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_stats"]) || array_key_exists("global_stats", $context) ? $context["global_stats"] : (function () { throw new RuntimeError('Variable "global_stats" does not exist.', 95, $this->source); })()), "countTotalTrainings", [], "any", false, false, false, 95), null, null, " "), "html", null, true);
yield "
</dd>
<dt>
formations
</dt>
</div>
<div>
<dd>
";
// line 104
yield (string) $this->escaper->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_stats"]) || array_key_exists("global_stats", $context) ? $context["global_stats"] : (function () { throw new RuntimeError('Variable "global_stats" does not exist.', 104, $this->source); })()), "countTotalLessons", [], "any", false, false, false, 104), null, null, " "), "html", null, true);
yield "
</dd>
<dt>
cours
</dt>
</div>
<div>
<dd>
";
// line 113
yield (string) $this->escaper->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_stats"]) || array_key_exists("global_stats", $context) ? $context["global_stats"] : (function () { throw new RuntimeError('Variable "global_stats" does not exist.', 113, $this->source); })()), "countTotalLearners", [], "any", false, false, false, 113), null, null, " "), "html", null, true);
yield "
</dd>
<dt>
apprenants
</dt>
</div>
<div>
<dd>
";
// line 122
yield (string) $this->escaper->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env, $this->source, (isset($context["global_stats"]) || array_key_exists("global_stats", $context) ? $context["global_stats"] : (function () { throw new RuntimeError('Variable "global_stats" does not exist.', 122, $this->source); })()), "countTotalChannels", [], "any", false, false, false, 122), null, null, " "), "html", null, true);
yield "
</dd>
<dt>
organismes
</dt>
</div>
</dl>
</div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Front/Pages/home/home.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDefaultEscapeStrategy(): string|false
{
return "html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 336 => 122, 324 => 113, 312 => 104, 300 => 95, 290 => 87, 275 => 86, 266 => 82, 261 => 80, 257 => 79, 249 => 73, 239 => 71, 235 => 70, 223 => 60, 221 => 58, 220 => 57, 215 => 55, 208 => 50, 195 => 49, 173 => 47, 161 => 44, 148 => 43, 125 => 29, 117 => 25, 115 => 24, 109 => 21, 99 => 14, 89 => 6, 87 => 5, 84 => 4, 71 => 3, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \x27base.html.twig\x27 %}
{% block header %}
<div class=\"header-landing-wrapper\">
{% include \x27Partial/Base/header.html.twig\x27 %}
<section class=\"header-background-container\">
<div class=\"background\">
<div class=\"background-file-container\">
<div class=\"img-container\">
<div class=\"circle-container\">
<div class=\"circle\"></div>
</div>
<img class=\"img-profile\" src=\"{{ asset(\x27build/common/landing-page-img.png\x27, \x27common\x27) }}\">
</div>
<div class=\"infos-user\">
<div>
<h1 class=\"d-flex flex-column align-items-center d-md-block\">Trouvez ce qui <strong>vous correspond</strong></h1>
<p class=\"d-flex justify-content-center d-md-block\">Je suis...</p>
<div class=\"choice-user-button\">
<a href=\"{{ nellapp_wordpress_url }}\" class=\"home-button home-button-hover\">
Un organisme
</a>
{% if nellapp_url_exist(\x27core\x27, \x27app_login\x27) %}
<a href=\"{{- nellapp_url(\x27core\x27, \x27app_login\x27) -}}\" class=\"home-button home-button-hover\">
Un apprenant
</a>
{% endif %}
</div>
</div>
</div>
<div class=\"scroll-action\">
<a href=\"#main\" class=\"btn arrow-down-btn\">
<i class=\"fas fa-arrow-down\"></i>
</a>
</div>
</div>
</div>
</section>
</div>
{% endblock %}
{% block body_markup %}
<body class=\"home-template\">
{% endblock body_markup %}
{% block inner_content_container %}{% endblock inner_content_container %}
{% block inner_content %}
<section class=\"section_filters\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<h2 class=\"v2-title-mid text-center text-sm-left mb-5\">
{{ \x27front.home.section_filters.title\x27 | trans | raw }}
</h2>
{% include \x27Front/Pages/partials/_home_filters.html.twig\x27 with {
\x27form\x27: home_filters
} %}
</div>
</div>
</div>
<div class=\"snake-container\"></div>
</section>
<section class=\"container\">
<div class=\"row home_section\">
<div class=\"col-12\">
<div class=\"scrollable-bar-hidden\">
{% for training in popular_trainings %}
{{ component(\x27TrainingCard\x27, { training: training }) }}
{% endfor %}
</div>
</div>
</div>
<div class=\"row home_section\">
<div class=\"col-12 col-lg-6 d-flex flex-column justify-content-between align-items-center mb-5 mb-lg-0\">
<h2 class=\"v2-title-big text-center\">{{ \x27front.home.section_intro.title\x27 | trans }}</h2>
<p class=\"text-justify\">{{ \x27front.home.section_intro.text\x27 | trans }}</p>
<div class=\"text-center\">
<a href=\"{{ nellapp_wordpress_url }}\" class=\"mx-auto mt-3 btn-nellapp-v2\">{{ \x27front.home.section_intro.contact\x27 | trans }}</a>
</div>
</div>
<div class=\"col-12 col-lg-6\">
{% component \x27NellappVideoPlayer\x27 with { videoSrc: \x27https://www.youtube.com/watch?v=olwK-bO-1co\x27, alt: \x27Présentation de Nellapp\x27 } %}{% endcomponent %}
</div>
</div>
<div class=\"row stats_section margin-bottom-big\">
<div class=\"col-12\">
<dl class=\"stats_list\">
<div>
<dd>
{{ global_stats.countTotalTrainings | number_format(null, null, \x27 \x27) }}
</dd>
<dt>
formations
</dt>
</div>
<div>
<dd>
{{ global_stats.countTotalLessons | number_format(null, null, \x27 \x27) }}
</dd>
<dt>
cours
</dt>
</div>
<div>
<dd>
{{ global_stats.countTotalLearners | number_format(null, null, \x27 \x27) }}
</dd>
<dt>
apprenants
</dt>
</div>
<div>
<dd>
{{ global_stats.countTotalChannels | number_format(null, null, \x27 \x27) }}
</dd>
<dt>
organismes
</dt>
</div>
</dl>
</div>
</div>
</section>
{% endblock inner_content %}
", "Front/Pages/home/home.html.twig", "/var/www/html/templates/Front/Pages/home/home.html.twig");
}
}
/* Front/Pages/home/home.html.twig */
class __TwigTemplate_eaffdd29c6d9f7e83d40d6fb8e272cef___15707060511 extends Template
{
private Source $source;
/**
* @var array<string, MacroNamespace>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 86
return $this->load((isset($context["__parent__"]) || array_key_exists("__parent__", $context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.', 86, $this->source); })()), 86);
}
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", "Front/Pages/home/home.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Pages/home/home.html.twig"));
yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_outer__block_fallback(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", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Front/Pages/home/home.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDefaultEscapeStrategy(): string|false
{
return "html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 551 => 86, 336 => 122, 324 => 113, 312 => 104, 300 => 95, 290 => 87, 275 => 86, 266 => 82, 261 => 80, 257 => 79, 249 => 73, 239 => 71, 235 => 70, 223 => 60, 221 => 58, 220 => 57, 215 => 55, 208 => 50, 195 => 49, 173 => 47, 161 => 44, 148 => 43, 125 => 29, 117 => 25, 115 => 24, 109 => 21, 99 => 14, 89 => 6, 87 => 5, 84 => 4, 71 => 3, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \x27base.html.twig\x27 %}
{% block header %}
<div class=\"header-landing-wrapper\">
{% include \x27Partial/Base/header.html.twig\x27 %}
<section class=\"header-background-container\">
<div class=\"background\">
<div class=\"background-file-container\">
<div class=\"img-container\">
<div class=\"circle-container\">
<div class=\"circle\"></div>
</div>
<img class=\"img-profile\" src=\"{{ asset(\x27build/common/landing-page-img.png\x27, \x27common\x27) }}\">
</div>
<div class=\"infos-user\">
<div>
<h1 class=\"d-flex flex-column align-items-center d-md-block\">Trouvez ce qui <strong>vous correspond</strong></h1>
<p class=\"d-flex justify-content-center d-md-block\">Je suis...</p>
<div class=\"choice-user-button\">
<a href=\"{{ nellapp_wordpress_url }}\" class=\"home-button home-button-hover\">
Un organisme
</a>
{% if nellapp_url_exist(\x27core\x27, \x27app_login\x27) %}
<a href=\"{{- nellapp_url(\x27core\x27, \x27app_login\x27) -}}\" class=\"home-button home-button-hover\">
Un apprenant
</a>
{% endif %}
</div>
</div>
</div>
<div class=\"scroll-action\">
<a href=\"#main\" class=\"btn arrow-down-btn\">
<i class=\"fas fa-arrow-down\"></i>
</a>
</div>
</div>
</div>
</section>
</div>
{% endblock %}
{% block body_markup %}
<body class=\"home-template\">
{% endblock body_markup %}
{% block inner_content_container %}{% endblock inner_content_container %}
{% block inner_content %}
<section class=\"section_filters\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
<h2 class=\"v2-title-mid text-center text-sm-left mb-5\">
{{ \x27front.home.section_filters.title\x27 | trans | raw }}
</h2>
{% include \x27Front/Pages/partials/_home_filters.html.twig\x27 with {
\x27form\x27: home_filters
} %}
</div>
</div>
</div>
<div class=\"snake-container\"></div>
</section>
<section class=\"container\">
<div class=\"row home_section\">
<div class=\"col-12\">
<div class=\"scrollable-bar-hidden\">
{% for training in popular_trainings %}
{{ component(\x27TrainingCard\x27, { training: training }) }}
{% endfor %}
</div>
</div>
</div>
<div class=\"row home_section\">
<div class=\"col-12 col-lg-6 d-flex flex-column justify-content-between align-items-center mb-5 mb-lg-0\">
<h2 class=\"v2-title-big text-center\">{{ \x27front.home.section_intro.title\x27 | trans }}</h2>
<p class=\"text-justify\">{{ \x27front.home.section_intro.text\x27 | trans }}</p>
<div class=\"text-center\">
<a href=\"{{ nellapp_wordpress_url }}\" class=\"mx-auto mt-3 btn-nellapp-v2\">{{ \x27front.home.section_intro.contact\x27 | trans }}</a>
</div>
</div>
<div class=\"col-12 col-lg-6\">
{% component \x27NellappVideoPlayer\x27 with { videoSrc: \x27https://www.youtube.com/watch?v=olwK-bO-1co\x27, alt: \x27Présentation de Nellapp\x27 } %}{% endcomponent %}
</div>
</div>
<div class=\"row stats_section margin-bottom-big\">
<div class=\"col-12\">
<dl class=\"stats_list\">
<div>
<dd>
{{ global_stats.countTotalTrainings | number_format(null, null, \x27 \x27) }}
</dd>
<dt>
formations
</dt>
</div>
<div>
<dd>
{{ global_stats.countTotalLessons | number_format(null, null, \x27 \x27) }}
</dd>
<dt>
cours
</dt>
</div>
<div>
<dd>
{{ global_stats.countTotalLearners | number_format(null, null, \x27 \x27) }}
</dd>
<dt>
apprenants
</dt>
</div>
<div>
<dd>
{{ global_stats.countTotalChannels | number_format(null, null, \x27 \x27) }}
</dd>
<dt>
organismes
</dt>
</div>
</dl>
</div>
</div>
</section>
{% endblock inner_content %}
", "Front/Pages/home/home.html.twig", "/var/www/html/templates/Front/Pages/home/home.html.twig");
}
}