templates/home/index.html.twig line 1
{% extends 'base.html.twig' %}{% block title %}+227 20 73 34 70{% endblock %}{% block body %}{% for flashMessage in app.session.flashbag.get('souscription') %}<div class="alert alert-success">{{ flashMessage }}</div>{% endfor %}{% for flashMessage in app.session.flashbag.get('sinistre') %}<div class="alert alert-success">{{ flashMessage }}</div>{% endfor %}{% for flashMessage in app.session.flashbag.get('plainte') %}<div class="alert alert-success">{{ flashMessage }}</div>{% endfor %}{% for message in app.flashes('success') %}<script>window.onload = function () {Swal.fire({text:"{{message}}",icon:"success",buttonsStyling:false,confirmButtonText:"Ok",customClass:{confirmButton:"btn btn-success"}});};</script>{% endfor %}{% for message in app.flashes('error') %}<script>window.onload = function () {Swal.fire({text:"{{message}}",icon:"error",buttonsStyling:false,confirmButtonText:"Ok",customClass:{confirmButton:"btn btn-success"}});};</script>{% endfor %}<style>.custom-img {width: 100%; /* Remplir toute la largeur disponible */height: 50vh; /* Remplir la moitié de la hauteur de la fenêtre du navigateur */object-fit: cover; /* L'image couvre la zone sans déformation */}</style><!-- Carousel Start --><div class="container-fluid p-0 mb-5 wow fadeIn" data-wow-delay="0.1s"><div id="header-carousel" class="carousel slide" data-bs-ride="carousel"><div class="carousel-inner"><div class="carousel-item active">{# <img class="h-50 w-80" src="{{asset('assets/img/IMAGE4.jpg')}}" alt="Image" /> #}<img class="custom-img" src="{{asset('assets/img/IMAGE4.jpg')}}" alt="Image" /><div class="absolute-div"><div class="carousel-caption"><!-- Service Start --><div class="container-xl py-5 mb-5"><div class="container"><div class="text-center mx-auto" style="max-width: 500px;"><h1 class="display-5 mb-4 d-none d-md-block">Nos assurances</h1></div><div class="row g-4 justify-content-center "><div class="row"><div class="col-sm-4 rounded d-none d-md-block"><a href="{{path('app_souscription_auto')}}"><div class="card mt-5"><div class="card-body"><h5 class="card-title text-center"><i class="fa fa-car-side" style="font-size: 2rem; color: #2a1266;"></i></h5><h5 class="mt-4 text-center">Assurance </br> Automobile</h4></div></div></a><div class="text-center mt-3"><a href="https://www.caren-niger.com/index.php/particuliers/assurance-automobile" target="_blank"><i class="bi bi-question-circle-fill" style="font-size: 1.5rem; color: white;"></i></a></div></div><div class="col-sm-6 rounded d-sm-block d-md-none d-lg-none" style="margin-bottom: -5px; width: 50%; height: 25%;"><a href="{{path('app_souscription_auto')}}"><div class="card mt-3"><div class="card-body"><h5 class="card-title text-center"><i class="fa fa-car-side" style="font-size: 2rem; color: #2a1266;"></i></h5><h5 class="mt-4 text-center" style="font-size: 1rem;">Assurance </br> Automobile</h4></div></div></a><div class="text-center mt-3"><a href="https://www.caren-niger.com/index.php/particuliers/assurance-automobile" target="_blank"><i class="bi bi-question-circle-fill" style="font-size: 1.5rem; color: white;"></i></a></div></div><div class="col-sm-4 rounded d-none d-md-block"><a href="{{path('app_souscription_Voyage')}}"><div class="card mt-5"><div class="card-body"><h5 class="card-title text-center"><i class="fa fa-plane-departure" style="font-size: 2rem; color: #2a1266;"></i></h5><h5 class="mt-4 text-center">Assurance </br> voyage</h4></div></div></a><div class="text-center mt-3"><a href="https://www.caren-niger.com/index.php/particuliers/assurance-voyage" target="_blank"><i class="bi bi-question-circle-fill" style="font-size: 1.5rem; color: white;"></i></a></div></div><div class="col-sm-6 rounded d-sm-block d-md-none d-lg-none" style="margin-bottom: -5px; width: 50%; height: 25%;"><a href="{{path('app_souscription_Voyage')}}"><div class="card mt-3"><div class="card-body"><h5 class="card-title text-center"><i class="fa fa-plane-departure" style="font-size: 2rem; color: #2a1266;"></i></h5><h5 class="mt-4 text-center" style="font-size: 1rem;">Assurance </br> voyage</h4></div></div></a><div class="text-center mt-3"><a href="https://www.caren-niger.com/index.php/particuliers/assurance-voyage" target="_blank"><i class="bi bi-question-circle-fill" style="font-size: 1.5rem; color: white;"></i></a></div></div><div class="col-sm-4 rounded d-none d-md-block"><a href="{{path('app_souscription_Habitation')}}"><div class="card mt-5"><div class="card-body"><h5 class="card-title text-center"><i class="fa fa-home" style="font-size: 2rem; color: #2a1266;"></i></h5><h5 class="mt-4 text-center">Assurance </br> habitation</h4></div></div></a><div class="text-center mt-3"><a href="https://www.caren-niger.com/index.php/particuliers/assurance-habitation" target="_blank"><i class="bi bi-question-circle-fill" style="font-size: 1.5rem; color: white;"></i></a></div></div><div class="col-3 rounded d-sm-block d-md-none d-lg-none"></div><div class="col-sm-6 rounded d-sm-block d-md-none d-lg-none" style="margin-bottom: -50px; width: 50%; height: 25%;"><a href="{{path('app_souscription_Habitation')}}"><div class="card mt-3"><div class="card-body"><h5 class="card-title text-center"><i class="fa fa-home" style="font-size: 2rem; color: #2a1266;"></i></h5><h5 class="mt-4 text-center" style="font-size: 1rem;" >Assurance </br> habitation</h4></div></div></a><div class="text-center mt-3"><a href="https://www.caren-niger.com/index.php/particuliers/assurance-habitation" target="_blank"><i class="bi bi-question-circle-fill" style="font-size: 1.5rem; color: white;"></i></a></div></div><div class="col-3 rounded d-sm-block d-md-none d-lg-none"></div></div></div></div></div><!-- Service End --></div></div></div></div></div></div><!-- Carousel End --><!-- About Start --><div class="container-xxl py-2"><div class="container"><div class="row g-5"><div class="col-lg-6 wow fadeInUp d-none d-md-block" data-wow-delay="0.1s"><divclass="position-relative overflow-hidden rounded ps-5 pt-3 h-100"style="min-height: 500px"><imgclass="position-absolute"src="{{asset('assets/img/mobile.jpeg')}}"alt=""style="margin-left: 22%; height:470px;"/><div class="position-absolute top-0 start-0 bg-white rounded pe-3 pb-3" style="width: 200px; height: 200px"><div class="d-flex flex-column justify-content-center text-center bg-primary rounded h-100 p-3"><h3 class="text-white">{{ experienceYears }}</h3><h4 class="text-white">années</h4><h5 class="text-white">D'expérience</h5></div></div></div></div><div class="col-lg-6 wow fadeInUp d-sm-block d-md-none d-lg-none" data-wow-delay="0.1s"><div class="position-relative overflow-hidden rounded ps-5 pt-3 h-100" style="min-height: 500px"><img class="position-absolute" src="{{ asset('assets/img/mobile.jpeg') }}" alt="" style="margin-left: 10%; height:470px; width:310px;" /><div class="position-absolute top-0 start-0 bg-white rounded pe-3 pb-3" style="width: 158px; height: 140px"><div class="d-flex flex-column justify-content-center text-center bg-primary rounded h-100 p-2"><h3 class="text-white">{{ experienceYears }}</h3><h4 class="text-white">années</h4><h5 class="text-white">D'expérience</h5></div></div></div></div><div class="col-sm-12 col-lg-6 wow fadeInUp" data-wow-delay="0.5s"><div class="h-100"><h1 class="display-6 mb-5">L'application mobile CAREN ASSURANCES</h1><p class="fs-5 mb-4">Téléchargez notre application mobile pour souscrire à nos assurances facilement, gérer vos contrats et bien plus encore. Disponible sur Google Play et l'App Store.</p><div class="row g-4 mb-4"><div class="col-sm-4 border rounded"><a href="https://play.google.com/store/apps/details?id=com.app.carenmobile" target="_blank" class="d-block"><div class="d-flex align-items-center"><svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" fill="currentColor" class="bi bi-google-play mt-2 mb-2" viewBox="0 0 16 16" style="color: #2a1266;"><path d="M14.222 9.374c1.037-.61 1.037-2.137 0-2.748L11.528 5.04 8.32 8l3.207 2.96 2.694-1.586Zm-3.595 2.116L7.583 8.68 1.03 14.73c.201 1.029 1.36 1.61 2.303 1.055l7.294-4.295ZM1 13.396V2.603L6.846 8 1 13.396ZM1.03 1.27l6.553 6.05 3.044-2.81L3.333.215C2.39-.341 1.231.24 1.03 1.27Z"/></svg><h6 class="mb-0">Google Play</h6></div></a></div><div class="col-sm-2"><!-- Spacer --></div><div class="col-sm-4 border rounded"><a href="javascript:void(0);" onclick="showAppStoreAlert();" class="d-block"><div class="d-flex align-items-center"><svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" fill="currentColor" class="bi bi-apple mt-2 mb-2" viewBox="0 0 16 16" style="color: #2a1266;"><path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/></svg><h6 class="mb-0">App Store</h6></div></a></div></div><p class="mb-4 fs-5">Découvrez une expérience utilisateur optimale pour la gestion de vos assurances, le tout directement depuis votre smartphone.</p></div></div></div></div></div><!-- About End --><script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script><script>function showAppStoreAlert() {Swal.fire({title: 'Bientôt disponible!',text: 'L\'application sera bientôt disponible sur l\'App Store.',icon: 'info',confirmButtonText: 'D\'accord',confirmButtonColor: '#2a1266'});}</script>{% endblock %}