<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\MacroNamespace;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Sandbox\SecurityNotAllowedTestError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* web/default/brands.html.twig */
class __TwigTemplate_884bc230fb2ac66435e5e97c47c573e0 extends Template
{
private Source $source;
/**
* @var array<string, MacroNamespace>
*/
private array $macros = [];
private \Twig\Runtime\EscaperRuntime $escaper;
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
$this->blocks = [
'title' => [$this, 'block_title'],
'keywords' => [$this, 'block_keywords'],
'description' => [$this, 'block_description'],
'javascripts' => [$this, 'block_javascripts'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return $this->parent ??= $this->load("web/base.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/brands.html.twig"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/brands.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "web/default/brands.html.twig"));
$this->parent = $this->load("web/base.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("brands.title", [], "web"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield;
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_keywords(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("brands.keywords", [], "web"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield;
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_description(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("brands.metaDescription", [], "web"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield;
}
// line 8
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 9
yield "\t<script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
\t<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.6/isotope.pkgd.min.js\"></script>
\t";
// line 32
yield "\t<script>
\t\tconst alphabetNavLinks = document.querySelectorAll(\x27.alphabet-nav a\x27);
\t\talphabetNavLinks.forEach(link => {
\t\t\tlink.addEventListener(\x27click\x27, (e) => {
\t\t\t\te.preventDefault();
\t\t\t\tconst targetId = link.getAttribute(\x27href\x27);
\t\t\t\tconst targetBlock = document.querySelector(targetId);
\t\t\t\tconst targetBlockTop = targetBlock.getBoundingClientRect().top;
\t\t\t\tconst offset = window.pageYOffset;
\t\t\t\tconst headerHeight = document.querySelector(\x27.qodef-page-header\x27).clientHeight;
\t\t\t\tconst targetOffset = targetBlockTop + offset - headerHeight - 20;
\t\t\t\twindow.scrollTo({
\t\t\t\t\ttop: targetOffset,
\t\t\t\t\tbehavior: \x27smooth\x27
\t\t\t\t});
\t\t\t});
\t\t});
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield;
}
// line 54
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 55
yield "\t<style>
\t\t.alphabet-block {
\t\t\tdisplay: block; /* Změna display na block */
\t\t\tmargin-bottom: 60px; /* Odstup mezi bloky */
\t\t}
\t\th2 {
\t\t\tfont-size: 36px;
\t\t\ttext-transform: uppercase;
\t\t}
\t\tul {
\t\t\tlist-style: none;
\t\t\tmargin: 0;
\t\t\tpadding: 0;
\t\t\tflex-wrap: wrap;
\t\t}
\t\tli {
\t\t\tmargin-right: 20px;
\t\t\tmargin-bottom: 10px;
\t\t}
\t</style>
\t";
// line 79
yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/header.html.twig");
yield "
\t<div class=\"qodef-content\">
\t\t<div class=\"qodef-content-inner\">
\t\t\t<div class=\"qodef-full-width\">
\t\t\t\t<div class=\"qodef-full-width-inner\">
\t\t\t\t\t<div class=\"qodef-grid-row\">
\t\t\t\t\t\t<div class=\"qodef-page-content-holder qodef-grid-col-12\">
\t\t\t\t\t\t\t<div class=\"qodef-row-grid-section-wrapper \">
\t\t\t\t\t\t\t\t<div class=\"qodef-row-grid-section\">
\t\t\t\t\t\t\t\t\t<div class=\"vc_row wpb_row vc_row-fluid vc_custom_1567069896783\">
\t\t\t\t\t\t\t\t\t\t<div class=\"wpb_column vc_column_container vc_col-sm-12\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"vc_column-inner\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpb_wrapper\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-title-holder qodef-breadcrumbs-type qodef-title-full-width qodef-title-va-header-bottom breadcrumb\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div itemprop=\"breadcrumb\" class=\"qodef-breadcrumbs\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a itemprop=\"url\" href=\"";
// line 94
yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_homepage");
yield "\">Home</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"qodef-delimiter\"> /  </span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a itemprop=\"url\" href=\"";
// line 96
yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_brands");
yield "\">";
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("brands.title", [], "web"), "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-section-title-holder\" style=\"text-align: center; padding-bottom: 50px;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-st-inner\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h1 class=\"qodef-st-title\">";
// line 100
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("brands.title", [], "web"), "html", null, true);
yield "</h1>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 105
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"alphabet-nav\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 106
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["brands"]) || array_key_exists("brands", $context) ? $context["brands"] : (function () { throw new RuntimeError('Variable "brands" does not exist.', 106, $this->source); })()));
foreach ($context['_seq'] as $context["k"] => $context["v"]) {
// line 107
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#";
// line 108
yield (string) $this->escaper->escape($context["k"], "html", null, true);
yield "\">";
yield (string) $this->escaper->escape($context["k"], "html", null, true);
yield "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['k'], $context['v'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 110
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"padding-top: 30px\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 113
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["brands"]) || array_key_exists("brands", $context) ? $context["brands"] : (function () { throw new RuntimeError('Variable "brands" does not exist.', 113, $this->source); })()));
foreach ($context['_seq'] as $context["k"] => $context["v"]) {
// line 114
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"alphabet-block\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"alphabet-title\" id=\"";
// line 115
yield (string) $this->escaper->escape($context["k"], "html", null, true);
yield "\">";
yield (string) $this->escaper->escape($context["k"], "html", null, true);
yield "</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"alphabet-list\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 118
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["v"]);
foreach ($context['_seq'] as $context["_key"] => $context["b"]) {
// line 119
yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li><a href=\"";
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_web_shop_detail", ["slug" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["b"], "stores", [], "any", false, false, false, 119), 0, [], "array", false, false, false, 119), "getSlug", [], "any", false, false, false, 119)]), "html", null, true);
yield "\">";
yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["b"], "name", [], "any", false, false, false, 119), "html", null, true);
yield "</a></li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['b'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 121
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['k'], $context['v'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 126
yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t";
// line 139
yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/gift-card.html.twig");
yield "
\t\t</div>
\t</div>
\t";
// line 142
yield (string) Twig\Extension\CoreExtension::include($this->env, $context, "web/core/footer.html.twig");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
return; yield;
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "web/default/brands.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDefaultEscapeStrategy(): string|false
{
return "html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 390 => 142, 384 => 139, 369 => 126, 358 => 121, 346 => 119, 342 => 118, 334 => 115, 331 => 114, 327 => 113, 322 => 110, 311 => 108, 308 => 107, 304 => 106, 301 => 105, 294 => 100, 285 => 96, 280 => 94, 262 => 79, 236 => 55, 220 => 54, 185 => 32, 181 => 9, 165 => 8, 136 => 5, 107 => 4, 78 => 3, 49 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \x27web/base.html.twig\x27 %}
{% block title %}{{\x27brands.title\x27| trans}}{% endblock %}
{% block keywords %}{{ \x27brands.keywords\x27 | trans }}{% endblock %}
{% block description %}{{ \x27brands.metaDescription\x27 | trans }}{% endblock %}
{% trans_default_domain \x27web\x27 %}
{% block javascripts %}
\t<script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
\t<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.6/isotope.pkgd.min.js\"></script>
\t{#<script>
\t\t// JavaScript pro posunutí stránky na daný blok s odpovídajícím písmenem
\t\tconst alphabetNavLinks = document.querySelectorAll(\x27.alphabet-nav a\x27);
\t\talphabetNavLinks.forEach(link => {
\t\t\tlink.addEventListener(\x27click\x27, (e) => {
\t\t\t\te.preventDefault();
\t\t\t\tconst targetId = link.getAttribute(\x27href\x27);
\t\t\t\tconst targetBlock = document.querySelector(targetId);
\t\t\t\tconst targetBlockTop = targetBlock.getBoundingClientRect().top;
\t\t\t\tconst offset = window.pageYOffset;
\t\t\t\tconst screenHeight = window.innerHeight;
\t\t\t\tconst targetOffset = targetBlockTop + offset - (screenHeight / 5) + (targetBlock.clientHeight / 5);
\t\t\t\twindow.scrollTo({
\t\t\t\t\ttop: targetOffset,
\t\t\t\t\tbehavior: \x27smooth\x27
\t\t\t\t});
\t\t\t});
\t\t});
\t</script>#}
\t<script>
\t\tconst alphabetNavLinks = document.querySelectorAll(\x27.alphabet-nav a\x27);
\t\talphabetNavLinks.forEach(link => {
\t\t\tlink.addEventListener(\x27click\x27, (e) => {
\t\t\t\te.preventDefault();
\t\t\t\tconst targetId = link.getAttribute(\x27href\x27);
\t\t\t\tconst targetBlock = document.querySelector(targetId);
\t\t\t\tconst targetBlockTop = targetBlock.getBoundingClientRect().top;
\t\t\t\tconst offset = window.pageYOffset;
\t\t\t\tconst headerHeight = document.querySelector(\x27.qodef-page-header\x27).clientHeight;
\t\t\t\tconst targetOffset = targetBlockTop + offset - headerHeight - 20;
\t\t\t\twindow.scrollTo({
\t\t\t\t\ttop: targetOffset,
\t\t\t\t\tbehavior: \x27smooth\x27
\t\t\t\t});
\t\t\t});
\t\t});
\t</script>
{% endblock %}
{% block body %}
\t<style>
\t\t.alphabet-block {
\t\t\tdisplay: block; /* Změna display na block */
\t\t\tmargin-bottom: 60px; /* Odstup mezi bloky */
\t\t}
\t\th2 {
\t\t\tfont-size: 36px;
\t\t\ttext-transform: uppercase;
\t\t}
\t\tul {
\t\t\tlist-style: none;
\t\t\tmargin: 0;
\t\t\tpadding: 0;
\t\t\tflex-wrap: wrap;
\t\t}
\t\tli {
\t\t\tmargin-right: 20px;
\t\t\tmargin-bottom: 10px;
\t\t}
\t</style>
\t{{ include(\x27web/core/header.html.twig\x27) }}
\t<div class=\"qodef-content\">
\t\t<div class=\"qodef-content-inner\">
\t\t\t<div class=\"qodef-full-width\">
\t\t\t\t<div class=\"qodef-full-width-inner\">
\t\t\t\t\t<div class=\"qodef-grid-row\">
\t\t\t\t\t\t<div class=\"qodef-page-content-holder qodef-grid-col-12\">
\t\t\t\t\t\t\t<div class=\"qodef-row-grid-section-wrapper \">
\t\t\t\t\t\t\t\t<div class=\"qodef-row-grid-section\">
\t\t\t\t\t\t\t\t\t<div class=\"vc_row wpb_row vc_row-fluid vc_custom_1567069896783\">
\t\t\t\t\t\t\t\t\t\t<div class=\"wpb_column vc_column_container vc_col-sm-12\">
\t\t\t\t\t\t\t\t\t\t\t<div class=\"vc_column-inner\">
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"wpb_wrapper\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-title-holder qodef-breadcrumbs-type qodef-title-full-width qodef-title-va-header-bottom breadcrumb\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div itemprop=\"breadcrumb\" class=\"qodef-breadcrumbs\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a itemprop=\"url\" href=\"{{ path(\x27app_web_homepage\x27) }}\">Home</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"qodef-delimiter\"> /  </span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a itemprop=\"url\" href=\"{{ path(\x27app_web_brands\x27) }}\">{{ \x27brands.title\x27|trans }}</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-section-title-holder\" style=\"text-align: center; padding-bottom: 50px;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"qodef-st-inner\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h1 class=\"qodef-st-title\">{{ \x27brands.title\x27|trans }}</h1>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{#Navigation to scroll#}
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"alphabet-nav\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for k,v in brands %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#{{ k }}\">{{ k }}</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"padding-top: 30px\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for k,v in brands %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"alphabet-block\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"alphabet-title\" id=\"{{ k }}\">{{ k }}</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"alphabet-list\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for b in v %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li><a href=\"{{ path(\x27app_web_shop_detail\x27,{\x27slug\x27:b.stores[0].getSlug}) }}\">{{ b.name }}</a></li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t{{ include(\x27web/core/gift-card.html.twig\x27) }}
\t\t</div>
\t</div>
\t{{ include(\x27web/core/footer.html.twig\x27) }}
{% endblock %}
", "web/default/brands.html.twig", "/var/www/templates/web/default/brands.html.twig");
}
}