<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* home.html.twig */
class __TwigTemplate_5abdbc7dbd8c51d82f4727303af4e068 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "home.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "home.html.twig"));
$this->parent = $this->loadTemplate("layout.html.twig", "home.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo "
<main class=\"main\">
";
// line 7
$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", false, false, true, 7);
// line 8
echo "
<section class=\"section-intro\">
<div class=\"container-fluid\">
<div class=\"row intro-gutter gy-4 align-items-center\">
<div class=\"";
// line 12
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") : (""));
echo " col-lg-6\">
";
// line 13
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 13, $this->source); })())) {
// line 14
echo " <div class=\"row\">
<p class=\"mt-5\">Maak hieronder het aantal slides aan voor de slider op de homepage.</p>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 16
(isset($context["SliderBlocks"]) || array_key_exists("SliderBlocks", $context) ? $context["SliderBlocks"] : (function () { throw new RuntimeError('Variable "SliderBlocks" does not exist.', 16, $this->source); })()), "count", [], "any", false, false, true, 16) > 0)) {
// line 17
echo " <div class=\"home-slider-outer\">
<div class=\"swiper swiper--home-projects home-slider-inner\" id=\"home-projects-slider\">
<div class=\"swiper-wrapper\">
";
}
// line 21
echo "
";
// line 22
$context['_parent'] = $context;
$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", false, false, true, 22));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 23
echo "
";
// line 24
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", false, false, true, 24);
// line 25
echo "
";
// line 26
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 26, $this->source); })())) {
// line 27
echo " <div class=\"col-md-6 mb-3\">
";
}
// line 29
echo "
";
// line 30
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", false, false, true, 30);
// line 31
echo " ";
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
(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
$context["loop"], "index", [], "any", false, false, true, 36) != 1)]);
// line 38
echo "
";
// line 39
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", false, false, true, 39);
// line 40
echo "
";
// line 41
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 41, $this->source); })())) {
// line 42
echo " </div>
";
}
// line 44
echo "
";
// line 45
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", false, false, true, 45);
// line 46
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 47
echo "
";
// line 48
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", false, false, true, 48);
// line 49
echo "
";
// line 50
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 50, $this->source); })())) {
// line 51
echo " </div>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 52
(isset($context["SliderBlocks"]) || array_key_exists("SliderBlocks", $context) ? $context["SliderBlocks"] : (function () { throw new RuntimeError('Variable "SliderBlocks" does not exist.', 52, $this->source); })()), "count", [], "any", false, false, true, 52) > 0)) {
// line 53
echo " </div>
<div class=\"swiper-button-prev\"></div>
<div class=\"swiper-button-next\"></div>
</div>
</div>
";
}
// line 61
echo " </div>
<div class=\"";
// line 63
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") : (""));
echo " col-lg-5\">
<div class=\"home-intro\">
";
// line 65
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "intro", ["placeholder" => "Intro..."]);
echo "
</div>
</div>
</div>
</div><!--/ .container-fluid -->
</section>
";
// line 86
echo "
";
// line 88
echo "
";
// line 95
echo "
";
// line 99
echo "
";
// line 105
echo "
<section class=\"section--richcontent\">
";
// line 107
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "contentAreaBlock");
echo "
</section>
<section class=\"section--ctas\">
<div class=\"container-fluid\">
<div class=\"row justify-content-center\">
<div class=\"col-lg-10 px-md-0\">
<h2 class=\"pb-3 pb-md-5\">";
// line 114
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "ctasTitle", ["placeholder" => "Titel...", "nl2br" => true]);
echo "</h2>
</div>
</div><!--/ .row -->
";
// line 118
$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", false, false, true, 118);
// line 119
echo " ";
$context["colors"] = ["dark", "medium", "light"];
// line 120
echo "
<div class=\"row gx-xl-5\">
";
// line 122
$context['_parent'] = $context;
$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", false, false, true, 122));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 123
echo " ";
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", false, false, true, 123);
// line 124
echo "
";
// line 125
$context["color"] = (((twig_get_attribute($this->env, $this->source, ($context["colors"] ?? null), $context["i"], [], "array", true, true, true, 125) && !(null === twig_get_attribute($this->env, $this->source, ($context["colors"] ?? null), $context["i"], [], "array", false, false, true, 125)))) ? (twig_get_attribute($this->env, $this->source, ($context["colors"] ?? null), $context["i"], [], "array", false, false, true, 125)) : ("light"));
// line 126
echo "
<div class=\"col-12 col-md-6 col-lg-4 d-flex flex-column\">
";
// line 128
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", false, false, true, 128);
// line 129
echo "
";
// line 130
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 130, $this->source); })())) {
// line 131
echo " <span class=\"box box-gray-";
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", null, true);
echo "\">
";
} else {
// line 133
echo " ";
$context["link"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "introLink");
// line 134
echo " <a href=\"";
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", false, false, true, 134), 134, $this->source), "html", null, true);
echo "\" class=\"box box-gray-";
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", null, true);
echo "\">
";
}
// line 136
echo "
<h3 class=\"title\">";
// line 137
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "title", ["placeholder" => "Titel..."]);
echo "</h3>
<p>";
// line 139
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", false, false, true, 139), 139, $this->source);
echo "</p>
";
// line 141
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 141, $this->source); })())) {
// line 142
echo " ";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "introLink", ["class" => "btn btn-primary"]);
echo "
";
} else {
// line 144
echo " <img class=\"arrow\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/img/arrow_block.png"), "html", null, true);
echo "\" alt=\"\">
";
}
// line 146
echo " ";
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 146, $this->source); })())) {
// line 147
echo " </span>
";
} else {
// line 149
echo " </a>
";
}
// line 151
echo "
";
// line 152
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", false, false, true, 152);
// line 153
echo " </div>
";
// line 155
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", false, false, true, 155);
// line 156
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 157
echo "
";
// line 158
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", false, false, true, 158);
// line 159
echo " </div><!--/ .row -->
<div class=\"row justify-content-center\">
<div class=\"col-lg-10 text-center px-md-0\">
";
// line 163
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "introLink", ["class" => "btn btn-dark text-uppercase", "placeholder" => "Knop..."]);
echo "
</div>
</div><!--/ .row -->
</div><!--/ .container -->
</section>
<section class=\"section--richcontent\">
";
// line 170
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "contentAreaBlock2");
echo "
</section>
<div class=\"content-block\">
";
// line 175
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "snippet", "review_snippet");
echo "
</div>
</main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "home.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout.html.twig' %}
{% block content %}
<main class=\"main\">
{% set SliderBlocks = pimcore_block('SliderBlocks', {'reload': true, 'manual': true}).start() %}
<section class=\"section-intro\">
<div class=\"container-fluid\">
<div class=\"row intro-gutter gy-4 align-items-center\">
<div class=\"{{ editmode ? 'col-md-6' : '' }} col-lg-6\">
{% if editmode %}
<div class=\"row\">
<p class=\"mt-5\">Maak hieronder het aantal slides aan voor de slider op de homepage.</p>
{% elseif SliderBlocks.count > 0 %}
<div class=\"home-slider-outer\">
<div class=\"swiper swiper--home-projects home-slider-inner\" id=\"home-projects-slider\">
<div class=\"swiper-wrapper\">
{% endif %}
{% for i in SliderBlocks.iterator %}
{% do SliderBlocks.blockConstruct() %}
{% if editmode %}
<div class=\"col-md-6 mb-3\">
{% endif %}
{% do SliderBlocks.blockStart() %}
{{
pimcore_renderlet('project', {
\"title\": 'Sleep hier een project in de slider...',
\"controller\": \"App\\\\Controller\\\\HomeController::HomeSliderRenderletAction\",
\"editmode\": editmode,
\"lazy\": loop.index != 1
})
}}
{% do SliderBlocks.blockEnd() %}
{% if editmode %}
</div>
{% endif %}
{% do SliderBlocks.blockDestruct() %}
{% endfor %}
{% do SliderBlocks.end() %}
{% if editmode %}
</div>
{% elseif SliderBlocks.count > 0 %}
</div>
<div class=\"swiper-button-prev\"></div>
<div class=\"swiper-button-next\"></div>
</div>
</div>
{% endif %}
</div>
<div class=\"{{ editmode ? 'col-md-6' : '' }} col-lg-5\">
<div class=\"home-intro\">
{{ pimcore_wysiwyg('intro', {'placeholder': 'Intro...'}) }}
</div>
</div>
</div>
</div><!--/ .container-fluid -->
</section>
{# {% if projects|length %}#}
{# <div class=\"home-slider-outer\">#}
{# <div class=\"swiper swiper--home-projects home-slider-inner\" id=\"home-projects-slider\">#}
{# <div class=\"swiper-wrapper\">#}
{# {% for project in projects %}#}
{# {% set img_src = project.photoIndexLarge ? project.photoIndexLarge.thumbnail('ProjectRenderletThumbnail') : 'https://via.placeholder.com/2000x1125/ccc' %}#}
{# <div class=\"swiper-slide\" style=\"background-image: url('{{ img_src }}');\">#}
{# {% set url = app_project_detaillink(project) %}#}
{# <a href=\"{{ url }}\">#}
{# <p class=\"title\">{{ project.title }} <span class=\"mx-2\">—</span> {{ project.location }}</p>#}
{# </a>#}
{# </div>#}
{# {% endfor %}#}
{# </div>#}
{# <div class=\"swiper-button-prev\"></div>#}
{# <div class=\"swiper-button-next\"></div>#}
{# </div>#}
{# <button class=\"home-slider-down d-none d-md-block\" id=\"go-down\">#}
{# <img src=\"{{ asset('/img/arrow_down_scroll.png') }}\" alt=\"\">#}
{# </button>#}
{# </div>#}
{# {% endif %}#}
<section class=\"section--richcontent\">
{{ pimcore_areablock(\"contentAreaBlock\") }}
</section>
<section class=\"section--ctas\">
<div class=\"container-fluid\">
<div class=\"row justify-content-center\">
<div class=\"col-lg-10 px-md-0\">
<h2 class=\"pb-3 pb-md-5\">{{ pimcore_textarea('ctasTitle', {'placeholder': 'Titel...', 'nl2br': true}) }}</h2>
</div>
</div><!--/ .row -->
{% set highlightBlocks = pimcore_block('highlightblock', {'reload': true, 'manual': true}).start() %}
{% set colors = ['dark', 'medium', 'light'] %}
<div class=\"row gx-xl-5\">
{% for i in highlightBlocks.iterator %}
{% do highlightBlocks.blockConstruct() %}
{% set color = colors[i] ?? 'light' %}
<div class=\"col-12 col-md-6 col-lg-4 d-flex flex-column\">
{% do highlightBlocks.blockStart() %}
{% if editmode %}
<span class=\"box box-gray-{{ color }}\">
{% else %}
{% set link = pimcore_link('introLink') %}
<a href=\"{{ link.getHref() }}\" class=\"box box-gray-{{ color }}\">
{% endif %}
<h3 class=\"title\">{{ pimcore_input('title', {'placeholder': 'Titel...'}) }}</h3>
<p>{{ pimcore_textarea(\"intro\", {\"nl2br\": true, 'placeholder': 'Intro...'}).render()|raw }}</p>
{% if editmode %}
{{ pimcore_link('introLink', {'class': 'btn btn-primary'}) }}
{% else %}
<img class=\"arrow\" src=\"{{ asset('/img/arrow_block.png') }}\" alt=\"\">
{% endif %}
{% if editmode %}
</span>
{% else %}
</a>
{% endif %}
{% do highlightBlocks.blockEnd() %}
</div>
{% do highlightBlocks.blockDestruct() %}
{% endfor %}
{% do highlightBlocks.end() %}
</div><!--/ .row -->
<div class=\"row justify-content-center\">
<div class=\"col-lg-10 text-center px-md-0\">
{{ pimcore_link('introLink', {'class': 'btn btn-dark text-uppercase', \"placeholder\": \"Knop...\"}) }}
</div>
</div><!--/ .row -->
</div><!--/ .container -->
</section>
<section class=\"section--richcontent\">
{{ pimcore_areablock(\"contentAreaBlock2\") }}
</section>
<div class=\"content-block\">
{{ pimcore_snippet('review_snippet') }}
</div>
</main>
{% endblock %}", "home.html.twig", "/data/sites/web/gc-architectenntrigapimbe/subsites/gc2025.dspdev.be/templates/home.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 7, "if" => 13, "for" => 22, "do" => 24);
static $filters = array("escape" => 131, "raw" => 139);
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);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for', 'do'],
['escape', 'raw'],
['pimcore_block', 'pimcore_renderlet', 'pimcore_wysiwyg', 'pimcore_areablock', 'pimcore_textarea', 'pimcore_link', 'pimcore_input', 'asset', 'pimcore_snippet']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}