templates/accueil/fr/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Accueil{% endblock %}
  3. {% block body %}
  4.     <div style="background-image: url('{{ asset('uploads/images/'~ images['image-haut'].url) }}'); width: 100%; min-height: 600px; background-position: center; position: relative; background-repeat: no-repeat;background-size: cover"
  5.          class="primary">
  6.         <div class="fs-1 fw-semibold  position-absolute top-50  start-50 translate-middle  text-white"
  7.              style="height: 10vh">
  8.             « PLACE AUX JEUNES ! »
  9.         </div>
  10.         <a href="#section1">
  11.             <button type="button"
  12.                     class="btn btn-primary fw-semibold p-3 mx-auto position-absolute top-75 start-50 translate-middle">
  13.                 Découvrir
  14.             </button>
  15.         </a>
  16.     </div>
  17.     <div class=" w-100 pb-5" style="min-height: 100vh" id="section1">
  18.         <div class="container-fluid" style="min-height: 80vh">
  19.             <div class="row align-items-center d-flex">
  20.                 <div class="col-md-6 col-sm-12 p-md-5 p-2  my-5 ">
  21.                     <div class="px-2 px-md-5 justify-content-evenly" style="text-align: justify">
  22.                         <span class="fw-bold fs-3" style="color: #6E8BC4">Nos objectifs</span> <br>
  23.                         {% if texts is not empty and texts['text-1'].content is not empty %}
  24.                             {{ texts['text-1'].content|raw }}
  25.                         {% endif %}
  26.                     </div>
  27.                 </div>
  28.                 <div class="col col-md-6 col-sm-12 my-5 ">
  29.                     <div class="videoWrapper mx-auto w-100 w-md-75 my-5">
  30.                         <iframe src="https://www.youtube.com/embed/MbRe7Kl1yng" title="YouTube video player"
  31.                                 frameborder="0"
  32.                                 allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
  33.                                 allowfullscreen></iframe>
  34.                     </div>
  35.                 </div>
  36.             </div>
  37.         </div>
  38.         <div class="container-fluid text-center" style="min-height: 10vh">
  39.             <a href="#section2">
  40.                 <button type="button" class="btn btn-primary fw-semibold p-3">
  41.                     Continuer
  42.                 </button>
  43.             </a>
  44.         </div>
  45.     </div>
  46.     <div class=" w-100 " style="min-height: 100vh" id="section2">
  47.         <div class="w-100 text-center fs-1 fw-semibold pt-5" style="min-height: 10vh">
  48.             CE QUE L'ON FAIT
  49.         </div>
  50.         <div class="container-fluid " style="min-height: 80vh">
  51.             <div class="row">
  52.                 <div class="col-md-6 col-sm-12 p-md-5 p-sm-4 text-left py-5 ">
  53.                     <div class="p-md-5 p-xs-2" style="text-align: justify">
  54.                         <span class="fw-bold fs-3" style="color: #6E8BC4">Nos objectifs</span> <br>
  55.                         {% if texts is not empty and texts['text-2'].content is not empty %}
  56.                             {{ texts['text-2'].content|raw }}
  57.                         {% endif %}
  58.                     </div>
  59.                 </div>
  60.                 <div class="col-md-6 col-sm-12 p-md-5 p-sm-4 text-left py-5  ">
  61.                     <div class="p-md-5 p-xs-2" style="text-align: justify">
  62.                         <span class="fw-bold fs-3" style="color: #6E8BC4">Nos actions</span> <br>
  63.                         {% if texts is not empty and texts['text-3'].content is not empty %}
  64.                             {{ texts['text-3'].content|raw }}
  65.                         {% endif %}
  66.                     </div>
  67.                 </div>
  68.                 <div class="col-md-6 col-sm-12 my-5 mx-auto">
  69.                     <img src="{{ asset('uploads/images/'~ images['image-centre'].url) }}" alt="" class="w-100 w-md-75 mx-auto d-block">
  70.                 </div>
  71.             </div>
  72.         </div>
  73.     </div>
  74.     <div class="w-100 text-center fs-1 fw-semibold px-md-5 px-sm-2 py-5">
  75.         LES MEMBRES DU CONSORTIUM
  76.     </div>
  77.     {{ include('/_includes/consortium_paj.html.twig') }}
  78. {% endblock %}