{% extends 'base.html.twig' %}
{% block css %}
{{ parent() }}
<style>
iframe img {
max-width: 250px;
max-height: 250px;
}
.slider-halfscreen {
height: 72vh;
}
</style>
{% endblock %}
{% block menu %}
{% include('components/menu.html.twig') with {'transparent' : general.sliderFullscreen }%}
{% endblock %}
{% block content %}
<div id="slider" class="inspiro-slider dots-creative {% if not general.sliderFullscreen %}slider-halfscreen {% else %} slider-fullscreen{% endif %}" data-height-xs="360">
<div class="slide" data-bg-image="{{ get_assets(asset('images/upload/' ~ general.imageAccueil))['3x'] }}" >
<div class="bg-overlay"></div>
<div class="container {{ general.positionSloganAccueil }}">
<div class="center-sm" >
<div class="slide-captions text-light">
<h1 data-animate="fadeInUp" style="font-size: 44px ;color : {{ general.couleurSlogan }} !important" class="slider-text" data-animate-delay="600">{{ general.slogan | raw }}</h1>
{% if general.sousTexteSlogan != null or general.sousTexteSlogan != '' %}<p class="slider-text" style="color : {{ general.couleurSlogan }} !important"> {{ general.sousTexteSlogan }}</p>{% endif %}
</div>
<a href="{{ path('contact') }}" class="btn btn-success" data-animate="fadeInUp" data-animate-delay="600">{{ 'home_slider.button' | admintrans | raw }}</a>
</div>
</div>
</div>
</div>
{% for libelleSection in menuS.compositionAccueil.composition %}
{% include('composantsPages/homeComponents/'~libelleSection~'.html.twig') %}
{#{% include('composantsPages/homeComponents/quiSommesNous.html.twig') %}#}
{# {% include('composantsPages/homeComponents/zoneDintervention.html.twig') %}#}
{# {% include('composantsPages/homeComponents/nosChiffresCles.html.twig') %}#}
{# {% include('composantsPages/homeComponents/nosRealisations.html.twig') %}#}
{# {% include('composantsPages/homeComponents/nosReseauxSociauxLiens.html.twig') %}#}
{# {% include('composantsPages/homeComponents/ilsNousFontConfiance.html.twig') %}#}
{# {% include('composantsPages/homeComponents/nosGaranties.html.twig') %}#}
{# {% include('composantsPages/homeComponents/notreActualite.html.twig') %}#}
{# {% include('composantsPages/homeComponents/nosClientsTemoignent.html.twig') %}#}
{# {% include('composantsPages/homeComponents/nosReseauxSociaux.html.twig') %}#}
{# {% include('composantsPages/homeComponents/nosServices.html.twig') %}#}
{# {% include('composantsPages/homeComponents/nosTarifs.html.twig') %}#}
{# {% include('composantsPages/homeComponents/compteurs.html.twig') %}#}
{# {% include('composantsPages/homeComponents/iconesColorees.html.twig') %}#}
{% endfor %}
{% endblock %}
{% block js %}
{{ parent() }}
{% endblock %}