<?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;
/* frontend/index.html.twig */
class __TwigTemplate_b08961c6ebeb9ed784f2d108fbb3d3c8010493a403f65aab3b6e9e7d282cdd4e 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 = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
'meta_desc_key' => [$this, 'block_meta_desc_key'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "base.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", "frontend/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/index.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "frontend/index.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 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("page_main_title", [], "store", (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 5, $this->source); })())), "html", null, true);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 7
/**
* @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 8
yield " <section class=\"section\" style=\"padding:5px!important;\">
<div class=\"container\">
";
// line 10
yield from $this->loadTemplate("/frontend/components/notification.html.twig", "frontend/index.html.twig", 10)->unwrap()->yield($context);
// line 11
yield " </div>
</section>
<!-- START OF SLIDER -->
<div class=\"section\" style=\"padding:2rem 1.5rem;\">
<div class=\"container\">
<!-- SLIDER NA DESKTOP -->
<div class='carousel carousel-animated carousel-animate-slide carousel-desktop'>
<div class='carousel-container'>
";
// line 20
$context["c"] = 0;
// line 21
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["banners"]) || array_key_exists("banners", $context) ? $context["banners"] : (function () { throw new RuntimeError('Variable "banners" does not exist.', 21, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["banner"]) {
// line 22
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "type", [], "any", false, false, false, 22) == Twig\Extension\CoreExtension::constant("App\\Entity\\Banners::TYPE_BIG"))) {
// line 23
yield " ";
$context["c"] = ((isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 23, $this->source); })()) + 1);
// line 24
yield "
<div data-href=\"";
// line 25
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "url", [], "any", false, false, false, 25), "html", null, true);
yield "\" class='carousel-item carousel-item-link has-background' style=\"height:100%; background: ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "color", [], "any", false, false, false, 25), "html", null, true);
yield "!important;\">
<div style=\"color: ";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "campaignTextColor", [], "any", false, false, false, 26), "html", null, true);
yield "!important; float: left; max-width: 45%;\">
<h1 class=\"banner_h1\">
";
// line 28
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 28), "html", null, true);
yield "
</h1>
<div class=\"additionalText\">
";
// line 31
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "additionalText", [], "any", false, false, false, 31), "html", null, true);
yield "
</div>
<div>
";
// line 34
if (CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "buttonText", [], "any", false, false, false, 34)) {
// line 35
yield " <a class=\"btn-banner\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "url", [], "any", false, false, false, 35), "html", null, true);
yield "\" style=\"background-color:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "buttonColor", [], "any", false, false, false, 35), "html", null, true);
yield "!important; color:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "buttonTextColor", [], "any", false, false, false, 35), "html", null, true);
yield "!important;\">
";
// line 36
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "buttonText", [], "any", false, false, false, 36), "html", null, true);
yield "
</a>
";
}
// line 39
yield " </div>
</div>
<div style=\"width: 100%; background: ";
// line 42
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "color", [], "any", false, false, false, 42), "html", null, true);
yield "!important; float:right; max-width: 55%;\">
<a href=\"";
// line 43
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "url", [], "any", false, false, false, 43), "html", null, true);
yield "\">
<img class=\"is-background\" style=\"height:100%!important; float: right\" src=\"/images/important/";
// line 44
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "imageName", [], "any", false, false, false, 44), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 44), "html", null, true);
yield "\" />
</a>
</div>
</div>
";
}
// line 50
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['banner'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 51
yield " </div>
<div class=\"carousel-navigation is-overlay\">
<div class=\"carousel-nav-left\">
<i class=\"fa fa-chevron-left\" aria-hidden=\"true\"></i>
</div>
<div class=\"carousel-nav-right\">
<i class=\"fa fa-chevron-right\" aria-hidden=\"true\"></i>
</div>
</div>
</div>
<!-- SLIDER NA MOBILKI -->
<div class='carousel carousel-animated carousel-animate-slide carousel-mobile'>
<div class='carousel-container'>
";
// line 64
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["banners"]) || array_key_exists("banners", $context) ? $context["banners"] : (function () { throw new RuntimeError('Variable "banners" does not exist.', 64, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["banner"]) {
// line 65
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "type", [], "any", false, false, false, 65) == Twig\Extension\CoreExtension::constant("App\\Entity\\Banners::TYPE_BIG"))) {
// line 66
yield " <div data-href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "url", [], "any", false, false, false, 66), "html", null, true);
yield "\" class='carousel-item carousel-item-link has-background' style=\"background: ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "color", [], "any", false, false, false, 66), "html", null, true);
yield "!important;\">
<div>
<img class=\"is-background\" src=\"/images/important/";
// line 68
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "imageName", [], "any", false, false, false, 68), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 68), "html", null, true);
yield "\" width=\"640\" height=\"310\" />
<div class=\"has-text-centered\" style=\"background: ";
// line 69
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "color", [], "any", false, false, false, 69), "html", null, true);
yield "!important; margin-top:-10px;\">
<h1 class=\"banner_h1 has-text-centered\" style=\"color: ";
// line 70
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "campaignTextColor", [], "any", false, false, false, 70), "html", null, true);
yield "!important;\">
";
// line 71
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 71), "html", null, true);
yield "
</h1>
<div class=\"additionalText has-text-centered\" style=\"color: ";
// line 73
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "campaignTextColor", [], "any", false, false, false, 73), "html", null, true);
yield "!important; margin-top:-10px;\">
";
// line 74
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "additionalText", [], "any", false, false, false, 74), "html", null, true);
yield "
</div>
";
// line 76
if (CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "buttonText", [], "any", false, false, false, 76)) {
// line 77
yield " <div style=\"margin-top:30px; display: flex;align-items: center; justify-content: center;\" class=\"has-text-centered\">
<a class=\"btn-banner-mobile\" href=\"";
// line 78
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "url", [], "any", false, false, false, 78), "html", null, true);
yield "\" style=\"margin-bottom:20px; background-color:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "buttonColor", [], "any", false, false, false, 78), "html", null, true);
yield "!important; color:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "buttonTextColor", [], "any", false, false, false, 78), "html", null, true);
yield "!important;\">
";
// line 79
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "buttonText", [], "any", false, false, false, 79), "html", null, true);
yield "
</a>
</div>
";
}
// line 83
yield "
</div>
</div>
</div>
";
}
// line 88
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['banner'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 89
yield " </div>
<div class=\"carousel-navigation is-overlay\">
<div class=\"carousel-nav-left\">
<i class=\"fa fa-chevron-left\" aria-hidden=\"true\"></i>
</div>
<div class=\"carousel-nav-right\">
<i class=\"fa fa-chevron-right\" aria-hidden=\"true\"></i>
</div>
</div>
</div>
</div>
</div>
<!-- END OF SLIDER -->
<!-- START CATEGORIES -->
<section class=\"section\" style=\"padding-top:0px;\">
<div class=\"container\">
<div class=\"has-text-centered is-4\">
<h1 class=\"is-size-4 margin-bot-30 standard-color\">";
// line 109
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo_header_title", [], "store"), "html", null, true);
yield "</h1>
</div>
<div class=\"columns is-multiline nasze-produkty\">
";
// line 114
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 114, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 115
yield " <!-- START CATEGORY BOX -->
<div class=\"column is-one-third-desktop is-half-tablet cat-container\">
<article style=\"background-image:url(/images/category/";
// line 117
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "imageName", [], "any", false, false, false, 117), "html", null, true);
yield "); cursor: pointer;\" class=\"box has-bg-img category-box\" data-href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["category"], "id", [], "any", false, false, false, 117), "slug" => CoreExtension::getAttribute($this->env, $this->source, $context["category"], "slug", [], "any", false, false, false, 117)]), "html", null, true);
yield "\">
<div class=\"content category-link\">
<div class=\"mobile-image-container is-flex is-hidden-desktop has-text-centered is-vcentered\" style=\"align-items: center;\">
";
// line 120
if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "imageName3", [], "any", false, false, false, 120)) {
// line 121
yield " <img alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 121), "html", null, true);
yield "\" src=\"/images/category/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "imageName3", [], "any", false, false, false, 121), "html", null, true);
yield "\">
";
}
// line 123
yield " </div>
<h2 class=\"title is-size-4 has-text-centered is-half-touch category-title\">
<a href=\"";
// line 125
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["category"], "id", [], "any", false, false, false, 125), "slug" => CoreExtension::getAttribute($this->env, $this->source, $context["category"], "slug", [], "any", false, false, false, 125)]), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 125), "html", null, true);
yield "</a>
</h2>
<div class=\"columns is-hidden-touch\">
<div class=\"column is-offset-one-third\">
<ul class=\"list-red is-size-7\">
";
// line 130
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "childrens", [], "any", false, false, false, 130));
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
// line 131
yield " ";
$context["visible"] = 1;
// line 132
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["child"], "langParams", [], "any", false, false, false, 132));
foreach ($context['_seq'] as $context["_key"] => $context["langParam"]) {
// line 133
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["langParam"], "language", [], "any", false, false, false, 133), "locale", [], "any", false, false, false, 133) == CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 133, $this->source); })()), "request", [], "any", false, false, false, 133), "locale", [], "any", false, false, false, 133))) {
// line 134
yield " ";
$context["visible"] = CoreExtension::getAttribute($this->env, $this->source, $context["langParam"], "visible", [], "any", false, false, false, 134);
// line 135
yield " ";
}
// line 136
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['langParam'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 137
yield " ";
if (((isset($context["visible"]) || array_key_exists("visible", $context) ? $context["visible"] : (function () { throw new RuntimeError('Variable "visible" does not exist.', 137, $this->source); })()) == 1)) {
// line 138
yield " <li><a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["child"], "id", [], "any", false, false, false, 138), "slug" => CoreExtension::getAttribute($this->env, $this->source, $context["child"], "slug", [], "any", false, false, false, 138)]), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["child"], "name", [], "any", false, false, false, 138), "html", null, true);
yield "</a></li>
";
}
// line 140
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['child'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 141
yield " </ul>
</div>
</div>
</div>
</article>
</div>
<!-- END CATEGORY BOX -->
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['category'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 149
yield "
</div>
</div>
</section>
<!-- END CATEGORIES -->
<!-- START OF SPECIAL OFFERS -->
<div class=\"section is-hidden-touch\">
<div class=\"container\">
<div class=\"is-size-4 margin-bot-30 is-600 is-red has-text-centered is-3 bold\">
";
// line 160
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("promo_special_offer", [], "store"), "html", null, true);
yield "
</div>
<div class=\"columns is-multiline special-offers-boxes\">
<!-- START CATEGORY BOX -->
<div class=\"column is-one-third-desktop\">
";
// line 167
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 167, $this->source); })()), "request", [], "any", false, false, false, 167), "locale", [], "any", false, false, false, 167) == "pl")) {
// line 168
yield " <a href=\"https://www.centrumkrzesel.pl/lp/228/strefa-okazji\">
";
}
// line 170
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 170, $this->source); })()), "request", [], "any", false, false, false, 170), "locale", [], "any", false, false, false, 170) == "sk")) {
// line 171
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => 121, "slug" => "akcna-ponuka"]), "html", null, true);
yield "\">
";
}
// line 173
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 173, $this->source); })()), "request", [], "any", false, false, false, 173), "locale", [], "any", false, false, false, 173) == "cz")) {
// line 174
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => 121, "slug" => "akcni-nabidka-"]), "html", null, true);
yield "\">
";
}
// line 176
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 176, $this->source); })()), "request", [], "any", false, false, false, 176), "locale", [], "any", false, false, false, 176) == "ro")) {
// line 177
yield " <a href=\"https://www.mobila24.ro/oferte/121/c\">
";
}
// line 179
yield " <article style=\"background-image:url(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["staticImages"]) || array_key_exists("staticImages", $context) ? $context["staticImages"] : (function () { throw new RuntimeError('Variable "staticImages" does not exist.', 179, $this->source); })()), (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 179, $this->source); })()), [], "array", false, false, false, 179), "szok", [], "any", false, false, false, 179), "html", null, true);
yield ");\" class=\"box has-bg-img special-offer-box\">
</article>
</a>
</div>
<!-- END CATEGORY BOX -->
<!-- START CATEGORY BOX -->
<div class=\"column is-one-third-desktop\">
<article style=\"background-image:url(";
// line 187
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["staticImages"]) || array_key_exists("staticImages", $context) ? $context["staticImages"] : (function () { throw new RuntimeError('Variable "staticImages" does not exist.', 187, $this->source); })()), (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 187, $this->source); })()), [], "array", false, false, false, 187), "prod24h", [], "any", false, false, false, 187), "html", null, true);
yield ");\" class=\"box has-bg-img special-offer-box\">
</article>
</div>
<!-- END CATEGORY BOX -->
<!-- START CATEGORY BOX -->
<div class=\"column is-one-third-desktop\">
";
// line 194
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 194, $this->source); })()), "request", [], "any", false, false, false, 194), "locale", [], "any", false, false, false, 194) == "ro")) {
// line 195
yield " <a href=\"https://www.mobila24.ro/scaune-elementare-accesibile/126/c\">
";
} else {
// line 197
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => 237, "slug" => "outlet-2"]), "html", null, true);
yield "\">
";
}
// line 199
yield " <article style=\"background-image:url(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["staticImages"]) || array_key_exists("staticImages", $context) ? $context["staticImages"] : (function () { throw new RuntimeError('Variable "staticImages" does not exist.', 199, $this->source); })()), (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 199, $this->source); })()), [], "array", false, false, false, 199), "outlet", [], "any", false, false, false, 199), "html", null, true);
yield ");\" class=\"box has-bg-img special-offer-box\">
</article>
</a>
</div>
<!-- END CATEGORY BOX -->
</div>
</div>
</div>
<!-- END OF SPECIAL OFFERS -->
<!-- START OF BESTSELLER SLIDER -->
<section class=\"section\">
<div class=\"columns\">
<product-tabs :slides-count=\"6\" inline-template v-cloak>
<div class=\"column is-full\" id=\"podobne\" v-match-heights=\"{ el: [ '.card-image' ]}\">
<div class=\"tabs is-centered is-medium\">
<ul>
<li class=\"is-active\">
<a href=\"#\" @click.stop.prevent=\"clicked( 2 )\">";
// line 217
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("bestsellers_section_title", [], "store"), "html", null, true);
yield "</a>
</li>
</ul>
</div>
";
// line 222
$context["c"] = 0;
// line 223
yield " <agile ref=\"carousel_2\" class=\"container is-fluid thumbnails\" :options=\"sliderOptions\">
";
// line 224
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["promotionsProducts"]) || array_key_exists("promotionsProducts", $context) ? $context["promotionsProducts"] : (function () { throw new RuntimeError('Variable "promotionsProducts" does not exist.', 224, $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["productData"]) {
// line 225
yield " ";
$context["product"] = CoreExtension::getAttribute($this->env, $this->source, $context["productData"], 0, [], "array", false, false, false, 225);
// line 226
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["productData"], "isBestseller", [], "any", false, false, false, 226)) {
// line 227
yield " ";
$context["c"] = ((isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 227, $this->source); })()) + 1);
// line 228
yield " ";
if (((isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 228, $this->source); })()) < 11)) {
// line 229
yield " ";
yield from $this->loadTemplate("frontend/components/smallProduct.html.twig", "frontend/index.html.twig", 229)->unwrap()->yield(CoreExtension::merge($context, ["lazyDisabled" => 1, "cssClass" => "card-homepage", "isOneQuarter" => 1, "product" => (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 229, $this->source); })()), "productData" => $context["productData"]]));
// line 230
yield " ";
}
// line 231
yield " ";
}
// line 232
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['productData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 233
yield " <template slot=\"prevButton\"><i class=\"fas fa-chevron-left\" style=\"margin-left:20px;\"></i></template>
<template slot=\"nextButton\"><i class=\"fas fa-chevron-right\" style=\"margin-right: 20px;\"></i></template>
</agile>
</div>
</product-tabs>
</div>
";
// line 240
if ((isset($context["catBest"]) || array_key_exists("catBest", $context) ? $context["catBest"] : (function () { throw new RuntimeError('Variable "catBest" does not exist.', 240, $this->source); })())) {
// line 241
yield " <div class=\"has-text-centered\">
<a href=\"";
// line 242
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["catBest"]) || array_key_exists("catBest", $context) ? $context["catBest"] : (function () { throw new RuntimeError('Variable "catBest" does not exist.', 242, $this->source); })()), "id", [], "any", false, false, false, 242), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["catBest"]) || array_key_exists("catBest", $context) ? $context["catBest"] : (function () { throw new RuntimeError('Variable "catBest" does not exist.', 242, $this->source); })()), "slug", [], "any", false, false, false, 242)]), "html", null, true);
yield "\" class=\"standard-button btn-banner-mobile\">
";
// line 243
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("view_all_bestseller", [], "store"), "html", null, true);
yield " <i class=\"fa fa-arrow-right\"></i>
</a>
</div>
";
}
// line 247
yield "
</section>
<!-- START OF BANNERS SECTION -->
<section class=\"section banners\">
<div class=\"container\">
<div class=\"columns\">
";
// line 255
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["smallBanners"]) || array_key_exists("smallBanners", $context) ? $context["smallBanners"] : (function () { throw new RuntimeError('Variable "smallBanners" does not exist.', 255, $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["banner"]) {
// line 256
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "position", [], "any", false, false, false, 256) == 1)) {
// line 257
yield " ";
yield from $this->loadTemplate("/frontend/components/_smallBanner.html.twig", "frontend/index.html.twig", 257)->unwrap()->yield(CoreExtension::merge($context, ["cssClass" => "is-three-fifths-desktop", "banner" => $context["banner"], "cta" => 1]));
// line 258
yield " ";
}
// line 259
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['banner'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 260
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["smallBanners"]) || array_key_exists("smallBanners", $context) ? $context["smallBanners"] : (function () { throw new RuntimeError('Variable "smallBanners" does not exist.', 260, $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["banner"]) {
// line 261
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "position", [], "any", false, false, false, 261) == 2)) {
// line 262
yield " ";
yield from $this->loadTemplate("/frontend/components/_smallBanner.html.twig", "frontend/index.html.twig", 262)->unwrap()->yield(CoreExtension::merge($context, ["cssClass" => "is-two-fifths-desktop", "banner" => $context["banner"], "cta" => 0]));
// line 263
yield " ";
}
// line 264
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['banner'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 265
yield " </div>
<div class=\"columns\">
";
// line 268
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["smallBanners"]) || array_key_exists("smallBanners", $context) ? $context["smallBanners"] : (function () { throw new RuntimeError('Variable "smallBanners" does not exist.', 268, $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["banner"]) {
// line 269
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "position", [], "any", false, false, false, 269) == 3)) {
// line 270
yield " ";
yield from $this->loadTemplate("/frontend/components/_smallBanner.html.twig", "frontend/index.html.twig", 270)->unwrap()->yield(CoreExtension::merge($context, ["cssClass" => "is-two-fifths-desktop", "banner" => $context["banner"], "cta" => 0]));
// line 271
yield " ";
}
// line 272
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['banner'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 273
yield "
";
// line 274
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["smallBanners"]) || array_key_exists("smallBanners", $context) ? $context["smallBanners"] : (function () { throw new RuntimeError('Variable "smallBanners" does not exist.', 274, $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["banner"]) {
// line 275
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "position", [], "any", false, false, false, 275) == 4)) {
// line 276
yield " ";
yield from $this->loadTemplate("/frontend/components/_smallBanner.html.twig", "frontend/index.html.twig", 276)->unwrap()->yield(CoreExtension::merge($context, ["cssClass" => "is-three-fifths-desktop", "banner" => $context["banner"], "cta" => 1]));
// line 277
yield " ";
}
// line 278
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['banner'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 279
yield " </div>
";
// line 281
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["smallBanners"]) || array_key_exists("smallBanners", $context) ? $context["smallBanners"] : (function () { throw new RuntimeError('Variable "smallBanners" does not exist.', 281, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["banner"]) {
// line 282
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "position", [], "any", false, false, false, 282) == 5)) {
// line 283
yield " <div class=\"columns\">
<div class=\"column is-full is-hidden-desktop\">
<div class=\"image\">
";
// line 286
if (CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "url", [], "any", false, false, false, 286)) {
// line 287
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "url", [], "any", false, false, false, 287), "html", null, true);
yield "\">
<img src=\"/images/important/";
// line 288
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "imageName", [], "any", false, false, false, 288), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 288), "html", null, true);
yield "\">
</a>
";
} else {
// line 291
yield " <img src=\"/images/important/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "imageName", [], "any", false, false, false, 291), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["banner"], "title", [], "any", false, false, false, 291), "html", null, true);
yield "\">
";
}
// line 293
yield " </div>
</div>
</div>
";
}
// line 297
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['banner'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 298
yield "
</div>
</section>
<!-- END OF BANNERS SECTION -->
<input type=\"hidden\" value=\"";
// line 304
if ((array_key_exists("isMobile", $context) && (isset($context["isMobile"]) || array_key_exists("isMobile", $context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.', 304, $this->source); })()))) {
yield "2";
} else {
yield "5";
}
yield "\" id=\"slide_counter\"/>
<!-- START OF BESTSELLER SLIDER -->
<section class=\"section\">
<div class=\"columns\">
<product-tabs :slides-count=\"6\" inline-template v-cloak>
<div class=\"column is-full\" id=\"podobne\" v-match-heights=\"{ el: [ '.card-image' ]}\">
<div class=\"tabs is-centered is-medium\" style=\"margin-bottom: -20px;\">
<ul>
<li :class=\"tab == 1 ? 'is-active' : ''\">
<a href=\"#\" @click.stop.prevent=\"clicked( 1 )\">";
// line 314
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("newest", [], "store"), "html", null, true);
yield "</a>
</li>
</ul>
</div>
<agile ref=\"carousel_1\" class=\"container is-fluid thumbnails\" :options=\"sliderOptions\" v-if=\"tab == 1\">
";
// line 320
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["promotionsProducts"]) || array_key_exists("promotionsProducts", $context) ? $context["promotionsProducts"] : (function () { throw new RuntimeError('Variable "promotionsProducts" does not exist.', 320, $this->source); })()), 0, 10));
$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["productData"]) {
// line 321
yield " ";
$context["product"] = CoreExtension::getAttribute($this->env, $this->source, $context["productData"], 0, [], "array", false, false, false, 321);
// line 322
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["productData"], "isNew", [], "any", false, false, false, 322)) {
// line 323
yield " ";
yield from $this->loadTemplate("frontend/components/smallProduct.html.twig", "frontend/index.html.twig", 323)->unwrap()->yield(CoreExtension::merge($context, ["lazyDisabled" => 1, "cssClass" => "card-homepage", "isOneQuarter" => 1, "product" => (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 323, $this->source); })()), "productData" => $context["productData"]]));
// line 324
yield " ";
}
// line 325
yield " <!-- END OF ARTICLE -->
";
++$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['productData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 327
yield " <template slot=\"prevButton\"><i class=\"fas fa-chevron-left\" style=\"margin-left:20px;\"></i></template>
<template slot=\"nextButton\"><i class=\"fas fa-chevron-right\" style=\"margin-right: 20px;\"></i></template>
</agile>
</div>
</product-tabs>
</div>
";
// line 334
if ((isset($context["catNews"]) || array_key_exists("catNews", $context) ? $context["catNews"] : (function () { throw new RuntimeError('Variable "catNews" does not exist.', 334, $this->source); })())) {
// line 335
yield " <div class=\"has-text-centered\">
<a href=\"";
// line 336
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["catNews"]) || array_key_exists("catNews", $context) ? $context["catNews"] : (function () { throw new RuntimeError('Variable "catNews" does not exist.', 336, $this->source); })()), "id", [], "any", false, false, false, 336), "slug" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["catNews"]) || array_key_exists("catNews", $context) ? $context["catNews"] : (function () { throw new RuntimeError('Variable "catNews" does not exist.', 336, $this->source); })()), "slug", [], "any", false, false, false, 336)]), "html", null, true);
yield "\" class=\"standard-button btn-banner-mobile\">
";
// line 337
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("view_all_newest", [], "store"), "html", null, true);
yield " <i class=\"fa fa-arrow-right\"></i>
</a>
</div>
";
}
// line 341
yield "
</section>
<!-- END OF BESTSELLER SLIDER -->
<!-- START OF INFOGRAPHIC SECTION -->
<section class=\"section\">
<div class=\"container\">
<div class=\"columns is-centered\">
<div class=\"column is-half\">
<div class=\"subtitle has-text-centered margin-bot-30\">
";
// line 354
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("for_your_convinient", [], "store"), "html", null, true);
yield "
</div>
</div>
</div>
<div class=\"columns home-ikony is-multiline is-centered is-flex-tablet is-hidden-mobile\">
<div class=\"column is-half-mobile has-text-centered\">
<figure class=\"image\">
<img src=\"/v2/ico/ico_14.svg\" alt=\"\">
</figure>
<p class=\"title is-16px standard-color\">";
// line 366
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("14_days_return", [], "store");
yield "</p>
</div>
<div class=\"column is-half-mobile has-text-centered\">
<figure class=\"image\">
<img src=\"";
// line 371
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["staticImages"]) || array_key_exists("staticImages", $context) ? $context["staticImages"] : (function () { throw new RuntimeError('Variable "staticImages" does not exist.', 371, $this->source); })()), (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 371, $this->source); })()), [], "array", false, false, false, 371), "freeDelivery", [], "any", false, false, false, 371), "html", null, true);
yield "\" alt=\"\" ";
if ((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 371, $this->source); })()), "request", [], "any", false, false, false, 371), "locale", [], "any", false, false, false, 371) == "ro") || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 371, $this->source); })()), "request", [], "any", false, false, false, 371), "locale", [], "any", false, false, false, 371) == "sk")) || (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 371, $this->source); })()), "request", [], "any", false, false, false, 371), "locale", [], "any", false, false, false, 371) == "cz"))) {
yield "style=\"width: 70px!important;\" ";
}
yield ">
</figure>
<p class=\"title is-16px standard-color\">";
// line 373
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("free_delivery_return", [], "store");
yield "</p>
</div>
<div class=\"column is-half-mobile has-text-centered\">
<figure class=\"image\">
<img src=\"/v2/ico/ico_300_customers.svg\" alt=\"\">
</figure>
<p class=\"title is-16px standard-color\">";
// line 380
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("text_300_customers", [], "store");
yield "</p>
</div>
<div class=\"column is-half-mobile has-text-centered\">
<figure class=\"image\">
<img src=\"/v2/ikonka_18_lat.png\" alt=\"\">
</figure>
<p class=\"title is-16px standard-color\">";
// line 387
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("15_years", [], "store");
yield "</p>
</div>
<div class=\"column is-half-mobile has-text-centered\">
<figure class=\"image\">
<img src=\"/v2/ico/ico_pig.svg\" alt=\"\">
</figure>
<p class=\"title is-16px standard-color\">";
// line 394
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("price_with_negotiations", [], "store");
yield "</p>
</div>
</div>
<div class='carousel carousel-animated carousel-animate-slide is-hidden-tablet'>
<div class='carousel-container'>
<div class=\"carousel-item\" style=\"display: flex;\">
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img src=\"/v2/ico/ico_14.svg\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">";
// line 407
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("14_days_return", [], "store");
yield "</p>
</div>
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img style=\"max-height: 90px;\" src=\"";
// line 412
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["staticImages"]) || array_key_exists("staticImages", $context) ? $context["staticImages"] : (function () { throw new RuntimeError('Variable "staticImages" does not exist.', 412, $this->source); })()), (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 412, $this->source); })()), [], "array", false, false, false, 412), "freeDelivery", [], "any", false, false, false, 412), "html", null, true);
yield "\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">";
// line 414
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("free_delivery_return", [], "store");
yield "</p>
</div>
</div>
<div class=\"carousel-item\" style=\"display: flex;\">
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img src=\"/v2/ico/ico_300_customers.svg\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">";
// line 423
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("text_300_customers", [], "store");
yield "</p>
</div>
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img src=\"/v2/ikonka_18_lat.png\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">";
// line 430
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("15_years", [], "store");
yield "</p>
</div>
</div>
<div class=\"carousel-item\" style=\"display: flex;\">
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img src=\"/v2/ico/ico_pig.svg\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">";
// line 439
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("price_with_negotiations", [], "store");
yield "</p>
</div>
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img src=\"";
// line 444
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["staticImages"]) || array_key_exists("staticImages", $context) ? $context["staticImages"] : (function () { throw new RuntimeError('Variable "staticImages" does not exist.', 444, $this->source); })()), (isset($context["locale"]) || array_key_exists("locale", $context) ? $context["locale"] : (function () { throw new RuntimeError('Variable "locale" does not exist.', 444, $this->source); })()), [], "array", false, false, false, 444), "freeDelivery", [], "any", false, false, false, 444), "html", null, true);
yield "\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">";
// line 446
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("free_delivery_return", [], "store");
yield "</p>
</div>
</div>
</div>
<div class=\"carousel-navigation is-overlay\">
<div class=\"carousel-nav-left\">
<i class=\"fa fa-chevron-left\" aria-hidden=\"true\"></i>
</div>
<div class=\"carousel-nav-right\">
<i class=\"fa fa-chevron-right\" aria-hidden=\"true\"></i>
</div>
</div>
</div>
</div>
</section>
<!-- END OF INFOGRAPHIC SECTION -->
<form action=\"";
// line 466
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getresponse_handler");
yield "\" method=\"post\">
<!-- START OF NEWSLETTER SECTION -->
<section class=\"section newsletter\" style=\"background: #DBDBDB;\">
<div class=\"container\">
<div class=\"columns is-centered\">
<div class=\"column is-three-fifths-desktop is-full-mobile\">
<div class=\"title is-size-4\">
<strong>
";
// line 476
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("save_to_newsletter", [], "store"), "html", null, true);
yield "
</strong>
</div>
<div class=\"title title-light\" style=\"font-size: 18px;\">
";
// line 481
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("recieve_newest_info", [], "store");
yield "
</div>
<div class=\"title\" style=\"margin-top:-17px; font-size:18px;\">
";
// line 485
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("newsletter_discount_info_header2", [], "store");
yield "
</div>
<div class=\"field has-addons\" style=\"z-index: 100000;\">
<p class=\"control is-expanded form-input\" style=\"z-index: 100000;\"> <!-- form -->
<input type=\"text\" name=\"email\" class=\"input newsletter-input\" placeholder=\"";
// line 490
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("your_email", [], "store"), "html", null, true);
yield "\">
<button class=\"button is-danger news-button\">";
// line 491
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sign_in_newsletter", [], "store"), "html", null, true);
yield "</button>
</p>
</div>
</div>
<div class=\"column is-two-fifths-desktop is-hidden-mobile\" style=\"display: flex; align-items: center; justify-content: center;\">
<img alt=\"newsletter signup\" style=\"max-width: 250px;\" src=\"/v2/koperta-transparent.png\"/>
</div>
</div>
";
// line 500
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 500, $this->source); })()), "request", [], "any", false, false, false, 500), "locale", [], "any", false, false, false, 500) == "pl")) {
// line 501
yield " <div class=\"columns is-full\" style=\"margin-left:5px; margin-top:-35px;\">
<a href=\"/images/terms_";
// line 502
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 502, $this->source); })()), "request", [], "any", false, false, false, 502), "locale", [], "any", false, false, false, 502), "html", null, true);
yield ".pdf\" target=\"_blank\" style=\"font-size:14px;\">
";
// line 503
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("newsletter_terms_accept_info", [], "store");
yield "
</a>
</div>
";
}
// line 507
yield "
</div>
</section>
</form>
<!-- END OF NEWSLETTER SECTION -->
<!-- START OF LOGOS -->
<div class=\"is-hidden-mobile\">
<section class=\"section logos\">
<div class=\"container\">
<logo-carousel inline-template v-cloak
:logos=\"[
";
// line 519
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["producers"]) || array_key_exists("producers", $context) ? $context["producers"] : (function () { throw new RuntimeError('Variable "producers" does not exist.', 519, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["producer"]) {
// line 520
yield " {
img: 'https://";
// line 521
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["domain"]) || array_key_exists("domain", $context) ? $context["domain"] : (function () { throw new RuntimeError('Variable "domain" does not exist.', 521, $this->source); })()), "html", null, true);
yield "/images/producer/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["producer"], "imageName", [], "any", false, false, false, 521), "html", null, true);
yield "',
url: '";
// line 522
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\AppExtension']->productProducerUrl(CoreExtension::getAttribute($this->env, $this->source, $context["producer"], "id", [], "any", false, false, false, 522), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 522, $this->source); })()), "request", [], "any", false, false, false, 522), "locale", [], "any", false, false, false, 522)), "html", null, true);
yield "'
},
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['producer'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 525
yield " ]\"
>
<div class=\"columns is-multiline is-centered\">
<agile class=\"container\" :options=\"logoOptions\">
<div class=\"column\" v-for=\"( logo, index ) in slides\" :key=\"index\">
<a :href=\"logo.url\">
<div class=\"image\">
<img :src=\"logo.img\" />
</div>
</a>
</div>
</agile>
</div>
</logo-carousel>
</div>
</section>
</div>
<!-- END OF LOGOS -->
";
// line 545
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 545, $this->source); })()), "request", [], "any", false, false, false, 545), "locale", [], "any", false, false, false, 545) == "pl")) {
// line 546
yield "
<script type=\"text/javascript\" src=\"//static.criteo.net/js/ld/ld.js\" async=\"true\"></script>
<script type=\"text/javascript\">
window.criteo_q = window.criteo_q || [];
var deviceType = /iPad/.test(navigator.userAgent) ? \"t\" : /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent) ? \"m\" : \"d\";
window.criteo_q.push(
{ event: \"setAccount\", account: 36267 },
{ event: \"setEmail\", email: \"";
// line 553
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 553), "email", [], "any", true, true, false, 553)) {
yield " ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 553, $this->source); })()), "user", [], "any", false, false, false, 553), "email", [], "any", false, false, false, 553), "html", null, true);
yield " ";
}
yield "\" },
{ event: \"setSiteType\", type: deviceType },
{ event: \"viewHome\" }
);
</script>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 562
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_meta_desc_key(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", "meta_desc_key"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc_key"));
// line 563
yield " ";
yield from $this->yieldParentBlock("meta_desc_key", $context, $blocks);
yield "
";
// line 564
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 564, $this->source); })()), "request", [], "any", false, false, false, 564), "locale", [], "any", false, false, false, 564) == "pl")) {
// line 565
yield " ";
// line 566
yield " ";
// line 569
yield " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "frontend/index.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 1315 => 569, 1313 => 566, 1311 => 565, 1309 => 564, 1304 => 563, 1291 => 562, 1268 => 553, 1259 => 546, 1257 => 545, 1235 => 525, 1226 => 522, 1220 => 521, 1217 => 520, 1213 => 519, 1199 => 507, 1192 => 503, 1188 => 502, 1185 => 501, 1183 => 500, 1171 => 491, 1167 => 490, 1159 => 485, 1152 => 481, 1144 => 476, 1131 => 466, 1108 => 446, 1103 => 444, 1095 => 439, 1083 => 430, 1073 => 423, 1061 => 414, 1056 => 412, 1048 => 407, 1032 => 394, 1022 => 387, 1012 => 380, 1002 => 373, 993 => 371, 985 => 366, 970 => 354, 955 => 341, 948 => 337, 944 => 336, 941 => 335, 939 => 334, 930 => 327, 915 => 325, 912 => 324, 909 => 323, 906 => 322, 903 => 321, 886 => 320, 877 => 314, 860 => 304, 852 => 298, 846 => 297, 840 => 293, 832 => 291, 824 => 288, 819 => 287, 817 => 286, 812 => 283, 809 => 282, 805 => 281, 801 => 279, 787 => 278, 784 => 277, 781 => 276, 778 => 275, 761 => 274, 758 => 273, 744 => 272, 741 => 271, 738 => 270, 735 => 269, 718 => 268, 713 => 265, 699 => 264, 696 => 263, 693 => 262, 690 => 261, 672 => 260, 658 => 259, 655 => 258, 652 => 257, 649 => 256, 632 => 255, 622 => 247, 615 => 243, 611 => 242, 608 => 241, 606 => 240, 597 => 233, 583 => 232, 580 => 231, 577 => 230, 574 => 229, 571 => 228, 568 => 227, 565 => 226, 562 => 225, 545 => 224, 542 => 223, 540 => 222, 532 => 217, 510 => 199, 504 => 197, 500 => 195, 498 => 194, 488 => 187, 476 => 179, 472 => 177, 469 => 176, 463 => 174, 460 => 173, 454 => 171, 451 => 170, 447 => 168, 445 => 167, 435 => 160, 422 => 149, 409 => 141, 403 => 140, 395 => 138, 392 => 137, 386 => 136, 383 => 135, 380 => 134, 377 => 133, 372 => 132, 369 => 131, 365 => 130, 355 => 125, 351 => 123, 343 => 121, 341 => 120, 333 => 117, 329 => 115, 325 => 114, 317 => 109, 295 => 89, 289 => 88, 282 => 83, 275 => 79, 267 => 78, 264 => 77, 262 => 76, 257 => 74, 253 => 73, 248 => 71, 244 => 70, 240 => 69, 234 => 68, 226 => 66, 223 => 65, 219 => 64, 204 => 51, 198 => 50, 187 => 44, 183 => 43, 179 => 42, 174 => 39, 168 => 36, 159 => 35, 157 => 34, 151 => 31, 145 => 28, 140 => 26, 134 => 25, 131 => 24, 128 => 23, 125 => 22, 120 => 21, 118 => 20, 107 => 11, 105 => 10, 101 => 8, 88 => 7, 65 => 5, 42 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'base.html.twig' %}
{% trans_default_domain 'store' %}
{% block title %}{{ 'page_main_title'|trans({}, 'store', locale) }}{% endblock %}
{% block content %}
<section class=\"section\" style=\"padding:5px!important;\">
<div class=\"container\">
{% include '/frontend/components/notification.html.twig' %}
</div>
</section>
<!-- START OF SLIDER -->
<div class=\"section\" style=\"padding:2rem 1.5rem;\">
<div class=\"container\">
<!-- SLIDER NA DESKTOP -->
<div class='carousel carousel-animated carousel-animate-slide carousel-desktop'>
<div class='carousel-container'>
{% set c = 0 %}
{% for banner in banners %}
{% if banner.type == constant('App\\\\Entity\\\\Banners::TYPE_BIG') %}
{% set c = c + 1 %}
<div data-href=\"{{ banner.url }}\" class='carousel-item carousel-item-link has-background' style=\"height:100%; background: {{ banner.color }}!important;\">
<div style=\"color: {{ banner.campaignTextColor }}!important; float: left; max-width: 45%;\">
<h1 class=\"banner_h1\">
{{ banner.title }}
</h1>
<div class=\"additionalText\">
{{ banner.additionalText }}
</div>
<div>
{% if banner.buttonText %}
<a class=\"btn-banner\" href=\"{{ banner.url }}\" style=\"background-color:{{ banner.buttonColor }}!important; color:{{ banner.buttonTextColor }}!important;\">
{{ banner.buttonText }}
</a>
{% endif %}
</div>
</div>
<div style=\"width: 100%; background: {{ banner.color }}!important; float:right; max-width: 55%;\">
<a href=\"{{ banner.url }}\">
<img class=\"is-background\" style=\"height:100%!important; float: right\" src=\"/images/important/{{ banner.imageName }}\" alt=\"{{ banner.title }}\" />
</a>
</div>
</div>
{% endif %}
{% endfor %}
</div>
<div class=\"carousel-navigation is-overlay\">
<div class=\"carousel-nav-left\">
<i class=\"fa fa-chevron-left\" aria-hidden=\"true\"></i>
</div>
<div class=\"carousel-nav-right\">
<i class=\"fa fa-chevron-right\" aria-hidden=\"true\"></i>
</div>
</div>
</div>
<!-- SLIDER NA MOBILKI -->
<div class='carousel carousel-animated carousel-animate-slide carousel-mobile'>
<div class='carousel-container'>
{% for banner in banners %}
{% if banner.type == constant('App\\\\Entity\\\\Banners::TYPE_BIG') %}
<div data-href=\"{{ banner.url }}\" class='carousel-item carousel-item-link has-background' style=\"background: {{ banner.color }}!important;\">
<div>
<img class=\"is-background\" src=\"/images/important/{{ banner.imageName }}\" alt=\"{{ banner.title }}\" width=\"640\" height=\"310\" />
<div class=\"has-text-centered\" style=\"background: {{ banner.color }}!important; margin-top:-10px;\">
<h1 class=\"banner_h1 has-text-centered\" style=\"color: {{ banner.campaignTextColor }}!important;\">
{{ banner.title }}
</h1>
<div class=\"additionalText has-text-centered\" style=\"color: {{ banner.campaignTextColor }}!important; margin-top:-10px;\">
{{ banner.additionalText }}
</div>
{% if banner.buttonText %}
<div style=\"margin-top:30px; display: flex;align-items: center; justify-content: center;\" class=\"has-text-centered\">
<a class=\"btn-banner-mobile\" href=\"{{ banner.url }}\" style=\"margin-bottom:20px; background-color:{{ banner.buttonColor }}!important; color:{{ banner.buttonTextColor }}!important;\">
{{ banner.buttonText }}
</a>
</div>
{% endif %}
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
<div class=\"carousel-navigation is-overlay\">
<div class=\"carousel-nav-left\">
<i class=\"fa fa-chevron-left\" aria-hidden=\"true\"></i>
</div>
<div class=\"carousel-nav-right\">
<i class=\"fa fa-chevron-right\" aria-hidden=\"true\"></i>
</div>
</div>
</div>
</div>
</div>
<!-- END OF SLIDER -->
<!-- START CATEGORIES -->
<section class=\"section\" style=\"padding-top:0px;\">
<div class=\"container\">
<div class=\"has-text-centered is-4\">
<h1 class=\"is-size-4 margin-bot-30 standard-color\">{{ 'seo_header_title'|trans }}</h1>
</div>
<div class=\"columns is-multiline nasze-produkty\">
{% for category in categories %}
<!-- START CATEGORY BOX -->
<div class=\"column is-one-third-desktop is-half-tablet cat-container\">
<article style=\"background-image:url(/images/category/{{ category.imageName }}); cursor: pointer;\" class=\"box has-bg-img category-box\" data-href=\"{{ path('category', {'id':category.id, 'slug':category.slug}) }}\">
<div class=\"content category-link\">
<div class=\"mobile-image-container is-flex is-hidden-desktop has-text-centered is-vcentered\" style=\"align-items: center;\">
{% if category.imageName3 %}
<img alt=\"{{ category.name }}\" src=\"/images/category/{{ category.imageName3 }}\">
{% endif %}
</div>
<h2 class=\"title is-size-4 has-text-centered is-half-touch category-title\">
<a href=\"{{ path('category', {'id':category.id, 'slug':category.slug}) }}\">{{ category.name }}</a>
</h2>
<div class=\"columns is-hidden-touch\">
<div class=\"column is-offset-one-third\">
<ul class=\"list-red is-size-7\">
{% for child in category.childrens %}
{% set visible = 1 %}
{% for langParam in child.langParams %}
{% if langParam.language.locale == app.request.locale %}
{% set visible = langParam.visible %}
{% endif %}
{% endfor %}
{% if visible == 1 %}
<li><a href=\"{{ path('category', {'id':child.id, 'slug':child.slug}) }}\">{{ child.name }}</a></li>
{% endif %}
{% endfor %}
</ul>
</div>
</div>
</div>
</article>
</div>
<!-- END CATEGORY BOX -->
{% endfor %}
</div>
</div>
</section>
<!-- END CATEGORIES -->
<!-- START OF SPECIAL OFFERS -->
<div class=\"section is-hidden-touch\">
<div class=\"container\">
<div class=\"is-size-4 margin-bot-30 is-600 is-red has-text-centered is-3 bold\">
{{ 'promo_special_offer'|trans }}
</div>
<div class=\"columns is-multiline special-offers-boxes\">
<!-- START CATEGORY BOX -->
<div class=\"column is-one-third-desktop\">
{% if app.request.locale == 'pl' %}
<a href=\"https://www.centrumkrzesel.pl/lp/228/strefa-okazji\">
{% endif %}
{% if app.request.locale == 'sk' %}
<a href=\"{{ path('category', {'id':121, 'slug':'akcna-ponuka'}) }}\">
{% endif %}
{% if app.request.locale == 'cz' %}
<a href=\"{{ path('category', {'id':121, 'slug':'akcni-nabidka-'}) }}\">
{% endif %}
{% if app.request.locale == 'ro' %}
<a href=\"https://www.mobila24.ro/oferte/121/c\">
{% endif %}
<article style=\"background-image:url({{ staticImages[locale].szok }});\" class=\"box has-bg-img special-offer-box\">
</article>
</a>
</div>
<!-- END CATEGORY BOX -->
<!-- START CATEGORY BOX -->
<div class=\"column is-one-third-desktop\">
<article style=\"background-image:url({{ staticImages[locale].prod24h }});\" class=\"box has-bg-img special-offer-box\">
</article>
</div>
<!-- END CATEGORY BOX -->
<!-- START CATEGORY BOX -->
<div class=\"column is-one-third-desktop\">
{% if app.request.locale == 'ro' %}
<a href=\"https://www.mobila24.ro/scaune-elementare-accesibile/126/c\">
{% else %}
<a href=\"{{ path('category', {'id':237, 'slug':'outlet-2'}) }}\">
{% endif %}
<article style=\"background-image:url({{ staticImages[locale].outlet }});\" class=\"box has-bg-img special-offer-box\">
</article>
</a>
</div>
<!-- END CATEGORY BOX -->
</div>
</div>
</div>
<!-- END OF SPECIAL OFFERS -->
<!-- START OF BESTSELLER SLIDER -->
<section class=\"section\">
<div class=\"columns\">
<product-tabs :slides-count=\"6\" inline-template v-cloak>
<div class=\"column is-full\" id=\"podobne\" v-match-heights=\"{ el: [ '.card-image' ]}\">
<div class=\"tabs is-centered is-medium\">
<ul>
<li class=\"is-active\">
<a href=\"#\" @click.stop.prevent=\"clicked( 2 )\">{{ 'bestsellers_section_title'|trans }}</a>
</li>
</ul>
</div>
{% set c = 0 %}
<agile ref=\"carousel_2\" class=\"container is-fluid thumbnails\" :options=\"sliderOptions\">
{% for productData in promotionsProducts %}
{% set product = productData[0] %}
{% if productData.isBestseller %}
{% set c = c +1 %}
{% if c < 11 %}
{% include 'frontend/components/smallProduct.html.twig' with {'lazyDisabled':1, 'cssClass':'card-homepage', 'isOneQuarter':1, 'product':product, 'productData':productData} %}
{% endif %}
{% endif %}
{% endfor %}
<template slot=\"prevButton\"><i class=\"fas fa-chevron-left\" style=\"margin-left:20px;\"></i></template>
<template slot=\"nextButton\"><i class=\"fas fa-chevron-right\" style=\"margin-right: 20px;\"></i></template>
</agile>
</div>
</product-tabs>
</div>
{% if catBest %}
<div class=\"has-text-centered\">
<a href=\"{{ path('category', {'id':catBest.id, 'slug':catBest.slug}) }}\" class=\"standard-button btn-banner-mobile\">
{{ 'view_all_bestseller'|trans }} <i class=\"fa fa-arrow-right\"></i>
</a>
</div>
{% endif %}
</section>
<!-- START OF BANNERS SECTION -->
<section class=\"section banners\">
<div class=\"container\">
<div class=\"columns\">
{% for banner in smallBanners %}
{% if banner.position == 1 %}
{% include '/frontend/components/_smallBanner.html.twig' with {'cssClass':'is-three-fifths-desktop', 'banner':banner, 'cta':1} %}
{% endif %}
{% endfor %}
{% for banner in smallBanners %}
{% if banner.position == 2 %}
{% include '/frontend/components/_smallBanner.html.twig' with {'cssClass':'is-two-fifths-desktop', 'banner':banner, 'cta':0} %}
{% endif %}
{% endfor %}
</div>
<div class=\"columns\">
{% for banner in smallBanners %}
{% if banner.position == 3 %}
{% include '/frontend/components/_smallBanner.html.twig' with {'cssClass':'is-two-fifths-desktop', 'banner':banner, 'cta':0} %}
{% endif %}
{% endfor %}
{% for banner in smallBanners %}
{% if banner.position == 4 %}
{% include '/frontend/components/_smallBanner.html.twig' with {'cssClass':'is-three-fifths-desktop', 'banner':banner, 'cta':1} %}
{% endif %}
{% endfor %}
</div>
{% for banner in smallBanners %}
{% if banner.position == 5 %}
<div class=\"columns\">
<div class=\"column is-full is-hidden-desktop\">
<div class=\"image\">
{% if banner.url %}
<a href=\"{{ banner.url }}\">
<img src=\"/images/important/{{ banner.imageName }}\" alt=\"{{ banner.title }}\">
</a>
{% else %}
<img src=\"/images/important/{{ banner.imageName }}\" alt=\"{{ banner.title }}\">
{% endif %}
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</section>
<!-- END OF BANNERS SECTION -->
<input type=\"hidden\" value=\"{% if isMobile is defined and isMobile %}2{% else %}5{% endif %}\" id=\"slide_counter\"/>
<!-- START OF BESTSELLER SLIDER -->
<section class=\"section\">
<div class=\"columns\">
<product-tabs :slides-count=\"6\" inline-template v-cloak>
<div class=\"column is-full\" id=\"podobne\" v-match-heights=\"{ el: [ '.card-image' ]}\">
<div class=\"tabs is-centered is-medium\" style=\"margin-bottom: -20px;\">
<ul>
<li :class=\"tab == 1 ? 'is-active' : ''\">
<a href=\"#\" @click.stop.prevent=\"clicked( 1 )\">{{ 'newest'|trans }}</a>
</li>
</ul>
</div>
<agile ref=\"carousel_1\" class=\"container is-fluid thumbnails\" :options=\"sliderOptions\" v-if=\"tab == 1\">
{% for productData in promotionsProducts|slice(0,10) %}
{% set product = productData[0] %}
{% if productData.isNew %}
{% include 'frontend/components/smallProduct.html.twig' with {'lazyDisabled':1, 'cssClass':'card-homepage', 'isOneQuarter':1, 'product':product, 'productData':productData} %}
{% endif %}
<!-- END OF ARTICLE -->
{% endfor %}
<template slot=\"prevButton\"><i class=\"fas fa-chevron-left\" style=\"margin-left:20px;\"></i></template>
<template slot=\"nextButton\"><i class=\"fas fa-chevron-right\" style=\"margin-right: 20px;\"></i></template>
</agile>
</div>
</product-tabs>
</div>
{% if catNews %}
<div class=\"has-text-centered\">
<a href=\"{{ path('category', {'id':catNews.id, 'slug':catNews.slug}) }}\" class=\"standard-button btn-banner-mobile\">
{{ 'view_all_newest'|trans }} <i class=\"fa fa-arrow-right\"></i>
</a>
</div>
{% endif %}
</section>
<!-- END OF BESTSELLER SLIDER -->
<!-- START OF INFOGRAPHIC SECTION -->
<section class=\"section\">
<div class=\"container\">
<div class=\"columns is-centered\">
<div class=\"column is-half\">
<div class=\"subtitle has-text-centered margin-bot-30\">
{{ 'for_your_convinient'|trans }}
</div>
</div>
</div>
<div class=\"columns home-ikony is-multiline is-centered is-flex-tablet is-hidden-mobile\">
<div class=\"column is-half-mobile has-text-centered\">
<figure class=\"image\">
<img src=\"/v2/ico/ico_14.svg\" alt=\"\">
</figure>
<p class=\"title is-16px standard-color\">{{ '14_days_return'|trans|raw }}</p>
</div>
<div class=\"column is-half-mobile has-text-centered\">
<figure class=\"image\">
<img src=\"{{ staticImages[locale].freeDelivery }}\" alt=\"\" {% if app.request.locale == 'ro' or app.request.locale == 'sk' or app.request.locale == 'cz' %}style=\"width: 70px!important;\" {% endif %}>
</figure>
<p class=\"title is-16px standard-color\">{{ 'free_delivery_return'|trans|raw }}</p>
</div>
<div class=\"column is-half-mobile has-text-centered\">
<figure class=\"image\">
<img src=\"/v2/ico/ico_300_customers.svg\" alt=\"\">
</figure>
<p class=\"title is-16px standard-color\">{{ 'text_300_customers'|trans|raw }}</p>
</div>
<div class=\"column is-half-mobile has-text-centered\">
<figure class=\"image\">
<img src=\"/v2/ikonka_18_lat.png\" alt=\"\">
</figure>
<p class=\"title is-16px standard-color\">{{ '15_years'|trans|raw }}</p>
</div>
<div class=\"column is-half-mobile has-text-centered\">
<figure class=\"image\">
<img src=\"/v2/ico/ico_pig.svg\" alt=\"\">
</figure>
<p class=\"title is-16px standard-color\">{{ 'price_with_negotiations'|trans|raw }}</p>
</div>
</div>
<div class='carousel carousel-animated carousel-animate-slide is-hidden-tablet'>
<div class='carousel-container'>
<div class=\"carousel-item\" style=\"display: flex;\">
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img src=\"/v2/ico/ico_14.svg\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">{{ '14_days_return'|trans|raw }}</p>
</div>
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img style=\"max-height: 90px;\" src=\"{{ staticImages[locale].freeDelivery }}\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">{{ 'free_delivery_return'|trans|raw }}</p>
</div>
</div>
<div class=\"carousel-item\" style=\"display: flex;\">
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img src=\"/v2/ico/ico_300_customers.svg\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">{{ 'text_300_customers'|trans|raw }}</p>
</div>
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img src=\"/v2/ikonka_18_lat.png\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">{{ '15_years'|trans|raw }}</p>
</div>
</div>
<div class=\"carousel-item\" style=\"display: flex;\">
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img src=\"/v2/ico/ico_pig.svg\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">{{ 'price_with_negotiations'|trans|raw }}</p>
</div>
<div class=\"column is-half-mobile has-text-centered has-background\">
<figure class=\"mobile-ico-height\">
<img src=\"{{ staticImages[locale].freeDelivery }}\" alt=\"\">
</figure>
<p class=\"is-16px standard-color\">{{ 'free_delivery_return'|trans|raw }}</p>
</div>
</div>
</div>
<div class=\"carousel-navigation is-overlay\">
<div class=\"carousel-nav-left\">
<i class=\"fa fa-chevron-left\" aria-hidden=\"true\"></i>
</div>
<div class=\"carousel-nav-right\">
<i class=\"fa fa-chevron-right\" aria-hidden=\"true\"></i>
</div>
</div>
</div>
</div>
</section>
<!-- END OF INFOGRAPHIC SECTION -->
<form action=\"{{ path('getresponse_handler') }}\" method=\"post\">
<!-- START OF NEWSLETTER SECTION -->
<section class=\"section newsletter\" style=\"background: #DBDBDB;\">
<div class=\"container\">
<div class=\"columns is-centered\">
<div class=\"column is-three-fifths-desktop is-full-mobile\">
<div class=\"title is-size-4\">
<strong>
{{ 'save_to_newsletter'|trans }}
</strong>
</div>
<div class=\"title title-light\" style=\"font-size: 18px;\">
{{ 'recieve_newest_info'|trans|raw }}
</div>
<div class=\"title\" style=\"margin-top:-17px; font-size:18px;\">
{{ 'newsletter_discount_info_header2'|trans|raw }}
</div>
<div class=\"field has-addons\" style=\"z-index: 100000;\">
<p class=\"control is-expanded form-input\" style=\"z-index: 100000;\"> <!-- form -->
<input type=\"text\" name=\"email\" class=\"input newsletter-input\" placeholder=\"{{ 'your_email'|trans }}\">
<button class=\"button is-danger news-button\">{{ 'sign_in_newsletter'|trans }}</button>
</p>
</div>
</div>
<div class=\"column is-two-fifths-desktop is-hidden-mobile\" style=\"display: flex; align-items: center; justify-content: center;\">
<img alt=\"newsletter signup\" style=\"max-width: 250px;\" src=\"/v2/koperta-transparent.png\"/>
</div>
</div>
{% if app.request.locale == 'pl' %}
<div class=\"columns is-full\" style=\"margin-left:5px; margin-top:-35px;\">
<a href=\"/images/terms_{{ app.request.locale }}.pdf\" target=\"_blank\" style=\"font-size:14px;\">
{{ 'newsletter_terms_accept_info'|trans|raw }}
</a>
</div>
{% endif %}
</div>
</section>
</form>
<!-- END OF NEWSLETTER SECTION -->
<!-- START OF LOGOS -->
<div class=\"is-hidden-mobile\">
<section class=\"section logos\">
<div class=\"container\">
<logo-carousel inline-template v-cloak
:logos=\"[
{% for producer in producers %}
{
img: 'https://{{ domain }}/images/producer/{{ producer.imageName }}',
url: '{{ productProducerUrl(producer.id, app.request.locale) }}'
},
{% endfor %}
]\"
>
<div class=\"columns is-multiline is-centered\">
<agile class=\"container\" :options=\"logoOptions\">
<div class=\"column\" v-for=\"( logo, index ) in slides\" :key=\"index\">
<a :href=\"logo.url\">
<div class=\"image\">
<img :src=\"logo.img\" />
</div>
</a>
</div>
</agile>
</div>
</logo-carousel>
</div>
</section>
</div>
<!-- END OF LOGOS -->
{% if app.request.locale == 'pl' %}
<script type=\"text/javascript\" src=\"//static.criteo.net/js/ld/ld.js\" async=\"true\"></script>
<script type=\"text/javascript\">
window.criteo_q = window.criteo_q || [];
var deviceType = /iPad/.test(navigator.userAgent) ? \"t\" : /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent) ? \"m\" : \"d\";
window.criteo_q.push(
{ event: \"setAccount\", account: 36267 },
{ event: \"setEmail\", email: \"{% if app.user.email is defined %} {{ app.user.email }} {% endif %}\" },
{ event: \"setSiteType\", type: deviceType },
{ event: \"viewHome\" }
);
</script>
{% endif %}
{% endblock %}
{% block meta_desc_key %}
{{ parent() }}
{% if app.request.locale == 'pl' %}
{# veltis tag #}
{#
<script async src='https://app.veltis.io/uploads/veltis.js'></script><script>window.veltisData = window.veltisData || []; function veltisTag() { veltisData.push(arguments); } veltisTag('js', new Date()); veltisTag('config', '1aadaf84c154d3e3'); </script>
#}
{% endif %}
{% endblock %}", "frontend/index.html.twig", "/home/users/ck_new/templates/frontend/index.html.twig");
}
}