<?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_78a329586fe6dd6d562980194d0adf9aa6f78e5efd0a204907c0c1e75e10d0c3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'metaTags' => [$this, 'block_metaTags'],
'stylesheets' => [$this, 'block_stylesheets'],
'body_tag' => [$this, 'block_body_tag'],
'flash' => [$this, 'block_flash'],
'navbar' => [$this, 'block_navbar'],
'body' => [$this, 'block_body'],
'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["page"] = $this->extensions['App\Service\AppService']->getPage(twig_get_attribute($this->env, $this->source, 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.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "attributes", [], "any", false, false, false, 1), "get", ["_controller"], "method", false, false, false, 1));
// line 2
echo "<!DOCTYPE html>
<html lang=\"";
// line 3
echo twig_escape_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.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3), "html", null, true);
echo "\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
";
// line 9
echo " <meta property=\"og:type\" content=\"website\">
<meta property=\"og:site_name\" content=\"DMD INOX\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/appletouch.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favicon-32x32.png"), "html", null, true);
echo "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favicon-16x16.png"), "html", null, true);
echo "\">
<link rel=\"manifest\" href=\"";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/site.webmanifest"), "html", null, true);
echo "\">
<link rel=\"mask-icon\" href=\"";
// line 15
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/safari-pinned-tab.svg"), "html", null, true);
echo "\" color=\"#3991AF\">
<meta name=\"msapplication-TileColor\" content=\"#3991AF\">
";
// line 17
$this->displayBlock('metaTags', $context, $blocks);
// line 27
echo " ";
$context["metaColor"] = $this->extensions['App\Service\AppService']->getMetaColor();
// line 28
echo " ";
if ((isset($context["metaColor"]) || array_key_exists("metaColor", $context) ? $context["metaColor"] : (function () { throw new RuntimeError('Variable "metaColor" does not exist.', 28, $this->source); })())) {
// line 29
echo " <meta name=\"theme-color\" content=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Service\AppService']->getMetaColor(), "html", null, true);
echo "\">
";
}
// line 31
echo " ";
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
echo "
";
// line 32
$this->displayBlock('stylesheets', $context, $blocks);
// line 34
echo "
";
// line 35
$context["gtag_id"] = "";
// line 36
echo "
";
// line 37
if ((0 !== twig_compare((isset($context["gtag_id"]) || array_key_exists("gtag_id", $context) ? $context["gtag_id"] : (function () { throw new RuntimeError('Variable "gtag_id" does not exist.', 37, $this->source); })()), ""))) {
// line 38
echo " <!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id=";
// line 39
echo twig_escape_filter($this->env, (isset($context["gtag_id"]) || array_key_exists("gtag_id", $context) ? $context["gtag_id"] : (function () { throw new RuntimeError('Variable "gtag_id" does not exist.', 39, $this->source); })()), "html", null, true);
echo "\" data-cookie-consent=\"tracking\" type=\"text/plain\"></script>
<script data-cookie-consent=\"tracking\" type=\"text/plain\">
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js',
new Date()
);
gtag('config', '";
// line 50
echo twig_escape_filter($this->env, (isset($context["gtag_id"]) || array_key_exists("gtag_id", $context) ? $context["gtag_id"] : (function () { throw new RuntimeError('Variable "gtag_id" does not exist.', 50, $this->source); })()), "html", null, true);
echo "');
</script>
";
}
// line 53
echo "
";
// line 55
$context["googleSearchConsole"] = $this->extensions['App\Service\AppService']->getGoogleSearchConsole();
// line 56
echo " ";
if ((isset($context["googleSearchConsole"]) || array_key_exists("googleSearchConsole", $context) ? $context["googleSearchConsole"] : (function () { throw new RuntimeError('Variable "googleSearchConsole" does not exist.', 56, $this->source); })())) {
// line 57
echo " <meta name=\"google-site-verification\" content=\"";
echo twig_escape_filter($this->env, (isset($context["googleSearchConsole"]) || array_key_exists("googleSearchConsole", $context) ? $context["googleSearchConsole"] : (function () { throw new RuntimeError('Variable "googleSearchConsole" does not exist.', 57, $this->source); })()), "html", null, true);
echo "\"/>
";
}
// line 59
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/openlayers/ol.css"), "html", null, true);
echo "\">
<script type=\"text/javascript\" src=\"";
// line 60
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/openlayers/ol.js"), "html", null, true);
echo "\"></script>
<link rel=\"stylesheet\" href=\"";
// line 61
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/aos/aos.css"), "html", null, true);
echo "\">
</head>
<body data-navbar-search-url=\"";
// line 63
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_navbar_search");
echo "\" ";
$this->displayBlock('body_tag', $context, $blocks);
echo ">
<div class=\"wrapper\">
";
// line 65
$this->displayBlock('flash', $context, $blocks);
// line 93
echo " ";
$this->displayBlock('navbar', $context, $blocks);
// line 143
echo " ";
$this->displayBlock('body', $context, $blocks);
// line 144
echo " ";
$this->displayBlock('footer', $context, $blocks);
// line 147
echo " <div class=\"position-fixed b-20 r-20 scrollToTopDiv\">
<i class=\"fa fa-arrow-circle-up pointer scrollToTop fw-600 fs-40 c-65B3CD\"></i>
</div>
</div>
";
// line 151
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
echo "
<script type=\"text/javascript\" src=\"";
// line 152
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/aos/aos.js"), "html", null, true);
echo "\"></script>
<script>
AOS.init({
once: true,
});
</script>
<script type=\"text/javascript\" src=\"https://www.freeprivacypolicy.com/public/cookie-consent/4.1.0/cookie-consent.js\"></script>
<script type=\"text/javascript\">
document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({
\"notice_banner_type\": \"simple\",
\"consent_type\": \"explicit\",
\"palette\": \"light\",
\"language\": \"fr\",
\"website_name\": \"";
// line 166
echo twig_escape_filter($this->env, (isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 166, $this->source); })()), "html", null, true);
echo "\",
\"change_preferences_selector\": \"#changePreferences\",
});
});
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
";
// line 175
$this->displayBlock('javascripts', $context, $blocks);
// line 177
echo "</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 17
public function block_metaTags($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", "metaTags"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTags"));
// line 18
echo " ";
// line 19
echo " ";
// line 20
echo " <meta property=\"og:url\" content=\"";
echo twig_escape_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.', 20, $this->source); })()), "request", [], "any", false, false, false, 20), "uri", [], "any", false, false, false, 20), "html", null, true);
echo "\">
<meta name=\"description\" content=\"";
// line 21
echo twig_escape_filter($this->env, (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 21, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 21, $this->source); })()), "metaDescription", [], "any", false, false, false, 21)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 21, $this->source); })()))), "html", null, true);
echo "\">
<title>";
// line 22
echo twig_escape_filter($this->env, (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 22, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 22, $this->source); })()), "metaTitle", [], "any", false, false, false, 22)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 22, $this->source); })()))), "html", null, true);
echo "</title>
<meta property=\"og:image\" content=\"";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/logo.svg"), "html", null, true);
echo "\">
<meta property=\"og:title\" content=\"";
// line 24
(((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 24, $this->source); })())) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 24, $this->source); })()), "metaTitle", [], "any", false, false, false, 24), "html", null, true))) : (print ("DMD INOX - Raccords, vannes & accessoires de tuyauterie inox")));
echo "\">
<meta property=\"og:description\" content=\"";
// line 25
(((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 25, $this->source); })())) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 25, $this->source); })()), "metaDescription", [], "any", false, false, false, 25), "html", null, true))) : (print ("Nous sommes à la fois concepteurs, fabricants, négociants et vendeurs d’accessoires de tuyauterie inox des plus basiques aux plus complexes.")));
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 32
public function block_stylesheets($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", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 33
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 63
public function block_body_tag($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", "body_tag"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_tag"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 65
public function block_flash($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", "flash"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "flash"));
// line 66
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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.', 66, $this->source); })()), "flashes", [], "any", false, false, false, 66));
foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
// line 67
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["messages"]);
foreach ($context['_seq'] as $context["key"] => $context["message"]) {
// line 68
echo " <div class=\"modal fade mat-200\" id=\"flashMessageModal\" tabindex=\"-1\" role=\"dialog\"
aria-labelledby=\"flashMessageModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<div class=\"text-right\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
<div>
";
// line 79
if ((0 === twig_compare($context["label"], "success"))) {
// line 80
echo " <i class=\"fa fa-check text-success\"></i>
";
} else {
// line 82
echo " <i class=\"fa fa-warning text-danger\"></i>
";
}
// line 84
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["message"]);
echo "
</div>
</div>
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 91
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 92
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 93
public function block_navbar($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", "navbar"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
// line 94
echo " ";
// line 103
echo " <div class=\"d-none d-lg-block\">
";
// line 104
$this->loadTemplate("commons/navbar.html.twig", "base.html.twig", 104)->display($context);
// line 105
echo " </div>
<div class=\"d-block d-lg-none\">
";
// line 107
$this->loadTemplate("commons/navbarMobile.html.twig", "base.html.twig", 107)->display($context);
// line 108
echo " </div>
";
// line 142
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 143
public function block_body($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", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 144
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 145
echo " ";
$this->loadTemplate("front/footer.html.twig", "base.html.twig", 145)->display($context);
// line 146
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 175
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 176
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 488 => 176, 478 => 175, 468 => 146, 465 => 145, 455 => 144, 437 => 143, 427 => 142, 423 => 108, 421 => 107, 417 => 105, 415 => 104, 412 => 103, 410 => 94, 400 => 93, 390 => 92, 384 => 91, 370 => 84, 366 => 82, 362 => 80, 360 => 79, 347 => 68, 342 => 67, 337 => 66, 327 => 65, 309 => 63, 299 => 33, 289 => 32, 277 => 25, 273 => 24, 269 => 23, 265 => 22, 261 => 21, 256 => 20, 254 => 19, 252 => 18, 242 => 17, 230 => 177, 228 => 175, 216 => 166, 199 => 152, 195 => 151, 189 => 147, 186 => 144, 183 => 143, 180 => 93, 178 => 65, 171 => 63, 166 => 61, 162 => 60, 157 => 59, 151 => 57, 148 => 56, 146 => 55, 142 => 53, 136 => 50, 122 => 39, 119 => 38, 117 => 37, 114 => 36, 112 => 35, 109 => 34, 107 => 32, 102 => 31, 96 => 29, 93 => 28, 90 => 27, 88 => 17, 83 => 15, 79 => 14, 75 => 13, 71 => 12, 67 => 11, 63 => 9, 56 => 3, 53 => 2, 51 => 1,);
}
public function getSourceContext()
{
return new Source("{% set page = getPage(app.request.attributes.get(\"_controller\")) %}
<!DOCTYPE html>
<html lang=\"{{ app.request.locale }}\">
<head>
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
{# <link rel=\"icon\"
href=\"{{ asset('assets/img/appletouch.png') }}\">#}
<meta property=\"og:type\" content=\"website\">
<meta property=\"og:site_name\" content=\"DMD INOX\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"{{ asset('assets/img/appletouch.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"{{ asset('assets/img/favicon-32x32.png') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"{{ asset('assets/img/favicon-16x16.png') }}\">
<link rel=\"manifest\" href=\"{{ asset('assets/img/site.webmanifest') }}\">
<link rel=\"mask-icon\" href=\"{{ asset('assets/img/safari-pinned-tab.svg') }}\" color=\"#3991AF\">
<meta name=\"msapplication-TileColor\" content=\"#3991AF\">
{% block metaTags %}
{# <meta property=\"og:title\" content=\"DMD INOX - Raccords, vannes & accessoires de tuyauterie inox\">#}
{# <meta property=\"og:description\" content=\"\">#}
<meta property=\"og:url\" content=\"{{ app.request.uri }}\">
<meta name=\"description\" content=\"{{ page ? page.metaDescription : siteTitle }}\">
<title>{{ page ? page.metaTitle : siteTitle }}</title>
<meta property=\"og:image\" content=\"{{ asset('assets/img/logo.svg') }}\">
<meta property=\"og:title\" content=\"{{ page ? page.metaTitle : \"DMD INOX - Raccords, vannes & accessoires de tuyauterie inox\" }}\">
<meta property=\"og:description\" content=\"{{ page ? page.metaDescription : \"Nous sommes à la fois concepteurs, fabricants, négociants et vendeurs d’accessoires de tuyauterie inox des plus basiques aux plus complexes.\" }}\">
{% endblock %}
{% set metaColor = getMetaColor() %}
{% if metaColor %}
<meta name=\"theme-color\" content=\"{{ getMetaColor() }}\">
{% endif %}
{{ encore_entry_link_tags('app') }}
{% block stylesheets %}
{% endblock %}
{% set gtag_id = '' %}
{% if gtag_id != '' %}
<!-- Google tag (gtag.js) -->
<script async src=\"https://www.googletagmanager.com/gtag/js?id={{ gtag_id }}\" data-cookie-consent=\"tracking\" type=\"text/plain\"></script>
<script data-cookie-consent=\"tracking\" type=\"text/plain\">
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js',
new Date()
);
gtag('config', '{{ gtag_id }}');
</script>
{% endif %}
{% set googleSearchConsole = getGoogleSearchConsole() %}
{% if googleSearchConsole %}
<meta name=\"google-site-verification\" content=\"{{ googleSearchConsole }}\"/>
{% endif %}
<link rel=\"stylesheet\" href=\"{{ asset('assets/libs/openlayers/ol.css') }}\">
<script type=\"text/javascript\" src=\"{{ asset('assets/libs/openlayers/ol.js') }}\"></script>
<link rel=\"stylesheet\" href=\"{{ asset('assets/libs/aos/aos.css') }}\">
</head>
<body data-navbar-search-url=\"{{ path('front_navbar_search') }}\" {% block body_tag %}{% endblock %}>
<div class=\"wrapper\">
{% block flash %}
{% for label, messages in app.flashes %}
{% for key, message in messages %}
<div class=\"modal fade mat-200\" id=\"flashMessageModal\" tabindex=\"-1\" role=\"dialog\"
aria-labelledby=\"flashMessageModalLabel\" aria-hidden=\"true\">
<div class=\"modal-dialog\" role=\"document\">
<div class=\"modal-content\">
<div class=\"modal-body\">
<div class=\"text-right\">
<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
<span aria-hidden=\"true\">×</span>
</button>
</div>
<div>
{% if label == \"success\" %}
<i class=\"fa fa-check text-success\"></i>
{% else %}
<i class=\"fa fa-warning text-danger\"></i>
{% endif %}
{{ message|trans|raw }}
</div>
</div>
</div>
</div>
</div>
{% endfor %}
{% endfor %}
{% endblock %}
{% block navbar %}
{# <div class=\"fixed-top zi-999 bgc-white c-black pay-10\">
<div class=\"container\">
<div class=\"row align-items-center fs-14 fw-300\">
<div class=\"font-italic col\">
{{ page ? page.title : siteTitle }}
</div>
</div>
</div>
</div>#}
<div class=\"d-none d-lg-block\">
{% include \"commons/navbar.html.twig\" %}
</div>
<div class=\"d-block d-lg-none\">
{% include \"commons/navbarMobile.html.twig\" %}
</div>
{# {% for key, category in getCategories() %}
<div>
<a href=\"{{ getProductUrl(null, true, category) }}\">
{{ category.title }}
</a>
</div>
<div>
<img src=\"{{ getCategoryImage(category)|imagine_filter('medium') }}\" alt=\"{{ category.title }}\"
class=\"wi-200\"/>
</div>
{% for key, subCategory in getSubCategories(category) %}
<div>
<a href=\"{{ getProductUrl(null, true, null, subCategory) }}\">
{{ subCategory.title }}
</a>
</div>
{% for key, subSubCategory in getSubSubCategories(subCategory) %}
<div>
<a href=\"{{ getProductUrl(null, true, null, null, subSubCategory) }}\">
{{ subSubCategory.title }}
</a>
</div>
{% for key, subSubSubCategory in getSubSubSubCategories(subSubCategory) %}
<div>
<a href=\"{{ getProductUrl(null, true, null, null, null, subSubSubCategory) }}\">
{{ subSubSubCategory.title }}
</a>
</div>
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}#}
{% endblock %}
{% block body %}{% endblock %}
{% block footer %}
{% include \"front/footer.html.twig\" %}
{% endblock %}
<div class=\"position-fixed b-20 r-20 scrollToTopDiv\">
<i class=\"fa fa-arrow-circle-up pointer scrollToTop fw-600 fs-40 c-65B3CD\"></i>
</div>
</div>
{{ encore_entry_script_tags('app') }}
<script type=\"text/javascript\" src=\"{{ asset('assets/libs/aos/aos.js') }}\"></script>
<script>
AOS.init({
once: true,
});
</script>
<script type=\"text/javascript\" src=\"https://www.freeprivacypolicy.com/public/cookie-consent/4.1.0/cookie-consent.js\"></script>
<script type=\"text/javascript\">
document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({
\"notice_banner_type\": \"simple\",
\"consent_type\": \"explicit\",
\"palette\": \"light\",
\"language\": \"fr\",
\"website_name\": \"{{ siteTitle }}\",
\"change_preferences_selector\": \"#changePreferences\",
});
});
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
{% block javascripts %}
{% endblock %}
</body>
</html>
", "base.html.twig", "/home/hlcdisb/www/dmdinox_dev/templates/base.html.twig");
}
}