{% extends "front/base-half.html.twig" %}
{% block title %}
Homepage
{% endblock %}
{% block body %}
<section class="welcome-section">
<div class="container">
<div class="row content-row">
<div class="hero-col">
<div class="hero-wrap">
<img src="/images/content/welcome-hero.png" alt="Politicly">
</div>
<div class="about-wrap accordion" id="aboutAccordion">
<div class="about-card">
<h2 class="title collapsed" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
Qui sommes-nous ?
</h2>
<div id="collapseOne" class="collapse" data-parent="#aboutAccordion">
<p class="text">
Some placeholder content for the first accordion panel. This panel is shown by default, thanks to the
</p>
</div>
</div>
<div class="about-card">
<h2 class="title collapsed" type="button" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Pourquoi Politicly ?
</h2>
<div id="collapseTwo" class="collapse" data-parent="#aboutAccordion">
<p class="text">
Some placeholder content for the first accordion panel. This panel is shown by default, thanks to the
</p>
</div>
</div>
<div class="about-card">
<h2 class="title collapsed" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
Pourquoi Politicly ?
</h2>
<div id="collapseThree" class="collapse" data-parent="#aboutAccordion">
<p class="text">
Some placeholder content for the first accordion panel. This panel is shown by default, thanks to the
</p>
</div>
</div>
</div>
</div>
<div class="registration-col">
<div class="container-registration">
<h3>Inscrivez-vous</h3>
{{ form_start(form) }}
<div class="grid">
{{ form_row(form.firstname) }}
{{ form_row(form.lastname) }}
</div>
<div class="grid">
{{ form_row(form.birthDate) }}
{{ form_row(form.genre) }}
</div>
{{ form_row(form.email) }}
<div class="grid align-items-end">
{{ form_row(form.password.first) }}
{{ form_row(form.password.second) }}
</div>
{{ form_row(form.phone) }}
<div class="wrap-submit-btn">
<button id="submit-btn" type="submit" class="btn main-btn-outline">Suivant</button>
</div>
{{ form_end(form) }}
<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>
</div>
</div>
</div>
</div>
</section>
{% endblock %}
{% block javascripts %}
<script>
$(".title").on("click", function() {
$(".title").removeClass("open");
if ($(this).hasClass("collapsed"))
{
$(this).addClass("open");
}
});
</script>
{% endblock %}