<style>
.countdown {
display: flex;
}
.countdown-item {
text-align: center;
margin-right: 20px;
}
.countdown-item:last-child {
margin-right: 0;
}
</style>
<div class="bg_color_1">
<div class="container margin_80_55">
<div class="main_title_2">
<span><em></em></span>
</div>
<div class="row d-flex">
<div class="col-lg-5 col-12">
<h4 class="section-title">NOUVELLE APPLICATION MOBILE DISPONIBLE</h4>
<span class="h2" style="color: #E6007E; font-weight: 700;">AYILA'A</span>
<h6 class="">{{ 'appMobile.development'|trans([],'mobile_page') }}</h6>
<p>
{{ 'appMobile.dev1'|trans([],'mobile_page') }}
</p>
<p>
{{ 'appMobile.dev3'|trans([],'mobile_page') }}
</p>
<div class="row d-flex">
<div class="col-6 d-flex align-items-center">
<a target="_blank" href="https://play.google.com/store/apps/details?id=com.ayilaacameroun">
<img src="{{ asset('assets/img/fr_badge_web_generic.png') }}" alt="" style="width: 100%;">
</a>
</div>
<div class="col-6 d-flex align-items-center">
<a target="_blank" href="https://apps.apple.com/fr/app/ayilaa-cameroun/id6504582796">
<img src="{{ asset('assets/img/Logo-App-Store.png') }}" alt="" style="width: 100%;">
</a>
</div>
</div>
</div>
<div class="col-lg-7 col-12 mt-5">
{# <img src="{{ asset('assets/img/error-ayila-01.png') }}" alt="" style="width: 100%"/>#}
<iframe width="100%" height="100%" src="https://www.youtube.com/embed/fQThIxcIFFQ?si=Eg0bXBBdbRkuCFME" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>
</div>
<!--/row-->
</div>
<!--/container-->
</div>
<!--/bg_color_1-->
<script>
// Date cible : 25 décembre 2023
const targetDate = new Date('2023-07-01T00:00:00');
function updateCountdown() {
const currentDate = new Date();
const timeDiff = targetDate - currentDate;
// Calcul des jours, heures, minutes et secondes restants
const days = Math.floor(timeDiff / (1000 * 60 * 60 * 24));
const hours = Math.floor((timeDiff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes = Math.floor((timeDiff % (1000 * 60 * 60)) / (1000 * 60));
const seconds = Math.floor((timeDiff % (1000 * 60)) / 1000);
// Mise à jour des éléments HTML avec les valeurs du compte à rebours
document.getElementById('days').textContent = days;
document.getElementById('hours').textContent = hours;
document.getElementById('minutes').textContent = minutes;
document.getElementById('seconds').textContent = seconds;
}
// Mise à jour du compte à rebours chaque seconde
setInterval(updateCountdown, 1000);
</script>