templates/default/contact.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Contact â€” Otropik{% endblock %}
  3. {% block body %}
  4. {# --- Hero Banner --- #}
  5. <section class="position-relative text-white">
  6.   <div class="ratio ratio-21x9">
  7.     <img src="{{ asset('img/cta-tourist.jpg')}}" alt="Plage paradisiaque" class="w-100 h-100 object-fit-cover">
  8.   </div>
  9.   <div class="position-absolute top-0 start-0 w-100 h-100 d-flex align-items-center justify-content-center text-center bg-dark bg-opacity-50">
  10.     <div class="p-3">
  11.       <h1 class="display-4 fw-bold mb-3">Restons en contact đźŚ´</h1>
  12.       <p class="lead">Une question, une envie d’évasion ou besoin d’un devis sur mesure ?  
  13.         L’équipe <span class="fw-bold text-warning">Otropik</span> est Ă  votre Ă©coute.</p>
  14.     </div>
  15.   </div>
  16. </section>
  17. {# --- Section principale --- #}
  18. <section class="container py-5">
  19.   <div class="row g-5">
  20.     {# Infos de contact #}
  21.     <div class="col-12 col-lg-5">
  22.       <h2 class="h4 fw-bold mb-4">Nos coordonnĂ©es</h2>
  23.       <p class="text-muted mb-4">
  24.         Passez nous voir, appelez-nous ou envoyez un message : nous rĂ©pondons rapidement.
  25.       </p>
  26.       <ul class="list-unstyled">
  27.         <li class="mb-3 d-flex align-items-start">
  28.           <i class="bi bi-geo-alt txt-ot-green fs-4 me-3"></i>
  29.           <div>
  30.             <strong>Adresse</strong><br>
  31.             CENTRE SHOPPING CENTER, RAIZET <br> 97139 LES ABYMES 
  32.           </div>
  33.         </li>
  34.         <li class="mb-3 d-flex align-items-start">
  35.           <i class="bi bi-telephone txt-ot-green fs-4 me-3"></i>
  36.           <div>
  37.             <strong>TĂ©lĂ©phone</strong><br>
  38.             Bureau : <a class="link-info" href="tel:+590590505134">0590 50 51 34</a><br>Mobile : <a class="link-info" href="tel:+590690357030">0690 35 70 30</a>
  39.           </div>
  40.         </li>
  41.         <li class="mb-3 d-flex align-items-start">
  42.           <i class="bi bi-envelope txt-ot-green fs-4 me-3"></i>
  43.           <div>
  44.             <strong>Email</strong><br>
  45.             <a class="link-info" href="mailto:o_tropik@hotmail.com">o_tropik@hotmail.com</a>
  46.           </div>
  47.         </li>
  48.       </ul>
  49.       <div class="ratio ratio-4x3 rounded-4 overflow-hidden shadow-sm mt-4">
  50.         <iframe src="https://www.google.com/maps/embed?pb=!1m18!..." 
  51.                 style="border:0;" allowfullscreen loading="lazy"></iframe>
  52.       </div>
  53.     </div>
  54.     {# Formulaire de contact #}
  55.     <div class="col-12 col-lg-7">
  56.       <div class="card border-0 shadow-lg rounded-4">
  57.         <div class="card-body p-4">
  58.           <h2 class="h5 fw-bold mb-4">Envoyez-nous un message</h2>
  59.           <form method="post" action="{#{ path('contact.send') }#}">
  60.             <div class="row g-3">
  61.               <div class="col-md-6">
  62.                 <label class="form-label">Nom</label>
  63.                 <input type="text" name="name" class="form-control rounded-pill" placeholder="Votre nom complet" required>
  64.               </div>
  65.               <div class="col-md-6">
  66.                 <label class="form-label">Email</label>
  67.                 <input type="email" name="email" class="form-control rounded-pill" placeholder="vous@email.com" required>
  68.               </div>
  69.               <div class="col-md-6">
  70.                 <label class="form-label">TĂ©lĂ©phone</label>
  71.                 <input type="tel" name="phone" class="form-control rounded-pill" placeholder="+590 ..." >
  72.               </div>
  73.               <div class="col-md-6">
  74.                 <label class="form-label">Sujet</label>
  75.                 <input type="text" name="subject" class="form-control rounded-pill" placeholder="Ex: Demande de devis">
  76.               </div>
  77.               <div class="col-12">
  78.                 <label class="form-label">Message</label>
  79.                 <textarea name="message" rows="5" class="form-control rounded-4" placeholder="Votre message..." required></textarea>
  80.               </div>
  81.             </div>
  82.             <div class="text-end mt-4">
  83.               <button type="submit" class="btn btn-primary rounded-pill px-4">
  84.                 <i class="bi bi-send me-1"></i> Envoyer
  85.               </button>
  86.             </div>
  87.           </form>
  88.         </div>
  89.       </div>
  90.     </div>
  91.   </div>
  92. </section>
  93. {% endblock %}