<?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;
/* front/index.html.twig */
class __TwigTemplate_4eac69bfcc37c10697d5cda12b0f796a27214d1c20275a7c88cc8a49cc949f5e extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/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", "front/index.html.twig"));
// line 1
yield from $this->loadTemplate("header.html.twig", "front/index.html.twig", 1)->unwrap()->yield($context);
// line 2
yield "<div class=\"page page--index\">
<div class=\"container container--slider\">
";
// line 4
$context["sliderShow"] = 0;
// line 5
yield " ";
if ((array_key_exists("page", $context) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["sliders"] ?? null), "header", [], "array", false, true, false, 5), "all", [], "array", true, true, false, 5))) {
// line 6
yield " ";
$context["sliderShow"] = 1;
// line 7
yield " ";
}
// line 8
yield " <div class=\"slider\"";
if ((isset($context["sliderShow"]) || array_key_exists("sliderShow", $context) ? $context["sliderShow"] : (function () { throw new RuntimeError('Variable "sliderShow" does not exist.', 8, $this->source); })())) {
yield " data-slider";
}
yield ">
";
// line 9
if ((isset($context["sliderShow"]) || array_key_exists("sliderShow", $context) ? $context["sliderShow"] : (function () { throw new RuntimeError('Variable "sliderShow" does not exist.', 9, $this->source); })())) {
// line 10
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["sliders"]) || array_key_exists("sliders", $context) ? $context["sliders"] : (function () { throw new RuntimeError('Variable "sliders" does not exist.', 10, $this->source); })()), "header", [], "array", false, false, false, 10), "all", [], "array", false, false, false, 10));
foreach ($context['_seq'] as $context["_key"] => $context["slider"]) {
// line 11
yield " <a class=\"slider__item\" href=\"";
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slider"], "translate", [], "any", false, false, false, 11), "url", [], "any", false, false, false, 11))) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slider"], "translate", [], "any", false, false, false, 11), "url", [], "any", false, false, false, 11), "html", null, true);
} else {
yield $this->extensions['NexCRM\WebBundle\Twig\TwigExtension']->getUrl($context["slider"]);
}
yield "\">
<img src=\"";
// line 12
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((((isset($context["path_media"]) || array_key_exists("path_media", $context) ? $context["path_media"] : (function () { throw new RuntimeError('Variable "path_media" does not exist.', 12, $this->source); })()) . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slider"], "file", [], "any", false, false, false, 12), "directoryName", [], "any", false, false, false, 12)) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slider"], "file", [], "any", false, false, false, 12), "media", [], "any", false, false, false, 12)), "html", null, true);
yield "\" alt=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["slider"], "file", [], "any", false, false, false, 12), "translate", [], "any", false, false, false, 12), "alt", [], "any", false, false, false, 12), "html", null, true);
yield "\">
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['slider'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 15
yield " ";
// line 16
yield " ";
// line 17
yield " ";
// line 18
yield " ";
// line 19
yield " ";
}
// line 20
yield " </div>
</div>
<div class=\"wave wave--header\"></div>
</div>
<section class=\"premium\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-3 col-md-4 col-sm-4 col-12\">
<div class=\"premium__image\">
<div class=\"premium__shadow\">
<img src=\"";
// line 32
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/theme/img/main_img.png"), "html", null, true);
yield "\" alt=\"jerky\">
</div>
</div>
</div>
<div class=\"col-lg-5 col-md-8 col-sm-8 col-12\">
<div class=\"premium__content\" data-scroll=\"scroll-down\">
<div class=\"premium__text\">
<p class=\"text text--header text--sans\">";
// line 39
yield Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 39, $this->source); })()), "translate", [], "any", false, false, false, 39), "shortText", [], "any", false, false, false, 39), "<strong>");
yield "</p>
<p class=\"text text--big text--sans\">";
// line 40
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 40, $this->source); })()), "translate", [], "any", false, false, false, 40), "text", [], "any", false, false, false, 40)), "html", null, true);
yield "</p>
</div>
";
// line 42
if (CoreExtension::getAttribute($this->env, $this->source, ($context["blocks"] ?? null), "index_button", [], "array", true, true, false, 42)) {
// line 43
yield " <div class=\"premium__button\">
";
// line 44
yield CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["blocks"]) || array_key_exists("blocks", $context) ? $context["blocks"] : (function () { throw new RuntimeError('Variable "blocks" does not exist.', 44, $this->source); })()), "index_button", [], "array", false, false, false, 44), "translate", [], "any", false, false, false, 44), "text", [], "any", false, false, false, 44);
yield "
</div>
";
}
// line 47
yield " </div>
</div>
<div class=\"col-lg-4 col-12\">
";
// line 50
if (CoreExtension::getAttribute($this->env, $this->source, ($context["blocks"] ?? null), "logos", [], "array", true, true, false, 50)) {
// line 51
yield " <div class=\"premium__bonus\">
<div class=\"premium__header\">
<p>";
// line 53
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["blocks"]) || array_key_exists("blocks", $context) ? $context["blocks"] : (function () { throw new RuntimeError('Variable "blocks" does not exist.', 53, $this->source); })()), "logos", [], "array", false, false, false, 53), "translate", [], "any", false, false, false, 53), "name", [], "any", false, false, false, 53), "html", null, true);
yield "</p>
</div>
";
// line 55
if ((1 === CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["blocks"]) || array_key_exists("blocks", $context) ? $context["blocks"] : (function () { throw new RuntimeError('Variable "blocks" does not exist.', 55, $this->source); })()), "logos", [], "array", false, false, false, 55), "files", [], "any", false, false, false, 55)), 0))) {
// line 56
yield " <div class=\"premium__quality\">
<div class=\"row\">
";
// line 58
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["blocks"]) || array_key_exists("blocks", $context) ? $context["blocks"] : (function () { throw new RuntimeError('Variable "blocks" does not exist.', 58, $this->source); })()), "logos", [], "array", false, false, false, 58), "files", [], "any", false, false, false, 58));
foreach ($context['_seq'] as $context["_key"] => $context["file"]) {
// line 59
yield " <div class=\"col-lg-3 col-md-3 col-sm-3 col-6 text-center\">
<img src=\"";
// line 60
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((((isset($context["path_media"]) || array_key_exists("path_media", $context) ? $context["path_media"] : (function () { throw new RuntimeError('Variable "path_media" does not exist.', 60, $this->source); })()) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["file"], "directoryName", [], "any", false, false, false, 60)) . "/") . CoreExtension::getAttribute($this->env, $this->source, $context["file"], "media", [], "any", false, false, false, 60)), "html", null, true);
yield "\"
alt=\"";
// line 61
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["file"], "translate", [], "any", false, true, false, 61), "alt", [], "any", true, true, false, 61)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["file"], "translate", [], "any", false, true, false, 61), "alt", [], "any", false, false, false, 61))) : ("")), "html", null, true);
yield "\">
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['file'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 64
yield " </div>
</div>
";
}
// line 67
yield " </div>
";
}
// line 69
yield " </div>
</div>
</div>
</section>
";
// line 73
if ((isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 73, $this->source); })())) {
// line 74
yield " <section class=\"carousel\">
<div class=\"wave wave--carousel wave--carousel-top\"></div>
<div class=\"container\">
<div class=\"carousel__header\">
<h2 class=\"text text--h1 text--divider text--divider--center\">";
// line 78
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Produkty"), "html", null, true);
yield "</h2>
</div>
<div class=\"carousel__content js-carousel\" data-carousel>
";
// line 81
$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.', 81, $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["category"]) {
// line 82
yield " ";
if ((1 === CoreExtension::compare(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["category"], "products", [], "any", false, false, false, 82)), 0))) {
// line 83
yield " ";
yield from $this->loadTemplate("front/page_shop_item_normal.html.twig", "front/index.html.twig", 83)->unwrap()->yield($context);
// line 84
yield " ";
}
// line 85
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 86
yield " </div>
<div class=\"carousel__more\">
<a href=\"";
// line 88
if (CoreExtension::getAttribute($this->env, $this->source, ($context["pt"] ?? null), "shop", [], "array", true, true, false, 88)) {
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['NexCRM\WebBundle\Twig\TwigExtension']->transPath(CoreExtension::getAttribute($this->env, $this->source, (isset($context["pt"]) || array_key_exists("pt", $context) ? $context["pt"] : (function () { throw new RuntimeError('Variable "pt" does not exist.', 88, $this->source); })()), "shop", [], "array", false, false, false, 88)), "html", null, true);
}
yield "\"
class=\"button button--spacy\">";
// line 89
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Všechny produkty"), "html", null, true);
yield "</a>
</div>
</div>
</section>
<div class=\"wave wave--carousel wave--carousel-bottom\"></div>
";
}
// line 95
yield "<section class=\"benefit\">
<div class=\"container\">
<div class=\"benefit__title\">
<h2 class=\"text text--h1 text--divider text--divider--center\">";
// line 98
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Proč Jihočeské jerky?"), "html", null, true);
yield "</h2>
</div>
</div>
<div class=\"benefit__content\">
<div class=\"container\">
<div class=\"row\">
";
// line 104
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(range(1, 4));
foreach ($context['_seq'] as $context["_key"] => $context["benefitIndex"]) {
// line 105
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["blocks"] ?? null), ("benefit-" . $context["benefitIndex"]), [], "array", true, true, false, 105) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["blocks"]) || array_key_exists("blocks", $context) ? $context["blocks"] : (function () { throw new RuntimeError('Variable "blocks" does not exist.', 105, $this->source); })()), ("benefit-" . $context["benefitIndex"]), [], "array", false, false, false, 105), "file", [], "any", false, false, false, 105)))) {
// line 106
yield " <div class=\"col-lg-3 col-md-3 col-sm-4 col-6\">
<div class=\"benefit__item\">
<div class=\"benefit__img\">
<img src=\"";
// line 109
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((((((isset($context["path_media"]) || array_key_exists("path_media", $context) ? $context["path_media"] : (function () { throw new RuntimeError('Variable "path_media" does not exist.', 109, $this->source); })()) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["blocks"]) || array_key_exists("blocks", $context) ? $context["blocks"] : (function () { throw new RuntimeError('Variable "blocks" does not exist.', 109, $this->source); })()), ("benefit-" . $context["benefitIndex"]), [], "array", false, false, false, 109), "file", [], "any", false, false, false, 109), "directoryName", [], "any", false, false, false, 109)) . "/") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["blocks"]) || array_key_exists("blocks", $context) ? $context["blocks"] : (function () { throw new RuntimeError('Variable "blocks" does not exist.', 109, $this->source); })()), ("benefit-" . $context["benefitIndex"]), [], "array", false, false, false, 109), "file", [], "any", false, false, false, 109), "media", [], "any", false, false, false, 109)), "html", null, true);
yield "\"
alt=\"";
// line 110
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["blocks"] ?? null), ("benefit-" . $context["benefitIndex"]), [], "array", false, true, false, 110), "file", [], "any", false, true, false, 110), "translate", [], "any", false, true, false, 110), "alt", [], "any", true, true, false, 110)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["blocks"] ?? null), ("benefit-" . $context["benefitIndex"]), [], "array", false, true, false, 110), "file", [], "any", false, true, false, 110), "translate", [], "any", false, true, false, 110), "alt", [], "any", false, false, false, 110))) : ("")), "html", null, true);
yield "\">
</div>
<p class=\"benefit__text text--sanchez\">
";
// line 113
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["blocks"]) || array_key_exists("blocks", $context) ? $context["blocks"] : (function () { throw new RuntimeError('Variable "blocks" does not exist.', 113, $this->source); })()), ("benefit-" . $context["benefitIndex"]), [], "array", false, false, false, 113), "translate", [], "any", false, false, false, 113), "name", [], "any", false, false, false, 113), "html", null, true);
yield "
</p>
</div>
</div>
";
}
// line 118
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['benefitIndex'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 119
yield " </div>
</div>
</div>
</section>
";
// line 124
yield from $this->loadTemplate("front/widgets/instagram.html.twig", "front/index.html.twig", 124)->unwrap()->yield($context);
// line 125
yield "
";
// line 126
yield from $this->loadTemplate("footer.html.twig", "front/index.html.twig", 126)->unwrap()->yield($context);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/index.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 342 => 126, 339 => 125, 337 => 124, 330 => 119, 324 => 118, 316 => 113, 310 => 110, 306 => 109, 301 => 106, 298 => 105, 294 => 104, 285 => 98, 280 => 95, 271 => 89, 265 => 88, 261 => 86, 247 => 85, 244 => 84, 241 => 83, 238 => 82, 221 => 81, 215 => 78, 209 => 74, 207 => 73, 201 => 69, 197 => 67, 192 => 64, 183 => 61, 179 => 60, 176 => 59, 172 => 58, 168 => 56, 166 => 55, 161 => 53, 157 => 51, 155 => 50, 150 => 47, 144 => 44, 141 => 43, 139 => 42, 134 => 40, 130 => 39, 120 => 32, 106 => 20, 103 => 19, 101 => 18, 99 => 17, 97 => 16, 95 => 15, 84 => 12, 75 => 11, 70 => 10, 68 => 9, 61 => 8, 58 => 7, 55 => 6, 52 => 5, 50 => 4, 46 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("{% include 'header.html.twig' %}
<div class=\"page page--index\">
<div class=\"container container--slider\">
{% set sliderShow = 0 %}
{% if page is defined and sliders['header']['all'] is defined %}
{% set sliderShow = 1 %}
{% endif %}
<div class=\"slider\"{% if sliderShow %} data-slider{% endif %}>
{% if sliderShow %}
{% for slider in sliders['header']['all'] %}
<a class=\"slider__item\" href=\"{% if slider.translate.url is not empty %}{{ slider.translate.url }}{% else %}{{ slider|get_url|raw }}{% endif %}\">
<img src=\"{{ (path_media ~ slider.file.directoryName ~ '/' ~ slider.file.media) }}\" alt=\"{{ slider.file.translate.alt }}\">
</a>
{% endfor %}
{# <div class=\"page__title\">#}
{# <h1>{{ page.translate.name }}</h1>#}
{# </div>#}
{# <div class=\"page__arrow\" data-scroll-src=\"scroll-down\"></div>#}
{% endif %}
</div>
</div>
<div class=\"wave wave--header\"></div>
</div>
<section class=\"premium\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-3 col-md-4 col-sm-4 col-12\">
<div class=\"premium__image\">
<div class=\"premium__shadow\">
<img src=\"{{ asset('assets/theme/img/main_img.png') }}\" alt=\"jerky\">
</div>
</div>
</div>
<div class=\"col-lg-5 col-md-8 col-sm-8 col-12\">
<div class=\"premium__content\" data-scroll=\"scroll-down\">
<div class=\"premium__text\">
<p class=\"text text--header text--sans\">{{ page.translate.shortText|striptags('<strong>')|raw }}</p>
<p class=\"text text--big text--sans\">{{ page.translate.text|striptags }}</p>
</div>
{% if blocks['index_button'] is defined %}
<div class=\"premium__button\">
{{ blocks['index_button'].translate.text|raw }}
</div>
{% endif %}
</div>
</div>
<div class=\"col-lg-4 col-12\">
{% if blocks['logos'] is defined %}
<div class=\"premium__bonus\">
<div class=\"premium__header\">
<p>{{ blocks['logos'].translate.name }}</p>
</div>
{% if blocks['logos'].files|length > 0 %}
<div class=\"premium__quality\">
<div class=\"row\">
{% for file in blocks['logos'].files %}
<div class=\"col-lg-3 col-md-3 col-sm-3 col-6 text-center\">
<img src=\"{{ (path_media ~ '/' ~ file.directoryName ~ '/' ~ file.media) }}\"
alt=\"{{ file.translate.alt|default() }}\">
</div>
{% endfor %}
</div>
</div>
{% endif %}
</div>
{% endif %}
</div>
</div>
</div>
</section>
{% if categories %}
<section class=\"carousel\">
<div class=\"wave wave--carousel wave--carousel-top\"></div>
<div class=\"container\">
<div class=\"carousel__header\">
<h2 class=\"text text--h1 text--divider text--divider--center\">{{ 'Produkty'|trans }}</h2>
</div>
<div class=\"carousel__content js-carousel\" data-carousel>
{% for category in categories %}
{% if category.products|length > 0 %}
{% include('front/page_shop_item_normal.html.twig') %}
{% endif %}
{% endfor %}
</div>
<div class=\"carousel__more\">
<a href=\"{% if pt['shop'] is defined %}{{ pt['shop']|trans_path }}{% endif %}\"
class=\"button button--spacy\">{{ 'Všechny produkty'|trans }}</a>
</div>
</div>
</section>
<div class=\"wave wave--carousel wave--carousel-bottom\"></div>
{% endif %}
<section class=\"benefit\">
<div class=\"container\">
<div class=\"benefit__title\">
<h2 class=\"text text--h1 text--divider text--divider--center\">{{ 'Proč Jihočeské jerky?'|trans }}</h2>
</div>
</div>
<div class=\"benefit__content\">
<div class=\"container\">
<div class=\"row\">
{% for benefitIndex in 1..4 %}
{% if blocks['benefit-' ~ benefitIndex] is defined and blocks['benefit-' ~ benefitIndex].file is not empty %}
<div class=\"col-lg-3 col-md-3 col-sm-4 col-6\">
<div class=\"benefit__item\">
<div class=\"benefit__img\">
<img src=\"{{ (path_media ~ '/' ~ blocks['benefit-' ~ benefitIndex].file.directoryName ~ '/' ~ blocks['benefit-' ~ benefitIndex].file.media) }}\"
alt=\"{{ blocks['benefit-' ~ benefitIndex].file.translate.alt|default() }}\">
</div>
<p class=\"benefit__text text--sanchez\">
{{ blocks['benefit-' ~ benefitIndex].translate.name }}
</p>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</section>
{% include 'front/widgets/instagram.html.twig' %}
{% include 'footer.html.twig' %}
", "front/index.html.twig", "/home/web/nexgen.cz/dev58/templates/front/index.html.twig");
}
}