Spaces:
Running
Running
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Professeur ABIBA - Marabout Voyant Médium</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> | |
.hero-bg { | |
background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1684&q=80'); | |
background-size: cover; | |
background-position: center; | |
} | |
.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); | |
} | |
.testimonial-card { | |
background: rgba(255, 255, 255, 0.1); | |
backdrop-filter: blur(10px); | |
} | |
.floating-button { | |
animation: float 3s ease-in-out infinite; | |
} | |
@keyframes float { | |
0% { transform: translateY(0px); } | |
50% { transform: translateY(-15px); } | |
100% { transform: translateY(0px); } | |
} | |
.crystal-ball { | |
position: relative; | |
} | |
.crystal-ball::before { | |
content: ''; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), transparent 70%); | |
border-radius: 50%; | |
filter: blur(5px); | |
animation: shine 5s infinite alternate; | |
} | |
@keyframes shine { | |
0% { transform: scale(0.9); opacity: 0.7; } | |
100% { transform: scale(1.1); opacity: 0.9; } | |
} | |
</style> | |
</head> | |
<body class="bg-gray-900 text-white font-sans"> | |
<!-- Header --> | |
<header class="fixed w-full z-50 bg-black bg-opacity-90 shadow-lg"> | |
<div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
<div class="flex items-center space-x-2"> | |
<div class="w-10 h-10 rounded-full bg-purple-600 flex items-center justify-center"> | |
<i class="fas fa-moon text-white text-xl"></i> | |
</div> | |
<h1 class="text-xl font-bold bg-gradient-to-r from-purple-400 to-pink-500 bg-clip-text text-transparent">Professeur ABIBA</h1> | |
</div> | |
<nav class="hidden md:flex space-x-8"> | |
<a href="#accueil" class="hover:text-purple-400 transition">Accueil</a> | |
<a href="#services" class="hover:text-purple-400 transition">Services</a> | |
<a href="#a-propos" class="hover:text-purple-400 transition">À propos</a> | |
<a href="#temoignages" class="hover:text-purple-400 transition">Témoignages</a> | |
<a href="#contact" class="hover:text-purple-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 bg-opacity-95 py-4 px-4"> | |
<div class="flex flex-col space-y-4"> | |
<a href="#accueil" class="hover:text-purple-400 transition">Accueil</a> | |
<a href="#services" class="hover:text-purple-400 transition">Services</a> | |
<a href="#a-propos" class="hover:text-purple-400 transition">À propos</a> | |
<a href="#temoignages" class="hover:text-purple-400 transition">Témoignages</a> | |
<a href="#contact" class="hover:text-purple-400 transition">Contact</a> | |
</div> | |
</div> | |
</header> | |
<!-- Hero Section --> | |
<section id="accueil" class="hero-bg min-h-screen flex items-center pt-20"> | |
<div class="container mx-auto px-4 py-20 flex flex-col md:flex-row items-center"> | |
<div class="md:w-1/2 mb-10 md:mb-0"> | |
<h1 class="text-4xl md:text-6xl font-bold mb-6 leading-tight"> | |
<span class="bg-gradient-to-r from-purple-400 to-pink-500 bg-clip-text text-transparent">Professeur ABIBA</span><br> | |
<span class="text-xl md:text-2xl">Marabout Voyant Médium</span> | |
</h1> | |
<p class="text-lg md:text-xl mb-8 text-gray-300"> | |
Découvrez les secrets de votre avenir et transformez votre vie grâce à mes dons exceptionnels de voyance et de médiumnité. | |
</p> | |
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4"> | |
<a href="tel:0604047980" class="bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-6 rounded-full transition flex items-center justify-center"> | |
<i class="fas fa-phone mr-2"></i> 06 04 04 79 80 | |
</a> | |
<a href="#contact" class="bg-transparent border-2 border-purple-400 hover:bg-purple-900 text-white font-bold py-3 px-6 rounded-full transition flex items-center justify-center"> | |
<i class="fas fa-envelope mr-2"></i> Contactez-moi | |
</a> | |
</div> | |
</div> | |
<div class="md:w-1/2 flex justify-center relative"> | |
<div class="crystal-ball w-64 h-64 md:w-80 md:h-80 rounded-full bg-gradient-to-br from-purple-900 to-blue-900 shadow-2xl flex items-center justify-center relative overflow-hidden"> | |
<div class="absolute inset-0 flex items-center justify-center"> | |
<div class="w-3/4 h-3/4 rounded-full bg-black bg-opacity-30 flex items-center justify-center"> | |
<div class="text-center px-4"> | |
<i class="fas fa-eye text-4xl md:text-5xl text-purple-300 mb-2"></i> | |
<p class="text-purple-100 font-medium">Je vois votre avenir</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Services Section --> | |
<section id="services" class="py-20 bg-gray-800"> | |
<div class="container mx-auto px-4"> | |
<div class="text-center mb-16"> | |
<h2 class="text-3xl md:text-4xl font-bold mb-4">Mes Services Spirituels</h2> | |
<div class="w-20 h-1 bg-purple-500 mx-auto mb-6"></div> | |
<p class="max-w-2xl mx-auto text-gray-300"> | |
Avec plus de 25 ans d'expérience, je mets mes dons au service de votre bien-être et de votre épanouissement. | |
</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-gray-900 rounded-xl p-8 transition duration-500 hover:bg-gray-800"> | |
<div class="w-16 h-16 bg-purple-600 rounded-full flex items-center justify-center mb-6 mx-auto"> | |
<i class="fas fa-heart text-2xl text-white"></i> | |
</div> | |
<h3 class="text-xl font-bold mb-4 text-center">Retour d'affection</h3> | |
<p class="text-gray-300"> | |
Retrouvez l'amour perdu ou attirez la personne de vos rêves grâce à des rituels puissants et personnalisés. | |
</p> | |
</div> | |
<!-- Service 2 --> | |
<div class="service-card bg-gray-900 rounded-xl p-8 transition duration-500 hover:bg-gray-800"> | |
<div class="w-16 h-16 bg-purple-600 rounded-full flex items-center justify-center mb-6 mx-auto"> | |
<i class="fas fa-hand-holding-usd text-2xl text-white"></i> | |
</div> | |
<h3 class="text-xl font-bold mb-4 text-center">Prospérité financière</h3> | |
<p class="text-gray-300"> | |
Décuplez vos opportunités financières et brisez les blocages qui vous empêchent de réussir. | |
</p> | |
</div> | |
<!-- Service 3 --> | |
<div class="service-card bg-gray-900 rounded-xl p-8 transition duration-500 hover:bg-gray-800"> | |
<div class="w-16 h-16 bg-purple-600 rounded-full flex items-center justify-center mb-6 mx-auto"> | |
<i class="fas fa-shield-alt text-2xl text-white"></i> | |
</div> | |
<h3 class="text-xl font-bold mb-4 text-center">Protection spirituelle</h3> | |
<p class="text-gray-300"> | |
Protégez-vous contre les énergies négatives, les mauvais sorts et les influences néfastes. | |
</p> | |
</div> | |
<!-- Service 4 --> | |
<div class="service-card bg-gray-900 rounded-xl p-8 transition duration-500 hover:bg-gray-800"> | |
<div class="w-16 h-16 bg-purple-600 rounded-full flex items-center justify-center mb-6 mx-auto"> | |
<i class="fas fa-briefcase text-2xl text-white"></i> | |
</div> | |
<h3 class="text-xl font-bold mb-4 text-center">Réussite professionnelle</h3> | |
<p class="text-gray-300"> | |
Obtenez la promotion que vous méritez ou trouvez le travail idéal grâce à des rituels ciblés. | |
</p> | |
</div> | |
<!-- Service 5 --> | |
<div class="service-card bg-gray-900 rounded-xl p-8 transition duration-500 hover:bg-gray-800"> | |
<div class="w-16 h-16 bg-purple-600 rounded-full flex items-center justify-center mb-6 mx-auto"> | |
<i class="fas fa-star text-2xl text-white"></i> | |
</div> | |
<h3 class="text-xl font-bold mb-4 text-center">Voyance précise</h3> | |
<p class="text-gray-300"> | |
Des consultations de voyance détaillées pour éclairer votre chemin et prendre les bonnes décisions. | |
</p> | |
</div> | |
<!-- Service 6 --> | |
<div class="service-card bg-gray-900 rounded-xl p-8 transition duration-500 hover:bg-gray-800"> | |
<div class="w-16 h-16 bg-purple-600 rounded-full flex items-center justify-center mb-6 mx-auto"> | |
<i class="fas fa-users text-2xl text-white"></i> | |
</div> | |
<h3 class="text-xl font-bold mb-4 text-center">Résolution de conflits</h3> | |
<p class="text-gray-300"> | |
Retrouvez l'harmonie dans vos relations familiales, amicales ou professionnelles. | |
</p> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- About Section --> | |
<section id="a-propos" class="py-20 bg-gray-900"> | |
<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"> | |
<div class="relative"> | |
<img src="https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Professeur ABIBA" class="rounded-xl shadow-2xl w-full"> | |
<div class="absolute -bottom-5 -right-5 bg-purple-600 text-white p-4 rounded-lg shadow-lg"> | |
<p class="text-2xl font-bold">25+</p> | |
<p class="text-sm">Ans d'expérience</p> | |
</div> | |
</div> | |
</div> | |
<div class="lg:w-1/2 lg:pl-10"> | |
<h2 class="text-3xl md:text-4xl font-bold mb-6">Qui est le Professeur ABIBA ?</h2> | |
<div class="w-20 h-1 bg-purple-500 mb-6"></div> | |
<p class="text-gray-300 mb-6"> | |
Héritier d'une longue lignée de marabouts et de voyants, le Professeur ABIBA a développé dès son plus jeune âge des dons exceptionnels de médiumnité et de clairvoyance. | |
</p> | |
<p class="text-gray-300 mb-6"> | |
Après des années d'études des sciences occultes en Afrique et en Europe, il a perfectionné ses techniques pour offrir à ses clients des solutions concrètes et efficaces à leurs problèmes. | |
</p> | |
<p class="text-gray-300 mb-8"> | |
Sa réputation n'est plus à faire, avec des milliers de personnes aidées à travers le monde. Son approche unique combine tradition ancestrale et méthodes modernes pour des résultats rapides et durables. | |
</p> | |
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4 mb-8"> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 bg-purple-600 rounded-full flex items-center justify-center mr-4"> | |
<i class="fas fa-check text-white"></i> | |
</div> | |
<p>Consultations privées</p> | |
</div> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 bg-purple-600 rounded-full flex items-center justify-center mr-4"> | |
<i class="fas fa-check text-white"></i> | |
</div> | |
<p>Discret et professionnel</p> | |
</div> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 bg-purple-600 rounded-full flex items-center justify-center mr-4"> | |
<i class="fas fa-check text-white"></i> | |
</div> | |
<p>Résultats garantis</p> | |
</div> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 bg-purple-600 rounded-full flex items-center justify-center mr-4"> | |
<i class="fas fa-check text-white"></i> | |
</div> | |
<p>Suivi personnalisé</p> | |
</div> | |
</div> | |
<a href="#contact" class="inline-block bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-6 rounded-full transition"> | |
Prendre rendez-vous | |
</a> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Testimonials Section --> | |
<section id="temoignages" class="py-20 bg-gray-800"> | |
<div class="container mx-auto px-4"> | |
<div class="text-center mb-16"> | |
<h2 class="text-3xl md:text-4xl font-bold mb-4">Témoignages</h2> | |
<div class="w-20 h-1 bg-purple-500 mx-auto mb-6"></div> | |
<p class="max-w-2xl mx-auto text-gray-300"> | |
Découvrez ce que disent ceux qui ont fait confiance au Professeur ABIBA | |
</p> | |
</div> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
<!-- Testimonial 1 --> | |
<div class="testimonial-card rounded-xl p-8 border border-gray-700"> | |
<div class="flex items-center mb-6"> | |
<div class="w-12 h-12 rounded-full bg-purple-600 flex items-center justify-center mr-4"> | |
<i class="fas fa-user text-white"></i> | |
</div> | |
<div> | |
<h4 class="font-bold">Sophie D.</h4> | |
<p class="text-sm text-gray-400">Paris</p> | |
</div> | |
</div> | |
<p class="text-gray-300 italic"> | |
"Après 3 ans de séparation, mon ex est revenu vers moi seulement 2 semaines après le rituel du Professeur ABIBA. Je n'en revenais pas ! Merci infiniment." | |
</p> | |
<div class="mt-4 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> | |
<!-- Testimonial 2 --> | |
<div class="testimonial-card rounded-xl p-8 border border-gray-700"> | |
<div class="flex items-center mb-6"> | |
<div class="w-12 h-12 rounded-full bg-purple-600 flex items-center justify-center mr-4"> | |
<i class="fas fa-user text-white"></i> | |
</div> | |
<div> | |
<h4 class="font-bold">Marc L.</h4> | |
<p class="text-sm text-gray-400">Lyon</p> | |
</div> | |
</div> | |
<p class="text-gray-300 italic"> | |
"La consultation de voyance était d'une précision troublante. Tout ce qu'il a prédit s'est réalisé à la lettre. Je recommande à 100%." | |
</p> | |
<div class="mt-4 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> | |
<!-- Testimonial 3 --> | |
<div class="testimonial-card rounded-xl p-8 border border-gray-700"> | |
<div class="flex items-center mb-6"> | |
<div class="w-12 h-12 rounded-full bg-purple-600 flex items-center justify-center mr-4"> | |
<i class="fas fa-user text-white"></i> | |
</div> | |
<div> | |
<h4 class="font-bold">Amélie T.</h4> | |
<p class="text-sm text-gray-400">Marseille</p> | |
</div> | |
</div> | |
<p class="text-gray-300 italic"> | |
"J'avais des problèmes financiers depuis des années. Après le travail du Professeur, j'ai décroché un meilleur emploi et mes dettes se sont résorbées comme par magie." | |
</p> | |
<div class="mt-4 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> | |
</div> | |
</section> | |
<!-- Contact Section --> | |
<section id="contact" class="py-20 bg-gray-900"> | |
<div class="container mx-auto px-4"> | |
<div class="text-center mb-16"> | |
<h2 class="text-3xl md:text-4xl font-bold mb-4">Contactez le Professeur ABIBA</h2> | |
<div class="w-20 h-1 bg-purple-500 mx-auto mb-6"></div> | |
<p class="max-w-2xl mx-auto text-gray-300"> | |
Prenez rendez-vous pour une consultation privée et découvrez comment je peux vous aider. | |
</p> | |
</div> | |
<div class="flex flex-col lg:flex-row"> | |
<div class="lg:w-1/2 mb-10 lg:mb-0 lg:pr-10"> | |
<div class="bg-gray-800 rounded-xl p-8 h-full"> | |
<h3 class="text-2xl font-bold mb-6">Informations de contact</h3> | |
<div class="space-y-6"> | |
<div class="flex items-start"> | |
<div class="w-10 h-10 bg-purple-600 rounded-full flex items-center justify-center mr-4 mt-1"> | |
<i class="fas fa-phone text-white"></i> | |
</div> | |
<div> | |
<h4 class="font-bold">Téléphone</h4> | |
<a href="tel:0604047980" class="text-purple-400 hover:text-purple-300">06 04 04 79 80</a> | |
</div> | |
</div> | |
<div class="flex items-start"> | |
<div class="w-10 h-10 bg-purple-600 rounded-full flex items-center justify-center mr-4 mt-1"> | |
<i class="fas fa-envelope text-white"></i> | |
</div> | |
<div> | |
<h4 class="font-bold">Email</h4> | |
<a href="mailto:[email protected]" class="text-purple-400 hover:text-purple-300">[email protected]</a> | |
</div> | |
</div> | |
<div class="flex items-start"> | |
<div class="w-10 h-10 bg-purple-600 rounded-full flex items-center justify-center mr-4 mt-1"> | |
<i class="fas fa-map-marker-alt text-white"></i> | |
</div> | |
<div> | |
<h4 class="font-bold">Consultations</h4> | |
<p>En cabinet (Paris) ou à distance par téléphone</p> | |
</div> | |
</div> | |
<div class="flex items-start"> | |
<div class="w-10 h-10 bg-purple-600 rounded-full flex items-center justify-center mr-4 mt-1"> | |
<i class="fas fa-clock text-white"></i> | |
</div> | |
<div> | |
<h4 class="font-bold">Horaires</h4> | |
<p>Du lundi au samedi de 9h à 20h</p> | |
</div> | |
</div> | |
</div> | |
<div class="mt-10"> | |
<h4 class="font-bold mb-4">Suivez-moi</h4> | |
<div class="flex space-x-4"> | |
<a href="#" class="w-10 h-10 bg-gray-700 hover:bg-purple-600 rounded-full flex items-center justify-center transition"> | |
<i class="fab fa-facebook-f"></i> | |
</a> | |
<a href="#" class="w-10 h-10 bg-gray-700 hover:bg-purple-600 rounded-full flex items-center justify-center transition"> | |
<i class="fab fa-instagram"></i> | |
</a> | |
<a href="#" class="w-10 h-10 bg-gray-700 hover:bg-purple-600 rounded-full flex items-center justify-center transition"> | |
<i class="fab fa-youtube"></i> | |
</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="lg:w-1/2 lg:pl-10"> | |
<div class="bg-gray-800 rounded-xl p-8"> | |
<h3 class="text-2xl font-bold mb-6">Envoyez un message</h3> | |
<form id="contact-form" class="space-y-4"> | |
<div> | |
<label for="name" class="block mb-2">Votre nom</label> | |
<input type="text" id="name" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
</div> | |
<div> | |
<label for="email" class="block mb-2">Votre email</label> | |
<input type="email" id="email" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
</div> | |
<div> | |
<label for="phone" class="block mb-2">Votre téléphone</label> | |
<input type="tel" id="phone" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
</div> | |
<div> | |
<label for="service" class="block mb-2">Service intéressé</label> | |
<select id="service" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500"> | |
<option value="">Sélectionnez un service</option> | |
<option value="voyance">Voyance</option> | |
<option value="retour-affection">Retour d'affection</option> | |
<option value="prosperite">Prospérité financière</option> | |
<option value="protection">Protection spirituelle</option> | |
<option value="autre">Autre</option> | |
</select> | |
</div> | |
<div> | |
<label for="message" class="block mb-2">Votre message</label> | |
<textarea id="message" rows="4" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-purple-500"></textarea> | |
</div> | |
<button type="submit" class="w-full bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-6 rounded-lg transition"> | |
Envoyer le message | |
</button> | |
</form> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Floating WhatsApp Button --> | |
<a href="https://wa.me/33604047980" class="fixed bottom-8 right-8 floating-button w-16 h-16 bg-green-500 rounded-full flex items-center justify-center text-white text-2xl shadow-xl z-50"> | |
<i class="fab fa-whatsapp"></i> | |
</a> | |
<!-- Footer --> | |
<footer class="bg-black py-10"> | |
<div class="container mx-auto px-4"> | |
<div class="flex flex-col md:flex-row justify-between items-center"> | |
<div class="mb-6 md:mb-0"> | |
<div class="flex items-center space-x-2"> | |
<div class="w-10 h-10 rounded-full bg-purple-600 flex items-center justify-center"> | |
<i class="fas fa-moon text-white text-xl"></i> | |
</div> | |
<h2 class="text-xl font-bold bg-gradient-to-r from-purple-400 to-pink-500 bg-clip-text text-transparent">Professeur ABIBA</h2> | |
</div> | |
<p class="text-gray-400 mt-2">Marabout Voyant Médium - Solutions spirituelles depuis 1998</p> | |
</div> | |
<div class="text-center md:text-right"> | |
<p class="text-gray-400">© 2023 Professeur ABIBA. Tous droits réservés.</p> | |
<div class="flex justify-center md:justify-end space-x-4 mt-2"> | |
<a href="#" class="text-gray-400 hover:text-purple-400">Mentions légales</a> | |
<a href="#" class="text-gray-400 hover:text-purple-400">Confidentialité</a> | |
</div> | |
</div> | |
</div> | |
</div> | |
</footer> | |
<script> | |
// Mobile menu toggle | |
const menuBtn = document.getElementById('menu-btn'); | |
const mobileMenu = document.getElementById('mobile-menu'); | |
menuBtn.addEventListener('click', () => { | |
mobileMenu.classList.toggle('hidden'); | |
}); | |
// Smooth scrolling for anchor links | |
document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
anchor.addEventListener('click', function (e) { | |
e.preventDefault(); | |
const targetId = this.getAttribute('href'); | |
if (targetId === '#') return; | |
const targetElement = document.querySelector(targetId); | |
if (targetElement) { | |
window.scrollTo({ | |
top: targetElement.offsetTop - 80, | |
behavior: 'smooth' | |
}); | |
// Close mobile menu if open | |
mobileMenu.classList.add('hidden'); | |
} | |
}); | |
}); | |
// Form submission | |
const contactForm = document.getElementById('contact-form'); | |
if (contactForm) { | |
contactForm.addEventListener('submit', function(e) { | |
e.preventDefault(); | |
// Here you would normally send the form data to your server | |
// For this example, we'll just show an alert | |
alert('Merci pour votre message! Le Professeur ABIBA vous contactera rapidement.'); | |
// Reset form | |
this.reset(); | |
}); | |
} | |
</script> | |
</body> | |
</html> | |