<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @SyliusShop/layout.html.twig */
class __TwigTemplate_c1d24e82652343cc907e833e1c6328a9 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'metatags' => [$this, 'block_metatags'],
'stylesheets' => [$this, 'block_stylesheets'],
'top' => [$this, 'block_top'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/layout.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"";
// line 3
echo twig_escape_filter($this->env, twig_slice($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3), 0, 2), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<title>";
// line 8
$this->displayBlock('title', $context, $blocks);
echo "</title>
<meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
<link rel=\"icon\" href=\"/favicon.svg\" type=\"image/svg+xml\">
";
// line 13
$this->displayBlock('metatags', $context, $blocks);
// line 15
echo "
";
// line 16
$this->displayBlock('stylesheets', $context, $blocks);
// line 77
echo "
";
// line 78
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.head");
echo "
</head>
<body class=\"pushable\">
";
// line 82
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.before_body");
echo "
<div class=\"pusher\">
";
// line 84
$this->displayBlock('top', $context, $blocks);
// line 98
echo " <div class=\"ui container\">
";
// line 99
$this->displayBlock('header', $context, $blocks);
// line 114
echo "
";
// line 115
$this->loadTemplate("@SyliusUi/_flashes.html.twig", "@SyliusShop/layout.html.twig", 115)->display($context);
// line 116
echo "
";
// line 117
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.before_content");
echo "
";
// line 119
$this->displayBlock('content', $context, $blocks);
// line 121
echo "
";
// line 122
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.after_content");
echo "
</div>
";
// line 125
$this->displayBlock('footer', $context, $blocks);
// line 128
echo "</div>
";
// line 130
$this->displayBlock('javascripts', $context, $blocks);
// line 135
echo "
";
// line 136
$this->loadTemplate("@SyliusUi/Modal/_confirmation.html.twig", "@SyliusShop/layout.html.twig", 136)->display($context);
// line 137
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.after_body");
echo "
</body>
</html>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 8
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "BitBag OpenMarketplace";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 13
public function block_metatags($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metatags"));
// line 14
echo " ";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 16
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 17
echo " <link href=\"https://afeld.github.io/emoji-css/emoji.css\" rel=\"stylesheet\">
<style>
.bitbag-page a, .bitbag-page a:hover {
color: rgba(0, 0, 0, .87);
width: 100%;
}
.bitbag-image-block a, .bitbag-image-block a:hover, .bitbag-image-block a:focus {
color: #333333;
}
.top.one {
margin-top: 1rem;
}
.bitbag-page, .bitbag-frequently-asked-question {
padding-top: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid rgba(34, 36, 38, .15);
}
.bitbag-page:hover {
background: rgba(0, 0, 0, .03);
}
.italic {
font-style: italic;
}
.intro {
text-align: center;
text-transform: uppercase;
font-weight: 900;
}
.intro.promo {
text-align: center;
text-transform: none;
font-weight: 900;
font-size: 20px;
}
.ui.menu .item > .label.credentials {
font-size: 14px;
}
.cms-logo {
margin-top: 20px;
margin-bottom: 20px;
}
pre {
overflow: auto;
}
</style>
";
// line 74
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.stylesheets");
echo "
";
// line 75
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.stylesheets");
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 84
public function block_top($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "top"));
// line 85
echo " <div id=\"menu\" class=\"ui large sticky inverted stackable menu\">
";
// line 86
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.before_currency_switcher");
echo "
";
// line 88
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("sylius.controller.shop.currency_switch:renderAction"));
echo "
";
// line 89
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("sylius.controller.shop.locale_switch:renderAction"));
echo "
";
// line 91
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.before_security_widget");
echo "
";
// line 93
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("sylius.controller.shop.security_widget:renderAction"));
echo "
";
// line 95
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.after_security_widget");
echo "
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 99
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 100
echo " <header>
";
// line 101
$this->loadTemplate("@SyliusShop/_header.html.twig", "@SyliusShop/layout.html.twig", 101)->display($context);
// line 102
echo "
";
// line 103
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.after_header");
echo "
<div class=\"ui large stackable menu borderless bb-flex-taxon-menu\">
";
// line 106
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sylius_shop_partial_taxon_index_by_code", ["code" => "menu_category", "template" => "@SyliusShop/Taxon/_horizontalMenu.html.twig"]));
echo "
";
// line 107
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_page_show_link_by_code", ["code" => "about", "template" => "@BitBagSyliusCmsPlugin/Shop/Page/Show/_link.html.twig"]));
echo "
<a href=\"";
// line 108
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_admin_login");
echo "\" class=\"item\">
<span class=\"ui label blue credentials\">Admin credentials: bitbag, password: password</span>
</a>
</div>
</header>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 119
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 120
echo " ";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 125
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 126
echo " ";
$this->loadTemplate("@SyliusShop/_footer.html.twig", "@SyliusShop/layout.html.twig", 126)->display($context);
// line 127
echo " ";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 130
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 131
echo " ";
$this->loadTemplate("@SyliusUi/_javascripts.html.twig", "@SyliusShop/layout.html.twig", 131)->display(twig_array_merge($context, ["path" => "assets/shop/js/app.js"]));
// line 132
echo " ";
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.javascripts");
echo "
";
// line 133
echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent("sylius.shop.layout.javascripts");
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@SyliusShop/layout.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 383 => 133, 378 => 132, 375 => 131, 368 => 130, 361 => 127, 358 => 126, 351 => 125, 344 => 120, 337 => 119, 324 => 108, 320 => 107, 316 => 106, 310 => 103, 307 => 102, 305 => 101, 302 => 100, 295 => 99, 285 => 95, 280 => 93, 275 => 91, 270 => 89, 266 => 88, 261 => 86, 258 => 85, 251 => 84, 242 => 75, 238 => 74, 179 => 17, 172 => 16, 165 => 14, 158 => 13, 145 => 8, 134 => 137, 132 => 136, 129 => 135, 127 => 130, 123 => 128, 121 => 125, 115 => 122, 112 => 121, 110 => 119, 105 => 117, 102 => 116, 100 => 115, 97 => 114, 95 => 99, 92 => 98, 90 => 84, 85 => 82, 78 => 78, 75 => 77, 73 => 16, 70 => 15, 68 => 13, 60 => 8, 52 => 3, 48 => 1,);
}
public function getSourceContext()
{
return new Source("", "@SyliusShop/layout.html.twig", "/srv/open_marketplace/templates/bundles/SyliusShopBundle/layout.html.twig");
}
}