-
Notifications
You must be signed in to change notification settings - Fork 42
/
index.html
1109 lines (1028 loc) · 50.3 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
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">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Favicon and title -->
<link rel="icon" type="image/x-icon" href="./public/assets/images/nitj-logo.png" />
<title>Dr. B.R. Ambedkar National Institute of Technology, Jalandhar</title>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<!-- Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<!-- CSS linking -->
<link rel="stylesheet" href="style.css" />
<script src="./js/data.js" defer></script>
<style>
/* Customizing the Scrollbar */
.material-symbols-outlined {
font-variation-settings: "FILL" 0, "wght" 400, "grad" 0, "opzs" 48;
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-resizer {
background-color: #ffffff;
}
/* Track */
::-webkit-scrollbar-track {
border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: hsla(201, 96%, 26%);
border-radius: 10px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #212121;
}
/* Gallery Effects */
.box {
flex: 1;
overflow: hidden;
transition: 0.5s;
line-height: 0;
}
.box>img {
width: 100%;
height: 100%;
border: 0.2rem solid white;
border-radius: 8px;
-o-object-fit: cover;
object-fit: cover;
transition: ease 0.75s;
}
.box:hover {
flex: 1 1 30%;
/* box-shadow: 0px 6px 6px rgba(73, 73, 73, 0.65); */
z-index: 1;
cursor: pointer;
}
.box:hover>img {
opacity: 1;
width: 100%;
height: 100%;
}
.base-image {
margin-top: 40px;
background-image: url("public/assets/images/nitj3.jpg"),
linear-gradient(rgb(255, 255, 255), rgba(4, 4, 4));
mask-image: linear-gradient(0deg, white, white, white, transparent);
-webkit-mask-image: linear-gradient(0deg,
white,
white,
white,
transparent);
background-color: #cccccc;
height: 400px;
background-position: 0% 28%;
background-repeat: no-repeat;
background-size: cover;
}
.base-image-2 {
margin-top: 40px;
background-image: url("public/assets/images/nitj3.jpg"),
linear-gradient(rgb(255, 255, 255), rgba(4, 4, 4));
background-color: #cccccc;
height: 300px;
background-position: 58% 28%;
background-repeat: no-repeat;
background-size: cover;
}
.main-shadow {
text-shadow: rgb(0 0 0) 6px -1px 5px;
}
.carousel-open:checked+.carousel-item {
position: static;
opacity: 100;
}
.carousel-item {
-webkit-transition: opacity 0.9s ease-in-out;
transition: opacity 1s ease-in-out 0.2s;
}
#carousel-1:checked~.control-1,
#carousel-2:checked~.control-2,
#carousel-3:checked~.control-3,
#carousel-4:checked~.control-4 {
display: block;
}
.carousel-indicators {
list-style: none;
margin: 0;
padding: 0;
position: absolute;
bottom: 2%;
left: 0;
right: 0;
text-align: center;
z-index: 10;
}
#menu .menu-content ul li.selected a {
color: hsla(201, 96%, 26%);
font-weight: bold;
font-size: 1.5rem;
}
#menu .menu-content .extra-links a.extra-selected {
font-weight: 600;
color: var(--dark);
}
</style>
</head>
<body class="font-body relative text-dark-purple scroll-smooth">
<script src="/template/header.js" type="module"></script>
<script src="/template/helper.js"></script>
<button id="scroll-to-top-button"
class="hidden z-30 opacity-60 hover:opacity-100 transition-all bg-blue-500 hover:bg-blue-700 text-white font-bold p-2 rounded-full fixed right-0 bottom-0 mr-6 mb-6">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor"
class="w-6 h-6">
<path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l7.5-7.5 7.5 7.5m-15 6l7.5-7.5 7.5 7.5" />
</svg>
</button>
<div class="h-28 bg-accent w-full"></div>
<div id="main-image" class="min-h-[700px] h-screen max-h-[1000px] transition-all duration-1000 bg-cover bg-center">
<div class="bg-gradient-to-b from-accent to-transparent h-full w-full">
<div class="flex flex-col items-center justify-center container h-full">
<div class="flex flex-col gap-10">
<h2 class="uppercase text-white text-2xl lg:text-4xl text-center">
<span class="font-bold">NITJ</span> Welcomes you
</h2>
<div
class="main-slider-text transition-all uppercase font-bold text-white max-w-lg text-4xl sm:text-5xl lg:text-6xl text-center">
<h2>THE PLACE OF <br> TRANSFORMATION</h2>
<h2>85<sup>th</sup> IN OVERALL <br> NIRF RANKING</h2>
<h2>52<sup>nd</sup> IN <br> ENGINEERING NIRF</h2>
</div>
</div>
<div id="tiles" class="grid grid-cols-2 lg:flex mt-[10vh] gap-5 w-[90%] items-start">
<div
class="group transition delay-100 duration-300 hover:shadow-2xl hover:bg-sky-500 hover:shadow-sky-500 hover:scale-110 hidden lg:flex flex-col space-y-4 items-center justify-center max-w-xs lg:w-1/5 h-full px-3 py-5 bg-white shadow rounded-xl">
<a href="#news" class="flex flex-col space-y-4 items-center justify-center">
<span class="group-hover:text-white group-hover:animate-bounce animate-delay material-symbols-outlined"
style="font-size: 48px">
newspaper</span>
<p
class="group-hover:text-white text-lg lg:text-xl whitespace-nowrap text-center text-dark-purple uppercase">
News
</p>
</a>
</div>
<div
class="group transition delay-100 duration-300 hover:shadow-2xl hover:bg-sky-500 hover:shadow-sky-500 hover:scale-110 flex flex-col space-y-4 items-center justify-center max-w-xs lg:w-1/5 h-full px-3 py-5 bg-white shadow rounded-xl">
<a href="#admission" class="flex flex-col space-y-4 items-center justify-center">
<span class="group-hover:text-white group-hover:animate-bounce animate-delay material-symbols-outlined"
style="font-size: 48px">
school
</span>
<p
class="group-hover:text-white text-lg lg:text-xl whitespace-nowrap text-center text-dark-purple uppercase">
Programs
</p>
</a>
</div>
<div
class="group transition delay-100 duration-300 hover:shadow-2xl hover:bg-sky-500 hover:shadow-sky-500 hover:scale-110 flex flex-col space-y-4 items-center justify-center max-w-xs lg:w-1/5 h-full px-3 py-5 bg-white shadow rounded-xl">
<a href="#nitj-numbers" class="flex flex-col space-y-4 items-center justify-center">
<span class="group-hover:text-white group-hover:animate-bounce animate-delay material-symbols-outlined"
style="font-size: 48px">
real_estate_agent
</span>
<p
class="group-hover:text-white text-lg lg:text-xl whitespace-nowrap text-center text-dark-purple uppercase">
Placements
</p>
</a>
</div>
<div
class="group transition delay-100 duration-300 hover:shadow-2xl hover:bg-sky-500 hover:shadow-sky-500 hover:scale-110 flex flex-col space-y-4 items-center justify-center max-w-xs lg:w-1/5 h-full px-3 py-5 bg-white shadow rounded-xl">
<a href="#research" class="flex flex-col space-y-4 items-center justify-center">
<span class="group-hover:text-white group-hover:animate-bounce animate-delay material-symbols-outlined"
style="font-size: 48px">
biotech
</span>
<p
class="group-hover:text-white text-lg lg:text-xl whitespace-nowrap text-center text-dark-purple uppercase">
Research
</p>
</a>
</div>
<div
class="group transition delay-100 duration-300 hover:shadow-2xl hover:bg-sky-500 hover:shadow-sky-500 hover:scale-110 flex flex-col space-y-4 items-center justify-center max-w-xs lg:w-1/5 h-full px-3 py-5 bg-white shadow rounded-xl">
<a href="#campus-life" class="flex flex-col space-y-4 items-center justify-center">
<span class="group-hover:text-white group-hover:animate-bounce animate-delay material-symbols-outlined"
style="font-size: 48px">
sports_handball
</span>
<p
class="group-hover:text-white text-lg lg:text-xl whitespace-nowrap text-center text-dark-purple uppercase">
campus life
</p>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- === Carousel section ends === -->
<!-- === News Section Starts === -->
<div id="news" class="my-20 scroll-mt-36">
<div class="container flex flex-col justify-start lg:flex-row">
<div id="announcements" class="flex w-full lg:w-2/3 flex-col space-y-6">
<div class="flex items-center justify-start space-x-6 group">
<h1 class="uppercase text-4xl font-semibold text-accent">
Latest <span class="text-dark-purple">Events</span>
</h1>
<span class="material-symbols-outlined group-hover:animate-shake animate-delay"
style="font-size: 40px; color: var(--accent)">
festival
</span>
</div>
<!-- Cards -->
<div class="flex flex-row relative">
<i class="absolute top-1/2 -left-10 -translate-y-1/2 fa-solid fa-angle-left self-center pl-4 text-2xl cursor-pointer"
onclick="slideCards(this,'left')"></i>
<div id="cards" class="scrollbar-hide flex space-x-6 overflow-x-scroll pl-1 pt-8 scroll-smooth h-[27rem]">
<!-- Data from API -->
<div id="card-template"
class="flex flex-col overflow-hidden rounded-xl bg-light-purple shadow-xl border-t-4 border-b-4 border-accent h-full w-60">
<div class="flex h-full w-full flex-col p-2.5">
<div class="h-44 basis-full w-full bg-slate-300 animate-pulse rounded-lg "></div>
<div class="flex flex-col p-4 basis-full">
<div>
<p class="w-[50%] h-5 rounded-lg bg-slate-300 animate-pulse">
</p>
<div class="space-y-1 mt-5">
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[80%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
<div class="pt-5 mt-auto whitespace-nowrap">
<div class="bg-slate-300 animate-pulse w-[50%] h-5 rounded-lg"></div>
</div>
</div>
</div>
</div>
<div id="card-template"
class="flex flex-col overflow-hidden rounded-xl bg-light-purple shadow-xl border-t-4 border-b-4 border-accent h-full w-60">
<div class="flex h-full w-full flex-col p-2.5">
<div class="h-44 basis-full w-full bg-slate-300 animate-pulse rounded-lg "></div>
<div class="flex flex-col p-4 basis-full">
<div>
<p class="w-[50%] h-5 rounded-lg bg-slate-300 animate-pulse">
</p>
<div class="space-y-1 mt-5">
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[80%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
<div class="pt-5 mt-auto whitespace-nowrap">
<div class="bg-slate-300 animate-pulse w-[50%] h-5 rounded-lg"></div>
</div>
</div>
</div>
</div>
<div id="card-template"
class="flex flex-col overflow-hidden rounded-xl bg-light-purple shadow-xl border-t-4 border-b-4 border-accent h-full w-60">
<div class="flex h-full w-full flex-col p-2.5">
<div class="h-44 basis-full w-full bg-slate-300 animate-pulse rounded-lg "></div>
<div class="flex flex-col p-4 basis-full">
<div>
<p class="w-[50%] h-5 rounded-lg bg-slate-300 animate-pulse">
</p>
<div class="space-y-1 mt-5">
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[80%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
<div class="pt-5 mt-auto whitespace-nowrap">
<div class="bg-slate-300 animate-pulse w-[50%] h-5 rounded-lg"></div>
</div>
</div>
</div>
</div>
</div>
<i class="fa-solid fa-angle-right self-center p-4 text-2xl cursor-pointer"
onclick="slideCards(this,'right')"></i>
</div>
<div class="flex items-end w-fit">
<a class="text-accent hover:text-sky-500 lg:mr-[80px]" href="/template/index.html?id=0?category=latestEvent">
<span class="font-semibold hover:underline">View All →</span>
</a>
</div>
</div>
<div id="notices" class="container mx-auto flex grow lg:w-1/3 w-full flex-col">
<div class="flex items-center mb-6 justify-start space-x-6 group">
<h1 class="text-4xl font-semibold uppercase text-gray-900">News</h1>
<span class="material-symbols-outlined text-xl group-hover:animate-shake animate-delay"
style="font-size: 40px; color: var(--accent)">
newspaper
</span>
</div>
<div class="flex flex-col space-y-4 py-6 px-2 overflow-scroll h-[29rem]" id="news-cards">
<!-- Data from the API -->
<!-- TODO : Add auto scrolling -->
<!-- TODO : Add loading state -->
<div id="news-card-template" class="rounded-xl p-4 shadow-md bg-slate-100">
<div class="flex flex-col items-start justify-start space-y-1 border-l-4 border-gray-800 pl-5">
<p class="w-full h-7 rounded-md bg-slate-400 animate-pulse"></p>
<div class="w-full space-y-1">
<p class="w-full h-4 rounded-md bg-slate-400 animate-pulse"></p>
<p class="w-[80%] h-4 rounded-md bg-slate-400 animate-pulse"></p>
</div>
</div>
</div>
<div id="news-card-template" class="rounded-xl p-4 shadow-md bg-slate-100">
<div class="flex flex-col items-start justify-start space-y-1 border-l-4 border-gray-800 pl-5">
<p class="w-full h-7 rounded-md bg-slate-400 animate-pulse"></p>
<div class="w-full space-y-1">
<p class="w-full h-4 rounded-md bg-slate-400 animate-pulse"></p>
<p class="w-[80%] h-4 rounded-md bg-slate-400 animate-pulse"></p>
</div>
</div>
</div>
<div id="news-card-template" class="rounded-xl p-4 shadow-md bg-slate-100">
<div class="flex flex-col items-start justify-start space-y-1 border-l-4 border-gray-800 pl-5">
<p class="w-full h-7 rounded-md bg-slate-400 animate-pulse"></p>
<div class="w-full space-y-1">
<p class="w-full h-4 rounded-md bg-slate-400 animate-pulse"></p>
<p class="w-[80%] h-4 rounded-md bg-slate-400 animate-pulse"></p>
</div>
</div>
</div>
</div>
<div class="flex items-end w-fit">
<a class="text-accent hover:text-sky-500 lg:mr-[80px]" href="/template/index.html?id=0?category=news">
<span class="font-semibold hover:underline">View All →</span>
</a>
</div>
</div>
</div>
</div>
<!-- === News Section Ends === -->
<!-- === Directors message starts === -->
<div id="director-message" class="container mx-auto my-10">
<!-- Data from API -->
<div class="flex flex-col space-y-6 rounded-lg bg-slate-100 p-6 shadow-md md:flex-row md:space-y-0 md:space-x-6">
<div class="h-32 w-40 rounded-xl bg-slate-300 animate-pulse"></div>
<div id="content" class="flex flex-col space-y-4 w-full">
<div aria-hidden="true" class="flex space-x-4 items-center justify-start group">
<div class="bg-slate-300 animate-pulse rounded-lg w-full max-w-md h-10"></div>
<div class="bg-slate-300 h-10 w-10 animate-pulse rounded-lg"></div>
</div>
<div aria-hidden="true" class="bg-slate-300 animate-pulse rounded-lg w-full max-w-md h-5"></div>
<div aria-hidden="true" class="space-y-1">
<div class="bg-slate-300 animate-pulse rounded-lg w-full h-5"></div>
<div class="bg-slate-300 animate-pulse rounded-lg w-full h-5"></div>
<div class="bg-slate-300 animate-pulse rounded-lg w-[80%] h-5"></div>
</div>
<div aria-hidden="true" class="mt-auto bg-slate-300 animate-pulse rounded-lg w-14 h-4">
<div class="bg-slate-300 animate-pulse rounded-lg w-14 h-4"></div>
</div>
</div>
</div>
</div>
<!-- === Admission Section Starts === -->
<div id="admission" class="container mx-auto scroll-mt-32 my-20">
<div class="flex flex-col items-start justify-center lg:gap-5 gap-10 lg:flex-row">
<div id="programs" class="flex flex-col space-y-6 basis-1/3 w-full lg:w-auto">
<div id="title" class="mb-10 flex items-start justify-start space-x-6 group">
<h1 class="uppercase text-4xl font-semibold text-accent">
Be an <span class="text-dark-purple">Nitjian</span>
</h1>
<span class="group-hover:animate-shake animate-delay material-symbols-outlined self-center"
style="font-size: 40px; color: var(--accent)">
add_reaction
</span>
</div>
<div class="flex flex-col gap-5">
<a href="/admissions/index.html#btech">
<div
class="ring-2 ring-slate-300 px-8 py-5 rounded-lg flex-col flex hover:ring-accent hover:bg-light-purple hover:ring-4 transition-all">
<p class="text-3xl font-bold">B.Tech</p>
<p class="text-lg text-slate-500">Undergraduate Program</p>
</div>
</a>
<a href="/admissions/index.html#mtech">
<div
class="ring-2 ring-slate-300 px-8 py-5 rounded-lg flex-col flex hover:ring-accent hover:bg-light-purple hover:ring-4 transition-all">
<p class="text-3xl font-bold">M.Tech</p>
<p class="text-lg text-slate-500">Postgraduate Program</p>
</div>
</a>
<a href="/admissions/index.html#phd">
<div
class="ring-2 ring-slate-300 px-8 py-5 rounded-lg flex-col flex hover:ring-accent hover:bg-light-purple hover:ring-4 transition-all">
<p class="text-3xl font-bold">Ph.D</p>
<p class="text-lg text-slate-500">Doctrate Program</p>
</div>
</a>
<a href="/admissions/index.html#mba">
<div
class="ring-2 ring-slate-300 px-8 py-5 rounded-lg flex-col flex hover:ring-accent hover:bg-light-purple hover:ring-4 transition-all">
<p class="text-3xl font-bold">Others</p>
<p class="text-lg text-slate-500">
MBA, Diploma, B.Sc, M.Sc etc.
</p>
</div>
</a>
</div>
</div>
<div class="flex flex-col space-y-6 basis-2/3">
<div id="title" class="mb-10 flex items-start justify-start space-x-6 group">
<h1 class="uppercase text-3xl sm:text-4xl font-semibold text-dark">
<span class="text-accent">Annoucements & </span>Notices
</h1>
<span class="group-hover:animate-shake animate-delay material-symbols-outlined self-center"
style="font-size: 40px; color: var(--accent)">
crisis_alert
</span>
</div>
<div class="ring-2 ring-accent rounded-xl p-5 flex flex-col items-center justify-center gap-5">
<div class="flex items-stretch rounded-full ring-2 ring-accent overflow-hidden">
<p data-notif="upcomingEvent"
class="notif-link cursor-pointer text-base px-6 py-1 rounded-full text-slate-400 font-semibold hover:bg-blue-50">
Upcoming Events
</p>
<p data-notif="notice"
class="notif-link cursor-pointer text-base px-6 py-1 rounded-full text-accent font-semibold bg-blue-100 hover:bg-blue-200">
Student's Corner
</p>
<p data-notif="tender"
class="notif-link cursor-pointer text-base px-6 py-1 rounded-full text-slate-400 font-semibold hover:bg-blue-50">
Tenders
</p>
</div>
<div class="w-full">
<div id="notice" class="w-full notice-content px-6 space-y-10 lg:mr-4 overflow-y-auto h-96">
<ul id="updates" class="w-full flex list-disc flex-col justify-between divide-y-2">
</ul>
<div class="bg-white sticky bottom-0 whitespace-nowrap pt-2 -ml-4 pl-4">
<a id="tab-view-all" class="text-accent hover:text-sky-500 lg:mr-[80px]" href="#">
<span class="font-semibold">View All →</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Institute in Numbers section -->
<section id="nitj-numbers"
class="cursor-pointer my-6 scroll-mt-32 bg-[url('./public/assets/images/placementStats.jpg')] group bg-cover bg-fixed bg-center bg-no-repeat">
<div class="bg-dark-purple/70">
<div
class="container mx-auto flex flex-col space-y-12 md:px-10 px-4 py-10 md:flex-row md:items-center md:justify-between md:max-w-screen-xl md:space-y-0">
<div class="flex flex-col gap-4 w-fit justify-center items-start">
<h1 class="text-5xl font-bold uppercase text-white">
#numbers <br />
<span style="
-webkit-text-stroke: 1px #ffffff !important;
-webkit-text-fill-color: transparent;
" class="inline-block">that prove</span>
NITJ
</h1>
<a href="https://placement-q1bq.onrender.com/"
class="text-sm w-fit font-semibold text-gray-900 hover:text-white flex items-center bg-white hover:bg-transparent hover:ring-2 ring-white ring-inset px-4 py-2 rounded-lg transition">
<span class="text-base">Placement site →</span>
</a>
</div>
<div class="grid grid-cols-2 gap-10 text-white md:max-w-sm" id="placement-stats">
<!-- Data From API -->
</div>
</div>
</div>
</section>
<!-- === Research Section Starts === -->
<div id="research" class="my-20 scroll-mt-32">
<div class="container grid grid-cols-1 gap-5 md:grid-cols-3">
<div id="announcements" class="md:col-start-1 md:col-end-3 row-span-2 flex flex-col space-y-6">
<div class="flex items-center justify-start space-x-6 group">
<h1 class="uppercase text-4xl font-semibold text-accent">
Research <span class="text-dark-purple">Highlights</span>
</h1>
<span class="group-hover:animate-shake animate-delay material-symbols-outlined"
style="font-size: 40px; color: var(--accent)">
stars
</span>
</div>
<!-- Cards -->
<div class="flex flex-row relative">
<i class="absolute top-1/2 -left-10 -translate-y-1/2 fa-solid fa-angle-left self-center pl-4 text-2xl cursor-pointer"
onclick="slideCards(this,'left')"></i>
<div id="slides" class="scrollbar-hide flex space-x-6 overflow-x-scroll pl-1 pt-8 scroll-smooth h-[25rem]">
<!-- Data from API -->
<div id="card-template"
class="flex flex-col overflow-hidden rounded-xl bg-light-purple shadow-xl border-t-4 border-b-4 border-accent h-full w-60">
<div class="flex h-full w-full flex-col p-2.5">
<div class="h-44 basis-full w-full bg-slate-300 animate-pulse rounded-lg "></div>
<div class="flex flex-col p-4 basis-full">
<div>
<p class="w-[50%] h-5 rounded-lg bg-slate-300 animate-pulse">
</p>
<div class="space-y-1 mt-5">
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
<div class="pt-5 mt-auto whitespace-nowrap">
<div class="bg-slate-300 animate-pulse w-[50%] h-5 rounded-lg"></div>
</div>
</div>
</div>
</div>
<div id="card-template"
class="flex flex-col overflow-hidden rounded-xl bg-light-purple shadow-xl border-t-4 border-b-4 border-accent h-full w-60">
<div class="flex h-full w-full flex-col p-2.5">
<div class="h-44 basis-full w-full bg-slate-300 animate-pulse rounded-lg "></div>
<div class="flex flex-col p-4 basis-full">
<div>
<p class="w-[50%] h-5 rounded-lg bg-slate-300 animate-pulse">
</p>
<div class="space-y-1 mt-5">
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
<div class="pt-5 mt-auto whitespace-nowrap">
<div class="bg-slate-300 animate-pulse w-[50%] h-5 rounded-lg"></div>
</div>
</div>
</div>
</div>
<div id="card-template"
class="flex flex-col overflow-hidden rounded-xl bg-light-purple shadow-xl border-t-4 border-b-4 border-accent h-full w-60">
<div class="flex h-full w-full flex-col p-2.5">
<div class="h-44 basis-full w-full bg-slate-300 animate-pulse rounded-lg "></div>
<div class="flex flex-col p-4 basis-full">
<div>
<p class="w-[50%] h-5 rounded-lg bg-slate-300 animate-pulse">
</p>
<div class="space-y-1 mt-5">
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
<div class="pt-5 mt-auto whitespace-nowrap">
<div class="bg-slate-300 animate-pulse w-[50%] h-5 rounded-lg"></div>
</div>
</div>
</div>
</div>
</div>
<i class="fa-solid fa-angle-right self-center p-4 text-2xl cursor-pointer"
onclick="slideCards(this,'right')"></i>
</div>
<div class="flex items-end w-fit pb-2 lg:pb-0">
<a class="text-accent hover:text-sky-500 lg:mr-[80px]"
href="/template/index.html?id=0?category=researchHighlights">
<span class="font-semibold hover:underline">View All →</span>
</a>
</div>
</div>
<div title="Alumni Site" id="testimonial"
class="grid grid-cols-1 grid-rows-1 md:col-start-1 md:col-end-3 md:row-start-3 md:mr-6 bg-white">
<!-- Data from API -->
<div
class="col-start-1 row-start-1 col-end-2 row-end-2 md:mr-6 bg-slate-100 rounded-lg flex flex-col md:flex-row p-5 gap-5">
<div class="bg-slate-300 animate-pulse rounded-md h-28 w-28"></div>
<div class="text-xl w-full flex flex-col gap-5">
<div class="text-xl flex flex-col gap-5">
<div class="space-y-1">
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-full h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[80%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
<div class="space-y-1">
<p class="w-20 h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-36 h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
</div>
</div>
<!-- <div class="card-container">
<div class="card">
<div class="card-contents card-front">
<div class="card-depth" id="testimonial">
</div>
<div class="card-contents card-back">
<div class="card-depth">
</div>
</div>
</div>
</div> -->
</div>
<div id="publications"
class="h-full md:col-start-3 md:col-end-4 row-span-3 py-3 px-8 h-fit border-accent border-t-4 bg-light-purple border-b-4 rounded-lg">
<div class="flex flex-col gap-3 mb-8">
<div class="flex items-center justify-start space-x-6 group">
<h1 class="uppercase text-4xl font-semibold">Publications</h1>
<span class="material-symbols-outlined group-hover:animate-shake animate-delay hidden lg:block"
style="font-size: 40px; color: var(--accent)">
local_library
</span>
</div>
<a class="text-accent hover:text-sky-500 lg:mr-[80px]" href="/research/research_publications.html">
<span class="font-semibold hover:underline">View All →</span>
</a>
</div>
<div class="h-[35rem] flex rounded-xl flex-col overflow-scroll divide-y-2 divide-gray-300"
id="publication-cards">
<!-- Data from API -->
<div>
<div id="publication-card" class="w-full flex flex-col py-2">
<div>
<div>
<p class="w-[90%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<div class="space-y-1">
<p class="w-[95%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[95%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[70%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
</div>
</div>
</div>
<div>
<div id="publication-card" class="w-full flex flex-col py-2">
<div>
<div>
<p class="w-[90%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<div class="space-y-1">
<p class="w-[95%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[95%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[70%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
</div>
</div>
</div>
<div>
<div id="publication-card" class="w-full flex flex-col py-2">
<div>
<div>
<p class="w-[90%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<div class="space-y-1">
<p class="w-[95%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[95%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[70%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
</div>
</div>
</div>
<div>
<div id="publication-card" class="w-full flex flex-col py-2">
<div>
<div>
<p class="w-[90%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<div class="space-y-1">
<p class="w-[95%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[95%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[70%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
</div>
</div>
</div>
<div>
<div id="publication-card" class="w-full flex flex-col py-2">
<div>
<div>
<p class="w-[90%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<div class="space-y-1">
<p class="w-[95%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[95%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
<p class="w-[70%] h-5 rounded-lg animate-pulse bg-slate-300"></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- === Research Section Ends === -->
<!-- === Placement Stats starts === -->
<section id="institute-numbers"
class="scroll-mt-32 my-6 bg-[url('./public/assets/images/numbers_section.jpg')] group bg-cover bg-fixed bg-center bg-no-repeat">
<div class="bg-dark-purple/70">
<div
class="container mx-auto flex flex-col space-y-12 md:px-10 px-4 py-10 md:flex-row-reverse md:items-center md:justify-between md:max-w-screen-xl md:space-y-0">
<h1 class="text-5xl font-bold uppercase text-white md:text-right">
#Numbers <br />
<span style="
-webkit-text-stroke: 1px #ffffff !important;
-webkit-text-fill-color: transparent;
" class="inline-block">that makes</span>
NITJ
</h1>
<div class="grid grid-cols-2 gap-10 text-white md:max-w-sm" id="stats">
<div class="number-in">
<h1 class="text-5xl font-bold uppercase"><span>5000</span>+</h1>
<p class="text-lg uppercase">Students</p>
</div>
<div class="number-in">
<h1 class="text-5xl font-bold uppercase"><span>500</span>+</h1>
<p class="text-lg uppercase">Faculty & Staff</p>
</div>
<div class="number-in">
<h1 class="text-5xl font-bold uppercase"><span>18</span></h1>
<p class="text-lg uppercase">Departments</p>
</div>
<div class="number-in">
<h1 class="text-5xl font-bold uppercase"><span>20</span>+</h1>
<p class="text-lg uppercase">Clubs & Cells</p>
</div>
</div>
</div>
</div>
</section>
<!-- === LIFE AT NITJ Starts === -->
<div id="campus-life" class="container my-20 scroll-mt-32">
<div class="flex flex-col gap-10 lg:flex-row">
<div class="basis-2/5">
<div class="mb-10 flex items-center justify-start space-x-6 group">
<h1 class="uppercase text-4xl font-semibold w-fit text-accent">
Clubs & <span class="text-dark-purple">Societies</span>
</h1>
<span class="material-symbols-outlined group-hover:animate-shake animate-delay"
style="font-size: 40px; color: var(--accent)">
diversity_2
</span>
</div>
<div class="flex items-center rounded-xl bg-light-purple p-2">
<div id="clubs-and-socs-container" class="h-[65vh] w-full overflow-auto rounded-lg p-2">
<div id="clubs-and-socs" class="flex w-full flex-col gap-6">
<!-- skeleton loading template -->
<div aria-hidden="true" id="club-card" class="overflow-hidden rounded-xl bg-white shadow-lg">
<div class="flex w-full flex-col items-stretch justify-start sm:flex-row">
<div class="w-2/5 bg-slate-300 animate-pulse bg-cover bg-center">
</div>
<div class="flex flex-col p-6 w-full sm:w-3/5">
<div class="flex flex-col items-start justify-start space-y-3">
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-8 w-1/2"></div>
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-5 w-full"></div>
<div class="space-y-1 w-full">
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-3 w-full"></div>
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-3 w-full"></div>
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-3 w-[80%]"></div>
</div>
</div>
<div class="mt-5 flex items-center justify-start space-x-3">
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-4 w-1/2"></div>
</div>
</div>
</div>
</div>
<div aria-hidden="true" id="club-card" class="overflow-hidden rounded-xl bg-white shadow-lg">
<div class="flex w-full flex-col items-stretch justify-start sm:flex-row">
<div class="w-2/5 bg-slate-300 animate-pulse bg-cover bg-center">
</div>
<div class="flex flex-col p-6 w-full sm:w-3/5">
<div class="flex flex-col items-start justify-start space-y-3">
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-8 w-1/2"></div>
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-5 w-full"></div>
<div class="space-y-1 w-full">
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-3 w-full"></div>
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-3 w-full"></div>
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-3 w-[80%]"></div>
</div>
</div>
<div class="mt-5 flex items-center justify-start space-x-3">
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-4 w-1/2"></div>
</div>
</div>
</div>
</div>
<div aria-hidden="true" id="club-card" class="overflow-hidden rounded-xl bg-white shadow-lg">
<div class="flex w-full flex-col items-stretch justify-start sm:flex-row">
<div class="w-2/5 bg-slate-300 animate-pulse bg-cover bg-center">
</div>
<div class="flex flex-col p-6 w-full sm:w-3/5">
<div class="flex flex-col items-start justify-start space-y-3">
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-8 w-1/2"></div>
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-5 w-full"></div>
<div class="space-y-1 w-full">
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-3 w-full"></div>
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-3 w-full"></div>
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-3 w-[80%]"></div>
</div>
</div>
<div class="mt-5 flex items-center justify-start space-x-3">
<div class="rounded-md animate-pulse bg-slate-300 mt-2 h-4 w-1/2"></div>
</div>
</div>
</div>
</div>
<!--
<div id="club-card" class="overflow-hidden rounded-xl bg-white shadow-lg">
<div class="flex w-full flex-col items-stretch justify-start sm:flex-row">
<div class="w-2/5 bg-[url(./public/assets/images/rtist_logo.png)] bg-cover bg-center bg-no-repeat">
</div>
<div class="flex flex-col p-6 w-full sm:w-3/5">
<div class="flex flex-col items-start justify-start space-y-3">
<h4 class="text-2xl font-bold uppercase">RTist</h4>
<div
class="flex items-start justify-start rounded-full border-2 border-green-500 bg-green-100 px-2 py-0.5 mt-2">
<p class="text-xs font-bold uppercase text-green-500">
Robotics Club
</p>
</div>
<p class="line-clamp-3 leading-5">
The club is all about robotics. This club serves as a
platform for students to enhance their robotic skills
and contribute for the development of the college.
</p>
</div>
<div class="mt-5 flex items-center justify-start space-x-3">
<a class="uppercase cursor-pointer font-semibold text-sm text-sky-500">Learn more
<span>→</span></a>
</div>
</div>
</div>
</div>
<div id="club-card" class="overflow-hidden rounded-xl bg-white shadow-lg">
<div class="flex w-full flex-col items-stretch justify-start sm:flex-row">
<div class="w-2/5 bg-[url(./public/assets/images/DSC_Logo.svg)] bg-cover bg-center bg-no-repeat">
</div>
<div class="flex flex-col p-6 w-full sm:w-3/5">
<div class="flex flex-col items-start justify-start space-y-3">
<h4 class="text-2xl font-bold uppercase">Criminalz Crew</h4>
<div
class="flex items-start justify-start rounded-full border-2 border-lime-500 bg-lime-100 px-2 py-0.5 mt-2">
<p class="text-xs font-bold uppercase text-lime-500">Dance Club</p>
</div>
<p class="line-clamp-3 leading-5">The club is all about robotics. This club serves as a platform
for students to enhance their robotic skills and contribute for the development of the
college.
</p>
</div>
<div class="mt-5 flex items-center justify-start space-x-3">
<a class="uppercase cursor-pointer font-semibold text-sm text-sky-500">Learn more
<span>→</span></a>
</div>
</div>
</div>
</div> -->
<!-- <div id="club-card" class="overflow-hidden rounded-xl bg-white shadow-lg">
<div class="flex w-full flex-col items-stretch justify-start sm:flex-row">
<div
class="w-2/5 bg-[url(./public/assets/images/mediacell_logo.png)] bg-cover bg-center bg-no-repeat">
</div>
<div class="flex flex-col p-6 w-full sm:w-3/5">
<div class="flex flex-col items-start justify-start space-y-3">
<h4 class="text-2xl font-bold uppercase">Mediacell</h4>
<div
class="flex items-start justify-start rounded-full border-2 border-red-500 bg-red-100 px-2 py-0.5 mt-2">
<p class="text-xs font-bold uppercase text-red-500">Reporting Club</p>
</div>
<p class="line-clamp-3 leading-5">The club is all about robotics. This club serves as a platform
for students to enhance their robotic skills and contribute for the development of the
college.
</p>
</div>
<div class="mt-5 flex items-center justify-start space-x-3">
<a class="uppercase cursor-pointer font-semibold text-sm text-sky-500">Learn more
<span>→</span></a>
</div>
</div>
</div>
</div> -->
</div>
</div>
</div>
<!-- <div class="flex items-end w-fit m-2 ml-4">
<a class="text-accent hover:text-sky-500 lg:mr-[80px]" href="#">
<span class="font-semibold hover:underline">View All →</span>
</a>
</div> -->
</div>
<div class="basis-3/5">
<div id="gallery">
<div class="mb-10 flex items-center justify-start space-x-6 group">
<h1 class="uppercase text-4xl font-semibold text-accent">
Photo <span class="text-dark-purple">Gallery</span>
</h1>
<span class="material-symbols-outlined group-hover:animate-shake animate-delay"