-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
584 lines (571 loc) · 23.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
<!DOCTYPE html>
<html lang="es" class="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Cronómetro simple para sesiones de Formula 1"
/>
<meta name="author" content="Jhonatan Laguna" />
<meta name="keywords" content="cronometro, f1, formula 1" />
<meta property="og:title" content="Soy Cronómetro" />
<meta
property="og:description"
content="Cronómetro simple para sesiones de Formula 1"
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://soycronometro.pages.dev" />
<meta
property="og:image"
content="https://soycronometro.pages.dev/imgs/Cronometro.png"
/>
<meta property="og:image:width" content="800" />
<meta property="og:image:height" content="990" />
<meta property="og:site_name" content="Soy Cronómetro" />
<meta property="og:locale" content="es_ES" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@jhonatanlaguna" />
<meta name="twitter:creator" content="@jl4guna" />
<meta name="twitter:title" content="Soy Cronómetro" />
<meta
name="twitter:description"
content="Cronómetro simple para sesiones de Formula 1"
/>
<meta
name="twitter:image"
content="https://soycronometro.pages.dev/imgs/Cronometro.png"
/>
<meta name="twitter:image:alt" content="Cronómetro" />
<meta name="twitter:domain" content="soycronometro.pages.dev" />
<meta name="theme-color" content="#ff0057" />
<title>Soy Cronómetro</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link href="./output.css" rel="stylesheet" />
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
</style>
</head>
<body class="bg-blanco dark:bg-gray-900 flex flex-col items-center h-screen">
<img src="/imgs/Cronometro.svg" alt="Cronómetro logo" class="md:hidden w-2/5"/>
<img src="/imgs/SoyCronometro.svg" alt="SoyCronómetro logo" class="hidden dark:hidden dark:md:hidden md:block w-3/4"/>
<img src="/imgs/SoyCronometroWhite.svg" alt="SoyCronómetro logo" class="hidden dark:md:block w-3/4"/>
<div class="absolute top-0 left-0 m-2 py-2 px-4">
<a
href="https://github.com/jl4guna/SoyCronometro"
aria-label="GitHub repository"
target="_blank"
class="text-negro dark:text-white"
>
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg">
<path
style="transform: scale(0.24)"
class="fill-black dark:fill-white m-2"
fill-rule="evenodd"
d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"
/>
</svg>
</a>
</div>
<div class="absolute top-0 right-0 m-2">
<button
aria-label="toggle dark mode"
class="toggleTheme text-gray-50 font-bold py-2 px-4 rounded hover:border-gray-50 hover:border"
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-6 h-6"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"
/>
</svg>
</button>
<button
aria-label="toggle dark mode"
class="toggleTheme bg-gray-50 dark:hidden hover:bg-gray-900 hover:text-gray-50 text-gray-900 font-bold py-2 px-4 rounded hover:border-gray-50 hover:border"
>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-6 h-6"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"
/>
</svg>
</button>
</div>
<div id="sesion-selector-container">
<label for="sesion-selector" class="sr-only">Sesión selector</label>
<select
id="sesion-selector"
name="sesion-selector"
class="add-subtract-button mt-2 block w-full rounded-md border-0 py-1.5 pl-3 pr-10 text-gray-900 ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-indigo-600 sm:text-sm sm:leading-6 font-[Roboto]"
>
<option>Selecciona una sesión</option>
<option value="T">Test de Pretemporada</option>
<option value="FP">Prácticas</option>
<option value="Q1">Q1</option>
<option value="Q2">Q2</option>
<option value="Q3">Q3</option>
<option value="SQ1">SQ1</option>
<option value="SQ2">SQ2</option>
<option value="SQ3">SQ3</option>
<option value="R">Carrera</option>
</select>
</div>
<div class="text-center mt-8 flex flex-col items-center">
<div class="w-96 flex justify-evenly">
<button id="increaseTimeHours" aria-label="increase timer hours" class="group add-subtract-button">
<svg
width="80"
height="61"
viewBox="0 0 80 61"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class="group"
>
<path
d="M11.2111 60L68.7889 60C73.5811 60 76.4394 54.6591 73.7812 50.6718L44.9923 7.48846C42.6174 3.92606 37.3826 3.92606 35.0077 7.48845L6.2188 50.6718C3.56059 54.6591 6.41893 60 11.2111 60Z"
fill="white"
stroke="#BDBDBD"
/>
<path
d="M40 28V48"
stroke-width="4"
stroke-linecap="round"
class="stroke-[#27AE60] group-hover:stroke-[#219653] group-disabled:stroke-[#C5DDCF]"
/>
<path
d="M50 38L30 38"
stroke-width="4"
stroke-linecap="round"
class="stroke-[#27AE60] group-hover:stroke-[#219653] group-disabled:stroke-[#C5DDCF]"
/>
</svg>
</button>
<button id="increaseTimeMinutes" aria-label="increase timer minutes" class="group add-subtract-button">
<svg
width="80"
height="61"
viewBox="0 0 80 61"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class="group"
>
<path
d="M11.2111 60L68.7889 60C73.5811 60 76.4394 54.6591 73.7812 50.6718L44.9923 7.48846C42.6174 3.92606 37.3826 3.92606 35.0077 7.48845L6.2188 50.6718C3.56059 54.6591 6.41893 60 11.2111 60Z"
fill="white"
stroke="#BDBDBD"
/>
<path
d="M40 28V48"
stroke-width="4"
stroke-linecap="round"
class="stroke-[#27AE60] group-hover:stroke-[#219653] group-disabled:stroke-[#C5DDCF]"
/>
<path
d="M50 38L30 38"
stroke-width="4"
stroke-linecap="round"
class="stroke-[#27AE60] group-hover:stroke-[#219653] group-disabled:stroke-[#C5DDCF]"
/>
</svg>
</button>
<button id="increaseTimeSeconds" aria-label="increase timer seconds" class="group add-subtract-button">
<svg
width="80"
height="61"
viewBox="0 0 80 61"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class="group"
>
<path
d="M11.2111 60L68.7889 60C73.5811 60 76.4394 54.6591 73.7812 50.6718L44.9923 7.48846C42.6174 3.92606 37.3826 3.92606 35.0077 7.48845L6.2188 50.6718C3.56059 54.6591 6.41893 60 11.2111 60Z"
fill="white"
stroke="#BDBDBD"
/>
<path
d="M40 28V48"
stroke-width="4"
stroke-linecap="round"
class="stroke-[#27AE60] group-hover:stroke-[#219653] group-disabled:stroke-[#C5DDCF]"
/>
<path
d="M50 38L30 38"
stroke-width="4"
stroke-linecap="round"
class="stroke-[#27AE60] group-hover:stroke-[#219653] group-disabled:stroke-[#C5DDCF]"
/>
</svg>
</button>
</div>
<div
id="display-time"
class="text-6xl my-6 text-white relative flex justify-center items-center"
>
<p
id="display"
class="w-[26rem] h-[7.5rem] bg-rosa rounded-lg relative flex justify-center items-center font-[Roboto]"
>
01 : 00 : 00
<span class="!absolute top-4 right-6 text-sm">000</span>
</p>
</div>
<div
id="display-tyres"
class="hidden text-6xl text-white relative justify-center items-center"
>
<p
class="w-[26rem] h-[7.5rem] bg-rosa rounded-lg m-6 relative flex justify-center items-center font-[Roboto]"
>
<img
class="animate-spin-slow p-1"
width="50px"
height="50px"
src="imgs/red-parentesi.webp"
alt="soft tyres"
/>
<img
class="animate-spin-slow p-1"
width="50px"
height="50px"
src="imgs/red-parentesi.webp"
alt="soft tyres"
/>
:
<img
class="animate-spin-slow p-1"
width="50px"
height="50px"
src="imgs/yellow-parentesi.webp"
alt="medium tyres"
/>
<img
class="animate-spin-slow p-1"
width="50px"
height="50px"
src="imgs/yellow-parentesi.webp"
alt="medium tyres"
/>
:
<img
class="animate-spin-slow p-1"
width="50px"
height="50px"
src="imgs/white-parentesi.webp"
alt="hard tyres"
/>
<img
class="animate-spin-slow p-1"
width="50px"
height="50px"
src="imgs/white-parentesi.webp"
alt="hard tyres"
/>
</p>
</div>
<div class="w-96 flex justify-evenly">
<button id="decreaseTimeHours" aria-label="decrease timer hours" class="group add-subtract-button">
<svg
width="80"
height="61"
viewBox="0 0 80 61"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M68.7889 1H11.2111C6.41893 1 3.56058 6.34087 6.2188 10.3282L35.0077 53.5115C37.3826 57.0739 42.6174 57.0739 44.9923 53.5116L73.7812 10.3282C76.4394 6.34087 73.5811 1 68.7889 1Z"
fill="white"
stroke="#BDBDBD"
/>
<path
d="M50 23L30 23"
stroke="#EB5757"
stroke-width="4"
stroke-linecap="round"
class="group-disabled:stroke-[#E2BEBE] stroke=[#EB5757] group-hover:stroke-[#CF3838]"
/>
</svg>
</button>
<button id="decreaseTimeMinutes" aria-label="decrease timer minutes" class="group add-subtract-button">
<svg
width="80"
height="61"
viewBox="0 0 80 61"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M68.7889 1H11.2111C6.41893 1 3.56058 6.34087 6.2188 10.3282L35.0077 53.5115C37.3826 57.0739 42.6174 57.0739 44.9923 53.5116L73.7812 10.3282C76.4394 6.34087 73.5811 1 68.7889 1Z"
fill="white"
stroke="#BDBDBD"
/>
<path
d="M50 23L30 23"
stroke="#EB5757"
stroke-width="4"
stroke-linecap="round"
class="group-disabled:stroke-[#E2BEBE] stroke=[#EB5757] group-hover:stroke-[#CF3838]"
/>
</svg>
</button>
<button id="decreaseTimeSeconds" aria-label="decrease timer seconds" class="group add-subtract-button">
<svg
width="80"
height="61"
viewBox="0 0 80 61"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M68.7889 1H11.2111C6.41893 1 3.56058 6.34087 6.2188 10.3282L35.0077 53.5115C37.3826 57.0739 42.6174 57.0739 44.9923 53.5116L73.7812 10.3282C76.4394 6.34087 73.5811 1 68.7889 1Z"
fill="white"
stroke="#BDBDBD"
/>
<path
d="M50 23L30 23"
stroke="#EB5757"
stroke-width="4"
stroke-linecap="round"
class="group-disabled:stroke-[#E2BEBE] stroke=[#EB5757] group-hover:stroke-[#CF3838]"
/>
</svg>
</button>
</div>
<div class="mt-8 w-96 flex justify-around">
<button
id="start"
aria-label="start timer"
class="flex justify-center items-center bg-verde hover:bg-verde-oscuro text-white w-40 h-12 rounded-full font-[Roboto] font-bold"
>
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class="mr-2"
>
<path
d="M17.9414 10.8086C18.4336 11.125 18.75 11.6875 18.75 12.25C18.75 12.8477 18.4336 13.4102 17.9414 13.6914L7.81641 19.8789C7.28906 20.1953 6.62109 20.2305 6.09375 19.9141C5.56641 19.6328 5.25 19.0703 5.25 18.4375V6.06251C5.25 5.46485 5.56641 4.90235 6.09375 4.6211C6.62109 4.30469 7.28906 4.30469 7.81641 4.65626L17.9414 10.8086Z"
fill="white"
/>
</svg>
Iniciar
</button>
<button
id="stop"
aria-label="stop timer"
class="hidden justify-center items-center bg-rojo hover:bg-rojo-oscuro text-white w-44 h-12 rounded-full font-[Roboto] font-bold"
>
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class="mr-2"
>
<path
d="M15.9375 5.5C16.8516 5.5 17.625 6.27344 17.625 7.1875V17.3125C17.625 18.2617 16.8516 19 15.9375 19L14.8125 18.9648C13.8633 18.9648 13.125 18.1914 13.125 17.2773V7.15234C13.125 6.23828 13.8633 5.5 14.8125 5.5H15.9375ZM9.1875 5.5C10.1016 5.5 10.875 6.27344 10.875 7.1875V17.3125C10.875 18.2617 10.1016 19 9.1875 19H8.0625C7.11328 19 6.375 18.2617 6.375 17.3125V7.1875C6.375 6.23828 7.11328 5.5 8.0625 5.5H9.1875Z"
fill="white"
/>
</svg>
Detener
</button>
<button
id="reset"
aria-label="reset timer"
class="hidden mr-4 justify-center items-center bg-azul hover:bg-azul-oscuro text-white w-44 h-12 rounded-full font-[Roboto] font-bold"
>
<svg
width="17"
height="17"
viewBox="0 0 17 17"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class="mr-2"
>
<path
d="M16.875 8.25C16.875 12.6094 13.3242 16.125 9 16.125C7.27734 16.125 5.625 15.5977 4.25391 14.5781C3.76172 14.1914 3.65625 13.4883 4.04297 12.9961C4.42969 12.5039 5.13281 12.3984 5.625 12.75C6.60938 13.4883 7.76953 13.875 9 13.875C12.0938 13.875 14.625 11.3789 14.625 8.25C14.625 5.15625 12.0938 2.66015 9 2.66015C7.66406 2.66015 6.43359 3.11718 5.41406 3.92578L7.03125 5.50781C7.62891 6.10547 7.17188 7.16015 6.32812 7.16015H1.23047C0.84375 7.16015 0.5625 6.84375 0.5625 6.45703V1.35937C0.5625 0.480466 1.58203 0.0585908 2.17969 0.656247L3.83203 2.34375C5.23828 1.11328 7.06641 0.410153 9 0.410153C13.3242 0.410153 16.875 3.92578 16.875 8.25Z"
fill="white"
/>
</svg>
Reiniciar
</button>
<button
id="continue"
aria-label="resume timer"
class="hidden justify-center items-center bg-verde hover:bg-verde-oscuro text-white w-40 h-12 rounded-full font-[Roboto] font-bold"
>
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
class="mr-2"
>
<path
d="M17.9414 10.8086C18.4336 11.125 18.75 11.6875 18.75 12.25C18.75 12.8477 18.4336 13.4102 17.9414 13.6914L7.81641 19.8789C7.28906 20.1953 6.62109 20.2305 6.09375 19.9141C5.56641 19.6328 5.25 19.0703 5.25 18.4375V6.06251C5.25 5.46485 5.56641 4.90235 6.09375 4.6211C6.62109 4.30469 7.28906 4.30469 7.81641 4.65626L17.9414 10.8086Z"
fill="white"
/>
</svg>
Continuar
</button>
</div>
<div id="countdownInput" class="my-8">
<div class="flex justify-center items-center">
<hr
width="80px"
class="border-t border-t-gray-400 dark:border-t-gris"
/>
<p
class="text-gray-400 dark:text-gris text-center mx-8 font-[Roboto]"
>
o personalízalo
</p>
<hr
width="80px"
class="border-t border-t-gray-400 dark:border-t-gris"
/>
</div>
<div class="mt-16 flex justify-evenly items-center">
<input
id="countdownHours"
type="number"
min="0"
class="w-20 font-[Roboto] text-xl bg-white text-center appearance-none border border-gris rounded py-2 text-gris-oscuro leading-tight focus:outline-none focus:border-azul"
placeholder="Horas"
value="0"
/>
<p class="text-gray-800 text-xl dark:text-white font-[Roboto]">:</p>
<input
id="countdownMinutes"
type="number"
min="0"
max="59"
class="w-20 font-[Roboto] text-xl bg-white text-center appearance-none border border-gris rounded py-2 text-gris-oscuro leading-tight focus:outline-none focus:border-azul"
placeholder="Min"
value="0"
/>
<p class="text-gray-800 text-xl dark:text-white font-[Roboto]">:</p>
<input
id="countdownSeconds"
type="number"
min="0"
max="59"
class="w-20 font-[Roboto] text-xl bg-white text-center appearance-none border border-gris rounded py-2 text-gris-oscuro leading-tight focus:outline-none focus:border-azul"
placeholder="Seg"
value="0"
/>
</div>
<div id="countdownErrors" class="hidden">
<ul class="appearance-none text-left mt-4">
<li class="text-rojo font-[Roboto] flex items-center">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="w-6 h-6 mr-2"
>
<path
fill-rule="evenodd"
d="M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"
clip-rule="evenodd"
/>
</svg>
No puede ser mayor a 59
</li>
<li class="text-rojo font-[Roboto] flex items-center"">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="w-6 h-6 mr-2"
>
<path
fill-rule="evenodd"
d="M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"
clip-rule="evenodd"
/>
</svg>
No puede ser menor a 0
</li>
<li class="text-rojo font-[Roboto] flex items-center"">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="w-6 h-6 mr-2"
>
<path
fill-rule="evenodd"
d="M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003ZM12 8.25a.75.75 0 0 1 .75.75v3.75a.75.75 0 0 1-1.5 0V9a.75.75 0 0 1 .75-.75Zm0 8.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"
clip-rule="evenodd"
/>
</svg>
Deben ser números enteros
</li>
</ul>
</div>
<button
id="setCountdown"
aria-label="set timer countdown"
class="w-full mt-8 bg-azul hover:bg-azul-oscuro text-white font-bold py-2 px-4 rounded-full font-[Roboto] disabled:bg-[#E0E0E0] disabled:text-gris"
>
Establecer Tiempo
</button>
</div>
</div>
<footer class="w-full pt-8 text-center text-gray-50">
<p class="text-xs text-negro dark:text-white">
Hecho con
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="w-6 h-6 inline-block mx-1 text-rosa"
>
<path
d="m11.645 20.91-.007-.003-.022-.012a15.247 15.247 0 0 1-.383-.218 25.18 25.18 0 0 1-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0 1 12 5.052 5.5 5.5 0 0 1 16.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 0 1-4.244 3.17 15.247 15.247 0 0 1-.383.219l-.022.012-.007.004-.003.001a.752.752 0 0 1-.704 0l-.003-.001Z"
/>
</svg>
por
<a
href="https://twitter.com/jl4guna"
class="hover:text-rosa font-bold"
target="_blank"
rel="noopener noreferrer"
>@jl4guna</a
>
&
<a
href="https://dribbble.com/elisa-larrondo"
class="hover:text-rosa font-bold"
target="_blank"
rel="noopener noreferrer"
>@elisa_larrondo</a
>
</p>
</footer>
<script src="script.js"></script>
</body>
</html>