<?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;
/* areas/product-category-cards-brick/view.html.twig */
class __TwigTemplate_171fb87bc3b2c19478f77234b50feb8fd4b37c92d8045549a77a801f58bd7063 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->parent = false;
$this->blocks = [
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
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", "areas/product-category-cards-brick/view.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "areas/product-category-cards-brick/view.html.twig"));
// line 1
$context["contactEmpty"] = CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "contacts"), "isEmpty", [], "method", false, false, true, 1);
// line 2
yield "
";
// line 3
if ((array_key_exists("sliderClass", $context) && !Twig\Extension\CoreExtension::testEmpty((isset($context["sliderClass"]) || array_key_exists("sliderClass", $context) ? $context["sliderClass"] : (function () { throw new RuntimeError('Variable "sliderClass" does not exist.', 3, $this->source); })())))) {
// line 4
yield " ";
$context["sliderClassName"] = (isset($context["sliderClass"]) || array_key_exists("sliderClass", $context) ? $context["sliderClass"] : (function () { throw new RuntimeError('Variable "sliderClass" does not exist.', 4, $this->source); })());
} else {
// line 6
yield " ";
$context["sliderClassName"] = "related-products-swiper";
}
// line 8
yield "
";
// line 9
yield from $this->loadTemplate("areas/product-category-cards-brick/view.html.twig", "areas/product-category-cards-brick/view.html.twig", 9, "964642200")->unwrap()->yield($context);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "areas/product-category-cards-brick/view.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 68 => 9, 65 => 8, 61 => 6, 57 => 4, 55 => 3, 52 => 2, 50 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% set contactEmpty = pimcore_block('contacts').isEmpty() %}
{% if sliderClass is defined and sliderClass is not empty() %}
{% set sliderClassName = sliderClass %}
{% else %}
{% set sliderClassName = 'related-products-swiper' %}
{% endif %}
{% embed 'app/area-brick-layout.html.twig' %}
{% block content %}
{% set productCategories = productCategories ?? pimcore_relations('productCategories').getElements() %}
<section class=\"{{ sectionClasses ?? '' }}\">
<div class=\"{{ containerClasses ?? 'container py-10 md:py-20' }} overflow-hidden\">
{% if editmode and productCategories is empty %}
{{ info(\"Nog geen product categorieen geselecteerd.\")|raw }}
{% endif %}
{% if showTitle ?? true %}
{% include 'includes/partials/text/_inline-icon-and-title.html.twig' with {
'defaultTitle': defaultTitle ?? \"\"
} %}
{% endif %}
<div class=\"{% if not contactEmpty %} flex {% endif %}\">
<div class=\"swiper {{ sliderClassName }} swiper-enable {% if not contactEmpty %} w-1/2 {% endif %}\">
<div class=\"swiper-wrapper pb-10\">
{% for productCategory in productCategories %}
<div class=\"swiper-slide\">
{% include 'areas/product-category-cards-brick/partials/category-card.html.twig' %}
</div>
{% endfor %}
</div>
<div class=\"w-full md:w-auto absolute bottom-0 right-0 z-10\">
<div class=\"grid justify-between md:justify-end grid-cols-2 items-center\">
<div class=\"!w-auto related-product-swiper-pagination\"></div>
<div class=\"flex justify-end\">
<div class=\"gap-4 grid grid-cols-2\">
<div
class=\"related-product-swiper-button-prev\">
<svg class=\"rotate-180\" xmlns=\"http://www.w3.org/2000/svg\"
xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
version=\"1.1\">
<g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
fill-rule=\"evenodd\">
<g id=\"coolworld-project-case-study-vd-1504-v02\"
transform=\"translate(-1580.000000, -1967.550069)\"
fill=\"#0072BB\">
<g id=\"media\"
transform=\"translate(0.000000, 1270.000000)\">
<g id=\"Group-2\"
transform=\"translate(426.000000, 449.000000)\">
<g id=\"components/navigation/mobile/carousel\"
transform=\"translate(1014.000000, 245.000000)\">
<g id=\"icons/ui/arrow-line-right\"
transform=\"translate(140.000000, 3.000000)\">
<path
d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
id=\"arrow-line-right\"
transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
<div class=\"related-product-swiper-button-next\">
<svg xmlns=\"http://www.w3.org/2000/svg\"
xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
version=\"1.1\">
<g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
fill-rule=\"evenodd\">
<g id=\"coolworld-project-case-study-vd-1504-v02\"
transform=\"translate(-1580.000000, -1967.550069)\"
fill=\"#0072BB\">
<g id=\"media\"
transform=\"translate(0.000000, 1270.000000)\">
<g id=\"Group-2\"
transform=\"translate(426.000000, 449.000000)\">
<g id=\"components/navigation/mobile/carousel\"
transform=\"translate(1014.000000, 245.000000)\">
<g id=\"icons/ui/arrow-line-right\"
transform=\"translate(140.000000, 3.000000)\">
<path
d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
id=\"arrow-line-right\"
transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
</div>
</div>
</div>
</div>
</div>
{% if editmode or not contactEmpty %}
{# contact #}
<div class=\"md:ml-20 bg-blue-300 rounded text-white p-8 h-max w-1/2\">
<b class=\"text-[24px] mb-4\">{{ pimcore_input('contact-title') }}</b>
<div class=\"flex flex-col gap-6 mt-4\">
{% for i in pimcore_block('contacts').iterator %}
{% if editmode %}
{{ pimcore_image('contact-image') }}
{{ pimcore_input('contact-name') }}
{{ pimcore_input('contact-function') }}
{{ pimcore_link('contact-number') }}
{{ pimcore_link('contact-mail') }}
{% else %}
<div
class=\"flex flex-col gap-4 md:gap-0 md:flex-row md:items-center justify-between\">
<div class=\"flex flex-row gap-4 items-center\">
{% if not pimcore_image('contact-image').isEmpty() %}
{{ pimcore_image('contact-image').thumbnail('contact-icon').html({
imgAttributes: {width: '52', height: '52', class: 'w-full h-full'},
pictureAttributes: {class: 'rounded-full overflow-hidden w-[52px] h-[52px]'}
}) | raw }}
{% endif %}
<div class=\"flex flex-col\">
<b class=\"text-[20px]\">{{ pimcore_input('contact-name').getData() | default('') }}</b>
{{ pimcore_input('contact-function').getData() | default('') }}
</div>
</div>
<div class=\"flex flex-row gap-4\">
{% if pimcore_link('contact-mail').getHref() | default() %}
<a href=\"{{ pimcore_link('contact-mail').getHref() }}\"
target=\"_blank\"
class=\"flex font-bold text-blue hover:underline\">
<span
class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"12\"><path
fill=\"currentColor\" fill-rule=\"evenodd\"
d=\"M1.4 9.8V3.877l5.316 2.362a.7.7 0 0 0 .568 0L12.6 3.877V9.8H1.4Zm11.2-8.4v.945L7 4.834 1.4 2.345V1.4h11.2ZM14 2.786V.7a.7.7 0 0 0-.7-.7H.7a.7.7 0 0 0-.7.7v9.8a.7.7 0 0 0 .7.7h12.6a.7.7 0 0 0 .7-.7V2.786Z\"></path></svg>
</span>
</a>
{% endif %}
{% if pimcore_link('contact-number').getHref() | default() %}
<a href=\"{{ pimcore_link('contact-number').getHref() }}\"
class=\"flex font-bold text-blue hover:underline\">
<span
class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\"><path
fill=\"currentColor\" fill-rule=\"evenodd\"
d=\"m13.47 9.12-2.8-.7a.703.703 0 0 0-.752.292L8.126 11.4A11.959 11.959 0 0 1 2.6 5.874l2.688-1.792a.7.7 0 0 0 .291-.752l-.7-2.8A.7.7 0 0 0 4.2 0H.7a.7.7 0 0 0-.7.7C.01 8.042 5.958 13.99 13.3 14a.7.7 0 0 0 .7-.7V9.8a.7.7 0 0 0-.53-.68Z\"></path></svg>
</span>
</a>
{% endif %}
</div>
</div>
{% endif %}
{% if loop.index == pimcore_block('contacts').getCount() - 1 %}
<hr class=\"bg-blue-200 opacity-50\">
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
</section>
{% endblock %}
{% endembed %}
", "areas/product-category-cards-brick/view.html.twig", "/home/forge/testing.coolworld.ptchr.dev/templates/areas/product-category-cards-brick/view.html.twig");
}
public function checkSecurity()
{
static $tags = ["set" => 1, "if" => 3, "embed" => 9];
static $filters = [];
static $functions = ["pimcore_block" => 1];
try {
$this->sandbox->checkSecurity(
['set', 'if', 'embed'],
[],
['pimcore_block'],
$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;
}
}
}
/* areas/product-category-cards-brick/view.html.twig */
class __TwigTemplate_171fb87bc3b2c19478f77234b50feb8fd4b37c92d8045549a77a801f58bd7063___964642200 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
{
return "app/area-brick-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", "areas/product-category-cards-brick/view.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "areas/product-category-cards-brick/view.html.twig"));
$this->parent = $this->loadTemplate("app/area-brick-layout.html.twig", "areas/product-category-cards-brick/view.html.twig", 9);
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 10
/**
* @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 11
yield " ";
$context["productCategories"] = ($context["productCategories"] ?? CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "relations", "productCategories"), "getElements", [], "method", false, false, true, 11));
// line 12
yield "
<section class=\"";
// line 13
yield ($context["sectionClasses"] ?? "");
yield "\">
<div class=\"";
// line 14
yield ($context["containerClasses"] ?? "container py-10 md:py-20");
yield " overflow-hidden\">
";
// line 16
if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 16, $this->source); })()) && Twig\Extension\CoreExtension::testEmpty((isset($context["productCategories"]) || array_key_exists("productCategories", $context) ? $context["productCategories"] : (function () { throw new RuntimeError('Variable "productCategories" does not exist.', 16, $this->source); })())))) {
// line 17
yield " ";
yield $this->extensions['App\Twig\AlertExtension']->info("Nog geen product categorieen geselecteerd.");
yield "
";
}
// line 19
yield "
";
// line 20
if (($context["showTitle"] ?? true)) {
// line 21
yield " ";
yield from $this->loadTemplate("includes/partials/text/_inline-icon-and-title.html.twig", "areas/product-category-cards-brick/view.html.twig", 21)->unwrap()->yield(CoreExtension::merge($context, ["defaultTitle" => ( // line 22
$context["defaultTitle"] ?? "")]));
// line 24
yield " ";
}
// line 25
yield "
<div class=\"";
// line 26
if ( !(isset($context["contactEmpty"]) || array_key_exists("contactEmpty", $context) ? $context["contactEmpty"] : (function () { throw new RuntimeError('Variable "contactEmpty" does not exist.', 26, $this->source); })())) {
yield " flex ";
}
yield "\">
<div class=\"swiper ";
// line 27
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["sliderClassName"]) || array_key_exists("sliderClassName", $context) ? $context["sliderClassName"] : (function () { throw new RuntimeError('Variable "sliderClassName" does not exist.', 27, $this->source); })()), 27, $this->source), "html", null, true);
yield " swiper-enable ";
if ( !(isset($context["contactEmpty"]) || array_key_exists("contactEmpty", $context) ? $context["contactEmpty"] : (function () { throw new RuntimeError('Variable "contactEmpty" does not exist.', 27, $this->source); })())) {
yield " w-1/2 ";
}
yield "\">
<div class=\"swiper-wrapper pb-10\">
";
// line 29
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["productCategories"]) || array_key_exists("productCategories", $context) ? $context["productCategories"] : (function () { throw new RuntimeError('Variable "productCategories" does not exist.', 29, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["productCategory"]) {
// line 30
yield " <div class=\"swiper-slide\">
";
// line 31
yield from $this->loadTemplate("areas/product-category-cards-brick/partials/category-card.html.twig", "areas/product-category-cards-brick/view.html.twig", 31)->unwrap()->yield($context);
// line 32
yield " </div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['productCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 34
yield " </div>
<div class=\"w-full md:w-auto absolute bottom-0 right-0 z-10\">
<div class=\"grid justify-between md:justify-end grid-cols-2 items-center\">
<div class=\"!w-auto related-product-swiper-pagination\"></div>
<div class=\"flex justify-end\">
<div class=\"gap-4 grid grid-cols-2\">
<div
class=\"related-product-swiper-button-prev\">
<svg class=\"rotate-180\" xmlns=\"http://www.w3.org/2000/svg\"
xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
version=\"1.1\">
<g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
fill-rule=\"evenodd\">
<g id=\"coolworld-project-case-study-vd-1504-v02\"
transform=\"translate(-1580.000000, -1967.550069)\"
fill=\"#0072BB\">
<g id=\"media\"
transform=\"translate(0.000000, 1270.000000)\">
<g id=\"Group-2\"
transform=\"translate(426.000000, 449.000000)\">
<g id=\"components/navigation/mobile/carousel\"
transform=\"translate(1014.000000, 245.000000)\">
<g id=\"icons/ui/arrow-line-right\"
transform=\"translate(140.000000, 3.000000)\">
<path
d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
id=\"arrow-line-right\"
transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
<div class=\"related-product-swiper-button-next\">
<svg xmlns=\"http://www.w3.org/2000/svg\"
xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
version=\"1.1\">
<g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
fill-rule=\"evenodd\">
<g id=\"coolworld-project-case-study-vd-1504-v02\"
transform=\"translate(-1580.000000, -1967.550069)\"
fill=\"#0072BB\">
<g id=\"media\"
transform=\"translate(0.000000, 1270.000000)\">
<g id=\"Group-2\"
transform=\"translate(426.000000, 449.000000)\">
<g id=\"components/navigation/mobile/carousel\"
transform=\"translate(1014.000000, 245.000000)\">
<g id=\"icons/ui/arrow-line-right\"
transform=\"translate(140.000000, 3.000000)\">
<path
d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
id=\"arrow-line-right\"
transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
</div>
</div>
</div>
</div>
</div>
";
// line 107
if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 107, $this->source); })()) || !(isset($context["contactEmpty"]) || array_key_exists("contactEmpty", $context) ? $context["contactEmpty"] : (function () { throw new RuntimeError('Variable "contactEmpty" does not exist.', 107, $this->source); })()))) {
// line 108
yield " ";
// line 109
yield " <div class=\"md:ml-20 bg-blue-300 rounded text-white p-8 h-max w-1/2\">
<b class=\"text-[24px] mb-4\">";
// line 110
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "contact-title");
yield "</b>
<div class=\"flex flex-col gap-6 mt-4\">
";
// line 113
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "contacts"), "iterator", [], "any", false, false, true, 113));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 114
yield " ";
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 114, $this->source); })())) {
// line 115
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "contact-image");
yield "
";
// line 116
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "contact-name");
yield "
";
// line 117
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "contact-function");
yield "
";
// line 119
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "contact-number");
yield "
";
// line 120
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "contact-mail");
yield "
";
} else {
// line 122
yield " <div
class=\"flex flex-col gap-4 md:gap-0 md:flex-row md:items-center justify-between\">
<div class=\"flex flex-row gap-4 items-center\">
";
// line 125
if ( !CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "contact-image"), "isEmpty", [], "method", false, false, true, 125)) {
// line 126
yield " ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "contact-image"), "thumbnail", ["contact-icon"], "method", false, false, true, 126), "html", [["imgAttributes" => ["width" => "52", "height" => "52", "class" => "w-full h-full"], "pictureAttributes" => ["class" => "rounded-full overflow-hidden w-[52px] h-[52px]"]]], "method", false, false, true, 126), 126, $this->source);
// line 129
yield "
";
}
// line 131
yield " <div class=\"flex flex-col\">
<b class=\"text-[20px]\">";
// line 132
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "contact-name"), "getData", [], "method", true, true, true, 132)) ? (Twig\Extension\CoreExtension::default($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "contact-name"), "getData", [], "method", false, false, true, 132), 132, $this->source), "")) : ("")), "html", null, true);
yield "</b>
";
// line 134
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "contact-function"), "getData", [], "method", true, true, true, 134)) ? (Twig\Extension\CoreExtension::default($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "contact-function"), "getData", [], "method", false, false, true, 134), 134, $this->source), "")) : ("")), "html", null, true);
yield "
</div>
</div>
<div class=\"flex flex-row gap-4\">
";
// line 139
if (((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "contact-mail"), "getHref", [], "method", true, true, true, 139)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "contact-mail"), "getHref", [], "method", false, false, true, 139))) : (""))) {
// line 140
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-mail"), "getHref", [], "method", false, false, true, 140), 140, $this->source), "html", null, true);
yield "\"
target=\"_blank\"
class=\"flex font-bold text-blue hover:underline\">
<span
class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"12\"><path
fill=\"currentColor\" fill-rule=\"evenodd\"
d=\"M1.4 9.8V3.877l5.316 2.362a.7.7 0 0 0 .568 0L12.6 3.877V9.8H1.4Zm11.2-8.4v.945L7 4.834 1.4 2.345V1.4h11.2ZM14 2.786V.7a.7.7 0 0 0-.7-.7H.7a.7.7 0 0 0-.7.7v9.8a.7.7 0 0 0 .7.7h12.6a.7.7 0 0 0 .7-.7V2.786Z\"></path></svg>
</span>
</a>
";
}
// line 151
yield "
";
// line 152
if (((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "contact-number"), "getHref", [], "method", true, true, true, 152)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "contact-number"), "getHref", [], "method", false, false, true, 152))) : (""))) {
// line 153
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-number"), "getHref", [], "method", false, false, true, 153), 153, $this->source), "html", null, true);
yield "\"
class=\"flex font-bold text-blue hover:underline\">
<span
class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\"><path
fill=\"currentColor\" fill-rule=\"evenodd\"
d=\"m13.47 9.12-2.8-.7a.703.703 0 0 0-.752.292L8.126 11.4A11.959 11.959 0 0 1 2.6 5.874l2.688-1.792a.7.7 0 0 0 .291-.752l-.7-2.8A.7.7 0 0 0 4.2 0H.7a.7.7 0 0 0-.7.7C.01 8.042 5.958 13.99 13.3 14a.7.7 0 0 0 .7-.7V9.8a.7.7 0 0 0-.53-.68Z\"></path></svg>
</span>
</a>
";
}
// line 163
yield " </div>
</div>
";
}
// line 166
yield "
";
// line 167
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 167) == (CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "contacts"), "getCount", [], "method", false, false, true, 167) - 1))) {
// line 168
yield " <hr class=\"bg-blue-200 opacity-50\">
";
}
// line 170
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 171
yield " </div>
</div>
";
}
// line 174
yield " </div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "areas/product-category-cards-brick/view.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 696 => 174, 691 => 171, 677 => 170, 673 => 168, 671 => 167, 668 => 166, 663 => 163, 649 => 153, 647 => 152, 644 => 151, 629 => 140, 627 => 139, 619 => 134, 614 => 132, 611 => 131, 607 => 129, 604 => 126, 602 => 125, 597 => 122, 592 => 120, 588 => 119, 583 => 117, 579 => 116, 574 => 115, 571 => 114, 554 => 113, 548 => 110, 545 => 109, 543 => 108, 541 => 107, 466 => 34, 451 => 32, 449 => 31, 446 => 30, 429 => 29, 420 => 27, 414 => 26, 411 => 25, 408 => 24, 406 => 22, 404 => 21, 402 => 20, 399 => 19, 393 => 17, 391 => 16, 386 => 14, 382 => 13, 379 => 12, 376 => 11, 363 => 10, 68 => 9, 65 => 8, 61 => 6, 57 => 4, 55 => 3, 52 => 2, 50 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% set contactEmpty = pimcore_block('contacts').isEmpty() %}
{% if sliderClass is defined and sliderClass is not empty() %}
{% set sliderClassName = sliderClass %}
{% else %}
{% set sliderClassName = 'related-products-swiper' %}
{% endif %}
{% embed 'app/area-brick-layout.html.twig' %}
{% block content %}
{% set productCategories = productCategories ?? pimcore_relations('productCategories').getElements() %}
<section class=\"{{ sectionClasses ?? '' }}\">
<div class=\"{{ containerClasses ?? 'container py-10 md:py-20' }} overflow-hidden\">
{% if editmode and productCategories is empty %}
{{ info(\"Nog geen product categorieen geselecteerd.\")|raw }}
{% endif %}
{% if showTitle ?? true %}
{% include 'includes/partials/text/_inline-icon-and-title.html.twig' with {
'defaultTitle': defaultTitle ?? \"\"
} %}
{% endif %}
<div class=\"{% if not contactEmpty %} flex {% endif %}\">
<div class=\"swiper {{ sliderClassName }} swiper-enable {% if not contactEmpty %} w-1/2 {% endif %}\">
<div class=\"swiper-wrapper pb-10\">
{% for productCategory in productCategories %}
<div class=\"swiper-slide\">
{% include 'areas/product-category-cards-brick/partials/category-card.html.twig' %}
</div>
{% endfor %}
</div>
<div class=\"w-full md:w-auto absolute bottom-0 right-0 z-10\">
<div class=\"grid justify-between md:justify-end grid-cols-2 items-center\">
<div class=\"!w-auto related-product-swiper-pagination\"></div>
<div class=\"flex justify-end\">
<div class=\"gap-4 grid grid-cols-2\">
<div
class=\"related-product-swiper-button-prev\">
<svg class=\"rotate-180\" xmlns=\"http://www.w3.org/2000/svg\"
xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
version=\"1.1\">
<g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
fill-rule=\"evenodd\">
<g id=\"coolworld-project-case-study-vd-1504-v02\"
transform=\"translate(-1580.000000, -1967.550069)\"
fill=\"#0072BB\">
<g id=\"media\"
transform=\"translate(0.000000, 1270.000000)\">
<g id=\"Group-2\"
transform=\"translate(426.000000, 449.000000)\">
<g id=\"components/navigation/mobile/carousel\"
transform=\"translate(1014.000000, 245.000000)\">
<g id=\"icons/ui/arrow-line-right\"
transform=\"translate(140.000000, 3.000000)\">
<path
d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
id=\"arrow-line-right\"
transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
<div class=\"related-product-swiper-button-next\">
<svg xmlns=\"http://www.w3.org/2000/svg\"
xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"23.5857104px\"
height=\"16.8675464px\" viewBox=\"0 0 23.5857104 16.8675464\"
version=\"1.1\">
<g id=\"case-study\" stroke=\"none\" stroke-width=\"1\" fill=\"none\"
fill-rule=\"evenodd\">
<g id=\"coolworld-project-case-study-vd-1504-v02\"
transform=\"translate(-1580.000000, -1967.550069)\"
fill=\"#0072BB\">
<g id=\"media\"
transform=\"translate(0.000000, 1270.000000)\">
<g id=\"Group-2\"
transform=\"translate(426.000000, 449.000000)\">
<g id=\"components/navigation/mobile/carousel\"
transform=\"translate(1014.000000, 245.000000)\">
<g id=\"icons/ui/arrow-line-right\"
transform=\"translate(140.000000, 3.000000)\">
<path
d=\"M22.6587309,7.6425728 L5.09460875,7.6425728 L5.09460875,7.6425728 L9.92142843,2.81683065 C10.4400119,2.29836292 10.4401058,1.4576668 9.92163804,0.939083306 C9.92160311,0.939048366 9.92156818,0.939013428 9.92153324,0.938978492 C9.40298689,0.420432142 8.56225714,0.420432142 8.0437108,0.938978492 C8.04368837,0.939000914 8.04366595,0.939023337 8.04364353,0.939045761 L0.70705612,8.27668449 C0.316700705,8.6672985 0.316700705,9.30038534 0.70705612,9.69099936 L8.04364353,17.0286381 C8.56215273,17.5472216 9.40288247,17.5472818 9.92146597,17.0287726 C9.9214884,17.0287502 9.92151082,17.0287278 9.92153324,17.0287054 C10.4400589,16.5101797 10.4400589,15.6694836 9.92153324,15.150958 C9.9214983,15.1509231 9.92146337,15.1508881 9.92142843,15.1508532 L5.09460875,10.3251111 L5.09460875,10.3251111 L22.6587309,10.3251111 C23.3994934,10.3251111 24,9.72460441 24,8.98384192 C24,8.24307944 23.3994934,7.6425728 22.6587309,7.6425728 Z\"
id=\"arrow-line-right\"
transform=\"translate(12.000000, 8.983842) scale(-1, 1) translate(-12.000000, -8.983842) \"/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>
</div>
</div>
</div>
</div>
</div>
</div>
{% if editmode or not contactEmpty %}
{# contact #}
<div class=\"md:ml-20 bg-blue-300 rounded text-white p-8 h-max w-1/2\">
<b class=\"text-[24px] mb-4\">{{ pimcore_input('contact-title') }}</b>
<div class=\"flex flex-col gap-6 mt-4\">
{% for i in pimcore_block('contacts').iterator %}
{% if editmode %}
{{ pimcore_image('contact-image') }}
{{ pimcore_input('contact-name') }}
{{ pimcore_input('contact-function') }}
{{ pimcore_link('contact-number') }}
{{ pimcore_link('contact-mail') }}
{% else %}
<div
class=\"flex flex-col gap-4 md:gap-0 md:flex-row md:items-center justify-between\">
<div class=\"flex flex-row gap-4 items-center\">
{% if not pimcore_image('contact-image').isEmpty() %}
{{ pimcore_image('contact-image').thumbnail('contact-icon').html({
imgAttributes: {width: '52', height: '52', class: 'w-full h-full'},
pictureAttributes: {class: 'rounded-full overflow-hidden w-[52px] h-[52px]'}
}) | raw }}
{% endif %}
<div class=\"flex flex-col\">
<b class=\"text-[20px]\">{{ pimcore_input('contact-name').getData() | default('') }}</b>
{{ pimcore_input('contact-function').getData() | default('') }}
</div>
</div>
<div class=\"flex flex-row gap-4\">
{% if pimcore_link('contact-mail').getHref() | default() %}
<a href=\"{{ pimcore_link('contact-mail').getHref() }}\"
target=\"_blank\"
class=\"flex font-bold text-blue hover:underline\">
<span
class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"12\"><path
fill=\"currentColor\" fill-rule=\"evenodd\"
d=\"M1.4 9.8V3.877l5.316 2.362a.7.7 0 0 0 .568 0L12.6 3.877V9.8H1.4Zm11.2-8.4v.945L7 4.834 1.4 2.345V1.4h11.2ZM14 2.786V.7a.7.7 0 0 0-.7-.7H.7a.7.7 0 0 0-.7.7v9.8a.7.7 0 0 0 .7.7h12.6a.7.7 0 0 0 .7-.7V2.786Z\"></path></svg>
</span>
</a>
{% endif %}
{% if pimcore_link('contact-number').getHref() | default() %}
<a href=\"{{ pimcore_link('contact-number').getHref() }}\"
class=\"flex font-bold text-blue hover:underline\">
<span
class=\"flex items-center justify-center w-6 h-6 bg-white rounded-full shadow-md\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"14\"><path
fill=\"currentColor\" fill-rule=\"evenodd\"
d=\"m13.47 9.12-2.8-.7a.703.703 0 0 0-.752.292L8.126 11.4A11.959 11.959 0 0 1 2.6 5.874l2.688-1.792a.7.7 0 0 0 .291-.752l-.7-2.8A.7.7 0 0 0 4.2 0H.7a.7.7 0 0 0-.7.7C.01 8.042 5.958 13.99 13.3 14a.7.7 0 0 0 .7-.7V9.8a.7.7 0 0 0-.53-.68Z\"></path></svg>
</span>
</a>
{% endif %}
</div>
</div>
{% endif %}
{% if loop.index == pimcore_block('contacts').getCount() - 1 %}
<hr class=\"bg-blue-200 opacity-50\">
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
</section>
{% endblock %}
{% endembed %}
", "areas/product-category-cards-brick/view.html.twig", "/home/forge/testing.coolworld.ptchr.dev/templates/areas/product-category-cards-brick/view.html.twig");
}
public function checkSecurity()
{
static $tags = ["extends" => 9, "set" => 11, "if" => 16, "include" => 21, "for" => 29];
static $filters = ["raw" => 17, "escape" => 27, "default" => 132];
static $functions = ["pimcore_relations" => 11, "info" => 17, "pimcore_input" => 110, "pimcore_block" => 113, "pimcore_image" => 115, "pimcore_link" => 119];
try {
$this->sandbox->checkSecurity(
['extends', 'set', 'if', 'include', 'for'],
['raw', 'escape', 'default'],
['pimcore_relations', 'info', 'pimcore_input', 'pimcore_block', 'pimcore_image', '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;
}
}
}