{% 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 type="image/png" rel="icon"
href="{{ asset('assets/img/icone.png') }}">
{# <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#15683A">
<meta name="msapplication-TileColor" content="#15683A">#}
{# <a href="{{path('name')}}"></a>#}
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('assets/img/apple-touch-icon.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="#15683A">
<meta name="msapplication-TileColor" content="#15683A">
{% block metaTags %}
<meta name="description" content="{{ page ? page.metaDescription : "Concepteur et fabricant de machines pour abattoir." }}">
<title>{{ page ? page.metaTitle : siteTitle }}</title>
<meta property="og:type" content="website">
<meta property="og:site_name" content="FACOMIA">
<meta property="og:url" content="{{ app.request.uri }}">
<meta property="og:image" content="{{ asset('assets/img/logo-ogg.jpg') }}">
<meta property="og:title" content="{{ page ? page.metaTitle : "FACOMIA - Le pionnier des constructeurs français de machines pour abattoir" }}">
<meta property="og:description" content="{{ page ? page.metaDescription : "Concepteur et fabricant de machines pour abattoir." }}">
{% endblock %}
{% set metaColor = getMetaColor() %}
{% if metaColor %}
<meta name="theme-color" content="{{ getMetaColor() }}">
{% endif %}
{{ encore_entry_link_tags('app') }}
{% block stylesheets %}
{% endblock %}
{% set googleAnalytic = getGoogleAnalytic() %}
{% if googleAnalytic %}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ googleAnalytic }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '{{ googleAnalytic }}');
</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>
{# #}
{% endblock %}
{% block body %}{% endblock %}
{% block footer %}
{% include "front/footer.html.twig" %}
{% endblock %}
<div class="position-fixed b-20 r-20 pointer scrollToTopDiv scrollToTop bgc-white pa-12">
<i class="fa-light fa-arrow-up-to-line fs-25 c-15683A"></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="{{ asset('assets/libs/cookieconsent/cookie-consent.js') }}"></script>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({
"notice_banner_type": "simple",
"consent_type": "implied",
"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>