<!DOCTYPE html>
<html lang="{{ app.request.locale|slice(0, 2) }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{% set _title_no_tag = block('title_no_tag') ?? '' %}
{% if _title_no_tag is not empty %}
{{ _title_no_tag|raw }}
{% else %}
<title> {% block title %}{% include '@DediSyliusSEOPlugin/Shop/Header/_title.html.twig' with { 'resource': product ?? sylius.channel } %}{% endblock %}</title>
{% endif %}
{{ app_get_google_tag_manager_datalayer() }}
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
{% block metatags %}
{% set metaDescription = sylius_template_event('dedi_sylius_seo_plugin.metatags', { resource: product ?? sylius.channel }) %}
{{ sylius_template_event('dedi_sylius_seo_plugin.rich_snippets') }}
{% if metaDescription is empty %}
<meta name="description" content="{{ sylius.channel.description }}">
{% else %}
{{ metaDescription|raw }}
{% endif %}
{% endblock %}
{% set canonicalList = app_get_canonical_link(app.request) %}
{% if canonicalList is not null %}
<link rel="canonical" href="{{ canonicalList[sylius.localeCode] }}" />
{% endif %}
{% for key,value in canonicalList %}
<link rel="alternate" href="{{ value }}" hreflang="{{ key|replace({ '_': "-"}) }}" />
{% endfor %}
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
{% block stylesheets %}
<link rel="stylesheet" href="https://use.typekit.net/icm3oad.css">
{{ sylius_template_event('sylius.shop.layout.stylesheets') }}
{% endblock %}
{{ sylius_template_event('sylius.shop.layout.head') }}
</head>
<body class="body-{{app.request.attributes.get('_route')}}">
{{ sylius_template_event('sylius.shop.layout.before_body') }}
{% block top %}
{# a remettre si on veut gerer les switch de langue & de channel#}
{# <nav class="bg-dark navbar navbar-expand-lg">#}
{# <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTop" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">#}
{# <span class="navbar-toggler-icon"></span>#}
{# </button>#}
{# <div class="collapse navbar-collapse" id="navbarTop">#}
{# {{ sylius_template_event('sylius.shop.layout.topbar') }}#}
{# </div>#}
{# </nav>#}
{% endblock %}
<main class="big-wrapper">
<div class="menu-mob-overlay"></div>
{% block header %}
<header class="header-body">
{{ sylius_template_event('sylius.shop.layout.header') }}
</header>
{# --- BEGIN POPUP ADMINISTRABLE --- #}
{% set popups = app_get_current_page_popup(app.request.get('_route'), app.request.attributes.get('_route_params')) %}
{% set existPopup = false %}
{% for popup in popups %}
{% set existPopup = true %}
{% include '@SyliusShop/_popup.html.twig' with { popup: popup } %}
{% endfor %}
{% if existPopup %}
{{ encore_entry_script_tags('popup', null, 'bootstrapTheme') }}
{% endif %}
{# --- END POPUP ADMINISTRABLE --- #}
{% include '@SyliusShop/Product/_popupAddToCart.html.twig' %}
{% endblock %}
<div class="main-content page-content">
<div class="container p-lg-0 my-0">{% include '@SyliusShop/_flashes.html.twig' %}</div>
{{ sylius_template_event('sylius.shop.layout.before_content') }}
{% block content %}
{% endblock %}
{{ sylius_template_event('sylius.shop.layout.after_content') }}
</div>
{% block footer %}
{% include '@SyliusShop/_footer.html.twig' %}
{% endblock %}
{{ sylius_template_event('sylius.shop.layout.after_body') }}
<div class="bloc-help text-white d-block d-lg-none">
<div class=" font-18 bg-sce">
<div class="font-aller-bold font-18 font-18-mobile">Besoin d'aide?</div>
<div>
<a href="tel:0385338969" class="font-20-mobile font-20 p-nomargin color-pink-s font-weight-medium"><p>06 20 15 80 43 </p> </a>
</div>
</div>
</div>
<div class="loading-overlay" data-js-loading-overlay>
<div class="spinner-border" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
</main>
<div class="goToTop"><img src="{{ asset('images/top_go.png')}}" alt="" /></div>
{% include "@CHCookieConsent/cookie_consent_styling.html.twig" %}
{{ render_esi(path('ch_cookie_consent.show', { 'locale' : sylius.localeCode })) }}
{% block javascripts %}
{{ sylius_template_event('sylius.shop.layout.javascripts') }}
{% endblock %}
</body>
</html>