templates/home/index.html.twig line 1
{% extends 'base.html.twig' %}
{% block title %}
{% if settings[0].siteName != null %}
{{ settings[0].siteName }} : Bienvenue !
{% else %}
Bienvenue !
{% endif %}
{% endblock %}
{% block body %}
{# A propos #}
<div class="container py-5">
<div class="row d-flex justify-content-center">
<div class="col-lg-6 col-sm-12 text-center">
<h2 class="text-uppercase color1 fw-bold">
{{ homepage[0].aproposTitle|raw }}
</h2>
<p class="mt-4">
{{ homepage[0].aproposContent|replace({'<div>': '', '</div>': '',})|raw }}
</p>
<p class="mt-4">
<a href="{{ homepage[0].aproposButtonlink }}" class="button">{{ homepage[0].aproposButtontext }}</a>
</p>
</div>
</div>
<div class="row">
<div class="col">
<img src="{{ asset('assets/img/homepage/' ~ homepage[0].aproposImage) }}" alt="A propos" class="img-fluid d-block mx-auto" style="max-width: 1150px; width: 100%;">
</div>
</div>
</div>
{# Domaines #}
<div class="container-fluid bgHomedomaines">
<div class="container">
<div class="row row-cols-1 row-cols-md-3 g-5 mb-5">
<div class="col">
<div class="card h-100">
<div class="card-body">
<h4 class="card-title text-uppercase fw-bold text-white">{{ homepage[0].domainesTitle|replace({'<div>': '', '</div>': '',})|raw }}</h4>
<p class="card-text">{{ homepage[0].domainesContent|replace({'<div>': '', '</div>': '',})|raw }}</p>
</div>
</div>
</div>
{% for domaine in domaines %}
<div class="col" style="height: 300px;">
<div class="card h-100" style="background-image: linear-gradient(to right bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url({{ asset('assets/img/domaines/' ~ domaine.image) }}); background-position: center; background-repeat: no-repeat; background-size: cover;">
<div class="card-body text-white text-center h5 fw-bold text-uppercase px-5 d-flex align-items-center justify-content-center my-5 flex-column">
<p class="mb-4">{{ domaine.title }}</p>
<p class="my-0">
<a href="{{ domaine.buttonLink }}" class="button">{{ domaine.buttonText }}</a>
</p>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
{# Chiffres clés #}
<div class="container my-5">
<div class="row pt-5 pb-4">
<div class="col">
<h2 class="color1 text-center text-uppercase fw-bold">{{ homepage[0].chiffresClestitle|replace({'<div>': '', '</div>': '',})|raw }}</h2>
</div>
</div>
<div class="row pb-5">
<div class="col-lg-3 col-sm-12 text-center border-end">
<h1 class="fw-bold display-1 color1">{{ homepage[0].chiffresClescab }}</h1>
<span class="text-uppercase">{{ homepage[0].chiffresClescabtitle }}</span>
</div>
<div class="col-lg-3 col-sm-12 text-center border-end">
<h1 class="fw-bold display-1 color1">{{ homepage[0].chiffresClescollab}}</h1>
<span class="text-uppercase">{{ homepage[0].chiffresClescollabtitle }}</span>
</div>
<div class="col-lg-3 col-sm-12 text-center border-end">
<h1 class="fw-bold display-1 color1">{{ homepage[0].chiffresClesmedia }}</h1>
<span class="text-uppercase">{{ homepage[0].chiffresClesmediatitle }}</span>
</div>
<div class="col-lg-3 col-sm-12 text-center">
<h1 class="fw-bold display-1 color1">{{ homepage[0].chiffresClesannees }}</h1>
<span class="text-uppercase">{{ homepage[0].chiffresClesanneestitle }}</span>
</div>
</div>
</div>
{# L'équipe #}
<div class="container my-5">
<div class="row g-5 d-flex align-items-center">
<div class="col-lg-6 col-sm-12">
<img src="{{ asset('assets/img/homepage/' ~ homepage[0].equipeImage ) }}" class="img-fluid" alt="{{ homepage[0].equipeTitle|replace({'<div>': '', '</div>': '',})|raw }}">
</div>
<div class="col-lg-6 col-sm-12">
<h3 class="color1 fw-bold text-uppercase">{{ homepage[0].equipeTitle|replace({'<div>': '', '</div>': '',})|raw }}</h3>
<p class="my-4 small">{{ homepage[0].equipeContent|replace({'<div>': '', '</div>': '',})|raw }}</p>
<a href="{{ homepage[0].equipeButtonlink|raw }}" class="button">{{ homepage[0].equipeButtontext|raw }}</a>
</div>
</div>
</div>
{# Ventes immobilières #}
<div class="container bgcolor-homeventes">
<div class="row d-flex align-items-center justify-content-center">
<div class="col-lg-3 col-sm-12 text-center">
<h4 class="fw-bold text-white text-uppercase">{{ homepage[0].ventesTitle|replace({'<div>': '', '</div>': '',})|raw }}</h4>
<p class="text-xsmall text-white">{{ homepage[0].ventesContent|replace({'<div>': '', '</div>': '',})|raw }}</p>
<a href="{{ homepage[0].ventesButtonlink|raw }}" class="button-ventes mt-4">{{ homepage[0].ventesButtontext|raw }}</a>
</div>
</div>
</div>
{# Honoraires #}
<div class="container my-5">
<div class="row g-5 d-flex align-items-center">
<div class="col-lg-6 col-sm-12 text-end">
{# <img src="{{ asset('assets/img/homepage/' ~ homepage[0].equipeImage ) }}" class="img-fluid" alt="{{ homepage[0].equipeTitle|replace({'<div>': '', '</div>': '',})|raw }}"> #}
<h3 class="color1 fw-bold text-uppercase">{{ homepage[0].honorairesTitle|replace({'<div>': '', '</div>': '',})|raw }}</h3>
<p class="my-4 small">{{ homepage[0].honorairesContent|replace({'<div>': '', '</div>': '',})|raw }}</p>
<a href="{{ homepage[0].honorairesButtonlink|raw }}" class="button">{{ homepage[0].honorairesButtontext|raw }}</a>
</div>
<div class="col-lg-6 col-sm-12">
<img src="{{ asset('assets/img/homepage/' ~ homepage[0].honorairesImage ) }}" class="img-fluid" alt="{{ homepage[0].honorairesTitle|replace({'<div>': '', '</div>': '',})|raw }}">
</div>
</div>
</div>
{% include '_includes/_contactez-nous.html.twig' %}
{% endblock %}