{% extends "base_frontend.html.twig" %}
{% block meta_robot %}
{{ parent() }}
{% if type is defined and type == 'pro' %}
<link rel="canonical" href="{{ url('homepage_pro') }}" />
{% else %}
<link rel="canonical" href="{{ url('homepage') }}" />
{% endif %}
{{ source('stubs/seo/robots_index_follow.html.twig') }}
{% endblock %}
{% block avis_verifies %}
{% if type == 'private' %}
<meta class="netreviewsWidget" id="netreviewsWidgetNum12415"
data-jsurl="//cl.avis-verifies.com/fr/cache/3/7/7/3777ea35-f312-e844-e539-4448e34bc940/widget4/widget10-right-12415_script.js"/>
<script type="text/plain" data-cookieconsent="marketing"
src="//cl.avis-verifies.com/fr/widget4/widget10.min.js"></script>
{% endif %}
{% endblock %}
{% set whoWeAre = true %}
{% block tag_manager %}
<script>
dataLayer = [{
'rubrique': 'Homepage',
}];
</script>
{% endblock %}
{% block tawkto %}
{% if type is not defined or type == 'private' %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block meta_title %}{% if type is not defined or type == 'private' %}{{ parent() }}{% else %}{{ 'seo.base.pro.title'|trans({}, "seo") }}{% endif %}{% endblock %}
{% block meta_desc %}{% if type is not defined or type == 'private' %}{{ parent() }}{% else %}{{ 'seo.base.pro.desc'|trans({}, "seo") }}{% endif %}{% endblock %}
{% block layout_content %}
<div class="home">
<!-- Header -->
{% if type == 'private' %}
{% include 'frontend/header.html.twig' %}
{% elseif type == 'pro' %}
{% include 'frontend/header_pro.html.twig' %}
{% endif %}
<!-- FIN Header -->
{% if type == 'private' %}
{% include '/Frontend/home/home_top.html.twig' %}
{% elseif type == 'pro' %}
{% include '/Frontend/home/home_top_pro.html.twig' %}
{% endif %}
<!-- Home Content -->
{% if type == 'private' %}
{% include '/Frontend/home/home_content.html.twig' %}
{% elseif type == 'pro' %}
{% include '/Frontend/home/home_content_pro.html.twig' %}
{% endif %}
<!-- FIN Home Content -->
<a href="#" id="scrollup01">Haut</a>
<!--Footer -->
{% if type == 'private' %}
{% include 'frontend/footer.html.twig' %}
{% elseif type == 'pro' %}
{% include 'frontend/footer_pro.html.twig' %}
{% endif %}
<!-- FIN Footer -->
</div>
{% if type == 'private' %}
{% if true == getParameter('marketing_modal.enabled') %}
<a id="modalInfo" href="{{ getParameter('marketing_modal.image') }}" data-url="{{ getParameter('marketing_modal.link') }}" style="display:none"></a>
{% endif %}
{% endif %}
{% endblock layout_content %}