var/cache/dev/twig/48/48bf44a54fe7f7f460a5ee98dace0bcb.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* frontend/product/index.html.twig */
  14. class __TwigTemplate_cb8789f32bc44ddfbbdf791c8ad2c35f extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'metaTitle' => [$this'block_metaTitle'],
  24.             'metaDescription' => [$this'block_metaDescription'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "frontend/base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/product/index.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/product/index.html.twig"));
  40.         // line 3
  41.         $macros["__internal_parse_0"] = $this->macros["__internal_parse_0"] = $this->loadTemplate("frontend/partials/_realizations.html.twig""frontend/product/index.html.twig"3)->unwrap();
  42.         // line 1
  43.         $this->parent $this->loadTemplate("frontend/base.html.twig""frontend/product/index.html.twig"1);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 5
  51.     public function block_metaTitle($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaTitle"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaTitle"));
  58.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "metaTitle", [], "any"truetruefalse5)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "metaTitle", [], "any"falsefalsefalse5), twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'5$this->source); })()), "name", [], "any"falsefalsefalse5))) : (twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'5$this->source); })()), "name", [], "any"falsefalsefalse5))), "html"nulltrue);
  59.         
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.     }
  64.     // line 6
  65.     public function block_metaDescription($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaDescription"));
  72.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "metaDescription", [], "any"truetruefalse6)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["product"] ?? null), "metaDescription", [], "any"falsefalsefalse6), twig_slice($this->env$this->extensions['App\Twig\AppExtension']->html_entity_decode(twig_striptags($this->extensions['OneAM\Libraries\BlockEditor\Twig\TwigExtension']->renderContent($this->envtwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'6$this->source); })()), "introduction", [], "any"falsefalsefalse6)))), 0200))) : (twig_slice($this->env$this->extensions['App\Twig\AppExtension']->html_entity_decode(twig_striptags($this->extensions['OneAM\Libraries\BlockEditor\Twig\TwigExtension']->renderContent($this->envtwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'6$this->source); })()), "introduction", [], "any"falsefalsefalse6)))), 0200))), "html"nulltrue);
  73.         
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  75.         
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  77.     }
  78.     // line 8
  79.     public function block_body($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  86.         // line 9
  87.         echo "    ";
  88.         $this->loadTemplate("frontend/partials/_breadcrumb.html.twig""frontend/product/index.html.twig"9)->display($context);
  89.         // line 10
  90.         echo "
  91.     <section class=\"space-1\">
  92.         <div class=\"container\">
  93.             <h5 class=\"h4 mb-4 fw-medium\">
  94.                 ";
  95.         // line 14
  96.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Sei nell’area", [], "messages");
  97.         echo " ";
  98.         echo twig_escape_filter($this->envtwig_lower_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'14$this->source); })()), "name", [], "any"falsefalsefalse14)), "html"nulltrue);
  99.         echo ".
  100.                 ";
  101.         // line 15
  102.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Scorrendo la pagina troverai informazioni, cataloghi e promozioni che ti aiuteranno nella scelta del prodotto giusto per le tue esigenze.", [], "messages");
  103.         // line 16
  104.         echo "            </h5>
  105.             <div class=\"position-relative mb-4\">
  106.                 <div class=\"d-lg-none\">
  107.                     <figure class=\"media equal-1-1\">
  108.                         <span style=\"background-image: url('";
  109.         // line 20
  110.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'20$this->source); })()), "cover", [], "any"falsefalsefalse20), "publicUrl", [], "any"falsefalsefalse20), "html"nulltrue);
  111.         echo "')\"></span>
  112.                     </figure>
  113.                 </div>
  114.                 <div class=\"d-none d-lg-block\">
  115.                     <figure class=\"media equal-2-1\">
  116.                         <span style=\"background-image: url('";
  117.         // line 25
  118.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'25$this->source); })()), "cover", [], "any"falsefalsefalse25), "publicUrl", [], "any"falsefalsefalse25), "html"nulltrue);
  119.         echo "')\"></span>
  120.                     </figure>
  121.                 </div>
  122.             </div>
  123.         </div>
  124.     </section>
  125.     <section class=\"space-1\">
  126.         <div class=\"container\">
  127.             ";
  128.         // line 33
  129.         echo $this->extensions['OneAM\Libraries\BlockEditor\Twig\TwigExtension']->renderContent($this->envtwig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'33$this->source); })()), "introduction", [], "any"falsefalsefalse33));
  130.         echo "
  131.         </div>
  132.     </section>
  133.     ";
  134.         // line 36
  135.         echo twig_call_macro($macros["__internal_parse_0"], "macro_realization_slider", [twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'36$this->source); })()), "realizations", [], "any"falsefalsefalse36)], 36$context$this->getSourceContext());
  136.         echo "
  137.     <section class=\"space-2\">
  138.         <div class=\"container\">
  139.             ";
  140.         // line 39
  141.         $context['_parent'] = $context;
  142.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'39$this->source); })()), "sections", [], "any"falsefalsefalse39));
  143.         $context['loop'] = [
  144.           'parent' => $context['_parent'],
  145.           'index0' => 0,
  146.           'index'  => 1,
  147.           'first'  => true,
  148.         ];
  149.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  150.             $length count($context['_seq']);
  151.             $context['loop']['revindex0'] = $length 1;
  152.             $context['loop']['revindex'] = $length;
  153.             $context['loop']['length'] = $length;
  154.             $context['loop']['last'] = === $length;
  155.         }
  156.         foreach ($context['_seq'] as $context["_key"] => $context["section"]) {
  157.             // line 40
  158.             echo "            <div class=\"row align-items-center justify-content-center space-top-1 space-top-lg-2 space-bottom-lg-1\">
  159.                 <div class=\"col-lg-5 ps-lg-5 ";
  160.             // line 41
  161.             echo ((((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse41) % 2) == 0)) ? ("order-lg-1") : (""));
  162.             echo "\">
  163.                     <h3 class=\"text-uppercase text-primary display-5 fw-bold mb-2 mb-lg-4\" style=\"line-height: 1\">
  164.                         ";
  165.             // line 43
  166.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["section"], "custom", [], "any"falsefalsefalse43)) ? (twig_get_attribute($this->env$this->source$context["section"], "title", [], "any"falsefalsefalse43)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["section"], "page", [], "any"falsefalsefalse43), "name", [], "any"falsefalsefalse43))), "html"nulltrue);
  167.             echo "
  168.                     </h3>
  169.                     <p class=\"fs-lg\">
  170.                         ";
  171.             // line 46
  172.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["section"], "custom", [], "any"falsefalsefalse46)) ? (twig_get_attribute($this->env$this->source$context["section"], "description", [], "any"falsefalsefalse46)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["section"], "page", [], "any"falsefalsefalse46), "introduction", [], "any"falsefalsefalse46))), "html"nulltrue);
  173.             echo "
  174.                     </p>
  175.                     <a href=\"";
  176.             // line 48
  177.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["section"], "custom", [], "any"falsefalsefalse48)) ? (twig_get_attribute($this->env$this->source$context["section"], "link", [], "any"falsefalsefalse48)) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("frontend_product_page_index", ["product" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["section"], "page", [], "any"falsefalsefalse48), "product", [], "any"falsefalsefalse48), "slug", [], "any"falsefalsefalse48), "page" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["section"], "page", [], "any"falsefalsefalse48), "slug", [], "any"falsefalsefalse48)]))), "html"nulltrue);
  178.             echo "\"
  179.                        class=\"btn btn-primary text-uppercase fw-bold mb-4 mb-lg-0\"
  180.                        aria-label=\"";
  181.             // line 50
  182.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["section"], "custom", [], "any"falsefalsefalse50)) ? (twig_get_attribute($this->env$this->source$context["section"], "title", [], "any"falsefalsefalse50)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["section"], "page", [], "any"falsefalsefalse50), "name", [], "any"falsefalsefalse50))), "html"nulltrue);
  183.             echo "\"
  184.                     >";
  185.             // line 51
  186.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Scopri di più", [], "messages");
  187.             echo "</a>
  188.                 </div>
  189.                 <div class=\"col-lg-5 ";
  190.             // line 53
  191.             echo ((((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse53) % 2) == 0)) ? ("order-lg-0") : (""));
  192.             echo "\">
  193.                     <img src=\"";
  194.             // line 54
  195.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["section"], "custom", [], "any"falsefalsefalse54)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["section"], "cover", [], "any"falsefalsefalse54), "publicUrl", [], "any"falsefalsefalse54)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["section"], "page", [], "any"falsefalsefalse54), "cover", [], "any"falsefalsefalse54), "publicUrl", [], "any"falsefalsefalse54))), "html"nulltrue);
  196.             echo "\" alt=\"";
  197.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["section"], "custom", [], "any"falsefalsefalse54)) ? (twig_get_attribute($this->env$this->source$context["section"], "title", [], "any"falsefalsefalse54)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["section"], "page", [], "any"falsefalsefalse54), "name", [], "any"falsefalsefalse54))), "html"nulltrue);
  198.             echo "\"
  199.                          class=\"img-fluid\">
  200.                 </div>
  201.             </div>
  202.             ";
  203.             ++$context['loop']['index0'];
  204.             ++$context['loop']['index'];
  205.             $context['loop']['first'] = false;
  206.             if (isset($context['loop']['length'])) {
  207.                 --$context['loop']['revindex0'];
  208.                 --$context['loop']['revindex'];
  209.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  210.             }
  211.         }
  212.         $_parent $context['_parent'];
  213.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['section'], $context['_parent'], $context['loop']);
  214.         $context array_intersect_key($context$_parent) + $_parent;
  215.         // line 59
  216.         echo "        </div>
  217.     </section>
  218.     <section class=\"space-bottom-2\">
  219.         <div class=\"container\">
  220.             <div class=\"row justify-content-center\">
  221.                 ";
  222.         // line 64
  223.         $context['_parent'] = $context;
  224.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["product"]) || array_key_exists("product"$context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.'64$this->source); })()), "productCallToActions", [], "any"falsefalsefalse64));
  225.         $context['loop'] = [
  226.           'parent' => $context['_parent'],
  227.           'index0' => 0,
  228.           'index'  => 1,
  229.           'first'  => true,
  230.         ];
  231.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  232.             $length count($context['_seq']);
  233.             $context['loop']['revindex0'] = $length 1;
  234.             $context['loop']['revindex'] = $length;
  235.             $context['loop']['length'] = $length;
  236.             $context['loop']['last'] = === $length;
  237.         }
  238.         foreach ($context['_seq'] as $context["_key"] => $context["productCallToAction"]) {
  239.             // line 65
  240.             echo "                    ";
  241.             $this->loadTemplate("frontend/partials/_call_to_action_card.html.twig""frontend/product/index.html.twig"65)->display(twig_array_merge($context, ["callToAction" => twig_get_attribute($this->env$this->source$context["productCallToAction"], "callToAction", [], "any"falsefalsefalse65), "size" => twig_get_attribute($this->env$this->source$context["productCallToAction"], "size", [], "any"falsefalsefalse65)]));
  242.             // line 66
  243.             echo "                ";
  244.             ++$context['loop']['index0'];
  245.             ++$context['loop']['index'];
  246.             $context['loop']['first'] = false;
  247.             if (isset($context['loop']['length'])) {
  248.                 --$context['loop']['revindex0'];
  249.                 --$context['loop']['revindex'];
  250.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  251.             }
  252.         }
  253.         $_parent $context['_parent'];
  254.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['productCallToAction'], $context['_parent'], $context['loop']);
  255.         $context array_intersect_key($context$_parent) + $_parent;
  256.         // line 67
  257.         echo "            </div>
  258.         </div>
  259.     </section>
  260. ";
  261.         
  262.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  263.         
  264.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  265.     }
  266.     public function getTemplateName()
  267.     {
  268.         return "frontend/product/index.html.twig";
  269.     }
  270.     public function isTraitable()
  271.     {
  272.         return false;
  273.     }
  274.     public function getDebugInfo()
  275.     {
  276.         return array (  281 => 67,  267 => 66,  264 => 65,  247 => 64,  240 => 59,  219 => 54,  215 => 53,  210 => 51,  206 => 50,  201 => 48,  196 => 46,  190 => 43,  185 => 41,  182 => 40,  165 => 39,  159 => 36,  153 => 33,  142 => 25,  134 => 20,  128 => 16,  126 => 15,  120 => 14,  114 => 10,  111 => 9,  101 => 8,  82 => 6,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  277.     }
  278.     public function getSourceContext()
  279.     {
  280.         return new Source("{% extends 'frontend/base.html.twig' %}
  281. {% from 'frontend/partials/_realizations.html.twig' import realization_slider %}
  282. {% block metaTitle %}{{ product.metaTitle|default(product.name) }}{% endblock %}
  283. {% block metaDescription %}{{ product.metaDescription|default(product.introduction|block_editor_render|striptags|html_entity_decode|slice(0, 200)) }}{% endblock %}
  284. {% block body %}
  285.     {% include 'frontend/partials/_breadcrumb.html.twig' %}
  286.     <section class=\"space-1\">
  287.         <div class=\"container\">
  288.             <h5 class=\"h4 mb-4 fw-medium\">
  289.                 {% trans %}Sei nell’area{% endtrans%} {{ product.name|lower }}.
  290.                 {% trans %}Scorrendo la pagina troverai informazioni, cataloghi e promozioni che ti aiuteranno nella scelta del prodotto giusto per le tue esigenze.{% endtrans%}
  291.             </h5>
  292.             <div class=\"position-relative mb-4\">
  293.                 <div class=\"d-lg-none\">
  294.                     <figure class=\"media equal-1-1\">
  295.                         <span style=\"background-image: url('{{ product.cover.publicUrl }}')\"></span>
  296.                     </figure>
  297.                 </div>
  298.                 <div class=\"d-none d-lg-block\">
  299.                     <figure class=\"media equal-2-1\">
  300.                         <span style=\"background-image: url('{{ product.cover.publicUrl }}')\"></span>
  301.                     </figure>
  302.                 </div>
  303.             </div>
  304.         </div>
  305.     </section>
  306.     <section class=\"space-1\">
  307.         <div class=\"container\">
  308.             {{ product.introduction|block_editor_render }}
  309.         </div>
  310.     </section>
  311.     {{ realization_slider(product.realizations) }}
  312.     <section class=\"space-2\">
  313.         <div class=\"container\">
  314.             {% for section in product.sections %}
  315.             <div class=\"row align-items-center justify-content-center space-top-1 space-top-lg-2 space-bottom-lg-1\">
  316.                 <div class=\"col-lg-5 ps-lg-5 {{ loop.index % 2 == 0 ? 'order-lg-1' }}\">
  317.                     <h3 class=\"text-uppercase text-primary display-5 fw-bold mb-2 mb-lg-4\" style=\"line-height: 1\">
  318.                         {{ section.custom ? section.title : section.page.name }}
  319.                     </h3>
  320.                     <p class=\"fs-lg\">
  321.                         {{ section.custom ? section.description : section.page.introduction }}
  322.                     </p>
  323.                     <a href=\"{{ section.custom ? section.link : path('frontend_product_page_index', {product: section.page.product.slug, page: section.page.slug}) }}\"
  324.                        class=\"btn btn-primary text-uppercase fw-bold mb-4 mb-lg-0\"
  325.                        aria-label=\"{{ section.custom ? section.title : section.page.name }}\"
  326.                     >{% trans %}Scopri di più{% endtrans %}</a>
  327.                 </div>
  328.                 <div class=\"col-lg-5 {{ loop.index % 2 == 0 ? 'order-lg-0' }}\">
  329.                     <img src=\"{{ section.custom ? section.cover.publicUrl : section.page.cover.publicUrl }}\" alt=\"{{ section.custom ? section.title : section.page.name }}\"
  330.                          class=\"img-fluid\">
  331.                 </div>
  332.             </div>
  333.             {% endfor %}
  334.         </div>
  335.     </section>
  336.     <section class=\"space-bottom-2\">
  337.         <div class=\"container\">
  338.             <div class=\"row justify-content-center\">
  339.                 {% for productCallToAction in product.productCallToActions %}
  340.                     {% include 'frontend/partials/_call_to_action_card.html.twig' with {callToAction: productCallToAction.callToAction, size: productCallToAction.size} %}
  341.                 {% endfor %}
  342.             </div>
  343.         </div>
  344.     </section>
  345. {% endblock %}
  346. ""frontend/product/index.html.twig""/var/www/vhosts/dev.oneam.it/astralpool.dev.oneam.it/templates/frontend/product/index.html.twig");
  347.     }
  348. }