2020-07-30 12:54:53 +00:00
|
|
|
{% extends "./base.twig" %}
|
2020-08-11 09:38:29 +00:00
|
|
|
{% block title %}Accueil{% endblock %}
|
2020-07-30 12:54:53 +00:00
|
|
|
{% block head %}
|
2020-08-14 11:56:16 +00:00
|
|
|
{% include './home-metas.twig' %}
|
2020-08-30 12:51:05 +00:00
|
|
|
<link rel="stylesheet" href="/static/styles/countdown.css" />
|
2020-07-30 12:54:53 +00:00
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="countdown" id="countdown">
|
|
|
|
<div class="countdown-title-container">
|
|
|
|
<h2 class="countdown-title">Soyez patient...</h2>
|
2020-08-03 16:04:22 +00:00
|
|
|
<h5 class="countdown-subtitle">Le site ouvre le 4 septembre à midi, c'est à dire dans :</h5>
|
2020-07-30 12:54:53 +00:00
|
|
|
</div>
|
|
|
|
<div id="counter" class="counter">
|
|
|
|
<div class="counter-component days">
|
|
|
|
<span id="days"></span>
|
|
|
|
<div class="label">Jours</div>
|
|
|
|
</div>
|
|
|
|
<span class="separator">:</span>
|
|
|
|
<div class="counter-component hours">
|
|
|
|
<span id="hours"></span>
|
|
|
|
<div class="label">Heures</div>
|
|
|
|
</div>
|
|
|
|
<span class="separator">:</span>
|
|
|
|
<div class="counter-component minutes">
|
|
|
|
<span id="minutes"></span>
|
|
|
|
<div class="label">Minutes</div>
|
|
|
|
</div>
|
|
|
|
<span class="separator">:</span>
|
|
|
|
<div class="counter-component seconds">
|
|
|
|
<span id="seconds"></span>
|
|
|
|
<div class="label">Secondes</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
2020-08-11 09:38:29 +00:00
|
|
|
<script>
|
|
|
|
let openDate = new Date(`{{ openDate }}`)
|
|
|
|
</script>
|
2020-08-30 12:51:05 +00:00
|
|
|
<script src="/static/scripts/countdown.js"></script>
|
2020-08-14 09:56:17 +00:00
|
|
|
{% endblock %}
|