-
Notifications
You must be signed in to change notification settings - Fork 214
/
contributor.html
669 lines (565 loc) · 22.1 KB
/
contributor.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BuddyTrail Contributors</title>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="contributor.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="shortcut icon" href="images/4.jpeg" type="image/x-icon">
<link href="https://fonts.goohttps://github.com/ankit071105/Ticket-Booking/pull/866/conflict?name=contributor.html&ancestor_oid=195768eb259a8c57a66063cf6f5ac0f7f3f64921&base_oid=7ee7a7c2ec064da47aa52160c62764bcd4825c49&head_oid=732b332fcead1f148a9b198f35a8fcf33b55ce8fgleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="about.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="footer.css">
<link rel="stylesheet" href="faq.css">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="navbar.css">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="why-us.css">
<script src="https://kit.fontawesome.com/3d20c433e1.js" crossorigin="anonymous"></script>
<style>
.homeBtn {
position: fixed;
z-index: 1000;
top: 20px;
left: 20px;
font-weight: bolder;
padding: 7px 16px ;
background-color: #005842;
color: white;
text-decoration: none;
border-radius: 5px;
}
.contributor-contributor-card:hover {
transform: translateY(-5px);
background-color: aqua;
box-shadow: 1px 1px 12px 4px blue;
border-radius: 10px ;
}
</style>
</head>
<body>
<div class="cursor"></div>
<div class="cursor-trail"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<!-- Preloader -->
<div id="preloader">
<div class="loader-wrapper">
<img src="Ticket booking.png" alt="Travel Website Logo" id="logo">
<div class="loader-globe"></div>
</div>
<div id="loading-text">Ready to Explore the World...</div>
</div>
<style>
/* Preloader Container */
#preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: rgba(0, 0, 0, 0.988);
z-index: 1000;
}
/* Wrapper for the logo and loader */
.loader-wrapper {
position: relative;
width: 180px;
height: 180px;
display: flex;
justify-content: center;
align-items: center;
}
/* Logo Styling */
#logo {
width: 140px;
position: relative;
z-index: 10; /* Ensures logo stays above the loader */
animation: pulse 2s infinite ease-in-out;
}
/* Circular Loader surrounding the logo */
.loader-globe {
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
border: 8px solid transparent;
border-left-color: rgb(248, 172, 21);
border-right-color: rgb(8, 82, 230);
animation: spin 2s linear infinite;
}
/* Loading Text */
#loading-text {
margin-top: 20px;
font-size: 20px;
color: white;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
letter-spacing: 1px;
animation: textGlow 2s ease-in-out infinite;
}
/* Keyframes Animations */
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes textGlow {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
</style>
<script>
// Function to hide preloader and show content once the page has fully loaded
window.addEventListener('load', function() {
const preloader = document.getElementById('preloader');
const content = document.getElementById('content');
// Set a small timeout for better user experience
setTimeout(function() {
// Hide preloader
preloader.style.opacity = '0';
preloader.style.transition = 'opacity 1s ease-in-out';
// Show content after preloader fades out
setTimeout(function() {
preloader.style.display = 'none';
content.style.display = 'block';
content.classList.add('show'); // Trigger fade-in transition
}, 1000); // Match the transition duration
}, 2000); // Adjust to the length of your spinner animation
});
</script>
<div id="scrollProgressBar" class="progress-bar"></div>
<!-- Your existing content goes here -->
</body>
<div class="gtranslate_wrapper"></div>
<script>window.gtranslateSettings = {"default_language":"en","detect_browser_language":true,"wrapper_selector":".gtranslate_wrapper"}</script>
<script src="https://cdn.gtranslate.net/widgets/latest/float.js" defer></script>
<button onclick="moveToTop()" id="topBtn" title="Go to top" style="display:flex; position: fixed; right: 30px; z-index: 100000;">
<i class="fa fa-arrow-up" aria-hidden="true"></i>
</button>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.content {
padding: 20px;
}
</style>
<!--chat bot-->
<button onclick="toggleChatbot()" id="chatbotBtn" title="chat bot"></button>
<div class="chatbot-container" id="chatbot-container">
<div class="chatbot-title">Ticket Bot</div>
<div class="chatbot-chat" id="chatbot-chat"></div>
<input type="text" class="chatbot-input" id="chatbot-input" placeholder="Type your message here...." />
<button class="chatbot-button" id="chatbot-button"><i class="fa-brands fa-telegram"></i></button>
</div>
<nav class="navbar">
<img src="https://ticket-booking-blue.vercel.app/images/4.jpeg" alt="" style="border-radius: 50%; height: 35px; width: 35px;">
<div class="logo" style="font-size: 20px;">Ticket Marketplace</div>
<!-- Toggle Button (Visible on Small Screens) -->
<button id="navToggle">☰</button>
<!-- Navbar Links -->
<div id="navLinks">
<a href="index.html" style="display: flex; align-items: center; text-decoration: none; white-space: nowrap; margin-right: -250px;">
<img src="https://ticket-booking-blue.vercel.app/images/4.jpeg" alt="" style="border-radius: 50%; height: 35px; width: 35px;">
<div class="logo" style="font-size: 20px; margin-left: 8px;">Ticket Marketplace</div>
</a><div>
<a href="index.html"><i class="fas fa-home"></i> Home</a>
<a href="about.html"><i class="fas fa-info-circle"></i> About</a>
<a href="buy.html"><i class="fas fa-ticket-alt"></i> Buy Ticket</a>
<a href="sell.html"><i class="fas fa-tags"></i> Sell</a>
<a href="contactus.html"><i class="fas fa-envelope"></i> Contact</a>
<a href="contributor.html"><i class="fas fa-users"></i> Contributors</a>
<a href="client/login.html"><i class="fas fa-sign-in-alt"></i> Login</a>
</div>
<!-- Dark Mode Button -->
<button id="darkModeToggle" style="width: 40px; height: 40px;">🌙</button>
</nav>
<a href="contributor.html" class="active"><i class="fas fa-users"></i> Contributors</a>
<a href="register.html"><i class="fas fa-sign-in-alt"></i> Login</a>
</div>
<button id="darkModeToggle" style="width: 40px; height: 40px;">🌙</button>
</nav>
</div>
</div>
<div class="social-sidebar">
<div class="close-btn" onclick="toggleSidebar()" title="Close Sidebar">×</div>
<ul>
<li><a href="https://www.facebook.com" target="_blank"><i class="fa-brands fa-facebook"></i></a></li>
<li><a href="https://www.twitter.com" target="_blank"><i class="fa-brands fa-twitter"></i></a></li>
<li><a href="https://www.instagram.com" target="_blank"><i class="fa-brands fa-instagram"></i></a></li>
<li><a href="https://www.linkedin.com" target="_blank"><i class="fa-brands fa-linkedin"></i></a></li>
</ul>
</div>
<div class="toggle-arrow" onclick="toggleSidebar()" title="Open Sidebar" style="display: none;">
<i class="fas fa-arrow-right"></i>
</div>
<div class="contributor-container">
<!-- Hero Section -->
<section class="contributor-hero">
<div class="contributor-hero-content">
<h1>Welcome to Ticket Booking platform</h1>
<p>Empowering writers, one commit at a time</p>
</div>
</section>
<!-- Stats Section -->
<section class="contributor-stats">
<h2>Project Statistics</h2>
<div class="contributor-stats-grid" id="statsGrid">
<!-- Stats will be dynamically inserted here -->
</div>
</section>
<!-- Contributors Grid -->
<section class="contributor-contributors">
<h2>Meet Our Contributors</h2>
<div class="contributor-contributors-grid" id="contributorsGrid">
<!-- Contributors will be dynamically inserted here -->
</div>
<div id="loading" class="contributor-loading">
<div class="contributor-spinner"></div>
</div>
</section>
<!-- Call to Action -->
<form id="subscribeForm">
</form>
<div id="notification" class="contributor-notification contributor-hidden"></div>
</div>
<footer class="footer-container">
<div class="footer-top">
<div class="footer-logo-section">
<img src="./images/3.jpeg" alt="easyJet holidays logo" class="footer-logo">
<p style="color: #b5fdf4;" >Affordable adventures, unforgettable memories—explore with ease.</p>
<p style="color: #dcfffa;" class="follow-us">FOLLOW US ON HERE:</p>
<div class="social-icons">
<a href="#"><i class="fa-brands fa-facebook"></i></a>
<a href="#"><i class="fa-brands fa-instagram"></i></a>
<a href="#"><i class="fa-brands fa-x-twitter"></i></a>
<a href="#"><i class="fa-brands fa-linkedin"></i></a>
<a href="#"><i class="fa-brands fa-youtube"></i></a>
</div>
</div>
<div class="footer-links">
<div class="footer-column">
<h4>HELPFUL LINKS</h4>
<ul>
<li><a href="help.html">Help Centre</a></li>
<li><a href="#">Special Assistance</a></li>
<li><a href="#">Download The App</a></li>
<li><a href="book_condition.html">Booking Conditions</a></li>
<li><a href="Faq.html">FAQ</a></li>
</ul>
</div>
<div class="footer-column">
<h4>ABOUT US</h4>
<ul>
<li><a href="#">Media Center</a></li>
<li><a href="#">Investors</a></li>
<li><a href="ModernSlaveryAct.html">Modern Slavery Act</a></li>
<li><a href="terms.html">Terms Of Use</a></li>
</ul>
</div>
<div class="footer-column">
<h4>KEEPING SAFE</h4>
<ul>
<li><a href="#">ATOL Protected</a></li>
<li><a href="travelAware.html">Travel Aware</a></li>
<li><a href="fcdoTravel.html">FCDO Travel Advice</a></li>
<li><a href="#">ABTA</a></li>
</ul>
</div>
<div class="footer-column">
<h4>FIND US</h4>
<ul>
<li><a href="contactus.html">Contact Us</a></li>
<li><a href="GroupCookieNotice.html">Group Cookie Notice</a></li>
<li><a href="privacy.html">Privacy And Policy</a></li>
<li><a href="sitemap.html">Sitemap</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-bottom">
<ul>
<li><a href="#">Holiday Type</a></li>
<li><a href="#">Holiday Deals</a></li>
<li><a href="#">Popular Counters</a></li>
<!-- <li><a href="#">Flight Only</a></li> -->
<li><a href="#">Top Hotels</a></li>
</ul>
</div>
</footer>
<script src="contributor.js"></script>
<script>
// cursor
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
const colors = [
"#BCE954",
"#98FF98",
"#9CB071",
"#90C209",
"#B2C248",
"#85BB65",
"#99C68E",
"#6CBB3C",
"#3ea055",
"#41a317",
"#4AA02C",
"#6AA121",
"#347C2C",
"#387C44",
"#437C17",
"#306754",
"#254117",
"#667C26",
"#728C00",
"#008000"
];
circles.forEach(function (circle, index) {
circle.x = 0;
circle.y = 0;
circle.style.backgroundColor = colors[index % colors.length];
});
window.addEventListener("mousemove", function(e){
coords.x = e.clientX;
coords.y = e.clientY;
});
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.style.left = x - 12 + "px";
circle.style.top = y - 12 + "px";
circle.style.scale = (circles.length - index) / circles.length;
circle.x = x;
circle.y = y;
const nextCircle = circles[index + 1] || circles[0];
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.6;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
let currentSlide = 0;
const slides = document.querySelectorAll('.slide');
function showSlide(index) {
slides.forEach((slide, i) => {
slide.classList.remove('active');
if (i === index) {
slide.classList.add('active');
}
});
}
function nextSlide() {
currentSlide = (currentSlide + 1) % slides.length;
showSlide(currentSlide);
}
function prevSlide() {
currentSlide = (currentSlide - 1 + slides.length) % slides.length;
showSlide(currentSlide);
}
function toggleSidebar() {
const sidebar = document.querySelector('.social-sidebar');
const arrow = document.querySelector('.toggle-arrow');
if (sidebar.style.display === 'none' || !sidebar.style.display) {
sidebar.style.display = 'flex'; // Show sidebar
arrow.style.display = 'none'; // Hide arrow
} else {
sidebar.style.display = 'none'; // Hide sidebar
arrow.style.display = 'block'; // Show arrow
}
}
// Initialize sidebar to be visible on page load
document.querySelector('.social-sidebar').style.display = 'flex';
setInterval(nextSlide, 5000);
showSlide(currentSlide);
const darkModeToggle = document.getElementById('darkModeToggle');
const body = document.querySelector('body');
if (darkModeToggle) {
darkModeToggle.addEventListener('click', () => {
document.body.classList.toggle('dark-mode');
if (body.classList.contains('dark-mode')) {
darkModeToggle.innerHTML = "🔆";
}
else {
darkModeToggle.innerHTML = "🌙";
}
});
}
// change icon of the dark/light mode
const menuToggle = document.querySelector('.menu-toggle');
const navLinks = document.querySelector('.nav-links');
menuToggle.addEventListener('click', () => {
navLinks.classList.toggle('active');
menuToggle.classList.toggle('active');
// Special effect for hamburger icon
const bars = menuToggle.querySelectorAll('.bar');
bars.forEach((bar, index) => {
if (menuToggle.classList.contains('active')) {
bar.style.transform = index === 1 ? 'scale(0)' : `rotate(${index === 0 ? '45deg' : '-45deg'})`;
} else {
bar.style.transform = 'none';
}
});
});
// Close menu when clicking outside
document.addEventListener('click', (event) => {
if (!navLinks.contains(event.target) && !menuToggle.contains(event.target)) {
navLinks.classList.remove('active');
menuToggle.classList.remove('active');
menuToggle.querySelectorAll('.bar').forEach(bar => {
bar.style.transform = 'none';
});
}
});
// When the user scrolls down 100px from the top, show the button
window.onscroll = function () { scrollFunction() };
function scrollFunction() {
const topBtn = document.getElementById("topBtn");
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
topBtn.style.display = "block"; // Show button
} else {
topBtn.style.display = "none"; // Hide button
}
}
// When the user clicks on the button, scroll to the top of the document
function moveToTop() {
window.scrollTo({ top: 0, behavior: 'smooth' }); // Smooth scroll to top
}
// script for faq section
document.querySelectorAll('.faq-question').forEach(button => {
button.addEventListener('click', () => {
const answer = button.nextElementSibling;
const isExpanded = button.getAttribute('aria-expanded') === 'true';
document.querySelectorAll('.faq-answer').forEach(a => a.style.display = 'none');
document.querySelectorAll('.faq-question').forEach(q => q.setAttribute('aria-expanded', 'false'));
if (!isExpanded) {
answer.style.display = 'block';
button.setAttribute('aria-expanded', 'true');
}
})
});
window.onscroll = function() {
scrollFunction()
};
function scrollFunction() {
const topBtn = document.getElementById("topBtn");
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
topBtn.style.display = "block"; // Show button
} else {
topBtn.style.display = "none"; // Hide button
}
}
function moveToTop() {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
}
document.querySelectorAll('details').forEach((faq) => {
faq.addEventListener('toggle', function() {
const content = this.querySelector('p');
if (this.open) {
content.style.height = '0px';
content.style.transition = 'height 0.2s ease-out';
content.style.height = content.scrollHeight + 'px'; // Sets the height based on the actual content
} else {
content.style.height = content.scrollHeight + 'px'; // Height is set to the current scrollHeight
setTimeout(() => {
content.style.height = '0px'; // Collapses after the content has been shown
}, 10); // Delay to allow height to adjust first
}
});
});
let mybutton = document.getElementById("myBtn");
window.onscroll = function () { scrollFunction() };
window.onscroll = function() {
scrollFunction()
};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
mybutton.style.display = "block";
} else {
mybutton.style.display = "none";
}
}
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
// toggle chatbot function
function toggleChatbot() {
const chatbotContainer = document.getElementById("chatbot-container");
chatbotContainer.classList.toggle("chatbot-show");
}
window.addEventListener('scroll', () => {
const scrollProgressBar = document.getElementById('scrollProgressBar');
const totalHeight = document.documentElement.scrollHeight - window.innerHeight;
const progressHeight = (window.scrollY / totalHeight) * 100;
scrollProgressBar.style.width = progressHeight + '%';
});
</script>
<script>
// Toggle Navbar Links
const navToggle = document.getElementById('navToggle');
const navlinks = document.getElementById('navLinks');
navToggle.addEventListener('click', () => {
navlinks.style.display = navlinks.style.display === 'flex' ? 'none' : 'flex';
});
// Ensure navbar links are visible on large screens
window.addEventListener('resize', () => {
if (window.innerWidth > 768) {
navlinks.style.display = 'flex'; // Show links on large screens
} else {
navlinks.style.display = 'none'; // Hide links on small screens
}
});
// Set initial state based on the current window size
if (window.innerWidth > 768) {
navlinks.style.display = 'flex'; // Show links if starting on a large screen
} else {
navlinks.style.display = 'none'; // Hide links if starting on a small screen
}
</script>
<script src="app.js"></script>
</body>
</html>