-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
2644 lines (2404 loc) · 147 KB
/
index.html
File metadata and controls
2644 lines (2404 loc) · 147 KB
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
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="es">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VMVRFD9QGN"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-VMVRFD9QGN');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WidKit - 18 Widgets Educativos Gratis para Profesores | Moodle, Blackboard, Canvas</title>
<!-- SEO Meta Tags -->
<meta name="description" content="18 widgets educativos gratuitos para profesores: cuenta regresiva, sorteos, calculadora de notas, pomodoro timer, votación en vivo, flashcards, matemáticas, palabras, pasos, ruleta, equipos, quiz, nubes, fuego-salto y más. Intégralos en Moodle, Blackboard o Canvas sin programar. ¡Gratis y sin registro!">
<meta name="keywords" content="widgets educativos, herramientas moodle, cuenta regresiva clases, sorteo estudiantes, calculadora notas, generador equipos, pomodoro profesores, tabla clasificación, recursos profesores, lms widgets, blackboard widgets, canvas lms, herramientas docentes, educación digital">
<meta name="author" content="WidKit - @bemtorres">
<meta name="robots" content="index, follow">
<meta name="language" content="Spanish">
<meta name="revisit-after" content="7 days">
<link rel="canonical" href="https://widkit.lol/">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://widkit.lol/">
<meta property="og:title" content="WidKit - Widgets Educativos Gratis para Profesores | Moodle, Blackboard, Canvas">
<meta property="og:description" content="18 widgets educativos gratuitos listos para usar: cuenta regresiva, sorteos, notas, pomodoro, votación en vivo, flashcards, matemáticas, palabras, pasos, ruleta, equipos, quiz, nubes, fuego-salto y más. Sin programar, sin registro. ¡Úsalos en tu LMS ahora!">
<meta property="og:image" content="https://widkit.lol/assets/widkit_fuego_icono.png">
<meta property="og:locale" content="es_ES">
<meta property="og:site_name" content="WidKit">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://widkit.lol/">
<meta name="twitter:title" content="WidKit - Widgets Educativos para Profesores">
<meta name="twitter:description" content="18 widgets gratuitos para dinamizar tus clases: sorteos, timers, notas, votación en vivo, flashcards, matemáticas, palabras, pasos, ruleta, equipos, quiz, nubes, fuego-salto y más. Sin código, sin registro.">
<meta name="twitter:image" content="https://widkit.lol/assets/widkit_fuego_icono.png">
<meta name="twitter:creator" content="@bemtorres">
<!-- PWA Meta Tags -->
<meta name="theme-color" content="#f59e0b">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="WidKit">
<!-- Manifest -->
<link rel="manifest" href="/manifest.json">
<!-- Iconos para diferentes dispositivos -->
<link rel="icon" type="image/png" sizes="192x192" href="/assets/widkit_fuego_icono.png">
<link rel="icon" type="image/png" sizes="512x512" href="/assets/widkit_fuego_icono.png">
<link rel="apple-touch-icon" href="/assets/widkit_fuego_icono.png">
<script src="https://cdn.tailwindcss.com"></script>
<style>
/* Animaciones */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes pulse-slow {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.8;
}
}
@keyframes gradient-shift {
0%, 100% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
}
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}
.animate-fadeInUp {
animation: fadeInUp 0.6s ease-out;
}
.animate-fadeIn {
animation: fadeIn 0.8s ease-out;
}
.animate-slideInLeft {
animation: slideInLeft 0.6s ease-out;
}
.animate-slideInRight {
animation: slideInRight 0.6s ease-out;
}
.animate-pulse-slow {
animation: pulse-slow 3s ease-in-out infinite;
}
.animate-float {
animation: float 3s ease-in-out infinite;
}
.gradient-animated {
background-size: 200% 200%;
animation: gradient-shift 8s ease infinite;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
/* Animaciones al scroll */
.scroll-reveal {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal.active {
opacity: 1;
transform: translateY(0);
}
/* Modo Pro - Efectos Premium */
.pro-mode {
background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%) !important;
background-size: 400% 400%;
animation: gradient-shift 8s ease infinite !important;
}
.pro-mode .widget-card {
border: 2px solid #fbbf24 !important;
box-shadow: 0 0 20px rgba(251, 191, 36, 0.3), 0 0 40px rgba(251, 191, 36, 0.1) !important;
background: linear-gradient(135deg, #1f1f1f 0%, #2d2d2d 100%) !important;
position: relative;
overflow: hidden;
}
.pro-mode .widget-card::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(45deg, transparent, rgba(251, 191, 36, 0.1), transparent);
transform: rotate(45deg);
animation: shine 3s linear infinite;
}
@keyframes shine {
0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}
.pro-mode .widget-card h3,
.pro-mode .widget-card p {
color: #fbbf24 !important;
text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}
.pro-mode .widget-card .gradient-icon {
background: none !important;
filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.8));
animation: pulse-glow 2s ease-in-out infinite;
}
/* Estilos para imágenes en widgets */
.gradient-icon img {
transition: transform 0.3s ease;
}
/* Hover normal sin modo pro - solo escala suave */
.widget-card:hover .gradient-icon img {
transform: scale(1.1);
}
/* Animación de hover SOLO en Modo Pro */
.pro-mode .widget-card:hover .gradient-icon img {
animation: hover-wiggle-pro 0.7s ease-in-out !important;
}
/* Animación de hover aleatoria para Modo Pro */
@keyframes hover-wiggle-pro {
0% { transform: scale(1.2) rotate(0deg); }
15% { transform: scale(1.4) rotate(-8deg) translateY(-10px); }
30% { transform: scale(1.6) rotate(8deg) translateX(5px); }
45% { transform: scale(1.8) rotate(-5deg) translateY(-15px); }
60% { transform: scale(1.75) rotate(10deg) translateX(-5px); }
75% { transform: scale(1.8) rotate(-3deg) translateY(-12px); }
100% { transform: scale(1.8) rotate(8deg); }
}
/* Hover en features también - SOLO en Modo Pro */
.pro-mode .animate-float:hover img {
animation: hover-wiggle-pro 0.7s ease-in-out !important;
}
/* Modo Pro: Imágenes más grandes y con animación */
.pro-mode .gradient-icon img,
.pro-mode .animate-float img {
transform: scale(1.2);
}
/* Animaciones aleatorias para Modo Pro */
@keyframes float-random-1 {
0%, 100% { transform: scale(1.2) translateY(0px) rotate(0deg); }
25% { transform: scale(1.25) translateY(-15px) rotate(5deg); }
50% { transform: scale(1.2) translateY(-8px) rotate(-3deg); }
75% { transform: scale(1.25) translateY(-20px) rotate(7deg); }
}
@keyframes float-random-2 {
0%, 100% { transform: scale(1.2) translateX(0px) rotate(0deg); }
33% { transform: scale(1.3) translateX(10px) rotate(-5deg); }
66% { transform: scale(1.2) translateX(-8px) rotate(5deg); }
}
@keyframes float-random-3 {
0%, 100% { transform: scale(1.2) translateY(0px) translateX(0px) rotate(0deg); }
20% { transform: scale(1.25) translateY(-10px) translateX(5px) rotate(3deg); }
40% { transform: scale(1.3) translateY(-18px) translateX(-5px) rotate(-4deg); }
60% { transform: scale(1.25) translateY(-12px) translateX(8px) rotate(6deg); }
80% { transform: scale(1.2) translateY(-5px) translateX(-3px) rotate(-2deg); }
}
@keyframes float-random-4 {
0%, 100% { transform: scale(1.2) rotate(0deg); }
50% { transform: scale(1.35) rotate(10deg); }
}
@keyframes float-random-5 {
0%, 100% { transform: scale(1.2) translateY(0px); }
30% { transform: scale(1.28) translateY(-25px); }
70% { transform: scale(1.22) translateY(-10px); }
}
/* Aplicar animaciones a las imágenes en modo pro */
.pro-mode .gradient-icon img:nth-child(1) {
animation: float-random-1 4s ease-in-out infinite;
}
.pro-mode .widget-card:nth-child(2) .gradient-icon img {
animation: float-random-2 3.5s ease-in-out infinite;
}
.pro-mode .widget-card:nth-child(3) .gradient-icon img {
animation: float-random-3 5s ease-in-out infinite;
}
.pro-mode .widget-card:nth-child(4) .gradient-icon img {
animation: float-random-4 3s ease-in-out infinite;
}
.pro-mode .widget-card:nth-child(5) .gradient-icon img {
animation: float-random-5 4.5s ease-in-out infinite;
}
.pro-mode .widget-card:nth-child(6) .gradient-icon img {
animation: float-random-1 3.8s ease-in-out infinite 0.5s;
}
.pro-mode .widget-card:nth-child(7) .gradient-icon img {
animation: float-random-2 4.2s ease-in-out infinite 0.8s;
}
.pro-mode .widget-card:nth-child(8) .gradient-icon img {
animation: float-random-3 3.6s ease-in-out infinite 1s;
}
.pro-mode .widget-card:nth-child(9) .gradient-icon img {
animation: float-random-4 4.8s ease-in-out infinite 0.3s;
}
.pro-mode .widget-card:nth-child(10) .gradient-icon img {
animation: float-random-5 3.3s ease-in-out infinite 0.6s;
}
.pro-mode .widget-card:nth-child(11) .gradient-icon img {
animation: float-random-1 5.2s ease-in-out infinite 1.2s;
}
/* Features con animaciones */
.pro-mode .animate-float img {
animation: float-random-3 4s ease-in-out infinite !important;
}
.pro-mode .animate-float.delay-100 img {
animation: float-random-1 3.8s ease-in-out infinite 0.5s !important;
}
.pro-mode .animate-float.delay-200 img {
animation: float-random-2 4.2s ease-in-out infinite 0.8s !important;
}
.pro-mode .animate-float.delay-300 img {
animation: float-random-4 3.5s ease-in-out infinite 1s !important;
}
/* Animación de caída del logo hero */
.hero-logo-drop {
transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
max-width: 0;
opacity: 0;
margin: 0;
overflow: hidden;
}
.hero-title-interactive {
min-height: 80px;
gap: 0.25rem;
transition: gap 0.5s ease;
}
.hero-title-interactive.active {
gap: 1rem;
}
.hero-title-interactive:not(.active) .hero-logo-drop {
opacity: 0;
max-width: 0;
margin: 0;
transform: translateY(-150px) scale(0.5);
}
.hero-title-interactive.active .hero-logo-drop {
opacity: 1;
max-width: 500px;
margin: 0 0.5rem;
transform: translateY(0) scale(1);
animation: bounce-in 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.hero-title-interactive.active #widgetsText {
text-decoration: line-through;
text-decoration-color: #ef4444;
text-decoration-thickness: 4px;
}
@keyframes bounce-in {
0% {
transform: translateY(-150px) scale(0.5);
opacity: 0;
}
60% {
transform: translateY(10px) scale(1.1);
opacity: 1;
}
80% {
transform: translateY(-5px) scale(0.95);
}
100% {
transform: translateY(0) scale(1);
}
}
/* Modo Pro: Estilos para el título hero */
.pro-mode .hero-title-interactive span {
color: white !important;
}
.pro-mode .hero-title-interactive.active #widgetsText {
color: white !important;
text-decoration: line-through;
text-decoration-color: #fbbf24;
text-decoration-thickness: 4px;
}
/* Estilos para logos LMS */
.lms-logo-card {
background: white !important;
transition: all 0.3s ease;
}
.lms-logo-card:hover {
transform: scale(1.15);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
/* Fondo blanco suave para toda la sección LMS en Modo Pro */
.pro-mode .lms-section {
background: rgba(255, 255, 255, 0.98);
padding: 2rem;
border-radius: 1.5rem;
box-shadow: 0 10px 40px rgba(251, 191, 36, 0.4), 0 0 60px rgba(251, 191, 36, 0.2);
border: 2px solid rgba(251, 191, 36, 0.3);
}
.pro-mode .lms-section p {
color: #1e293b !important;
font-weight: 600;
}
/* Modo Pro: Borde dorado con animación de brillo */
.pro-mode .lms-logo-card {
background: white !important;
border-color: #fbbf24 !important;
position: relative;
overflow: hidden;
}
.pro-mode .lms-logo-card::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(
45deg,
transparent,
rgba(251, 191, 36, 0.3),
transparent
);
animation: shine-border 3s infinite;
z-index: 0;
}
@keyframes shine-border {
0% {
transform: translateX(-100%) translateY(-100%) rotate(45deg);
}
100% {
transform: translateX(100%) translateY(100%) rotate(45deg);
}
}
.pro-mode .lms-logo-card:hover {
transform: scale(1.2);
box-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
border-color: #f59e0b !important;
}
@keyframes pulse-glow {
0%, 100% {
filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.6));
transform: scale(1);
}
50% {
filter: drop-shadow(0 0 40px rgba(251, 191, 36, 0.9)) drop-shadow(0 0 60px rgba(220, 38, 38, 0.5));
transform: scale(1.05);
}
}
.pro-mode nav {
background: linear-gradient(to right, #1a1a1a, #2d1810) !important;
border-color: #fbbf24 !important;
}
.pro-mode h1, .pro-mode h2, .pro-mode h3 {
background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #dc2626 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: gradient-shift 4s ease infinite;
background-size: 200% 200%;
}
/* Excepción para el título hero - debe ser visible */
.pro-mode h2 .hero-title-interactive,
.pro-mode h2 .hero-title-interactive * {
background: none !important;
-webkit-background-clip: initial !important;
-webkit-text-fill-color: initial !important;
background-clip: initial !important;
animation: none !important;
color: white !important;
}
.pro-mode footer {
background: linear-gradient(to top, #1a1a1a, #2d1810) !important;
}
.pro-mode section {
background: linear-gradient(135deg, #2d1810 0%, #1a1a1a 50%, #2d1810 100%) !important;
border-color: #fbbf24 !important;
}
.pro-mode .text-slate-600,
.pro-mode .text-slate-700,
.pro-mode .text-slate-900 {
color: #d4d4d8 !important;
}
.pro-mode .bg-white {
background: rgba(45, 24, 16, 0.3) !important;
}
.pro-mode .bg-slate-50 {
background: rgba(26, 26, 26, 0.5) !important;
}
.pro-mode svg path {
fill: #fbbf24;
}
.pro-mode .bg-green-100,
.pro-mode .bg-blue-100,
.pro-mode .bg-purple-100 {
background: rgba(251, 191, 36, 0.2) !important;
border: 1px solid rgba(251, 191, 36, 0.3);
}
.pro-mode .text-green-700,
.pro-mode .text-blue-700,
.pro-mode .text-purple-700,
.pro-mode .text-green-500 {
color: #fbbf24 !important;
}
/* Botón flotante */
.pro-toggle {
position: fixed;
right: 20px;
top: 50%;
transform: translateY(-50%);
z-index: 9999;
background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #dc2626 100%);
border: 3px solid #fbbf24;
border-radius: 50px;
padding: 12px 20px;
cursor: pointer;
box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 8px;
font-weight: bold;
color: white;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.pro-toggle:hover {
transform: translateY(-50%) scale(1.1);
box-shadow: 0 6px 30px rgba(251, 191, 36, 0.6), 0 0 50px rgba(220, 38, 38, 0.3);
}
.pro-toggle.active {
background: linear-gradient(135deg, #dc2626 0%, #f59e0b 50%, #fbbf24 100%);
animation: pulse-glow 2s ease-in-out infinite;
}
.flame-icon {
font-size: 24px;
animation: flicker 1.5s ease-in-out infinite;
display: inline-block;
width: 24px;
height: 24px;
line-height: 24px;
text-align: center;
}
.flame-icon.is-image {
width: 102px;
height: 102px;
}
.flame-icon img {
width: 100%;
height: 100%;
object-fit: contain;
animation: flicker 1.0s ease-in-out infinite;
}
@keyframes flicker {
0%, 100% { transform: scale(1) rotate(-5deg); opacity: 1; }
25% { transform: scale(1.1) rotate(5deg); opacity: 0.9; }
50% { transform: scale(0.95) rotate(-3deg); opacity: 1; }
75% { transform: scale(1.05) rotate(3deg); opacity: 0.95; }
}
/* Responsive para móviles */
@media (max-width: 768px) {
.pro-toggle {
right: 10px;
padding: 10px 16px;
font-size: 14px;
}
.flame-icon {
font-size: 20px;
width: 20px;
height: 20px;
}
.flame-icon.is-image {
width: 28px;
height: 28px;
}
}
/* Botones en modo pro */
.pro-mode a[href*="admin/"],
.pro-mode button {
border-color: #fbbf24 !important;
box-shadow: 0 0 10px rgba(251, 191, 36, 0.3) !important;
}
.pro-mode a[href*="admin/"]:hover,
.pro-mode button:hover {
box-shadow: 0 0 20px rgba(251, 191, 36, 0.6) !important;
}
/* Partículas de fuego */
.fire-particle {
position: fixed;
width: 4px;
height: 4px;
background: radial-gradient(circle, #fbbf24 0%, #dc2626 100%);
border-radius: 50%;
pointer-events: none;
animation: float-up 3s ease-in-out infinite;
opacity: 0;
z-index: 9998;
}
@keyframes float-up {
0% {
opacity: 1;
transform: translateY(0) translateX(0);
}
50% {
opacity: 0.5;
}
100% {
opacity: 0;
transform: translateY(-200px) translateX(var(--drift));
}
}
</style>
</head>
<body class="bg-slate-50 min-h-screen" id="mainBody">
<!-- Botón Modo Pro Flotante -->
<button class="pro-toggle" id="proToggle" onclick="toggleProMode()">
<span class="flame-icon">🔥</span>
<span data-i18n="promode.button">Modo Pro</span>
</button>
<!-- Navbar -->
<nav class="bg-white border-b border-slate-200 sticky top-0 z-50 animate-fadeIn">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center h-16">
<div class="flex items-center gap-3">
<a href="index.html" class="flex items-center">
<img id="navLogo" src="assets/img/icons/widkit_entero.png" alt="WidKit" class="h-10 w-auto object-contain">
</a>
<div style="display: none;">
<h1 class="text-xl font-bold text-slate-900">WidKit</h1>
<p class="text-xs text-slate-500">Widgets para Todo</p>
</div>
</div>
<div class="flex items-center gap-3">
<!-- Selector de Idioma (Solo disponible en index.html) -->
<!-- Desktop: Botones horizontales -->
<div class="hidden md:flex items-center gap-1 bg-slate-100 rounded-lg p-1">
<button onclick="changeLanguage('es')"
class="lang-option px-3 py-1.5 text-xs font-semibold rounded transition hover:bg-slate-200"
data-lang="es"
title="Español">
🇪🇸 ES
</button>
<button onclick="changeLanguage('en')"
class="lang-option px-3 py-1.5 text-xs font-semibold rounded transition hover:bg-slate-200"
data-lang="en"
title="English">
🇬🇧 EN
</button>
<button onclick="changeLanguage('pt')"
class="lang-option px-3 py-1.5 text-xs font-semibold rounded transition hover:bg-slate-200"
data-lang="pt"
title="Português">
🇧🇷 PT
</button>
</div>
<!-- Móvil: Menú desplegable -->
<div class="md:hidden relative">
<button onclick="toggleMobileLang()"
id="mobileLangBtn"
class="flex items-center gap-1 px-3 py-1.5 bg-slate-100 hover:bg-slate-200 rounded-lg text-xs font-semibold transition">
<span id="currentLangFlag">🇪🇸</span>
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path>
</svg>
</button>
<div id="mobileLangMenu" class="hidden absolute top-full right-0 mt-2 bg-white rounded-lg shadow-lg border border-slate-200 overflow-hidden z-50">
<button onclick="changeLanguage('es'); toggleMobileLang();"
class="w-full px-4 py-2 text-left text-sm hover:bg-slate-50 flex items-center gap-2"
data-lang="es">
ES
</button>
<button onclick="changeLanguage('en'); toggleMobileLang();"
class="w-full px-4 py-2 text-left text-sm hover:bg-slate-50 flex items-center gap-2"
data-lang="en">
EN
</button>
<button onclick="changeLanguage('pt'); toggleMobileLang();"
class="w-full px-4 py-2 text-left text-sm hover:bg-slate-50 flex items-center gap-2"
data-lang="pt">
PT
</button>
</div>
</div>
<a href="example.html"
class="inline-flex items-center gap-2 px-6 py-3 bg-amber-50 text-slate-900 text-sm font-bold rounded-lg hover:bg-amber-500 hover:text-white hover:shadow-xl transition-all transform hover:scale-105 group border-2 border-white">
<span class="hidden sm:inline" data-i18n="nav.examples">Ver Ejemplos</span>
</a>
<a href="https://github.com/bemtorres/widkit"
target="_blank"
class="inline-flex items-center gap-2 px-4 py-2 text-slate-700 hover:text-slate-900 text-sm font-medium rounded-lg hover:bg-slate-100 transition group">
<img src="assets/img/github-mark.svg" alt="GitHub" class="w-5 h-5 group-hover:scale-110 transition-transform">
<span class="hidden sm:inline">GitHub</span>
</a>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="bg-gradient-to-br from-amber-50 via-orange-50 to-slate-50 border-b border-slate-200 gradient-animated">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div class="text-center mb-8">
<div class="inline-block mb-4 animate-fadeInUp">
<span id="heroBadge" class="px-3 py-1 bg-green-100 text-green-700 text-xs font-semibold rounded-full animate-pulse-slow" data-i18n="hero.badge">✨ Gratis y fácil de usar</span>
</div>
<h2 class="text-4xl md:text-5xl font-bold text-slate-900 mb-4 animate-fadeInUp delay-100 flex flex-col items-center gap-4">
<div id="heroTitleContainer" class="hero-title-interactive flex items-center flex-wrap justify-center relative cursor-pointer">
<span id="widgetsText" class="transition-all duration-500">Widgets </span>
<img id="heroLogo" src="assets/img/icons/widkit_entero.png" alt="WidKit" class="h-20 md:h-26 w-auto object-contain hero-logo-drop">
<span id="educativosText" class="transition-all duration-500">Educativos</span>
</div>
<span id="heroSubtitle" class="text-amber-600 bg-gradient-to-r from-amber-600 to-orange-600 bg-clip-text text-transparent" data-i18n="hero.subtitle">Listos en 30 Segundos</span>
</h2>
<p class="text-lg text-slate-600 max-w-2xl mx-auto mb-8 animate-fadeInUp delay-200">
<span data-i18n="hero.description">Integra cuenta regresiva, calculador de semanas y sorteos en Moodle, Blackboard, Canvas o cualquier sitio web.</span>
<strong data-i18n="hero.descriptionBold">¡Sin programación!</strong>
</p>
<div class="animate-fadeInUp delay-300">
<a href="example.html"
class="inline-flex items-center gap-2 px-8 py-4 bg-white text-amber-600 font-bold rounded-full shadow-lg hover:shadow-xl transform hover:scale-105 transition">
<span class="text-2xl">📚</span>
<span data-i18n="hero.cta">Ver 35+ Ejemplos Listos</span>
<span class="text-xl">→</span>
</a>
</div>
</div>
<!-- Quick Example -->
<div class="max-w-3xl mx-auto animate-fadeInUp delay-300">
<div class="bg-white rounded-xl shadow-lg border-2 border-amber-300 overflow-hidden transform transition hover:scale-105 hover:shadow-2xl">
<div class="bg-gradient-to-r from-amber-500 to-orange-500 px-6 py-3">
<h3 class="text-white font-bold flex items-center gap-2">
<span class="text-xl">⚡</span>
<span data-i18n="hero.quickExample">Ejemplo Súper Fácil: Copia y Pega en tu LMS</span>
</h3>
</div>
<div class="p-6">
<p class="text-sm text-slate-600 mb-3">
<strong data-i18n="hero.step1">Paso 1:</strong> <span data-i18n="hero.step1Desc">Copia este código y pégalo en Moodle, Blackboard o tu sitio web:</span>
</p>
<div class="relative">
<pre id="quickCode" class="bg-slate-900 text-green-400 p-4 rounded-lg text-xs overflow-x-auto font-mono"><code><iframe src="https://widkit.io/app/cuentaregresiva.html?title=Examen Final&y=2025&m=12&d=15&h=14" width="100%" height="450" frameborder="0"></iframe></code></pre>
<button onclick="copiarCodigo('quickCode')"
class="absolute top-2 right-2 px-3 py-1.5 bg-amber-500 hover:bg-amber-600 text-white text-xs font-bold rounded transition">
📋 <span data-i18n="common.copy">Copiar</span>
</button>
</div>
<p class="text-sm text-slate-600 mt-3">
<strong data-i18n="hero.step2">Paso 2:</strong> <span data-i18n="hero.step2Desc">¡Listo! Ya tienes una cuenta regresiva funcionando.</span>
<a href="#widgets" class="text-amber-600 hover:underline font-semibold" data-i18n="hero.seeMore">Ver más widgets →</a>
</p>
</div>
</div>
</div>
<!-- LMS Logos -->
<div class="mt-10 text-center animate-fadeIn delay-400 lms-section">
<p class="text-sm text-slate-500 mb-4 font-semibold" data-i18n="hero.compatible">Compatible con:</p>
<div class="flex flex-wrap justify-center items-center gap-4 md:gap-6 lms-container">
<div class="lms-logo-card flex items-center gap-3 bg-white px-5 py-3 rounded-lg shadow-sm border-2 border-transparent">
<img src="assets/img/Moodle-logo.png" alt="Moodle" class="h-8 w-auto object-contain">
<!-- <span class="font-semibold text-slate-700">Moodle</span> -->
</div>
<div class="lms-logo-card flex items-center gap-3 bg-white px-5 py-3 rounded-lg shadow-sm border-2 border-transparent">
<img src="assets/img/Blackboard-Original.png" alt="Blackboard" class="h-16 w-auto object-contain">
</div>
<div class="lms-logo-card flex items-center gap-3 bg-white px-5 py-3 rounded-lg shadow-sm border-2 border-transparent">
<img src="assets/img/canvas-lms-logo.png" alt="Canvas" class="h-8 w-auto object-contain">
<!-- <span class="font-semibold text-slate-700">Canvas</span> -->
</div>
<div class="lms-logo-card flex items-center gap-3 bg-white px-5 py-3 rounded-lg shadow-sm border-2 border-transparent">
<span class="text-2xl">🌐</span>
<span class="font-semibold text-slate-700" data-i18n="hero.anyWeb">Cualquier Web</span>
</div>
</div>
</div>
</div>
</section>
<!-- Main Content -->
<!-- Widgets Grid -->
<div id="widgets" class="mb-16 scroll-reveal max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div class="text-center mb-10">
<h2 class="text-3xl font-bold text-slate-900 mb-3" data-i18n="widgets.title">18 Widgets Listos para Usar</h2>
<p class="text-slate-600" data-i18n="widgets.subtitle">Selecciona, configura y obtén el código embebido en segundos</p>
</div>
<div class="flex items-center justify-center mb-6">
<label for="categoryFilter" class="mr-2 text-sm text-slate-600">Filtrar por categoría:</label>
<select id="categoryFilter" class="px-3 py-2 border border-slate-300 bg-white rounded-lg text-sm">
<option value="all">Todas</option>
<option value="tiempo">Tiempo</option>
<option value="clase">Clase</option>
<option value="herramientas">Herramientas</option>
<option value="juegos">Juegos</option>
</select>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
<!-- Cuenta Regresiva -->
<div class="widget-card bg-white rounded-xl border-2 border-slate-200 p-6 hover:border-blue-500 hover:shadow-lg transition-all transform hover:scale-105 hover:-translate-y-1 relative" data-category="tiempo">
<div class="absolute top-3 right-3 px-2 py-1 bg-blue-100 text-blue-700 rounded-full text-xs font-bold flex items-center gap-1">
<span>⏰</span>
<span>Tiempo</span>
</div>
<div class="text-center mb-4">
<div class="gradient-icon w-36 h-36 flex items-center justify-center mx-auto mb-3">
<img src="assets/img/icons/widkit_tempo.png" alt="Cuenta Regresiva" class="w-full h-full object-contain">
</div>
<h3 class="text-xl font-bold text-slate-900 mb-2" data-i18n="widget.countdown.title">Cuenta Regresiva</h3>
<p class="text-sm text-slate-600" data-i18n="widget.countdown.desc">
Temporizador para exámenes, entregas y eventos importantes
</p>
</div>
<div class="space-y-2 mb-4 text-xs text-slate-600">
<div class="flex items-center gap-2">
<svg class="w-4 h-4 text-green-500" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path>
</svg>
<span data-i18n="widget.countdown.feat1">Actualización en tiempo real</span>
</div>
<div class="flex items-center gap-2">
<svg class="w-4 h-4 text-green-500" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path>
</svg>
<span data-i18n="widget.countdown.feat2">Colores personalizables</span>
</div>
<div class="flex items-center gap-2">
<svg class="w-4 h-4 text-green-500" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path>
</svg>
<span data-i18n="widget.countdown.feat3">Responsive</span>
</div>
</div>
<div class="grid grid-cols-2 gap-2">
<a href="admin/temporizador.html"
class="px-3 py-1.5 bg-blue-600 text-white text-sm font-semibold rounded-full hover:bg-blue-700 transition text-center" data-i18n="common.configure">
Configurar
</a>
<a href="app/cuentaregresiva.html?title=Año Nuevo 2026&y=2026&m=1&d=1"
target="_blank"
class="px-3 py-1.5 border-2 border-slate-300 text-slate-700 text-sm font-semibold rounded-full hover:bg-slate-50 transition text-center" data-i18n="common.demo">
Demo
</a>
</div>
</div>
<!-- Cronómetro Ascendente -->
<div class="widget-card bg-white rounded-xl border-2 border-slate-200 p-6 hover:border-green-500 hover:shadow-lg transition-all transform hover:scale-105 hover:-translate-y-1 relative" data-category="tiempo">
<div class="absolute top-3 right-3 px-2 py-1 bg-blue-100 text-blue-700 rounded-full text-xs font-bold flex items-center gap-1">
<span>⏰</span>
<span>Tiempo</span>
</div>
<div class="text-center mb-4">
<div class="gradient-icon w-36 h-36 flex items-center justify-center mx-auto mb-3">
<img src="assets/img/icons/widkit_medalla.png" alt="Cronómetro" class="w-full h-full object-contain">
</div>
<h3 class="text-xl font-bold text-slate-900 mb-2" data-i18n="widget.stopwatch.title">Cronómetro Ascendente</h3>
<p class="text-sm text-slate-600" data-i18n="widget.stopwatch.desc">
Tiempo transcurrido desde un evento o fecha de inicio
</p>
</div>
<div class="space-y-2 mb-4 text-xs text-slate-600">
<div class="flex items-center gap-2">
<svg class="w-4 h-4 text-green-500" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path>
</svg>
<span data-i18n="widget.stopwatch.feat1">Cuenta hacia adelante</span>
</div>
<div class="flex items-center gap-2">
<svg class="w-4 h-4 text-green-500" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path>
</svg>
<span data-i18n="widget.stopwatch.feat2">Tiempo de funcionamiento</span>
</div>
<div class="flex items-center gap-2">
<svg class="w-4 h-4 text-green-500" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path>
</svg>
<span data-i18n="widget.stopwatch.feat3">Personalizable</span>
</div>
</div>
<div class="grid grid-cols-2 gap-2">
<a href="admin/cronometro.html"
class="px-3 py-1.5 bg-green-600 text-white text-sm font-semibold rounded-full hover:bg-green-700 transition text-center" data-i18n="common.configure">
Configurar
</a>
<a href="app/cronometro.html?title=Tiempo en línea&y=2025&m=1&d=1"
target="_blank"
class="px-3 py-1.5 border-2 border-slate-300 text-slate-700 text-sm font-semibold rounded-full hover:bg-slate-50 transition text-center" data-i18n="common.demo">
Demo
</a>
</div>
</div>
<!-- Calculador de Semanas -->
<div class="widget-card bg-white rounded-xl border-2 border-slate-200 p-6 hover:border-green-500 hover:shadow-lg transition-all transform hover:scale-105 hover:-translate-y-1 relative" data-category="tiempo">
<div class="absolute top-3 right-3 px-2 py-1 bg-blue-100 text-blue-700 rounded-full text-xs font-bold flex items-center gap-1">
<span>⏰</span>
<span>Tiempo</span>
</div>
<div class="text-center mb-4">
<div class="gradient-icon w-36 h-36 flex items-center justify-center mx-auto mb-3">
<img src="assets/img/icons/widkit_calendar.png" alt="Calculador de Semanas" class="w-full h-full object-contain">
</div>
<h3 class="text-xl font-bold text-slate-900 mb-2" data-i18n="widget.weeks.title">Calculador de Semanas</h3>
<p class="text-sm text-slate-600" data-i18n="widget.weeks.desc">
Organiza tu curso por semanas con actividades programadas
</p>
</div>
<div class="space-y-2 mb-4 text-xs text-slate-600">
<div class="flex items-center gap-2">
<svg class="w-4 h-4 text-green-500" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path>
</svg>
<span data-i18n="widget.weeks.feat1">Semana actual destacada</span>
</div>
<div class="flex items-center gap-2">
<svg class="w-4 h-4 text-green-500" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path>
</svg>
<span data-i18n="widget.weeks.feat2">Actividades por semana</span>
</div>
<div class="flex items-center gap-2">
<svg class="w-4 h-4 text-green-500" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"></path>
</svg>