var/cache/dev/twig/81/81c7eedc8117371b094370290e66a608.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. /* projects-detail.html.twig */
  14. class __TwigTemplate_3a9da41a5001674263e7cd9c069b6ece 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""projects-detail.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""projects-detail.html.twig"));
  40.         $this->parent $this->loadTemplate("layout.html.twig""projects-detail.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 container--padding--sidebars\">
  58.         <div class=\"container-fluid\">
  59.             <div class=\"row\">
  60.                 <div class=\"col-lg-10 offset-lg-1 px-md-0 pt-md-5\">
  61.                     <section class=\"section--projects section-intro\">
  62.                         <h1>";
  63.         // line 10
  64.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'10$this->source); })()), "title", [], "any"falsefalsetrue10), 10$this->source), "html"nulltrue);
  65.         echo " <br> ";
  66.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'10$this->source); })()), "location", [], "any"falsefalsetrue10), 10$this->source), "html"nulltrue);
  67.         echo "</h1>
  68.                     </section>
  69.                 </div>
  70.             </div><!--/ .row -->
  71.         
  72.             <div class=\"card__project\">            
  73.             ";
  74.         // line 16
  75.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'16$this->source); })()), "photos", [], "any"falsefalsetrue16)) > 1)) {
  76.             // line 17
  77.             echo "                <div class=\"swiper swiper--project-detail\" id=\"project-detail-slider\">
  78.                     <div class=\"swiper-wrapper\">
  79.                         ";
  80.             // line 19
  81.             $context['_parent'] = $context;
  82.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'19$this->source); })()), "photos", [], "any"falsefalsetrue19), "items", [], "any"falsefalsetrue19));
  83.             $context['loop'] = [
  84.               'parent' => $context['_parent'],
  85.               'index0' => 0,
  86.               'index'  => 1,
  87.               'first'  => true,
  88.             ];
  89.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  90.                 $length count($context['_seq']);
  91.                 $context['loop']['revindex0'] = $length 1;
  92.                 $context['loop']['revindex'] = $length;
  93.                 $context['loop']['length'] = $length;
  94.                 $context['loop']['last'] = === $length;
  95.             }
  96.             foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
  97.                 // line 20
  98.                 echo "                            <div class=\"swiper-slide\">
  99.                                 <div class=\"img-wrapper\">
  100.                                     ";
  101.                 // line 22
  102.                 echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["photo"], "getThumbnail", ["ProjectDetailSliderThumbnail"], "method"falsefalsetrue22), "html", [["imgAttributes" => ["loading" => (((twig_get_attribute($this->env$this->source,                 // line 24
  103. $context["loop"], "index", [], "any"falsefalsetrue24) != 1)) ? ("lazy") : ("eager"))]]], "method"falsefalsetrue22), 22$this->source);
  104.                 // line 26
  105.                 echo "
  106.                                 </div>
  107.                                 <p class=\"slide-title\">";
  108.                 // line 29
  109.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'29$this->source); })()), "title", [], "any"falsefalsetrue29), 29$this->source), "html"nulltrue);
  110.                 echo " &mdash; ";
  111.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'29$this->source); })()), "location", [], "any"falsefalsetrue29), 29$this->source), "html"nulltrue);
  112.                 echo "</p>
  113.                             </div>
  114.                         ";
  115.                 ++$context['loop']['index0'];
  116.                 ++$context['loop']['index'];
  117.                 $context['loop']['first'] = false;
  118.                 if (isset($context['loop']['length'])) {
  119.                     --$context['loop']['revindex0'];
  120.                     --$context['loop']['revindex'];
  121.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  122.                 }
  123.             }
  124.             $_parent $context['_parent'];
  125.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
  126.             $context array_intersect_key($context$_parent) + $_parent;
  127.             // line 32
  128.             echo "                    </div>
  129.                     <div class=\"swiper-button-prev\"></div>
  130.                     <div class=\"swiper-button-next\"></div>
  131.                 </div>
  132.             ";
  133.         } elseif ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 37
  134. (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'37$this->source); })()), "photos", [], "any"falsefalsetrue37), "items", [], "any"falsefalsetrue37)) == 1)) {
  135.             // line 38
  136.             echo "                <div class=\"row\">
  137.                     <div class=\"col-lg-10 offset-lg-1 px-md-0\">
  138.                         <div class=\"img-wrapper\">
  139.                             ";
  140.             // line 41
  141.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'41$this->source); })()), "photos", [], "any"falsefalsetrue41), "items", [], "any"falsefalsetrue41), 0, [], "array"falsefalsetrue41), "getThumbnail", ["ProjectDetailSliderThumbnail"], "method"falsefalsetrue41), "html", [["imgAttributes" => ["loading" => "eager"]]], "method"falsefalsetrue41), 41$this->source);
  142.             // line 45
  143.             echo "
  144.                             <p class=\"slide-title\">";
  145.             // line 47
  146.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'47$this->source); })()), "title", [], "any"falsefalsetrue47), 47$this->source), "html"nulltrue);
  147.             echo " &mdash; ";
  148.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'47$this->source); })()), "location", [], "any"falsefalsetrue47), 47$this->source), "html"nulltrue);
  149.             echo "</p>
  150.                         </div>
  151.                     </div>
  152.                 </div><!--/ .row -->
  153.             ";
  154.         }
  155.         // line 52
  156.         echo "            </div>
  157.             <div class=\"row\">
  158.                 <div class=\"col-lg-10 offset-lg-1\">
  159.                     <div class=\"row section__padding\">
  160.                         <div class=\"project-detail-intro\">
  161.                             ";
  162.         // line 58
  163.         echo twig_nl2br(twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'58$this->source); })()), "description", [], "any"falsefalsetrue58), 58$this->source), "html"nulltrue));
  164.         echo "
  165.                         </div>
  166.                     </div>
  167.                     ";
  168.         // line 62
  169.         if (twig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'62$this->source); })()), "link", [], "any"falsefalsetrue62)) {
  170.             // line 63
  171.             echo "                    <div class=\"row btn__appointment\">
  172.                         <div class=\"d-flex justify-content-center\">
  173.                             <a href=\"";
  174.             // line 65
  175.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'65$this->source); })()), "link", [], "any"falsefalsetrue65), "getHref", [], "method"falsefalsetrue65), 65$this->source), "html"nulltrue);
  176.             echo "\" class=\"btn btn-dark\">";
  177.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'65$this->source); })()), "link", [], "any"falsefalsetrue65), "getText", [], "method"falsefalsetrue65), 65$this->source), "html"nulltrue);
  178.             echo "</a>
  179.                         </div>
  180.                     </div>
  181.                     ";
  182.         }
  183.         // line 69
  184.         echo "                </div>
  185.             </div><!--/ .row -->
  186.         </div><!--/ .container -->
  187.         <section class=\"section--richcontent\">
  188.         ";
  189.         // line 74
  190.         $context['_parent'] = $context;
  191.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["project"]) || array_key_exists("project"$context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.'74$this->source); })()), "contentBlocks", [], "any"falsefalsetrue74));
  192.         $context['loop'] = [
  193.           'parent' => $context['_parent'],
  194.           'index0' => 0,
  195.           'index'  => 1,
  196.           'first'  => true,
  197.         ];
  198.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  199.             $length count($context['_seq']);
  200.             $context['loop']['revindex0'] = $length 1;
  201.             $context['loop']['revindex'] = $length;
  202.             $context['loop']['length'] = $length;
  203.             $context['loop']['last'] = === $length;
  204.         }
  205.         foreach ($context['_seq'] as $context["_key"] => $context["contentBlock"]) {
  206.             // line 75
  207.             echo "            ";
  208.             $this->loadTemplate((("content/" twig_get_attribute($this->env$this->source$context["contentBlock"], "type", [], "any"falsefalsetrue75)) . ".html.twig"), "projects-detail.html.twig"75)->display(twig_array_merge($context, ["contentBlock" => $context["contentBlock"]]));
  209.             // line 76
  210.             echo "        ";
  211.             ++$context['loop']['index0'];
  212.             ++$context['loop']['index'];
  213.             $context['loop']['first'] = false;
  214.             if (isset($context['loop']['length'])) {
  215.                 --$context['loop']['revindex0'];
  216.                 --$context['loop']['revindex'];
  217.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  218.             }
  219.         }
  220.         $_parent $context['_parent'];
  221.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['contentBlock'], $context['_parent'], $context['loop']);
  222.         $context array_intersect_key($context$_parent) + $_parent;
  223.         // line 77
  224.         echo "        </section>
  225.         <section class=\"container-fluid section--filter\">
  226.             <div class=\"row\">
  227.                 <div class=\"col-lg-10 offset-lg-1\">
  228.                     <div class=\"section--head\">
  229.                         <h2>";
  230.         // line 83
  231.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Bekijk onze andere projecten"), "html"nulltrue);
  232.         echo "</h2>
  233.                         <p>";
  234.         // line 85
  235.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Intro voor bekijk onze andere projecten"), "html"nulltrue);
  236.         echo "</p>
  237.                     </div>
  238.                     <div class=\"row gx-xl-5\">
  239.                         ";
  240.         // line 90
  241.         echo "                        ";
  242.         if (twig_get_attribute($this->env$this->source, ($context["quotes"] ?? null), 0, [], "array"truetruetrue90)) {
  243.             // line 91
  244.             echo "                        <div class=\"col-sm-6 col-lg-4\">
  245.                             <blockquote class=\"quote-item\">
  246.                                 <p>";
  247.             // line 93
  248.             echo twig_nl2br(twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["quotes"]) || array_key_exists("quotes"$context) ? $context["quotes"] : (function () { throw new RuntimeError('Variable "quotes" does not exist.'93$this->source); })()), 0, [], "array"falsefalsetrue93), "text", [], "any"falsefalsetrue93), 93$this->source), "html"nulltrue));
  249.             echo "</p>
  250.                                 <p class=\"quote-item__author\">";
  251.             // line 95
  252.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["quotes"]) || array_key_exists("quotes"$context) ? $context["quotes"] : (function () { throw new RuntimeError('Variable "quotes" does not exist.'95$this->source); })()), 0, [], "array"falsefalsetrue95), "author", [], "any"falsefalsetrue95), 95$this->source), "html"nulltrue);
  253.             echo "</p>
  254.                             </blockquote>
  255.                         </div>
  256.                         ";
  257.         }
  258.         // line 99
  259.         echo "                        
  260.                         ";
  261.         // line 100
  262.         $context['_parent'] = $context;
  263.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["project"], "relatedProjects", [], "any"falsefalsetrue100));
  264.         $context['loop'] = [
  265.           'parent' => $context['_parent'],
  266.           'index0' => 0,
  267.           'index'  => 1,
  268.           'first'  => true,
  269.         ];
  270.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  271.             $length count($context['_seq']);
  272.             $context['loop']['revindex0'] = $length 1;
  273.             $context['loop']['revindex'] = $length;
  274.             $context['loop']['length'] = $length;
  275.             $context['loop']['last'] = === $length;
  276.         }
  277.         foreach ($context['_seq'] as $context["_key"] => $context["project"]) {
  278.             // line 101
  279.             echo "                            ";
  280.             $context["url"] = $this->extensions['App\Twig\Extension\ProjectExtension']->generateLink($this->sandbox->ensureToStringAllowed($context["project"], 101$this->source));
  281.             // line 102
  282.             echo "                        
  283.                             <div class=\"col-sm-6 col-lg-4\">
  284.                                 <a class=\"project-item\" href=\"";
  285.             // line 104
  286.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["url"]) || array_key_exists("url"$context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.'104$this->source); })()), 104$this->source), "html"nulltrue);
  287.             echo "\">
  288.                                     <div class=\"project-item__img\">
  289.                                         ";
  290.             // line 106
  291.             if (twig_get_attribute($this->env$this->source$context["project"], "photoIndex", [], "any"falsefalsetrue106)) {
  292.                 // line 107
  293.                 echo "                                        <div class=\"img-wrapper\">";
  294.                 echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["project"], "photoIndex", [], "any"falsefalsetrue107), "thumbnail", ["ProjectIndexThumbnail"], "method"falsefalsetrue107), "html", [], "any"falsefalsetrue107), 107$this->source);
  295.                 echo "</div>
  296.                                         ";
  297.             } else {
  298.                 // line 109
  299.                 echo "                                        <img src=\"https://via.placeholder.com/609x404/ccc\" alt=\"\" class=\"img-fluid\">
  300.                                         ";
  301.             }
  302.             // line 111
  303.             echo "                                    </div>
  304.                                     <div class=\"project-item__title\">";
  305.             // line 113
  306.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["project"], "getTitle", [], "method"falsefalsetrue113), 113$this->source), "html"nulltrue);
  307.             echo " - ";
  308.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["project"], "getLocation", [], "method"falsefalsetrue113), 113$this->source), "html"nulltrue);
  309.             echo " </div>
  310.                                 </a>
  311.                             </div>
  312.                             ";
  313.             // line 118
  314.             echo "                            ";
  315.             if (twig_get_attribute($this->env$this->source, ($context["quotes"] ?? null), twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue118), [], "array"truetruetrue118)) {
  316.                 // line 119
  317.                 echo "                            <div class=\"col-sm-6 col-lg-4\">
  318.                                 <blockquote class=\"quote-item\">
  319.                                     <p>";
  320.                 // line 121
  321.                 echo twig_nl2br(twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["quotes"]) || array_key_exists("quotes"$context) ? $context["quotes"] : (function () { throw new RuntimeError('Variable "quotes" does not exist.'121$this->source); })()), twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue121), [], "array"falsefalsetrue121), "text", [], "any"falsefalsetrue121), 121$this->source), "html"nulltrue));
  322.                 echo "</p>
  323.                                     <p class=\"quote-item__author\">";
  324.                 // line 123
  325.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["quotes"]) || array_key_exists("quotes"$context) ? $context["quotes"] : (function () { throw new RuntimeError('Variable "quotes" does not exist.'123$this->source); })()), twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue123), [], "array"falsefalsetrue123), "author", [], "any"falsefalsetrue123), 123$this->source), "html"nulltrue);
  326.                 echo "</p>
  327.                                 </blockquote>
  328.                             </div>
  329.                             ";
  330.             }
  331.             // line 127
  332.             echo "                        ";
  333.             ++$context['loop']['index0'];
  334.             ++$context['loop']['index'];
  335.             $context['loop']['first'] = false;
  336.             if (isset($context['loop']['length'])) {
  337.                 --$context['loop']['revindex0'];
  338.                 --$context['loop']['revindex'];
  339.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  340.             }
  341.         }
  342.         $_parent $context['_parent'];
  343.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['project'], $context['_parent'], $context['loop']);
  344.         $context array_intersect_key($context$_parent) + $_parent;
  345.         // line 128
  346.         echo "                    </div>
  347.                 </div>
  348.             </div>
  349.         </section>
  350.         <div class=\"white--space\"></div>
  351.     </main>
  352. ";
  353.         
  354.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  355.         
  356.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  357.     }
  358.     public function getTemplateName()
  359.     {
  360.         return "projects-detail.html.twig";
  361.     }
  362.     public function isTraitable()
  363.     {
  364.         return false;
  365.     }
  366.     public function getDebugInfo()
  367.     {
  368.         return array (  373 => 128,  359 => 127,  352 => 123,  347 => 121,  343 => 119,  340 => 118,  331 => 113,  327 => 111,  323 => 109,  317 => 107,  315 => 106,  310 => 104,  306 => 102,  303 => 101,  286 => 100,  283 => 99,  276 => 95,  271 => 93,  267 => 91,  264 => 90,  257 => 85,  252 => 83,  244 => 77,  230 => 76,  227 => 75,  210 => 74,  203 => 69,  194 => 65,  190 => 63,  188 => 62,  181 => 58,  173 => 52,  163 => 47,  159 => 45,  157 => 41,  152 => 38,  150 => 37,  143 => 32,  124 => 29,  119 => 26,  117 => 24,  116 => 22,  112 => 20,  95 => 19,  91 => 17,  89 => 16,  78 => 10,  70 => 4,  60 => 3,  37 => 1,);
  369.     }
  370.     public function getSourceContext()
  371.     {
  372.         return new Source("{% extends 'layout.html.twig' %}
  373. {% block content %}
  374.     <main class=\"main container--padding--sidebars\">
  375.         <div class=\"container-fluid\">
  376.             <div class=\"row\">
  377.                 <div class=\"col-lg-10 offset-lg-1 px-md-0 pt-md-5\">
  378.                     <section class=\"section--projects section-intro\">
  379.                         <h1>{{ project.title }} <br> {{ project.location }}</h1>
  380.                     </section>
  381.                 </div>
  382.             </div><!--/ .row -->
  383.         
  384.             <div class=\"card__project\">            
  385.             {% if project.photos|length > 1 %}
  386.                 <div class=\"swiper swiper--project-detail\" id=\"project-detail-slider\">
  387.                     <div class=\"swiper-wrapper\">
  388.                         {% for photo in project.photos.items %}
  389.                             <div class=\"swiper-slide\">
  390.                                 <div class=\"img-wrapper\">
  391.                                     {{ photo.getThumbnail('ProjectDetailSliderThumbnail').html({
  392.                                         'imgAttributes': {
  393.                                             'loading': loop.index != 1 ? 'lazy': 'eager'
  394.                                         }
  395.                                     })|raw }}
  396.                                 </div>
  397.                                 <p class=\"slide-title\">{{ project.title }} &mdash; {{ project.location }}{# &mdash; {{ 'Architect:' | trans }} {{ project.architect }} #}</p>
  398.                             </div>
  399.                         {% endfor %}
  400.                     </div>
  401.                     <div class=\"swiper-button-prev\"></div>
  402.                     <div class=\"swiper-button-next\"></div>
  403.                 </div>
  404.             {% elseif project.photos.items|length == 1 %}
  405.                 <div class=\"row\">
  406.                     <div class=\"col-lg-10 offset-lg-1 px-md-0\">
  407.                         <div class=\"img-wrapper\">
  408.                             {{ project.photos.items[0].getThumbnail('ProjectDetailSliderThumbnail').html({
  409.                                 'imgAttributes': {
  410.                                     'loading': 'eager'
  411.                                 }
  412.                             })|raw }}
  413.                             <p class=\"slide-title\">{{ project.title }} &mdash; {{ project.location }}{# &mdash; {{ 'Architect:' | trans }} {{ project.architect }} #}</p>
  414.                         </div>
  415.                     </div>
  416.                 </div><!--/ .row -->
  417.             {% endif %}
  418.             </div>
  419.             <div class=\"row\">
  420.                 <div class=\"col-lg-10 offset-lg-1\">
  421.                     <div class=\"row section__padding\">
  422.                         <div class=\"project-detail-intro\">
  423.                             {{ project.description|nl2br }}
  424.                         </div>
  425.                     </div>
  426.                     {% if project.link %}
  427.                     <div class=\"row btn__appointment\">
  428.                         <div class=\"d-flex justify-content-center\">
  429.                             <a href=\"{{ project.link.getHref()  }}\" class=\"btn btn-dark\">{{ project.link.getText() }}</a>
  430.                         </div>
  431.                     </div>
  432.                     {% endif %}
  433.                 </div>
  434.             </div><!--/ .row -->
  435.         </div><!--/ .container -->
  436.         <section class=\"section--richcontent\">
  437.         {% for contentBlock in project.contentBlocks %}
  438.             {% include 'content/' ~ contentBlock.type ~ '.html.twig' with {'contentBlock': contentBlock} %}
  439.         {% endfor %}
  440.         </section>
  441.         <section class=\"container-fluid section--filter\">
  442.             <div class=\"row\">
  443.                 <div class=\"col-lg-10 offset-lg-1\">
  444.                     <div class=\"section--head\">
  445.                         <h2>{{ 'Bekijk onze andere projecten' | trans }}</h2>
  446.                         <p>{{ 'Intro voor bekijk onze andere projecten' | trans }}</p>
  447.                     </div>
  448.                     <div class=\"row gx-xl-5\">
  449.                         {# Inject first position block if necessary #}
  450.                         {% if quotes[0] is defined %}
  451.                         <div class=\"col-sm-6 col-lg-4\">
  452.                             <blockquote class=\"quote-item\">
  453.                                 <p>{{ quotes[0].text|nl2br }}</p>
  454.                                 <p class=\"quote-item__author\">{{ quotes[0].author }}</p>
  455.                             </blockquote>
  456.                         </div>
  457.                         {% endif %}
  458.                         
  459.                         {% for project in project.relatedProjects %}
  460.                             {% set url = app_project_detaillink(project) %}
  461.                         
  462.                             <div class=\"col-sm-6 col-lg-4\">
  463.                                 <a class=\"project-item\" href=\"{{ url }}\">
  464.                                     <div class=\"project-item__img\">
  465.                                         {% if project.photoIndex %}
  466.                                         <div class=\"img-wrapper\">{{ project.photoIndex.thumbnail('ProjectIndexThumbnail').html|raw }}</div>
  467.                                         {% else %}
  468.                                         <img src=\"https://via.placeholder.com/609x404/ccc\" alt=\"\" class=\"img-fluid\">
  469.                                         {% endif %}
  470.                                     </div>
  471.                                     <div class=\"project-item__title\">{{ project.getTitle() }} - {{ project.getLocation() }} </div>
  472.                                 </a>
  473.                             </div>
  474.                             {# Inject quote block if necessary #}
  475.                             {% if quotes[loop.index] is defined %}
  476.                             <div class=\"col-sm-6 col-lg-4\">
  477.                                 <blockquote class=\"quote-item\">
  478.                                     <p>{{ quotes[loop.index].text|nl2br }}</p>
  479.                                     <p class=\"quote-item__author\">{{ quotes[loop.index].author }}</p>
  480.                                 </blockquote>
  481.                             </div>
  482.                             {% endif %}
  483.                         {% endfor %}
  484.                     </div>
  485.                 </div>
  486.             </div>
  487.         </section>
  488.         <div class=\"white--space\"></div>
  489.     </main>
  490. {% endblock %}""projects-detail.html.twig""/data/sites/web/gc-architectenntrigapimbe/subsites/gc2025.dspdev.be/templates/projects-detail.html.twig");
  491.     }
  492.     
  493.     public function checkSecurity()
  494.     {
  495.         static $tags = array("if" => 16"for" => 19"include" => 75"set" => 101);
  496.         static $filters = array("escape" => 10"length" => 16"raw" => 26"nl2br" => 58"trans" => 83);
  497.         static $functions = array("app_project_detaillink" => 101);
  498.         try {
  499.             $this->sandbox->checkSecurity(
  500.                 ['if''for''include''set'],
  501.                 ['escape''length''raw''nl2br''trans'],
  502.                 ['app_project_detaillink']
  503.             );
  504.         } catch (SecurityError $e) {
  505.             $e->setSourceContext($this->source);
  506.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  507.                 $e->setTemplateLine($tags[$e->getTagName()]);
  508.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  509.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  510.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  511.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  512.             }
  513.             throw $e;
  514.         }
  515.     }
  516. }