-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchive.html
More file actions
1015 lines (912 loc) · 49.6 KB
/
archive.html
File metadata and controls
1015 lines (912 loc) · 49.6 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="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Archive | UnicornXMedia</title>
<link rel="icon" type="image/svg+xml"
href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='black'/><text x='50' y='70' font-size='50' font-family='sans-serif' font-weight='bold' fill='white' text-anchor='middle'>UX</text></svg>">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ['"Plus Jakarta Sans"', 'sans-serif'],
},
colors: {
corporate: {
900: '#0B1120',
800: '#111827',
100: '#F3F4F6'
},
accent: '#2563EB'
}
}
}
}
</script>
<style>
/* Custom Cursor */
body {
cursor: none;
}
.cursor-dot, .cursor-outline {
position: fixed;
top: 0;
left: 0;
transform: translate(-50%, -50%);
border-radius: 50%;
z-index: 9999;
pointer-events: none;
}
.cursor-dot {
width: 8px;
height: 8px;
background-color: #2563EB;
}
.cursor-outline {
width: 40px;
height: 40px;
border: 2px solid rgba(37, 99, 235, 0.5);
transition: width 0.2s, height 0.2s, background-color 0.2s;
}
.cursor-hover .cursor-outline {
width: 60px;
height: 60px;
background-color: rgba(37, 99, 235, 0.1);
border-color: rgba(37, 99, 235, 0.8);
}
@media (max-width: 768px) {
body {
cursor: auto;
}
.cursor-dot, .cursor-outline {
display: none;
}
}
.glass-nav {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.archive-img {
transition: transform 0.5s ease;
}
.archive-item:hover .archive-img {
transform: scale(1.1);
}
.year-filter {
transition: all 0.3s ease;
}
.year-filter.active {
background: #2563EB;
color: white;
}
.mobile-menu {
display: none;
}
.mobile-menu.active {
display: block;
}
/* Performance Optimizations */
.archive-item, .cursor-dot, .cursor-outline {
will-change: transform, opacity;
}
.archive-item {
transform: translateZ(0);
backface-visibility: hidden;
}
</style>
</head>
<body class="bg-corporate-100 text-corporate-900 antialiased overflow-x-hidden">
<!-- Custom Cursor -->
<div class="cursor-dot"></div>
<div class="cursor-outline"></div>
<nav class="fixed w-full z-50 glass-nav transition-all duration-300 shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center h-20">
<a href="index.html" class="flex-shrink-0 flex items-center gap-2">
<div
class="w-10 h-10 bg-black text-white flex-shrink-0 flex items-center justify-center font-bold text-xl tracking-tighter">
UX</div>
<span class="font-bold text-xl tracking-tight">UnicornXMedia</span>
</a>
<div class="hidden md:flex space-x-8 items-center">
<a href="index.html#services"
class="text-gray-600 hover:text-accent font-semibold transition">Services</a>
<a href="index.html#live-event"
class="text-gray-600 hover:text-accent font-semibold transition">Live Events</a>
<a href="podcasts.html"
class="text-gray-600 hover:text-accent font-semibold transition">Podcasts</a>
<a href="archive.html" class="text-accent font-semibold">Events</a>
<a href="index.html#contact"
class="text-gray-600 hover:text-accent font-semibold transition">Contact</a>
<a href="index.html#apply"
class="bg-corporate-900 text-white px-6 py-2.5 rounded-full font-semibold hover:bg-accent transition shadow-lg">Apply
Now</a>
</div>
<button id="mobileMenuBtn" class="md:hidden text-gray-600 hover:text-accent">
<i class="fa-solid fa-bars text-2xl"></i>
</button>
</div>
<!-- Mobile Menu -->
<div id="mobileMenu" class="mobile-menu md:hidden bg-white border-t border-gray-200 py-4">
<div class="flex flex-col space-y-4">
<a href="index.html#services"
class="text-gray-600 hover:text-accent font-semibold transition px-4">Services</a>
<a href="index.html#live-event"
class="text-gray-600 hover:text-accent font-semibold transition px-4">Live Events</a>
<a href="podcasts.html"
class="text-gray-600 hover:text-accent font-semibold transition px-4">Podcasts</a>
<a href="archive.html" class="text-accent font-semibold px-4">Events</a>
<a href="index.html#contact"
class="text-gray-600 hover:text-accent font-semibold transition px-4">Contact</a>
<a href="index.html#apply"
class="bg-corporate-900 text-white px-6 py-2.5 rounded-full font-semibold hover:bg-accent transition shadow-lg mx-4 text-center">Apply
Now</a>
</div>
</div>
</div>
</nav>
<section class="pt-32 pb-12 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
<div class="text-center mb-12">
<h1 class="text-4xl md:text-5xl font-extrabold mb-4">Events</h1>
<div class="w-20 h-1 bg-accent mx-auto mb-6"></div>
<p class="text-xl text-gray-500 max-w-2xl mx-auto">
A curated history of our past PR campaigns, stage moments, and media breakthroughs.
</p>
</div>
<!-- Category Filter -->
<div class="text-center mb-6">
<span id="eventCounter" class="text-sm font-bold text-gray-400 uppercase tracking-widest"></span>
</div>
<div class="flex flex-wrap justify-center gap-3 mb-12">
<button
class="year-filter active px-6 py-2 rounded-full font-semibold border-2 border-accent text-accent hover:bg-accent hover:text-white transition"
data-year="all">
All
</button>
<button
class="year-filter px-6 py-2 rounded-full font-semibold border-2 border-gray-300 text-gray-600 hover:bg-accent hover:text-white hover:border-accent transition"
data-year="Sponsor Experience">
Sponsor Experience
</button>
<button
class="year-filter px-6 py-2 rounded-full font-semibold border-2 border-gray-300 text-gray-600 hover:bg-accent hover:text-white hover:border-accent transition"
data-year="Public Campaigns">
Public Campaigns
</button>
<button
class="year-filter px-6 py-2 rounded-full font-semibold border-2 border-gray-300 text-gray-600 hover:bg-accent hover:text-white hover:border-accent transition"
data-year="Events Covered">
Events Covered
</button>
<button
class="year-filter px-6 py-2 rounded-full font-semibold border-2 border-gray-300 text-gray-600 hover:bg-accent hover:text-white hover:border-accent transition"
data-year="Events Organized">
Events Organized
</button>
</div>
</section>
<!-- Archive Grid -->
<section class="pb-24 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
<div id="archiveGrid" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
</div>
<!-- Load More Button -->
<div id="loadMoreContainer" class="text-center mt-12">
<button id="loadMoreBtn"
class="border-2 border-corporate-900 text-corporate-900 px-8 py-3 rounded-full font-bold hover:bg-corporate-900 hover:text-white transition">
Load More Archives
</button>
</div>
<!-- Live Event Popup -->
<div id="liveEventPopup"
class="fixed inset-0 bg-black/60 backdrop-blur-sm z-50 flex items-center justify-center p-4"
style="display: none;">
<div
class="bg-gradient-to-br from-corporate-900 to-gray-900 text-white rounded-3xl max-w-2xl w-full mx-4 shadow-2xl transform transition-all animate-fade-in relative overflow-hidden">
<!-- Close Button -->
<div id="popupTimer" class="absolute top-4 right-16 w-8 h-8 bg-blue-100/30 text-white font-bold rounded-full flex items-center justify-center text-sm font-mono z-10">5</div>
<button id="closePopup"
class="absolute top-4 right-4 w-10 h-10 bg-white/10 hover:bg-white/20 rounded-full flex items-center justify-center transition z-10">
<i class="fa-solid fa-times text-xl"></i>
</button>
<!-- Decorative Elements -->
<div class="absolute top-0 right-0 -translate-y-12 translate-x-1/3 opacity-10">
<i class="fa-solid fa-star text-[300px]"></i>
</div>
<div class="p-6 md:p-8 relative z-10">
<div class="flex items-center gap-3 mb-4">
<span
class="bg-red-500 text-white text-xs font-bold px-3 py-1 rounded-full uppercase tracking-widest animate-pulse">Live
Now</span>
<span id="popup-edition" class="text-gray-400 font-semibold tracking-wide">Edition 5</span>
</div>
<h2 id="popup-title" class="text-4xl md:text-5xl font-extrabold mb-4 leading-tight">
Pinkvilla Screen & Style Icons 2026
</h2>
<div class="flex flex-wrap gap-4 mb-6 text-sm">
<div class="flex items-center gap-2">
<i class="fa-solid fa-calendar text-accent"></i>
<span>March 25, 2026</span>
</div>
<div class="flex items-center gap-2">
<i class="fa-solid fa-location-dot text-accent"></i>
<span>JW Marriott, Mumbai</span>
</div>
<div class="flex items-center gap-2">
<i class="fa-solid fa-users text-accent"></i>
<span>500+ Attendees</span>
</div>
</div>
<p id="popup-desc" class="text-gray-300 text-lg mb-8 leading-relaxed">
Join India's most prestigious celebration of style, entertainment, and influence. Network with
14 celebrity guests, top founders, and industry leaders in an exclusive evening of recognition
and opportunity.
</p>
<div class="flex flex-col sm:flex-row gap-4">
<a href="index.html#live-event"
class="bg-accent hover:bg-blue-600 text-white px-8 py-4 rounded-full font-bold transition shadow-lg text-center">
<i class="fa-solid fa-ticket mr-2"></i>View Full Details
</a>
<a href="#event-apply" id="applyFromPopup" data-form-type="attend"
class="apply-link bg-white/10 hover:bg-white/20 text-white px-8 py-4 rounded-full font-bold transition border border-white/20 text-center">
<i class="fa-solid fa-paper-plane mr-2"></i>Attend
</a>
</div>
</div>
</div>
</div>
<!-- Application Form Section -->
<section id="event-apply" class="py-24 bg-gradient-to-br from-gray-50 to-blue-50">
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-4xl font-bold mb-4">Apply for Event Access</h2>
<div class="w-20 h-1 bg-accent mx-auto mb-6"></div>
<p class="text-gray-600 text-lg">Get exclusive access to our curated events and networking
opportunities</p>
</div>
<form id="eventApplicationForm"
class="bg-white rounded-2xl p-8 lg:p-12 shadow-xl border border-gray-100">
<input type="hidden" name="applicationType" value="event">
<div class="grid md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-sm font-bold text-gray-700 mb-2">Full Name *</label>
<input type="text" name="fullName" required
class="w-full px-4 py-3 border border-gray-200 rounded-lg focus:ring-2 focus:ring-accent focus:border-transparent transition bg-white">
</div>
<div>
<label class="block text-sm font-bold text-gray-700 mb-2">Email Address *</label>
<input type="email" name="email" required
class="w-full px-4 py-3 border border-gray-200 rounded-lg focus:ring-2 focus:ring-accent focus:border-transparent transition bg-white">
</div>
</div>
<div class="grid md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-sm font-bold text-gray-700 mb-2">Company / Brand *</label>
<input type="text" name="company" required
class="w-full px-4 py-3 border border-gray-200 rounded-lg focus:ring-2 focus:ring-accent focus:border-transparent transition bg-white">
</div>
<div>
<label class="block text-sm font-bold text-gray-700 mb-2">Phone Number *</label>
<input type="tel" name="phone" required
class="w-full px-4 py-3 border border-gray-200 rounded-lg focus:ring-2 focus:ring-accent focus:border-transparent transition bg-white">
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-bold text-gray-700 mb-2">Your Role/Title *</label>
<input type="text" name="role" required
class="w-full px-4 py-3 border border-gray-200 rounded-lg focus:ring-2 focus:ring-accent focus:border-transparent transition bg-white"
placeholder="e.g., CEO, Founder, Director">
</div>
<div class="mb-6">
<label class="block text-sm font-bold text-gray-700 mb-2">Why do you want to attend? *</label>
<textarea name="reason" rows="4" required
class="w-full px-4 py-3 border border-gray-200 rounded-lg focus:ring-2 focus:ring-accent focus:border-transparent transition bg-white resize-none"
placeholder="Tell us about your goals and what you hope to achieve"></textarea>
</div>
<div class="mb-6">
<label class="flex items-start gap-2 text-sm text-gray-600">
<input type="checkbox" name="terms" required class="mt-1 w-4 h-4 text-accent rounded">
<span>I agree to the <a href="terms.html"
class="text-accent hover:underline font-semibold">Terms & Conditions</a> and <a
href="terms.html#privacy" class="text-accent hover:underline font-semibold">Privacy
Policy</a></span>
</label>
</div>
<button type="submit"
class="w-full bg-gradient-to-r from-corporate-900 to-accent text-white py-4 rounded-lg font-bold hover:shadow-2xl transition-all transform hover:scale-[1.02]">
<i class="fa-solid fa-paper-plane mr-2"></i>Submit Application
</button>
<p id="eventFormMessage" class="mt-4 text-center text-sm font-semibold"></p>
</form>
</div>
</section>
</section>
<!-- Newsletter Section -->
<section class="py-20 bg-gradient-to-br from-indigo-600 via-purple-600 to-pink-500 relative overflow-hidden">
<!-- Animated Background Elements -->
<div class="absolute inset-0 opacity-20">
<div class="absolute top-10 left-10 w-72 h-72 bg-white rounded-full blur-3xl animate-pulse"></div>
<div class="absolute bottom-10 right-10 w-96 h-96 bg-blue-300 rounded-full blur-3xl animate-pulse"
style="animation-delay: 1s;"></div>
</div>
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center relative z-10">
<div class="mb-6">
<span
class="inline-block bg-white/20 backdrop-blur-sm text-white px-4 py-2 rounded-full text-sm font-bold uppercase tracking-wider">
🎉 Event Updates
</span>
</div>
<h3 class="text-4xl md:text-5xl font-extrabold text-white mb-4 leading-tight">
Never Miss an <span class="text-yellow-300">Epic Event</span>
</h3>
<p class="text-white/90 mb-10 text-lg md:text-xl max-w-2xl mx-auto">
Get exclusive event invitations, behind-the-scenes access, and early-bird tickets delivered to your
inbox.
</p>
<form id="newsletterForm" class="flex flex-col sm:flex-row gap-4 max-w-xl mx-auto">
<div class="flex-1 relative">
<i
class="fa-solid fa-envelope absolute left-6 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
<input type="email" name="newsletter_email" required placeholder="Enter your email address"
class="w-full pl-14 pr-6 py-5 rounded-full focus:ring-4 focus:ring-white/50 focus:outline-none text-gray-800 font-medium shadow-xl">
</div>
<button type="submit"
class="bg-white text-purple-600 px-10 py-5 rounded-full font-bold hover:bg-yellow-300 hover:text-purple-700 transition-all shadow-xl transform hover:scale-105 hover:shadow-2xl">
<i class="fa-solid fa-rocket mr-2"></i>Subscribe Now
</button>
</form>
<p class="text-white/80 text-sm mt-6">
<i class="fa-solid fa-shield-halved mr-1"></i>
We respect your privacy. Unsubscribe anytime.
</p>
</div>
</section>
<footer class="bg-corporate-100 border-t border-gray-200 py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
<!-- Brand -->
<div class="md:col-span-1">
<div class="flex items-center gap-2 mb-4">
<div
class="w-10 h-10 bg-black text-white flex-shrink-0 flex items-center justify-center font-bold text-xl tracking-tighter">
UX</div>
<span class="font-bold text-xl tracking-tight text-corporate-900">UnicornXMedia</span>
</div>
<p class="text-gray-500 text-sm">
Amplifying founder stories through strategic PR, events, and media partnerships.
</p>
</div>
<!-- Quick Links -->
<div>
<h4 class="font-bold text-corporate-900 mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="index.html#services"
class="text-gray-500 hover:text-accent transition">Services</a></li>
<li><a href="index.html#live-event" class="text-gray-500 hover:text-accent transition">Live
Events</a></li>
<li><a href="podcasts.html" class="text-gray-500 hover:text-accent transition">Podcasts</a></li>
<li><a href="archive.html" class="text-gray-500 hover:text-accent transition">Events</a>
</li>
</ul>
</div>
<!-- Services -->
<div>
<h4 class="font-bold text-corporate-900 mb-4">Services</h4>
<ul class="space-y-2">
<li><a href="index.html#services" class="text-gray-500 hover:text-accent transition">PR
Campaigns</a></li>
<li><a href="index.html#services" class="text-gray-500 hover:text-accent transition">Event
Management</a></li>
<li><a href="podcasts.html" class="text-gray-500 hover:text-accent transition">Podcast
Features</a></li>
</ul>
</div>
<!-- Contact -->
<div>
<h4 class="font-bold text-corporate-900 mb-4">Contact</h4>
<ul class="space-y-2 text-gray-500 text-sm">
<li class="flex items-center gap-2">
<i class="fa-solid fa-phone text-accent"></i>
<span>+91 9625363995</span>
</li>
<li class="flex items-center gap-2">
<i class="fa-solid fa-envelope text-accent"></i>
<span>contact@unicornxmedia.com</span>
</li>
<li class="flex items-center gap-2">
<i class="fa-solid fa-location-dot text-accent"></i>
<span>Delhi, India</span>
</li>
</ul>
<div class="flex space-x-3 mt-4">
<a href="#"
class="w-10 h-10 rounded-full bg-white border border-gray-200 flex items-center justify-center text-gray-600 hover:text-accent hover:border-accent transition">
<i class="fa-brands fa-instagram"></i>
</a>
<a href="#"
class="w-10 h-10 rounded-full bg-white border border-gray-200 flex items-center justify-center text-gray-600 hover:text-accent hover:border-accent transition">
<i class="fa-brands fa-linkedin-in"></i>
</a>
<a href="#"
class="w-10 h-10 rounded-full bg-white border border-gray-200 flex items-center justify-center text-gray-600 hover:text-accent hover:border-accent transition">
<i class="fa-brands fa-youtube"></i>
</a>
</div>
</div>
</div>
<!-- Bottom Bar -->
<div class="border-t border-gray-200 pt-8 flex flex-col md:flex-row justify-between items-center gap-4">
<div class="text-gray-500 text-sm">
© 2026 UnicornXMedia. All rights reserved.
</div>
<div class="flex gap-6 text-sm">
<a href="terms.html" class="text-gray-500 hover:text-accent transition">Terms & Conditions</a>
<a href="terms.html#privacy" class="text-gray-500 hover:text-accent transition">Privacy Policy</a>
</div>
</div>
</div>
</footer>
<script>
// Mobile Menu Toggle
// Newsletter Form Submission
const newsletterForm = document.getElementById('newsletterForm');
if (newsletterForm) {
newsletterForm.addEventListener('submit', async (e) => {
e.preventDefault();
const formData = new FormData(newsletterForm);
const data = {
email: formData.get('newsletter_email'),
type: 'newsletter'
};
try {
const button = newsletterForm.querySelector('button[type="submit"]');
const originalText = button.textContent;
button.textContent = 'Subscribing...';
button.disabled = true;
const response = await fetch('YOUR_GOOGLE_APPS_SCRIPT_URL', {
method: 'POST',
mode: 'no-cors',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(data)
});
button.textContent = '✓ Subscribed!';
button.className = button.className.replace('bg-white text-accent', 'bg-green-500 text-white');
newsletterForm.reset();
setTimeout(() => {
button.textContent = originalText;
button.className = button.className.replace('bg-green-500 text-white', 'bg-white text-accent');
button.disabled = false;
}, 3000);
} catch (error) {
const button = newsletterForm.querySelector('button[type="submit"]');
button.textContent = 'Error - Try Again';
button.disabled = false;
setTimeout(() => {
button.textContent = 'Subscribe';
}, 3000);
}
});
}
const mobileMenuBtn = document.getElementById('mobileMenuBtn');
const mobileMenu = document.getElementById('mobileMenu');
if (mobileMenuBtn && mobileMenu) {
mobileMenuBtn.addEventListener('click', () => {
mobileMenu.classList.toggle('active');
const icon = mobileMenuBtn.querySelector('i');
if (mobileMenu.classList.contains('active')) {
icon.classList.remove('fa-bars');
icon.classList.add('fa-times');
} else {
icon.classList.remove('fa-times');
icon.classList.add('fa-bars');
}
});
// Close mobile menu when clicking on a link
mobileMenu.querySelectorAll('a').forEach(link => {
link.addEventListener('click', () => {
mobileMenu.classList.remove('active');
const icon = mobileMenuBtn.querySelector('i');
icon.classList.remove('fa-times');
icon.classList.add('fa-bars');
});
});
}
// Render Events Grid & Load More Functionality
let ARCHIVE_EVENTS = [];
let currentFilter = 'all';
let currentItems = 12; // Increased to 12
const archiveGrid = document.getElementById('archiveGrid');
const yearFilters = document.querySelectorAll('.year-filter');
const loadMoreBtnContainer = document.getElementById('loadMoreContainer');
const loadMoreBtn = document.getElementById('loadMoreBtn');
// Automatic Slideshow for Cards with Multiple Images
const autoSlideIntervalsMap = new Map();
function startSlideshow(card) {
const images = card.querySelectorAll('.archive-img');
if (images.length <= 1) return;
let current = 0;
const interval = setInterval(() => {
images[current].classList.replace('opacity-100', 'opacity-0');
current = (current + 1) % images.length;
images[current].classList.replace('opacity-0', 'opacity-100');
}, 3000);
autoSlideIntervalsMap.set(card, interval);
}
const slideshowObserver = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
startSlideshow(entry.target);
} else {
const interval = autoSlideIntervalsMap.get(entry.target);
if (interval) {
clearInterval(interval);
autoSlideIntervalsMap.delete(entry.target);
}
}
});
}, { threshold: 0.2 });
async function fetchArchives() {
try {
const res = await fetch(`admin_api.php?action=fetch_events&t=${Date.now()}`);
const data = await res.json();
if (data.success && data.events) {
ARCHIVE_EVENTS = data.events.map(e => {
// Better year extraction: find the first 4-digit number starting with 20
const yearMatch = e.display_date.match(/\b(20\d{2})\b/);
const extractedYear = yearMatch ? yearMatch[1] : e.display_date.split(' ').pop();
return {
id: e.id,
year: extractedYear,
category: e.category || 'Events Organized',
date: e.display_date,
title: e.title,
location: e.location,
highlight: e.description,
icon: e.media_type === 'video' ? 'fa-video' : 'fa-image',
stat: e.edition || 'Completed',
images: e.images || [e.media_path],
type: e.media_type,
is_live: e.is_live
};
});
// Updated logging
console.log('Loaded events:', ARCHIVE_EVENTS.length);
updateGrid();
}
} catch (e) {
console.error("Error fetching archives:", e);
const counterEl = document.getElementById('eventCounter');
if (counterEl) counterEl.textContent = 'Error loading events: ' + e.message;
}
}
function updateGrid() {
try {
const filteredEvents = ARCHIVE_EVENTS.filter(event => {
if (currentFilter === 'all') return !event.is_live;
return event.category.trim().toLowerCase() === currentFilter.trim().toLowerCase() && !event.is_live;
});
console.log('Update Grid - Filter:', currentFilter, 'Total:', filteredEvents.length);
const counterEl = document.getElementById('eventCounter');
if (counterEl) {
counterEl.textContent = `Showing ${filteredEvents.length} of ${ARCHIVE_EVENTS.length} total past events`;
}
archiveGrid.innerHTML = '';
autoSlideIntervalsMap.forEach(clearInterval);
autoSlideIntervalsMap.clear();
if (loadMoreBtnContainer) loadMoreBtnContainer.style.display = 'none';
filteredEvents.forEach((event, index) => {
try {
let badgeBg = 'bg-blue-50'; let badgeText = 'text-blue-600';
if (event.category === 'Public Campaigns') { badgeBg = 'bg-purple-50'; badgeText = 'text-purple-600'; }
if (event.category === 'Events Covered') { badgeBg = 'bg-green-50'; badgeText = 'text-green-600'; }
let mediaHTML = '';
if (event.type === 'video') {
mediaHTML = `<video class="absolute inset-0 w-full h-full object-cover" muted loop playsinline autoplay preload="auto"><source src="${encodeURI(event.images[0])}" type="video/mp4"></video>`;
} else if (event.images && event.images.length > 0) {
mediaHTML = event.images.map((img, i) => `
<img src="${encodeURI(img)}" alt="${event.title}" class="archive-img absolute inset-0 w-full h-full object-cover transition-opacity duration-1000 ${i === 0 ? 'opacity-100' : 'opacity-0'}">
`).join('');
}
const card = document.createElement('div');
card.className = 'archive-item group cursor-pointer opacity-100 transition-all duration-300';
card.innerHTML = `
<div class="relative overflow-hidden rounded-3xl shadow-lg border border-black/5 bg-white h-full hover:shadow-2xl transition-all duration-300 hover:-translate-y-1">
<div class="aspect-video relative overflow-hidden bg-slate-900 pointer-events-none">
${mediaHTML}
<div class="absolute inset-0 bg-black/10 transition-opacity duration-300"></div>
<div class="absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300 z-10">
<div class="w-12 h-12 bg-white/30 backdrop-blur-md rounded-full flex items-center justify-center border border-white/30">
<i class="fa-solid fa-expand text-white text-xl"></i>
</div>
</div>
</div>
<div class="p-5 bg-white">
<div class="flex items-center justify-between mb-3">
<span class="text-[10px] font-bold text-gray-500 uppercase tracking-widest bg-gray-100 px-3 py-1 rounded-full">${event.year}</span>
<span class="text-gray-400 text-[10px] font-bold">${event.date.split('•')[0].trim()}</span>
</div>
<h3 class="text-corporate-900 font-extrabold text-lg group-hover:text-blue-600 transition-colors leading-tight mb-2 line-clamp-2 h-[2.5rem] flex items-center">${event.title}</h3>
<div class="flex items-center gap-2 text-gray-400 text-[10px] font-bold">
<i class="fa-solid fa-location-dot text-blue-500"></i>
<span>${event.location}</span>
</div>
</div>
</div>
`;
archiveGrid.appendChild(card);
card.addEventListener('click', (e) => {
e.preventDefault(); e.stopPropagation();
openSlideshow(event.id);
});
if (event.type === 'video') {
const video = card.querySelector('video');
if (video) mediaObserver.observe(video);
} else if (event.images && event.images.length > 1) {
slideshowObserver.observe(card);
}
} catch (err) {
console.error('Error rendering card for event:', event.id, err);
}
});
} catch (err) {
console.error('Error in updateGrid:', err);
}
}
fetchArchives();
if (loadMoreBtn) {
loadMoreBtn.addEventListener('click', () => {
currentItems += 3;
updateGrid();
});
}
yearFilters.forEach(filter => {
filter.addEventListener('click', () => {
currentFilter = filter.getAttribute('data-year');
currentItems = 12;
// Update active button styles
yearFilters.forEach(f => {
f.classList.remove('active', 'bg-accent', 'text-white', 'border-accent');
f.classList.add('border-gray-300', 'text-gray-600');
});
filter.classList.add('active', 'bg-accent', 'text-white', 'border-accent');
filter.classList.remove('border-gray-300', 'text-gray-600');
updateGrid();
});
});
// Slideshow Popup Logic
const slideshowPopup = document.getElementById('slideshowPopup');
const slideshowTrack = document.getElementById('slideshowTrack');
const closeSlideshowBtn = document.getElementById('closeSlideshowBtn');
let popupSlideInterval;
let popupAutoCloseTimeout;
function openSlideshow(eventId) {
if(!slideshowPopup) return;
const eventData = ARCHIVE_EVENTS.find(e => e.id === eventId);
if (!eventData || !eventData.images.length) return;
// Build Track with larger images and info overlay
slideshowTrack.innerHTML = eventData.images.map((img, i) => `
<div class="slideshow-slide min-w-full h-full flex flex-col items-center justify-center p-4 relative">
<img src="${img}" class="max-w-full max-h-[80vh] object-contain rounded-xl shadow-2xl">
<div class="absolute bottom-10 left-1/2 -translate-x-1/2 bg-black/60 backdrop-blur-md px-6 py-3 rounded-2xl text-center border border-white/10">
<h4 class="text-white font-bold text-lg">${eventData.title}</h4>
<p class="text-blue-400 text-xs font-black uppercase tracking-widest">${eventData.location} • ${i + 1} / ${eventData.images.length}</p>
</div>
</div>
`).join('');
slideshowPopup.style.display = 'flex';
slideshowPopup.style.zIndex = '9999';
setTimeout(() => { slideshowPopup.style.opacity = '1'; }, 10);
let currentPopupSlide = 0;
const slideCount = eventData.images.length;
slideshowTrack.style.transform = `translateX(0%)`;
// Start 1-second right-to-left
if (slideCount > 1) {
popupSlideInterval = setInterval(() => {
currentPopupSlide = (currentPopupSlide + 1) % slideCount;
slideshowTrack.style.transform = `translateX(-${currentPopupSlide * 100}%)`;
}, 2000); // Slower transition (2s)
}
popupAutoCloseTimeout = setTimeout(() => {
closeSlideshow();
}, 30000); // 30 seconds
}
function closeSlideshow() {
if(!slideshowPopup) return;
clearInterval(popupSlideInterval);
clearTimeout(popupAutoCloseTimeout);
slideshowPopup.style.opacity = '0';
setTimeout(() => {
slideshowPopup.style.display = 'none';
slideshowTrack.innerHTML = '';
}, 300);
}
if(closeSlideshowBtn) {
closeSlideshowBtn.addEventListener('click', closeSlideshow);
}
if(slideshowPopup) {
slideshowPopup.addEventListener('click', (e) => {
if (e.target === slideshowPopup) {
closeSlideshow();
}
});
}
// Live Event Popup Functionality
const liveEventPopup = document.getElementById('liveEventPopup');
const closePopupBtn = document.getElementById('closePopup');
const applyFromPopupBtn = document.getElementById('applyFromPopup');
// Show popup on page load with 5-second countdown (Once per session)
window.addEventListener('load', () => {
if (sessionStorage.getItem('liveEventPopupShown')) return;
setTimeout(() => {
if (liveEventPopup) {
liveEventPopup.style.display = 'flex';
liveEventPopup.style.animation = 'fadeIn 0.3s ease-in';
sessionStorage.setItem('liveEventPopupShown', 'true');
let timeLeft = 5;
const timerEl = document.getElementById('popupTimer');
const countdown = setInterval(() => {
timeLeft--;
if (timerEl) timerEl.textContent = timeLeft;
if (timeLeft <= 0) {
clearInterval(countdown);
liveEventPopup.style.animation = 'fadeOut 0.3s ease-out';
setTimeout(() => {
liveEventPopup.style.display = 'none';
}, 300);
}
}, 1000);
}
}, 500);
});
// Close popup on button click
if (closePopupBtn && liveEventPopup) {
closePopupBtn.addEventListener('click', () => {
liveEventPopup.style.animation = 'fadeOut 0.3s ease-out';
setTimeout(() => {
liveEventPopup.style.display = 'none';
}, 300);
});
}
// Close popup when clicking outside
if (liveEventPopup) {
liveEventPopup.addEventListener('click', (e) => {
if (e.target === liveEventPopup) {
liveEventPopup.style.animation = 'fadeOut 0.3s ease-out';
setTimeout(() => {
liveEventPopup.style.display = 'none';
}, 300);
}
});
}
// Handle apply from popup button
if (applyFromPopupBtn) {
applyFromPopupBtn.addEventListener('click', (e) => {
e.preventDefault();
liveEventPopup.style.display = 'none';
document.getElementById('event-apply').scrollIntoView({ behavior: 'smooth' });
});
}
// Event Application Form Submission
const eventApplicationForm = document.getElementById('eventApplicationForm');
const eventFormMessage = document.getElementById('eventFormMessage');
if (eventApplicationForm) {
eventApplicationForm.addEventListener('submit', async (e) => {
e.preventDefault();
const formData = new FormData(eventApplicationForm);
const data = {};
formData.forEach((value, key) => data[key] = value);
data.type = 'event';
try {
const btn = eventApplicationForm.querySelector('button[type="submit"]');
const origText = btn.innerHTML;
btn.innerHTML = '<i class="fa-solid fa-spinner fa-spin mr-2"></i> Submitting...';
btn.disabled = true;
const response = await fetch('assets/php/submit.php', {
method: 'POST',
body: JSON.stringify(data),
headers: { 'Content-Type': 'application/json' }
});
btn.innerHTML = origText;
btn.disabled = false;
eventApplicationForm.reset();
showSuccessPopup('Thank you! Your submission has been received. Our team will get back to you shortly.');
} catch (error) {
eventFormMessage.textContent = 'Error submitting application. Please try again or email us directly.';
eventFormMessage.className = 'mt-4 text-center text-sm font-semibold text-red-600';
}
});
}
// Add CSS animations
const style = document.createElement('style');
style.textContent = `
@keyframes fadeIn {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
}
@keyframes fadeOut {
from { opacity: 1; transform: scale(1); }
to { opacity: 0; transform: scale(0.95); }
}
`;
document.head.appendChild(style);
// Smooth scroll for navigation
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
</script>
<script>
// Custom Cursor Logic
(function() {
const cursorDot = document.querySelector('.cursor-dot');
const cursorOutline = document.querySelector('.cursor-outline');
if (cursorDot && cursorOutline) {
let mouseX = 0, mouseY = 0, outlineX = 0, outlineY = 0;
window.addEventListener('mousemove', (e) => {
mouseX = e.clientX;
mouseY = e.clientY;
cursorDot.style.left = mouseX + 'px';
cursorDot.style.top = mouseY + 'px';
});
const animate = () => {
outlineX += (mouseX - outlineX) * 0.15;
outlineY += (mouseY - outlineY) * 0.15;
cursorOutline.style.left = outlineX + 'px';
cursorOutline.style.top = outlineY + 'px';
requestAnimationFrame(animate);
};
animate();
const hoverElements = document.querySelectorAll('a, button, input, textarea, select, .hover-card, .archive-item, .podcast-card');
hoverElements.forEach(el => {
el.addEventListener('mouseenter', () => {
document.body.classList.add('cursor-hover');
});
el.addEventListener('mouseleave', () => {
document.body.classList.remove('cursor-hover');
});
});
}
})();
</script>
<!-- Submission Success Popup -->
<div id="successPopup" class="fixed inset-0 bg-black/60 backdrop-blur-sm z-[60] flex items-center justify-center p-4" style="display: none;">
<div class="bg-white rounded-3xl p-8 max-w-sm w-full text-center shadow-2xl transform transition-all animate-fade-in relative">
<div id="countdownTimer" class="absolute top-4 right-16 w-8 h-8 bg-blue-100/50 text-blue-600 font-bold rounded-full flex items-center justify-center text-sm font-mono">5</div>
<button onclick="document.getElementById('successPopup').style.display = 'none'; clearInterval(window.countdownInterval); clearTimeout(window.successTimeout);" class="absolute top-4 right-4 w-8 h-8 bg-gray-100 hover:bg-gray-200 rounded-full flex items-center justify-center transition">
<i class="fa-solid fa-times text-gray-600"></i>
</button>
<div class="w-16 h-16 bg-green-100 text-green-500 rounded-full flex items-center justify-center text-3xl mx-auto mb-4">
<i class="fa-solid fa-check"></i>
</div>
<h3 class="text-2xl font-bold text-gray-900 mb-2">Thank You!</h3>
<p class="text-gray-600 font-medium">Your submission has been received. Our team will get back to you shortly.</p>
</div>