templates/front/welcome.html.twig line 1

Open in your IDE?
  1. {% extends "front/base-half.html.twig" %}
  2. {% block title %}
  3.     Homepage
  4. {% endblock %}
  5. {% block body %}
  6.     <section class="welcome-section">
  7.         <div class="container">
  8.             <div class="row content-row">
  9.                 <div class="hero-col">
  10.                     <div class="hero-wrap">
  11.                         <img src="/images/content/welcome-hero.png" alt="Politicly">
  12.                     </div>
  13.                     <div class="about-wrap accordion" id="aboutAccordion">
  14.                         <div class="about-card">
  15.                             <h2 class="title collapsed" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
  16.                                 Qui sommes-nous ?
  17.                             </h2>
  18.                             <div id="collapseOne" class="collapse" data-parent="#aboutAccordion">
  19.                                 <p class="text">
  20.                                     Some placeholder content for the first accordion panel. This panel is shown by default, thanks to the
  21.                                 </p>
  22.                             </div>
  23.                         </div>
  24.                         <div class="about-card">
  25.                             <h2 class="title collapsed" type="button" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
  26.                                 Pourquoi Politicly ?
  27.                             </h2>
  28.                             <div id="collapseTwo" class="collapse" data-parent="#aboutAccordion">
  29.                                 <p class="text">
  30.                                     Some placeholder content for the first accordion panel. This panel is shown by default, thanks to the
  31.                                 </p>
  32.                             </div>
  33.                         </div>
  34.                         <div class="about-card">
  35.                             <h2 class="title collapsed" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
  36.                                 Pourquoi Politicly ?
  37.                             </h2>
  38.                             <div id="collapseThree" class="collapse" data-parent="#aboutAccordion">
  39.                                 <p class="text">
  40.                                     Some placeholder content for the first accordion panel. This panel is shown by default, thanks to the
  41.                                 </p>
  42.                             </div>
  43.                         </div>
  44.                     </div>
  45.                 </div>
  46.                 <div class="registration-col">
  47.                     <div class="container-registration">
  48.                         <h3>Inscrivez-vous</h3>
  49.                         {{ form_start(form) }}
  50.                             <div class="grid">
  51.                                 {{ form_row(form.firstname) }}
  52.                                 {{ form_row(form.lastname) }}
  53.                             </div>
  54.                             <div class="grid">
  55.                                 {{ form_row(form.birthDate) }}
  56.                                 {{ form_row(form.genre) }}
  57.                             </div>
  58.                             {{ form_row(form.email) }}
  59.                             <div class="grid align-items-end">
  60.                                 {{ form_row(form.password.first) }}
  61.                                 {{ form_row(form.password.second) }}
  62.                             </div>
  63.                             {{ form_row(form.phone) }}
  64.                             <div class="wrap-submit-btn">
  65.                                 <button id="submit-btn" type="submit" class="btn main-btn-outline">Suivant</button>
  66.                             </div>
  67.                         {{ form_end(form) }}
  68.                         <p class="legal-info">En cliquant sur Suivant, vous acceptez les <span>Conditions d’utilisation</span>, la <span>Politique de confidentialitĂ©</span> et la <span>Politique relative aux cookies</span> de Politicly.</p>
  69.                     </div>
  70.                 </div>
  71.             </div>
  72.         </div>
  73.     </section>
  74. {% endblock %}
  75. {% block javascripts %}
  76.     <script>
  77.         $(".title").on("click", function() {
  78.             $(".title").removeClass("open");
  79.             if ($(this).hasClass("collapsed"))
  80.             {
  81.                 $(this).addClass("open");
  82.             }
  83.         });
  84.     </script>
  85. {% endblock %}