feamon commited on
Commit
2d7159b
·
verified ·
1 Parent(s): 82c1fae

undefined - Initial Deployment

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +216 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Flysmart
3
- emoji: 🏢
4
- colorFrom: red
5
- colorTo: red
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: flysmart
3
+ emoji: 🐳
4
+ colorFrom: gray
5
+ colorTo: pink
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,216 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>FlySmart AI - Trouvez les meilleures offres de vols</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .search-shadow {
11
+ box-shadow: 0 10px 30px rgba(0, 114, 255, 0.2);
12
+ }
13
+ .destination-card:hover {
14
+ transform: translateY(-5px);
15
+ transition: all 0.3s ease;
16
+ }
17
+ .flight-card:hover {
18
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
19
+ transition: all 0.3s ease;
20
+ }
21
+ .price-tag {
22
+ clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%);
23
+ }
24
+ .animated-bg {
25
+ animation: gradient 15s ease infinite;
26
+ background-size: 400% 400%;
27
+ }
28
+ @keyframes gradient {
29
+ 0% { background-position: 0% 50%; }
30
+ 50% { background-position: 100% 50%; }
31
+ 100% { background-position: 0% 50%; }
32
+ }
33
+ </style>
34
+ </head>
35
+ <body class="font-sans bg-gray-50">
36
+ <!-- Header -->
37
+ <header class="bg-white shadow-sm sticky top-0 z-50">
38
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
39
+ <div class="flex items-center">
40
+ <div class="w-10 h-10 bg-blue-600 rounded-lg flex items-center justify-center mr-3">
41
+ <i class="fas fa-plane text-white text-xl"></i>
42
+ </div>
43
+ <h1 class="text-2xl font-bold text-blue-600">FlySmart<span class="text-blue-400">AI</span></h1>
44
+ </div>
45
+ <nav class="hidden md:flex space-x-8">
46
+ <a href="#" class="text-gray-700 hover:text-blue-600 font-medium">Accueil</a>
47
+ <a href="#destinations" class="text-gray-700 hover:text-blue-600 font-medium">Destinations</a>
48
+ <a href="#premium" class="text-gray-700 hover:text-blue-600 font-medium">Premium</a>
49
+ <a href="#" class="text-gray-700 hover:text-blue-600 font-medium">Connexion</a>
50
+ </nav>
51
+ <button class="md:hidden text-gray-700">
52
+ <i class="fas fa-bars text-2xl"></i>
53
+ </button>
54
+ </div>
55
+ </header>
56
+
57
+ <!-- Hero Section -->
58
+ <section class="bg-gradient-to-r from-blue-500 to-blue-600 text-white py-16 animated-bg">
59
+ <div class="container mx-auto px-4">
60
+ <div class="max-w-3xl mx-auto text-center">
61
+ <h2 class="text-4xl md:text-5xl font-bold mb-6">Voyagez malin avec l'IA</h2>
62
+ <p class="text-xl mb-8">Notre intelligence artificielle scanne le web pour trouver les meilleures offres de vols adaptées à votre budget.</p>
63
+
64
+ <!-- Search Form -->
65
+ <div class="bg-white rounded-xl p-6 search-shadow">
66
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
67
+ <div class="relative">
68
+ <label for="from" class="block text-gray-700 text-sm font-medium mb-1 text-left">D'où partez-vous ?</label>
69
+ <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">
70
+ <i class="fas fa-map-marker-alt absolute right-3 top-10 text-gray-400"></i>
71
+ </div>
72
+ <div class="relative">
73
+ <label for="to" class="block text-gray-700 text-sm font-medium mb-1 text-left">Où voulez-vous aller ?</label>
74
+ <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">
75
+ <i class="fas fa-globe-americas absolute right-3 top-10 text-gray-400"></i>
76
+ </div>
77
+ <div class="relative">
78
+ <label for="dates" class="block text-gray-700 text-sm font-medium mb-1 text-left">Dates</label>
79
+ <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">
80
+ <i class="fas fa-calendar-alt absolute right-3 top-10 text-gray-400"></i>
81
+ </div>
82
+ </div>
83
+ <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">
84
+ <i class="fas fa-search mr-2"></i> Trouve-moi les meilleures offres
85
+ </button>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ </section>
90
+
91
+ <!-- Trending Destinations -->
92
+ <section id="destinations" class="py-16 bg-white">
93
+ <div class="container mx-auto px-4">
94
+ <h2 class="text-3xl font-bold text-center mb-12">Destinations tendances</h2>
95
+
96
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
97
+ <!-- Destination 1 -->
98
+ <div class="destination-card bg-white rounded-xl overflow-hidden shadow-md cursor-pointer">
99
+ <div class="relative h-48">
100
+ <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">
101
+ <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
102
+ <h3 class="text-white font-bold text-xl">Paris</h3>
103
+ <div class="flex items-center text-white text-sm">
104
+ <span>À partir de</span>
105
+ <span class="ml-2 font-bold text-lg">129€</span>
106
+ </div>
107
+ </div>
108
+ </div>
109
+ </div>
110
+
111
+ <!-- Destination 2 -->
112
+ <div class="destination-card bg-white rounded-xl overflow-hidden shadow-md cursor-pointer">
113
+ <div class="relative h-48">
114
+ <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">
115
+ <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
116
+ <h3 class="text-white font-bold text-xl">Bangkok</h3>
117
+ <div class="flex items-center text-white text-sm">
118
+ <span>À partir de</span>
119
+ <span class="ml-2 font-bold text-lg">499€</span>
120
+ </div>
121
+ </div>
122
+ </div>
123
+ </div>
124
+
125
+ <!-- Destination 3 -->
126
+ <div class="destination-card bg-white rounded-xl overflow-hidden shadow-md cursor-pointer">
127
+ <div class="relative h-48">
128
+ <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">
129
+ <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
130
+ <h3 class="text-white font-bold text-xl">New York</h3>
131
+ <div class="flex items-center text-white text-sm">
132
+ <span>À partir de</span>
133
+ <span class="ml-2 font-bold text-lg">399€</span>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </div>
138
+
139
+ <!-- Destination 4 -->
140
+ <div class="destination-card bg-white rounded-xl overflow-hidden shadow-md cursor-pointer">
141
+ <div class="relative h-48">
142
+ <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">
143
+ <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
144
+ <h3 class="text-white font-bold text-xl">Tokyo</h3>
145
+ <div class="flex items-center text-white text-sm">
146
+ <span>À partir de</span>
147
+ <span class="ml-2 font-bold text-lg">599€</span>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ </div>
152
+ </div>
153
+
154
+ <div class="text-center mt-10">
155
+ <button class="px-6 py-3 border border-blue-600 text-blue-600 font-medium rounded-lg hover:bg-blue-50 transition duration-300">
156
+ Voir plus de destinations
157
+ </button>
158
+ </div>
159
+ </div>
160
+ </section>
161
+
162
+ <!-- How It Works -->
163
+ <section class="py-16 bg-gray-50">
164
+ <div class="container mx-auto px-4">
165
+ <h2 class="text-3xl font-bold text-center mb-12">Comment ça marche ?</h2>
166
+
167
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
168
+ <!-- Step 1 -->
169
+ <div class="bg-white p-6 rounded-xl shadow-sm text-center">
170
+ <div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4">
171
+ <span class="text-blue-600 text-2xl font-bold">1</span>
172
+ </div>
173
+ <h3 class="text-xl font-bold mb-3">Entrez vos critères</h3>
174
+ <p class="text-gray-600">Indiquez votre ville de départ, destination et dates de voyage (ou laissez flexible).</p>
175
+ </div>
176
+
177
+ <!-- Step 2 -->
178
+ <div class="bg-white p-6 rounded-xl shadow-sm text-center">
179
+ <div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4">
180
+ <span class="text-blue-600 text-2xl font-bold">2</span>
181
+ </div>
182
+ <h3 class="text-xl font-bold mb-3">Notre IA analyse</h3>
183
+ <p class="text-gray-600">Notre intelligence artificielle scanne des milliers d'offres en temps réel pour trouver les meilleurs prix.</p>
184
+ </div>
185
+
186
+ <!-- Step 3 -->
187
+ <div class="bg-white p-6 rounded-xl shadow-sm text-center">
188
+ <div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4">
189
+ <span class="text-blue-600 text-2xl font-bold">3</span>
190
+ </div>
191
+ <h3 class="text-xl font-bold mb-3">Réservez facilement</h3>
192
+ <p class="text-gray-600">Choisissez votre vol préféré et être redirigé vers le site partenaire pour finaliser votre réservation.</p>
193
+ </div>
194
+ </div>
195
+ </div>
196
+ </section>
197
+
198
+ <!-- Flight Search Results (Example) -->
199
+ <section class="py-16 bg-white">
200
+ <div class="container mx-auto px-4">
201
+ <h2 class="text-3xl font-bold mb-6">Résultats pour Paris → New York</h2>
202
+
203
+ <!-- Filters -->
204
+ <div class="bg-gray-50 p-4 rounded-lg mb-8">
205
+ <div class="flex flex-wrap items-center gap-4">
206
+ <div>
207
+ <label class="block text-sm font-medium text-gray-700 mb-1">Prix max</label>
208
+ <select class="w-full md:w-40 px-3 py-2 border border-gray-300 rounded-md">
209
+ <option>Tous</option>
210
+ <option>Moins de 300€</option>
211
+ <option>Moins de 500€</option>
212
+ <option>Moins de 1000€</option>
213
+ </select>
214
+
215
+ <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>
216
+ </html>
prompts.txt ADDED
File without changes