Treas commited on
Commit
fb61aae
·
verified ·
1 Parent(s): 936d19d

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +522 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Prueba
3
- emoji: 🌖
4
- colorFrom: green
5
- colorTo: pink
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: prueba
3
+ emoji: 🐳
4
+ colorFrom: purple
5
+ colorTo: blue
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,522 @@
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>Dashboard de Campañas</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
9
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
10
+ <style>
11
+ .custom-scrollbar::-webkit-scrollbar {
12
+ width: 6px;
13
+ height: 6px;
14
+ }
15
+ .custom-scrollbar::-webkit-scrollbar-track {
16
+ background: #f1f1f1;
17
+ }
18
+ .custom-scrollbar::-webkit-scrollbar-thumb {
19
+ background: #888;
20
+ border-radius: 3px;
21
+ }
22
+ .custom-scrollbar::-webkit-scrollbar-thumb:hover {
23
+ background: #555;
24
+ }
25
+ .animate-pulse {
26
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
27
+ }
28
+ @keyframes pulse {
29
+ 0%, 100% { opacity: 1; }
30
+ 50% { opacity: 0.5; }
31
+ }
32
+ </style>
33
+ </head>
34
+ <body class="bg-gray-100 font-sans">
35
+ <div class="flex h-screen overflow-hidden">
36
+ <!-- Sidebar -->
37
+ <div class="hidden md:flex md:flex-shrink-0">
38
+ <div class="flex flex-col w-64 bg-indigo-800 text-white">
39
+ <div class="flex items-center justify-center h-16 px-4 border-b border-indigo-700">
40
+ <div class="flex items-center">
41
+ <i class="fas fa-chart-line text-2xl mr-2"></i>
42
+ <span class="text-xl font-semibold">AnalyticsPro</span>
43
+ </div>
44
+ </div>
45
+ <div class="flex flex-col flex-grow px-4 py-4 overflow-y-auto custom-scrollbar">
46
+ <nav class="flex-1 space-y-2">
47
+ <a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-lg bg-indigo-900 text-white">
48
+ <i class="fas fa-home mr-3"></i>
49
+ Dashboard
50
+ </a>
51
+ <a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
52
+ <i class="fas fa-bullhorn mr-3"></i>
53
+ Campañas
54
+ </a>
55
+ <a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
56
+ <i class="fas fa-users mr-3"></i>
57
+ Participantes
58
+ </a>
59
+ <a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
60
+ <i class="fas fa-chart-pie mr-3"></i>
61
+ Reportes
62
+ </a>
63
+ <a href="#" class="flex items-center px-4 py-3 text-sm font-medium rounded-lg text-indigo-200 hover:bg-indigo-700 hover:text-white">
64
+ <i class="fas fa-cog mr-3"></i>
65
+ Configuración
66
+ </a>
67
+ </nav>
68
+ </div>
69
+ <div class="p-4 border-t border-indigo-700">
70
+ <div class="flex items-center">
71
+ <img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="User profile">
72
+ <div class="ml-3">
73
+ <p class="text-sm font-medium">María González</p>
74
+ <p class="text-xs text-indigo-200">Admin</p>
75
+ </div>
76
+ </div>
77
+ </div>
78
+ </div>
79
+ </div>
80
+
81
+ <!-- Main content -->
82
+ <div class="flex flex-col flex-1 overflow-hidden">
83
+ <!-- Top navigation -->
84
+ <header class="bg-white shadow-sm">
85
+ <div class="flex items-center justify-between px-6 py-4">
86
+ <div class="flex items-center">
87
+ <button class="md:hidden text-gray-500 focus:outline-none">
88
+ <i class="fas fa-bars"></i>
89
+ </button>
90
+ <h1 class="ml-4 text-xl font-semibold text-gray-800">Detalle de Campaña</h1>
91
+ </div>
92
+ <div class="flex items-center space-x-4">
93
+ <button class="text-gray-500 focus:outline-none">
94
+ <i class="fas fa-bell"></i>
95
+ </button>
96
+ <button class="text-gray-500 focus:outline-none">
97
+ <i class="fas fa-question-circle"></i>
98
+ </button>
99
+ </div>
100
+ </div>
101
+ </header>
102
+
103
+ <!-- Main content area -->
104
+ <main class="flex-1 overflow-y-auto p-6 custom-scrollbar">
105
+ <!-- Campaign header -->
106
+ <div class="bg-white rounded-xl shadow-sm p-6 mb-6">
107
+ <div class="flex flex-col md:flex-row md:items-center md:justify-between">
108
+ <div>
109
+ <h2 class="text-2xl font-bold text-gray-800">Campaña de Verano 2023</h2>
110
+ <div class="flex items-center mt-2">
111
+ <span class="px-3 py-1 text-xs font-semibold rounded-full bg-green-100 text-green-800">Activa</span>
112
+ <span class="ml-3 text-sm text-gray-500"><i class="fas fa-calendar-alt mr-1"></i> 15 Jun - 30 Jun 2023</span>
113
+ </div>
114
+ </div>
115
+ <div class="mt-4 md:mt-0">
116
+ <button class="px-4 py-2 text-sm font-medium rounded-md bg-indigo-600 text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
117
+ <i class="fas fa-download mr-2"></i> Exportar Reporte
118
+ </button>
119
+ </div>
120
+ </div>
121
+ </div>
122
+
123
+ <!-- Stats cards -->
124
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
125
+ <div class="bg-white rounded-xl shadow-sm p-6">
126
+ <div class="flex items-center justify-between">
127
+ <div>
128
+ <p class="text-sm font-medium text-gray-500">Participantes totales</p>
129
+ <p class="mt-1 text-3xl font-semibold text-gray-900">8,542</p>
130
+ </div>
131
+ <div class="p-3 rounded-full bg-indigo-100 text-indigo-600">
132
+ <i class="fas fa-users text-xl"></i>
133
+ </div>
134
+ </div>
135
+ <div class="mt-4">
136
+ <div class="flex items-center text-sm text-green-600">
137
+ <i class="fas fa-arrow-up mr-1"></i>
138
+ <span>12.5% vs campaña anterior</span>
139
+ </div>
140
+ </div>
141
+ </div>
142
+
143
+ <div class="bg-white rounded-xl shadow-sm p-6">
144
+ <div class="flex items-center justify-between">
145
+ <div>
146
+ <p class="text-sm font-medium text-gray-500">Interacciones</p>
147
+ <p class="mt-1 text-3xl font-semibold text-gray-900">24,876</p>
148
+ </div>
149
+ <div class="p-3 rounded-full bg-blue-100 text-blue-600">
150
+ <i class="fas fa-hand-pointer text-xl"></i>
151
+ </div>
152
+ </div>
153
+ <div class="mt-4">
154
+ <div class="flex items-center text-sm text-green-600">
155
+ <i class="fas fa-arrow-up mr-1"></i>
156
+ <span>8.3% vs campaña anterior</span>
157
+ </div>
158
+ </div>
159
+ </div>
160
+
161
+ <div class="bg-white rounded-xl shadow-sm p-6">
162
+ <div class="flex items-center justify-between">
163
+ <div>
164
+ <p class="text-sm font-medium text-gray-500">Tasa de conversión</p>
165
+ <p class="mt-1 text-3xl font-semibold text-gray-900">32.4%</p>
166
+ </div>
167
+ <div class="p-3 rounded-full bg-purple-100 text-purple-600">
168
+ <i class="fas fa-percentage text-xl"></i>
169
+ </div>
170
+ </div>
171
+ <div class="mt-4">
172
+ <div class="flex items-center text-sm text-red-600">
173
+ <i class="fas fa-arrow-down mr-1"></i>
174
+ <span>2.1% vs campaña anterior</span>
175
+ </div>
176
+ </div>
177
+ </div>
178
+
179
+ <div class="bg-white rounded-xl shadow-sm p-6">
180
+ <div class="flex items-center justify-between">
181
+ <div>
182
+ <p class="text-sm font-medium text-gray-500">Participación promedio</p>
183
+ <p class="mt-1 text-3xl font-semibold text-gray-900">2.9</p>
184
+ </div>
185
+ <div class="p-3 rounded-full bg-yellow-100 text-yellow-600">
186
+ <i class="fas fa-chart-bar text-xl"></i>
187
+ </div>
188
+ </div>
189
+ <div class="mt-4">
190
+ <div class="flex items-center text-sm text-green-600">
191
+ <i class="fas fa-arrow-up mr-1"></i>
192
+ <span>5.7% vs campaña anterior</span>
193
+ </div>
194
+ </div>
195
+ </div>
196
+ </div>
197
+
198
+ <!-- Main charts -->
199
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 mb-6">
200
+ <!-- Participation by hour chart -->
201
+ <div class="bg-white rounded-xl shadow-sm p-6">
202
+ <div class="flex items-center justify-between mb-4">
203
+ <h3 class="text-lg font-medium text-gray-900">Participación por hora</h3>
204
+ <div class="relative">
205
+ <select class="appearance-none bg-gray-100 border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded-md leading-tight focus:outline-none focus:bg-white focus:border-indigo-500 text-sm">
206
+ <option>Últimos 7 días</option>
207
+ <option>Últimos 30 días</option>
208
+ <option selected>Duración completa</option>
209
+ </select>
210
+ <div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
211
+ <i class="fas fa-chevron-down"></i>
212
+ </div>
213
+ </div>
214
+ </div>
215
+ <div class="h-80">
216
+ <canvas id="hourlyChart"></canvas>
217
+ </div>
218
+ </div>
219
+
220
+ <!-- Age segmentation chart -->
221
+ <div class="bg-white rounded-xl shadow-sm p-6">
222
+ <div class="flex items-center justify-between mb-4">
223
+ <h3 class="text-lg font-medium text-gray-900">Segmentación por edad</h3>
224
+ <button class="text-sm text-indigo-600 hover:text-indigo-800 focus:outline-none">
225
+ <i class="fas fa-download mr-1"></i> Exportar
226
+ </button>
227
+ </div>
228
+ <div class="h-80">
229
+ <canvas id="ageChart"></canvas>
230
+ </div>
231
+ </div>
232
+ </div>
233
+
234
+ <!-- Additional charts and data -->
235
+ <div class="grid grid-cols-1 gap-6 mb-6">
236
+ <!-- Daily participation trend -->
237
+ <div class="bg-white rounded-xl shadow-sm p-6">
238
+ <div class="flex items-center justify-between mb-4">
239
+ <h3 class="text-lg font-medium text-gray-900">Tendencia diaria de participación</h3>
240
+ <div class="flex space-x-2">
241
+ <button class="px-3 py-1 text-sm rounded-md bg-indigo-100 text-indigo-800">Día</button>
242
+ <button class="px-3 py-1 text-sm rounded-md bg-gray-100 text-gray-800">Semana</button>
243
+ <button class="px-3 py-1 text-sm rounded-md bg-gray-100 text-gray-800">Mes</button>
244
+ </div>
245
+ </div>
246
+ <div class="h-80">
247
+ <canvas id="dailyTrendChart"></canvas>
248
+ </div>
249
+ </div>
250
+ </div>
251
+
252
+ <!-- Participant details table -->
253
+ <div class="bg-white rounded-xl shadow-sm overflow-hidden mb-6">
254
+ <div class="px-6 py-4 border-b border-gray-200">
255
+ <div class="flex items-center justify-between">
256
+ <h3 class="text-lg font-medium text-gray-900">Participantes destacados</h3>
257
+ <button class="text-sm text-indigo-600 hover:text-indigo-800 focus:outline-none">
258
+ Ver todos
259
+ </button>
260
+ </div>
261
+ </div>
262
+ <div class="overflow-x-auto">
263
+ <table class="min-w-full divide-y divide-gray-200">
264
+ <thead class="bg-gray-50">
265
+ <tr>
266
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Participante</th>
267
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Edad</th>
268
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Ubicación</th>
269
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Interacciones</th>
270
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Última participación</th>
271
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Estado</th>
272
+ </tr>
273
+ </thead>
274
+ <tbody class="bg-white divide-y divide-gray-200">
275
+ <tr>
276
+ <td class="px-6 py-4 whitespace-nowrap">
277
+ <div class="flex items-center">
278
+ <div class="flex-shrink-0 h-10 w-10">
279
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/32.jpg" alt="">
280
+ </div>
281
+ <div class="ml-4">
282
+ <div class="text-sm font-medium text-gray-900">Juan Pérez</div>
283
+ <div class="text-sm text-gray-500">juan.perez@example.com</div>
284
+ </div>
285
+ </div>
286
+ </td>
287
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">28</td>
288
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Madrid, ES</td>
289
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">47</td>
290
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Hoy, 14:32</td>
291
+ <td class="px-6 py-4 whitespace-nowrap">
292
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Activo</span>
293
+ </td>
294
+ </tr>
295
+ <tr>
296
+ <td class="px-6 py-4 whitespace-nowrap">
297
+ <div class="flex items-center">
298
+ <div class="flex-shrink-0 h-10 w-10">
299
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/44.jpg" alt="">
300
+ </div>
301
+ <div class="ml-4">
302
+ <div class="text-sm font-medium text-gray-900">María López</div>
303
+ <div class="text-sm text-gray-500">maria.lopez@example.com</div>
304
+ </div>
305
+ </div>
306
+ </td>
307
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">35</td>
308
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Barcelona, ES</td>
309
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">32</td>
310
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Ayer, 18:15</td>
311
+ <td class="px-6 py-4 whitespace-nowrap">
312
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Activo</span>
313
+ </td>
314
+ </tr>
315
+ <tr>
316
+ <td class="px-6 py-4 whitespace-nowrap">
317
+ <div class="flex items-center">
318
+ <div class="flex-shrink-0 h-10 w-10">
319
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/men/75.jpg" alt="">
320
+ </div>
321
+ <div class="ml-4">
322
+ <div class="text-sm font-medium text-gray-900">Carlos García</div>
323
+ <div class="text-sm text-gray-500">carlos.garcia@example.com</div>
324
+ </div>
325
+ </div>
326
+ </td>
327
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">42</td>
328
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Valencia, ES</td>
329
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">28</td>
330
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">25 Jun, 10:45</td>
331
+ <td class="px-6 py-4 whitespace-nowrap">
332
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Inactivo</span>
333
+ </td>
334
+ </tr>
335
+ <tr>
336
+ <td class="px-6 py-4 whitespace-nowrap">
337
+ <div class="flex items-center">
338
+ <div class="flex-shrink-0 h-10 w-10">
339
+ <img class="h-10 w-10 rounded-full" src="https://randomuser.me/api/portraits/women/68.jpg" alt="">
340
+ </div>
341
+ <div class="ml-4">
342
+ <div class="text-sm font-medium text-gray-900">Ana Martínez</div>
343
+ <div class="text-sm text-gray-500">ana.martinez@example.com</div>
344
+ </div>
345
+ </div>
346
+ </td>
347
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">31</td>
348
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Sevilla, ES</td>
349
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">19</td>
350
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">24 Jun, 16:30</td>
351
+ <td class="px-6 py-4 whitespace-nowrap">
352
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Activo</span>
353
+ </td>
354
+ </tr>
355
+ </tbody>
356
+ </table>
357
+ </div>
358
+ </div>
359
+ </main>
360
+ </div>
361
+ </div>
362
+
363
+ <script>
364
+ // Hourly participation chart
365
+ const hourlyCtx = document.getElementById('hourlyChart').getContext('2d');
366
+ const hourlyChart = new Chart(hourlyCtx, {
367
+ type: 'line',
368
+ data: {
369
+ labels: ['00:00', '02:00', '04:00', '06:00', '08:00', '10:00', '12:00', '14:00', '16:00', '18:00', '20:00', '22:00'],
370
+ datasets: [{
371
+ label: 'Participaciones',
372
+ data: [120, 95, 80, 150, 420, 780, 950, 1020, 890, 750, 620, 380],
373
+ backgroundColor: 'rgba(79, 70, 229, 0.1)',
374
+ borderColor: 'rgba(79, 70, 229, 1)',
375
+ borderWidth: 2,
376
+ tension: 0.3,
377
+ fill: true
378
+ }]
379
+ },
380
+ options: {
381
+ responsive: true,
382
+ maintainAspectRatio: false,
383
+ plugins: {
384
+ legend: {
385
+ display: false
386
+ },
387
+ tooltip: {
388
+ mode: 'index',
389
+ intersect: false
390
+ }
391
+ },
392
+ scales: {
393
+ y: {
394
+ beginAtZero: true,
395
+ grid: {
396
+ drawBorder: false
397
+ }
398
+ },
399
+ x: {
400
+ grid: {
401
+ display: false
402
+ }
403
+ }
404
+ }
405
+ }
406
+ });
407
+
408
+ // Age segmentation chart
409
+ const ageCtx = document.getElementById('ageChart').getContext('2d');
410
+ const ageChart = new Chart(ageCtx, {
411
+ type: 'bar',
412
+ data: {
413
+ labels: ['18-24', '25-34', '35-44', '45-54', '55-64', '65+'],
414
+ datasets: [{
415
+ label: 'Participantes',
416
+ data: [1200, 2800, 2100, 1500, 800, 242],
417
+ backgroundColor: [
418
+ 'rgba(79, 70, 229, 0.7)',
419
+ 'rgba(99, 102, 241, 0.7)',
420
+ 'rgba(129, 140, 248, 0.7)',
421
+ 'rgba(165, 180, 252, 0.7)',
422
+ 'rgba(199, 210, 254, 0.7)',
423
+ 'rgba(224, 231, 255, 0.7)'
424
+ ],
425
+ borderColor: [
426
+ 'rgba(79, 70, 229, 1)',
427
+ 'rgba(99, 102, 241, 1)',
428
+ 'rgba(129, 140, 248, 1)',
429
+ 'rgba(165, 180, 252, 1)',
430
+ 'rgba(199, 210, 254, 1)',
431
+ 'rgba(224, 231, 255, 1)'
432
+ ],
433
+ borderWidth: 1
434
+ }]
435
+ },
436
+ options: {
437
+ responsive: true,
438
+ maintainAspectRatio: false,
439
+ plugins: {
440
+ legend: {
441
+ display: false
442
+ }
443
+ },
444
+ scales: {
445
+ y: {
446
+ beginAtZero: true,
447
+ grid: {
448
+ drawBorder: false
449
+ }
450
+ },
451
+ x: {
452
+ grid: {
453
+ display: false
454
+ }
455
+ }
456
+ }
457
+ }
458
+ });
459
+
460
+ // Daily trend chart
461
+ const dailyTrendCtx = document.getElementById('dailyTrendChart').getContext('2d');
462
+ const dailyTrendChart = new Chart(dailyTrendCtx, {
463
+ type: 'line',
464
+ data: {
465
+ labels: ['15 Jun', '16 Jun', '17 Jun', '18 Jun', '19 Jun', '20 Jun', '21 Jun', '22 Jun', '23 Jun', '24 Jun', '25 Jun', '26 Jun', '27 Jun', '28 Jun', '29 Jun', '30 Jun'],
466
+ datasets: [
467
+ {
468
+ label: 'Participaciones',
469
+ data: [420, 580, 720, 890, 950, 1020, 1150, 980, 1100, 1250, 1320, 1400, 1280, 1150, 1050, 920],
470
+ borderColor: 'rgba(79, 70, 229, 1)',
471
+ backgroundColor: 'rgba(79, 70, 229, 0.1)',
472
+ borderWidth: 2,
473
+ tension: 0.3,
474
+ fill: true
475
+ },
476
+ {
477
+ label: 'Nuevos participantes',
478
+ data: [150, 180, 210, 240, 220, 250, 280, 260, 270, 290, 310, 300, 280, 260, 240, 220],
479
+ borderColor: 'rgba(236, 72, 153, 1)',
480
+ backgroundColor: 'rgba(236, 72, 153, 0.1)',
481
+ borderWidth: 2,
482
+ tension: 0.3,
483
+ fill: true,
484
+ hidden: true
485
+ }
486
+ ]
487
+ },
488
+ options: {
489
+ responsive: true,
490
+ maintainAspectRatio: false,
491
+ plugins: {
492
+ legend: {
493
+ position: 'top',
494
+ },
495
+ tooltip: {
496
+ mode: 'index',
497
+ intersect: false
498
+ }
499
+ },
500
+ scales: {
501
+ y: {
502
+ beginAtZero: true,
503
+ grid: {
504
+ drawBorder: false
505
+ }
506
+ },
507
+ x: {
508
+ grid: {
509
+ display: false
510
+ }
511
+ }
512
+ }
513
+ }
514
+ });
515
+
516
+ // Mobile menu toggle
517
+ document.querySelector('.md\\:hidden').addEventListener('click', function() {
518
+ document.querySelector('.md\\:flex').classList.toggle('hidden');
519
+ });
520
+ </script>
521
+ <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=Treas/prueba" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
522
+ </html>