Cbteam commited on
Commit
2cf4221
verified
1 Parent(s): f556d71

Redesign my website

Browse files
Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +330 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Bancomer Receipt Wizard Pro
3
- emoji: 馃惃
4
- colorFrom: gray
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: Bancomer Receipt Wizard Pro 馃Ь
3
+ colorFrom: purple
4
+ colorTo: green
5
+ emoji: 馃惓
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
index.html CHANGED
@@ -1,19 +1,331 @@
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="es">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>BBVA Bancomer - Generador de Recibos</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.min.js"></script>
12
+ <style>
13
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
14
+
15
+ body {
16
+ font-family: 'Inter', sans-serif;
17
+ }
18
+
19
+ .bbva-gradient {
20
+ background: linear-gradient(135deg, #004481 0%, #0072CE 100%);
21
+ }
22
+
23
+ .receipt-shadow {
24
+ box-shadow: 0 20px 60px rgba(0, 66, 129, 0.15);
25
+ }
26
+
27
+ .security-pattern {
28
+ background-image: radial-gradient(#0072CE 1px, transparent 1px);
29
+ background-size: 20px 20px;
30
+ }
31
+
32
+ .input-glow:focus {
33
+ box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.1);
34
+ }
35
+ </style>
36
+ </head>
37
+ <body class="bg-gray-50 min-h-screen">
38
+ <!-- Header -->
39
+ <header class="bbva-gradient text-white py-6">
40
+ <div class="container mx-auto px-4">
41
+ <div class="flex items-center justify-between">
42
+ <div class="flex items-center space-x-3">
43
+ <div class="w-12 h-12 bg-white/20 rounded-full flex items-center justify-center">
44
+ <i data-feather="file-text" class="w-6 h-6"></i>
45
+ </div>
46
+ <div>
47
+ <h1 class="text-2xl font-bold">BBVA Bancomer</h1>
48
+ <p class="text-blue-100 text-sm">Generador de Recibos Digitales</p>
49
+ </div>
50
+ </div>
51
+ <div class="hidden md:flex items-center space-x-2 text-sm">
52
+ <div class="flex items-center space-x-1">
53
+ <i data-feather="shield" class="w-4 h-4"></i>
54
+ <span>Seguro</span>
55
+ </div>
56
+ <div class="w-1 h-1 bg-white/40 rounded-full"></div>
57
+ <div class="flex items-center space-x-1">
58
+ <i data-feather="check-circle" class="w-4 h-4"></i>
59
+ <span>Confiable</span>
60
+ </div>
61
+ <div class="w-1 h-1 bg-white/40 rounded-full"></div>
62
+ <div class="flex items-center space-x-1">
63
+ <i data-feather="award" class="w-4 h-4"></i>
64
+ <span>Oficial</span>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ </div>
69
+ </header>
70
+
71
+ <!-- Main Content -->
72
+ <main class="container mx-auto px-4 py-8">
73
+ <div class="grid lg:grid-cols-2 gap-8">
74
+ <!-- Form Section -->
75
+ <div class="space-y-8">
76
+ <div class="bg-white rounded-2xl p-6 receipt-shadow">
77
+ <h2 class="text-xl font-semibold text-gray-800 mb-6">Ingresar Datos del Recibo</h2>
78
+
79
+ <div class="grid md:grid-cols-2 gap-4">
80
+ <div>
81
+ <label class="block text-sm font-medium text-gray-700 mb-2">Tipo de Operaci贸n</label>
82
+ <select class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 input-glow">
83
+ <option>Transferencia</option>
84
+ <option>Dep贸sito</option>
85
+ <option>Retiro</option>
86
+ <option>Pago de Servicio</option>
87
+ </select>
88
+ </div>
89
+
90
+ <div>
91
+ <label class="block text-sm font-medium text-gray-700 mb-2">Fecha</label>
92
+ <input type="date" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 input-glow">
93
+ </div>
94
+
95
+ <div>
96
+ <label class="block text-sm font-medium text-gray-700 mb-2">Referencia</label>
97
+ <input type="text" placeholder="Ingrese referencia" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 input-glow">
98
+ </div>
99
+
100
+ <div>
101
+ <label class="block text-sm font-medium text-gray-700 mb-2">Monto</label>
102
+ <div class="relative">
103
+ <span class="absolute left-4 top-3 text-gray-500">$</span>
104
+ <input type="number" placeholder="0.00" class="w-full px-12 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 input-glow">
105
+ </div>
106
+ </div>
107
+
108
+ <div class="md:col-span-2">
109
+ <label class="block text-sm font-medium text-gray-700 mb-2">Concepto</label>
110
+ <input type="text" placeholder="Descripci贸n del concepto" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 input-glow">
111
+ </div>
112
+
113
+ <div>
114
+ <label class="block text-sm font-medium text-gray-700 mb-2">Cuenta Origen</label>
115
+ <input type="text" placeholder="****----" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 input-glow">
116
+ </div>
117
+
118
+ <div>
119
+ <label class="block text-sm font-medium text-gray-700 mb-2">Cuenta Destino</label>
120
+ <input type="text" placeholder="****----" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 input-glow">
121
+ </div>
122
+
123
+ <div class="md:col-span-2">
124
+ <label class="block text-sm font-medium text-gray-700 mb-2">Beneficiario</label>
125
+ <input type="text" placeholder="Nombre del beneficiario" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 input-glow">
126
+ </div>
127
+ </div>
128
+
129
+ <div class="flex flex-col sm:flex-row gap-3 mt-6">
130
+ <button class="flex-1 bg-blue-600 hover:bg-blue-700 text-white py-3 px-6 rounded-lg font-medium transition duration-200 flex items-center justify-center space-x-2">
131
+ <i data-feather="download" class="w-4 h-4"></i>
132
+ <span>Descargar PDF</span>
133
+ </button>
134
+ <button class="flex-1 bg-green-600 hover:bg-green-700 text-white py-3 px-6 rounded-lg font-medium transition duration-200 flex items-center justify-center space-x-2">
135
+ <i data-feather="camera" class="w-4 h-4"></i>
136
+ <span>Capturar Pantalla</span>
137
+ </button>
138
+ </div>
139
+ </div>
140
+
141
+ <!-- Features -->
142
+ <div class="bg-white rounded-2xl p-6 receipt-shadow">
143
+ <h2 class="text-xl font-semibold text-gray-800 mb-6">Caracter铆sticas del Recibo</h2>
144
+
145
+ <div class="grid md:grid-cols-3 gap-6">
146
+ <div class="text-center">
147
+ <div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4">
148
+ <i data-feather="shield" class="w-8 h-8 text-blue-600"></i>
149
+ </div>
150
+ <h3 class="font-semibold text-gray-800 mb-2">Dise帽o Oficial</h3>
151
+ <p class="text-gray-600 text-sm">Replica exacta del formato BBVA Bancomer con todos los elementos de seguridad</p>
152
+ </div>
153
+
154
+ <div class="text-center">
155
+ <div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4">
156
+ <i data-feather="check-circle" class="w-8 h-8 text-green-600"></i>
157
+ </div>
158
+ <h3 class="font-semibold text-gray-800 mb-2">Informaci贸n Completa</h3>
159
+ <p class="text-gray-600 text-sm">Incluye todos los campos necesarios para un comprobante v谩lido</p>
160
+ </div>
161
+
162
+ <div class="text-center">
163
+ <div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-4">
164
+ <i data-feather="layers" class="w-8 h-8 text-purple-600"></i>
165
+ </div>
166
+ <h3 class="font-semibold text-gray-800 mb-2">Formatos M煤ltiples</h3>
167
+ <p class="text-gray-600 text-sm">Genera en PDF o captura de pantalla seg煤n tus necesidades</p>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
172
+
173
+ <!-- Preview Section -->
174
+ <div class="sticky top-8">
175
+ <div class="bg-white rounded-2xl p-8 receipt-shadow security-pattern">
176
+ <div class="relative">
177
+ <!-- BBVA Header -->
178
+ <div class="bbva-gradient text-white rounded-t-2xl p-6 mb-6">
179
+ <div class="flex items-center justify-between">
180
+ <div class="flex items-center space-x-3">
181
+ <div class="w-10 h-10 bg-white/20 rounded-full flex items-center justify-center">
182
+ <i data-feather="dollar-sign" class="w-5 h-5"></i>
183
+ </div>
184
+ <div>
185
+ <h2 class="text-xl font-bold">BBVA BANCOMER</h2>
186
+ <p class="text-blue-100 text-sm">Comprobante Digital</p>
187
+ </div>
188
+ </div>
189
+ <div class="text-blue-100">
190
+ <i data-feather="lock" class="w-5 h-5"></i>
191
+ </div>
192
+ </div>
193
+ </div>
194
+
195
+ <!-- Receipt Content -->
196
+ <div class="space-y-4">
197
+ <div class="flex justify-between border-b border-gray-200 pb-2">
198
+ <span class="text-gray-600">Tipo de Operaci贸n:</span>
199
+ <span class="font-medium" id="preview-operation">Transferencia</span>
200
+ </div>
201
+
202
+ <div class="flex justify-between border-b border-gray-200 pb-2">
203
+ <span class="text-gray-600">Fecha:</span>
204
+ <span class="font-medium" id="preview-date">--/--/----</span>
205
+ </div>
206
+
207
+ <div class="flex justify-between border-b border-gray-200 pb-2">
208
+ <span class="text-gray-600">Referencia:</span>
209
+ <span class="font-medium" id="preview-reference">------------</span>
210
+ </div>
211
+
212
+ <div class="flex justify-between border-b border-gray-200 pb-2">
213
+ <span class="text-gray-600">Monto:</span>
214
+ <span class="font-semibold text-green-600 text-lg" id="preview-amount">$0.00</span>
215
+ </div>
216
+
217
+ <div class="flex justify-between border-b border-gray-200 pb-2">
218
+ <span class="text-gray-600">Concepto:</span>
219
+ <span class="font-medium" id="preview-concept">-</span>
220
+ </div>
221
+
222
+ <div class="flex justify-between border-b border-gray-200 pb-2">
223
+ <span class="text-gray-600">Cuenta Origen:</span>
224
+ <span class="font-medium" id="preview-origin">****----</span>
225
+ </div>
226
+
227
+ <div class="flex justify-between border-b border-gray-200 pb-2">
228
+ <span class="text-gray-600">Cuenta Destino:</span>
229
+ <span class="font-medium" id="preview-destination">****----</span>
230
+ </div>
231
+
232
+ <div class="flex justify-between border-b border-gray-200 pb-2">
233
+ <span class="text-gray-600">Beneficiario:</span>
234
+ <span class="font-medium" id="preview-beneficiary">-</span>
235
+ </div>
236
+ </div>
237
+
238
+ <!-- Footer -->
239
+ <div class="mt-8 pt-6 border-t border-gray-200">
240
+ <p class="text-center text-gray-500 text-sm mb-4">
241
+ Este comprobante es v谩lido como constancia de la operaci贸n realizada
242
+ </p>
243
+ <div class="text-center">
244
+ <div class="w-24 h-8 bg-blue-600 mx-auto rounded flex items-center justify-center mb-2">
245
+ <span class="text-white text-xs font-bold">BBVA M脡XICO</div>
246
+ <p class="text-gray-400 text-xs">Todos los derechos reservados</p>
247
+ </div>
248
+ </div>
249
+ </div>
250
+ </div>
251
+ </div>
252
+ </div>
253
+ </main>
254
+
255
+ <!-- Footer -->
256
+ <footer class="bg-gray-800 text-white py-8 mt-12">
257
+ <div class="container mx-auto px-4">
258
+ <div class="text-center">
259
+ <p class="text-gray-400 text-sm">
260
+ 漏 2024 BBVA Bancomer M茅xico. Esta es una herramienta de demostraci贸n.
261
+ </p>
262
+ <p class="text-gray-500 text-xs mt-2">
263
+ Para uso educativo 煤nicamente
264
+ </p>
265
+ </div>
266
+ </div>
267
+ </footer>
268
+
269
+ <script>
270
+ // Initialize Feather Icons
271
+ feather.replace();
272
+
273
+ // Real-time preview update
274
+ document.addEventListener('DOMContentLoaded', function() {
275
+ const inputs = document.querySelectorAll('input, select');
276
+
277
+ inputs.forEach(input => {
278
+ input.addEventListener('input', updatePreview);
279
+ input.addEventListener('change', updatePreview);
280
+ });
281
+
282
+ function updatePreview() {
283
+ const operation = document.querySelector('select').value;
284
+ const date = document.querySelector('input[type="date"]').value;
285
+ const reference = document.querySelector('input[placeholder="Ingrese referencia"]').value;
286
+ const amount = document.querySelector('input[type="number"]').value;
287
+ const concept = document.querySelector('input[placeholder="Descripci贸n del concepto"]').value;
288
+ const origin = document.querySelector('input[placeholder="****----"]').value;
289
+ const destination = document.querySelectorAll('input[placeholder="****----"]')[1].value;
290
+ const beneficiary = document.querySelector('input[placeholder="Nombre del beneficiario"]').value;
291
+
292
+ document.getElementById('preview-operation').textContent = operation || 'Transferencia';
293
+
294
+ if (date) {
295
+ const formattedDate = new Date(date).toLocaleDateString('es-MX');
296
+ document.getElementById('preview-date').textContent = formattedDate;
297
+ } else {
298
+ document.getElementById('preview-date').textContent = '--/--/----';
299
+ }
300
+
301
+ document.getElementById('preview-reference').textContent = reference || '------------';
302
+ document.getElementById('preview-amount').textContent = amount ? `$${parseFloat(amount).toFixed(2)}` : '$0.00';
303
+ document.getElementById('preview-concept').textContent = concept || '-';
304
+ document.getElementById('preview-origin').textContent = origin || '****----';
305
+ document.getElementById('preview-destination').textContent = destination || '****----';
306
+ document.getElementById('preview-beneficiary').textContent = beneficiary || '-';
307
+ }
308
+
309
+ // Add some animation to buttons
310
+ const buttons = document.querySelectorAll('button');
311
+ buttons.forEach(button => {
312
+ button.addEventListener('mouseenter', function() {
313
+ anime({
314
+ targets: this,
315
+ scale: 1.05,
316
+ duration: 200
317
+ });
318
+ });
319
+
320
+ button.addEventListener('mouseleave', function() {
321
+ anime({
322
+ targets: this,
323
+ scale: 1,
324
+ duration: 200
325
+ });
326
+ });
327
+ });
328
+ });
329
+ </script>
330
+ </body>
331
  </html>