Spaces:
Running
Running
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Auto KM 91 - Garage Professionnel</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> | |
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap'); | |
body { | |
font-family: 'Montserrat', sans-serif; | |
scroll-behavior: smooth; | |
} | |
.hero-gradient { | |
background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,100,0,0.6) 100%); | |
} | |
.service-card:hover { | |
transform: translateY(-10px); | |
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
} | |
.nav-link:after { | |
content: ''; | |
display: block; | |
width: 0; | |
height: 2px; | |
background: #4CAF50; | |
transition: width .3s; | |
} | |
.nav-link:hover:after { | |
width: 100%; | |
} | |
.testimonial-card { | |
background: linear-gradient(145deg, #f8f8f8 0%, #ffffff 100%); | |
box-shadow: 5px 5px 15px rgba(0,0,0,0.1); | |
} | |
</style> | |
</head> | |
<body class="bg-gray-100"> | |
<!-- Header/Navigation --> | |
<header class="bg-black text-white sticky top-0 z-50 shadow-lg"> | |
<div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
<div class="flex items-center space-x-2"> | |
<i class="fas fa-car text-green-500 text-2xl"></i> | |
<h1 class="text-xl font-bold">AUTO <span class="text-green-500">KM 91</span></h1> | |
</div> | |
<nav class="hidden md:flex space-x-8"> | |
<a href="#accueil" class="nav-link font-medium hover:text-green-400 transition">Accueil</a> | |
<a href="#services" class="nav-link font-medium hover:text-green-400 transition">Services</a> | |
<a href="#about" class="nav-link font-medium hover:text-green-400 transition">À propos</a> | |
<a href="#avis" class="nav-link font-medium hover:text-green-400 transition">Avis</a> | |
<a href="#contact" class="nav-link font-medium hover:text-green-400 transition">Contact</a> | |
</nav> | |
<div class="md:hidden"> | |
<button id="menu-btn" class="text-white focus:outline-none"> | |
<i class="fas fa-bars text-2xl"></i> | |
</button> | |
</div> | |
</div> | |
<!-- Mobile Menu --> | |
<div id="mobile-menu" class="hidden md:hidden bg-black py-4 px-4"> | |
<div class="flex flex-col space-y-4"> | |
<a href="#accueil" class="nav-link font-medium hover:text-green-400 transition">Accueil</a> | |
<a href="#services" class="nav-link font-medium hover:text-green-400 transition">Services</a> | |
<a href="#about" class="nav-link font-medium hover:text-green-400 transition">À propos</a> | |
<a href="#avis" class="nav-link font-medium hover:text-green-400 transition">Avis</a> | |
<a href="#contact" class="nav-link font-medium hover:text-green-400 transition">Contact</a> | |
</div> | |
</div> | |
</header> | |
<!-- Hero Section --> | |
<section id="accueil" class="hero-gradient min-h-screen flex items-center relative overflow-hidden"> | |
<div class="absolute inset-0 bg-black opacity-50"></div> | |
<div class="container mx-auto px-4 z-10 py-20"> | |
<div class="max-w-2xl"> | |
<h1 class="text-4xl md:text-6xl font-bold text-white mb-6">VOTRE <span class="text-green-400">GARAGE</span> DE CONFIANCE</h1> | |
<p class="text-xl text-gray-200 mb-8">Expertise automobile de qualité avec plus de 15 ans d'expérience. Nous prenons soin de votre véhicule comme si c'était le nôtre.</p> | |
<div class="flex flex-wrap gap-4"> | |
<a href="#contact" class="bg-green-500 hover:bg-green-600 text-white font-bold py-3 px-6 rounded-lg transition duration-300 transform hover:scale-105"> | |
Prendre rendez-vous | |
</a> | |
<a href="#services" class="bg-transparent border-2 border-white hover:bg-white hover:text-black text-white font-bold py-3 px-6 rounded-lg transition duration-300 transform hover:scale-105"> | |
Nos services | |
</a> | |
</div> | |
</div> | |
</div> | |
<div class="absolute bottom-10 left-1/2 transform -translate-x-1/2 animate-bounce"> | |
<a href="#services" class="text-white text-4xl"> | |
<i class="fas fa-chevron-down"></i> | |
</a> | |
</div> | |
</section> | |
<!-- Services Section --> | |
<section id="services" class="py-20 bg-white"> | |
<div class="container mx-auto px-4"> | |
<div class="text-center mb-16"> | |
<h2 class="text-3xl md:text-4xl font-bold text-black mb-4">NOS <span class="text-green-500">SERVICES</span></h2> | |
<div class="w-20 h-1 bg-green-500 mx-auto mb-6"></div> | |
<p class="text-gray-600 max-w-2xl mx-auto">Nous offrons une gamme complète de services automobiles pour répondre à tous vos besoins.</p> | |
</div> | |
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
<!-- Service 1 --> | |
<div class="service-card bg-white rounded-lg overflow-hidden shadow-md transition duration-500 ease-in-out"> | |
<div class="h-48 bg-gray-800 flex items-center justify-center"> | |
<i class="fas fa-tools text-green-500 text-6xl"></i> | |
</div> | |
<div class="p-6"> | |
<h3 class="text-xl font-bold text-black mb-3">Réparation Mécanique</h3> | |
<p class="text-gray-600 mb-4">Diagnostic et réparation de tous les problèmes mécaniques avec des pièces de qualité.</p> | |
<a href="#" class="text-green-500 font-medium hover:text-green-700 transition">En savoir plus →</a> | |
</div> | |
</div> | |
<!-- Service 2 --> | |
<div class="service-card bg-white rounded-lg overflow-hidden shadow-md transition duration-500 ease-in-out"> | |
<div class="h-48 bg-gray-800 flex items-center justify-center"> | |
<i class="fas fa-oil-can text-green-500 text-6xl"></i> | |
</div> | |
<div class="p-6"> | |
<h3 class="text-xl font-bold text-black mb-3">Vidange & Entretien</h3> | |
<p class="text-gray-600 mb-4">Services d'entretien régulier pour maintenir votre véhicule en parfait état.</p> | |
<a href="#" class="text-green-500 font-medium hover:text-green-700 transition">En savoir plus →</a> | |
</div> | |
</div> | |
<!-- Service 3 --> | |
<div class="service-card bg-white rounded-lg overflow-hidden shadow-md transition duration-500 ease-in-out"> | |
<div class="h-48 bg-gray-800 flex items-center justify-center"> | |
<i class="fas fa-car-battery text-green-500 text-6xl"></i> | |
</div> | |
<div class="p-6"> | |
<h3 class="text-xl font-bold text-black mb-3">Diagnostic Électronique</h3> | |
<p class="text-gray-600 mb-4">Technologie de pointe pour identifier rapidement les problèmes électroniques.</p> | |
<a href="#" class="text-green-500 font-medium hover:text-green-700 transition">En savoir plus →</a> | |
</div> | |
</div> | |
<!-- Service 4 --> | |
<div class="service-card bg-white rounded-lg overflow-hidden shadow-md transition duration-500 ease-in-out"> | |
<div class="h-48 bg-gray-800 flex items-center justify-center"> | |
<i class="fas fa-tire text-green-500 text-6xl"></i> | |
</div> | |
<div class="p-6"> | |
<h3 class="text-xl font-bold text-black mb-3">Pneus & Roues</h3> | |
<p class="text-gray-600 mb-4">Montage, équilibrage et vente de pneus de toutes marques pour votre sécurité.</p> | |
<a href="#" class="text-green-500 font-medium hover:text-green-700 transition">En savoir plus →</a> | |
</div> | |
</div> | |
<!-- Service 5 --> | |
<div class="service-card bg-white rounded-lg overflow-hidden shadow-md transition duration-500 ease-in-out"> | |
<div class="h-48 bg-gray-800 flex items-center justify-center"> | |
<i class="fas fa-car-crash text-green-500 text-6xl"></i> | |
</div> | |
<div class="p-6"> | |
<h3 class="text-xl font-bold text-black mb-3">Carrosserie</h3> | |
<p class="text-gray-600 mb-4">Réparation de carrosserie après accident avec des finitions impeccables.</p> | |
<a href="#" class="text-green-500 font-medium hover:text-green-700 transition">En savoir plus →</a> | |
</div> | |
</div> | |
<!-- Service 6 --> | |
<div class="service-card bg-white rounded-lg overflow-hidden shadow-md transition duration-500 ease-in-out"> | |
<div class="h-48 bg-gray-800 flex items-center justify-center"> | |
<i class="fas fa-shield-alt text-green-500 text-6xl"></i> | |
</div> | |
<div class="p-6"> | |
<h3 class="text-xl font-bold text-black mb-3">Contrôle Technique</h3> | |
<p class="text-gray-600 mb-4">Préparation et passage du contrôle technique dans notre centre agréé.</p> | |
<a href="#" class="text-green-500 font-medium hover:text-green-700 transition">En savoir plus →</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- About Section --> | |
<section id="about" class="py-20 bg-gray-900 text-white"> | |
<div class="container mx-auto px-4"> | |
<div class="flex flex-col lg:flex-row items-center"> | |
<div class="lg:w-1/2 mb-10 lg:mb-0 lg:pr-10"> | |
<img src="https://images.unsplash.com/photo-1584466977773-e625c37cdd50?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80" alt="Notre garage" class="rounded-lg shadow-xl w-full h-auto"> | |
</div> | |
<div class="lg:w-1/2"> | |
<h2 class="text-3xl md:text-4xl font-bold mb-6">À PROPOS DE <span class="text-green-400">AUTO KM 91</span></h2> | |
<div class="w-20 h-1 bg-green-500 mb-6"></div> | |
<p class="text-gray-300 mb-6">Fondé en 2008, notre garage automobile s'est imposé comme une référence dans la région grâce à notre expertise technique et notre engagement envers la satisfaction client.</p> | |
<div class="space-y-4 mb-8"> | |
<div class="flex items-start"> | |
<i class="fas fa-check-circle text-green-500 mt-1 mr-3"></i> | |
<p class="text-gray-300">Équipe de mécaniciens certifiés avec plus de 15 ans d'expérience</p> | |
</div> | |
<div class="flex items-start"> | |
<i class="fas fa-check-circle text-green-500 mt-1 mr-3"></i> | |
<p class="text-gray-300">Utilisation exclusive de pièces détachées de qualité</p> | |
</div> | |
<div class="flex items-start"> | |
<i class="fas fa-check-circle text-green-500 mt-1 mr-3"></i> | |
<p class="text-gray-300">Garantie sur toutes nos interventions</p> | |
</div> | |
<div class="flex items-start"> | |
<i class="fas fa-check-circle text-green-500 mt-1 mr-3"></i> | |
<p class="text-gray-300">Accueil personnalisé et conseils professionnels</p> | |
</div> | |
</div> | |
<a href="#contact" class="bg-green-500 hover:bg-green-600 text-white font-bold py-3 px-6 rounded-lg transition duration-300 inline-block"> | |
Nous contacter | |
</a> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Testimonials Section --> | |
<section id="avis" class="py-20 bg-gray-100"> | |
<div class="container mx-auto px-4"> | |
<div class="text-center mb-16"> | |
<h2 class="text-3xl md:text-4xl font-bold text-black mb-4">AVIS <span class="text-green-500">CLIENTS</span></h2> | |
<div class="w-20 h-1 bg-green-500 mx-auto mb-6"></div> | |
<p class="text-gray-600 max-w-2xl mx-auto">Ce que nos clients disent de notre service et de notre expertise.</p> | |
</div> | |
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
<!-- Testimonial 1 --> | |
<div class="testimonial-card p-6 rounded-lg"> | |
<div class="flex items-center mb-4"> | |
<div class="w-12 h-12 rounded-full bg-gray-300 overflow-hidden mr-4"> | |
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Client" class="w-full h-full object-cover"> | |
</div> | |
<div> | |
<h4 class="font-bold text-black">Jean Dupont</h4> | |
<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> | |
</div> | |
</div> | |
<p class="text-gray-600">"Excellent service! Mon véhicule a été réparé rapidement et à un prix très raisonnable. Je recommande vivement ce garage."</p> | |
</div> | |
<!-- Testimonial 2 --> | |
<div class="testimonial-card p-6 rounded-lg"> | |
<div class="flex items-center mb-4"> | |
<div class="w-12 h-12 rounded-full bg-gray-300 overflow-hidden mr-4"> | |
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Client" class="w-full h-full object-cover"> | |
</div> | |
<div> | |
<h4 class="font-bold text-black">Marie Lambert</h4> | |
<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> | |
</div> | |
</div> | |
<p class="text-gray-600">"Professionnels et honnêtes. Ils m'ont expliqué clairement le problème et les solutions possibles sans essayer de me vendre des réparations inutiles."</p> | |
</div> | |
<!-- Testimonial 3 --> | |
<div class="testimonial-card p-6 rounded-lg"> | |
<div class="flex items-center mb-4"> | |
<div class="w-12 h-12 rounded-full bg-gray-300 overflow-hidden mr-4"> | |
<img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Client" class="w-full h-full object-cover"> | |
</div> | |
<div> | |
<h4 class="font-bold text-black">Thomas Martin</h4> | |
<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> | |
</div> | |
</div> | |
<p class="text-gray-600">"Je suis client depuis 5 ans et je n'ai jamais été déçu. Le personnel est compétent et accueillant. Mon garage de référence!"</p> | |
</div> | |
</div> | |
<div class="text-center mt-12"> | |
<a href="#" class="inline-flex items-center text-green-500 font-medium hover:text-green-700 transition"> | |
Voir plus d'avis <i class="fas fa-arrow-right ml-2"></i> | |
</a> | |
</div> | |
</div> | |
</section> | |
<!-- Contact Section --> | |
<section id="contact" class="py-20 bg-white"> | |
<div class="container mx-auto px-4"> | |
<div class="text-center mb-16"> | |
<h2 class="text-3xl md:text-4xl font-bold text-black mb-4">NOUS <span class="text-green-500">CONTACTER</span></h2> | |
<div class="w-20 h-1 bg-green-500 mx-auto mb-6"></div> | |
<p class="text-gray-600 max-w-2xl mx-auto">Prenez rendez-vous ou posez-nous vos questions. Notre équipe est à votre disposition.</p> | |
</div> | |
<div class="flex flex-col lg:flex-row gap-10"> | |
<div class="lg:w-1/2"> | |
<form class="space-y-6"> | |
<div class="grid grid-cols-1 md:grid-cols-2 gap-6"> | |
<div> | |
<label for="name" class="block text-gray-700 font-medium mb-2">Nom complet</label> | |
<input type="text" id="name" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500"> | |
</div> | |
<div> | |
<label for="email" class="block text-gray-700 font-medium mb-2">Email</label> | |
<input type="email" id="email" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500"> | |
</div> | |
</div> | |
<div> | |
<label for="phone" class="block text-gray-700 font-medium mb-2">Téléphone</label> | |
<input type="tel" id="phone" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500"> | |
</div> | |
<div> | |
<label for="service" class="block text-gray-700 font-medium mb-2">Service demandé</label> | |
<select id="service" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500"> | |
<option value="">Sélectionnez un service</option> | |
<option value="repair">Réparation mécanique</option> | |
<option value="maintenance">Vidange & Entretien</option> | |
<option value="diagnostic">Diagnostic électronique</option> | |
<option value="tires">Pneus & Roues</option> | |
<option value="bodywork">Carrosserie</option> | |
<option value="inspection">Contrôle technique</option> | |
</select> | |
</div> | |
<div> | |
<label for="message" class="block text-gray-700 font-medium mb-2">Message</label> | |
<textarea id="message" rows="4" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500"></textarea> | |
</div> | |
<button type="submit" class="w-full bg-green-500 hover:bg-green-600 text-white font-bold py-3 px-6 rounded-lg transition duration-300"> | |
Envoyer le message | |
</button> | |
</form> | |
</div> | |
<div class="lg:w-1/2"> | |
<div class="bg-gray-100 p-8 rounded-lg h-full"> | |
<h3 class="text-2xl font-bold text-black mb-6">INFORMATIONS <span class="text-green-500">PRATIQUES</span></h3> | |
<div class="space-y-6"> | |
<div class="flex items-start"> | |
<i class="fas fa-map-marker-alt text-green-500 text-xl mt-1 mr-4"></i> | |
<div> | |
<h4 class="font-bold text-black mb-1">Adresse</h4> | |
<p class="text-gray-600">123 Rue de l'Automobile<br>91000 Évry, France</p> | |
</div> | |
</div> | |
<div class="flex items-start"> | |
<i class="fas fa-phone-alt text-green-500 text-xl mt-1 mr-4"></i> | |
<div> | |
<h4 class="font-bold text-black mb-1">Téléphone</h4> | |
<p class="text-gray-600">01 23 45 67 89</p> | |
</div> | |
</div> | |
<div class="flex items-start"> | |
<i class="fas fa-envelope text-green-500 text-xl mt-1 mr-4"></i> | |
<div> | |
<h4 class="font-bold text-black mb-1">Email</h4> | |
<p class="text-gray-600">[email protected]</p> | |
</div> | |
</div> | |
<div class="flex items-start"> | |
<i class="fas fa-clock text-green-500 text-xl mt-1 mr-4"></i> | |
<div> | |
<h4 class="font-bold text-black mb-1">Horaires d'ouverture</h4> | |
<p class="text-gray-600"> | |
Lundi - Vendredi: 8h30 - 18h30<br> | |
Samedi: 9h00 - 13h00<br> | |
Dimanche: Fermé | |
</p> | |
</div> | |
</div> | |
</div> | |
<div class="mt-8"> | |
<h4 class="font-bold text-black mb-4">Nous suivre</h4> | |
<div class="flex space-x-4"> | |
<a href="#" class="w-10 h-10 bg-black text-white rounded-full flex items-center justify-center hover:bg-green-500 transition"> | |
<i class="fab fa-facebook-f"></i> | |
</a> | |
<a href="#" class="w-10 h-10 bg-black text-white rounded-full flex items-center justify-center hover:bg-green-500 transition"> | |
<i class="fab fa-instagram"></i> | |
</a> | |
<a href="#" class="w-10 h-10 bg-black text-white rounded-full flex items-center justify-center hover:bg-green-500 transition"> | |
<i class="fab fa-twitter"></i> | |
</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Map Section --> | |
<div class="h-96 bg-gray-200"> | |
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2627.123456789012!2d2.1234567890123456!3d48.12345678901234!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x0!2zNDjCsDA3JzI0LjQiTiAywrAwNyczNi4xIkU!5e0!3m2!1sfr!2sfr!4v1234567890123!5m2!1sfr!2sfr" width="100%" height="100%" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe> | |
</div> | |
<!-- Footer --> | |
<footer class="bg-black text-white py-12"> | |
<div class="container mx-auto px-4"> | |
<div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
<div> | |
<div class="flex items-center space-x-2 mb-4"> | |
<i class="fas fa-car text-green-500 text-2xl"></i> | |
<h3 class="text-xl font-bold">AUTO <span class="text-green-500">KM 91</span></h3> | |
</div> | |
<p class="text-gray-400">Votre garage automobile de confiance dans l'Essonne depuis 2008. Expertise, qualité et transparence.</p> | |
</div> | |
<div> | |
<h4 class="text-lg font-bold mb-4">LIENS RAPIDES</h4> | |
<ul class="space-y-2"> | |
<li><a href="#accueil" class="text-gray-400 hover:text-green-400 transition">Accueil</a></li> | |
<li><a href="#services" class="text-gray-400 hover:text-green-400 transition">Services</a></li> | |
<li><a href="#about" class="text-gray-400 hover:text-green-400 transition">À propos</a></li> | |
<li><a href="#avis" class="text-gray-400 hover:text-green-400 transition">Avis clients</a></li> | |
<li><a href="#contact" class="text-gray-400 hover:text-green-400 transition">Contact</a></li> | |
</ul> | |
</div> | |
<div> | |
<h4 class="text-lg font-bold mb-4">SERVICES</h4> | |
<ul class="space-y-2"> | |
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Réparation mécanique</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Vidange & entretien</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Diagnostic électronique</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Pneus & roues</a></li> | |
<li><a href="#" class="text-gray-400 hover:text-green-400 transition">Carrosserie</a></li> | |
</ul> | |
</div> | |
<div> | |
<h4 class="text-lg font-bold mb-4">NEWSLETTER</h4> | |
<p class="text-gray-400 mb-4">Abonnez-vous pour recevoir nos offres spéciales et conseils d'entretien.</p> | |
<form class="flex"> | |
<input type="email" placeholder="Votre email" class="px-4 py-2 rounded-l-lg focus:outline-none text-black w-full"> | |
<button type="submit" class="bg-green-500 hover:bg-green-600 text-white px-4 py-2 rounded-r-lg transition"> | |
<i class="fas fa-paper-plane"></i> | |
</button> | |
</form> | |
</div> | |
</div> | |
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center"> | |
<p class="text-gray-400 mb-4 md:mb-0">© 2023 Auto KM 91. Tous droits réservés.</p> | |
<div class="flex space-x-6"> | |
<a href="#" class="text-gray-400 hover:text-green-400 transition">Mentions légales</a> | |
<a href="#" class="text-gray-400 hover:text-green-400 transition">Politique de confidentialité</a> | |
<a href="#" class="text-gray-400 hover:text-green-400 transition">CGV</a> | |
</div> | |
</div> | |
</div> | |
</footer> | |
<!-- Back to Top Button --> | |
<button id="back-to-top" class="fixed bottom-8 right-8 bg-green-500 text-white w-12 h-12 rounded-full flex items-center justify-center shadow-lg transition opacity-0 invisible hover:bg-green-600"> | |
<i class="fas fa-arrow-up"></i> | |
</button> | |
<script> | |
// Mobile Menu Toggle | |
const menuBtn = document.getElementById('menu-btn'); | |
const mobileMenu = document.getElementById('mobile-menu'); | |
menuBtn.addEventListener('click', () => { | |
mobileMenu.classList.toggle('hidden'); | |
}); | |
// Back to Top Button | |
const backToTopBtn = document.getElementById('back-to-top'); | |
window.addEventListener('scroll', () => { | |
if (window.pageYOffset > 300) { | |
backToTopBtn.classList.remove('opacity-0', 'invisible'); | |
backToTopBtn.classList.add('opacity-100', 'visible'); | |
} else { | |
backToTopBtn.classList.remove('opacity-100', 'visible'); | |
backToTopBtn.classList.add('opacity-0', 'invisible'); | |
} | |
}); | |
backToTopBtn.addEventListener('click', () => { | |
window.scrollTo({ | |
top: 0, | |
behavior: 'smooth' | |
}); | |
}); | |
// Smooth scrolling for navigation links | |
document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
anchor.addEventListener('click', function(e) { | |
e.preventDefault(); | |
const targetId = this.getAttribute('href'); | |
const targetElement = document.querySelector(targetId); | |
if (targetElement) { | |
window.scrollTo({ | |
top: targetElement.offsetTop - 80, | |
behavior: 'smooth' | |
}); | |
// Close mobile menu if open | |
if (!mobileMenu.classList.contains('hidden')) { | |
mobileMenu.classList.add('hidden'); | |
} | |
} | |
}); | |
}); | |
</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=Adamchab/auto-km-91" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
</html> |