var/cache/dev/twig/63/63095a465963368944ab7e5b93247324.php line 50

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. /* home.html.twig */
  14. class __TwigTemplate_5abdbc7dbd8c51d82f4727303af4e068 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.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layout.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""home.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""home.html.twig"));
  40.         $this->parent $this->loadTemplate("layout.html.twig""home.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 4
  56.         echo "
  57.     <main class=\"main\">
  58.         ";
  59.         // line 7
  60.         $context["SliderBlocks"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""SliderBlocks", ["reload" => true"manual" => true]), "start", [], "method"falsefalsetrue7);
  61.         // line 8
  62.         echo "
  63.         <section class=\"section-intro\">
  64.         <div class=\"container-fluid\">
  65.             <div class=\"row intro-gutter gy-4 align-items-center\">
  66.                 <div class=\"";
  67.         // line 12
  68.         echo (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'12$this->source); })())) ? ("col-md-6") : (""));
  69.         echo " col-lg-6\">
  70.                     ";
  71.         // line 13
  72.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'13$this->source); })())) {
  73.             // line 14
  74.             echo "                        <div class=\"row\">
  75.                             <p class=\"mt-5\">Maak hieronder het aantal slides aan voor de slider op de homepage.</p>
  76.                     ";
  77.         } elseif ((twig_get_attribute($this->env$this->source,         // line 16
  78. (isset($context["SliderBlocks"]) || array_key_exists("SliderBlocks"$context) ? $context["SliderBlocks"] : (function () { throw new RuntimeError('Variable "SliderBlocks" does not exist.'16$this->source); })()), "count", [], "any"falsefalsetrue16) > 0)) {
  79.             // line 17
  80.             echo "                        <div class=\"home-slider-outer\">
  81.                             <div class=\"swiper swiper--home-projects home-slider-inner\" id=\"home-projects-slider\">
  82.                                 <div class=\"swiper-wrapper\">
  83.                     ";
  84.         }
  85.         // line 21
  86.         echo "
  87.                                     ";
  88.         // line 22
  89.         $context['_parent'] = $context;
  90.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["SliderBlocks"]) || array_key_exists("SliderBlocks"$context) ? $context["SliderBlocks"] : (function () { throw new RuntimeError('Variable "SliderBlocks" does not exist.'22$this->source); })()), "iterator", [], "any"falsefalsetrue22));
  91.         $context['loop'] = [
  92.           'parent' => $context['_parent'],
  93.           'index0' => 0,
  94.           'index'  => 1,
  95.           'first'  => true,
  96.         ];
  97.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  98.             $length count($context['_seq']);
  99.             $context['loop']['revindex0'] = $length 1;
  100.             $context['loop']['revindex'] = $length;
  101.             $context['loop']['length'] = $length;
  102.             $context['loop']['last'] = === $length;
  103.         }
  104.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  105.             // line 23
  106.             echo "
  107.                                         ";
  108.             // line 24
  109.             twig_get_attribute($this->env$this->source, (isset($context["SliderBlocks"]) || array_key_exists("SliderBlocks"$context) ? $context["SliderBlocks"] : (function () { throw new RuntimeError('Variable "SliderBlocks" does not exist.'24$this->source); })()), "blockConstruct", [], "method"falsefalsetrue24);
  110.             // line 25
  111.             echo "
  112.                                         ";
  113.             // line 26
  114.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'26$this->source); })())) {
  115.                 // line 27
  116.                 echo "                                        <div class=\"col-md-6 mb-3\">
  117.                                         ";
  118.             }
  119.             // line 29
  120.             echo "
  121.                                         ";
  122.             // line 30
  123.             twig_get_attribute($this->env$this->source, (isset($context["SliderBlocks"]) || array_key_exists("SliderBlocks"$context) ? $context["SliderBlocks"] : (function () { throw new RuntimeError('Variable "SliderBlocks" does not exist.'30$this->source); })()), "blockStart", [], "method"falsefalsetrue30);
  124.             // line 31
  125.             echo "                                        ";
  126.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"renderlet""project", ["title" => "Sleep hier een project in de slider...""controller" => "App\\Controller\\HomeController::HomeSliderRenderletAction""editmode" =>             // line 35
  127. (isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'35$this->source); })()), "lazy" => (twig_get_attribute($this->env$this->source,             // line 36
  128. $context["loop"], "index", [], "any"falsefalsetrue36) != 1)]);
  129.             // line 38
  130.             echo "
  131.                                         ";
  132.             // line 39
  133.             twig_get_attribute($this->env$this->source, (isset($context["SliderBlocks"]) || array_key_exists("SliderBlocks"$context) ? $context["SliderBlocks"] : (function () { throw new RuntimeError('Variable "SliderBlocks" does not exist.'39$this->source); })()), "blockEnd", [], "method"falsefalsetrue39);
  134.             // line 40
  135.             echo "
  136.                                         ";
  137.             // line 41
  138.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'41$this->source); })())) {
  139.                 // line 42
  140.                 echo "                                        </div>
  141.                                         ";
  142.             }
  143.             // line 44
  144.             echo "
  145.                                         ";
  146.             // line 45
  147.             twig_get_attribute($this->env$this->source, (isset($context["SliderBlocks"]) || array_key_exists("SliderBlocks"$context) ? $context["SliderBlocks"] : (function () { throw new RuntimeError('Variable "SliderBlocks" does not exist.'45$this->source); })()), "blockDestruct", [], "method"falsefalsetrue45);
  148.             // line 46
  149.             echo "                                    ";
  150.             ++$context['loop']['index0'];
  151.             ++$context['loop']['index'];
  152.             $context['loop']['first'] = false;
  153.             if (isset($context['loop']['length'])) {
  154.                 --$context['loop']['revindex0'];
  155.                 --$context['loop']['revindex'];
  156.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  157.             }
  158.         }
  159.         $_parent $context['_parent'];
  160.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  161.         $context array_intersect_key($context$_parent) + $_parent;
  162.         // line 47
  163.         echo "
  164.                                     ";
  165.         // line 48
  166.         twig_get_attribute($this->env$this->source, (isset($context["SliderBlocks"]) || array_key_exists("SliderBlocks"$context) ? $context["SliderBlocks"] : (function () { throw new RuntimeError('Variable "SliderBlocks" does not exist.'48$this->source); })()), "end", [], "method"falsefalsetrue48);
  167.         // line 49
  168.         echo "
  169.                     ";
  170.         // line 50
  171.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'50$this->source); })())) {
  172.             // line 51
  173.             echo "                        </div>
  174.                     ";
  175.         } elseif ((twig_get_attribute($this->env$this->source,         // line 52
  176. (isset($context["SliderBlocks"]) || array_key_exists("SliderBlocks"$context) ? $context["SliderBlocks"] : (function () { throw new RuntimeError('Variable "SliderBlocks" does not exist.'52$this->source); })()), "count", [], "any"falsefalsetrue52) > 0)) {
  177.             // line 53
  178.             echo "                                </div>
  179.                                 <div class=\"swiper-button-prev\"></div>
  180.                                 <div class=\"swiper-button-next\"></div>
  181.                             </div>
  182.                         </div>
  183.                     ";
  184.         }
  185.         // line 61
  186.         echo "                </div>
  187.                 <div class=\"";
  188.         // line 63
  189.         echo (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'63$this->source); })())) ? ("col-md-6") : (""));
  190.         echo " col-lg-5\">
  191.                     <div class=\"home-intro\">
  192.                         ";
  193.         // line 65
  194.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""intro", ["placeholder" => "Intro..."]);
  195.         echo "
  196.                     </div>
  197.                 </div>
  198.             </div>
  199.         </div><!--/ .container-fluid -->
  200.     </section>
  201. ";
  202.         // line 86
  203.         echo "
  204. ";
  205.         // line 88
  206.         echo "
  207. ";
  208.         // line 95
  209.         echo "
  210. ";
  211.         // line 99
  212.         echo "
  213. ";
  214.         // line 105
  215.         echo "        
  216.         <section class=\"section--richcontent\">
  217.             ";
  218.         // line 107
  219.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""contentAreaBlock");
  220.         echo "
  221.         </section>
  222.         <section class=\"section--ctas\">
  223.             <div class=\"container-fluid\">
  224.                 <div class=\"row justify-content-center\">
  225.                     <div class=\"col-lg-10 px-md-0\">
  226.                         <h2 class=\"pb-3 pb-md-5\">";
  227.         // line 114
  228.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""ctasTitle", ["placeholder" => "Titel...""nl2br" => true]);
  229.         echo "</h2>
  230.                     </div>
  231.                 </div><!--/ .row -->
  232.                 ";
  233.         // line 118
  234.         $context["highlightBlocks"] = twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""highlightblock", ["reload" => true"manual" => true]), "start", [], "method"falsefalsetrue118);
  235.         // line 119
  236.         echo "                ";
  237.         $context["colors"] = ["dark""medium""light"];
  238.         // line 120
  239.         echo "
  240.                 <div class=\"row gx-xl-5\">
  241.                     ";
  242.         // line 122
  243.         $context['_parent'] = $context;
  244.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["highlightBlocks"]) || array_key_exists("highlightBlocks"$context) ? $context["highlightBlocks"] : (function () { throw new RuntimeError('Variable "highlightBlocks" does not exist.'122$this->source); })()), "iterator", [], "any"falsefalsetrue122));
  245.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  246.             // line 123
  247.             echo "                        ";
  248.             twig_get_attribute($this->env$this->source, (isset($context["highlightBlocks"]) || array_key_exists("highlightBlocks"$context) ? $context["highlightBlocks"] : (function () { throw new RuntimeError('Variable "highlightBlocks" does not exist.'123$this->source); })()), "blockConstruct", [], "method"falsefalsetrue123);
  249.             // line 124
  250.             echo "
  251.                         ";
  252.             // line 125
  253.             $context["color"] = (((twig_get_attribute($this->env$this->source, ($context["colors"] ?? null), $context["i"], [], "array"truetruetrue125) &&  !(null === twig_get_attribute($this->env$this->source, ($context["colors"] ?? null), $context["i"], [], "array"falsefalsetrue125)))) ? (twig_get_attribute($this->env$this->source, ($context["colors"] ?? null), $context["i"], [], "array"falsefalsetrue125)) : ("light"));
  254.             // line 126
  255.             echo "                
  256.                         <div class=\"col-12 col-md-6 col-lg-4 d-flex flex-column\">
  257.                         ";
  258.             // line 128
  259.             twig_get_attribute($this->env$this->source, (isset($context["highlightBlocks"]) || array_key_exists("highlightBlocks"$context) ? $context["highlightBlocks"] : (function () { throw new RuntimeError('Variable "highlightBlocks" does not exist.'128$this->source); })()), "blockStart", [], "method"falsefalsetrue128);
  260.             // line 129
  261.             echo "
  262.                         ";
  263.             // line 130
  264.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'130$this->source); })())) {
  265.                 // line 131
  266.                 echo "                            <span class=\"box box-gray-";
  267.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'131$this->source); })()), 131$this->source), "html"nulltrue);
  268.                 echo "\">
  269.                         ";
  270.             } else {
  271.                 // line 133
  272.                 echo "                            ";
  273.                 $context["link"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""introLink");
  274.                 // line 134
  275.                 echo "                            <a href=\"";
  276.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'134$this->source); })()), "getHref", [], "method"falsefalsetrue134), 134$this->source), "html"nulltrue);
  277.                 echo "\" class=\"box box-gray-";
  278.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'134$this->source); })()), 134$this->source), "html"nulltrue);
  279.                 echo "\">
  280.                         ";
  281.             }
  282.             // line 136
  283.             echo "                                
  284.                                 <h3 class=\"title\">";
  285.             // line 137
  286.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""title", ["placeholder" => "Titel..."]);
  287.             echo "</h3>
  288.                                 <p>";
  289.             // line 139
  290.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"textarea""intro", ["nl2br" => true"placeholder" => "Intro..."]), "render", [], "method"falsefalsetrue139), 139$this->source);
  291.             echo "</p>
  292.                                 ";
  293.             // line 141
  294.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'141$this->source); })())) {
  295.                 // line 142
  296.                 echo "                                    ";
  297.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""introLink", ["class" => "btn btn-primary"]);
  298.                 echo "
  299.                                 ";
  300.             } else {
  301.                 // line 144
  302.                 echo "                                    <img class=\"arrow\" src=\"";
  303.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/img/arrow_block.png"), "html"nulltrue);
  304.                 echo "\" alt=\"\">
  305.                                 ";
  306.             }
  307.             // line 146
  308.             echo "                        ";
  309.             if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'146$this->source); })())) {
  310.                 // line 147
  311.                 echo "                            </span>
  312.                         ";
  313.             } else {
  314.                 // line 149
  315.                 echo "                            </a>
  316.                         ";
  317.             }
  318.             // line 151
  319.             echo "                
  320.                         ";
  321.             // line 152
  322.             twig_get_attribute($this->env$this->source, (isset($context["highlightBlocks"]) || array_key_exists("highlightBlocks"$context) ? $context["highlightBlocks"] : (function () { throw new RuntimeError('Variable "highlightBlocks" does not exist.'152$this->source); })()), "blockEnd", [], "method"falsefalsetrue152);
  323.             // line 153
  324.             echo "                        </div>
  325.                         ";
  326.             // line 155
  327.             twig_get_attribute($this->env$this->source, (isset($context["highlightBlocks"]) || array_key_exists("highlightBlocks"$context) ? $context["highlightBlocks"] : (function () { throw new RuntimeError('Variable "highlightBlocks" does not exist.'155$this->source); })()), "blockDestruct", [], "method"falsefalsetrue155);
  328.             // line 156
  329.             echo "                    ";
  330.         }
  331.         $_parent $context['_parent'];
  332.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  333.         $context array_intersect_key($context$_parent) + $_parent;
  334.         // line 157
  335.         echo "
  336.                     ";
  337.         // line 158
  338.         twig_get_attribute($this->env$this->source, (isset($context["highlightBlocks"]) || array_key_exists("highlightBlocks"$context) ? $context["highlightBlocks"] : (function () { throw new RuntimeError('Variable "highlightBlocks" does not exist.'158$this->source); })()), "end", [], "method"falsefalsetrue158);
  339.         // line 159
  340.         echo "                </div><!--/ .row -->
  341.                 <div class=\"row justify-content-center\">
  342.                     <div class=\"col-lg-10 text-center px-md-0\">
  343.                         ";
  344.         // line 163
  345.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""introLink", ["class" => "btn btn-dark text-uppercase""placeholder" => "Knop..."]);
  346.         echo "
  347.                     </div>
  348.                 </div><!--/ .row -->
  349.             </div><!--/ .container -->
  350.         </section>
  351.         <section class=\"section--richcontent\">
  352.             ";
  353.         // line 170
  354.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""contentAreaBlock2");
  355.         echo "
  356.         </section>
  357.         <div class=\"content-block\">
  358.             ";
  359.         // line 175
  360.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"snippet""review_snippet");
  361.         echo "
  362.         </div>
  363.         
  364.     </main>
  365. ";
  366.         
  367.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  368.         
  369.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  370.     }
  371.     public function getTemplateName()
  372.     {
  373.         return "home.html.twig";
  374.     }
  375.     public function isTraitable()
  376.     {
  377.         return false;
  378.     }
  379.     public function getDebugInfo()
  380.     {
  381.         return array (  395 => 175,  387 => 170,  377 => 163,  371 => 159,  369 => 158,  366 => 157,  360 => 156,  358 => 155,  354 => 153,  352 => 152,  349 => 151,  345 => 149,  341 => 147,  338 => 146,  332 => 144,  326 => 142,  324 => 141,  319 => 139,  314 => 137,  311 => 136,  303 => 134,  300 => 133,  294 => 131,  292 => 130,  289 => 129,  287 => 128,  283 => 126,  281 => 125,  278 => 124,  275 => 123,  271 => 122,  267 => 120,  264 => 119,  262 => 118,  255 => 114,  245 => 107,  241 => 105,  238 => 99,  235 => 95,  232 => 88,  229 => 86,  212 => 65,  207 => 63,  203 => 61,  193 => 53,  191 => 52,  188 => 51,  186 => 50,  183 => 49,  181 => 48,  178 => 47,  164 => 46,  162 => 45,  159 => 44,  155 => 42,  153 => 41,  150 => 40,  148 => 39,  145 => 38,  143 => 36,  142 => 35,  140 => 31,  138 => 30,  135 => 29,  131 => 27,  129 => 26,  126 => 25,  124 => 24,  121 => 23,  104 => 22,  101 => 21,  95 => 17,  93 => 16,  89 => 14,  87 => 13,  83 => 12,  77 => 8,  75 => 7,  70 => 4,  60 => 3,  37 => 1,);
  382.     }
  383.     public function getSourceContext()
  384.     {
  385.         return new Source("{% extends 'layout.html.twig' %}
  386. {% block content %}
  387.     <main class=\"main\">
  388.         {% set SliderBlocks = pimcore_block('SliderBlocks', {'reload': true, 'manual': true}).start() %}
  389.         <section class=\"section-intro\">
  390.         <div class=\"container-fluid\">
  391.             <div class=\"row intro-gutter gy-4 align-items-center\">
  392.                 <div class=\"{{ editmode ? 'col-md-6' : '' }} col-lg-6\">
  393.                     {% if editmode %}
  394.                         <div class=\"row\">
  395.                             <p class=\"mt-5\">Maak hieronder het aantal slides aan voor de slider op de homepage.</p>
  396.                     {% elseif SliderBlocks.count > 0 %}
  397.                         <div class=\"home-slider-outer\">
  398.                             <div class=\"swiper swiper--home-projects home-slider-inner\" id=\"home-projects-slider\">
  399.                                 <div class=\"swiper-wrapper\">
  400.                     {% endif %}
  401.                                     {% for i in SliderBlocks.iterator %}
  402.                                         {% do SliderBlocks.blockConstruct() %}
  403.                                         {% if editmode %}
  404.                                         <div class=\"col-md-6 mb-3\">
  405.                                         {% endif %}
  406.                                         {% do SliderBlocks.blockStart() %}
  407.                                         {{
  408.                                         pimcore_renderlet('project', {
  409.                                             \"title\": 'Sleep hier een project in de slider...',
  410.                                             \"controller\": \"App\\\\Controller\\\\HomeController::HomeSliderRenderletAction\",
  411.                                             \"editmode\": editmode,
  412.                                             \"lazy\": loop.index != 1
  413.                                         })
  414.                                         }}
  415.                                         {% do SliderBlocks.blockEnd() %}
  416.                                         {% if editmode %}
  417.                                         </div>
  418.                                         {% endif %}
  419.                                         {% do SliderBlocks.blockDestruct() %}
  420.                                     {% endfor %}
  421.                                     {% do SliderBlocks.end() %}
  422.                     {% if editmode %}
  423.                         </div>
  424.                     {% elseif SliderBlocks.count > 0 %}
  425.                                 </div>
  426.                                 <div class=\"swiper-button-prev\"></div>
  427.                                 <div class=\"swiper-button-next\"></div>
  428.                             </div>
  429.                         </div>
  430.                     {% endif %}
  431.                 </div>
  432.                 <div class=\"{{ editmode ? 'col-md-6' : '' }} col-lg-5\">
  433.                     <div class=\"home-intro\">
  434.                         {{ pimcore_wysiwyg('intro', {'placeholder': 'Intro...'}) }}
  435.                     </div>
  436.                 </div>
  437.             </div>
  438.         </div><!--/ .container-fluid -->
  439.     </section>
  440. {#        {% if projects|length %}#}
  441. {#            <div class=\"home-slider-outer\">#}
  442. {#                <div class=\"swiper swiper--home-projects home-slider-inner\" id=\"home-projects-slider\">#}
  443. {#                    <div class=\"swiper-wrapper\">#}
  444. {#                        {% for project in projects %}#}
  445. {#                            {% set img_src = project.photoIndexLarge ? project.photoIndexLarge.thumbnail('ProjectRenderletThumbnail') : 'https://via.placeholder.com/2000x1125/ccc' %}#}
  446. {#                            <div class=\"swiper-slide\" style=\"background-image: url('{{ img_src }}');\">#}
  447. {#                                {% set url = app_project_detaillink(project) %}#}
  448. {#                                <a href=\"{{ url }}\">#}
  449. {#                                    <p class=\"title\">{{ project.title }} <span class=\"mx-2\">&mdash;</span> {{ project.location }}</p>#}
  450. {#                                </a>#}
  451. {#                            </div>#}
  452. {#                        {% endfor %}#}
  453. {#                    </div>#}
  454. {#                    <div class=\"swiper-button-prev\"></div>#}
  455. {#                    <div class=\"swiper-button-next\"></div>#}
  456. {#                </div>#}
  457. {#                <button class=\"home-slider-down d-none d-md-block\" id=\"go-down\">#}
  458. {#                    <img src=\"{{ asset('/img/arrow_down_scroll.png') }}\" alt=\"\">#}
  459. {#                </button>#}
  460. {#            </div>#}
  461. {#        {% endif %}#}
  462.         
  463.         <section class=\"section--richcontent\">
  464.             {{ pimcore_areablock(\"contentAreaBlock\") }}
  465.         </section>
  466.         <section class=\"section--ctas\">
  467.             <div class=\"container-fluid\">
  468.                 <div class=\"row justify-content-center\">
  469.                     <div class=\"col-lg-10 px-md-0\">
  470.                         <h2 class=\"pb-3 pb-md-5\">{{ pimcore_textarea('ctasTitle', {'placeholder': 'Titel...', 'nl2br': true}) }}</h2>
  471.                     </div>
  472.                 </div><!--/ .row -->
  473.                 {% set highlightBlocks = pimcore_block('highlightblock', {'reload': true, 'manual': true}).start() %}
  474.                 {% set colors = ['dark', 'medium', 'light'] %}
  475.                 <div class=\"row gx-xl-5\">
  476.                     {% for i in highlightBlocks.iterator %}
  477.                         {% do highlightBlocks.blockConstruct() %}
  478.                         {% set color = colors[i] ?? 'light' %}
  479.                 
  480.                         <div class=\"col-12 col-md-6 col-lg-4 d-flex flex-column\">
  481.                         {% do highlightBlocks.blockStart() %}
  482.                         {% if editmode %}
  483.                             <span class=\"box box-gray-{{ color }}\">
  484.                         {% else %}
  485.                             {% set link = pimcore_link('introLink') %}
  486.                             <a href=\"{{ link.getHref() }}\" class=\"box box-gray-{{ color }}\">
  487.                         {% endif %}
  488.                                 
  489.                                 <h3 class=\"title\">{{ pimcore_input('title', {'placeholder': 'Titel...'}) }}</h3>
  490.                                 <p>{{ pimcore_textarea(\"intro\", {\"nl2br\": true, 'placeholder': 'Intro...'}).render()|raw  }}</p>
  491.                                 {% if editmode %}
  492.                                     {{ pimcore_link('introLink', {'class': 'btn btn-primary'}) }}
  493.                                 {% else %}
  494.                                     <img class=\"arrow\" src=\"{{ asset('/img/arrow_block.png') }}\" alt=\"\">
  495.                                 {% endif %}
  496.                         {% if editmode %}
  497.                             </span>
  498.                         {% else %}
  499.                             </a>
  500.                         {% endif %}
  501.                 
  502.                         {% do highlightBlocks.blockEnd() %}
  503.                         </div>
  504.                         {% do highlightBlocks.blockDestruct() %}
  505.                     {% endfor %}
  506.                     {% do highlightBlocks.end() %}
  507.                 </div><!--/ .row -->
  508.                 <div class=\"row justify-content-center\">
  509.                     <div class=\"col-lg-10 text-center px-md-0\">
  510.                         {{ pimcore_link('introLink', {'class': 'btn btn-dark text-uppercase', \"placeholder\": \"Knop...\"}) }}
  511.                     </div>
  512.                 </div><!--/ .row -->
  513.             </div><!--/ .container -->
  514.         </section>
  515.         <section class=\"section--richcontent\">
  516.             {{ pimcore_areablock(\"contentAreaBlock2\") }}
  517.         </section>
  518.         <div class=\"content-block\">
  519.             {{ pimcore_snippet('review_snippet') }}
  520.         </div>
  521.         
  522.     </main>
  523. {% endblock %}""home.html.twig""/data/sites/web/gc-architectenntrigapimbe/subsites/gc2025.dspdev.be/templates/home.html.twig");
  524.     }
  525.     
  526.     public function checkSecurity()
  527.     {
  528.         static $tags = array("set" => 7"if" => 13"for" => 22"do" => 24);
  529.         static $filters = array("escape" => 131"raw" => 139);
  530.         static $functions = array("pimcore_block" => 7"pimcore_renderlet" => 32"pimcore_wysiwyg" => 65"pimcore_areablock" => 107"pimcore_textarea" => 114"pimcore_link" => 133"pimcore_input" => 137"asset" => 144"pimcore_snippet" => 175);
  531.         try {
  532.             $this->sandbox->checkSecurity(
  533.                 ['set''if''for''do'],
  534.                 ['escape''raw'],
  535.                 ['pimcore_block''pimcore_renderlet''pimcore_wysiwyg''pimcore_areablock''pimcore_textarea''pimcore_link''pimcore_input''asset''pimcore_snippet']
  536.             );
  537.         } catch (SecurityError $e) {
  538.             $e->setSourceContext($this->source);
  539.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  540.                 $e->setTemplateLine($tags[$e->getTagName()]);
  541.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  542.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  543.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  544.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  545.             }
  546.             throw $e;
  547.         }
  548.     }
  549. }