var/cache/dev/twig/6e/6e3e5707a225b6ff53cae629c923579e.php line 74

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\MacroNamespace;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Sandbox\SecurityNotAllowedTestError;
  14. use Twig\Source;
  15. use Twig\Template;
  16. use Twig\TemplateWrapper;
  17. /* Front/Pages/home/home.html.twig */
  18. class __TwigTemplate_eaffdd29c6d9f7e83d40d6fb8e272cef extends Template
  19. {
  20. private Source $source;
  21. /**
  22. * @var array<string, MacroNamespace>
  23. */
  24. private array $macros = [];
  25. private \Twig\Runtime\EscaperRuntime $escaper;
  26. public function __construct(Environment $env)
  27. {
  28. parent::__construct($env);
  29. $this->source = $this->getSourceContext();
  30. $this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
  31. $this->blocks = [
  32. 'header' => [$this, 'block_header'],
  33. 'body_markup' => [$this, 'block_body_markup'],
  34. 'inner_content_container' => [$this, 'block_inner_content_container'],
  35. 'inner_content' => [$this, 'block_inner_content'],
  36. ];
  37. }
  38. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  39. {
  40. // line 1
  41. return $this->parent ??= $this->load("base.html.twig", 1);
  42. }
  43. protected function doDisplay(array $context, array $blocks = []): iterable
  44. {
  45. $macros = $this->macros;
  46. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Pages/home/home.html.twig"));
  48. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Pages/home/home.html.twig"));
  50. $this->parent = $this->load("base.html.twig", 1);
  51. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  52. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54. }
  55. // line 3
  56. /**
  57. * @return iterable<null|scalar|\Stringable>
  58. */
  59. public function block_header(array $context, array $blocks = []): iterable
  60. {
  61. $macros = $this->macros;
  62. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
  64. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
  66. // line 4
  67. yield " <div class=\"header-landing-wrapper\">
  68. ";
  69. // line 5
  70. yield from $this->load("Partial/Base/header.html.twig", 5)->unwrap()->yield($context);
  71. // line 6
  72. yield " <section class=\"header-background-container\">
  73. <div class=\"background\">
  74. <div class=\"background-file-container\">
  75. <div class=\"img-container\">
  76. <div class=\"circle-container\">
  77. <div class=\"circle\"></div>
  78. </div>
  79. <img class=\"img-profile\" src=\"";
  80. // line 14
  81. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/common/landing-page-img.png", "common"), "html", null, true);
  82. yield "\">
  83. </div>
  84. <div class=\"infos-user\">
  85. <div>
  86. <h1 class=\"d-flex flex-column align-items-center d-md-block\">Trouvez ce qui <strong>vous correspond</strong></h1>
  87. <p class=\"d-flex justify-content-center d-md-block\">Je suis...</p>
  88. <div class=\"choice-user-button\">
  89. <a href=\"";
  90. // line 21
  91. 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);
  92. yield "\" class=\"home-button home-button-hover\">
  93. Un organisme
  94. </a>
  95. ";
  96. // line 24
  97. if ((($tmp = $this->env->getRuntime('Nellapp\Bundle\SDKBundle\Routing\Twig\Runtime\UrlGeneratorRuntime')->exist("core", "app_login")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  98. // line 25
  99. yield " <a href=\"";
  100. yield (string) $this->escaper->escape($this->env->getRuntime('Nellapp\Bundle\SDKBundle\Routing\Twig\Runtime\UrlGeneratorRuntime')->generate("core", "app_login"), "html", null, true);
  101. yield "\" class=\"home-button home-button-hover\">
  102. Un apprenant
  103. </a>
  104. ";
  105. }
  106. // line 29
  107. yield " </div>
  108. </div>
  109. </div>
  110. <div class=\"scroll-action\">
  111. <a href=\"#main\" class=\"btn arrow-down-btn\">
  112. <i class=\"fas fa-arrow-down\"></i>
  113. </a>
  114. </div>
  115. </div>
  116. </div>
  117. </section>
  118. </div>
  119. ";
  120. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  121. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  122. return; yield;
  123. }
  124. // line 43
  125. /**
  126. * @return iterable<null|scalar|\Stringable>
  127. */
  128. public function block_body_markup(array $context, array $blocks = []): iterable
  129. {
  130. $macros = $this->macros;
  131. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  132. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_markup"));
  133. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  134. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_markup"));
  135. // line 44
  136. yield " <body class=\"home-template\">
  137. ";
  138. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  139. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  140. return; yield;
  141. }
  142. // line 47
  143. /**
  144. * @return iterable<null|scalar|\Stringable>
  145. */
  146. public function block_inner_content_container(array $context, array $blocks = []): iterable
  147. {
  148. $macros = $this->macros;
  149. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  150. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inner_content_container"));
  151. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  152. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inner_content_container"));
  153. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  154. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  155. return; yield;
  156. }
  157. // line 49
  158. /**
  159. * @return iterable<null|scalar|\Stringable>
  160. */
  161. public function block_inner_content(array $context, array $blocks = []): iterable
  162. {
  163. $macros = $this->macros;
  164. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  165. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inner_content"));
  166. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  167. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "inner_content"));
  168. // line 50
  169. yield " <section class=\"section_filters\">
  170. <div class=\"container\">
  171. <div class=\"row\">
  172. <div class=\"col-12\">
  173. <h2 class=\"v2-title-mid text-center text-sm-left mb-5\">
  174. ";
  175. // line 55
  176. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.home.section_filters.title");
  177. yield "
  178. </h2>
  179. ";
  180. // line 57
  181. yield from $this->load("Front/Pages/partials/_home_filters.html.twig", 57)->unwrap()->yield(CoreExtension::merge($context, ["form" => // line 58
  182. (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); })())]));
  183. // line 60
  184. yield " </div>
  185. </div>
  186. </div>
  187. <div class=\"snake-container\"></div>
  188. </section>
  189. <section class=\"container\">
  190. <div class=\"row home_section\">
  191. <div class=\"col-12\">
  192. <div class=\"scrollable-bar-hidden\">
  193. ";
  194. // line 70
  195. $context['_parent'] = $context;
  196. $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); })()));
  197. foreach ($context['_seq'] as $context["_key"] => $context["training"]) {
  198. // line 71
  199. yield " ";
  200. yield (string) $this->extensions['Symfony\UX\TwigComponent\Twig\ComponentExtension']->render("TrainingCard", ["training" => $context["training"]]);
  201. yield "
  202. ";
  203. }
  204. $_parent = $context['_parent'];
  205. unset($context['_seq'], $context['_key'], $context['training'], $context['_parent']);
  206. $context = array_intersect_key($context, $_parent);
  207. $context += $_parent;
  208. // line 73
  209. yield " </div>
  210. </div>
  211. </div>
  212. <div class=\"row home_section\">
  213. <div class=\"col-12 col-lg-6 d-flex flex-column justify-content-between align-items-center mb-5 mb-lg-0\">
  214. <h2 class=\"v2-title-big text-center\">";
  215. // line 79
  216. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.home.section_intro.title"), "html", null, true);
  217. yield "</h2>
  218. <p class=\"text-justify\">";
  219. // line 80
  220. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.home.section_intro.text"), "html", null, true);
  221. yield "</p>
  222. <div class=\"text-center\">
  223. <a href=\"";
  224. // line 82
  225. 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);
  226. yield "\" class=\"mx-auto mt-3 btn-nellapp-v2\">";
  227. yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.home.section_intro.contact"), "html", null, true);
  228. yield "</a>
  229. </div>
  230. </div>
  231. <div class=\"col-12 col-lg-6\">
  232. ";
  233. // line 86
  234. $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"]));
  235. if (null !== $preRendered) {
  236. echo $preRendered;
  237. } else {
  238. $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);
  239. $embeddedContext = $preRenderEvent->getVariables();
  240. $embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
  241. if (!isset($embeddedContext["outerBlocks"])) {
  242. $embeddedContext["outerBlocks"] = new \Symfony\UX\TwigComponent\BlockStack();
  243. }
  244. $embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 15707060511);
  245. $this->loadTemplate("Front/Pages/home/home.html.twig", "Front/Pages/home/home.html.twig", 86, "15707060511")->display($embeddedContext, $embeddedBlocks);
  246. $this->extensions["Symfony\\UX\\TwigComponent\\Twig\\ComponentExtension"]->finishEmbeddedComponentRender();
  247. }
  248. // line 87
  249. yield " </div>
  250. </div>
  251. <div class=\"row stats_section margin-bottom-big\">
  252. <div class=\"col-12\">
  253. <dl class=\"stats_list\">
  254. <div>
  255. <dd>
  256. ";
  257. // line 95
  258. 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);
  259. yield "
  260. </dd>
  261. <dt>
  262. formations
  263. </dt>
  264. </div>
  265. <div>
  266. <dd>
  267. ";
  268. // line 104
  269. 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);
  270. yield "
  271. </dd>
  272. <dt>
  273. cours
  274. </dt>
  275. </div>
  276. <div>
  277. <dd>
  278. ";
  279. // line 113
  280. 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);
  281. yield "
  282. </dd>
  283. <dt>
  284. apprenants
  285. </dt>
  286. </div>
  287. <div>
  288. <dd>
  289. ";
  290. // line 122
  291. 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);
  292. yield "
  293. </dd>
  294. <dt>
  295. organismes
  296. </dt>
  297. </div>
  298. </dl>
  299. </div>
  300. </div>
  301. </section>
  302. ";
  303. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  304. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  305. return; yield;
  306. }
  307. /**
  308. * @codeCoverageIgnore
  309. */
  310. public function getTemplateName(): string
  311. {
  312. return "Front/Pages/home/home.html.twig";
  313. }
  314. /**
  315. * @codeCoverageIgnore
  316. */
  317. public function isTraitable(): bool
  318. {
  319. return false;
  320. }
  321. /**
  322. * @codeCoverageIgnore
  323. */
  324. public function getDefaultEscapeStrategy(): string|false
  325. {
  326. return "html";
  327. }
  328. /**
  329. * @codeCoverageIgnore
  330. */
  331. public function getDebugInfo(): array
  332. {
  333. 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,);
  334. }
  335. public function getSourceContext(): Source
  336. {
  337. return new Source("{% extends \x27base.html.twig\x27 %}
  338. {% block header %}
  339. <div class=\"header-landing-wrapper\">
  340. {% include \x27Partial/Base/header.html.twig\x27 %}
  341. <section class=\"header-background-container\">
  342. <div class=\"background\">
  343. <div class=\"background-file-container\">
  344. <div class=\"img-container\">
  345. <div class=\"circle-container\">
  346. <div class=\"circle\"></div>
  347. </div>
  348. <img class=\"img-profile\" src=\"{{ asset(\x27build/common/landing-page-img.png\x27, \x27common\x27) }}\">
  349. </div>
  350. <div class=\"infos-user\">
  351. <div>
  352. <h1 class=\"d-flex flex-column align-items-center d-md-block\">Trouvez ce qui <strong>vous correspond</strong></h1>
  353. <p class=\"d-flex justify-content-center d-md-block\">Je suis...</p>
  354. <div class=\"choice-user-button\">
  355. <a href=\"{{ nellapp_wordpress_url }}\" class=\"home-button home-button-hover\">
  356. Un organisme
  357. </a>
  358. {% if nellapp_url_exist(\x27core\x27, \x27app_login\x27) %}
  359. <a href=\"{{- nellapp_url(\x27core\x27, \x27app_login\x27) -}}\" class=\"home-button home-button-hover\">
  360. Un apprenant
  361. </a>
  362. {% endif %}
  363. </div>
  364. </div>
  365. </div>
  366. <div class=\"scroll-action\">
  367. <a href=\"#main\" class=\"btn arrow-down-btn\">
  368. <i class=\"fas fa-arrow-down\"></i>
  369. </a>
  370. </div>
  371. </div>
  372. </div>
  373. </section>
  374. </div>
  375. {% endblock %}
  376. {% block body_markup %}
  377. <body class=\"home-template\">
  378. {% endblock body_markup %}
  379. {% block inner_content_container %}{% endblock inner_content_container %}
  380. {% block inner_content %}
  381. <section class=\"section_filters\">
  382. <div class=\"container\">
  383. <div class=\"row\">
  384. <div class=\"col-12\">
  385. <h2 class=\"v2-title-mid text-center text-sm-left mb-5\">
  386. {{ \x27front.home.section_filters.title\x27 | trans | raw }}
  387. </h2>
  388. {% include \x27Front/Pages/partials/_home_filters.html.twig\x27 with {
  389. \x27form\x27: home_filters
  390. } %}
  391. </div>
  392. </div>
  393. </div>
  394. <div class=\"snake-container\"></div>
  395. </section>
  396. <section class=\"container\">
  397. <div class=\"row home_section\">
  398. <div class=\"col-12\">
  399. <div class=\"scrollable-bar-hidden\">
  400. {% for training in popular_trainings %}
  401. {{ component(\x27TrainingCard\x27, { training: training }) }}
  402. {% endfor %}
  403. </div>
  404. </div>
  405. </div>
  406. <div class=\"row home_section\">
  407. <div class=\"col-12 col-lg-6 d-flex flex-column justify-content-between align-items-center mb-5 mb-lg-0\">
  408. <h2 class=\"v2-title-big text-center\">{{ \x27front.home.section_intro.title\x27 | trans }}</h2>
  409. <p class=\"text-justify\">{{ \x27front.home.section_intro.text\x27 | trans }}</p>
  410. <div class=\"text-center\">
  411. <a href=\"{{ nellapp_wordpress_url }}\" class=\"mx-auto mt-3 btn-nellapp-v2\">{{ \x27front.home.section_intro.contact\x27 | trans }}</a>
  412. </div>
  413. </div>
  414. <div class=\"col-12 col-lg-6\">
  415. {% component \x27NellappVideoPlayer\x27 with { videoSrc: \x27https://www.youtube.com/watch?v=olwK-bO-1co\x27, alt: \x27Présentation de Nellapp\x27 } %}{% endcomponent %}
  416. </div>
  417. </div>
  418. <div class=\"row stats_section margin-bottom-big\">
  419. <div class=\"col-12\">
  420. <dl class=\"stats_list\">
  421. <div>
  422. <dd>
  423. {{ global_stats.countTotalTrainings | number_format(null, null, \x27 \x27) }}
  424. </dd>
  425. <dt>
  426. formations
  427. </dt>
  428. </div>
  429. <div>
  430. <dd>
  431. {{ global_stats.countTotalLessons | number_format(null, null, \x27 \x27) }}
  432. </dd>
  433. <dt>
  434. cours
  435. </dt>
  436. </div>
  437. <div>
  438. <dd>
  439. {{ global_stats.countTotalLearners | number_format(null, null, \x27 \x27) }}
  440. </dd>
  441. <dt>
  442. apprenants
  443. </dt>
  444. </div>
  445. <div>
  446. <dd>
  447. {{ global_stats.countTotalChannels | number_format(null, null, \x27 \x27) }}
  448. </dd>
  449. <dt>
  450. organismes
  451. </dt>
  452. </div>
  453. </dl>
  454. </div>
  455. </div>
  456. </section>
  457. {% endblock inner_content %}
  458. ", "Front/Pages/home/home.html.twig", "/var/www/html/templates/Front/Pages/home/home.html.twig");
  459. }
  460. }
  461. /* Front/Pages/home/home.html.twig */
  462. class __TwigTemplate_eaffdd29c6d9f7e83d40d6fb8e272cef___15707060511 extends Template
  463. {
  464. private Source $source;
  465. /**
  466. * @var array<string, MacroNamespace>
  467. */
  468. private array $macros = [];
  469. public function __construct(Environment $env)
  470. {
  471. parent::__construct($env);
  472. $this->source = $this->getSourceContext();
  473. $this->blocks = [
  474. 'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
  475. ];
  476. }
  477. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  478. {
  479. // line 86
  480. 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);
  481. }
  482. protected function doDisplay(array $context, array $blocks = []): iterable
  483. {
  484. $macros = $this->macros;
  485. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  486. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Pages/home/home.html.twig"));
  487. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  488. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Pages/home/home.html.twig"));
  489. yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  490. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  491. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  492. }
  493. /**
  494. * @return iterable<null|scalar|\Stringable>
  495. */
  496. public function block_outer__block_fallback(array $context, array $blocks = []): iterable
  497. {
  498. $macros = $this->macros;
  499. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  500. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
  501. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  502. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
  503. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  504. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  505. return; yield;
  506. }
  507. /**
  508. * @codeCoverageIgnore
  509. */
  510. public function getTemplateName(): string
  511. {
  512. return "Front/Pages/home/home.html.twig";
  513. }
  514. /**
  515. * @codeCoverageIgnore
  516. */
  517. public function isTraitable(): bool
  518. {
  519. return false;
  520. }
  521. /**
  522. * @codeCoverageIgnore
  523. */
  524. public function getDefaultEscapeStrategy(): string|false
  525. {
  526. return "html";
  527. }
  528. /**
  529. * @codeCoverageIgnore
  530. */
  531. public function getDebugInfo(): array
  532. {
  533. 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,);
  534. }
  535. public function getSourceContext(): Source
  536. {
  537. return new Source("{% extends \x27base.html.twig\x27 %}
  538. {% block header %}
  539. <div class=\"header-landing-wrapper\">
  540. {% include \x27Partial/Base/header.html.twig\x27 %}
  541. <section class=\"header-background-container\">
  542. <div class=\"background\">
  543. <div class=\"background-file-container\">
  544. <div class=\"img-container\">
  545. <div class=\"circle-container\">
  546. <div class=\"circle\"></div>
  547. </div>
  548. <img class=\"img-profile\" src=\"{{ asset(\x27build/common/landing-page-img.png\x27, \x27common\x27) }}\">
  549. </div>
  550. <div class=\"infos-user\">
  551. <div>
  552. <h1 class=\"d-flex flex-column align-items-center d-md-block\">Trouvez ce qui <strong>vous correspond</strong></h1>
  553. <p class=\"d-flex justify-content-center d-md-block\">Je suis...</p>
  554. <div class=\"choice-user-button\">
  555. <a href=\"{{ nellapp_wordpress_url }}\" class=\"home-button home-button-hover\">
  556. Un organisme
  557. </a>
  558. {% if nellapp_url_exist(\x27core\x27, \x27app_login\x27) %}
  559. <a href=\"{{- nellapp_url(\x27core\x27, \x27app_login\x27) -}}\" class=\"home-button home-button-hover\">
  560. Un apprenant
  561. </a>
  562. {% endif %}
  563. </div>
  564. </div>
  565. </div>
  566. <div class=\"scroll-action\">
  567. <a href=\"#main\" class=\"btn arrow-down-btn\">
  568. <i class=\"fas fa-arrow-down\"></i>
  569. </a>
  570. </div>
  571. </div>
  572. </div>
  573. </section>
  574. </div>
  575. {% endblock %}
  576. {% block body_markup %}
  577. <body class=\"home-template\">
  578. {% endblock body_markup %}
  579. {% block inner_content_container %}{% endblock inner_content_container %}
  580. {% block inner_content %}
  581. <section class=\"section_filters\">
  582. <div class=\"container\">
  583. <div class=\"row\">
  584. <div class=\"col-12\">
  585. <h2 class=\"v2-title-mid text-center text-sm-left mb-5\">
  586. {{ \x27front.home.section_filters.title\x27 | trans | raw }}
  587. </h2>
  588. {% include \x27Front/Pages/partials/_home_filters.html.twig\x27 with {
  589. \x27form\x27: home_filters
  590. } %}
  591. </div>
  592. </div>
  593. </div>
  594. <div class=\"snake-container\"></div>
  595. </section>
  596. <section class=\"container\">
  597. <div class=\"row home_section\">
  598. <div class=\"col-12\">
  599. <div class=\"scrollable-bar-hidden\">
  600. {% for training in popular_trainings %}
  601. {{ component(\x27TrainingCard\x27, { training: training }) }}
  602. {% endfor %}
  603. </div>
  604. </div>
  605. </div>
  606. <div class=\"row home_section\">
  607. <div class=\"col-12 col-lg-6 d-flex flex-column justify-content-between align-items-center mb-5 mb-lg-0\">
  608. <h2 class=\"v2-title-big text-center\">{{ \x27front.home.section_intro.title\x27 | trans }}</h2>
  609. <p class=\"text-justify\">{{ \x27front.home.section_intro.text\x27 | trans }}</p>
  610. <div class=\"text-center\">
  611. <a href=\"{{ nellapp_wordpress_url }}\" class=\"mx-auto mt-3 btn-nellapp-v2\">{{ \x27front.home.section_intro.contact\x27 | trans }}</a>
  612. </div>
  613. </div>
  614. <div class=\"col-12 col-lg-6\">
  615. {% component \x27NellappVideoPlayer\x27 with { videoSrc: \x27https://www.youtube.com/watch?v=olwK-bO-1co\x27, alt: \x27Présentation de Nellapp\x27 } %}{% endcomponent %}
  616. </div>
  617. </div>
  618. <div class=\"row stats_section margin-bottom-big\">
  619. <div class=\"col-12\">
  620. <dl class=\"stats_list\">
  621. <div>
  622. <dd>
  623. {{ global_stats.countTotalTrainings | number_format(null, null, \x27 \x27) }}
  624. </dd>
  625. <dt>
  626. formations
  627. </dt>
  628. </div>
  629. <div>
  630. <dd>
  631. {{ global_stats.countTotalLessons | number_format(null, null, \x27 \x27) }}
  632. </dd>
  633. <dt>
  634. cours
  635. </dt>
  636. </div>
  637. <div>
  638. <dd>
  639. {{ global_stats.countTotalLearners | number_format(null, null, \x27 \x27) }}
  640. </dd>
  641. <dt>
  642. apprenants
  643. </dt>
  644. </div>
  645. <div>
  646. <dd>
  647. {{ global_stats.countTotalChannels | number_format(null, null, \x27 \x27) }}
  648. </dd>
  649. <dt>
  650. organismes
  651. </dt>
  652. </div>
  653. </dl>
  654. </div>
  655. </div>
  656. </section>
  657. {% endblock inner_content %}
  658. ", "Front/Pages/home/home.html.twig", "/var/www/html/templates/Front/Pages/home/home.html.twig");
  659. }
  660. }