<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* project/single.html.twig */
class __TwigTemplate_24ef839f65f1dd47de2c0037fe4c5c8897d0bbda4e6c008451fc9c0bab67e8bb extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "app/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "project/single.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "project/single.html.twig"));
$this->parent = $this->loadTemplate("app/layout.html.twig", "project/single.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
yield "
";
// line 5
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 5, $this->source); })())) {
// line 6
yield " Selecteer hieronder een project.
";
// line 7
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "relation", "project", ["classes" => ["Sector"], "reload" => true]);
// line 10
yield "
";
}
// line 12
yield "
";
// line 13
yield from $this->loadTemplate("app/partials/navigation/_breadcrumbs.html.twig", "project/single.html.twig", 13)->unwrap()->yield($context);
// line 14
yield "
";
// line 15
$context["project"] = (((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "relation", "project"), "getElement", [], "method", true, true, true, 15) && !(null === CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "relation", "project"), "getElement", [], "method", false, false, true, 15)))) ? (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "relation", "project"), "getElement", [], "method", false, false, true, 15)) : (null));
// line 16
yield "
";
// line 17
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "hero", ["type" => "hero-project-brick", "params" => ["hero-project-brick" => ["headLineEnabled" => true, "titleDefault" => (((((CoreExtension::getAttribute($this->env, $this->source, // line 22
($context["project"] ?? null), "title", [], "any", true, true, true, 22) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "title", [], "any", false, false, true, 22)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "title", [], "any", false, false, true, 22)) : (null))) ? ((((CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "title", [], "any", true, true, true, 22) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "title", [], "any", false, false, true, 22)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "title", [], "any", false, false, true, 22)) : (null))) : (null)), "descriptionDefault" => (((((CoreExtension::getAttribute($this->env, $this->source, // line 23
($context["project"] ?? null), "meta_description", [], "any", true, true, true, 23) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "meta_description", [], "any", false, false, true, 23)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "meta_description", [], "any", false, false, true, 23)) : (null))) ? ((((CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "meta_description", [], "any", true, true, true, 23) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "meta_description", [], "any", false, false, true, 23)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "meta_description", [], "any", false, false, true, 23)) : (null))) : (null)), "defaultHeroBackgroundImage" => (((CoreExtension::getAttribute($this->env, $this->source, Twig\Extension\CoreExtension::first($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, // line 24
(isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.', 24, $this->source); })()), "visuals", [], "any", false, false, true, 24), 24, $this->source)), "getThumbnail", ["header-large-gradient"], "method", true, true, true, 24) && !(null === CoreExtension::getAttribute($this->env, $this->source, Twig\Extension\CoreExtension::first($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.', 24, $this->source); })()), "visuals", [], "any", false, false, true, 24), 24, $this->source)), "getThumbnail", ["header-large-gradient"], "method", false, false, true, 24)))) ? (CoreExtension::getAttribute($this->env, $this->source, Twig\Extension\CoreExtension::first($this->env->getCharset(), $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.', 24, $this->source); })()), "visuals", [], "any", false, false, true, 24), 24, $this->source)), "getThumbnail", ["header-large-gradient"], "method", false, false, true, 24)) : (null)), "categories" => (((CoreExtension::getAttribute($this->env, $this->source, // line 25
($context["project"] ?? null), "groups", [], "any", true, true, true, 25) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "groups", [], "any", false, false, true, 25)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "groups", [], "any", false, false, true, 25)) : (null)), "sectors" => (((CoreExtension::getAttribute($this->env, $this->source, // line 26
($context["project"] ?? null), "sectors", [], "any", true, true, true, 26) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "sectors", [], "any", false, false, true, 26)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "sectors", [], "any", false, false, true, 26)) : (null))]]]);
// line 29
yield "
";
// line 31
if (array_key_exists("project", $context)) {
// line 32
yield " <div class=\"container pb-10 container-s\">
<div class=\"gap-8 md:gap-24\">
<div class=\"project-content\">
";
// line 35
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "webdesq_content", [], "any", true, true, true, 35) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "webdesq_content", [], "any", false, false, true, 35)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "webdesq_content", [], "any", false, false, true, 35)) : (null));
yield "
";
// line 37
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "content_video", [], "any", true, true, true, 37) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.', 37, $this->source); })()), "content_video", [], "any", false, false, true, 37))) {
// line 38
yield " <div class=\"my-10\">
";
// line 39
yield from $this->loadTemplate("areas/video-brick/partials/_video.html.twig", "project/single.html.twig", 39)->unwrap()->yield(CoreExtension::merge($context, ["video" => CoreExtension::getAttribute($this->env, $this->source, // line 40
(isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.', 40, $this->source); })()), "content_video", [], "any", false, false, true, 40)]));
// line 43
yield " </div>
";
}
// line 45
yield "
";
// line 46
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "case-usp");
yield "
<ul class=\"mt-8 md:mt-8 md:my-8 text-md\">
";
// line 49
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "case-ups"), "iterator", [], "any", false, false, true, 49));
foreach ($context['_seq'] as $context["_key"] => $context["usp"]) {
// line 50
yield " <li class=\"flex mb-3 text-blue\">
<svg class=\"w-[24px] h-[18px] mr-3 shrink-0 mt-1.5 \" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 18\">
<path fill=\"#0072BB\" fill-rule=\"evenodd\" d=\"M21.576 0 24 2.424l-6.562 6.562-7.655 7.655a1.71 1.71 0 0 1-2.422 0h-.002L0 9.28l2.425-2.424 6.147 6.148L21.576 0Z\"></path>
</svg>
<span>";
// line 54
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "usp");
yield "</span>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['usp'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 57
yield " </ul>
</div>
<div class=\"mt-4\">
";
// line 61
if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 61, $this->source); })()) || !CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "download-title"), "isEmpty", [], "method", false, false, true, 61))) {
// line 62
yield " <b>";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "download-title");
yield "</b>
";
}
// line 64
yield "
<div class=\"flex-row\">
";
// line 66
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 66, $this->source); })())) {
// line 67
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "download-case");
yield "
";
} elseif (((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "download-case"), "getHref", [], "method", true, true, true, 68)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "download-case"), "getHref", [], "method", false, false, true, 68))) : (""))) {
// line 69
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "download-case"), "getHref", [], "method", false, false, true, 69), 69, $this->source), "html", null, true);
yield "\" class=\"relative group button !pl-12 button__primary mt-6\">
<svg class=\"absolute left-5 top-4\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\">
<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
<g transform=\"translate(-554.000000, -1195.000000)\" class=\"transition fill-blue group-hover:fill-white\">
<g transform=\"translate(0.000000, 860.000000)\">
<g transform=\"translate(536.000000, 20.000000)\">
<g transform=\"translate(0.000000, 244.000000)\">
<g transform=\"translate(0.000000, 52.000000)\">
<g transform=\"translate(18.000000, 19.000000)\">
<path d=\"M16,12 L16,15.2 C16,15.6418278 15.6418278,16 15.2,16 L0.8,16 C0.3581722,16 0,15.6418278 0,15.2 L0,12 L1.6,12 L1.6,14.4 L14.4,14.4 L14.4,12 L16,12 Z M8,12 C8.21221371,12.0002458 8.41577082,11.9158862 8.5656,11.7656 L11.7656,8.5656 L10.6344,7.4344 L8.8,9.26872 L8.8,0 L7.2,0 L7.2,9.26872 L5.3656,7.4344 L4.2344,8.5656 L7.4344,11.7656 C7.58422918,11.9158862 7.78778629,12.0002458 8,12 Z\" id=\"Shape\"/>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
";
// line 87
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "download-case"), "getText", [], "method", false, false, true, 87), 87, $this->source), "html", null, true);
yield "
</a>
";
}
// line 90
yield "
";
// line 91
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 91, $this->source); })())) {
// line 92
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "contact-for-information");
yield "
";
} elseif (((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "contact-for-information"), "getHref", [], "method", true, true, true, 93)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "contact-for-information"), "getHref", [], "method", false, false, true, 93))) : (""))) {
// line 94
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "contact-for-information"), "getHref", [], "method", false, false, true, 94), 94, $this->source), "html", null, true);
yield "\" class=\"button button__secondary group ";
if (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "download-case"), "isEmpty", [], "method", false, false, true, 94)) {
yield " !px-0 ";
}
yield "\">
";
// line 95
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "contact-for-information"), "getText", [], "method", false, false, true, 95), 95, $this->source), "html", null, true);
yield "
<span
class=\"flex items-center justify-center w-6 h-6 ml-3 transition-all bg-white rounded-full shadow-md text-blue group-hover:bg-blue group-hover:text-white\"><svg
class=\"h-3.5 w-3.5\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path
fill=\"currentColor\" fill-rule=\"currentColor\"
d=\"m6.406 15.656 6.963-6.731c.249-.24.389-.575.389-.925 0-.35-.14-.685-.389-.925L6.406.343A1.206 1.206 0 0 0 4.657.41l-.09.113a1.297 1.297 0 0 0 .154 1.67L10.731 8l-6.008 5.806a1.295 1.295 0 0 0-.065 1.783c.463.52 1.248.55 1.748.066Z\"></path></svg></span>
</a>
";
}
// line 103
yield " </div>
</div>
</div>
</div>
";
// line 108
if (((CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "visuals", [], "any", true, true, true, 108)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "visuals", [], "any", false, false, true, 108), [])) : ([]))) {
// line 109
yield " ";
yield from $this->loadTemplate("project/partials/media-brick.html.twig", "project/single.html.twig", 109)->unwrap()->yield(CoreExtension::merge($context, ["media" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.', 109, $this->source); })()), "visuals", [], "any", false, false, true, 109)]));
// line 110
yield " ";
}
// line 111
yield "
";
// line 112
if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 112, $this->source); })()) || (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.', 112, $this->source); })()), "getProject_facts", [], "method", false, false, true, 112)) > 0))) {
// line 113
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "project-facts", ["type" => "project-usp-grid-brick", "params" => ["project-usp-grid-brick" => ["items" => $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, // line 117
(isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.', 117, $this->source); })()), "getProject_facts", [], "method", false, false, true, 117), 117, $this->source), "backgroundColor" => "bg-blue-200"]]]);
// line 121
yield "
";
}
// line 123
yield "
";
// line 124
yield from $this->loadTemplate("project/partials/contact.html.twig", "project/single.html.twig", 124)->unwrap()->yield($context);
// line 125
yield "
";
// line 126
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "testimonials", ["type" => "testimonial-brick"]);
// line 128
yield "
";
// 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); })()) || (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.', 130, $this->source); })()), "getClient_facts", [], "method", false, false, true, 130)) > 0))) {
// line 131
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "client-facts", ["type" => "project-usp-grid-brick", "params" => ["project-usp-grid-brick" => ["items" => $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, // line 135
(isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.', 135, $this->source); })()), "getClient_facts", [], "method", false, false, true, 135), 135, $this->source), "backgroundColor" => "bg-white"]]]);
// line 139
yield "
";
}
// line 141
yield "
";
// line 142
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "added-value", ["type" => "content-brick", "params" => ["content-brick" => ["layout" => "text-image"]]]);
// line 149
yield "
";
// line 151
if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 151, $this->source); })()) || ((CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "groups", [], "any", true, true, true, 151)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "groups", [], "any", false, false, true, 151), [])) : ([])))) {
// line 152
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "applied-products", ["type" => "product-category-cards-brick", "params" => ["product-category-cards-brick" => ["productCategories" => (((CoreExtension::getAttribute($this->env, $this->source, // line 156
($context["project"] ?? null), "groups", [], "any", true, true, true, 156) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "groups", [], "any", false, false, true, 156)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "groups", [], "any", false, false, true, 156)) : (null)), "defaultTitle" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Toegepaste producten"), "brickBackgroundColor" => "bg-blue-200"]]]);
// line 161
yield "
";
}
// line 163
yield "
";
// line 164
if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 164, $this->source); })()) || ((CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "related_projects", [], "any", true, true, true, 164)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "related_projects", [], "any", false, false, true, 164), [])) : ([])))) {
// line 165
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "related-projects", ["type" => "projects-card-slider-brick", "params" => ["projects-card-slider-brick" => ["defaultTitle" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Gerelateerde projecten en onderwerpen"), "projects" => (((CoreExtension::getAttribute($this->env, $this->source, // line 170
($context["project"] ?? null), "related_projects", [], "any", true, true, true, 170) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "related_projects", [], "any", false, false, true, 170)))) ? (CoreExtension::getAttribute($this->env, $this->source, ($context["project"] ?? null), "related_projects", [], "any", false, false, true, 170)) : ([])), "brickBackgroundColor" => "bg-gray-200", "labelOverride" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Project")]]]);
// line 175
yield "
";
}
// line 177
yield "
";
// line 178
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "project-faq", ["type" => "faq-brick", "params" => ["faq-brick" => ["showContact" => "false", "containerSize" => "md:max-w-[1100px] container", "containerClass" => "mx-auto"]]]);
// line 187
yield "
";
}
// line 190
yield "
";
// line 191
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "contact-side-widget", ["type" => "contact-side-widget-brick"]);
// line 193
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "project/single.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 352 => 193, 350 => 191, 347 => 190, 342 => 187, 340 => 178, 337 => 177, 333 => 175, 331 => 170, 329 => 165, 327 => 164, 324 => 163, 320 => 161, 318 => 156, 316 => 152, 314 => 151, 310 => 149, 308 => 142, 305 => 141, 301 => 139, 299 => 135, 297 => 131, 295 => 130, 291 => 128, 289 => 126, 286 => 125, 284 => 124, 281 => 123, 277 => 121, 275 => 117, 273 => 113, 271 => 112, 268 => 111, 265 => 110, 262 => 109, 260 => 108, 253 => 103, 242 => 95, 233 => 94, 227 => 92, 225 => 91, 222 => 90, 216 => 87, 194 => 69, 188 => 67, 186 => 66, 182 => 64, 176 => 62, 174 => 61, 168 => 57, 159 => 54, 153 => 50, 149 => 49, 143 => 46, 140 => 45, 136 => 43, 134 => 40, 133 => 39, 130 => 38, 128 => 37, 123 => 35, 118 => 32, 116 => 31, 112 => 29, 110 => 26, 109 => 25, 108 => 24, 107 => 23, 106 => 22, 105 => 17, 102 => 16, 100 => 15, 97 => 14, 95 => 13, 92 => 12, 88 => 10, 86 => 7, 83 => 6, 81 => 5, 78 => 4, 65 => 3, 42 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'app/layout.html.twig' %}
{% block content %}
{% if editmode %}
Selecteer hieronder een project.
{{ pimcore_relation(\"project\", {
classes: [\"Sector\"],
reload: true,
}) }}
{% endif %}
{% include \"app/partials/navigation/_breadcrumbs.html.twig\" %}
{% set project = pimcore_relation(\"project\").getElement() ?? null %}
{{ pimcore_area('hero', {
type: 'hero-project-brick',
params: {
'hero-project-brick' : {
headLineEnabled: true,
titleDefault: (project.title ?? null) ?: null,
descriptionDefault: (project.meta_description ?? null) ?: null,
defaultHeroBackgroundImage: (project.visuals|first.getThumbnail('header-large-gradient')) ?? null,
categories: project.groups ?? null,
sectors: project.sectors ?? null
}
}
}) }}
{% if project is defined %}
<div class=\"container pb-10 container-s\">
<div class=\"gap-8 md:gap-24\">
<div class=\"project-content\">
{{ (project.webdesq_content ?? null) | raw }}
{% if project.content_video is defined and project.content_video %}
<div class=\"my-10\">
{% include 'areas/video-brick/partials/_video.html.twig' with {
'video': project.content_video,
}
%}
</div>
{% endif %}
{{ pimcore_block('case-usp') }}
<ul class=\"mt-8 md:mt-8 md:my-8 text-md\">
{% for usp in pimcore_block('case-ups').iterator %}
<li class=\"flex mb-3 text-blue\">
<svg class=\"w-[24px] h-[18px] mr-3 shrink-0 mt-1.5 \" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 18\">
<path fill=\"#0072BB\" fill-rule=\"evenodd\" d=\"M21.576 0 24 2.424l-6.562 6.562-7.655 7.655a1.71 1.71 0 0 1-2.422 0h-.002L0 9.28l2.425-2.424 6.147 6.148L21.576 0Z\"></path>
</svg>
<span>{{ pimcore_input('usp') }}</span>
</li>
{% endfor %}
</ul>
</div>
<div class=\"mt-4\">
{% if editmode or not pimcore_input('download-title').isEmpty() %}
<b>{{ pimcore_input('download-title') }}</b>
{% endif %}
<div class=\"flex-row\">
{% if editmode %}
{{ pimcore_link('download-case') }}
{% elseif pimcore_link('download-case').getHref() | default() %}
<a href=\"{{ pimcore_link('download-case').getHref() }}\" class=\"relative group button !pl-12 button__primary mt-6\">
<svg class=\"absolute left-5 top-4\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\">
<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
<g transform=\"translate(-554.000000, -1195.000000)\" class=\"transition fill-blue group-hover:fill-white\">
<g transform=\"translate(0.000000, 860.000000)\">
<g transform=\"translate(536.000000, 20.000000)\">
<g transform=\"translate(0.000000, 244.000000)\">
<g transform=\"translate(0.000000, 52.000000)\">
<g transform=\"translate(18.000000, 19.000000)\">
<path d=\"M16,12 L16,15.2 C16,15.6418278 15.6418278,16 15.2,16 L0.8,16 C0.3581722,16 0,15.6418278 0,15.2 L0,12 L1.6,12 L1.6,14.4 L14.4,14.4 L14.4,12 L16,12 Z M8,12 C8.21221371,12.0002458 8.41577082,11.9158862 8.5656,11.7656 L11.7656,8.5656 L10.6344,7.4344 L8.8,9.26872 L8.8,0 L7.2,0 L7.2,9.26872 L5.3656,7.4344 L4.2344,8.5656 L7.4344,11.7656 C7.58422918,11.9158862 7.78778629,12.0002458 8,12 Z\" id=\"Shape\"/>
</g>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
{{ pimcore_link('download-case').getText() }}
</a>
{% endif %}
{% if editmode %}
{{ pimcore_link('contact-for-information') }}
{% elseif pimcore_link('contact-for-information').getHref() | default() %}
<a href=\"{{ pimcore_link('contact-for-information').getHref() }}\" class=\"button button__secondary group {% if pimcore_link('download-case').isEmpty() %} !px-0 {% endif %}\">
{{ pimcore_link('contact-for-information').getText() }}
<span
class=\"flex items-center justify-center w-6 h-6 ml-3 transition-all bg-white rounded-full shadow-md text-blue group-hover:bg-blue group-hover:text-white\"><svg
class=\"h-3.5 w-3.5\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path
fill=\"currentColor\" fill-rule=\"currentColor\"
d=\"m6.406 15.656 6.963-6.731c.249-.24.389-.575.389-.925 0-.35-.14-.685-.389-.925L6.406.343A1.206 1.206 0 0 0 4.657.41l-.09.113a1.297 1.297 0 0 0 .154 1.67L10.731 8l-6.008 5.806a1.295 1.295 0 0 0-.065 1.783c.463.52 1.248.55 1.748.066Z\"></path></svg></span>
</a>
{% endif %}
</div>
</div>
</div>
</div>
{% if project.visuals | default([]) %}
{% include \"project/partials/media-brick.html.twig\" with {'media': project.visuals} %}
{% endif %}
{% if editmode or project.getProject_facts() | length > 0 %}
{{ pimcore_area('project-facts', {
type: 'project-usp-grid-brick',
params: {
'project-usp-grid-brick': {
items: project.getProject_facts(),
backgroundColor: 'bg-blue-200'
}
}
}) }}
{% endif %}
{% include \"project/partials/contact.html.twig\" %}
{{ pimcore_area('testimonials', {
type : 'testimonial-brick',
}) }}
{% if editmode or project.getClient_facts() | length > 0 %}
{{ pimcore_area('client-facts', {
type: 'project-usp-grid-brick',
params: {
'project-usp-grid-brick': {
items: project.getClient_facts(),
backgroundColor: 'bg-white'
}
}
}) }}
{% endif %}
{{ pimcore_area('added-value', {
type: 'content-brick',
params: {
'content-brick': {
layout: 'text-image'
}
}
}) }}
{% if editmode or project.groups | default([]) %}
{{ pimcore_area('applied-products', {
type : 'product-category-cards-brick',
params: {
'product-category-cards-brick': {
productCategories: project.groups ?? null,
defaultTitle: 'Toegepaste producten'|trans,
brickBackgroundColor: 'bg-blue-200'
}
}
}) }}
{% endif %}
{% if editmode or project.related_projects | default([]) %}
{{ pimcore_area('related-projects', {
type: 'projects-card-slider-brick',
params: {
'projects-card-slider-brick': {
defaultTitle: 'Gerelateerde projecten en onderwerpen' | trans,
projects: project.related_projects ?? [],
brickBackgroundColor: 'bg-gray-200',
labelOverride: 'Project' | trans
}
}
}) }}
{% endif %}
{{ pimcore_area('project-faq', {
type: 'faq-brick',
params: {
'faq-brick': {
showContact: 'false',
containerSize: 'md:max-w-[1100px] container',
containerClass: 'mx-auto'
}
}
}) }}
{% endif %}
{{ pimcore_area('contact-side-widget', {
type: 'contact-side-widget-brick'
}) }}
{% endblock %}
", "project/single.html.twig", "/home/forge/staging.coolworld.ptchr.dev/templates/project/single.html.twig");
}
public function checkSecurity()
{
static $tags = ["extends" => 1, "if" => 5, "include" => 13, "set" => 15, "for" => 49];
static $filters = ["first" => 24, "raw" => 35, "default" => 68, "escape" => 69, "length" => 112, "trans" => 157];
static $functions = ["pimcore_relation" => 7, "pimcore_area" => 17, "pimcore_block" => 46, "pimcore_input" => 54, "pimcore_link" => 67];
try {
$this->sandbox->checkSecurity(
['extends', 'if', 'include', 'set', 'for'],
['first', 'raw', 'default', 'escape', 'length', 'trans'],
['pimcore_relation', 'pimcore_area', 'pimcore_block', 'pimcore_input', 'pimcore_link'],
$this->source
);
} 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;
}
}
}