<!DOCTYPE html>
<html lang="{{ app.request.locale|split('_')[0] }}">
{% set locale = app.request.locale %}
{% set snippets = sulu_snippet_load_by_area('footer') %}
{% set snippet_contact = sulu_snippet_load_by_area('contact') %}
{% set contact_off = 0 %}
{% set ressource_off = 0 %}
<head>
<link rel="preload" href="{{ asset('build/website/fonts/YWFT_Ultramagnetic_Rough_Bold_One.otf') }}" as="font" type="font/otf" crossorigin>
<link rel="preload" href="{{ asset('build/website/fonts/Barlow-Medium.ttf') }}" as="font" type="font/ttf" crossorigin>
<link rel="preload" href="{{ asset('build/website/fonts/Barlow-Regular.ttf') }}" as="font" type="font/ttf" crossorigin>
<link rel="preload" href="{{ asset('build/website/fonts/Barlow-SemiBold.ttf') }}" as="font" type="font/ttf" crossorigin>
<link rel="preload" href="{{ asset('build/website/fonts/Barlow-Black.ttf') }}" as="font" type="font/ttf" crossorigin>
{% include "css/base-critical-css.html.twig" %}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> {% block title %}{% endblock %}
{% block meta %}
{% include "@SuluWebsite/Extension/seo.html.twig" with {
"seo": extension.seo|default([]),
"content": content|default([]),
"localizations": localizations|default([]),
"shadowBaseLocale": shadowBaseLocale|default(),
"defaultLocale": app.request.locale
} %}
{% endblock %}
{% block style %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'app'} %}
{% for file in encore_entry_css_files('print') %}
<link rel="stylesheet" href="{{ asset(file) }}" type="text/css" crossorigin="anonymous" media="print">
{% endfor %}
{% if "registration" in app.request.requestUri
or "profile" in app.request.requestUri
or "password" in app.request.requestUri
or "confirmation" in app.request.requestUri %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'profile_css'} %}
{% endif %}
{% if "registration" in app.request.requestUri
or "password" in app.request.requestUri
or "confirmation" in app.request.requestUri %}
{% include "pages/headers/encore-entry-css-files.html.twig" with {file: 'registration_css'} %}
{% endif %}
<link rel="shortcut icon" href="{{ asset('favicon.ico') }}" type="image/x-icon">
<link rel="icon" sizes="16x16 32x32" href="{{ asset('favicon-16x16.png') }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('apple-touch-icon.png') }}">
<link rel="icon" type="image/png" sizes="192x192" href="{{ asset('android-chrome-192x192.png') }}">
<link rel="icon" type="image/png" sizes="512x512" href="{{ asset('android-chrome-512x512.png') }}">
<link rel="manifest" href="{{ asset('site.webmanifest') }}">
{% endblock %}
</head>
<body>
{{ source('iconset/iconset.html.twig') }}
{% include "search-popin.html.twig" %}
<span id="backToTopButton" class="bgblue jcc aic dflex"><img src="/resources/img/up-arrow-icon.svg" alt="Remonter en haut de la page" width="18" height="20"></span>
<header class="sticky">
{% block header %}
{% include 'header.html.twig' %}
{% endblock %}
</header>
<main class="prelative">
{% block content %}{% endblock %}
</main>
{% if app.request.pathInfo == "/fr/contact/contactez-nous" %}
{% set contact_off = 1 %}
{% endif %}
{% if app.request.pathInfo == "/fr/contact/proposez-une-ressource" %}
{% set ressource_off = 1 %}
{% endif %}
{% include "contact_snippet.html.twig" with {'contact_off': contact_off, 'ressource_off': ressource_off} %}
{% block footer %}
{% include 'footer.html.twig' %}
{% endblock %}
{% block javascripts %}
{% for file in encore_entry_js_files('app') %}
<script src="{{ asset(file) }}" defer="defer"></script>
{% endfor %}
<script>
{% if snippets.content.email is defined %}const pEmail = document.querySelector('#pqna-email');let email = atob('{{ snippets.content.email|base64_encode }}');pEmail.innerText = email;pEmail.href = `mailto:${email}`;{% endif %}{% if snippets.content.numero is defined and not null %}const pPhone = document.querySelector('#pqna-phone');let phone = atob('{{ snippets.content.numero|base64_encode }}');pPhone.innerText = phone;let hrefTel = phone.replace(/[\s.-]/g, "");pPhone.href = `tel:${hrefTel}`;{% endif %}
</script>
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/ tracker methods like "setCustomDimension" should be called before "trackPageView" /
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomopqna.fr/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
{% endblock %}
</body>
</html>