templates/pages/page.avocat-details.html.twig line 1
{% extends 'base.html.twig' %}
{% block title %}{{ settings[0].siteName }} : {{ page.name }}{% endblock %}
{% block body %}
{% include '_includes/_breadcrumbs-avocat.html.twig' %}
<div class="container pt-5">
<div class="row d-flex justify-content-center mb-4">
<div class="col-lg-6 col-sm-12 text-center">
<h4 class="text-uppercase fw-bold color1">{{ page.title|raw }}</h4>
</p>
</div>
</div>
</div>
<div class="container mb-4">
<div class="row g-5">
<div class="col-lg-3 col-sm-12">
<img src="{{ asset('assets/img/avocats/' ~ avocat.image ) }}" alt="{{ avocat.prenom }} {{ avocat.nom }}" class="img-fluid d-block mx-auto" style="max-width: 650px; width: 100%; object-fit: cover;">
<div class="bgcolor-1 text-center d-flex flex-column justify-content-center align-items-center" style="height: 200px;">
<h5 class="text-white fw-bold text-uppercase">Contact</h5>
<div class="color3">
<span class="text-xsmall">Tél. : {{ avocat.telephone }}</span>
<br>
<span class="text-xsmall">Fax : {{ avocat.fax }}</span>
<p class="mt-3">
<a href="#" class="button-avocat">
<img src="https://rdv.meetlaw.fr/new-logo-meetlaw.png" alt="Meet Law" class="img-fluid ps-1 pe-3 me-2 border-end float-start" style="max-width: 70px; width: 100%;">
Prendre RDV<br>en ligne
</a>
</p>
</div>
</div>
</div>
<div class="col-lg-9 col-sm-12 py-3 px-5 small">
<h5 class="color1 text-uppercase fw-bold">Maître {{ avocat.prenom }} {{ avocat.nom }}</h5>
<div class="mt-4">
<span class="color1 fw-bold">Parcours</span><br>
<div class="color2">{{ avocat.parcours|replace({'<div>': '', '</div>': '',})|raw }}</div>
</div>
{% if avocat.specialisation != null %}
<div class="mt-4">
<span class="color1 fw-bold">Spécialisation</span><br>
<div class="color2">{{ avocat.specialisation|replace({'<div>': '', '</div>': '',})|raw }}</div>
</div>
{% endif %}
<div class="mt-4">
<span class="color1 fw-bold">Compétences</span><br>
<div class="color2">{{ avocat.competences|replace({'<div>': '', '</div>': '',})|raw }}</div>
</div>
{% if avocat.note != null %}
<div class="mt-4">
<span class="color1 fw-bold">A noter</span><br>
<div class="color2">{{ avocat.note|replace({'<div>': '', '</div>': '',})|raw }}</div>
</div>
{% endif %}
</div>
</div>
</div>
<div class="container-fluid bgcolor-2 bg-avocats"></div>
<div class="container bgavocats-container">
<div class="row row-cols-1 row-cols-md-3 g-5 d-flex justify-content-center mb-5 pb-4">
{% for d in avocat.domaine %}
<div class="col-lg-3 col-sm-12 avocats" style="height: 250px;">
<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/' ~ d.image) }}); background-position: center; background-repeat: no-repeat; background-size: cover;">
<div class="card-body px-5 d-flex align-items-center justify-content-center my-5 flex-column">
<p class="mb-4 text-title text-white fw-bold text-center text-uppercase">{{ d.title }}</p>
<p class="my-0">
<a href="{{ d.buttonLink }}" class="button">{{ d.buttonText }}</a>
</p>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endblock %}