ValerGa commited on
Commit
ce2f189
·
verified ·
1 Parent(s): 08df470

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +358 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Madeira Guide
3
- emoji: 🏢
4
- colorFrom: purple
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: madeira-guide
3
+ emoji: 🐳
4
+ colorFrom: red
5
+ colorTo: purple
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,358 @@
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="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Madeira Guide - Your Island Companion</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
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background-color: #f8fafc;
15
+ }
16
+
17
+ .gradient-bg {
18
+ background: linear-gradient(135deg, #38b2ac 0%, #0ea5e9 100%);
19
+ }
20
+
21
+ .card-hover {
22
+ transition: all 0.3s ease;
23
+ }
24
+
25
+ .card-hover:hover {
26
+ transform: translateY(-5px);
27
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
28
+ }
29
+
30
+ .map-container {
31
+ height: 300px;
32
+ border-radius: 1rem;
33
+ overflow: hidden;
34
+ position: relative;
35
+ }
36
+
37
+ .map-overlay {
38
+ position: absolute;
39
+ bottom: 0;
40
+ left: 0;
41
+ right: 0;
42
+ background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
43
+ color: white;
44
+ padding: 1.5rem;
45
+ }
46
+
47
+ .nav-item {
48
+ position: relative;
49
+ }
50
+
51
+ .nav-item::after {
52
+ content: '';
53
+ position: absolute;
54
+ bottom: -5px;
55
+ left: 0;
56
+ width: 0;
57
+ height: 2px;
58
+ background-color: #38b2ac;
59
+ transition: width 0.3s ease;
60
+ }
61
+
62
+ .nav-item:hover::after {
63
+ width: 100%;
64
+ }
65
+
66
+ .search-bar {
67
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
68
+ }
69
+
70
+ .category-chip {
71
+ transition: all 0.2s ease;
72
+ }
73
+
74
+ .category-chip:hover {
75
+ transform: scale(1.05);
76
+ }
77
+
78
+ .active-category {
79
+ background-color: #0ea5e9;
80
+ color: white;
81
+ }
82
+ </style>
83
+ </head>
84
+ <body class="text-gray-800">
85
+ <!-- Header -->
86
+ <header class="gradient-bg text-white sticky top-0 z-50 shadow-lg">
87
+ <div class="container mx-auto px-4 py-4">
88
+ <div class="flex justify-between items-center">
89
+ <div class="flex items-center space-x-2">
90
+ <i class="fas fa-map-marked-alt text-2xl"></i>
91
+ <h1 class="text-xl font-bold">Madeira Guide</h1>
92
+ </div>
93
+ <div class="flex items-center space-x-4">
94
+ <button class="p-2 rounded-full bg-white bg-opacity-20 hover:bg-opacity-30 transition">
95
+ <i class="fas fa-search"></i>
96
+ </button>
97
+ <button class="p-2 rounded-full bg-white bg-opacity-20 hover:bg-opacity-30 transition">
98
+ <i class="fas fa-user"></i>
99
+ </button>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ </header>
104
+
105
+ <!-- Main Content -->
106
+ <main class="container mx-auto px-4 py-6">
107
+ <!-- Hero Section -->
108
+ <section class="mb-10">
109
+ <div class="bg-white rounded-2xl shadow-lg overflow-hidden">
110
+ <div class="map-container relative">
111
+ <!-- This would be replaced with an actual map component -->
112
+ <div class="absolute inset-0 bg-gradient-to-br from-blue-400 to-teal-500 flex items-center justify-center">
113
+ <i class="fas fa-map text-white text-6xl opacity-30"></i>
114
+ </div>
115
+ <div class="map-overlay">
116
+ <h2 class="text-2xl font-bold mb-1">Explore Madeira</h2>
117
+ <p class="text-sm opacity-90">Discover hidden gems and popular spots</p>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </section>
122
+
123
+ <!-- Search Bar -->
124
+ <section class="mb-8">
125
+ <div class="search-bar bg-white rounded-full p-3 flex items-center shadow">
126
+ <i class="fas fa-search text-gray-400 ml-2 mr-3"></i>
127
+ <input type="text" placeholder="Search places, routes..." class="flex-grow outline-none text-gray-700">
128
+ <button class="bg-blue-500 text-white p-2 rounded-full w-10 h-10 flex items-center justify-center">
129
+ <i class="fas fa-sliders-h"></i>
130
+ </button>
131
+ </div>
132
+ </section>
133
+
134
+ <!-- Categories -->
135
+ <section class="mb-8">
136
+ <h2 class="text-lg font-semibold mb-4">Categories</h2>
137
+ <div class="flex space-x-3 overflow-x-auto pb-2">
138
+ <button class="category-chip active-category px-4 py-2 rounded-full bg-blue-100 text-blue-800 text-sm font-medium whitespace-nowrap">
139
+ <i class="fas fa-umbrella-beach mr-2"></i> Beaches
140
+ </button>
141
+ <button class="category-chip px-4 py-2 rounded-full bg-gray-100 text-gray-800 text-sm font-medium whitespace-nowrap">
142
+ <i class="fas fa-hiking mr-2"></i> Hiking
143
+ </button>
144
+ <button class="category-chip px-4 py-2 rounded-full bg-gray-100 text-gray-800 text-sm font-medium whitespace-nowrap">
145
+ <i class="fas fa-utensils mr-2"></i> Restaurants
146
+ </button>
147
+ <button class="category-chip px-4 py-2 rounded-full bg-gray-100 text-gray-800 text-sm font-medium whitespace-nowrap">
148
+ <i class="fas fa-hotel mr-2"></i> Hotels
149
+ </button>
150
+ <button class="category-chip px-4 py-2 rounded-full bg-gray-100 text-gray-800 text-sm font-medium whitespace-nowrap">
151
+ <i class="fas fa-shopping-bag mr-2"></i> Shopping
152
+ </button>
153
+ </div>
154
+ </section>
155
+
156
+ <!-- Featured Places -->
157
+ <section class="mb-8">
158
+ <div class="flex justify-between items-center mb-4">
159
+ <h2 class="text-lg font-semibold">Featured Places</h2>
160
+ <a href="#" class="text-blue-500 text-sm font-medium">See all</a>
161
+ </div>
162
+ <div class="grid grid-cols-2 gap-4">
163
+ <div class="card-hover bg-white rounded-xl overflow-hidden shadow">
164
+ <div class="h-32 bg-gradient-to-r from-yellow-400 to-orange-500 relative">
165
+ <div class="absolute top-2 right-2 bg-white bg-opacity-90 rounded-full p-1">
166
+ <i class="fas fa-heart text-red-500 text-sm"></i>
167
+ </div>
168
+ </div>
169
+ <div class="p-3">
170
+ <h3 class="font-medium text-sm mb-1">Pico do Arieiro</h3>
171
+ <div class="flex items-center text-xs text-gray-500 mb-2">
172
+ <i class="fas fa-map-marker-alt mr-1"></i>
173
+ <span>5.2 km away</span>
174
+ </div>
175
+ <div class="flex items-center">
176
+ <div class="flex text-yellow-400 text-xs">
177
+ <i class="fas fa-star"></i>
178
+ <i class="fas fa-star"></i>
179
+ <i class="fas fa-star"></i>
180
+ <i class="fas fa-star"></i>
181
+ <i class="fas fa-star-half-alt"></i>
182
+ </div>
183
+ <span class="text-xs text-gray-500 ml-1">(128)</span>
184
+ </div>
185
+ </div>
186
+ </div>
187
+
188
+ <div class="card-hover bg-white rounded-xl overflow-hidden shadow">
189
+ <div class="h-32 bg-gradient-to-r from-green-400 to-blue-500 relative">
190
+ <div class="absolute top-2 right-2 bg-white bg-opacity-90 rounded-full p-1">
191
+ <i class="far fa-heart text-gray-500 text-sm"></i>
192
+ </div>
193
+ </div>
194
+ <div class="p-3">
195
+ <h3 class="font-medium text-sm mb-1">Porto Moniz</h3>
196
+ <div class="flex items-center text-xs text-gray-500 mb-2">
197
+ <i class="fas fa-map-marker-alt mr-1"></i>
198
+ <span>18.7 km away</span>
199
+ </div>
200
+ <div class="flex items-center">
201
+ <div class="flex text-yellow-400 text-xs">
202
+ <i class="fas fa-star"></i>
203
+ <i class="fas fa-star"></i>
204
+ <i class="fas fa-star"></i>
205
+ <i class="fas fa-star"></i>
206
+ <i class="far fa-star"></i>
207
+ </div>
208
+ <span class="text-xs text-gray-500 ml-1">(94)</span>
209
+ </div>
210
+ </div>
211
+ </div>
212
+ </div>
213
+ </section>
214
+
215
+ <!-- Services -->
216
+ <section class="mb-8">
217
+ <h2 class="text-lg font-semibold mb-4">Travel Services</h2>
218
+ <div class="grid grid-cols-4 gap-3">
219
+ <div class="card-hover bg-white rounded-xl p-4 flex flex-col items-center justify-center shadow">
220
+ <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-2">
221
+ <i class="fas fa-store text-blue-500 text-xl"></i>
222
+ </div>
223
+ <span class="text-xs font-medium text-center">Shops</span>
224
+ </div>
225
+ <div class="card-hover bg-white rounded-xl p-4 flex flex-col items-center justify-center shadow">
226
+ <div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-2">
227
+ <i class="fas fa-taxi text-green-500 text-xl"></i>
228
+ </div>
229
+ <span class="text-xs font-medium text-center">Taxi</span>
230
+ </div>
231
+ <div class="card-hover bg-white rounded-xl p-4 flex flex-col items-center justify-center shadow">
232
+ <div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-2">
233
+ <i class="fas fa-car text-purple-500 text-xl"></i>
234
+ </div>
235
+ <span class="text-xs font-medium text-center">Rentals</span>
236
+ </div>
237
+ <div class="card-hover bg-white rounded-xl p-4 flex flex-col items-center justify-center shadow">
238
+ <div class="w-12 h-12 bg-yellow-100 rounded-full flex items-center justify-center mb-2">
239
+ <i class="fas fa-ticket-alt text-yellow-500 text-xl"></i>
240
+ </div>
241
+ <span class="text-xs font-medium text-center">Tickets</span>
242
+ </div>
243
+ </div>
244
+ </section>
245
+
246
+ <!-- Popular Routes -->
247
+ <section>
248
+ <div class="flex justify-between items-center mb-4">
249
+ <h2 class="text-lg font-semibold">Popular Routes</h2>
250
+ <a href="#" class="text-blue-500 text-sm font-medium">See all</a>
251
+ </div>
252
+ <div class="space-y-4">
253
+ <div class="card-hover bg-white rounded-xl p-4 shadow flex items-start">
254
+ <div class="w-16 h-16 bg-gradient-to-r from-orange-400 to-pink-500 rounded-lg mr-4 flex items-center justify-center text-white">
255
+ <i class="fas fa-route text-xl"></i>
256
+ </div>
257
+ <div class="flex-1">
258
+ <h3 class="font-medium mb-1">PR6 - Levada das 25 Fontes</h3>
259
+ <p class="text-xs text-gray-500 mb-2">Medium difficulty • 4.6 km • 3h</p>
260
+ <div class="flex items-center text-xs">
261
+ <div class="flex text-yellow-400 mr-2">
262
+ <i class="fas fa-star"></i>
263
+ <i class="fas fa-star"></i>
264
+ <i class="fas fa-star"></i>
265
+ <i class="fas fa-star"></i>
266
+ <i class="fas fa-star"></i>
267
+ </div>
268
+ <span class="text-gray-500">(256)</span>
269
+ </div>
270
+ </div>
271
+ </div>
272
+
273
+ <div class="card-hover bg-white rounded-xl p-4 shadow flex items-start">
274
+ <div class="w-16 h-16 bg-gradient-to-r from-green-400 to-blue-500 rounded-lg mr-4 flex items-center justify-center text-white">
275
+ <i class="fas fa-route text-xl"></i>
276
+ </div>
277
+ <div class="flex-1">
278
+ <h3 class="font-medium mb-1">PR8 - Ponta de São Lourenço</h3>
279
+ <p class="text-xs text-gray-500 mb-2">Easy difficulty • 7.2 km • 2.5h</p>
280
+ <div class="flex items-center text-xs">
281
+ <div class="flex text-yellow-400 mr-2">
282
+ <i class="fas fa-star"></i>
283
+ <i class="fas fa-star"></i>
284
+ <i class="fas fa-star"></i>
285
+ <i class="fas fa-star"></i>
286
+ <i class="fas fa-star-half-alt"></i>
287
+ </div>
288
+ <span class="text-gray-500">(189)</span>
289
+ </div>
290
+ </div>
291
+ </div>
292
+ </div>
293
+ </section>
294
+ </main>
295
+
296
+ <!-- Bottom Navigation -->
297
+ <nav class="fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-200 z-50">
298
+ <div class="container mx-auto px-4">
299
+ <div class="flex justify-around">
300
+ <a href="#" class="nav-item py-3 px-4 flex flex-col items-center text-blue-500">
301
+ <i class="fas fa-home text-lg"></i>
302
+ <span class="text-xs mt-1">Home</span>
303
+ </a>
304
+ <a href="#" class="nav-item py-3 px-4 flex flex-col items-center text-gray-500">
305
+ <i class="fas fa-map text-lg"></i>
306
+ <span class="text-xs mt-1">Map</span>
307
+ </a>
308
+ <a href="#" class="nav-item py-3 px-4 flex flex-col items-center text-gray-500">
309
+ <i class="fas fa-compass text-lg"></i>
310
+ <span class="text-xs mt-1">Explore</span>
311
+ </a>
312
+ <a href="#" class="nav-item py-3 px-4 flex flex-col items-center text-gray-500">
313
+ <i class="fas fa-bookmark text-lg"></i>
314
+ <span class="text-xs mt-1">Saved</span>
315
+ </a>
316
+ </div>
317
+ </div>
318
+ </nav>
319
+
320
+ <script>
321
+ // Simple interactivity
322
+ document.addEventListener('DOMContentLoaded', function() {
323
+ // Category chips selection
324
+ const categoryChips = document.querySelectorAll('.category-chip');
325
+ categoryChips.forEach(chip => {
326
+ chip.addEventListener('click', function() {
327
+ document.querySelector('.active-category').classList.remove('active-category', 'bg-blue-500', 'text-white');
328
+ this.classList.add('active-category', 'bg-blue-500', 'text-white');
329
+ });
330
+ });
331
+
332
+ // Favorite toggle
333
+ const favoriteIcons = document.querySelectorAll('.fa-heart, .fa-heart');
334
+ favoriteIcons.forEach(icon => {
335
+ icon.addEventListener('click', function(e) {
336
+ e.stopPropagation();
337
+ if (this.classList.contains('far')) {
338
+ this.classList.remove('far');
339
+ this.classList.add('fas', 'text-red-500');
340
+ } else {
341
+ this.classList.remove('fas', 'text-red-500');
342
+ this.classList.add('far');
343
+ }
344
+ });
345
+ });
346
+
347
+ // Card click effect
348
+ const cards = document.querySelectorAll('.card-hover');
349
+ cards.forEach(card => {
350
+ card.addEventListener('click', function() {
351
+ // In a real app, this would navigate to a detail page
352
+ console.log('Navigating to details for:', this.querySelector('h3').textContent);
353
+ });
354
+ });
355
+ });
356
+ </script>
357
+ <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=ValerGa/madeira-guide" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
358
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Проект: Мобильный путеводитель по Мадейре 1. Введение Этот документ описывает разработку мобильного приложения-путеводителя по острову Мадейра. Приложение будет включать интерактивную карту, маршруты, достопримечательности и офлайн-доступ, а также дополнительные функции для удобства туристов. 2. Основной функционал 1. Интерактивная карта с достопримечательностями, маршрутами и инфраструктурой. 2. Возможность загрузки карт и работы офлайн. 3. Поиск мест, фильтрация по категориям. 4. Навигация по маршрутам и прокладка пути. 5. Современный и минималистичный дизайн. 6. **Онлайн-магазины** – каталог товаров, интеграция с локальными магазинами или встроенная корзина. 7. **Онлайн-такси** – вызов такси через API сервисов или интеграция с местными перевозчиками. 8. **Онлайн-прокат** – аренда авто, велосипедов, скутеров (интеграция или собственная база). 9. **Онлайн-билеты** – покупка билетов на экскурсии, музеи, концерты (интеграция или собственная система). 3. Дизайн и стиль Выбран современный и минималистичный стиль, вдохновленный природой и архитектурой Мадейры. Используются плавные градиенты, мягкие тени и интуитивная навигация. 4. Технологический стек 1. **Мобильное приложение (Android/iOS):** Flutter + Mapbox SDK для карт. 2. **Веб-версия:** React + Leaflet.js. 3. **Офлайн-функциональность:** MBTiles, GraphHopper для навигации. 4. **Онлайн-магазины:** Интеграция с e-commerce платформами или кастомное решение. 5. **Онлайн-такси:** API локальных сервисов или создание собственной платформы. 6. **Онлайн-прокат:** Интеграция с сервисами аренды или собственная база. 7. **Онлайн-билеты:** Подключение к билетным операторам или внутренняя система бронирования. 5. План разработки ✅ Неделя 1-2: Финализация структуры, разработка макетов. ✅ Неделя 3-4: Интеграция интерактивной карты, поиск. ✅ Неделя 5-6: Разработка базы данных, тестирование. ✅ Неделя 7-8: Оптимизация, публикация в App Store и Google Play. ✅ Неделя 9-10: Реализация онлайн-магазинов, такси, проката и билетов. ✅ Неделя 11-12: Финальное тестирование, запуск полного продукта. 6. Заключение Проект ориентирован на туристов, желающих получить удобный и функциональный гид по Мадейре. Приложение будет доступно как на мобильных устройствах, так и в веб-версии. Дополнительные сервисы (магазины, такси, прокат, билеты) сделают путешествие ещё удобнее.