forked from harjasdt/ssavirsa.github.io1
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmain.html
More file actions
315 lines (271 loc) · 13.2 KB
/
Copy pathmain.html
File metadata and controls
315 lines (271 loc) · 13.2 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>MAIN EVENTS</title>
<link rel="stylesheet" type="text/css" href="static/events/styles.css">
</head>
<body>
<nav id="p2" class="navbar navbar-expand-lg navbar-dark sticky-top">
<div class="container-fluid">
<a href="/" class="logo">
<img style="width: 120px;" src="https://imagizer.imageshack.com/img923/9454/BUTnYN.png">
</a>
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
<!-- <li class="nav-item">
<a class="nav-link " aria-current="page" href="http://recruitment.ssavirsa.com/"><button class="btn btn-warning" type="button">First Year Recruitment</button></a>
</li> -->
<li class="nav-item">
<a class="nav-link " aria-current="page" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link " href="gallery">Gallery</a>
</li>
<li class="nav-item active">
<a class="nav-link " href="main">Events</a>
</li>
<li class="nav-item " >
<!-- <li class="nav-item">
<a class="nav-link" href="#">TEAM</a>
</li> -->
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle " href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Team
</a>
<ul class="dropdown-menu bg-black ">
<li><a class="dropdown-item text-white" href="heads">HEADS</a></li>
<li><a class="dropdown-item text-white" href="core">CORE</a></li>
</ul>
</li>
</li>
</ul>
</div>
</div>
</nav>
<style>
.dropdown-item {
color: black !important;
}
#thapar{
text-align: center;
}
.container{
text-align: center;
}
.container a button{
width: 200px;
border-radius: 25px;
}
.row{
text-align: center;
}
@media only screen and (max-width: 750px) {
#thapar{
margin-left:100px;
text-align: center;
}
}
@media only screen and (max-width: 390px) {
#thapar{
margin-left:70px;
text-align: center;
}
}
</style>
<div class="container ">
<div class="row pt-2 pb-3 ">
<div id="thapar" class="col col-md-4 col-sm-12 "><a href="pre"><button class="btn btn-secondary btn-large" >Pre Events</button></a></div>
<div id="thapar" class="col col-md-4 col-sm-12 "><a href="online"><button class="btn btn-secondary btn-large" >Online Events</button></a></div>
<div id="thapar" class="col col-md-4 col-sm-12 "><a href="main"><button class="btn btn-info btn-large" >Main Events</button></a></div>
</div>
</div>
<section class="laptop">
<div class="bgLine"></div>
<div class="Container">
<img src="https://i.imgur.com/c0V5WFs.jpg" alt="Not Found" class="leftImg">
<img src="https://i.imgur.com/IGWOXt5.jpg" alt="Not Found" class="centerImg" id="theImg">
<img src="https://i.imgur.com/Idg1jq2.jpg" alt="Not Found" class="rightImg">
</div>
<button class="not Prev carousel-control-prev-icon"></button>
<button class="rr not Next float-right carousel-control-next-icon"></button>
<div class="heading">
Main Events
</div>
<div class="ending">
<h2 class="name">Cultural Eve</h2>
<p class="content">Cultural eve (Sham-e-Virasat) is one of Virsa’s paramount events. Giddha, Bhangra wars,Traditional Walk
take place on this day. Everyone relishes this event and is one of the ways to render the spirits of Punjabi culture.</p>
</div>
</section>
<section class="phone">
<div class="heading">
Main Events
</div>
<div class="container">
<div id="carouselExampleControls" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<div class="card">
<img src="https://i.imgur.com/IGWOXt5.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Sham-e-Virasat</h5>
<p class="card-text">Cultural eve (Sham-e-Virasat) is one of Virsa’s paramount events. Giddha, Bhangra wars
,Traditional Walk take place on this day. Everyone relishes this event and is one of the ways to render the spirits of Punjabi culture.</p>
<a href="gallery" class="btn btn-dark">View Photos</a>
</div>
</div>
</div>
<div class="carousel-item">
<div class="card" >
<img src="https://i.imgur.com/7mUHdN9.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">EDM and Bollywood Night</h5>
<p class="card-text">Addy Berry, Mr.Singh and Rhythm were invited and whole cast of Yaar jigree and
Kasooti degree was invited.Event was amazing and students had fun.</p>
<a href="gallery" class="btn btn-dark">View Photos</a>
</div>
</div>
</div>
<div class="carousel-item">
<div class="card" >
<img src="https://i.imgur.com/Idg1jq2.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Virsa Mela</h5>
<p class="card-text">VIRSA MELA is a stage to showcase the most assorted and vivid culture in India. It will disclose you in elation and illuminate the festive mood. The village sight and the
glint of lamps make the evening more stunning. The enthusiasm and contribution of participants make the environment more sensational.</p>
<a href="gallery" class="btn btn-dark">View Photos</a>
</div>
</div>
</div>
<div class="carousel-item">
<div class="card">
<img src="https://i.imgur.com/c0V5WFs.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Gurpurab</h5>
<p class="card-text">Virsa hosts this event in the memory of Guru Nanak Dev Ji to seek his blessings and to thank the almighty and bring peace. Every year, Ragis sing divine and melodious hymns,
swaying everyone in the rhythms of spirituality. This is followed by Guru ka Langar. Virsa keeps us deeply rooted and bound to our diverse culture.</p>
<a href="gallery" class="btn btn-dark">View Photos</a>
</div>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
</section>
<div class="footer">
<div class="social-media">
<a data-aos="zoom-in" class="btn btn-lg" style="background-color: transparent; color:white; font-size: 35px" href="https://www.facebook.com/VirsaTIET/" role="button"><i class="fa fa-facebook-f"></i></a>
<a data-aos="zoom-in" class="btn" style="background-color: transparent; color:white; font-size: 35px " href="https://www.instagram.com/virsa.thapar" role="button"><i class="fa fa-instagram"></i></a>
<a data-aos="zoom-in"
class="btn"
style="background-color: transparent; color:white; font-size: 35px "
href="https://www.linkedin.com/company/ssa-virsa/"
role="button"
><i class="fa fa-linkedin" aria-hidden="true"></i></a></div>
<p>Virsa © 2021
<br>Coded with ❤️ BY VIRSA TEAM
</p>
</div>
<!-- Optional JavaScript; choose one of the two! -->
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<!--
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
-->
<script>
let imgArray = ["https://i.imgur.com/IGWOXt5.jpg",
"https://i.imgur.com/7mUHdN9.jpg",
"https://i.imgur.com/Idg1jq2.jpg",
"https://i.imgur.com/c0V5WFs.jpg"
];
let contentArray=["Cultural eve (Sham-e-Virasat) is one of Virsa’s paramount events. Giddha, Bhangra wars,Traditional Walk take place on this day. Everyone relishes this event and is one of the ways to render the spirits of Punjabi culture.",
"Addy Berry, Mr.Singh and Rhythm were invited and whole cast of Yaar jigree and Kasooti degree was invited.Event was amazing and students had fun.",
"VIRSA MELA is a stage to showcase the most assorted and vivid culture in India. It will disclose you in elation and illuminate the festive mood. The village sight and the glint of lamps make the evening more stunning. The enthusiasm and contribution of participants make the environment more sensational.",
"Virsa hosts this event in the memory of Guru Nanak Dev Ji to seek his blessings and to thank the almighty and bring peace. Every year, Ragis sing divine and melodious hymns, swaying everyone in the rhythms of spirituality. This is followed by Guru ka Langar. Virsa keeps us deeply rooted and bound to our diverse culture."]
let headingArray=["Sham-e-Virasat",
"EDM and Bollywood Night",
"Virsa Mela",
"Gurpurab",
]
let NextBtn = document.querySelector(".Next");
let PrevBtn = document.querySelector(".Prev");
let n = 0; //Image Counter
function pictureChangeNext(){
if(n>=0 || n<=3 ){
n=n+1;
if(n==4){
n=0;
document.querySelector(".leftImg").src=imgArray[3];
document.querySelector(".centerImg").src=imgArray[n];
document.querySelector(".rightImg").src=imgArray[n+1];
document.querySelector(".content").innerHTML=contentArray[n];
document.querySelector(".name").innerHTML=headingArray[n];
}
else{
document.querySelector(".leftImg").src=imgArray[n-1];
document.querySelector(".centerImg").src=imgArray[n];
if(n==3){
document.querySelector(".rightImg").src=imgArray[0];
}
else{
document.querySelector(".rightImg").src=imgArray[n+1];
}
document.querySelector(".content").innerHTML=contentArray[n];
document.querySelector(".name").innerHTML=headingArray[n];
}
console.log(n);
}
}
function pictureChangePrev(){
if(n>=0 || n<=3){
if(n==0){
n=3;
document.querySelector(".leftImg").src=imgArray[n-1];
document.querySelector(".centerImg").src=imgArray[n];
document.querySelector(".rightImg").src=imgArray[0];
document.querySelector(".content").innerHTML=contentArray[n];
document.querySelector(".name").innerHTML=headingArray[n];
}
else{
n = n-1;
if(n==0){
document.querySelector(".leftImg").src=imgArray[3];
}
else{
document.querySelector(".leftImg").src=imgArray[n-1];
}
document.querySelector(".centerImg").src=imgArray[n];
document.querySelector(".rightImg").src=imgArray[n+1];
document.querySelector(".content").innerHTML=contentArray[n];
document.querySelector(".name").innerHTML=headingArray[n];
}
console.log(n)
}
}
NextBtn.addEventListener("click", pictureChangeNext);
PrevBtn.addEventListener("click", pictureChangePrev);
</script>
<script src="static/vendor/jquery/jquery.min.js"></script>
<script src="static/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>