<?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;
/* base.html.twig */
class __TwigTemplate_9f2160f8b5e7703a244a0e192fd1a168a59e1baaaaa15cfc789cddc2f34f09fc extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'meta' => [$this, 'block_meta'],
'style' => [$this, 'block_style'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'footer_snippets' => [$this, 'block_footer_snippets'],
'footer' => [$this, 'block_footer'],
'javascripts' => [$this, 'block_javascripts'],
];
}
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", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
$context["account"] = $this->extensions['App\Twig\AccountTwigExtension']->resolveAccountFunction(twig_replace_filter(twig_get_attribute($this->env, $this->source, (isset($context["request"]) || array_key_exists("request", $context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.', 1, $this->source); })()), "portalKey", [], "any", false, false, false, 1), ["fereol-depannage" => 1, "agora-depannage" => 2, "aerogarage" => 3]));
// line 2
$context["logo"] = $this->extensions['Sulu\Bundle\MediaBundle\Twig\MediaTwigExtension']->resolveMediaFunction(twig_get_attribute($this->env, $this->source, (isset($context["account"]) || array_key_exists("account", $context) ? $context["account"] : (function () { throw new RuntimeError('Variable "account" does not exist.', 2, $this->source); })()), "logo", [], "any", false, false, false, 2), "fr");
// line 3
echo "<!DOCTYPE html>
<html lang=\"";
// line 4
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "locale", [], "any", false, false, false, 4), "_"), 0, [], "array", false, false, false, 4), "html", null, true);
echo "\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
";
// line 10
$this->displayBlock('meta', $context, $blocks);
// line 18
echo "
";
// line 19
$this->displayBlock('style', $context, $blocks);
// line 23
echo " </head>
<body class=\"";
// line 24
echo twig_escape_filter($this->env, (isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 24, $this->source); })()), "html", null, true);
echo " webspace_";
echo twig_escape_filter($this->env, (isset($context["webspaceKey"]) || array_key_exists("webspaceKey", $context) ? $context["webspaceKey"] : (function () { throw new RuntimeError('Variable "webspaceKey" does not exist.', 24, $this->source); })()), "html", null, true);
echo "\">
<header>
";
// line 28
$this->displayBlock('header', $context, $blocks);
// line 76
echo " </header>
<main id=\"content\">
";
// line 80
$this->displayBlock('content', $context, $blocks);
// line 81
echo " </main>
";
// line 82
$this->displayBlock('footer_snippets', $context, $blocks);
// line 88
echo "
<footer class=\"container-fluid py-2\">
";
// line 91
$this->displayBlock('footer', $context, $blocks);
// line 117
echo " </div>
</footer>
";
// line 120
$this->displayBlock('javascripts', $context, $blocks);
// line 125
echo " </body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 10
public function block_meta($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(), "block", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 11
echo " ";
$this->loadTemplate("seo.html.twig", "base.html.twig", 11)->display(twig_array_merge($context, ["seo" => ((twig_get_attribute($this->env, $this->source, // line 12
($context["extension"] ?? null), "seo", [], "any", true, true, false, 12)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["extension"] ?? null), "seo", [], "any", false, false, false, 12), [])) : ([])), "content" => (( // line 13
array_key_exists("content", $context)) ? (_twig_default_filter((isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 13, $this->source); })()), [])) : ([])), "localizations" => (( // line 14
array_key_exists("localizations", $context)) ? (_twig_default_filter((isset($context["localizations"]) || array_key_exists("localizations", $context) ? $context["localizations"] : (function () { throw new RuntimeError('Variable "localizations" does not exist.', 14, $this->source); })()), [])) : ([])), "shadowBaseLocale" => (( // line 15
array_key_exists("shadowBaseLocale", $context)) ? (_twig_default_filter((isset($context["shadowBaseLocale"]) || array_key_exists("shadowBaseLocale", $context) ? $context["shadowBaseLocale"] : (function () { throw new RuntimeError('Variable "shadowBaseLocale" does not exist.', 15, $this->source); })()))) : (""))]));
// line 17
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 19
public function block_style($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(), "block", "style"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "style"));
// line 20
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
// line 21
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("site");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 28
public function block_header($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(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 29
echo "
<nav class=\"navbar navbar-expand-lg navbar-light\">
<div class=\"container align-items-stretch\">
<a class=\"navbar-brand\" href=\"";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentRootPath(), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["account"]) || array_key_exists("account", $context) ? $context["account"] : (function () { throw new RuntimeError('Variable "account" does not exist.', 32, $this->source); })()), "name", [], "any", false, false, false, 32), "html", null, true);
echo "\">
<img src=\"";
// line 33
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["logo"]) || array_key_exists("logo", $context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.', 33, $this->source); })()), "thumbnails", [], "any", false, false, false, 33), "logo-x200", [], "array", false, false, false, 33), "html", null, true);
echo "\">
</a>
<button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#mainNav\" aria-controls=\"mainNav\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse flex-column justify-content-between\" id=\"mainNav\">
<div class=\"banner-depannage align-self-end travaux\">
<span class=\"left-shadow\"></span>
";
// line 42
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("24H / 7J DÉPANNAGE AUTO ET PL", [], "messages");
// line 43
echo " <span class=\"right-shadow\"></span>
</div>
<ul class=\"navbar-nav me-auto mb-2 mb-lg-0\">
";
// line 47
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("main", 2));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 48
echo "
<li class=\"nav-item ";
// line 49
echo ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "children", [], "any", false, false, false, 49))) ? ("dropdown") : (""));
echo "\">
<a class=\"nav-link ";
// line 50
echo ((((0 === twig_compare((isset($context["uuid"]) || array_key_exists("uuid", $context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.', 50, $this->source); })()), twig_get_attribute($this->env, $this->source, $context["item"], "uuid", [], "any", false, false, false, 50))) || twig_in_filter((isset($context["uuid"]) || array_key_exists("uuid", $context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.', 50, $this->source); })()), twig_array_map($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "children", [], "any", false, false, false, 50), function ($__i__) use ($context, $macros) { $context["i"] = $__i__; return twig_get_attribute($this->env, $this->source, (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 50, $this->source); })()), "uuid", [], "any", false, false, false, 50); })))) ? ("active") : (""));
echo "\" ";
echo ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "children", [], "any", false, false, false, 50))) ? ("data-bs-toggle=\"dropdown\"") : (""));
echo " href=\"";
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, false, 50), twig_get_attribute($this->env, $this->source, $context["item"], "webspaceKey", [], "any", false, false, false, 50)), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 50), "html", null, true);
echo "\">
";
// line 51
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 51), "html", null, true);
echo "
</a>
";
// line 53
if (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "children", [], "any", false, false, false, 53))) {
// line 54
echo " <ul class=\"dropdown-menu\">
";
// line 55
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["item"], "children", [], "any", false, false, false, 55));
foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
// line 56
echo " <li>
<a href=\"";
// line 57
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["child"], "url", [], "any", false, false, false, 57), twig_get_attribute($this->env, $this->source, $context["child"], "webspaceKey", [], "any", false, false, false, 57)), "html", null, true);
echo "\"class=\"dropdown-item ";
echo (((0 === twig_compare((isset($context["uuid"]) || array_key_exists("uuid", $context) ? $context["uuid"] : (function () { throw new RuntimeError('Variable "uuid" does not exist.', 57, $this->source); })()), twig_get_attribute($this->env, $this->source, $context["child"], "uuid", [], "any", false, false, false, 57)))) ? ("active") : (""));
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child"], "title", [], "any", false, false, false, 57), "html", null, true);
echo "\">
";
// line 58
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["child"], "title", [], "any", false, false, false, 58), "html", null, true);
echo "
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 62
echo " </ul>
";
}
// line 63
echo "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 67
echo " </ul>
</div>
<a href=\"tel:";
// line 69
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["account"]) || array_key_exists("account", $context) ? $context["account"] : (function () { throw new RuntimeError('Variable "account" does not exist.', 69, $this->source); })()), "mainPhone", [], "any", false, false, false, 69), "html", null, true);
echo "\" class=\"btn btn-danger telephone px-4\">
<i class=\"icon-truck icon-above\"></i>
<i class=\"fa fa-mobile-alt me-2\"></i> ";
// line 71
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["account"]) || array_key_exists("account", $context) ? $context["account"] : (function () { throw new RuntimeError('Variable "account" does not exist.', 71, $this->source); })()), "mainPhone", [], "any", false, false, false, 71), "html", null, true);
echo "
</a>
</div>
</nav>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 80
public function block_content($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(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 82
public function block_footer_snippets($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(), "block", "footer_snippets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_snippets"));
// line 83
echo " ";
$context["faq"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("faq_footer");
// line 84
echo " ";
echo twig_include($this->env, $context, "snippets/faq.html.twig", (isset($context["faq"]) || array_key_exists("faq", $context) ? $context["faq"] : (function () { throw new RuntimeError('Variable "faq" does not exist.', 84, $this->source); })()));
echo "
";
// line 85
$context["slide"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("partenaires_footer");
// line 86
echo " ";
echo twig_include($this->env, $context, "snippets/slide.html.twig", (isset($context["slide"]) || array_key_exists("slide", $context) ? $context["slide"] : (function () { throw new RuntimeError('Variable "slide" does not exist.', 86, $this->source); })()));
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 91
public function block_footer($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(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 92
echo " <div class=\"container\">
<div class=\"row justify-content-end align-items-center\">
<div class=\"col-auto text-end text-white credit\">
© ";
// line 95
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo " Adelysnet
</div>
<nav class=\"col-auto flex-grow-1 text-end d-flex justify-content-end\">
<ul class=\"nav\">
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 101
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentRootPath(), "html", null, true);
echo "\">Accueil</a>
</li>
";
// line 104
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("footer"));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 105
echo " <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 106
echo twig_escape_filter($this->env, $this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env, $this->source, $context["item"], "url", [], "any", false, false, false, 106), twig_get_attribute($this->env, $this->source, $context["item"], "webspaceKey", [], "any", false, false, false, 106)), "html", null, true);
echo "\"
title=\"";
// line 107
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 107), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 107), "html", null, true);
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 110
echo " </ul>
</nav>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 120
public function block_javascripts($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(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 121
echo "
";
// line 122
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
";
// line 123
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("site");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 450 => 123, 446 => 122, 443 => 121, 433 => 120, 417 => 110, 406 => 107, 402 => 106, 399 => 105, 395 => 104, 389 => 101, 380 => 95, 375 => 92, 365 => 91, 352 => 86, 350 => 85, 345 => 84, 342 => 83, 332 => 82, 314 => 80, 299 => 71, 294 => 69, 290 => 67, 281 => 63, 277 => 62, 267 => 58, 259 => 57, 256 => 56, 252 => 55, 249 => 54, 247 => 53, 242 => 51, 232 => 50, 228 => 49, 225 => 48, 221 => 47, 215 => 43, 213 => 42, 201 => 33, 195 => 32, 190 => 29, 180 => 28, 168 => 21, 163 => 20, 153 => 19, 143 => 17, 141 => 15, 140 => 14, 139 => 13, 138 => 12, 136 => 11, 126 => 10, 114 => 125, 112 => 120, 107 => 117, 105 => 91, 100 => 88, 98 => 82, 95 => 81, 93 => 80, 87 => 76, 85 => 28, 76 => 24, 73 => 23, 71 => 19, 68 => 18, 66 => 10, 57 => 4, 54 => 3, 52 => 2, 50 => 1,);
}
public function getSourceContext()
{
return new Source("{% set account = sulu_resolve_account(request.portalKey|replace({'fereol-depannage':1,'agora-depannage':2,'aerogarage':3})) %}
{% set logo = sulu_resolve_media(account.logo,'fr') %}
<!DOCTYPE html>
<html lang=\"{{ app.request.locale|split('_')[0] }}\">
<head>
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
{% block meta %}
{% include \"seo.html.twig\" with {
\"seo\": extension.seo|default([]),
\"content\": content|default([]),
\"localizations\": localizations|default([]),
\"shadowBaseLocale\": shadowBaseLocale|default(),
} %}
{% endblock %}
{% block style %}
{{ encore_entry_link_tags('app') }}
{{ encore_entry_link_tags('site') }}
{% endblock %}
</head>
<body class=\"{{ template }} webspace_{{ webspaceKey }}\">
<header>
{% block header %}
<nav class=\"navbar navbar-expand-lg navbar-light\">
<div class=\"container align-items-stretch\">
<a class=\"navbar-brand\" href=\"{{ sulu_content_root_path() }}\" title=\"{{ account.name }}\">
<img src=\"{{ logo.thumbnails['logo-x200'] }}\">
</a>
<button class=\"navbar-toggler\" type=\"button\" data-bs-toggle=\"collapse\" data-bs-target=\"#mainNav\" aria-controls=\"mainNav\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse flex-column justify-content-between\" id=\"mainNav\">
<div class=\"banner-depannage align-self-end travaux\">
<span class=\"left-shadow\"></span>
{% trans %}24H / 7J DÉPANNAGE AUTO ET PL{% endtrans %}
<span class=\"right-shadow\"></span>
</div>
<ul class=\"navbar-nav me-auto mb-2 mb-lg-0\">
{% for item in sulu_navigation_root_tree('main',2) %}
<li class=\"nav-item {{ item.children|length ? 'dropdown' : '' }}\">
<a class=\"nav-link {{ uuid == item.uuid or uuid in item.children|map(i => i.uuid) ? 'active' : '' }}\" {{ item.children|length ? 'data-bs-toggle=\"dropdown\"':'' }} href=\"{{ sulu_content_path(item.url, item.webspaceKey) }}\" title=\"{{ item.title }}\">
{{ item.title }}
</a>
{% if item.children|length %}
<ul class=\"dropdown-menu\">
{% for child in item.children %}
<li>
<a href=\"{{ sulu_content_path(child.url, child.webspaceKey) }}\"class=\"dropdown-item {{ uuid == child.uuid ? 'active' : '' }}\" title=\"{{ child.title }}\">
{{ child.title }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
<a href=\"tel:{{ account.mainPhone }}\" class=\"btn btn-danger telephone px-4\">
<i class=\"icon-truck icon-above\"></i>
<i class=\"fa fa-mobile-alt me-2\"></i> {{ account.mainPhone }}
</a>
</div>
</nav>
{% endblock %}
</header>
<main id=\"content\">
{% block content %}{% endblock %}
</main>
{% block footer_snippets %}
{% set faq = sulu_snippet_load_by_area('faq_footer') %}
{{ include(\"snippets/faq.html.twig\", faq) }}
{% set slide = sulu_snippet_load_by_area('partenaires_footer') %}
{{ include(\"snippets/slide.html.twig\", slide) }}
{% endblock %}
<footer class=\"container-fluid py-2\">
{% block footer %}
<div class=\"container\">
<div class=\"row justify-content-end align-items-center\">
<div class=\"col-auto text-end text-white credit\">
© {{ 'now'|date('Y') }} Adelysnet
</div>
<nav class=\"col-auto flex-grow-1 text-end d-flex justify-content-end\">
<ul class=\"nav\">
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ sulu_content_root_path() }}\">Accueil</a>
</li>
{% for item in sulu_navigation_root_tree('footer') %}
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ sulu_content_path(item.url, item.webspaceKey) }}\"
title=\"{{ item.title }}\">{{ item.title }}</a>
</li>
{% endfor %}
</ul>
</nav>
</div>
</div>
{% endblock %}
</div>
</footer>
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{{ encore_entry_script_tags('site') }}
{% endblock %}
</body>
</html>
", "base.html.twig", "/var/www/vhosts/fereol-depannage.com/preprod.fereol-depannage.com/templates/base.html.twig");
}
}