{% extends 'base.html.twig' %}
{% block title %} Accueil {% endblock %}
{% block body %}
<!--PRESENTATION-------------------->
<div class="container p-3 mt-5 rounded background-color-1 border">
<div class="row d-flex justify-content-center pt-3 pb-3 align-content-center align-items-center">
{% for article in articlesPresentation %}
{% if article.category == "Présentation" %}
<div class="col-12 col-md-12 col-lg-11 col-xl-6 sm-col-12 text-center">
<img class="img-fluid" src="{{ asset('/media/fullsize/' ~ article.image.file) }}" alt="{{article.image.alt}}">
</div>
<div class="col-12 col-md-12 col-lg-11 col-xl-6 sm-col-12 text-center p-3">
<h1>{{article.title }}</h1>
{{ article.text|raw }}
</div>
{% endif %}
{% endfor %}
</div>
</div>
<!--SERVICES-------------------->
<div id="Services" class="container-fluid justify-content-center mt-5 mb-5 background-color-3">
<div class="row justify-content-center d-flex pt-3">
<div class="col-12 col-md-11">
<div class="row justify-content-center d-flex">
<h2 class="pb-3">Nos Services</h2>
{% for article in articlesPresentation %}
{% if article.category == "Nos Services" %}
<div class="col-12 col-md-6 col-lg-4 text-center p-2">
<img class="img-rounded4 p-2 img-fluid" src="{{ asset('/media/fullsize/' ~ article.image.file) }}" alt="{{article.image.alt}}">
<h3 class="color-1">{{ article.title }}</h3>
<div class="color-1">{{ article.text|raw }}</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>
<!--PROPOSITION-------------------->
<div id="Proposition" class="container-fluid mt-5 mb-5 background-color-5">
<div class="row d-flex justify-content-center">
<div class="col-12 col-md-11 col-xl-10">
<div class="row justify-content-center d-flex">
<h1 class="pb-3">Notre proposition</h1>
{% for article in articlesPresentation %}
{% if article.category == "Notre proposition" %}
<div class="col-12 col-md-12 col-xl-6 align-self-center pt-3">
<div class="row text-center m-1">
<div class="col-12 col-md-4 col-xl-5 align-self-center">
<img class="img-rounded4 p-2 img-fluid" src="{{ asset('/media/fullsize/' ~ article.image.file) }}" alt="{{article.image.alt}}">
</div>
<div class="col-12 col-md-8 col-xl-7">
<h3 class="pt-3">{{ article.title }}</h3>
{{ article.text|raw}}
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>
<div class="container justify-content-center text-center">
<a href="{{path('app_contact')}}" class="btn3">Contactez-nous</a>
</div>
<!--References---------------->
{{ render(controller('App\\Controller\\SlidersController::references')) }}
<!--Tarif---------------->
{#<div class="container justify-content-center">
<div class="row d-flex justify-content-center">
{% for price in prices %}
{% if price.id == '2' %}
{% set color = 'c-primary-col-purple' %}
{% elseif price.id == '3'%}
{% set color = 'c-primary-col-red' %}
{% else %}
{% set color = '' %}
{% endif %}
<div class="col-12 col-md-6 col-lg-4 mt-5 justify-content-center">
<div class="c-price-card {{color}}">
<div class="c-header">
<h1>{{price.title}}</h1>
<div class="priceTag">
à partir de {{ price.price}}
</div>
</div>
<div class="c-body">
<div class="px-3 pt-5">
<h5>{{price.subtitle1}}</h5>
{{price.text1|raw}}
</div>
<div class="px-3">
<h5>{{price.subtitle2}}</h5>
{{price.text2|raw}}
</div>
<div class="p-4 row justify-content-center">
<a href="{{ price.link }}" class="btn3">{{ price.button }}</a>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>#}
{% endblock %}