forked from wdmc-nitj/nitj-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1205 lines (1147 loc) · 54.8 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,[email protected],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">
<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=" z-50 p-0 top-0 flex items-start justify-start h-full w-full fixed bg-transparent backdrop-blur-2xl"
id="nav-menu" style="display: none" onclick="priority=4;executor();">
<div id="menu" class="h-screen w-2/3 z-10 relative" onclick="priority=3;executor();">
<div id="menu-content" class="menu-content z-50 bg-accent h-full relative" onclick="priority=2;executor();">
<!-- cross button-->
<div class="top-bar">
<div class="menu-btn z-50 flex justify-end py-4 px-4">
<div class="line bg-white w-[20px] h-[2px] rotate-45 absolute" onclick="priority=1;executor();"></div>
<div class="line bg-white w-[20px] h-[2px] -rotate-45" onclick="priority=1;executor();"></div>
</div>
</div>
<div
class="extra-links absolute bottom-1.5 left-0 w-full select-none flex flex-col align-middle justify-center">
<a class="text-center text-white" href="/">Privacy Policy</a>
<a class="text-center text-white" href="/">Terms & conditions</a>
</div>
</div>
</div>
</div>
<!-- Menu for mobile ends-->
<header class="fixed bg-white top-0 right-0 left-0 z-40">
<!-- TOP NAV BAR stats -->
<div id="top_bar"
class="absolute top-0 right-0 left-0 transition-transform delay-200 h-7 bg-accent py-0.5 px-2 sm:px-12 text-xs uppercase text-white shadow-md">
<div class="container mx-auto flex flex-row justify-between">
<div class="basis-1/2">
<div class="flex flex-row justify-center gap-4 sm:gap-6">
<div class="flex items-center">
<span class="material-symbols-outlined" style="
font-variation-settings: 'FILL' 0, 'wght' 200, 'grad' 0,
'opzs' 40;
">
engineering
</span>
<a href="" class="hidden sm:block pl-1.5 text-xs">Jobs</a>
</div>
<div class="flex items-center">
<span class="material-symbols-outlined" style="
font-variation-settings: 'FILL' 0, 'wght' 200, 'grad' 0,
'opzs' 40;
">
add_business
</span>
<a href="" class="hidden sm:block pl-1.5 text-xs">Tenders</a>
</div>
<div class="flex items-center">
<span class="material-symbols-outlined" style="
font-variation-settings: 'FILL' 0, 'wght' 200, 'grad' 0,
'opzs' 40;
">
badge
</span>
<a href="https://placement-q1bq.onrender.com/" class="hidden sm:block pl-1.5 text-xs">Placements</a>
</div>
<div class="flex items-center">
<span class="material-symbols-outlined" style="
font-variation-settings: 'FILL' 0, 'wght' 200, 'grad' 0,
'opzs' 40;
">
event_note
</span>
<a href="" class="hidden sm:block pl-1.5 text-xs">Resources</a>
</div>
<div class="flex items-center">
<span class="material-symbols-outlined" style="
font-variation-settings: 'FILL' 0, 'wght' 200, 'grad' 0,
'opzs' 40;
">
psychology_alt
</span>
<a href="" class="hidden sm:block pl-1.5 text-xs">Help</a>
</div>
</div>
</div>
<div class="basis-1/2 sm:pl-8 pl-1">
<div class="flex flex-row gap-4 justify-between">
<div class="hidden sm:flex basis-1/6 gap-4 flex-row items-center">
<a href="https://www.facebook.com/NITJofficial"><i class="fa-brands fa-facebook text-lg"></i></a>
<a href="https://www.instagram.com/nitjofficial/"><i class="fa-brands fa-instagram text-lg"></i></a>
<a href="https://twitter.com/NITJofficial"><i class="fa-brands fa-twitter text-lg"></i></a>
</div>
<div class="flex sm:basis-1/3 basis-1/2 justify-center items-center">
<span class="material-symbols-outlined" style="
font-variation-settings: 'FILL' 0, 'wght' 200, 'grad' 0,
'opzs' 40;
">
g_translate
</span>
<a href="" class="hidden sm:block pl-1">हिन्दी / <span class="text-lg">A</span>+A-</a>
</div>
<div class="flex sm:basis-1/3 basis-1/2 justify-center items-center">
<span class="material-symbols-outlined" style="
font-variation-settings: 'FILL' 0, 'wght' 200, 'grad' 0,
'opzs' 40;
">
contacts
</span>
<a href="" class="hidden sm:block pl-1.5 text-xs">ERP</a>
</div>
</div>
</div>
</div>
</div>
<!-- top nav bar ends -->
<!-- INSTITUTE LOGO & NAME starts -->
<div id="instituteNameContainer"
class="relative sm:px-0 px-20 sm:w-full container p-0 left-[10px] sm:left-0 h-14 max-h-14 sm:h-20 sm:max-h-20">
<div class="mySlides mt-7">
<div class="align-center flex flex-row justify-end sm:justify-between bg-white py-2.5">
<div
class="institute_name sm:max-w-lg sm:basis-1/2 justify-start text-center sm:text-lg font-semibold uppercase hidden sm:block">
<p>Dr B R AMBEDKAR NATIONAL INSTITUTE OF TECHNOLOGY JALANDHAR</p>
</div>
<div
class="institute_name flex sm:max-w-lg sm:basis-1/2 justify-end sm:px-16 text-center text-sm sm:text-xl font-bold uppercase">
<p>डॉ बी आर अंबेडकर राष्ट्रीय प्रौद्योगिकी संस्थान जालंधर</p>
</div>
</div>
</div>
<div class="mySlides mt-7">
<div class="align-center flex flex-row justify-end sm:justify-between bg-white py-2.5">
<div
class="institute_name sm:max-w-lg sm:basis-1/2 justify-center px-16 text-center sm:text-xl font-bold uppercase hidden sm:block">
<p>डॉ बी आर अंबेडकर राष्ट्रीय प्रौद्योगिकी संस्थान जालंधर</p>
</div>
<div
class="institute_name flex sm:max-w-lg sm:basis-1/2 justify-center sm:px-8 text-center text-sm sm:text-xl font-bold uppercase">
<p>ਡਾ ਬੀ ਆਰ ਅੰਬੇਡਕਰ ਨੈਸ਼ਨਲ ਇੰਸਟੀਚਿਊਟ ਟੈਕਨਾਲੋਜੀ ਜਲੰਧਰ</p>
</div>
</div>
</div>
<div class="mySlides mt-7">
<div class="align-center flex flex-row justify-end sm:justify-between bg-white py-2.5">
<div
class="institute_name sm:max-w-lg sm:basis-1/2 justify-center px-8 text-center sm:text-xl font-bold uppercase hidden sm:block">
<p>ਡਾ ਬੀ ਆਰ ਅੰਬੇਡਕਰ ਨੈਸ਼ਨਲ ਇੰਸਟੀਚਿਊਟ ਟੈਕਨਾਲੋਜੀ ਜਲੰਧਰ</p>
</div>
<div
class="institute_name flex sm:max-w-lg sm:basis-1/2 justify-center text-center text-xs sm:text-lg font-semibold uppercase">
<p>Dr B R AMBEDKAR NATIONAL INSTITUTE OF TECHNOLOGY JALANDHAR</p>
</div>
</div>
</div>
</div>
<!-- INSTITUTE LOGO & NAME ends -->
<!-- Logo CONTAINER starts -->
<div
class="absolute hidden sm:block left-[50px] z-40 mx-auto -translate-x-1/2 -translate-y-1/3 sm:translate-y-0 scale-75 sm:scale-100 sm:left-1/2"
style="width: 230px">
<img src="public/assets/images/Rectangle 47 (1).png" alt="" />
</div>
<a href="/index.html">
<div id="logo_250"
class="absolute h-[120px] aspect-square left-[50px] sm:left-1/2 scale-[0.40] sm:scale-100 -translate-y-1/3 top-9 sm:top-7 sm:translate-y-0 z-40 -translate-x-1/2 sm:py-0">
<img src="public/assets/images/logo_250.png" alt="" />
</div>
</a>
<!-- Logo CONTAINER ends -->
<!-- NAV BAR starts-->
<div class="sm:block bg-accent drop-shadow-lg z-40">
<div class="container">
<div class="z-40 flex h-7 sm:h-10 max-w-screen px-4 flex-row justify-between bg-accent text-lg text-white">
<div class="flex items-center sm:hidden h-full">
<span class="material-symbols-outlined pr-2"
style='font-variation-settings: "FILL" 0, "wght" 200, "grad" 0, "opzs" 40;' onclick="open_menu();"> menu
</span>
<a href="/index.html" class="h-full">
<span class="material-symbols-outlined" style="
font-variation-settings: 'FILL' 0, 'wght' 200, 'grad' 0,
'opzs' 40;
">
home
</span>
</a>
</div>
<div class="sm:hidden block">
<button type="button" id="nav-search-btn"
class="block material-symbols-outlined duration-50 cursor-pointer text-center transition ease-in-out hover:box-border sm:hover:h-10 sm:hover:w-10 hover:rounded-full hover:border-2 hover:border-accent"
data-bs-toggle="tooltip" data-bs-placement="bottom" title="Tap to search">
search
</button>
</div>
<div class="basis-2/5 hidden sm:block">
<div class="flex w-full flex-row justify-between px-4">
<div class="flex items-center">
<a href="/index.html" class="hidden sm:block text-xs">
<span class="material-symbols-outlined" style="
font-variation-settings: 'FILL' 0, 'wght' 200, 'grad' 0,
'opzs' 40;
">
home
</span>
</a>
</div>
<div id="menu-1" class="group cursor-default hover:bg-blue-800">
<div id="Administration" class="p-1.5 font-medium uppercase">Administration</div>
</div>
<div id="menu-2" class="group cursor-default hover:bg-blue-800">
<div id="Academics" class="p-1.5 font-medium uppercase">Academics</div>
</div>
<div id="menu-3" class="group cursor-default hover:bg-blue-800">
<div id="Admissions" class="p-1.5 font-medium uppercase">Admissions</div>
</div>
</div>
</div>
<div class="basis-2/5 hidden sm:block w-full">
<div class="flex w-full flex-row justify-between">
<div class="basis-4/5">
<div class="flex flex-row justify-between">
<div id="menu-4" class="group cursor-default hover:bg-blue-800">
<div id="Research" class="p-1.5 font-medium uppercase">Research</div>
</div>
<div id="menu-5" class="group cursor-default hover:bg-blue-800">
<div id="Alumni" class="p-1.5 font-medium uppercase">Alumni</div>
</div>
<div id="menu-6" class="group relative cursor-default hover:bg-blue-800">
<div id="Life at NITJ" class="p-1.5 font-medium uppercase">Life at NITJ</div>
</div>
</div>
</div>
<div class="flex basis-1/5 flex-row justify-center">
<button type="button" id="nav-search-btn-v2"
class="material-symbols-outlined duration-50 cursor-pointer text-center transition ease-in-out hover:box-border hover:h-10 hover:w-10 hover:rounded-full hover:border-2 hover:border-accent"
data-bs-toggle="tooltip" data-bs-placement="bottom" title="Tap to search">
search
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- NAV BAR ends-->
</header>
<!-- === Search bar starts === -->
<div id="search_page"
class="absolute top-0 z-50 hidden h-full w-full content-center bg-transparent backdrop-blur-2xl">
<form id="search_form">
<div class="flex px-28">
<label for="search-dropdown" class="sr-only mb-2 text-sm font-medium text-gray-900 dark:text-gray-300">Your
Email</label>
<button id="dropdown-button" data-dropdown-toggle="dropdown"
class="z-10 inline-flex flex-shrink-0 items-center rounded-l-lg border border-gray-300 bg-gray-100 py-2.5 px-4 text-center text-sm font-medium text-gray-900 hover:bg-gray-200 focus:outline-none focus:ring-4 focus:ring-gray-100 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-700"
type="button" onclick="openDropdown()">
All categories
<svg class="ml-1 h-4 w-4" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
clip-rule="evenodd"></path>
</svg>
</button>
<div id="dropdown"
class="absolute z-10 hidden w-44 translate-y-11 divide-y divide-gray-100 rounded bg-white shadow dark:bg-gray-700"
data-popper-reference-hidden="" data-popper-escaped="" data-popper-placement="top">
<ul class="py-1 text-sm text-gray-700 dark:text-gray-200" aria-labelledby="dropdown-button">
<li>
<button type="button"
class="inline-flex w-full py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">
Faculty
</button>
</li>
<li>
<button type="button"
class="inline-flex w-full py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">
Links
</button>
</li>
<li>
<button type="button"
class="inline-flex w-full py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">
Library
</button>
</li>
<li>
<button type="button"
class="inline-flex w-full py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">
Research
</button>
</li>
<li>
<button type="button"
class="inline-flex w-full py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">
Everything
</button>
</li>
</ul>
</div>
<div class="relative w-full">
<input type="search" id="search-dropdown"
class="z-20 block w-full rounded-r-lg border border-l-2 border-gray-300 border-l-gray-50 bg-gray-50 p-2.5 text-sm text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:border-l-gray-700 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500"
placeholder="Search Faculty, Books, Events, Researches..." required="" />
<button type="submit"
class="absolute top-0 right-0 rounded-r-lg border border-blue-700 bg-blue-700 p-2.5 text-sm font-medium text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">
<svg class="h-5 w-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
</button>
</div>
</div>
</form>
</div>
<!-- === Search bar ends === -->
<!-- === Carousel section starts === -->
<div id="main-image"
class="mt-20 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>
<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>
<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>
<!-- === 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">
<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/mtech_ccmt.html">
<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/phd.html">
<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">PhD</p>
<p class="text-lg text-slate-500">Doctrate Program</p>
</div>
</a>
<a href="/admissions/mba.html">
<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="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="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="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 underline">View All →</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Institute in Numbers section -->
<a href="https://placement-q1bq.onrender.com/
">
<section id="nitj-numbers"
class="cursor-pointer my-6 scroll-mt-32 bg-[url('./public/assets/images/placementStats.jpg')] 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">
<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>
<div class="grid grid-cols-2 gap-10 text-white md:max-w-sm" id="placement-stats">
<!-- Data From API -->
</div>
</div>
</div>
</section>
</a>
<!-- === Research Section Starts === -->
<div id="research" class="my-20 scroll-mt-32">
<div class="container grid grid-cols-1 gap-5 md:gap-0 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>
<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 id="testimonial"
class="md:col-start-1 md:col-end-3 md:row-start-3 md:mr-6 bg-white rounded-lg flex flex-col md:flex-row p-5 ring-2 gap-5 ring-accent">
<!-- Data from API -->
</div>
<div id="publications"
class="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="#">
<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>
</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')] 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 class="h-[65vh] overflow-auto rounded-lg p-2">
<div class="flex flex-col gap-6">
<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">DSC NITJ</h4>
<div
class="flex items-start justify-start rounded-full border-2 border-purple-500 bg-purple-100 px-2 py-0.5 mt-2">
<p class="text-xs font-bold uppercase text-purple-500">
Development 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/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"
style="font-size: 40px; color: var(--accent)">
imagesmode
</span>
</div>
<!-- images from API -->
<!-- <div class="flex h-[22vh] w-full">
<div class="box">
<img src="./public/assets/images/img1.png" />
</div>
<div class="box">
<img src="./public/assets/images/img2.png" />
</div>
<div class="box">
<img src="./public/assets/images/img3.png" />
</div>
<div class="box hidden lg:block">
<img src="./public/assets/images/img4.png" />
</div>
</div> -->
<!-- <div class="flex h-[22vh] w-full">
<div class="box">
<img src="./public/assets/images/img5.png" />
</div>
<div class="box">
<img src="./public/assets/images/img6.png" />
</div>
<div class="box">
<img src="./public/assets/images/img7.png" />