<?php
use Twig\Environment;
use function Shopware\Core\Framework\Adapter\Twig\sw_get_attribute;
use function Shopware\Core\Framework\Adapter\Twig\sw_escape_filter;
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;
/* @ProclaneWegmannTheme/storefront/element/cms-element-proclane-hero-basic.html.twig */
class __TwigTemplate_3a1da2783b5de1597d87d1376d6b512e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'proclane_sw_cms_element_hero_basic' => [$this, 'block_proclane_sw_cms_element_hero_basic'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ProclaneWegmannTheme/storefront/element/cms-element-proclane-hero-basic.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ProclaneWegmannTheme/storefront/element/cms-element-proclane-hero-basic.html.twig"));
// line 1
$this->displayBlock('proclane_sw_cms_element_hero_basic', $context, $blocks);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function block_proclane_sw_cms_element_hero_basic($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "proclane_sw_cms_element_hero_basic"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "proclane_sw_cms_element_hero_basic"));
// line 2
echo " <div class=\"proclane-sw-cms-el proclane-sw-cms-el-hero-basic\">
";
// line 3
$context["text"] = sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "config", [], "any", false, false, false, 3), "text", [], "any", false, false, false, 3), "value", [], "any", false, false, false, 3);
// line 4
echo " ";
$context["backgroundImage"] = twig_first($this->env, sw_get_attribute($this->env, $this->source, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([0 => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "config", [], "any", false, false, false, 4), "backgroundImage", [], "any", false, false, false, 4), "value", [], "any", false, false, false, 4)], sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "context", [], "any", false, false, false, 4)), "elements", [], "any", false, false, false, 4));
// line 5
echo " ";
$context["icon"] = twig_first($this->env, sw_get_attribute($this->env, $this->source, $this->extensions['Shopware\Core\Framework\Adapter\Twig\Extension\MediaExtension']->searchMedia([0 => sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, sw_get_attribute($this->env, $this->source, ($context["element"] ?? null), "config", [], "any", false, false, false, 5), "icon", [], "any", false, false, false, 5), "value", [], "any", false, false, false, 5)], sw_get_attribute($this->env, $this->source, ($context["context"] ?? null), "context", [], "any", false, false, false, 5)), "elements", [], "any", false, false, false, 5));
// line 6
echo "
<div class=\"proclane-sw-cms-el-hero-basic__text-container\">
<div class=\"proclane-sw-cms-el-hero-basic__text\">
<div class=\"hero-title-text\">
<div class=\"first-one\"></div>
<div class=\"container\">
<div class=\"text\">
<div class=\"text--inner-container\">
";
// line 14
echo sw_escape_filter($this->env, ($context["text"] ?? null), "html", null, true);
echo "
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"proclane-sw-cms-el-hero-basic__background-container\">
<img
class=\"proclane-sw-cms-el-hero-basic__background\"
src=\"";
// line 24
echo sw_escape_filter($this->env, sw_get_attribute($this->env, $this->source, ($context["backgroundImage"] ?? null), "url", [], "any", false, false, false, 24), "html", null, true);
echo "\"
/>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ProclaneWegmannTheme/storefront/element/cms-element-proclane-hero-basic.html.twig";
}
public function getDebugInfo()
{
return array ( 97 => 24, 84 => 14, 74 => 6, 71 => 5, 68 => 4, 66 => 3, 63 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("{% block proclane_sw_cms_element_hero_basic %}
<div class=\"proclane-sw-cms-el proclane-sw-cms-el-hero-basic\">
{% set text = element.config.text.value %}
{% set backgroundImage = searchMedia([element.config.backgroundImage.value], context.context).elements|first %}
{% set icon = searchMedia([element.config.icon.value], context.context).elements|first %}
<div class=\"proclane-sw-cms-el-hero-basic__text-container\">
<div class=\"proclane-sw-cms-el-hero-basic__text\">
<div class=\"hero-title-text\">
<div class=\"first-one\"></div>
<div class=\"container\">
<div class=\"text\">
<div class=\"text--inner-container\">
{{ text }}
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"proclane-sw-cms-el-hero-basic__background-container\">
<img
class=\"proclane-sw-cms-el-hero-basic__background\"
src=\"{{ backgroundImage.url }}\"
/>
</div>
</div>
{% endblock %}
", "@ProclaneWegmannTheme/storefront/element/cms-element-proclane-hero-basic.html.twig", "/var/www/html/htdocs/custom/plugins/ProcWegmannTheme/src/Resources/views/storefront/element/cms-element-proclane-hero-basic.html.twig");
}
}