templates/pages/page.avocat-details.html.twig line 1

  1. {% extends 'base.html.twig' %}
  2. {% block title %}{{ settings[0].siteName }} : {{ page.name }}{% endblock %}
  3. {% block body %}
  4.     {% include '_includes/_breadcrumbs-avocat.html.twig' %}
  5.     <div class="container pt-5">
  6.         <div class="row d-flex justify-content-center mb-4">
  7.             <div class="col-lg-6 col-sm-12 text-center">
  8.                 <h4 class="text-uppercase fw-bold color1">{{ page.title|raw }}</h4>
  9.                 </p>
  10.             </div>
  11.         </div>
  12.     </div>
  13.     <div class="container mb-4">
  14.         <div class="row g-5">
  15.             <div class="col-lg-3 col-sm-12">
  16.                 <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;">
  17.                 <div class="bgcolor-1 text-center d-flex flex-column justify-content-center align-items-center" style="height: 200px;">
  18.                     <h5 class="text-white fw-bold text-uppercase">Contact</h5>
  19.                     <div class="color3">
  20.                         <span class="text-xsmall">Tél. : {{ avocat.telephone }}</span>
  21.                         <br>
  22.                         <span class="text-xsmall">Fax : {{ avocat.fax }}</span>
  23.                         <p class="mt-3">
  24.                             <a href="#" class="button-avocat">
  25.                                 <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%;">
  26.                                 Prendre RDV<br>en ligne
  27.                             </a>
  28.                         </p>
  29.                     </div>
  30.                 </div>
  31.             </div>
  32.             <div class="col-lg-9 col-sm-12 py-3 px-5 small">
  33.                 <h5 class="color1 text-uppercase fw-bold">Maître {{ avocat.prenom }} {{ avocat.nom }}</h5>
  34.                 <div class="mt-4">
  35.                     <span class="color1 fw-bold">Parcours</span><br>
  36.                     <div class="color2">{{ avocat.parcours|replace({'<div>': '', '</div>': '',})|raw }}</div>
  37.                 </div>
  38.                 {% if avocat.specialisation != null %}
  39.                     <div class="mt-4">
  40.                         <span class="color1 fw-bold">Spécialisation</span><br>
  41.                         <div class="color2">{{ avocat.specialisation|replace({'<div>': '', '</div>': '',})|raw }}</div>
  42.                     </div>
  43.                 {% endif %}
  44.                 <div class="mt-4">
  45.                     <span class="color1 fw-bold">Compétences</span><br>
  46.                     <div class="color2">{{ avocat.competences|replace({'<div>': '', '</div>': '',})|raw }}</div>
  47.                 </div>
  48.                 {% if avocat.note != null %}
  49.                     <div class="mt-4">
  50.                         <span class="color1 fw-bold">A noter</span><br>
  51.                         <div class="color2">{{ avocat.note|replace({'<div>': '', '</div>': '',})|raw }}</div>
  52.                     </div>
  53.                 {% endif %}
  54.             </div>
  55.         </div>
  56.     </div>
  57.     <div class="container-fluid bgcolor-2 bg-avocats"></div>
  58.     <div class="container bgavocats-container">
  59.         <div class="row row-cols-1 row-cols-md-3 g-5 d-flex justify-content-center mb-5 pb-4">
  60.             {% for d in avocat.domaine %}
  61.                 <div class="col-lg-3 col-sm-12 avocats" style="height: 250px;">
  62.                     <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;">
  63.                         <div class="card-body px-5 d-flex align-items-center justify-content-center my-5 flex-column">
  64.                             <p class="mb-4 text-title text-white fw-bold text-center text-uppercase">{{ d.title }}</p>
  65.                             <p class="my-0">
  66.                                 <a href="{{ d.buttonLink }}" class="button">{{ d.buttonText }}</a>
  67.                             </p>
  68.                         </div>
  69.                     </div>
  70.                 </div>
  71.             {% endfor %}
  72.         </div>
  73.     </div>
  74. {% endblock %}