flysmart / index.html
feamon's picture
rend fonctionnel les boutons premium et connexion avec les contenus appropriés - Initial Deployment
095a860 verified
Raw History Blame Contribute Delete
18.2 kB
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FlySmart AI - Trouvez les meilleures offres de vols</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>
.search-shadow {
box-shadow: 0 10px 30px rgba(0, 114, 255, 0.2);
}
.destination-card:hover {
transform: translateY(-5px);
transition: all 0.3s ease;
}
.flight-card:hover {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.price-tag {
clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%);
}
.animated-bg {
animation: gradient 15s ease infinite;
background-size: 400% 400%;
}
@keyframes gradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
</style>
</head>
<body class="font-sans bg-gray-50">
<!-- Header -->
<header class="bg-white shadow-sm sticky top-0 z-50">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center">
<div class="w-10 h-10 bg-blue-600 rounded-lg flex items-center justify-center mr-3">
<i class="fas fa-plane text-white text-xl"></i>
</div>
<h1 class="text-2xl font-bold text-blue-600">FlySmart<span class="text-blue-400">AI</span></h1>
</div>
<nav class="hidden md:flex space-x-8">
<a href="#" class="text-gray-700 hover:text-blue-600 font-medium">Accueil</a>
<a href="#destinations" class="text-gray-700 hover:text-blue-600 font-medium">Destinations</a>
<a href="#premium" class="text-gray-700 hover:text-blue-600 font-medium">Premium</a>
<a href="#connexion" class="text-gray-700 hover:text-blue-600 font-medium">Connexion</a>
</nav>
<button class="md:hidden text-gray-700">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
</header>
<!-- Hero Section -->
<section class="bg-gradient-to-r from-blue-500 to-blue-600 text-white py-16 animated-bg">
<div class="container mx-auto px-4">
<div class="max-w-3xl mx-auto text-center">
<h2 class="text-4xl md:text-5xl font-bold mb-6">Voyagez malin avec l'IA</h2>
<p class="text-xl mb-8">Notre intelligence artificielle scanne le web pour trouver les meilleures offres de vols adaptées à votre budget.</p>
<!-- Search Form -->
<div class="bg-white rounded-xl p-6 search-shadow">
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<div class="relative">
<label for="from" class="block text-gray-700 text-sm font-medium mb-1 text-left">D'où partez-vous ?</label>
<input type="text" id="from" placeholder="Ville ou aéroport" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<i class="fas fa-map-marker-alt absolute right-3 top-10 text-gray-400"></i>
</div>
<div class="relative">
<label for="to" class="block text-gray-700 text-sm font-medium mb-1 text-left">Où voulez-vous aller ?</label>
<input type="text" id="to" placeholder="Destination" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<i class="fas fa-globe-americas absolute right-3 top-10 text-gray-400"></i>
</div>
<div class="relative">
<label for="dates" class="block text-gray-700 text-sm font-medium mb-1 text-left">Dates</label>
<input type="text" id="dates" placeholder="Dates flexibles" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<i class="fas fa-calendar-alt absolute right-3 top-10 text-gray-400"></i>
</div>
</div>
<button class="mt-6 w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-lg transition duration-300">
<i class="fas fa-search mr-2"></i> Trouve-moi les meilleures offres
</button>
</div>
</div>
</div>
</section>
<!-- Trending Destinations -->
<section id="destinations" class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12">Destinations tendances</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Destination 1 -->
<div class="destination-card bg-white rounded-xl overflow-hidden shadow-md cursor-pointer">
<div class="relative h-48">
<img src="https://images.unsplash.com/photo-1499856871958-5b9627545d1a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Paris" class="w-full h-full object-cover">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
<h3 class="text-white font-bold text-xl">Paris</h3>
<div class="flex items-center text-white text-sm">
<span>À partir de</span>
<span class="ml-2 font-bold text-lg">129€</span>
</div>
</div>
</div>
</div>
<!-- Destination 2 -->
<div class="destination-card bg-white rounded-xl overflow-hidden shadow-md cursor-pointer">
<div class="relative h-48">
<img src="https://images.unsplash.com/photo-1538970272646-f61fabb3bfdf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Bangkok" class="w-full h-full object-cover">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
<h3 class="text-white font-bold text-xl">Bangkok</h3>
<div class="flex items-center text-white text-sm">
<span>À partir de</span>
<span class="ml-2 font-bold text-lg">499€</span>
</div>
</div>
</div>
</div>
<!-- Destination 3 -->
<div class="destination-card bg-white rounded-xl overflow-hidden shadow-md cursor-pointer">
<div class="relative h-48">
<img src="https://images.unsplash.com/photo-1518391846015-55a9cc003b25?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="New York" class="w-full h-full object-cover">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
<h3 class="text-white font-bold text-xl">New York</h3>
<div class="flex items-center text-white text-sm">
<span>À partir de</span>
<span class="ml-2 font-bold text-lg">399€</span>
</div>
</div>
</div>
</div>
<!-- Destination 4 -->
<div class="destination-card bg-white rounded-xl overflow-hidden shadow-md cursor-pointer">
<div class="relative h-48">
<img src="https://images.unsplash.com/photo-1523482580672-f109ba8cb9be?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Tokyo" class="w-full h-full object-cover">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
<h3 class="text-white font-bold text-xl">Tokyo</h3>
<div class="flex items-center text-white text-sm">
<span>À partir de</span>
<span class="ml-2 font-bold text-lg">599€</span>
</div>
</div>
</div>
</div>
</div>
<div class="text-center mt-10">
<button class="px-6 py-3 border border-blue-600 text-blue-600 font-medium rounded-lg hover:bg-blue-50 transition duration-300">
Voir plus de destinations
</button>
</div>
</div>
</section>
<!-- How It Works -->
<section class="py-16 bg-gray-50">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12">Comment ça marche ?</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Step 1 -->
<div class="bg-white p-6 rounded-xl shadow-sm text-center">
<div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4">
<span class="text-blue-600 text-2xl font-bold">1</span>
</div>
<h3 class="text-xl font-bold mb-3">Entrez vos critères</h3>
<p class="text-gray-600">Indiquez votre ville de départ, destination et dates de voyage (ou laissez flexible).</p>
</div>
<!-- Step 2 -->
<div class="bg-white p-6 rounded-xl shadow-sm text-center">
<div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4">
<span class="text-blue-600 text-2xl font-bold">2</span>
</div>
<h3 class="text-xl font-bold mb-3">Notre IA analyse</h3>
<p class="text-gray-600">Notre intelligence artificielle scanne des milliers d'offres en temps réel pour trouver les meilleurs prix.</p>
</div>
<!-- Step 3 -->
<div class="bg-white p-6 rounded-xl shadow-sm text-center">
<div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4">
<span class="text-blue-600 text-2xl font-bold">3</span>
</div>
<h3 class="text-xl font-bold mb-3">Réservez facilement</h3>
<p class="text-gray-600">Choisissez votre vol préféré et être redirigé vers le site partenaire pour finaliser votre réservation.</p>
</div>
</div>
</div>
</section>
<!-- Premium Section -->
<section id="premium" class="py-16 bg-gradient-to-r from-blue-600 to-blue-700 text-white">
<div class="container mx-auto px-4">
<div class="max-w-4xl mx-auto text-center">
<h2 class="text-3xl md:text-4xl font-bold mb-6">Passez à FlySmart Premium</h2>
<p class="text-xl mb-8">Accédez à des fonctionnalités exclusives et économisez encore plus sur vos voyages.</p>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mt-10">
<!-- Premium Feature 1 -->
<div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm">
<div class="w-12 h-12 bg-white bg-opacity-20 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-bolt text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-3">Accès prioritaire</h3>
<p>Soyez parmi les premiers à voir les nouvelles offres avant tout le monde.</p>
</div>
<!-- Premium Feature 2 -->
<div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm">
<div class="w-12 h-12 bg-white bg-opacity-20 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-percentage text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-3">Jusqu'à -30%</h3>
<p>Des réductions exclusives sur les vols et hôtels sélectionnés.</p>
</div>
<!-- Premium Feature 3 -->
<div class="bg-white bg-opacity-10 p-6 rounded-xl backdrop-blur-sm">
<div class="w-12 h-12 bg-white bg-opacity-20 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-headset text-xl"></i>
</div>
<h3 class="text-xl font-bold mb-3">Support premium</h3>
<p>Assistance 24/7 avec nos experts voyages dédiés.</p>
</div>
</div>
<button class="mt-10 bg-white text-blue-600 hover:bg-gray-100 font-bold py-3 px-8 rounded-lg transition duration-300">
Essai gratuit 30 jours
</button>
</div>
</div>
</section>
<!-- Connexion Modal -->
<div id="connexion" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden">
<div class="bg-white rounded-xl p-8 max-w-md w-full mx-4">
<div class="flex justify-between items-center mb-6">
<h3 class="text-2xl font-bold text-gray-800">Connexion</h3>
<button class="text-gray-500 hover:text-gray-700" onclick="document.getElementById('connexion').classList.add('hidden')">
<i class="fas fa-times"></i>
</button>
</div>
<form>
<div class="mb-4">
<label class="block text-gray-700 text-sm font-medium mb-2">Email</label>
<input type="email" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="votre@email.com">
</div>
<div class="mb-6">
<label class="block text-gray-700 text-sm font-medium mb-2">Mot de passe</label>
<input type="password" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="••••••••">
</div>
<button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-lg transition duration-300">
Se connecter
</button>
<div class="mt-4 text-center text-sm text-gray-600">
<a href="#" class="text-blue-600 hover:underline">Mot de passe oublié ?</a>
</div>
<div class="mt-6 pt-6 border-t border-gray-200 text-center">
<p class="text-gray-600">Pas encore membre ? <a href="#" class="text-blue-600 font-medium hover:underline">Créer un compte</a></p>
</div>
</form>
</div>
</div>
<!-- Flight Search Results (Example) -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold mb-6">Résultats pour Paris → New York</h2>
<!-- Filters -->
<div class="bg-gray-50 p-4 rounded-lg mb-8">
<div class="flex flex-wrap items-center gap-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Prix max</label>
<select class="w-full md:w-40 px-3 py-2 border border-gray-300 rounded-md">
<option>Tous</option>
<option>Moins de 300€</option>
<option>Moins de 500€</option>
<option>Moins de 1000€</option>
</select>
<script>
// Gestion de la modale de connexion
document.querySelector('a[href="#connexion"]').addEventListener('click', function(e) {
e.preventDefault();
document.getElementById('connexion').classList.remove('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://deepsite.hf.co/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://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=feamon/flysmart" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>