<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* front/pages/page_category/index.html.twig */
class __TwigTemplate_64deeae9270102fbaecfde7e16541fef extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "front/layouts/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$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/page_category/index.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/page_category/index.html.twig"));
$this->parent = $this->loadTemplate("front/layouts/base.html.twig", "front/pages/page_category/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 4
echo "\t";
echo twig_escape_filter($this->env, (($this->extensions['App\Twig\SeoExtension']->metaTitle()) ? ($this->extensions['App\Twig\SeoExtension']->metaTitle()) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.menu.references", [], "front"))), "html", null, true);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 7
public function block_stylesheets($context, array $blocks = [])
{
$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", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 8
echo "\t";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 12
public function block_body($context, array $blocks = [])
{
$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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 13
echo "\t";
$context["idUrl"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 13, $this->source); })()), "request", [], "any", false, false, false, 13), "get", [0 => "id"], "method", false, false, false, 13);
// line 14
echo "
\t<div class=\"container reveal\">
\t";
// line 16
if ( !(null === (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 16, $this->source); })()))) {
// line 17
echo "\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 17, $this->source); })()));
$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["bloc"]) {
// line 18
echo "\t\t\t";
$this->loadTemplate("front/bloc/index.html.twig", "front/pages/page_category/index.html.twig", 18)->display($context);
// line 19
echo "\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['bloc'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 20
echo "\t";
}
// line 21
echo "\t\t<div class=\"section-ref\">
\t\t";
// line 22
if (array_key_exists("blocs", $context)) {
// line 23
echo "\t\t\t<h1 class=\"text-center\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.references.cases", [], "front"), "html", null, true);
echo "</h1>
\t\t\t\t";
}
// line 25
echo "
\t\t\t<div class=\"responsive-tabs\">
\t\t\t\t<div class=\"nav-menu-scroll\">
\t\t\t\t\t<ul class=\"nav\">
\t\t\t\t\t\t";
// line 29
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 29, $this->source); })()));
foreach ($context['_seq'] as $context["itr"] => $context["souscat"]) {
// line 30
echo "\t\t\t\t\t\t\t<li class=\"nav-item\">
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<span class=\"wlc-ws\">Welcome</span>
\t\t\t\t\t\t\t\t<a class=\"btn cat-touchscreen";
// line 33
if (((isset($context["idUrl"]) || array_key_exists("idUrl", $context) ? $context["idUrl"] : (function () { throw new RuntimeError('Variable "idUrl" does not exist.', 33, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["souscat"], "id", [], "any", false, false, false, 33))) {
echo " active";
}
echo "\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("filter", ["id" => twig_get_attribute($this->env, $this->source, $context["souscat"], "slug_sous_category", [], "any", false, false, false, 33), "slug" => twig_get_attribute($this->env, $this->source, $context["souscat"], "item_slug_fr", [], "any", false, false, false, 33)]), "html", null, true);
echo "\" id=\"sousCategorieTitre\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["souscat"], "sous_category_name", [], "any", false, false, false, 33), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['itr'], $context['souscat'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 37
echo "\t\t\t\t\t\t<li class=\"nav-item d-lg-block d-md-none d-none\">
\t\t\t\t\t\t\t<a class=\"btn cat-all\" style=\"text-align: center !important;\" ";
// line 38
if (array_key_exists("page_category", $context)) {
echo " href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("filter", ["id" => "voir_tout", "slug" => twig_get_attribute($this->env, $this->source, (isset($context["page_category"]) || array_key_exists("page_category", $context) ? $context["page_category"] : (function () { throw new RuntimeError('Variable "page_category" does not exist.', 38, $this->source); })()), "slug", [], "any", false, false, false, 38)]), "html", null, true);
echo "\" ";
}
echo ">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.actions.see_all", [], "front"), "html", null, true);
echo "</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ul>
\t\t\t\t</div>
\t\t\t\t<div class=\"mt-3 mb-3 text-center d-lg-none d-md-block d-block\">
\t\t\t\t\t<a class=\"btn cat-all\" style=\"text-align: center !important;\" ";
// line 43
if (array_key_exists("page_category", $context)) {
echo " href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("filter", ["id" => "voir_tout", "slug" => twig_get_attribute($this->env, $this->source, (isset($context["page_category"]) || array_key_exists("page_category", $context) ? $context["page_category"] : (function () { throw new RuntimeError('Variable "page_category" does not exist.', 43, $this->source); })()), "slug", [], "any", false, false, false, 43)]), "html", null, true);
echo "\" ";
}
echo ">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.actions.see_all", [], "front"), "html", null, true);
echo "</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"cat-content\">
\t\t\t\t\t<div class=\"all-categories\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t";
// line 49
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pages"]) || array_key_exists("pages", $context) ? $context["pages"] : (function () { throw new RuntimeError('Variable "pages" does not exist.', 49, $this->source); })()));
foreach ($context['_seq'] as $context["itr"] => $context["PageitemsPage"]) {
// line 50
echo "
\t\t\t\t\t\t\t\t<div class=\"col-md-6 item-cat-touchscreen\">
\t\t\t\t\t\t\t\t\t<div class=\"card all-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"box-img\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 55
$context["image_top"] = "";
// line 56
echo "\t\t\t\t\t\t\t\t\t\t\t";
list($context["image_down"], $context["logoPicture"]) = ["", ""];
// line 57
echo "
\t\t\t\t\t\t\t\t\t\t\t";
// line 59
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["PageitemsPage"]);
foreach ($context['_seq'] as $context["key"] => $context["PageitemsMedia"]) {
// line 60
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 61
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["PageitemsPage"], $context["key"], [], "array", false, false, false, 61), "type", [], "any", false, false, false, 61) == twig_constant("App\\Entity\\Medias\\Media::TYPE_MEDIA_VIGNETTE"))) {
// line 62
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["image_top"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((((isset($context["uploads_directory"]) || array_key_exists("uploads_directory", $context) ? $context["uploads_directory"] : (function () { throw new RuntimeError('Variable "uploads_directory" does not exist.', 62, $this->source); })()) . twig_get_attribute($this->env, $this->source, $context["PageitemsMedia"], "media_page_items_path", [], "any", false, false, false, 62)) . "/") . twig_get_attribute($this->env, $this->source, $context["PageitemsMedia"], "media_page_items_file", [], "any", false, false, false, 62)));
// line 63
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["PageitemsPage"], $context["key"], [], "array", false, false, false, 63), "type", [], "any", false, false, false, 63) == twig_constant("App\\Entity\\Medias\\Media::TYPE_MEDIA_STICKY"))) {
// line 64
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["image_down"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((((isset($context["uploads_directory"]) || array_key_exists("uploads_directory", $context) ? $context["uploads_directory"] : (function () { throw new RuntimeError('Variable "uploads_directory" does not exist.', 64, $this->source); })()) . twig_get_attribute($this->env, $this->source, $context["PageitemsMedia"], "media_page_items_path", [], "any", false, false, false, 64)) . "/") . twig_get_attribute($this->env, $this->source, $context["PageitemsMedia"], "media_page_items_file", [], "any", false, false, false, 64)));
// line 65
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["PageitemsPage"], $context["key"], [], "array", false, false, false, 65), "type", [], "any", false, false, false, 65) == twig_constant("App\\Entity\\Medias\\Media::TYPE_MEDIA_LOGO_PICTURE"))) {
// line 66
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context["logoPicture"] = $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((((isset($context["uploads_directory"]) || array_key_exists("uploads_directory", $context) ? $context["uploads_directory"] : (function () { throw new RuntimeError('Variable "uploads_directory" does not exist.', 66, $this->source); })()) . twig_get_attribute($this->env, $this->source, $context["PageitemsMedia"], "media_page_items_path", [], "any", false, false, false, 66)) . "/") . twig_get_attribute($this->env, $this->source, $context["PageitemsMedia"], "media_page_items_file", [], "any", false, false, false, 66)));
// line 67
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 68
echo "
\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['PageitemsMedia'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 70
echo "\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_page_show", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["PageitemsPage"], 0, [], "array", false, false, false, 70), "slug", [], "any", false, false, false, 70)]), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t<div style=\"background-image:url(";
// line 71
echo twig_escape_filter($this->env, (isset($context["image_top"]) || array_key_exists("image_top", $context) ? $context["image_top"] : (function () { throw new RuntimeError('Variable "image_top" does not exist.', 71, $this->source); })()), "html", null, true);
echo ") ;background-repeat: no-repeat; background-position: center;background-size:cover; ;\" class=\"img1 card-img-ref\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t<div onclick=\"window.location='";
// line 74
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_page_show", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["PageitemsPage"], 0, [], "array", false, false, false, 74), "slug", [], "any", false, false, false, 74)]), "html", null, true);
echo "';\" style=\"background-image:url(";
echo twig_escape_filter($this->env, (isset($context["image_down"]) || array_key_exists("image_down", $context) ? $context["image_down"] : (function () { throw new RuntimeError('Variable "image_down" does not exist.', 74, $this->source); })()), "html", null, true);
echo ") ;background-repeat: no-repeat;background-size: 100%; background-position: center; cursor:pointer ;\" class=\"img2 card-img-ref\">
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t";
// line 76
if ((isset($context["logoPicture"]) || array_key_exists("logoPicture", $context) ? $context["logoPicture"] : (function () { throw new RuntimeError('Variable "logoPicture" does not exist.', 76, $this->source); })())) {
echo " <img src=\"";
echo twig_escape_filter($this->env, (isset($context["logoPicture"]) || array_key_exists("logoPicture", $context) ? $context["logoPicture"] : (function () { throw new RuntimeError('Variable "logoPicture" does not exist.', 76, $this->source); })()), "html", null, true);
echo "\" class=\"card-img-macaron\"> ";
}
// line 77
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"card-box\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 80
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["PageitemsPage"], 0, [], "array", false, false, false, 80), "description", [], "any", false, false, false, 80)) {
// line 81
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["PageitemsPage"], 0, [], "array", false, false, false, 81), "description", [], "any", false, false, false, 81);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 83
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_page_show", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["PageitemsPage"], 0, [], "array", false, false, false, 83), "slug", [], "any", false, false, false, 83)]), "html", null, true);
echo "\" class=\"btn btn-ref\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.actions.read_more", [], "front"), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 85
echo "\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['itr'], $context['PageitemsPage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 89
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 99
public function block_javascripts($context, array $blocks = [])
{
$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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 100
echo "\t";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "front/pages/page_category/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 374 => 100, 364 => 99, 346 => 89, 337 => 85, 330 => 83, 324 => 81, 322 => 80, 317 => 77, 311 => 76, 304 => 74, 298 => 71, 293 => 70, 286 => 68, 283 => 67, 280 => 66, 277 => 65, 274 => 64, 271 => 63, 268 => 62, 266 => 61, 263 => 60, 259 => 59, 255 => 57, 252 => 56, 250 => 55, 243 => 50, 239 => 49, 224 => 43, 210 => 38, 207 => 37, 191 => 33, 186 => 30, 182 => 29, 176 => 25, 170 => 23, 168 => 22, 165 => 21, 162 => 20, 148 => 19, 145 => 18, 127 => 17, 125 => 16, 121 => 14, 118 => 13, 108 => 12, 94 => 8, 84 => 7, 71 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'front/layouts/base.html.twig' %}
{% block title %}
\t{{ metaTitle() ? metaTitle() : 'front.menu.references'|trans({}, 'front') }}
{% endblock %}
{% block stylesheets %}
\t{{ parent() }}
{% endblock %}
{% block body %}
\t{% set idUrl = app.request.get('id') %}
\t<div class=\"container reveal\">
\t{% if blocs is not null %}
\t\t{% for bloc in blocs %}
\t\t\t{% include \"front/bloc/index.html.twig\" %}
\t\t{% endfor %}
\t{% endif %}
\t\t<div class=\"section-ref\">
\t\t{% if blocs is defined %}
\t\t\t<h1 class=\"text-center\">{{ 'front.references.cases'|trans({}, 'front') }}</h1>
\t\t\t\t{% endif %}
\t\t\t<div class=\"responsive-tabs\">
\t\t\t\t<div class=\"nav-menu-scroll\">
\t\t\t\t\t<ul class=\"nav\">
\t\t\t\t\t\t{% for itr, souscat in items %}
\t\t\t\t\t\t\t<li class=\"nav-item\">
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t<span class=\"wlc-ws\">Welcome</span>
\t\t\t\t\t\t\t\t<a class=\"btn cat-touchscreen{% if idUrl == souscat.id %} active{% endif %}\" href=\"{{ path('filter', {'id': souscat.slug_sous_category, 'slug': souscat.item_slug_fr}) }}\" id=\"sousCategorieTitre\">{{souscat.sous_category_name}}</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t<li class=\"nav-item d-lg-block d-md-none d-none\">
\t\t\t\t\t\t\t<a class=\"btn cat-all\" style=\"text-align: center !important;\" {% if page_category is defined %} href=\"{{ path('filter', {'id': 'voir_tout', 'slug' : page_category.slug}) }}\" {% endif %}>{{ 'front.actions.see_all'|trans({}, 'front') }}</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ul>
\t\t\t\t</div>
\t\t\t\t<div class=\"mt-3 mb-3 text-center d-lg-none d-md-block d-block\">
\t\t\t\t\t<a class=\"btn cat-all\" style=\"text-align: center !important;\" {% if page_category is defined %} href=\"{{ path('filter', {'id': 'voir_tout', 'slug' : page_category.slug }) }}\" {% endif %}>{{ 'front.actions.see_all'|trans({}, 'front') }}</a>
\t\t\t\t</div>
\t\t\t\t<div class=\"cat-content\">
\t\t\t\t\t<div class=\"all-categories\">
\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t{% for itr, PageitemsPage in pages %}
\t\t\t\t\t\t\t\t<div class=\"col-md-6 item-cat-touchscreen\">
\t\t\t\t\t\t\t\t\t<div class=\"card all-card\">
\t\t\t\t\t\t\t\t\t\t<div class=\"box-img\">
\t\t\t\t\t\t\t\t\t\t\t{% set image_top = \"\" %}
\t\t\t\t\t\t\t\t\t\t\t{% set image_down, logoPicture = \"\" , \"\" %}
\t\t\t\t\t\t\t\t\t\t\t{% for key,PageitemsMedia in PageitemsPage %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if PageitemsPage[key].type == constant('App\\\\Entity\\\\Medias\\\\Media::TYPE_MEDIA_VIGNETTE') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set image_top = asset(uploads_directory ~ PageitemsMedia.media_page_items_path ~ '/' ~ PageitemsMedia.media_page_items_file ) %}
\t\t\t\t\t\t\t\t\t\t\t\t{% elseif PageitemsPage[key].type == constant('App\\\\Entity\\\\Medias\\\\Media::TYPE_MEDIA_STICKY') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set image_down = asset(uploads_directory ~ PageitemsMedia.media_page_items_path ~ '/' ~ PageitemsMedia.media_page_items_file ) %}
\t\t\t\t\t\t\t\t\t\t\t\t{% elseif PageitemsPage[key].type == constant('App\\\\Entity\\\\Medias\\\\Media::TYPE_MEDIA_LOGO_PICTURE') %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% set logoPicture = asset(uploads_directory ~ PageitemsMedia.media_page_items_path ~ '/' ~ PageitemsMedia.media_page_items_file ) %}
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_page_show', {\"slug\": PageitemsPage[0].slug}) }}\">
\t\t\t\t\t\t\t\t\t\t\t\t<div style=\"background-image:url({{image_top}}) ;background-repeat: no-repeat; background-position: center;background-size:cover; ;\" class=\"img1 card-img-ref\">
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t\t<div onclick=\"window.location='{{path('front_page_show', {\"slug\": PageitemsPage[0].slug}) }}';\" style=\"background-image:url({{image_down}}) ;background-repeat: no-repeat;background-size: 100%; background-position: center; cursor:pointer ;\" class=\"img2 card-img-ref\">
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t{% if logoPicture %} <img src=\"{{ logoPicture }}\" class=\"card-img-macaron\"> {% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"card-box\">
\t\t\t\t\t\t\t\t\t\t\t{% if PageitemsPage[0].description %}
\t\t\t\t\t\t\t\t\t\t\t\t{{PageitemsPage[0].description | raw}}
\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ path('front_page_show', {\"slug\": PageitemsPage[0].slug}) }}\" class=\"btn btn-ref\">{{ 'front.actions.read_more'|trans({}, 'front') }}</a>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
{% endblock %}
{% block javascripts %}
\t{{ parent() }}
{% endblock %}
", "front/pages/page_category/index.html.twig", "/mnt/disk/www/netisse2023/templates/front/pages/page_category/index.html.twig");
}
}