<?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/layout/header.html.twig */
class __TwigTemplate_00bb4f9ce225274c1d52259ecab6870f 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_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/layout/header.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/layout/header.html.twig"));
// line 1
yield "<header>
<div class=\"top\">
<div class=\"ctn\">
<div class=\"question\">";
// line 4
yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("<strong>Une question, un conseil, un devis?</strong> <a href=\"tel:+33247733838\">02 47 73 38 38</a>", [], "messages");
yield "</div>
<a href=\"";
// line 5
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact_form");
yield "\" class=\"bt-contact\"><img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/bt-contact.svg"), "html", null, true);
yield "\" alt=\"";
yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Contactez-nous", [], "messages");
yield "\" width=\"20\" height=\"20\"></a>
";
// line 6
yield from $this->loadTemplate("front/layout/languages.html.twig", "front/layout/header.html.twig", 6)->unwrap()->yield($context);
// line 7
yield " </div>
</div>
";
// line 9
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Front\\Modules\\MenuController::main", ["request" => CoreExtension::getAttribute($this->env, $this->source, // line 11
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 11, $this->source); })()), "request", [], "any", false, false, false, 11)]));
// line 12
yield "
</header>
";
// line 14
yield from $this->loadTemplate("front/modules/text-slideshow/block.html.twig", "front/layout/header.html.twig", 14)->unwrap()->yield($context);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/layout/header.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 74 => 14, 70 => 12, 68 => 11, 67 => 9, 63 => 7, 61 => 6, 53 => 5, 49 => 4, 44 => 1,);
}
public function getSourceContext()
{
return new Source("<header>
<div class=\"top\">
<div class=\"ctn\">
<div class=\"question\">{% trans %}<strong>Une question, un conseil, un devis?</strong> <a href=\"tel:+33247733838\">02 47 73 38 38</a>{% endtrans %}</div>
<a href=\"{{ path('contact_form') }}\" class=\"bt-contact\"><img src=\"{{ asset('img/bt-contact.svg') }}\" alt=\"{% trans %}Contactez-nous{% endtrans %}\" width=\"20\" height=\"20\"></a>
{% include 'front/layout/languages.html.twig' %}
</div>
</div>
{{ render(controller(
'App\\\\Controller\\\\Front\\\\Modules\\\\MenuController::main',
{ 'request': app.request }
)) }}
</header>
{% include 'front/modules/text-slideshow/block.html.twig' %}", "front/layout/header.html.twig", "/var/www/dogcat.com/v2-test/templates/front/layout/header.html.twig");
}
}