-
Notifications
You must be signed in to change notification settings - Fork 2
/
home.html
533 lines (413 loc) · 25.2 KB
/
home.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Athletix</title>
<!-- CSS FILES -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Unbounded:wght@300;500&display=swap" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-icons.css" rel="stylesheet">
<link href="css/templatemo-barber-shop.css" rel="stylesheet">
<link rel="shortcut icon" href="/images/favicon.png">
</head>
<body>
<div class="container-fluid">
<div class="row">
<button class="navbar-toggler d-md-none collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<nav id="sidebarMenu" class="col-md-4 col-lg-3 d-md-block sidebar collapse p-0">
<div
class="position-sticky sidebar-sticky d-flex flex-column justify-content-center align-items-center">
<div class="popup-link-1">
<a href="#"><img class="priflileImg" src="images/profile2.png" alt=""></a>
<div class="popup-card-1">
<img id="image" alt="Profile Image" class="profile-image-1">
<h3 class="name-1" id="name"></h3>
<button class="logout-btn-1" onclick="logout()">Logout</button>
</div>
</div>
<a class="navbar-brand" href="home.html">
<img src="images/profile.png" class="logo-image img-fluid" align="">
</a>
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link click-scroll" href="#section_1">Home</a>
</li>
<li class="nav-item">
<a class="nav-link click-scroll" href="#section_2">Gallery</a>
</li>
<li class="nav-item">
<a class="nav-link click-scroll" href="#section_3">Services</a>
</li>
<li class="nav-item">
<a class="nav-link click-scroll" href="#section_4">Remainder</a>
</li>
<li class="nav-item">
<a class="nav-link click-scroll" href="#section_5">Contact</a>
</li>
</ul>
</div>
</nav>
<div class="col-md-8 ms-sm-auto col-lg-9 p-0">
<section class="hero-section d-flex justify-content-center align-items-center" id="section_1">
<div class="container">
<div class="row">
<div class="col-lg-8 col-12">
<h1 class="text-white mb-lg-3 mb-4"><strong>Athletix</strong></h1>
<p class="text-white">Your Path to Olympic Glory!</p>
<br>
<a class="btn custom-btn custom-border-btn custom-btn-bg-white smoothscroll me-2 mb-2"
href="#section_2">About Us</a>
<a class="btn custom-btn smoothscroll mb-2" href="#section_3">Offerings</a>
</div>
</div>
</div>
<div class="custom-block d-lg-flex flex-column justify-content-center align-items-center">
<img src="images/bot.png" class="custom-block-image img-fluid" alt="">
<h4><strong class="text-white">Get more Info from AI chat</strong></h4>
<a> </a>
<a href="https://chat-gpt-eight-gold.vercel.app/" target="_blank"
class="smoothscroll btn custom-btn custom-btn-italic mt-3 ai-btn">Chat with
AI</a>
</div>
</section>
<section class="about-section section-padding" id="section_2">
<div class="container">
<div class="row">
<div class="col-lg-12 col-12 mx-auto">
<h2 class="mb-4">Olympics and Sports</h2>
<div class="border-bottom pb-3 mb-5">
<p>Experience the essence of Olympic brilliance at our captivating Olympic Gallery.
Immerse yourself in awe-inspiring
visuals that showcase the triumph of athleticism, grace, and determination.
Ignite your Olympic spirit as iconic images
transport you to golden moments of champions.
</div>
</div>
<h6 class="mb-5">"Click below to unveil the olympic legacy!"</h6>
<div class="col-lg-5 col-12 custom-block-bg-overlay-wrap me-lg-5 mb-5 mb-lg-0">
<img src="images/gallery/img1.jpg" class="custom-block-bg-overlay-image img-fluid"
alt="">
<a href="Gallery/index.html" target="_blank" class="view-more btn custom-btn custom-border-btn custom-btn-bg-white smoothscroll me-2 mb-2">View
more...</a>
</div>
<div class="col-lg-5 col-12 custom-block-bg-overlay-wrap custom-block-bg-overlay-wrap-2 mt-4 mt-lg-0 mb-5 mb-lg-0">
<video controls class="custom-block-bg-overlay-image img-fluid" alt="">
<source src="images/gallery/video1.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<a href="Gallery/index.html" target="_blank" class="view-more btn custom-btn custom-border-btn custom-btn-bg-white smoothscroll me-2 mb-2">View
more...</a>
</div>
</div>
</div>
</section>
<section class="featured-section section-padding">
<div class="container">
<div class="row">
<div class="col-lg-10 col-10 mx-auto">
<h2 class="mb-3" style="color: white;">Latest Olympic News</h2>
<strong class="services-thumb-price"><a href="News/news.html" target="_blank">See News</a></strong>
</div>
</div>
</div>
<div class="container news_container">
<div class="row">
<div class="col-lg-12 col-12 mx-auto">
</div>
</div>
</div>
</section>
<section class="services-section section-padding" id="section_3">
<div class="container">
<div class="row">
<div class="col-lg-12 col-12">
<h2 class="mb-5">Services</h2>
</div>
<div class="col-lg-6 col-12 mb-4">
<div class="services-thumb">
<img src="images/services/Quiz.jpg"
class="services-image img-fluid" alt="">
<div class="services-info d-flex align-items-end">
<h4 class="mb-0">Olympic Quiz</h4>
<strong class="services-thumb-price"><a href="Olympic Quest/index.html" target="_blank">Play</a></strong>
</div>
</div>
</div>
<div class="col-lg-6 col-12 mb-4">
<div class="services-thumb">
<img src="images/services/compare.jpeg"
class="services-image img-fluid" alt="">
<div class="services-info d-flex align-items-end">
<h4 class="mb-0">Compare PLayers</h4>
<strong class="services-thumb-price"><a href="Compare Players/compare.html" target="_blank">Compare</a></strong>
</div>
</div>
</div>
</div>
</div>
</section>
<section>
<section class="featured-section section-padding" id="section_4">
<div class="section-overlay"></div>
<div class="container">
<div class="row">
<div class="col-lg-10 col-10 mx-auto">
<h2 class="mb-3">Set Remainder For Upcoming Games!</h2>
<strong class="services-thumb-price"><a href="https://calendly.com/bytebusters24" target="_blank">SET</a></strong>
</div>
</div>
</div>
</section>
</section>
<section class="booking-section section-padding" id="booking-section">
<div class="container">
<div class="row">
<div class="col-lg-10 col-12 mx-auto">
<form action="" method="post" class="contact_form custom-form booking-form" id="bb-booking-form"
role="form" onsubmit="sendEmail(); reset(); return false;">
<div class="text-center mb-5">
<h2 class="mb-1">Voice Your Opinions</h2>
<p>Please fill out the form and we get back to you</p>
</div>
<div class="booking-form-body">
<div class="row">
<div class="col-lg-6 col-12">
<input type="text" name="bb-name" id="bb-name" class="form-control input"
placeholder="Full name" required>
</div>
<div class="col-lg-6 col-12">
<input type="tel" class="form-control input" name="bb-phone"
placeholder="Mobile 9999999999"
pattern="[0-9]{10}" required="" id="bb-phone">
</div>
<div class="col-lg-6 col-12">
<input type="text" name="bb-name" id="bb-email" class="input form-control"
placeholder="Email" required>
</div>
<div class="col-lg-6 col-12">
<select class="form-select form-control" name="bb-branch" id="bb-branch"
aria-label="Default select example">
<option selected="">Query</option>
<option value="Grünberger">Feedback</option>
<option value="Behrenstraße">Bug report</option>
<option value="Weinbergsweg">Complaint</option>
</select>
</div>
</div>
<textarea name="bb-message" rows="3" class="form-control" id="bb-message"
placeholder="Comment (Optional)"></textarea>
<div class="col-lg-4 col-md-10 col-8 mx-auto">
<button type="submit" class="form-control">Submit</button>
</div>
</div>
</form>
</div>
</div>
</section>
<section class="contact-section" id="section_5">
<div class="section-padding section-bg">
<div class="container">
<div class="row">
<div class="col-lg-8 col-12 mx-auto">
<h2 class="text-center">Thank You For Visiting Athletix!!</h2>
</div>
</div>
</div>
</div>
<div class="section-padding">
<div class="container">
<div class="row">
<div class="col-lg-5 col-12 contact-block-wrap mt-5 mt-lg-0 pt-4 pt-lg-0 mx-auto">
<div class="contact-block">
<h6 class="mb-0">
<strong>Fun Facts</strong>
<span class="ms-auto fun-facts-scroll"></span>
</h6>
</div>
</div>
<div class="col-lg-6 col-12">
<h5 class="mb-3"><strong>Contact</strong> Information</h5>
<p class="text-white d-flex mb-1">
<a href="tel: 120-240-3600" class="site-footer-link">
(+91)
0x0x0x0x0x
</a>
</p>
<p class="text-white d-flex">
<a href="mailto:info@yourgmail.com" style="font-size: 10px;" class="site-footer-link">
solvingforindiagfg@gmail.com
</a>
</p>
<ul class="social-icon">
<li class="social-icon-item">
<a href="#" class="social-icon-link bi-facebook">
</a>
</li>
<li class="social-icon-item">
<a href="#" class="social-icon-link bi-twitter">
</a>
</li>
<li class="social-icon-item">
<a href="#" class="social-icon-link bi-instagram">
</a>
</li>
<li class="social-icon-item">
<a href="#" class="social-icon-link bi-youtube">
</a>
</li>
<li class="social-icon-item">
<a href="#" class="social-icon-link bi-whatsapp">
</a>
</li>
</ul>
</div>
<div class="col-lg-12 col-12 mx-auto mt-5 pt-5">
<iframe class="google-map"
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3582.8856591233807!2d77.53434647548838!3d28.797553576567843!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x390cf51f5aadb701%3A0x39add03eb3926d26!2sSRM%20Institute%20of%20Science%20and%20Technology%20NCR%20Campus!5e1!3m2!1sen!2sin!4v1689158892847!5m2!1sen!2sin"
width="100%" height="300" style="border:0;" allowfullscreen="" loading="lazy"
referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</div>
</div>
</div>
</section>
<footer class="site-footer">
<div class="container">
<div class="row">
<div class="col-lg-12 col-12">
<h4 class="site-footer-title mb-4">Our Team</h4>
</div>
<div class="col-lg-4 col-md-6 col-11">
<div class="site-footer-thumb">
<strong class="mb-1">Team : Byte Busters</strong>
<p> <a href="https://www.linkedin.com/in/theabhinavrajput/" target="_blank">Abhinav
Rajput</a>
<br><a href="https://www.linkedin.com/in/theabhinavrajput/"
target="_blank">Priyanshu
Kushwaha</a>
<br><a href="https://www.linkedin.com/in/theabhinavrajput/"
target="_blank">Amrit Rai</a>
</p>
</div>
</div>
<div class="col-lg-4 col-md-6 col-11">
<div class="site-footer-thumb">
<strong class="mb-1">College : SRM Institute of Science and Technology, NCR</strong>
<p>Meerut Road, Modinagar, Uttar Pradesh 201204</p>
</div>
</div>
</div>
</div>
<div class="site-footer-bottom">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-8 col-12 mt-4">
<p class="copyright-text mb-0">Copyright © 2077 Athletix
<a href="https://templatemo.com" rel="nofollow" target="_blank"> </a>
</p>
</div>
<div class="col-lg-2 col-md-3 col-3 mt-lg-4 ms-auto">
<a href="#section_1" class="back-top-icon smoothscroll" title="Back Top">
<i class="bi-arrow-up-circle"></i>
</a>
</div>
</div>
</div>
</div>
</footer>
</div>
<!-- JAVASCRIPT FILES -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/click-scroll.js"></script>
<script src="js/custom.js"></script>
<script src="js/contact.js"></script>
<script src="https://smtpjs.com/v3/smtp.js"></script>
<script>
let params = {}
let regex = /([^&=]+)=([^&]*)/g, m;
while (m = regex.exec(location.href)) {
params[decodeURIComponent(m[1])] = decodeURIComponent(m[2]);
}
if (Object.keys(params).length > 0) {
localStorage.setItem('authInfo', JSON.stringify(params))
}
window.history.pushState({}, document.title, "/" + "home.html");
let info = JSON.parse(localStorage.getItem('authInfo'));
console.log(JSON.parse(localStorage.getItem('authInfo')))
console.log(info['access_token'])
console.log(info['expired_in'])
fetch("https://www.googleapis.com/oauth2/v3/userinfo", {
headers: {
"Authorization": `Bearer ${info['access_token']}`
}
})
.then((data) => data.json())
.then((info) => {
document.getElementById('name').innerHTML += info.name
document.getElementById('image').setAttribute('src', info.picture)
localStorage.setItem('userEmail', info.sub);
let sub = info.sub;
})
function logout() {
fetch("https://oauth2.googleapis.com/revoke?token=" + info['access_token'], {
method: 'POST',
headers: {
'Content-type': 'application/x-www-form-urlencoded'
}
})
.then((data => {
localStorage.removeItem('userEmail');
location.href = "https://athletix.netlify.app/"
}))
}
</script>
<script>
$(document).ready(function () {
var funFacts = [
"Olympic Games originated in ancient Greece and were held in honor of Greek god Zeus. The first recorded Olympic Games took place in 776 BC in Olympia.",
"The Olympic motto is Citius, Altius, Fortius, which is Latin for Faster, Higher, Stronger. It emphasizes the athletes' pursuit of excellence and breaking records.",
"The youngest Olympic athlete on record is Dimitrios Loundras from Greece, who competed in gymnastics at the 1896 Athens Olympics at the age of 10.",
"The 1900 Paris Olympics featured some unusual events, including pigeon shooting, kite flying, and an obstacle swimming race in the Seine River.",
"The 2008 Beijing Olympics introduced the Bird's Nest Stadium and the Water Cube Aquatics Center, which became iconic architectural landmarks.",
"Tokyo Olympics, originally scheduled for 2020, were postponed due to COVID-19. It marked first time in history that Games were postponed."
];
var currentIndex = 0;
var delayInSeconds = 8;
function updateFunFact() {
$('.fun-facts-scroll').fadeOut(function () {
$(this).text(funFacts[currentIndex]).fadeIn();
});
currentIndex = (currentIndex + 1) % funFacts.length;
}
updateFunFact(); // Initial update
setInterval(updateFunFact, delayInSeconds * 1000); // Auto-update the fun fact every few seconds
});
function togglePopup() {
var popupCard = document.getElementById("popup-card");
popupCard.classList.toggle("show");
}
</script>
<script>
// JavaScript code to auto-switch the cards horizontally after a delay
const cardContainer = document.getElementById('cardContainer');
const cards = cardContainer.querySelectorAll('.horizontal-card');
const cardWidth = cards[0].offsetWidth + 20; // Including margin
let currentIndex = 0;
function showNextCard() {
currentIndex = (currentIndex + 1) % cards.length;
cardContainer.scrollLeft = currentIndex * cardWidth;
}
setInterval(showNextCard, 5000);
</script>
</body>
</html>