templates/default/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Accueil - PaySolution{% endblock %}
  3. {% block body %}
  4.     <!-- Hero Section -->
  5.     <div class="relative bg-gradient-to-br from-primary via-primary-dark to-blue-900 text-white overflow-hidden">
  6.         <div class="absolute inset-0 opacity-10">
  7.             <svg class="w-full h-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
  8.                 <path fill="currentColor" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path>
  9.             </svg>
  10.         </div>
  11.         <div class="relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24 md:py-32">
  12.             <div class="text-center">
  13.                 <div class="inline-flex items-center justify-center w-20 h-20 bg-white bg-opacity-20 rounded-full mb-6 backdrop-blur-sm">
  14.                     <svg class="w-12 h-12 text-secondary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  15.                         <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
  16.                     </svg>
  17.                 </div>
  18.                 <h1 class="text-5xl md:text-6xl font-extrabold mb-6 tracking-tight">
  19.                     Pay<span class="text-secondary">Solution</span>
  20.                 </h1>
  21.                 <p class="text-xl md:text-2xl mb-4 max-w-3xl mx-auto text-blue-100 font-light">
  22.                     Plateforme sécurisée de gestion et paiement des factures d'électricité
  23.                 </p>
  24.                 <p class="text-lg mb-10 max-w-2xl mx-auto text-blue-200">
  25.                     Solution efficace pour la traçabilité des factures SNEL et faciliter le paiement en ligne
  26.                 </p>
  27.                 <div class="flex flex-col sm:flex-row gap-4 justify-center items-center">
  28.                     <a href="{{ path('app_login') }}" class="inline-flex items-center px-8 py-4 bg-secondary hover:bg-secondary-dark text-white font-bold rounded-lg text-lg transition duration-300 shadow-2xl transform hover:scale-105">
  29.                         <svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  30.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"></path>
  31.                         </svg>
  32.                         Commencer maintenant
  33.                     </a>
  34.                     <a href="#features" class="inline-flex items-center px-8 py-4 bg-white bg-opacity-20 hover:bg-opacity-30 backdrop-blur-sm text-white font-semibold rounded-lg text-lg transition duration-300 border-2 border-white border-opacity-50">
  35.                         <svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  36.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
  37.                         </svg>
  38.                         En savoir plus
  39.                     </a>
  40.                 </div>
  41.             </div>
  42.         </div>
  43.         <div class="absolute bottom-0 left-0 right-0">
  44.             <svg class="w-full h-16 text-gray-50" preserveAspectRatio="none" viewBox="0 0 1440 54" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
  45.                 <path d="M0 22L60 16.7C120 11 240 1.00001 360 0.700012C480 1.00001 600 11 720 16.7C840 22 960 22 1080 20.3C1200 19 1320 16 1380 14.7L1440 13V54H1380C1320 54 1200 54 1080 54C960 54 840 54 720 54C600 54 480 54 360 54C240 54 120 54 60 54H0V22Z"/>
  46.             </svg>
  47.         </div>
  48.     </div>
  49.     <!-- Stats Section -->
  50.     <section class="py-12 bg-white">
  51.         <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
  52.             <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
  53.                 <div class="text-center">
  54.                     <div class="inline-flex items-center justify-center w-16 h-16 bg-primary bg-opacity-10 rounded-full mb-4">
  55.                         <svg class="w-8 h-8 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  56.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path>
  57.                         </svg>
  58.                     </div>
  59.                     <h3 class="text-3xl font-bold text-gray-900 mb-2">100%</h3>
  60.                     <p class="text-gray-600">Sécurisé</p>
  61.                 </div>
  62.                 <div class="text-center">
  63.                     <div class="inline-flex items-center justify-center w-16 h-16 bg-secondary bg-opacity-10 rounded-full mb-4">
  64.                         <svg class="w-8 h-8 text-secondary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  65.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
  66.                         </svg>
  67.                     </div>
  68.                     <h3 class="text-3xl font-bold text-gray-900 mb-2">24/7</h3>
  69.                     <p class="text-gray-600">Disponible</p>
  70.                 </div>
  71.                 <div class="text-center">
  72.                     <div class="inline-flex items-center justify-center w-16 h-16 bg-danger bg-opacity-10 rounded-full mb-4">
  73.                         <svg class="w-8 h-8 text-danger" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  74.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
  75.                         </svg>
  76.                     </div>
  77.                     <h3 class="text-3xl font-bold text-gray-900 mb-2">Instantané</h3>
  78.                     <p class="text-gray-600">Paiement rapide</p>
  79.                 </div>
  80.             </div>
  81.         </div>
  82.     </section>
  83.     <!-- Features Section -->
  84.     <section id="features" class="py-20 bg-gray-50">
  85.         <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
  86.             <div class="text-center mb-16">
  87.                 <h2 class="text-4xl font-extrabold text-gray-900 mb-4">Fonctionnalités principales</h2>
  88.                 <p class="text-xl text-gray-600 max-w-2xl mx-auto">Une solution complète pour simplifier la gestion de vos factures d'électricité</p>
  89.             </div>
  90.             <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
  91.                 <!-- Feature 1 -->
  92.                 <div class="card hover:shadow-xl transition duration-300">
  93.                     <div class="bg-blue-100 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-4">
  94.                         <svg class="w-8 h-8 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  95.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path>
  96.                         </svg>
  97.                     </div>
  98.                     <h3 class="text-xl font-semibold mb-2 text-gray-900">Gestion des factures</h3>
  99.                     <p class="text-gray-600">Consultez et gérez toutes vos factures d'électricité en un seul endroit.</p>
  100.                 </div>
  101.                 <!-- Feature 2 -->
  102.                 <div class="card hover:shadow-xl transition duration-300">
  103.                     <div class="bg-yellow-100 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-4">
  104.                         <svg class="w-8 h-8 text-secondary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  105.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z"></path>
  106.                         </svg>
  107.                     </div>
  108.                     <h3 class="text-xl font-semibold mb-2 text-gray-900">Paiement en ligne</h3>
  109.                     <p class="text-gray-600">Effectuez vos paiements en toute sécurité et sans tracas.</p>
  110.                 </div>
  111.                 <!-- Feature 3 -->
  112.                 <div class="card hover:shadow-xl transition duration-300">
  113.                     <div class="bg-red-100 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-4">
  114.                         <svg class="w-8 h-8 text-danger" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  115.                             <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path>
  116.                         </svg>
  117.                     </div>
  118.                     <h3 class="text-xl font-semibold mb-2 text-gray-900">Sécurité maximale</h3>
  119.                     <p class="text-gray-600">Vos données sont protégées avec les normes de sécurité les plus strictes.</p>
  120.                 </div>
  121.             </div>
  122.         </div>
  123.     </section>
  124.     <!-- Benefits Section -->
  125.     <section class="py-20 bg-white">
  126.         <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
  127.             <div class="lg:grid lg:grid-cols-2 lg:gap-16 items-center">
  128.                 <div>
  129.                     <h2 class="text-3xl font-extrabold text-gray-900 mb-6">Pourquoi choisir PaySolution ?</h2>
  130.                     <div class="space-y-6">
  131.                         <div class="flex items-start">
  132.                             <div class="flex-shrink-0">
  133.                                 <div class="flex items-center justify-center h-12 w-12 rounded-md bg-primary text-white">
  134.                                     <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  135.                                         <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
  136.                                     </svg>
  137.                                 </div>
  138.                             </div>
  139.                             <div class="ml-4">
  140.                                 <h3 class="text-lg font-semibold text-gray-900">Traçabilité complète</h3>
  141.                                 <p class="mt-2 text-gray-600">Suivez toutes vos transactions en temps réel avec un historique détaillé et des preuves de paiement.</p>
  142.                             </div>
  143.                         </div>
  144.                         <div class="flex items-start">
  145.                             <div class="flex-shrink-0">
  146.                                 <div class="flex items-center justify-center h-12 w-12 rounded-md bg-secondary text-white">
  147.                                     <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  148.                                         <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
  149.                                     </svg>
  150.                                 </div>
  151.                             </div>
  152.                             <div class="ml-4">
  153.                                 <h3 class="text-lg font-semibold text-gray-900">Paiements sécurisés</h3>
  154.                                 <p class="mt-2 text-gray-600">Protection anti-fraude avec vérification des bordereaux et signatures électroniques.</p>
  155.                             </div>
  156.                         </div>
  157.                         <div class="flex items-start">
  158.                             <div class="flex-shrink-0">
  159.                                 <div class="flex items-center justify-center h-12 w-12 rounded-md bg-danger text-white">
  160.                                     <svg class="h-6 w-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  161.                                         <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path>
  162.                                     </svg>
  163.                                 </div>
  164.                             </div>
  165.                             <div class="ml-4">
  166.                                 <h3 class="text-lg font-semibold text-gray-900">Support 24/7</h3>
  167.                                 <p class="mt-2 text-gray-600">Notre équipe est disponible à tout moment pour vous assister.</p>
  168.                             </div>
  169.                         </div>
  170.                     </div>
  171.                 </div>
  172.                 <div class="mt-10 lg:mt-0">
  173.                     <div class="bg-gradient-to-br from-primary to-primary-dark rounded-2xl shadow-2xl p-8 text-white">
  174.                         <div class="text-center mb-8">
  175.                             <div class="inline-flex items-center justify-center w-20 h-20 bg-white bg-opacity-20 rounded-full mb-4">
  176.                                 <svg class="w-12 h-12 text-secondary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  177.                                     <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"></path>
  178.                                 </svg>
  179.                             </div>
  180.                             <h3 class="text-2xl font-bold mb-2">Plateforme SNEL Officielle</h3>
  181.                             <p class="text-blue-100">Solution agréée pour la gestion des factures d'électricité</p>
  182.                         </div>
  183.                         <div class="space-y-4">
  184.                             <div class="flex items-center">
  185.                                 <svg class="w-6 h-6 text-secondary mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  186.                                     <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
  187.                                 </svg>
  188.                                 <span>Paiements instantanés</span>
  189.                             </div>
  190.                             <div class="flex items-center">
  191.                                 <svg class="w-6 h-6 text-secondary mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  192.                                     <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
  193.                                 </svg>
  194.                                 <span>Historique complet</span>
  195.                             </div>
  196.                             <div class="flex items-center">
  197.                                 <svg class="w-6 h-6 text-secondary mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  198.                                     <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
  199.                                 </svg>
  200.                                 <span>Notifications automatiques</span>
  201.                             </div>
  202.                             <div class="flex items-center">
  203.                                 <svg class="w-6 h-6 text-secondary mr-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  204.                                     <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"></path>
  205.                                 </svg>
  206.                                 <span>Rapports détaillés</span>
  207.                             </div>
  208.                         </div>
  209.                     </div>
  210.                 </div>
  211.             </div>
  212.         </div>
  213.     </section>
  214.     <!-- CTA Section -->
  215.     <section class="relative bg-gradient-to-r from-primary via-primary-dark to-blue-900 text-white py-20 overflow-hidden">
  216.         <div class="absolute inset-0 opacity-10">
  217.             <svg class="w-full h-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
  218.                 <path fill="currentColor" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path>
  219.             </svg>
  220.         </div>
  221.         <div class="relative max-w-4xl mx-auto text-center px-4 sm:px-6 lg:px-8">
  222.             <h2 class="text-4xl font-extrabold mb-6">Prêt à simplifier la gestion de vos factures ?</h2>
  223.             <p class="text-xl mb-10 text-blue-100">Rejoignez PaySolution et profitez d'une expérience de paiement moderne et sécurisée.</p>
  224.             <div class="flex flex-col sm:flex-row gap-4 justify-center">
  225.                 <a href="{{ path('app_login') }}" class="inline-flex items-center justify-center px-8 py-4 bg-secondary hover:bg-secondary-dark text-white font-bold rounded-lg text-lg transition duration-300 shadow-2xl transform hover:scale-105">
  226.                     <svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  227.                         <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"></path>
  228.                     </svg>
  229.                     Commencer maintenant
  230.                 </a>
  231.                 <a href="#features" class="inline-flex items-center justify-center px-8 py-4 bg-white bg-opacity-20 hover:bg-opacity-30 backdrop-blur-sm text-white font-semibold rounded-lg text-lg transition duration-300 border-2 border-white border-opacity-50">
  232.                     <svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
  233.                         <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
  234.                     </svg>
  235.                     En savoir plus
  236.                 </a>
  237.             </div>
  238.         </div>
  239.     </section>
  240. {% endblock %}