-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpre.html
360 lines (313 loc) · 15.7 KB
/
pre.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
<!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/[email protected]/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 > PRE EVENT</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.html">Gallery</a>
</li>
<li class="nav-item active">
<a class="nav-link " href="main.html">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.html">HEADS</a></li>
<li><a class="dropdown-item text-white" href="core.html">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-info 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-secondary 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/LpHPs3n.jpg" alt="Not Found" class="leftImg">
<img src="https://i.imgur.com/lBhfa1j.png" alt="Not Found" class="centerImg" id="theImg">
<img src="https://i.imgur.com/21Fu4o5.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">
Pre Events
</div>
<div class="ending">
<h2 class="name">Chabeel</h2>
<p class="content">To quench the thirst that exists given the scorching heat, Chabeel is organised. Free sweet, cool, non-alcoholic drinks are offered by remembering the martyrdom of Guru Arjan Dev Ji.Guru taught the sikhs to accept God’s will
as sweet and aimed at raising people's spirits and instilling a feeling of eternal optimism.</p>
</div>
</section>
<section class="phone">
<div class="heading">
Pre 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/lBhfa1j.png" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Chabeel</h5>
<p class="card-text">To quench the thirst that exists given the scorching heat, Chabeel is
organised. Free sweet, cool, non-alcoholic drinks are offered by remembering the martyrdom of Guru Arjan Dev Ji.Guru taught the sikhs to
accept God’s will as sweet and aimed at raising people's spirits and instilling a feeling of eternal optimism.</p>
<a href="#" class="btn btn-dark">View Photos</a>
</div>
</div>
</div>
<div class="carousel-item">
<div class="card">
<img src="https://i.imgur.com/21Fu4o5.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Orientation</h5>
<p class="card-text">Orientation is a terse introduction about the society- VIRSA. Presentations and performances about the
society are delivered to welcome the new students. The Virsa team interacts with the students and have fun.</p>
<a href="#" class="btn btn-dark">View Photos</a>
</div>
</div>
</div>
<div class="carousel-item">
<div class="card">
<img src="https://i.imgur.com/vsdpxFd.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Virsa Talks</h5>
<p class="card-text">Experiences speak and so do the Eminent Personalities who grace this Event and offer an insight into their lives. The purpose of conducting
this Talk Show is to advice Students to Welcome their forthcomings and Provide them with Motivation and a Positive Approach.</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/TTKwPaR.png" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Turban Tying</h5>
<p class="card-text">Virsa conducts turban tying event, which helps bring diversity to the forefront. The main motive of this event is to provide a
privilege for the young generation to stay connected to their roots. One can sense the pride and alacrity of the turban through this event.</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/h7jdzY1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Informals</h5>
<p class="card-text">Virsa unrolls Informals to drive away the monotony of life
with fun and frolic, which portrays the traditional games of Punjab.</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/LpHPs3n.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">Jaggo</h5>
<p class="card-text">Following the magnificent engagement in sports, VIRSA proudly announces the outset of the main events with the bang of
cultural and traditional flavours of JAAGO.The zeal and enthusiasm of the students shines brighter than stars and lights in their eyes.</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 © 2023
<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/[email protected]/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/[email protected]/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
<script >
let imgArray = ["https://i.imgur.com/lBhfa1j.png",
"https://i.imgur.com/21Fu4o5.jpg",
"https://i.imgur.com/vsdpxFd.jpg",
"https://i.imgur.com/nfiMg99.jpg",
"https://i.imgur.com/TTKwPaR.png",
"https://i.imgur.com/h7jdzY1.jpg",
"https://i.imgur.com/LpHPs3n.jpg",
];
let contentArray=["To quench the thirst that exists given the scorching heat, Chabeel is organised. Free sweet, cool, non-alcoholic drinks are offered by remembering the martyrdom of Guru Arjan Dev Ji.Guru taught the sikhs to accept God’s will as sweet and aimed at raising people's spirits and instilling a feeling of eternal optimism.",
"Orientation is a terse introduction about the society- VIRSA. Presentations and performances about the society are delivered to welcome the new students. The Virsa team interacts with the students and have fun.",
"Experiences speak and so do the Eminent Personalities who grace this Event and offer an insight into their lives. The purpose of conducting this Talk Show is to advice Students to Welcome their forthcomings and Provide them with Motivation and a Positive Approach.",
"Laughter makes everything worthwhile, and so, VIRSA endsures that its audience is high on laughter. HAAYE-O-RABBA, a brand in improv events, invites the most elite Punjabi comedians and show runners to add grins and laughter to the event.",
"Virsa conducts turban tying event, which helps bring diversity to the forefront. The main motive of this event is to provide a privilege for the young generation to stay connected to their roots. One can sense the pride and alacrity of the turban through this event.",
"Virsa unrolls Informals to drive away the monotony of life with fun and frolic, which portrays the traditional games of Punjab.",
"Following the magnificent engagement in sports, VIRSA proudly announces the outset of the main events with the bang of cultural and traditional flavours of JAAGO.The zeal and enthusiasm of the students shines brighter than stars and lights in their eyes."]
let headingArray=["Chabeel",
"Orientation",
"Virsa Talks",
"Haye-o-Rabba",
"Turban Tying",
"Informals",
"Jaggo"
]
let NextBtn = document.querySelector(".Next");
let PrevBtn = document.querySelector(".Prev");
let n = 0; //Image Counter
function pictureChangeNext(){
if(n>=0 || n<=6 ){
n=n+1;
if(n==7){
n=0;
document.querySelector(".leftImg").src=imgArray[6];
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==6){
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<=6){
if(n==0){
n=6;
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[6];
}
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>
const countE1 = document.getElementById("count");
countvisits();
function countvisits(){
fetch('https://api.countapi.xyz/update/ssavirsa.com/virsa/?amount=1')
.then((res)=>res.json())
.then((res)=>{
countE1.innerHTML=res.value;
})
}
</script>
<script src="static/vendor/jquery/jquery.min.js"></script>
<script src="static/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>