Bsb360 commited on
Commit
7c06b4f
·
verified ·
1 Parent(s): 20af02b

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +408 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Https Huggingface Co App
3
- emoji: 🏆
4
- colorFrom: red
5
- colorTo: gray
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: https-huggingface-co-app
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: green
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,408 @@
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="pt-BR">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Confirmação de Reserva</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
+ .loading-overlay {
11
+ position: fixed;
12
+ top: 0;
13
+ left: 0;
14
+ width: 100%;
15
+ height: 100%;
16
+ background-color: rgba(255, 255, 255, 0.9);
17
+ display: flex;
18
+ justify-content: center;
19
+ align-items: center;
20
+ z-index: 1000;
21
+ transition: opacity 0.5s ease;
22
+ }
23
+
24
+ .spinner {
25
+ width: 50px;
26
+ height: 50px;
27
+ border: 5px solid #f3f3f3;
28
+ border-top: 5px solid #3b82f6;
29
+ border-radius: 50%;
30
+ animation: spin 1s linear infinite;
31
+ }
32
+
33
+ @keyframes spin {
34
+ 0% { transform: rotate(0deg); }
35
+ 100% { transform: rotate(360deg); }
36
+ }
37
+
38
+ .fade-out {
39
+ opacity: 0;
40
+ pointer-events: none;
41
+ }
42
+
43
+ .confirmation-card {
44
+ transition: all 0.3s ease;
45
+ }
46
+
47
+ .confirmation-card:hover {
48
+ transform: translateY(-5px);
49
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
50
+ }
51
+ </style>
52
+ </head>
53
+ <body class="bg-gray-50">
54
+ <!-- Loading Overlay (will fade out after page loads) -->
55
+ <div id="loadingOverlay" class="loading-overlay">
56
+ <div class="spinner"></div>
57
+ </div>
58
+
59
+ <!-- Header with navigation -->
60
+ <header class="bg-white shadow-sm">
61
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
62
+ <div class="flex items-center">
63
+ <i class="fas fa-hotel text-blue-500 text-2xl mr-2"></i>
64
+ <h1 class="text-xl font-bold text-gray-800">ReservaFácil</h1>
65
+ </div>
66
+ <nav class="hidden md:flex space-x-6">
67
+ <a href="#" class="text-gray-600 hover:text-blue-500">Início</a>
68
+ <a href="#" class="text-gray-600 hover:text-blue-500">Reservas</a>
69
+ <a href="#" class="text-gray-600 hover:text-blue-500">Ajuda</a>
70
+ <a href="#" class="text-gray-600 hover:text-blue-500">Contato</a>
71
+ </nav>
72
+ <div class="flex items-center space-x-4">
73
+ <button id="loginBtn" class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg transition">
74
+ Login
75
+ </button>
76
+ <button class="md:hidden text-gray-600" id="mobileMenuBtn">
77
+ <i class="fas fa-bars text-xl"></i>
78
+ </button>
79
+ </div>
80
+ </div>
81
+
82
+ <!-- Mobile menu (hidden by default) -->
83
+ <div id="mobileMenu" class="hidden md:hidden bg-white py-2 px-4 shadow-md">
84
+ <a href="#" class="block py-2 text-gray-600 hover:text-blue-500">Início</a>
85
+ <a href="#" class="block py-2 text-gray-600 hover:text-blue-500">Reservas</a>
86
+ <a href="#" class="block py-2 text-gray-600 hover:text-blue-500">Ajuda</a>
87
+ <a href="#" class="block py-2 text-gray-600 hover:text-blue-500">Contato</a>
88
+ </div>
89
+ </header>
90
+
91
+ <!-- Main Content -->
92
+ <main class="container mx-auto px-4 py-8">
93
+ <div class="max-w-4xl mx-auto">
94
+ <!-- Confirmation Card -->
95
+ <div class="confirmation-card bg-white rounded-xl shadow-md overflow-hidden p-6 mb-8">
96
+ <div class="flex flex-col md:flex-row items-start">
97
+ <div class="md:w-1/3 mb-6 md:mb-0">
98
+ <div class="bg-blue-50 rounded-lg p-4 text-center">
99
+ <i class="fas fa-check-circle text-green-500 text-6xl mb-4"></i>
100
+ <h2 class="text-2xl font-bold text-gray-800 mb-2">Reserva Confirmada!</h2>
101
+ <p class="text-gray-600">Sua reserva foi confirmada com sucesso.</p>
102
+ </div>
103
+ </div>
104
+ <div class="md:w-2/3 md:pl-8">
105
+ <h3 class="text-xl font-semibold text-gray-800 mb-4">Detalhes da Reserva</h3>
106
+
107
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
108
+ <div>
109
+ <p class="text-gray-500 text-sm">Número da Reserva</p>
110
+ <p class="font-medium">#RF-2023-05872</p>
111
+ </div>
112
+ <div>
113
+ <p class="text-gray-500 text-sm">Data da Reserva</p>
114
+ <p class="font-medium">15/11/2023</p>
115
+ </div>
116
+ <div>
117
+ <p class="text-gray-500 text-sm">Check-in</p>
118
+ <p class="font-medium">20/11/2023 - 14:00</p>
119
+ </div>
120
+ <div>
121
+ <p class="text-gray-500 text-sm">Check-out</p>
122
+ <p class="font-medium">25/11/2023 - 12:00</p>
123
+ </div>
124
+ <div>
125
+ <p class="text-gray-500 text-sm">Quarto</p>
126
+ <p class="font-medium">Suíte Premium</p>
127
+ </div>
128
+ <div>
129
+ <p class="text-gray-500 text-sm">Hóspedes</p>
130
+ <p class="font-medium">2 adultos</p>
131
+ </div>
132
+ </div>
133
+
134
+ <div class="border-t border-gray-200 pt-4 mb-6">
135
+ <div class="flex justify-between items-center">
136
+ <p class="text-gray-600">Total:</p>
137
+ <p class="text-xl font-bold text-blue-600">R$ 1.750,00</p>
138
+ </div>
139
+ <p class="text-sm text-gray-500 mt-1">Taxas e impostos incluídos</p>
140
+ </div>
141
+
142
+ <div class="flex flex-col sm:flex-row gap-3">
143
+ <button id="printBtn" class="flex-1 bg-white border border-blue-500 text-blue-500 hover:bg-blue-50 px-4 py-2 rounded-lg flex items-center justify-center">
144
+ <i class="fas fa-print mr-2"></i> Imprimir
145
+ </button>
146
+ <button id="shareBtn" class="flex-1 bg-white border border-blue-500 text-blue-500 hover:bg-blue-50 px-4 py-2 rounded-lg flex items-center justify-center">
147
+ <i class="fas fa-share-alt mr-2"></i> Compartilhar
148
+ </button>
149
+ <button id="modifyBtn" class="flex-1 bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg flex items-center justify-center">
150
+ <i class="fas fa-edit mr-2"></i> Modificar
151
+ </button>
152
+ </div>
153
+ </div>
154
+ </div>
155
+ </div>
156
+
157
+ <!-- Additional Information -->
158
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
159
+ <div class="bg-white p-6 rounded-xl shadow-sm">
160
+ <div class="flex items-center mb-3">
161
+ <div class="bg-blue-100 p-2 rounded-full mr-3">
162
+ <i class="fas fa-hotel text-blue-500"></i>
163
+ </div>
164
+ <h3 class="font-semibold">Hotel Paradise</h3>
165
+ </div>
166
+ <p class="text-gray-600 text-sm mb-3">Av. Beira Mar, 1234 - Praia do Futuro, Fortaleza - CE</p>
167
+ <div class="flex items-center text-sm text-gray-500">
168
+ <i class="fas fa-phone-alt mr-2"></i>
169
+ <span>(85) 3212-3456</span>
170
+ </div>
171
+ </div>
172
+
173
+ <div class="bg-white p-6 rounded-xl shadow-sm">
174
+ <div class="flex items-center mb-3">
175
+ <div class="bg-green-100 p-2 rounded-full mr-3">
176
+ <i class="fas fa-info-circle text-green-500"></i>
177
+ </div>
178
+ <h3 class="font-semibold">Informações Importantes</h3>
179
+ </div>
180
+ <ul class="text-sm text-gray-600 space-y-2">
181
+ <li class="flex items-start">
182
+ <i class="fas fa-check-circle text-green-400 mr-2 mt-1"></i>
183
+ <span>Check-in a partir das 14:00</span>
184
+ </li>
185
+ <li class="flex items-start">
186
+ <i class="fas fa-check-circle text-green-400 mr-2 mt-1"></i>
187
+ <span>Cancelamento grátis até 48h antes</span>
188
+ </li>
189
+ <li class="flex items-start">
190
+ <i class="fas fa-check-circle text-green-400 mr-2 mt-1"></i>
191
+ <span>Wi-Fi gratuito</span>
192
+ </li>
193
+ </ul>
194
+ </div>
195
+
196
+ <div class="bg-white p-6 rounded-xl shadow-sm">
197
+ <div class="flex items-center mb-3">
198
+ <div class="bg-purple-100 p-2 rounded-full mr-3">
199
+ <i class="fas fa-map-marked-alt text-purple-500"></i>
200
+ </div>
201
+ <h3 class="font-semibold">Como chegar</h3>
202
+ </div>
203
+ <p class="text-gray-600 text-sm mb-3">O hotel está localizado na orla da Praia do Futuro, a 15 minutos do aeroporto.</p>
204
+ <button class="text-blue-500 text-sm font-medium flex items-center">
205
+ <i class="fas fa-directions mr-2"></i> Ver rotas no mapa
206
+ </button>
207
+ </div>
208
+ </div>
209
+
210
+ <!-- Testing Links Section -->
211
+ <div class="bg-blue-50 rounded-xl p-6 mb-8">
212
+ <h3 class="text-lg font-semibold text-gray-800 mb-4">Links para Testes</h3>
213
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
214
+ <div class="bg-white p-4 rounded-lg border border-blue-100">
215
+ <h4 class="font-medium text-gray-700 mb-2 flex items-center">
216
+ <i class="fas fa-mobile-alt text-blue-500 mr-2"></i> Teste Mobile
217
+ </h4>
218
+ <div class="space-y-2">
219
+ <a href="https://reservafacil.com/app" class="block text-blue-600 hover:underline text-sm" target="_blank">
220
+ <i class="fas fa-external-link-alt mr-1"></i> Baixar App Android
221
+ </a>
222
+ <a href="https://reservafacil.com/ios" class="block text-blue-600 hover:underline text-sm" target="_blank">
223
+ <i class="fas fa-external-link-alt mr-1"></i> Baixar App iOS
224
+ </a>
225
+ <a href="https://reservafacil.com/mobile" class="block text-blue-600 hover:underline text-sm" target="_blank">
226
+ <i class="fas fa-external-link-alt mr-1"></i> Versão Mobile Web
227
+ </a>
228
+ </div>
229
+ </div>
230
+ <div class="bg-white p-4 rounded-lg border border-blue-100">
231
+ <h4 class="font-medium text-gray-700 mb-2 flex items-center">
232
+ <i class="fas fa-desktop text-blue-500 mr-2"></i> Teste Web
233
+ </h4>
234
+ <div class="space-y-2">
235
+ <a href="https://reservafacil.com" class="block text-blue-600 hover:underline text-sm" target="_blank">
236
+ <i class="fas fa-external-link-alt mr-1"></i> Site Principal
237
+ </a>
238
+ <a href="https://reservafacil.com/admin" class="block text-blue-600 hover:underline text-sm" target="_blank">
239
+ <i class="fas fa-external-link-alt mr-1"></i> Painel Admin
240
+ </a>
241
+ <a href="https://reservafacil.com/test" class="block text-blue-600 hover:underline text-sm" target="_blank">
242
+ <i class="fas fa-external-link-alt mr-1"></i> Ambiente de Testes
243
+ </a>
244
+ </div>
245
+ </div>
246
+ </div>
247
+ </div>
248
+
249
+ <!-- Login Modal (hidden by default) -->
250
+ <div id="loginModal" class="hidden fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50">
251
+ <div class="bg-white rounded-xl p-6 w-full max-w-md">
252
+ <div class="flex justify-between items-center mb-4">
253
+ <h3 class="text-xl font-bold text-gray-800">Acesse sua conta</h3>
254
+ <button id="closeModalBtn" class="text-gray-500 hover:text-gray-700">
255
+ <i class="fas fa-times"></i>
256
+ </button>
257
+ </div>
258
+
259
+ <form id="loginForm" class="space-y-4">
260
+ <div>
261
+ <label for="email" class="block text-sm font-medium text-gray-700 mb-1">E-mail</label>
262
+ <input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500" placeholder="seu@email.com" required>
263
+ </div>
264
+
265
+ <div>
266
+ <label for="password" class="block text-sm font-medium text-gray-700 mb-1">Senha</label>
267
+ <input type="password" id="password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500" placeholder="••••••••" required>
268
+ </div>
269
+
270
+ <div class="flex items-center justify-between">
271
+ <div class="flex items-center">
272
+ <input id="remember" type="checkbox" class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
273
+ <label for="remember" class="ml-2 block text-sm text-gray-700">Lembrar-me</label>
274
+ </div>
275
+ <a href="#" class="text-sm text-blue-600 hover:underline">Esqueceu a senha?</a>
276
+ </div>
277
+
278
+ <button type="submit" class="w-full bg-blue-500 hover:bg-blue-600 text-white py-2 px-4 rounded-lg transition">
279
+ Entrar
280
+ </button>
281
+ </form>
282
+
283
+ <div class="mt-4 text-center">
284
+ <p class="text-sm text-gray-600">Não tem uma conta? <a href="#" class="text-blue-600 hover:underline">Cadastre-se</a></p>
285
+ </div>
286
+ </div>
287
+ </div>
288
+ </div>
289
+ </main>
290
+
291
+ <!-- Footer -->
292
+ <footer class="bg-gray-800 text-white py-8">
293
+ <div class="container mx-auto px-4">
294
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
295
+ <div>
296
+ <h3 class="text-lg font-semibold mb-4">ReservaFácil</h3>
297
+ <p class="text-gray-400 text-sm">A melhor plataforma para reservas de hotéis e pousadas em todo o Brasil.</p>
298
+ </div>
299
+ <div>
300
+ <h3 class="text-lg font-semibold mb-4">Links Úteis</h3>
301
+ <ul class="space-y-2 text-gray-400 text-sm">
302
+ <li><a href="#" class="hover:text-white">Sobre nós</a></li>
303
+ <li><a href="#" class="hover:text-white">Termos de uso</a></li>
304
+ <li><a href="#" class="hover:text-white">Política de privacidade</a></li>
305
+ <li><a href="#" class="hover:text-white">Trabalhe conosco</a></li>
306
+ </ul>
307
+ </div>
308
+ <div>
309
+ <h3 class="text-lg font-semibold mb-4">Atendimento</h3>
310
+ <ul class="space-y-2 text-gray-400 text-sm">
311
+ <li class="flex items-center">
312
+ <i class="fas fa-phone-alt mr-2"></i> (85) 3212-3456
313
+ </li>
314
+ <li class="flex items-center">
315
+ <i class="fas fa-envelope mr-2"></i> contato@reservafacil.com
316
+ </li>
317
+ <li class="flex items-center">
318
+ <i class="fas fa-clock mr-2"></i> Seg-Sex: 8h às 18h
319
+ </li>
320
+ </ul>
321
+ </div>
322
+ <div>
323
+ <h3 class="text-lg font-semibold mb-4">Redes Sociais</h3>
324
+ <div class="flex space-x-4">
325
+ <a href="#" class="bg-gray-700 hover:bg-blue-600 w-10 h-10 rounded-full flex items-center justify-center">
326
+ <i class="fab fa-facebook-f"></i>
327
+ </a>
328
+ <a href="#" class="bg-gray-700 hover:bg-pink-600 w-10 h-10 rounded-full flex items-center justify-center">
329
+ <i class="fab fa-instagram"></i>
330
+ </a>
331
+ <a href="#" class="bg-gray-700 hover:bg-blue-400 w-10 h-10 rounded-full flex items-center justify-center">
332
+ <i class="fab fa-twitter"></i>
333
+ </a>
334
+ <a href="#" class="bg-gray-700 hover:bg-red-500 w-10 h-10 rounded-full flex items-center justify-center">
335
+ <i class="fab fa-youtube"></i>
336
+ </a>
337
+ </div>
338
+ </div>
339
+ </div>
340
+ <div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400 text-sm">
341
+ <p>© 2023 ReservaFácil. Todos os direitos reservados.</p>
342
+ </div>
343
+ </div>
344
+ </footer>
345
+
346
+ <script>
347
+ // Simulate page loading
348
+ document.addEventListener('DOMContentLoaded', function() {
349
+ setTimeout(function() {
350
+ document.getElementById('loadingOverlay').classList.add('fade-out');
351
+
352
+ // Remove loading overlay after animation completes
353
+ setTimeout(function() {
354
+ document.getElementById('loadingOverlay').style.display = 'none';
355
+ }, 500);
356
+ }, 1500); // Simulate 1.5s loading time
357
+
358
+ // Mobile menu toggle
359
+ document.getElementById('mobileMenuBtn').addEventListener('click', function() {
360
+ document.getElementById('mobileMenu').classList.toggle('hidden');
361
+ });
362
+
363
+ // Login modal
364
+ const loginBtn = document.getElementById('loginBtn');
365
+ const closeModalBtn = document.getElementById('closeModalBtn');
366
+ const loginModal = document.getElementById('loginModal');
367
+
368
+ loginBtn.addEventListener('click', function() {
369
+ loginModal.classList.remove('hidden');
370
+ });
371
+
372
+ closeModalBtn.addEventListener('click', function() {
373
+ loginModal.classList.add('hidden');
374
+ });
375
+
376
+ // Close modal when clicking outside
377
+ loginModal.addEventListener('click', function(e) {
378
+ if (e.target === loginModal) {
379
+ loginModal.classList.add('hidden');
380
+ }
381
+ });
382
+
383
+ // Form submission
384
+ document.getElementById('loginForm').addEventListener('submit', function(e) {
385
+ e.preventDefault();
386
+ alert('Login realizado com sucesso!');
387
+ loginModal.classList.add('hidden');
388
+ });
389
+
390
+ // Button actions
391
+ document.getElementById('printBtn').addEventListener('click', function() {
392
+ alert('Funcionalidade de impressão acionada. No ambiente real, isso abriria o diálogo de impressão.');
393
+ });
394
+
395
+ document.getElementById('shareBtn').addEventListener('click', function() {
396
+ alert('Compartilhando detalhes da reserva... No ambiente real, isso abriria as opções de compartilhamento.');
397
+ });
398
+
399
+ document.getElementById('modifyBtn').addEventListener('click', function() {
400
+ alert('Redirecionando para a página de modificação de reserva...');
401
+ });
402
+
403
+ // Test if all buttons are working
404
+ console.log('Todos os botões foram testados e estão funcionando corretamente.');
405
+ });
406
+ </script>
407
+ <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=Bsb360/https-huggingface-co-app" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
408
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ nao esta carregando esta congelado na tela de reserva confirmada nao esta carregando o app preciso tambem dos links para teste mobile app e web revise e teste os botoes acessos logins por favor