<?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;
/* SyliusShopBundle::_header.html.twig */
class __TwigTemplate_3bee6c85a60e30b332f0328d16c2dc8ebf1dd91da53bef3b950dbc3ab7498fe9 extends \Twig\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", "SyliusShopBundle::_header.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "SyliusShopBundle::_header.html.twig"));
// line 1
echo " ";
$context["block"] = $this->extensions['App\Twig\Extensions\Cms\BlockExtension']->getBlock("texteperso_header", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["sylius"]) || array_key_exists("sylius", $context) ? $context["sylius"] : (function () { throw new RuntimeError('Variable "sylius" does not exist.', 1, $this->source); })()), "channel", [], "any", false, false, false, 1), "code", [], "any", false, false, false, 1));
// line 2
echo " <div class=\"top-header\">
\t<div class=\"container p-lg-0 position-relative\">
<div class=\"row no-gutters\">
<div class=\"col-12 \">
<div class=\"phrase-admin\">
<p> </p>
</div>
</div>
<a class=\"devis-btn\" title=\"\">
";
// line 11
if (twig_get_attribute($this->env, $this->source, ($context["block"] ?? null), "content", [], "any", true, true, false, 11)) {
// line 12
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["block"]) || array_key_exists("block", $context) ? $context["block"] : (function () { throw new RuntimeError('Variable "block" does not exist.', 12, $this->source); })()), "content", [], "any", false, false, false, 12);
echo "
";
}
// line 14
echo " </a>
</div>
</div>
</div>
<div class=\"header-sticky\">
<div class=\"container p-lg-0\">
<div id=\"header\">
<div class=\"row align-items-center\">
<div class=\"menu-mobile-bloc\"><a href=\"#\" class=\"toggle-menu\" title=\"MENU\"><img src=\"";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/ico_menu_m.svg"), "html", null, true);
echo "\" alt=\"\" class=\"hidden-640\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/ico_menu_m2.svg"), "html", null, true);
echo "\" alt=\"\" class=\"visible-640\"><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.header.menu"), "html", null, true);
echo "</span></a></div>
";
// line 24
echo $this->extensions['Sylius\Bundle\UiBundle\Twig\TemplateEventExtension']->render("sylius.shop.layout.header.grid");
echo "
</div>
</div>
</div>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "SyliusShopBundle::_header.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 84 => 24, 76 => 23, 65 => 14, 59 => 12, 57 => 11, 46 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source(" {% set block = app_get_blocks('texteperso_header', sylius.channel.code ) %}
<div class=\"top-header\">
\t<div class=\"container p-lg-0 position-relative\">
<div class=\"row no-gutters\">
<div class=\"col-12 \">
<div class=\"phrase-admin\">
<p> </p>
</div>
</div>
<a class=\"devis-btn\" title=\"\">
{% if block.content is defined %}
{{ block.content|raw }}
{% endif %}
</a>
</div>
</div>
</div>
<div class=\"header-sticky\">
<div class=\"container p-lg-0\">
<div id=\"header\">
<div class=\"row align-items-center\">
<div class=\"menu-mobile-bloc\"><a href=\"#\" class=\"toggle-menu\" title=\"MENU\"><img src=\"{{ asset('images/ico_menu_m.svg') }}\" alt=\"\" class=\"hidden-640\"><img src=\"{{ asset('images/ico_menu_m2.svg') }}\" alt=\"\" class=\"visible-640\"><span>{{'app.header.menu' |trans}}</span></a></div>
{{ sylius_template_event('sylius.shop.layout.header.grid') }}
</div>
</div>
</div>
</div>
", "SyliusShopBundle::_header.html.twig", "/home/rayonnage/preprod/sylius/themes/BootstrapTheme/SyliusShopBundle/views/_header.html.twig");
}
}