| | <!DOCTYPE html> |
| | <html lang="fr"> |
| | <head> |
| | <meta charset="UTF-8"> |
| | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| | <title>Elégance - Accessoires Mode Homme & Femme</title> |
| | <script src="https://cdn.tailwindcss.com"></script> |
| | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
| | <style> |
| | |
| | .product-card:hover { |
| | transform: translateY(-5px); |
| | box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); |
| | } |
| | |
| | .nav-link::after { |
| | content: ''; |
| | display: block; |
| | width: 0; |
| | height: 2px; |
| | background: #4f46e5; |
| | transition: width 0.3s; |
| | } |
| | |
| | .nav-link:hover::after { |
| | width: 100%; |
| | } |
| | |
| | @keyframes fadeIn { |
| | from { opacity: 0; transform: translateY(20px); } |
| | to { opacity: 1; transform: translateY(0); } |
| | } |
| | |
| | .fade-in { |
| | animation: fadeIn 0.8s ease forwards; |
| | } |
| | |
| | .delay-1 { animation-delay: 0.2s; } |
| | .delay-2 { animation-delay: 0.4s; } |
| | .delay-3 { animation-delay: 0.6s; } |
| | |
| | |
| | ::-webkit-scrollbar { |
| | width: 8px; |
| | } |
| | |
| | ::-webkit-scrollbar-track { |
| | background: #f1f1f1; |
| | } |
| | |
| | ::-webkit-scrollbar-thumb { |
| | background: #888; |
| | border-radius: 10px; |
| | } |
| | |
| | ::-webkit-scrollbar-thumb:hover { |
| | background: #555; |
| | } |
| | </style> |
| | </head> |
| | <body class="bg-gray-50 font-sans"> |
| | |
| | <header class="bg-white shadow-sm sticky top-0 z-50"> |
| | <div class="container mx-auto px-4 py-3"> |
| | <div class="flex justify-between items-center"> |
| | |
| | <div class="flex items-center"> |
| | <a href="#" class="text-2xl font-bold text-indigo-600 flex items-center"> |
| | <i class="fas fa-crown mr-2"></i> |
| | Elégance |
| | </a> |
| | </div> |
| | |
| | |
| | <nav class="hidden md:flex space-x-8"> |
| | <a href="#" class="nav-link text-gray-700 hover:text-indigo-600 font-medium">Accueil</a> |
| | <a href="#" class="nav-link text-gray-700 hover:text-indigo-600 font-medium">Homme</a> |
| | <a href="#" class="nav-link text-gray-700 hover:text-indigo-600 font-medium">Femme</a> |
| | <a href="#" class="nav-link text-gray-700 hover:text-indigo-600 font-medium">Nouveautés</a> |
| | <a href="#" class="nav-link text-gray-700 hover:text-indigo-600 font-medium">Contact</a> |
| | </nav> |
| | |
| | |
| | <div class="flex items-center space-x-4"> |
| | <a href="#" class="text-gray-700 hover:text-indigo-600"> |
| | <i class="fas fa-search text-lg"></i> |
| | </a> |
| | <a href="#" class="text-gray-700 hover:text-indigo-600"> |
| | <i class="fas fa-heart text-lg"></i> |
| | </a> |
| | <a href="#" class="text-gray-700 hover:text-indigo-600 relative"> |
| | <i class="fas fa-shopping-bag text-lg"></i> |
| | <span class="absolute -top-2 -right-2 bg-indigo-600 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">3</span> |
| | </a> |
| | |
| | |
| | <button id="mobile-menu-button" class="md:hidden text-gray-700"> |
| | <i class="fas fa-bars text-xl"></i> |
| | </button> |
| | </div> |
| | </div> |
| | |
| | |
| | <div id="mobile-menu" class="hidden md:hidden mt-4 pb-4"> |
| | <a href="#" class="block py-2 text-gray-700 hover:text-indigo-600">Accueil</a> |
| | <a href="#" class="block py-2 text-gray-700 hover:text-indigo-600">Homme</a> |
| | <a href="#" class="block py-2 text-gray-700 hover:text-indigo-600">Femme</a> |
| | <a href="#" class="block py-2 text-gray-700 hover:text-indigo-600">Nouveautés</a> |
| | <a href="#" class="block py-2 text-gray-700 hover:text-indigo-600">Contact</a> |
| | </div> |
| | </div> |
| | </header> |
| |
|
| | |
| | <section class="bg-gradient-to-r from-indigo-500 to-purple-600 text-white py-16 md:py-24"> |
| | <div class="container mx-auto px-4 flex flex-col md:flex-row items-center"> |
| | <div class="md:w-1/2 mb-10 md:mb-0 fade-in"> |
| | <h1 class="text-4xl md:text-5xl font-bold mb-4">Accessoires de Mode Élégants</h1> |
| | <p class="text-xl mb-6">Découvrez notre collection exclusive d'accessoires pour homme et femme. Qualité exceptionnelle, style incomparable.</p> |
| | <div class="flex space-x-4"> |
| | <a href="#" class="bg-white text-indigo-600 px-6 py-3 rounded-full font-medium hover:bg-gray-100 transition duration-300">Collection Homme</a> |
| | <a href="#" class="bg-transparent border-2 border-white px-6 py-3 rounded-full font-medium hover:bg-white hover:text-indigo-600 transition duration-300">Collection Femme</a> |
| | </div> |
| | </div> |
| | <div class="md:w-1/2 fade-in delay-1"> |
| | <img src="https://images.unsplash.com/photo-1595341595379-cf2a0a12326a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Accessoires de mode" class="rounded-lg shadow-xl w-full h-auto"> |
| | </div> |
| | </div> |
| | </section> |
| |
|
| | |
| | <section class="py-16 bg-white"> |
| | <div class="container mx-auto px-4"> |
| | <h2 class="text-3xl font-bold text-center mb-12 fade-in">Nos Catégories</h2> |
| | |
| | <div class="grid grid-cols-2 md:grid-cols-4 gap-6"> |
| | |
| | <div class="bg-gray-50 rounded-xl p-6 text-center hover:bg-indigo-50 transition duration-300 fade-in delay-1"> |
| | <div class="bg-indigo-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-4"> |
| | <i class="fas fa-glasses text-indigo-600 text-2xl"></i> |
| | </div> |
| | <h3 class="font-bold text-lg mb-2">Lunettes</h3> |
| | <p class="text-gray-600">Soleil & vue</p> |
| | </div> |
| | |
| | |
| | <div class="bg-gray-50 rounded-xl p-6 text-center hover:bg-indigo-50 transition duration-300 fade-in delay-1"> |
| | <div class="bg-indigo-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-4"> |
| | <i class="fas fa-clock text-indigo-600 text-2xl"></i> |
| | </div> |
| | <h3 class="font-bold text-lg mb-2">Montres</h3> |
| | <p class="text-gray-600">Classique & moderne</p> |
| | </div> |
| | |
| | |
| | <div class="bg-gray-50 rounded-xl p-6 text-center hover:bg-indigo-50 transition duration-300 fade-in delay-2"> |
| | <div class="bg-indigo-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-4"> |
| | <i class="fas fa-scarf text-indigo-600 text-2xl"></i> |
| | </div> |
| | <h3 class="font-bold text-lg mb-2">Écharpes</h3> |
| | <p class="text-gray-600">Soie & laine</p> |
| | </div> |
| | |
| | |
| | <div class="bg-gray-50 rounded-xl p-6 text-center hover:bg-indigo-50 transition duration-300 fade-in delay-2"> |
| | <div class="bg-indigo-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-4"> |
| | <i class="fas fa-ring text-indigo-600 text-2xl"></i> |
| | </div> |
| | <h3 class="font-bold text-lg mb-2">Bijoux</h3> |
| | <p class="text-gray-600">Élégance intemporelle</p> |
| | </div> |
| | </div> |
| | </div> |
| | </section> |
| |
|
| | |
| | <section class="py-16 bg-gray-50"> |
| | <div class="container mx-auto px-4"> |
| | <div class="flex justify-between items-center mb-8"> |
| | <h2 class="text-3xl font-bold fade-in">Nos Produits Populaires</h2> |
| | <a href="#" class="text-indigo-600 font-medium hover:underline fade-in delay-1">Voir tout</a> |
| | </div> |
| | |
| | <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-8"> |
| | |
| | <div class="bg-white rounded-xl overflow-hidden shadow-md product-card transition duration-300 fade-in"> |
| | <div class="relative"> |
| | <img src="https://images.unsplash.com/photo-1523170335258-f5ed118494a8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=880&q=80" alt="Montre homme" class="w-full h-64 object-cover"> |
| | <div class="absolute top-2 right-2 bg-indigo-600 text-white text-xs px-2 py-1 rounded-full">Nouveau</div> |
| | </div> |
| | <div class="p-4"> |
| | <div class="flex justify-between items-start"> |
| | <div> |
| | <h3 class="font-bold text-lg">Montre Classique</h3> |
| | <p class="text-gray-600">Pour Homme</p> |
| | </div> |
| | <div class="text-indigo-600 font-bold">€149.99</div> |
| | </div> |
| | <div class="mt-4 flex justify-between items-center"> |
| | <div class="flex text-yellow-400"> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star-half-alt"></i> |
| | </div> |
| | <button class="bg-indigo-600 text-white px-3 py-1 rounded-full hover:bg-indigo-700 transition duration-300"> |
| | <i class="fas fa-plus"></i> |
| | </button> |
| | </div> |
| | </div> |
| | </div> |
| | |
| | |
| | <div class="bg-white rounded-xl overflow-hidden shadow-md product-card transition duration-300 fade-in delay-1"> |
| | <div class="relative"> |
| | <img src="https://images.unsplash.com/photo-1590649880398-9d2b11b0a123?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=880&q=80" alt="Lunettes femme" class="w-full h-64 object-cover"> |
| | <div class="absolute top-2 right-2 bg-red-500 text-white text-xs px-2 py-1 rounded-full">-20%</div> |
| | </div> |
| | <div class="p-4"> |
| | <div class="flex justify-between items-start"> |
| | <div> |
| | <h3 class="font-bold text-lg">Lunettes Carrées</h3> |
| | <p class="text-gray-600">Pour Femme</p> |
| | </div> |
| | <div> |
| | <span class="text-gray-400 line-through">€89.99</span> |
| | <span class="text-indigo-600 font-bold ml-2">€71.99</span> |
| | </div> |
| | </div> |
| | <div class="mt-4 flex justify-between items-center"> |
| | <div class="flex text-yellow-400"> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="far fa-star"></i> |
| | </div> |
| | <button class="bg-indigo-600 text-white px-3 py-1 rounded-full hover:bg-indigo-700 transition duration-300"> |
| | <i class="fas fa-plus"></i> |
| | </button> |
| | </div> |
| | </div> |
| | </div> |
| | |
| | |
| | <div class="bg-white rounded-xl overflow-hidden shadow-md product-card transition duration-300 fade-in delay-2"> |
| | <div class="relative"> |
| | <img src="https://images.unsplash.com/photo-1605106702734-205df2246ce5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Écharpe" class="w-full h-64 object-cover"> |
| | </div> |
| | <div class="p-4"> |
| | <div class="flex justify-between items-start"> |
| | <div> |
| | <h3 class="font-bold text-lg">Écharpe en Soie</h3> |
| | <p class="text-gray-600">Unisexe</p> |
| | </div> |
| | <div class="text-indigo-600 font-bold">€45.99</div> |
| | </div> |
| | <div class="mt-4 flex justify-between items-center"> |
| | <div class="flex text-yellow-400"> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | </div> |
| | <button class="bg-indigo-600 text-white px-3 py-1 rounded-full hover:bg-indigo-700 transition duration-300"> |
| | <i class="fas fa-plus"></i> |
| | </button> |
| | </div> |
| | </div> |
| | </div> |
| | |
| | |
| | <div class="bg-white rounded-xl overflow-hidden shadow-md product-card transition duration-300 fade-in delay-3"> |
| | <div class="relative"> |
| | <img src="https://images.unsplash.com/photo-1611591437281-460914d7f7f3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Bracelet" class="w-full h-64 object-cover"> |
| | <div class="absolute top-2 right-2 bg-green-500 text-white text-xs px-2 py-1 rounded-full">Éco</div> |
| | </div> |
| | <div class="p-4"> |
| | <div class="flex justify-between items-start"> |
| | <div> |
| | <h3 class="font-bold text-lg">Bracelet Cuir</h3> |
| | <p class="text-gray-600">Pour Homme</p> |
| | </div> |
| | <div class="text-indigo-600 font-bold">€32.50</div> |
| | </div> |
| | <div class="mt-4 flex justify-between items-center"> |
| | <div class="flex text-yellow-400"> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star-half-alt"></i> |
| | <i class="far fa-star"></i> |
| | </div> |
| | <button class="bg-indigo-600 text-white px-3 py-1 rounded-full hover:bg-indigo-700 transition duration-300"> |
| | <i class="fas fa-plus"></i> |
| | </button> |
| | </div> |
| | </div> |
| | </div> |
| | </div> |
| | </div> |
| | </section> |
| |
|
| | |
| | <section class="py-16 bg-indigo-600 text-white"> |
| | <div class="container mx-auto px-4 text-center"> |
| | <h2 class="text-3xl font-bold mb-4 fade-in">Livraison Gratuite</h2> |
| | <p class="text-xl mb-6 max-w-2xl mx-auto fade-in delay-1">Pour toute commande supérieure à €50. Profitez-en dès maintenant !</p> |
| | <a href="#" class="bg-white text-indigo-600 px-6 py-3 rounded-full font-medium hover:bg-gray-100 transition duration-300 inline-block fade-in delay-2">Acheter Maintenant</a> |
| | </div> |
| | </section> |
| |
|
| | |
| | <section class="py-16 bg-white"> |
| | <div class="container mx-auto px-4"> |
| | <h2 class="text-3xl font-bold text-center mb-12 fade-in">Ce Que Disent Nos Clients</h2> |
| | |
| | <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> |
| | |
| | <div class="bg-gray-50 p-6 rounded-xl fade-in"> |
| | <div class="flex items-center mb-4"> |
| | <div class="flex text-yellow-400 mr-2"> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | </div> |
| | <span class="text-gray-600">Il y a 2 semaines</span> |
| | </div> |
| | <p class="text-gray-700 mb-4">"La montre que j'ai achetée est tout simplement magnifique. La qualité est exceptionnelle et elle attire des compliments chaque fois que je la porte."</p> |
| | <div class="flex items-center"> |
| | <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Client" class="w-10 h-10 rounded-full mr-3"> |
| | <div> |
| | <h4 class="font-bold">Pierre L.</h4> |
| | <p class="text-gray-600 text-sm">Paris, France</p> |
| | </div> |
| | </div> |
| | </div> |
| | |
| | |
| | <div class="bg-gray-50 p-6 rounded-xl fade-in delay-1"> |
| | <div class="flex items-center mb-4"> |
| | <div class="flex text-yellow-400 mr-2"> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | </div> |
| | <span class="text-gray-600">Il y a 1 mois</span> |
| | </div> |
| | <p class="text-gray-700 mb-4">"J'adore mon écharpe en soie ! Les couleurs sont encore plus belles en vrai que sur les photos. Livraison rapide et emballage soigné."</p> |
| | <div class="flex items-center"> |
| | <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Client" class="w-10 h-10 rounded-full mr-3"> |
| | <div> |
| | <h4 class="font-bold">Sophie M.</h4> |
| | <p class="text-gray-600 text-sm">Lyon, France</p> |
| | </div> |
| | </div> |
| | </div> |
| | |
| | |
| | <div class="bg-gray-50 p-6 rounded-xl fade-in delay-2"> |
| | <div class="flex items-center mb-4"> |
| | <div class="flex text-yellow-400 mr-2"> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star"></i> |
| | <i class="fas fa-star-half-alt"></i> |
| | </div> |
| | <span class="text-gray-600">Il y a 3 jours</span> |
| | </div> |
| | <p class="text-gray-700 mb-4">"Service client exceptionnel ! J'ai eu un problème avec ma commande qui a été résolu en moins de 24h. Je recommande vivement ce site."</p> |
| | <div class="flex items-center"> |
| | <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Client" class="w-10 h-10 rounded-full mr-3"> |
| | <div> |
| | <h4 class="font-bold">Thomas D.</h4> |
| | <p class="text-gray-600 text-sm">Marseille, France</p> |
| | </div> |
| | </div> |
| | </div> |
| | </div> |
| | </div> |
| | </section> |
| |
|
| | |
| | <section class="py-16 bg-gray-100"> |
| | <div class="container mx-auto px-4 text-center max-w-4xl"> |
| | <h2 class="text-3xl font-bold mb-4 fade-in">Abonnez-vous à Notre Newsletter</h2> |
| | <p class="text-xl mb-8 fade-in delay-1">Recevez 10% de réduction sur votre première commande et soyez informé de nos nouveautés et promotions.</p> |
| | |
| | <form class="flex flex-col sm:flex-row gap-4 justify-center fade-in delay-2"> |
| | <input type="email" placeholder="Votre adresse email" class="px-4 py-3 rounded-full border-2 border-gray-300 focus:border-indigo-600 focus:outline-none flex-grow max-w-md"> |
| | <button type="submit" class="bg-indigo-600 text-white px-6 py-3 rounded-full font-medium hover:bg-indigo-700 transition duration-300">S'abonner</button> |
| | </form> |
| | </div> |
| | </section> |
| |
|
| | |
| | <footer class="bg-gray-900 text-white pt-16 pb-8"> |
| | <div class="container mx-auto px-4"> |
| | <div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8"> |
| | |
| | <div> |
| | <h3 class="text-xl font-bold mb-4 flex items-center"> |
| | <i class="fas fa-crown mr-2"></i> |
| | Elégance |
| | </h3> |
| | <p class="mb-4">Votre destination pour des accessoires de mode haut de gamme pour homme et femme.</p> |
| | <div class="flex space-x-4"> |
| | <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook-f"></i></a> |
| | <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a> |
| | <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a> |
| | <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-pinterest"></i></a> |
| | </div> |
| | </div> |
| | |
| | |
| | <div> |
| | <h3 class="text-lg font-bold mb-4">Boutique</h3> |
| | <ul class="space-y-2"> |
| | <li><a href="#" class="text-gray-400 hover:text-white">Homme</a></li> |
| | <li><a href="#" class="text-gray-400 hover:text-white">Femme</a></li> |
| | <li><a href="#" class="text-gray-400 hover:text-white">Nouveautés</a></li> |
| | <li><a href="#" class="text-gray-400 hover:text-white">Promotions</a></li> |
| | <li><a href="#" class="text-gray-400 hover:text-white">Collections</a></li> |
| | </ul> |
| | </div> |
| | |
| | |
| | <div> |
| | <h3 class="text-lg font-bold mb-4">Informations</h3> |
| | <ul class="space-y-2"> |
| | <li><a href="#" class="text-gray-400 hover:text-white">À propos</a></li> |
| | <li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li> |
| | <li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li> |
| | <li><a href="#" class="text-gray-400 hover:text-white">FAQ</a></li> |
| | <li><a href="#" class="text-gray-400 hover:text-white">Mentions légales</a></li> |
| | </ul> |
| | </div> |
| | |
| | |
| | <div> |
| | <h3 class="text-lg font-bold mb-4">Contact</h3> |
| | <ul class="space-y-2"> |
| | <li class="flex items-center"> |
| | <i class="fas fa-map-marker-alt mr-2 text-gray-400"></i> |
| | <span>123 Rue de la Mode, Paris</span> |
| | </li> |
| | <li class="flex items-center"> |
| | <i class="fas fa-phone-alt mr-2 text-gray-400"></i> |
| | <span>+33 1 23 45 67 89</span> |
| | </li> |
| | <li class="flex items-center"> |
| | <i class="fas fa-envelope mr-2 text-gray-400"></i> |
| | <span>contact@elegance.com</span> |
| | </li> |
| | </ul> |
| | </div> |
| | </div> |
| | |
| | <div class="border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center"> |
| | <p class="text-gray-400 mb-4 md:mb-0">© 2023 Elégance. Tous droits réservés.</p> |
| | <div class="flex space-x-6"> |
| | <img src="https://via.placeholder.com/40x25" alt="Visa" class="h-6"> |
| | <img src="https://via.placeholder.com/40x25" alt="Mastercard" class="h-6"> |
| | <img src="https://via.placeholder.com/40x25" alt="PayPal" class="h-6"> |
| | <img src="https://via.placeholder.com/40x25" alt="Apple Pay" class="h-6"> |
| | </div> |
| | </div> |
| | </div> |
| | </footer> |
| |
|
| | <script> |
| | |
| | document.getElementById('mobile-menu-button').addEventListener('click', function() { |
| | const menu = document.getElementById('mobile-menu'); |
| | menu.classList.toggle('hidden'); |
| | }); |
| | |
| | |
| | document.addEventListener('DOMContentLoaded', function() { |
| | const fadeElements = document.querySelectorAll('.fade-in'); |
| | |
| | const fadeInOnScroll = function() { |
| | fadeElements.forEach(element => { |
| | const elementTop = element.getBoundingClientRect().top; |
| | const windowHeight = window.innerHeight; |
| | |
| | if (elementTop < windowHeight - 100) { |
| | element.style.opacity = '1'; |
| | element.style.transform = 'translateY(0)'; |
| | } |
| | }); |
| | }; |
| | |
| | |
| | fadeInOnScroll(); |
| | |
| | |
| | window.addEventListener('scroll', fadeInOnScroll); |
| | }); |
| | </script> |
| | <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Hmayda/elegence" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> |
| | </html> |