templates/front/page/home/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base-front.html.twig' %}
  2. {% block title %}Accueil{% endblock %}
  3. {% block inner_body %}
  4.     <section class="container-fluid">
  5.         <div class="row header">
  6.             <div class="overlay-black d-flex justify-content-center">
  7.                 <div class="col-12 col-md-12 col-lg-8 d-flex flex-column justify-content-center align-items-center col-header">
  8.                     <h1 class="text-white text-center mb-4 h1-header">Course d'obstacles autour du château</h1>
  9.                     <h3 class="text-white mb-5 ">Dimanche 1er octobre</h3>
  10.                     <p class="text-white mb-5 content-header " >Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
  11.                     <a class="btn btn-primary text-uppercase mb-5 mb-md-3 mb-lg-4 mb-xl-5 btn-header " href="{{ path('event_show', {'slug' : last_event.slug}) }}"  role="button">découvrir</a>
  12.                     <div class="">
  13.                         <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
  14.                             <path d="M19.5 30.9715L20.3608 30.1107L34.9858 15.4857L35.8465 14.625L34.125 12.9035L33.2643 13.7642L19.5 27.5285L5.73579 13.7642L4.87505 12.9035L3.15356 14.625L4.01431 15.4857L18.6393 30.1107L19.5 30.9715Z" fill="#E9DDC8"/>
  15.                             <circle cx="20" cy="15" r="2" fill="#E9DDC8"/>
  16.                         </svg>
  17.                     </div>
  18.                 </div>
  19.             </div>
  20.         </div>     
  21.     </section>
  22.     <section>
  23.         <div class="container mt-5">
  24.             <div class="row">
  25.                 <div class="col-12 col-lg-5 position-relative img-home-color">
  26.                     <img src="{{ asset('assets/images/arrivee.png') }}" style="width: 100%; height: 100%; object-fit: cover;" class="" alt="">
  27.                     <div class="position-absolute top-100 start-50 translate-middle">
  28.                         <img src="{{ asset('assets/images/logo-rond.png') }}" alt="">
  29.                     </div>                
  30.                 </div>                
  31.                 <div class="col-12 col-lg-7 mt-5 mt-lg-1 px-lg-5 py-1">
  32.                     <h2 class="py-3">
  33.                         <span class="underline">Titre de niveau H2 qui va ici</span> </h2>
  34.                     <p> Lorem ipsum dolor sit amet consectetur. Faucibus mauris a integer facilisis gravida. Sed tellus vulputate mi ultrices mauris hac. 
  35.                         Ac in morbi nisl scelerisque sollicitudin accumsan nibh. In morbi sociis viverra aliquam. Nisl dictum sed purus eget. Sed nisl donec vitae nulla hendrerit. </p>
  36.                     <p>Tortor bibendum interdum tempor feugiat adipiscing libero sit. At fringilla lectus facilisis tortor pretium interdum tellus amet.</p>
  37.                     <div class="d-flex justify-content-center">                    
  38.                         <a class="btn btn-primary text-uppercase mt-4" href=""  role="button">S'inscrire</a>     
  39.                     </div>
  40.                 </div>
  41.             </div>
  42.         </div>        
  43.     </section>
  44.     <section>
  45.         <div class="container">
  46.             <div class="row d-flex justify-content-center pt-5">
  47.                 <h2 class="text-uppercase text-center mb-5">
  48.                     <span class="underline">Nous contacter</span> 
  49.                 </h2>
  50.                 <div class="col-lg-8 col-12 mb-3">
  51.                     {% for message in app.flashes %}
  52.                         <div class="alert alert-success  rounded-0 " role="alert">
  53.                             {{ message[0] }}
  54.                         </div>                
  55.                     {% endfor %}
  56.                 </div>
  57.             </div>
  58.             {{ form_start(form) }}
  59.             <div class="row d-flex justify-content-center">
  60.                 <div class="col-12 col-md-8 col-lg-4 mb-3">
  61.                     {{ form_widget(form.name) }}
  62.                 </div>
  63.                 <div class="col-12 col-md-4 col-lg-4 mb-3">
  64.                     {{ form_widget(form.telephone) }}
  65.                 </div>
  66.                 <div class="col-12 col-md-12 col-lg-8 mb-3">
  67.                     {{ form_widget(form.email) }}
  68.                 </div>
  69.                 <div class="col-12 col-md-12 col-lg-8 mb-3">
  70.                     {{ form_widget(form.message) }}
  71.                 </div>
  72.                 <div class="d-flex justify-content-center mt-1 mb-5">
  73.                     <button class="btn btn-primary text-uppercase mt-4 mb-4" href=""  role="button">Envoyer</button>     
  74.                 </div>
  75.             </div>
  76.             {{ form_end(form) }}
  77.         </div>        
  78.     </section>
  79. {% endblock %}