<?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;
/* content/homepage.html.twig */
class __TwigTemplate_da0c89dcbaa5f9e84770f4b846c3fce5 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 $this->loadTemplate($this->extensions['App\Twig\Extension\WebsiteExtension']->getBaseLayout(), "content/homepage.html.twig", 1);
}
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", "content/homepage.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/homepage.html.twig"));
$this->getParent($context)->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 "
<div class=\"container\">
";
// line 7
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 7, $this->source); })())) {
// line 8
echo " <div class=\"row\">
<div class=\"col-12\">
<p class=\"advice\">";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("tip: Door op het plusteken te klikken kun je kiezen welke inhoudelijke blok je kan toevoegen.", [], "admin"), "html", null, true);
echo "</p>
</div>
</div>
";
}
// line 14
echo " <div class=\"row\">
<div class=\"col-12\">
";
// line 16
echo twig_include($this->env, $context, "includes/default-content.html.twig");
echo "
</div>
</div>
</div>
";
// line 34
echo "
<div class=\"container my-5 py-5\">
<div class=\"row\">
<div class=\"col-lg-3 zeilen mb-5 mb-lg-0\">
";
// line 38
if (array_key_exists("blogsZeilen", $context)) {
// line 39
echo "
<div class=\"d-flex align-items-end cat-header-icon\">
<div class=\"mb-5 text-center\">
";
// line 44
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 44, $this->source); })())) {
// line 45
echo " <br>
";
// line 46
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "zeilenicon");
echo "
";
}
// line 48
echo "
";
// line 49
if (( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 49, $this->source); })()) && !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "zeilenicon"), "isEmpty", [], "method", false, false, true, 49))) {
// line 50
echo "
<img src=\"";
// line 51
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "zeilenicon"), "getThumbnail", [0 => "homepage-icon"], "method", false, false, true, 51), 51, $this->source), "html", null, true);
echo "\"
title=\"";
// line 52
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "zeilenicon"), "getText", [], "method", false, false, true, 52), 52, $this->source), "html", null, true);
echo "\"
alt=\"";
// line 53
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "zeilenicon"), "getAlt", [], "method", false, false, true, 53), 53, $this->source), "html", null, true);
echo "\" class=\"img-fluid w-50 mx-auto mb-3\">
";
}
// line 56
echo "
<h2 class=\"text-center underline underline-zeilen position-relative\">";
// line 58
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("zeilen", []), "html", null, true);
echo "</h2>
</div></div>
<div class=\"row\">
";
// line 64
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["blogsZeilen"]) || array_key_exists("blogsZeilen", $context) ? $context["blogsZeilen"] : (function () { throw new RuntimeError('Variable "blogsZeilen" does not exist.', 64, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["blog"]) {
// line 65
echo " <div class=\"col-12 mb-5\">
<div class=\"blog\">
<a href=\"";
// line 68
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getFullPath", [], "method", false, false, true, 68), 68, $this->source), "html", null, true);
echo "\">
<div class=\"blog-date text-black\">
";
// line 70
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "publicationDate"], "method", false, false, true, 70), "getData", [], "method", false, false, true, 70), 70, $this->source), "full", "none", "", null, "gregorian", "nl"), "html", null, true);
echo "
</div>
<img src=\"";
// line 72
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "publicationHeader"], "method", false, false, true, 72), "getThumbnail", [0 => "news-homepage-thumb"], "method", false, false, true, 72), 72, $this->source), "html", null, true);
echo "\" class=\"img-fluid mb-3 d-inline-block\">
";
// line 74
echo "
";
// line 77
echo "
";
// line 82
echo "
<div class=\"position-relative news-text text-black\">
<h5 class=\"text-uppercase text-black\">
";
// line 86
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "articleTitle"], "method", false, false, true, 86), 86, $this->source), "html", null, true);
echo "</h5>
<p class=\"text-black text-opacity-50\">
";
// line 90
echo " ";
echo $this->extensions['App\Twig\Extension\TruncateExtension']->truncateContent($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "articleContent"], "method", false, false, true, 90), 90, $this->source), 150, "...");
echo "
</p>
<a href=\"";
// line 93
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getFullPath", [], "method", false, false, true, 93), 93, $this->source), "html", null, true);
echo "\" class=\"text-link\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Lees meer", []), "html", null, true);
echo "</a>
</div>
</a>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['blog'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 100
echo " </div>
";
}
// line 102
echo "
<div class=\"row\"><div class=\"col-12 text-end\">
<a href=\"";
// line 104
echo twig_escape_filter($this->env, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("blog_document"), "html", null, true);
echo "?filter=29\" class=\"text-link\">
";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("LEES ALLES VAN HET ZEILEN", []), "html", null, true);
echo "</a>
</div></div>
</div>
<div class=\"col d-none d-lg-block text-center\">
<div class=\"h-100 separator mx-auto\"></div>
</div>
<div class=\"col-lg-3 surfen mb-5 mb-lg-0\">
";
// line 116
if (array_key_exists("blogsSurfen", $context)) {
// line 117
echo " <div class=\"d-flex align-items-end cat-header-icon\">
<div class=\"mb-5 text-center\">
";
// line 121
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 121, $this->source); })())) {
// line 122
echo " <br>
";
// line 123
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "windsurfenicon");
echo "
";
}
// line 125
echo "
";
// line 126
if (( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 126, $this->source); })()) && !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "windsurfenicon"), "isEmpty", [], "method", false, false, true, 126))) {
// line 127
echo "
<img src=\"";
// line 128
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "windsurfenicon"), "getThumbnail", [0 => "homepage-icon"], "method", false, false, true, 128), 128, $this->source), "html", null, true);
echo "\"
title=\"";
// line 129
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "windsurfenicon"), "getText", [], "method", false, false, true, 129), 129, $this->source), "html", null, true);
echo "\"
alt=\"";
// line 130
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "windsurfenicon"), "getAlt", [], "method", false, false, true, 130), 130, $this->source), "html", null, true);
echo "\" class=\"img-fluid w-50 mx-auto mb-3\">
";
}
// line 133
echo "
<h2 class=\"text-center underline underline-windsurfen position-relative\">";
// line 135
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("windsurfen", []), "html", null, true);
echo "</h2>
</div></div>
<div class=\"row\">
";
// line 141
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["blogsSurfen"]) || array_key_exists("blogsSurfen", $context) ? $context["blogsSurfen"] : (function () { throw new RuntimeError('Variable "blogsSurfen" does not exist.', 141, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["blog"]) {
// line 142
echo " <div class=\"col-12 mb-5\">
<div class=\"blog\">
<a href=\"";
// line 145
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getFullPath", [], "method", false, false, true, 145), 145, $this->source), "html", null, true);
echo "\">
<div class=\"blog-date text-black\">
";
// line 147
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "publicationDate"], "method", false, false, true, 147), "getData", [], "method", false, false, true, 147), 147, $this->source), "full", "none", "", null, "gregorian", "nl"), "html", null, true);
echo "
</div>
<img src=\"";
// line 149
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "publicationHeader"], "method", false, false, true, 149), "getThumbnail", [0 => "news-homepage-thumb"], "method", false, false, true, 149), 149, $this->source), "html", null, true);
echo "\" class=\"img-fluid mb-3 d-inline-block\">
<div class=\"position-relative news-text text-black\">
<h5 class=\"text-uppercase text-black\">
";
// line 153
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "articleTitle"], "method", false, false, true, 153), 153, $this->source), "html", null, true);
echo "</h5>
<p class=\"text-black text-opacity-50\">
";
// line 157
echo " ";
echo $this->extensions['App\Twig\Extension\TruncateExtension']->truncateContent($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "articleContent"], "method", false, false, true, 157), 157, $this->source), 150, "...");
echo "
</p>
<a href=\"";
// line 160
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getFullPath", [], "method", false, false, true, 160), 160, $this->source), "html", null, true);
echo "\" class=\"text-link\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Lees meer", []), "html", null, true);
echo "</a>
</div>
</a>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['blog'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 167
echo " </div>
";
}
// line 169
echo " <div class=\"row\"><div class=\"col-12 text-end\">
<a href=\"";
// line 170
echo twig_escape_filter($this->env, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("blog_document"), "html", null, true);
echo "?filter=28\" class=\"text-link\">
";
// line 171
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("LEES ALLES VAN HET SURFEN", []), "html", null, true);
echo "</a>
</div></div>
</div>
<div class=\"col d-none d-lg-block text-center\">
<div class=\"h-100 separator mx-auto\"></div>
</div>
<div class=\"col-lg-3 suppen\">
";
// line 179
if (array_key_exists("blogsSuppen", $context)) {
// line 180
echo " <div class=\"d-flex align-items-end cat-header-icon\">
<div class=\"mb-5 text-center\">
";
// line 184
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 184, $this->source); })())) {
// line 185
echo " <br>
";
// line 186
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "suppenicon");
echo "
";
}
// line 188
echo "
";
// line 189
if (( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 189, $this->source); })()) && !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "suppenicon"), "isEmpty", [], "method", false, false, true, 189))) {
// line 190
echo "
<img src=\"";
// line 191
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "suppenicon"), "getThumbnail", [0 => "homepage-icon"], "method", false, false, true, 191), 191, $this->source), "html", null, true);
echo "\"
title=\"";
// line 192
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "suppenicon"), "getText", [], "method", false, false, true, 192), 192, $this->source), "html", null, true);
echo "\"
alt=\"";
// line 193
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "suppenicon"), "getAlt", [], "method", false, false, true, 193), 193, $this->source), "html", null, true);
echo "\" class=\"img-fluid w-50 mx-auto mb-3\">
";
}
// line 196
echo "
<h2 class=\"text-center underline underline-suppen position-relative\">";
// line 198
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("suppen", []), "html", null, true);
echo "</h2>
</div></div>
<div class=\"row\">
";
// line 203
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["blogsSuppen"]) || array_key_exists("blogsSuppen", $context) ? $context["blogsSuppen"] : (function () { throw new RuntimeError('Variable "blogsSuppen" does not exist.', 203, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["blog"]) {
// line 204
echo " <div class=\"col-12 mb-5\">
<div class=\"blog\">
<a href=\"";
// line 207
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getFullPath", [], "method", false, false, true, 207), 207, $this->source), "html", null, true);
echo "\" class=\"position-relative d-block\">
<div class=\"blog-date text-black\">
";
// line 209
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "publicationDate"], "method", false, false, true, 209), "getData", [], "method", false, false, true, 209), 209, $this->source), "full", "none", "", null, "gregorian", "nl"), "html", null, true);
echo "
</div>
<img src=\"";
// line 211
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "publicationHeader"], "method", false, false, true, 211), "getThumbnail", [0 => "news-homepage-thumb"], "method", false, false, true, 211), 211, $this->source), "html", null, true);
echo "\" class=\"img-fluid mb-3 d-inline-block\">
";
// line 213
echo "
";
// line 216
echo "
";
// line 221
echo "
<div class=\"position-relative news-text text-black\">
<h5 class=\"text-uppercase text-black\">
";
// line 225
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "articleTitle"], "method", false, false, true, 225), 225, $this->source), "html", null, true);
echo "</h5>
<p class=\"text-black text-opacity-50\">
";
// line 229
echo " ";
echo $this->extensions['App\Twig\Extension\TruncateExtension']->truncateContent($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getEditable", [0 => "articleContent"], "method", false, false, true, 229), 229, $this->source), 150, "...");
echo "
</p>
<a href=\"";
// line 232
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["blog"], "getFullPath", [], "method", false, false, true, 232), 232, $this->source), "html", null, true);
echo "\" class=\"text-link\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Lees meer", []), "html", null, true);
echo "</a>
</div>
</a>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['blog'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 239
echo " </div>
";
}
// line 241
echo " <div class=\"row\"><div class=\"col-12 text-end\">
<a href=\"";
// line 242
echo twig_escape_filter($this->env, $this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("blog_document"), "html", null, true);
echo "?filter=27\" class=\"text-link\">
";
// line 243
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("LEES ALLES VAN HET SUPPEN", []), "html", null, true);
echo "</a>
</div></div>
</div>
";
// line 260
echo "
</div>
</div>
<div class=\"break-out my-5\">
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-12 p-0\">
<div class=\"row overflow-row g-0 justify-content-between\">
";
// line 276
echo "
<div class=\"breakoutimg col-12 col-lg-4 position-relative mb-lg-0\"
style=\"z-index: -1;\">
<div class=\"col bg-secondary bg-opacity-25 d-block h-100 w-100\">
</div>
</div><!--end col-->
<div class=\"bgsail col-12 col-lg-5 position-relative mb-lg-0\"
style=\"z-index: -1;\">
<div class=\"col d-block h-100 w-100\">
</div>
</div><!--end col-->
</div>
<div class=\"container overflow-content start-0 end-0 top-0\">
<div class=\"row h-100\">
";
// line 304
echo " <div class=\"col-12 col-lg-6 position-relative py-5\">
";
// line 306
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 306, $this->source); })())) {
// line 307
echo " <br>
";
// line 308
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "goldpartners");
echo "
";
}
// line 310
echo "
";
// line 311
if (( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 311, $this->source); })()) && !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "goldpartners"), "isEmpty", [], "method", false, false, true, 311))) {
// line 312
echo "
<img src=\"";
// line 313
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "goldpartners"), "getSrc", [], "method", false, false, true, 313), 313, $this->source), "html", null, true);
echo "\"
title=\"";
// line 314
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "goldpartners"), "getText", [], "method", false, false, true, 314), 314, $this->source), "html", null, true);
echo "\"
alt=\"";
// line 315
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "goldpartners"), "getAlt", [], "method", false, false, true, 315), 315, $this->source), "html", null, true);
echo "\" class=\"img-fluid\">
";
}
// line 318
echo "
";
// line 344
echo "
</div>
<div class=\"breakouttext col-12 col-lg-6 py-5 ps-lg-5 d-flex align-items-center coltext position-relative\"
style=\"z-index: 1\">
<div class=\"w-100 h-100 d-flex align-items-center\">
<div class=\"w-100\">
<h3 class=\"text-uppercase fw-bold mb-5 text-start\">";
// line 352
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Kalender"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo "</h3>
";
// line 353
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["calender"]) || array_key_exists("calender", $context) ? $context["calender"] : (function () { throw new RuntimeError('Variable "calender" does not exist.', 353, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cal"]) {
// line 354
echo " <div class=\"mb-5\">
<span class=\"text-uppercase text-secondary\">";
// line 355
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["cal"], "month", [], "any", false, false, true, 355), 355, $this->source), "html", null, true);
echo "</span>
";
// line 356
if (twig_get_attribute($this->env, $this->source, $context["cal"], "days", [], "any", true, true, true, 356)) {
// line 357
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["cal"], "days", [], "any", false, false, true, 357));
foreach ($context['_seq'] as $context["_key"] => $context["day"]) {
// line 358
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["day"], "Features_home", [], "any", false, false, true, 358)) {
// line 359
echo " <div class=\"mt-3\">
<div class=\"row\">
<div class=\"col-2\">
<p>";
// line 362
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["day"], "Datum", [], "any", false, false, true, 362), 362, $this->source), "d-m-y"), "html", null, true);
echo "</p>
</div>
<div class=\"col-3\">
<p>";
// line 365
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["day"], "start_u", [], "any", false, false, true, 365), 365, $this->source), "html", null, true);
echo " - ";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["day"], "eind_u", [], "any", false, false, true, 365), 365, $this->source), "html", null, true);
echo "</p>
</div>
<div class=\"col-6\">
<p>";
// line 369
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["day"], "dayinfo", [], "any", false, false, true, 369), 369, $this->source), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["day"], "Place", [], "any", false, false, true, 369), 369, $this->source), "html", null, true);
echo "</p>";
echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["day"], "Datum_description", [], "any", false, false, true, 369), 369, $this->source);
echo "
</div>
</div>
</div>
";
}
// line 374
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['day'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 375
echo "
";
} else {
// line 377
echo " <p class=\"my-3\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Geen aanbevolen datum voor deze maand"), "html", null, true);
echo "</p>
";
}
// line 379
echo " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cal'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 381
echo "
";
// line 382
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 382, $this->source); })())) {
// line 383
echo " <br>
";
// line 384
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "kalenderLink");
echo "
";
}
// line 386
echo "
";
// line 387
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 387, $this->source); })())) {
// line 388
echo " <a class=\"btn btn-outline-secondary\" href=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "kalenderLink"), "getHref", [], "method", false, false, true, 388), 388, $this->source), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "kalenderLink"), "getText", [], "method", false, false, true, 388), 388, $this->source), "html", null, true);
echo "</a>
";
}
// line 390
echo "
</div>
</div><!--end w-100-->
</div><!--end col-->
</div><!--end row-->
</div><!--end container-->
</div><!--end col-->
</div><!--end row-->
</div><!--end container-fluid-->
</div>
<div class=\"container-fluid bg-secondary bg-opacity-25 py-5 my-5\">
<div class=\"row\">
<h3 class=\"text-uppercase text-center fw-bold mb-3\">";
// line 414
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Onze Sponsors"), "html", null, true);
echo "</h3>
<div class=\"splide\" id=\"sponsors\">
<div class=\"splide__track\">
<ul class=\"splide__list\">
";
// line 418
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["sponsors"]) || array_key_exists("sponsors", $context) ? $context["sponsors"] : (function () { throw new RuntimeError('Variable "sponsors" does not exist.', 418, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["sponsor"]) {
// line 419
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["sponsor"], "image", [], "any", false, false, true, 419));
foreach ($context['_seq'] as $context["_key"] => $context["Image"]) {
// line 420
echo " <li class=\"splide__slide\">
";
// line 421
if (twig_get_attribute($this->env, $this->source, $context["sponsor"], "partnerLink", [], "any", false, false, true, 421)) {
echo "<a href=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["sponsor"], "partnerLink", [], "any", false, false, true, 421), "direct", [], "any", false, false, true, 421), 421, $this->source), "html", null, true);
echo "\"
target=\"";
// line 422
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["sponsor"], "partnerLink", [], "any", false, false, true, 422), "target", [], "any", false, false, true, 422), 422, $this->source), "html", null, true);
echo "\">";
}
// line 423
echo " <img
src=\"";
// line 424
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["Image"], "image", [], "any", false, false, true, 424), "getThumbnail", [0 => "slideshow-sponsor"], "method", false, false, true, 424), 424, $this->source), "html", null, true);
echo "\"
alt=\"";
// line 425
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["sponsor"], "getTitle", [], "method", false, false, true, 425), 425, $this->source), "html", null, true);
echo "\" class=\"img-fluid\">
";
// line 426
if (twig_get_attribute($this->env, $this->source, $context["sponsor"], "partnerLink", [], "any", false, false, true, 426)) {
echo "</a>";
}
// line 427
echo " </li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Image'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 429
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sponsor'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 430
echo " </ul>
</div>
</div>
</div>
</div>
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"
viewBox=\"0 0 1920 148.4\" style=\"enable-background:new 0 0 1920 148.4;\" xml:space=\"preserve\">
<path class=\"st-primary-25\" d=\"M0,148.4h1920V84.8c-212.9,29.4-354.5-12.5-458.9-25.3c-141.3-17.3-249.3-29.8-532.5,50.1
\tc-283.3,80-520-12.9-669.6-69C139.2-4.2,30-3,0,3v30.8V148.4z\"/>
</svg>
<div class=\"container-fluid bg-primary bg-opacity-25 pt-5\">
<div class=\"container mt-5\">
<div class=\"row justify-content-between\" >
<div class=\"col-12 col-lg-6 text-center d-flex align-items-center justify-content-center position-relative\">
<div class=\"";
// line 450
if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 450, $this->source); })())) {
echo "info-icon";
}
echo "\">
<div class=\"rounded-circle bg-primary text-center mb-3 border border-white border-4\">
<h1 class=\"display-2 fw-bold text-white text-center\">i</h1>
</div>
<h2>";
// line 456
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "info", ["width" => 300]);
echo "</h2>
</div>
<div>
";
// line 460
if (twig_get_attribute($this->env, $this->source, ($context["document"] ?? null), "property", [0 => "googlemaps"], "method", true, true, true, 460)) {
// line 461
echo "
<iframe src=\"";
// line 462
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 462, $this->source); })()), "property", [0 => "googlemaps"], "method", false, false, true, 462), 462, $this->source), "html", null, true);
echo "\" width=\"100%\" height=\"350\" frameborder=\"0\"
style=\"border:0\" allowfullscreen></iframe>
";
}
// line 466
echo "
";
// line 469
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 469, $this->source); })())) {
// line 470
echo " <br>
";
// line 471
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "windfinderLink");
echo "
";
// line 472
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "windfinder");
echo "
";
}
// line 474
echo "
";
// line 475
if (( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 475, $this->source); })()) && !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "windfinder"), "isEmpty", [], "method", false, false, true, 475))) {
// line 476
echo " <a href=\" ";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "windfinderLink"), "getHref", [], "method", false, false, true, 476), 476, $this->source), "html", null, true);
echo "\">
<img src=\"";
// line 477
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "windfinder"), "getSrc", [], "method", false, false, true, 477), 477, $this->source), "html", null, true);
echo "\"
title=\"";
// line 478
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "windfinder"), "getText", [], "method", false, false, true, 478), 478, $this->source), "html", null, true);
echo "\"
alt=\"";
// line 479
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "windfinder"), "getAlt", [], "method", false, false, true, 479), 479, $this->source), "html", null, true);
echo "\" class=\"img-fluid w-25 mt-3\">
</a>
";
}
// line 482
echo " </div>
</div>
<div class=\"col-12 col-lg-4\">
";
// line 487
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 487, $this->source); })())) {
// line 488
echo " ";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "webcamLink");
echo "
";
// line 489
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "webcam");
echo "
";
}
// line 491
echo "
";
// line 492
if (( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 492, $this->source); })()) && !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "webcam"), "isEmpty", [], "method", false, false, true, 492))) {
// line 493
echo " <a href=\" ";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "webcamLink"), "getHref", [], "method", false, false, true, 493), 493, $this->source), "html", null, true);
echo "\">
<img src=\"";
// line 494
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "webcam"), "getSrc", [], "method", false, false, true, 494), 494, $this->source), "html", null, true);
echo "\"
title=\"";
// line 495
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "webcam"), "getText", [], "method", false, false, true, 495), 495, $this->source), "html", null, true);
echo "\"
alt=\"";
// line 496
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "webcam"), "getAlt", [], "method", false, false, true, 496), 496, $this->source), "html", null, true);
echo "\" class=\"img-fluid mt-3\">
</a>
";
}
// line 499
echo " </div>
</div>
</div>
</div>
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"
viewBox=\"0 0 1920 214.8\" xml:space=\"preserve\">
<path class=\"st-secondary\" d=\"M216,148.2C106.4,115.7,26.3,122.5,0,129.9v84.9h1920V2.8c-314,137.3-505,87.4-632,81.3
\tc-127-6.1-224-10.2-471,81.3S353,188.9,216,148.2z\"/>
<path class=\"st-primary-25\" d=\"M1920,0H0v97.5c40.7-2.1,104.7,2.1,183.5,26c140.7,42.6,363.6,113.9,618.9,23.7c255.4-90.2,355.3-85.1,486-77.6
\tc128,7.3,318.8,57.8,631.5-67.6V0z\"/>
</svg>
<script>
const onResizing = function(event) {
breakout = \$( \".break-out\" );
breakoutimgdiv = \$( \".breakoutimg\" );
breakoutimg = \$(\".breakoutimg\").outerHeight();
breakouttext = \$(\".breakouttext\").outerHeight();
if (breakouttext >= breakoutimg) {
height = breakouttext + \"px\";
} else {
height = \"auto\"
};
breakout.css('min-height', height);
breakoutimgdiv.css('min-height', height);
//console.log(height);
};
window.onresize = onResizing;
window.onload = onResizing;
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "content/homepage.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 935 => 499, 929 => 496, 925 => 495, 921 => 494, 916 => 493, 914 => 492, 911 => 491, 906 => 489, 901 => 488, 899 => 487, 892 => 482, 886 => 479, 882 => 478, 878 => 477, 873 => 476, 871 => 475, 868 => 474, 863 => 472, 859 => 471, 856 => 470, 854 => 469, 849 => 466, 842 => 462, 839 => 461, 837 => 460, 830 => 456, 819 => 450, 797 => 430, 791 => 429, 784 => 427, 780 => 426, 776 => 425, 772 => 424, 769 => 423, 765 => 422, 759 => 421, 756 => 420, 751 => 419, 747 => 418, 740 => 414, 714 => 390, 706 => 388, 704 => 387, 701 => 386, 696 => 384, 693 => 383, 691 => 382, 688 => 381, 681 => 379, 675 => 377, 671 => 375, 665 => 374, 653 => 369, 644 => 365, 638 => 362, 633 => 359, 630 => 358, 625 => 357, 623 => 356, 619 => 355, 616 => 354, 612 => 353, 606 => 352, 596 => 344, 593 => 318, 587 => 315, 583 => 314, 579 => 313, 576 => 312, 574 => 311, 571 => 310, 566 => 308, 563 => 307, 561 => 306, 557 => 304, 529 => 276, 513 => 260, 505 => 243, 501 => 242, 498 => 241, 494 => 239, 479 => 232, 472 => 229, 466 => 225, 460 => 221, 457 => 216, 453 => 213, 449 => 211, 444 => 209, 439 => 207, 434 => 204, 430 => 203, 422 => 198, 418 => 196, 412 => 193, 408 => 192, 404 => 191, 401 => 190, 399 => 189, 396 => 188, 391 => 186, 388 => 185, 386 => 184, 380 => 180, 378 => 179, 367 => 171, 363 => 170, 360 => 169, 356 => 167, 341 => 160, 334 => 157, 328 => 153, 321 => 149, 316 => 147, 311 => 145, 306 => 142, 302 => 141, 293 => 135, 289 => 133, 283 => 130, 279 => 129, 275 => 128, 272 => 127, 270 => 126, 267 => 125, 262 => 123, 259 => 122, 257 => 121, 251 => 117, 249 => 116, 235 => 105, 231 => 104, 227 => 102, 223 => 100, 208 => 93, 201 => 90, 195 => 86, 189 => 82, 186 => 77, 182 => 74, 178 => 72, 173 => 70, 168 => 68, 163 => 65, 159 => 64, 150 => 58, 146 => 56, 140 => 53, 136 => 52, 132 => 51, 129 => 50, 127 => 49, 124 => 48, 119 => 46, 116 => 45, 114 => 44, 107 => 39, 105 => 38, 99 => 34, 91 => 16, 87 => 14, 80 => 10, 76 => 8, 74 => 7, 69 => 4, 59 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends base_layout() %}
{% block content %}
<div class=\"container\">
{% if editmode %}
<div class=\"row\">
<div class=\"col-12\">
<p class=\"advice\">{{ 'tip: Door op het plusteken te klikken kun je kiezen welke inhoudelijke blok je kan toevoegen.'|trans({}, 'admin') }}</p>
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-12\">
{{ include('includes/default-content.html.twig') }}
</div>
</div>
</div>
{#
<div class=\"container offset-1 mx-auto\">
<div class=\"row g-3\">
{% if products is defined %}
{% for product in products %}
<div class=\"col-2\">
<img src=\"https://via.placeholder.com/150\" class=\"img-fluid\">
<p>{{ product.getTitle() }}</p>
</div>
{% endfor %}
{% endif %}
</div>
</div> #}
<div class=\"container my-5 py-5\">
<div class=\"row\">
<div class=\"col-lg-3 zeilen mb-5 mb-lg-0\">
{% if blogsZeilen is defined %}
<div class=\"d-flex align-items-end cat-header-icon\">
<div class=\"mb-5 text-center\">
{% if editmode %}
<br>
{{ pimcore_image(\"zeilenicon\") }}
{% endif %}
{% if not editmode and not pimcore_image(\"zeilenicon\").isEmpty() %}
<img src=\"{{ pimcore_image(\"zeilenicon\").getThumbnail('homepage-icon') }}\"
title=\"{{ pimcore_image(\"zeilenicon\").getText() }}\"
alt=\"{{ pimcore_image(\"zeilenicon\").getAlt() }}\" class=\"img-fluid w-50 mx-auto mb-3\">
{% endif %}
<h2 class=\"text-center underline underline-zeilen position-relative\">{{ 'zeilen'|trans({}) }}</h2>
</div></div>
<div class=\"row\">
{% for blog in blogsZeilen %}
<div class=\"col-12 mb-5\">
<div class=\"blog\">
<a href=\"{{ blog.getFullPath() }}\">
<div class=\"blog-date text-black\">
{{ blog.getEditable('publicationDate').getData()|format_datetime('full', 'none', locale='nl') }}
</div>
<img src=\"{{ blog.getEditable('publicationHeader').getThumbnail('news-homepage-thumb') }}\" class=\"img-fluid mb-3 d-inline-block\">
{# <img src=\"https://via.placeholder.com/600\" class=\"img-fluid mb-3 d-inline-block\"> #}
{# <img src=\"/static/img/shape-cat1.svg\" class=\"img-fluid\"> #}
{#
<div class=\"news-text\">
{{ blog.getEditable('blogFilters').getElements()[0].getO_key()|capitalize }}
</div> #}
<div class=\"position-relative news-text text-black\">
<h5 class=\"text-uppercase text-black\">
{{ blog.getEditable('articleTitle') }}</h5>
<p class=\"text-black text-opacity-50\">
{# {{ blog.getEditable('newsContent') }} #}
{{ blog.getEditable('articleContent')|truncate(150, '...')|raw }}
</p>
<a href=\"{{ blog.getFullPath() }}\" class=\"text-link\">{{ 'Lees meer'|trans({}) }}</a>
</div>
</a>
</div>
</div>
{% endfor %}
</div>
{% endif %}
<div class=\"row\"><div class=\"col-12 text-end\">
<a href=\"{{ pimcore_website_config('blog_document') }}?filter=29\" class=\"text-link\">
{{ 'LEES ALLES VAN HET ZEILEN'|trans({}) }}</a>
</div></div>
</div>
<div class=\"col d-none d-lg-block text-center\">
<div class=\"h-100 separator mx-auto\"></div>
</div>
<div class=\"col-lg-3 surfen mb-5 mb-lg-0\">
{% if blogsSurfen is defined %}
<div class=\"d-flex align-items-end cat-header-icon\">
<div class=\"mb-5 text-center\">
{% if editmode %}
<br>
{{ pimcore_image(\"windsurfenicon\") }}
{% endif %}
{% if not editmode and not pimcore_image(\"windsurfenicon\").isEmpty() %}
<img src=\"{{ pimcore_image(\"windsurfenicon\").getThumbnail('homepage-icon') }}\"
title=\"{{ pimcore_image(\"windsurfenicon\").getText() }}\"
alt=\"{{ pimcore_image(\"windsurfenicon\").getAlt() }}\" class=\"img-fluid w-50 mx-auto mb-3\">
{% endif %}
<h2 class=\"text-center underline underline-windsurfen position-relative\">{{ 'windsurfen'|trans({}) }}</h2>
</div></div>
<div class=\"row\">
{% for blog in blogsSurfen %}
<div class=\"col-12 mb-5\">
<div class=\"blog\">
<a href=\"{{ blog.getFullPath() }}\">
<div class=\"blog-date text-black\">
{{ blog.getEditable('publicationDate').getData()|format_datetime('full', 'none', locale='nl') }}
</div>
<img src=\"{{ blog.getEditable('publicationHeader').getThumbnail('news-homepage-thumb') }}\" class=\"img-fluid mb-3 d-inline-block\">
<div class=\"position-relative news-text text-black\">
<h5 class=\"text-uppercase text-black\">
{{ blog.getEditable('articleTitle') }}</h5>
<p class=\"text-black text-opacity-50\">
{# {{ blog.getEditable('newsContent') }} #}
{{ blog.getEditable('articleContent')|truncate(150, '...')|raw }}
</p>
<a href=\"{{ blog.getFullPath() }}\" class=\"text-link\">{{ 'Lees meer'|trans({}) }}</a>
</div>
</a>
</div>
</div>
{% endfor %}
</div>
{% endif %}
<div class=\"row\"><div class=\"col-12 text-end\">
<a href=\"{{ pimcore_website_config('blog_document') }}?filter=28\" class=\"text-link\">
{{ 'LEES ALLES VAN HET SURFEN'|trans({}) }}</a>
</div></div>
</div>
<div class=\"col d-none d-lg-block text-center\">
<div class=\"h-100 separator mx-auto\"></div>
</div>
<div class=\"col-lg-3 suppen\">
{% if blogsSuppen is defined %}
<div class=\"d-flex align-items-end cat-header-icon\">
<div class=\"mb-5 text-center\">
{% if editmode %}
<br>
{{ pimcore_image(\"suppenicon\") }}
{% endif %}
{% if not editmode and not pimcore_image(\"suppenicon\").isEmpty() %}
<img src=\"{{ pimcore_image(\"suppenicon\").getThumbnail('homepage-icon') }}\"
title=\"{{ pimcore_image(\"suppenicon\").getText() }}\"
alt=\"{{ pimcore_image(\"suppenicon\").getAlt() }}\" class=\"img-fluid w-50 mx-auto mb-3\">
{% endif %}
<h2 class=\"text-center underline underline-suppen position-relative\">{{ 'suppen'|trans({}) }}</h2>
</div></div>
<div class=\"row\">
{% for blog in blogsSuppen %}
<div class=\"col-12 mb-5\">
<div class=\"blog\">
<a href=\"{{ blog.getFullPath() }}\" class=\"position-relative d-block\">
<div class=\"blog-date text-black\">
{{ blog.getEditable('publicationDate').getData()|format_datetime('full', 'none', locale='nl') }}
</div>
<img src=\"{{ blog.getEditable('publicationHeader').getThumbnail('news-homepage-thumb') }}\" class=\"img-fluid mb-3 d-inline-block\">
{# <img src=\"https://via.placeholder.com/600\" class=\"img-fluid mb-3 d-inline-block\"> #}
{# <img src=\"/static/img/shape-cat1.svg\" class=\"img-fluid\"> #}
{#
<div class=\"news-text\">
{{ blog.getEditable('blogFilters').getElements()[0].getO_key()|capitalize }}
</div> #}
<div class=\"position-relative news-text text-black\">
<h5 class=\"text-uppercase text-black\">
{{ blog.getEditable('articleTitle') }}</h5>
<p class=\"text-black text-opacity-50\">
{# {{ blog.getEditable('newsContent') }} #}
{{ blog.getEditable('articleContent')|truncate(150, '...')|raw }}
</p>
<a href=\"{{ blog.getFullPath() }}\" class=\"text-link\">{{ 'Lees meer'|trans({}) }}</a>
</div>
</a>
</div>
</div>
{% endfor %}
</div>
{% endif %}
<div class=\"row\"><div class=\"col-12 text-end\">
<a href=\"{{ pimcore_website_config('blog_document') }}?filter=27\" class=\"text-link\">
{{ 'LEES ALLES VAN HET SUPPEN'|trans({}) }}</a>
</div></div>
</div>
{#
<div class=\"col-3\">
<h2>{{ 'Info '|trans }}</h2>
<div>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad aliquid amet assumenda, atque
consectetur dolorum enim incidunt maxime qui, quo saepe similique vel voluptatibus. Aut deserunt
enim eum maxime quis!
</p>
</div>
</div> #}
</div>
</div>
<div class=\"break-out my-5\">
<div class=\"container-fluid\">
<div class=\"row\">
<div class=\"col-12 p-0\">
<div class=\"row overflow-row g-0 justify-content-between\">
{#
<div class=\"col d-none d-md-block position-relative\" style=\"z-index: -1\"></div> #}
<div class=\"breakoutimg col-12 col-lg-4 position-relative mb-lg-0\"
style=\"z-index: -1;\">
<div class=\"col bg-secondary bg-opacity-25 d-block h-100 w-100\">
</div>
</div><!--end col-->
<div class=\"bgsail col-12 col-lg-5 position-relative mb-lg-0\"
style=\"z-index: -1;\">
<div class=\"col d-block h-100 w-100\">
</div>
</div><!--end col-->
</div>
<div class=\"container overflow-content start-0 end-0 top-0\">
<div class=\"row h-100\">
{#
<div class=\"col d-none d-md-block position-relative\" style=\"z-index: -1\"></div> #}
<div class=\"col-12 col-lg-6 position-relative py-5\">
{% if editmode %}
<br>
{{ pimcore_image(\"goldpartners\") }}
{% endif %}
{% if not editmode and not pimcore_image(\"goldpartners\").isEmpty() %}
<img src=\"{{ pimcore_image(\"goldpartners\").getSrc() }}\"
title=\"{{ pimcore_image(\"goldpartners\").getText() }}\"
alt=\"{{ pimcore_image(\"goldpartners\").getAlt() }}\" class=\"img-fluid\">
{% endif %}
{#
{% if sponsors %}
{% for sponsor in sponsors %}
<h2>{{ 'Onze Golden Partners' }}</h2>
{% if sponsor.getPartner() == \"Gold Partner\" %}
<div class=\"carousel-item active\">
<a href=\"{{ sponsor.partnerLink.direct }}\"
target=\"{{ sponsor.partnerLink.target }}\">
<h3>{{ sponsor.getTitle() }}</h3>
<div class=\"row\">
{% for Image in sponsor.image %}
<div class=\"col-4\">
<img src=\"{{ Image.image.getThumbnail('slideshow-product') }}\"
alt=\"{{ sponsor.getTitle() }}\" class=\"img-fluid\">
</div>
{% endfor %}
</div>
</a>
</div>
{% endif %}
{% endfor %}
{% endif %}
#}
</div>
<div class=\"breakouttext col-12 col-lg-6 py-5 ps-lg-5 d-flex align-items-center coltext position-relative\"
style=\"z-index: 1\">
<div class=\"w-100 h-100 d-flex align-items-center\">
<div class=\"w-100\">
<h3 class=\"text-uppercase fw-bold mb-5 text-start\">{{ 'Kalender'|trans }} {{ 'now' | date('Y') }}</h3>
{% for cal in calender %}
<div class=\"mb-5\">
<span class=\"text-uppercase text-secondary\">{{ cal.month }}</span>
{% if cal.days is defined %}
{% for day in cal.days %}
{% if day.Features_home %}
<div class=\"mt-3\">
<div class=\"row\">
<div class=\"col-2\">
<p>{{ day.Datum|date(\"d-m-y\") }}</p>
</div>
<div class=\"col-3\">
<p>{{ day.start_u }} - {{ day.eind_u }}</p>
</div>
<div class=\"col-6\">
<p>{{ day.dayinfo }} {{ day.Place }}</p>{{ day.Datum_description|raw }}
</div>
</div>
</div>
{% endif %}
{% endfor %}
{% else %}
<p class=\"my-3\">{{ 'Geen aanbevolen datum voor deze maand'|trans }}</p>
{% endif %}
</div>
{% endfor %}
{% if editmode %}
<br>
{{ pimcore_link('kalenderLink') }}
{% endif %}
{% if not editmode %}
<a class=\"btn btn-outline-secondary\" href=\"{{ pimcore_link('kalenderLink').getHref() }}\">{{ pimcore_link('kalenderLink').getText() }}</a>
{% endif %}
</div>
</div><!--end w-100-->
</div><!--end col-->
</div><!--end row-->
</div><!--end container-->
</div><!--end col-->
</div><!--end row-->
</div><!--end container-fluid-->
</div>
<div class=\"container-fluid bg-secondary bg-opacity-25 py-5 my-5\">
<div class=\"row\">
<h3 class=\"text-uppercase text-center fw-bold mb-3\">{{ 'Onze Sponsors'|trans }}</h3>
<div class=\"splide\" id=\"sponsors\">
<div class=\"splide__track\">
<ul class=\"splide__list\">
{% for sponsor in sponsors %}
{% for Image in sponsor.image %}
<li class=\"splide__slide\">
{% if sponsor.partnerLink %}<a href=\"{{ sponsor.partnerLink.direct }}\"
target=\"{{ sponsor.partnerLink.target }}\">{% endif %}
<img
src=\"{{ Image.image.getThumbnail('slideshow-sponsor') }}\"
alt=\"{{ sponsor.getTitle() }}\" class=\"img-fluid\">
{% if sponsor.partnerLink %}</a>{% endif %}
</li>
{% endfor %}
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"
viewBox=\"0 0 1920 148.4\" style=\"enable-background:new 0 0 1920 148.4;\" xml:space=\"preserve\">
<path class=\"st-primary-25\" d=\"M0,148.4h1920V84.8c-212.9,29.4-354.5-12.5-458.9-25.3c-141.3-17.3-249.3-29.8-532.5,50.1
\tc-283.3,80-520-12.9-669.6-69C139.2-4.2,30-3,0,3v30.8V148.4z\"/>
</svg>
<div class=\"container-fluid bg-primary bg-opacity-25 pt-5\">
<div class=\"container mt-5\">
<div class=\"row justify-content-between\" >
<div class=\"col-12 col-lg-6 text-center d-flex align-items-center justify-content-center position-relative\">
<div class=\"{% if not editmode %}info-icon{% endif %}\">
<div class=\"rounded-circle bg-primary text-center mb-3 border border-white border-4\">
<h1 class=\"display-2 fw-bold text-white text-center\">i</h1>
</div>
<h2>{{ pimcore_input(\"info\", {'width': 300}) }}</h2>
</div>
<div>
{% if document.property('googlemaps') is defined %}
<iframe src=\"{{ document.property('googlemaps') }}\" width=\"100%\" height=\"350\" frameborder=\"0\"
style=\"border:0\" allowfullscreen></iframe>
{% endif %}
{% if editmode %}
<br>
{{ pimcore_link('windfinderLink') }}
{{ pimcore_image(\"windfinder\") }}
{% endif %}
{% if not editmode and not pimcore_image(\"windfinder\").isEmpty() %}
<a href=\" {{ pimcore_link('windfinderLink').getHref() }}\">
<img src=\"{{ pimcore_image(\"windfinder\").getSrc() }}\"
title=\"{{ pimcore_image(\"windfinder\").getText() }}\"
alt=\"{{ pimcore_image(\"windfinder\").getAlt() }}\" class=\"img-fluid w-25 mt-3\">
</a>
{% endif %}
</div>
</div>
<div class=\"col-12 col-lg-4\">
{% if editmode %}
{{ pimcore_link('webcamLink') }}
{{ pimcore_image(\"webcam\") }}
{% endif %}
{% if not editmode and not pimcore_image(\"webcam\").isEmpty() %}
<a href=\" {{ pimcore_link('webcamLink').getHref() }}\">
<img src=\"{{ pimcore_image(\"webcam\").getSrc() }}\"
title=\"{{ pimcore_image(\"webcam\").getText() }}\"
alt=\"{{ pimcore_image(\"webcam\").getAlt() }}\" class=\"img-fluid mt-3\">
</a>
{% endif %}
</div>
</div>
</div>
</div>
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"
viewBox=\"0 0 1920 214.8\" xml:space=\"preserve\">
<path class=\"st-secondary\" d=\"M216,148.2C106.4,115.7,26.3,122.5,0,129.9v84.9h1920V2.8c-314,137.3-505,87.4-632,81.3
\tc-127-6.1-224-10.2-471,81.3S353,188.9,216,148.2z\"/>
<path class=\"st-primary-25\" d=\"M1920,0H0v97.5c40.7-2.1,104.7,2.1,183.5,26c140.7,42.6,363.6,113.9,618.9,23.7c255.4-90.2,355.3-85.1,486-77.6
\tc128,7.3,318.8,57.8,631.5-67.6V0z\"/>
</svg>
<script>
const onResizing = function(event) {
breakout = \$( \".break-out\" );
breakoutimgdiv = \$( \".breakoutimg\" );
breakoutimg = \$(\".breakoutimg\").outerHeight();
breakouttext = \$(\".breakouttext\").outerHeight();
if (breakouttext >= breakoutimg) {
height = breakouttext + \"px\";
} else {
height = \"auto\"
};
breakout.css('min-height', height);
breakoutimgdiv.css('min-height', height);
//console.log(height);
};
window.onresize = onResizing;
window.onload = onResizing;
</script>
{% endblock %}", "content/homepage.html.twig", "/var/www/clients/client2/web45/web/pc/templates/content/homepage.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 7, "for" => 64);
static $filters = array("escape" => 10, "trans" => 10, "format_datetime" => 70, "raw" => 90, "truncate" => 90, "date" => 352);
static $functions = array("include" => 16, "pimcore_image" => 46, "pimcore_website_config" => 104, "pimcore_link" => 384, "pimcore_input" => 456, "base_layout" => 1);
try {
$this->sandbox->checkSecurity(
['if', 'for'],
['escape', 'trans', 'format_datetime', 'raw', 'truncate', 'date'],
['include', 'pimcore_image', 'pimcore_website_config', 'pimcore_link', 'pimcore_input', 'base_layout']
);
} 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;
}
}
}