<?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;
/* @VisualMediaPage/Page/home.html.twig */
class __TwigTemplate_2ed2d41a161be467a5bcb5f85b6da927214d03a40aa5ad8e4e37562686ba968b extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main' => [$this, 'block_main'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "Layout/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@VisualMediaPage/Page/home.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@VisualMediaPage/Page/home.html.twig"));
$this->parent = $this->loadTemplate("Layout/base.html.twig", "@VisualMediaPage/Page/home.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 4
echo " ";
$this->loadTemplate("Layout/Include/notification.html.twig", "@VisualMediaPage/Page/home.html.twig", 4)->display($context);
// line 5
echo " ";
$this->loadTemplate("@VisualMediaVisual/Visual/visual.html.twig", "@VisualMediaPage/Page/home.html.twig", 5)->display(twig_array_merge($context, ["visuals" => twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 5, $this->source); })()), "visuals", [], "any", false, false, false, 5)]));
// line 6
echo " <section class=\"section section-page section-homepage\">
<div class=\"stripes\"></div>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-4\">
<div class=\"section-title_wrapper\">
<h1 class=\"section-title\"><span>Wij zijn</span> Zuidema</h1>
</div>
</div>
<div class=\"col-12 col-lg-8\">
";
// line 17
if ((twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 17, $this->source); })()), "htmlContent", [], "any", false, false, false, 17) != "")) {
// line 18
echo " <div class=\"plain-content\">
";
// line 19
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigContentScan']->scan(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 19, $this->source); })()), "htmlContent", [], "any", false, false, false, 19)), "html", null, true);
echo "
</div>
";
}
// line 22
echo " <a href=\"/over-zuidema-groep/\" class=\"btn btn-primary\">Meer over Zuidema </a>
<a href=\"/vacatures/\" class=\"btn btn-secondary\">Leuke baan bij Zuidema! <i class=\"fas fa-arrow-right\"></i></a>
</div>
</div>
</div>
</section>
<section id=\"expertise\" class=\"section expertise-container\">
<div class=\"stripes\"></div>
<div class=\"expertise-content_wrapper\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-4\">
<div class=\"section-title_wrapper\">
<h2 class=\"section-title\"><span>Onze</span> expertise</h2>
<a href=\"/wat-doet-zuidema/\" class=\"btn btn-primary\">Naar onze expertises</a>
</div>
<div class=\"expertise\">
<!-- Add Arrows -->
<div class=\"swiper-button-next\"><i class=\"fas fa-arrow-right\"></i></div>
<div class=\"swiper-button-prev\"><i class=\"fas fa-arrow-left\"></i></div>
</div>
</div>
</div>
</div>
<div class=\"expertise\">
";
// line 47
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\PageController::ssiExpertiseAction", ["shuffle" => true, "count" => 21]));
// line 50
echo "
<!-- Add Pagination -->
<!-- <div class=\"swiper-pagination\"></div> -->
</div>
</div>
</section>
";
// line 57
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 57, $this->source); })()), "kamReference", [], "any", false, false, false, 57))) {
// line 58
echo " <section class=\"section kam-container\">
<div class=\"kam-container__imgleft\" style=\"background-image: url(";
// line 59
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigUploadUrl']->url(twig_get_attribute($this->env, $this->source, $this->extensions['VisualMedia\ContentBlockBundle\Twig\TwigContentBlockExtension']->contentblock(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 59, $this->source); })()), "kamReference", [], "any", false, false, false, 59)), "upload", [], "any", false, false, false, 59)), "html", null, true);
echo ")\"></div>
<div class=\"kam-content_wrapper\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
<div class=\"section-title_wrapper\">
<h2 class=\"section-title\">";
// line 65
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['VisualMedia\ContentBlockBundle\Twig\TwigContentBlockExtension']->contentblock(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 65, $this->source); })()), "kamReference", [], "any", false, false, false, 65)), "title", [], "any", false, false, false, 65), "html", null, true);
echo " </h2>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"section-content_wrapper\">
<div class=\"section-content__inner\">
";
// line 71
echo $this->extensions['VisualMedia\ContentBlockBundle\Twig\TwigContentBlockExtension']->contentblockhtml(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 71, $this->source); })()), "kamReference", [], "any", false, false, false, 71));
echo "
</div>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 80
echo "
";
// line 81
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 81, $this->source); })()), "sponsorReference", [], "any", false, false, false, 81))) {
// line 82
echo " <section class=\"section sponsor-container\">
<div class=\"stripes\"></div>
<div class=\"sponsor-container__imgright\" style=\"background-image: url(";
// line 84
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigUploadUrl']->url(twig_get_attribute($this->env, $this->source, $this->extensions['VisualMedia\ContentBlockBundle\Twig\TwigContentBlockExtension']->contentblock(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 84, $this->source); })()), "sponsorReference", [], "any", false, false, false, 84)), "upload", [], "any", false, false, false, 84)), "html", null, true);
echo ")\"></div>
<div class=\"sponsor-container_wrapper\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
<div class=\"section-content_wrapper\">
<div class=\"section-title_wrapper\">
<h2 class=\"section-title\">";
// line 91
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['VisualMedia\ContentBlockBundle\Twig\TwigContentBlockExtension']->contentblock(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 91, $this->source); })()), "sponsorReference", [], "any", false, false, false, 91)), "title", [], "any", false, false, false, 91), "html", null, true);
echo " </h2>
</div>
<div class=\"section-content__inner\">
";
// line 94
echo $this->extensions['VisualMedia\ContentBlockBundle\Twig\TwigContentBlockExtension']->contentblockhtml(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 94, $this->source); })()), "sponsorReference", [], "any", false, false, false, 94));
echo "
</div>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<figure class=\"sponsor-image\">
<img src=\"";
// line 100
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigUploadUrl']->url(twig_get_attribute($this->env, $this->source, $this->extensions['VisualMedia\ContentBlockBundle\Twig\TwigContentBlockExtension']->contentblock(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 100, $this->source); })()), "sponsorReference", [], "any", false, false, false, 100)), "upload", [], "any", false, false, false, 100)), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['VisualMedia\ContentBlockBundle\Twig\TwigContentBlockExtension']->contentblock(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 100, $this->source); })()), "sponsorReference", [], "any", false, false, false, 100)), "imageAlt", [], "any", false, false, false, 100), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['VisualMedia\ContentBlockBundle\Twig\TwigContentBlockExtension']->contentblock(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 100, $this->source); })()), "sponsorReference", [], "any", false, false, false, 100)), "imageTitle", [], "any", false, false, false, 100), "html", null, true);
echo "\">
</figure>
</div>
</div>
</div>
</div>
</section>
";
}
// line 108
echo "
<section class=\"section projecten-container\">
<div class=\"projecten-stripes\"></div>
<div class=\"projecten-content_wrapper\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-4\">
<div class=\"section-title_wrapper\">
<h2 class=\"section-title\"><span>Onze</span> projecten</h2>
<a href=\"";
// line 117
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("project_index");
echo "\" class=\"btn btn-primary\" >Naar onze projecten </a>
</div>
<div class=\"projecten\">
<!-- Add Arrows -->
<div class=\"swiper-button-next\"><i class=\"fas fa-arrow-right\"></i></div>
<div class=\"swiper-button-prev\"><i class=\"fas fa-arrow-left\"></i></div>
</div>
</div>
</div>
</div>
<div class=\"projecten\">
";
// line 129
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("VisualMedia\\ProjectBundle\\Controller\\ProjectController::ssiAction", ["count" => 21]));
echo "
<!-- <div class=\"swiper-pagination\"></div> -->
</div>
</div>
</section>
<section class=\"section news-container\">
<div class=\"news-wrapper-home\">
<div class=\"row\">
<div class=\"col-12 col-lg-9 news-content-first\">
";
// line 139
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("VisualMedia\\NewsBundle\\Controller\\NewsController::ssiAction", ["count" => 1]));
echo "
</div>
<div class=\"col-12 col-lg-3 news-content-second\">
";
// line 142
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("VisualMedia\\NewsBundle\\Controller\\NewsController::ssiAction", ["count" => 2, "offset" => 1]));
echo "
</div>
</div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@VisualMediaPage/Page/home.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 265 => 142, 259 => 139, 246 => 129, 231 => 117, 220 => 108, 205 => 100, 196 => 94, 190 => 91, 180 => 84, 176 => 82, 174 => 81, 171 => 80, 159 => 71, 150 => 65, 141 => 59, 138 => 58, 136 => 57, 127 => 50, 125 => 47, 98 => 22, 92 => 19, 89 => 18, 87 => 17, 74 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'Layout/base.html.twig' %}
{% block main %}
{% include 'Layout/Include/notification.html.twig' %}
{% include '@VisualMediaVisual/Visual/visual.html.twig' with { visuals: page.visuals } %}
<section class=\"section section-page section-homepage\">
<div class=\"stripes\"></div>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-4\">
<div class=\"section-title_wrapper\">
<h1 class=\"section-title\"><span>Wij zijn</span> Zuidema</h1>
</div>
</div>
<div class=\"col-12 col-lg-8\">
{% if (page.htmlContent != '' )%}
<div class=\"plain-content\">
{{ page.htmlContent|scan }}
</div>
{% endif %}
<a href=\"/over-zuidema-groep/\" class=\"btn btn-primary\">Meer over Zuidema </a>
<a href=\"/vacatures/\" class=\"btn btn-secondary\">Leuke baan bij Zuidema! <i class=\"fas fa-arrow-right\"></i></a>
</div>
</div>
</div>
</section>
<section id=\"expertise\" class=\"section expertise-container\">
<div class=\"stripes\"></div>
<div class=\"expertise-content_wrapper\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-4\">
<div class=\"section-title_wrapper\">
<h2 class=\"section-title\"><span>Onze</span> expertise</h2>
<a href=\"/wat-doet-zuidema/\" class=\"btn btn-primary\">Naar onze expertises</a>
</div>
<div class=\"expertise\">
<!-- Add Arrows -->
<div class=\"swiper-button-next\"><i class=\"fas fa-arrow-right\"></i></div>
<div class=\"swiper-button-prev\"><i class=\"fas fa-arrow-left\"></i></div>
</div>
</div>
</div>
</div>
<div class=\"expertise\">
{{ render(controller('App\\\\Controller\\\\PageController::ssiExpertiseAction', {
'shuffle' : true,
'count' : 21
})) }}
<!-- Add Pagination -->
<!-- <div class=\"swiper-pagination\"></div> -->
</div>
</div>
</section>
{% if page.kamReference is not null %}
<section class=\"section kam-container\">
<div class=\"kam-container__imgleft\" style=\"background-image: url({{ contentblock(page.kamReference).upload|url }})\"></div>
<div class=\"kam-content_wrapper\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
<div class=\"section-title_wrapper\">
<h2 class=\"section-title\">{{ contentblock(page.kamReference).title }} </h2>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"section-content_wrapper\">
<div class=\"section-content__inner\">
{{ contentblockhtml(page.kamReference) }}
</div>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{% if page.sponsorReference is not null %}
<section class=\"section sponsor-container\">
<div class=\"stripes\"></div>
<div class=\"sponsor-container__imgright\" style=\"background-image: url({{ contentblock(page.sponsorReference).upload|url }})\"></div>
<div class=\"sponsor-container_wrapper\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
<div class=\"section-content_wrapper\">
<div class=\"section-title_wrapper\">
<h2 class=\"section-title\">{{ contentblock(page.sponsorReference).title }} </h2>
</div>
<div class=\"section-content__inner\">
{{ contentblockhtml(page.sponsorReference) }}
</div>
</div>
</div>
<div class=\"col-12 col-lg-6\">
<figure class=\"sponsor-image\">
<img src=\"{{ contentblock(page.sponsorReference).upload|url }}\" alt=\"{{ contentblock(page.sponsorReference).imageAlt }}\" title=\"{{ contentblock(page.sponsorReference).imageTitle }}\">
</figure>
</div>
</div>
</div>
</div>
</section>
{% endif %}
<section class=\"section projecten-container\">
<div class=\"projecten-stripes\"></div>
<div class=\"projecten-content_wrapper\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-4\">
<div class=\"section-title_wrapper\">
<h2 class=\"section-title\"><span>Onze</span> projecten</h2>
<a href=\"{{ path('project_index') }}\" class=\"btn btn-primary\" >Naar onze projecten </a>
</div>
<div class=\"projecten\">
<!-- Add Arrows -->
<div class=\"swiper-button-next\"><i class=\"fas fa-arrow-right\"></i></div>
<div class=\"swiper-button-prev\"><i class=\"fas fa-arrow-left\"></i></div>
</div>
</div>
</div>
</div>
<div class=\"projecten\">
{{ render(controller('VisualMedia\\\\ProjectBundle\\\\Controller\\\\ProjectController::ssiAction', { 'count' : 21 })) }}
<!-- <div class=\"swiper-pagination\"></div> -->
</div>
</div>
</section>
<section class=\"section news-container\">
<div class=\"news-wrapper-home\">
<div class=\"row\">
<div class=\"col-12 col-lg-9 news-content-first\">
{{ render(controller('VisualMedia\\\\NewsBundle\\\\Controller\\\\NewsController::ssiAction', { 'count': 1} )) }}
</div>
<div class=\"col-12 col-lg-3 news-content-second\">
{{ render(controller('VisualMedia\\\\NewsBundle\\\\Controller\\\\NewsController::ssiAction', { 'count': 2, 'offset': 1} )) }}
</div>
</div>
</div>
</section>
{% endblock %}
", "@VisualMediaPage/Page/home.html.twig", "/var/www/vhosts/localhost/html/templates/VisualMediaPageBundle/views/Page/home.html.twig");
}
}