-
Notifications
You must be signed in to change notification settings - Fork 345
/
guide.html
514 lines (445 loc) · 16.3 KB
/
guide.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Local Guide Connection</title>
<link rel="stylesheet" href="about.css" />
<style>
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background-color: #f4f7f6;
color: #333;
}
h2 {
font-size: 36px;
margin-bottom: 20px;
color: #0066cc;
text-align: center;
}
/* Header Styles */
main
header {
background-color: #0066cc;
padding: 20px;
}
header h1 {
color: white;
display: inline-block;
margin-right: 20px;
}
header nav ul {
display: flex;
justify-content: flex-end; /* Aligns items to the right */
list-style: none;
padding: 0; /* Ensure no default padding */
margin: 0; /* Ensure no default margin */
}
header nav ul li {
display: inline;
margin: 0 10px;
}
header nav ul li a {
color: white;
text-decoration: none;
font-size: 16px;
}
main
/* Hero Section */
.hero {
height: 80vh;
background: url('https://example.com/your-tour-image.jpg') no-repeat center center/cover;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.overlay {
background-color: rgba(0, 102, 204, 0.7);
padding: 40px;
text-align: center;
color: white;
}
.overlay h2 {
font-size: 48px;
margin-bottom: 20px;
}
.overlay p {
font-size: 20px;
margin-bottom: 40px;
}
.cta-button {
background-color: #008cff;
color: white;
padding: 15px 30px;
text-decoration: none;
border-radius: 5px;
font-size: 18px;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #0066cc;
}
/* Booking Section */
.booking-section {
background-color: #f4f7f6;
padding: 50px 20px;
text-align: center;
}
.booking-section h2 {
font-size: 36px;
color: #0066cc;
margin-bottom: 20px;
}
form {
display: block;
max-width: 600px;
margin: 0 auto;
margin-bottom:5px ;
background-color: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.forms-group {
margin-bottom: 20px;
}
.forms-group label {
display: block;
margin-bottom: 10px;
font-weight: bold;
color: #333;
}
.forms-group input,
.forms-group select {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
}
/* FAQ and Blog Section Styles */
.faq-and-blog {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 20px; /* Space between FAQ and Blog sections */
padding: 50px;
}
.faq, .blog {
flex: 1;
background-color: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.faq {
max-width: 45%;
}
.blog {
max-width: 45%;
}
.faq-item, .blog-post {
margin-bottom: 20px;
}
.blog-post a {
color: #0066cc;
text-decoration: none;
font-weight: bold;
}
.blog-post a:hover {
text-decoration: underline;
}
/* Footer Styles */
footer {
background-color: #0066cc;
color: white;
text-align: center;
padding: 20px 0;
}
footer p {
margin: 0;
}
/* Responsive Design */
@media (max-width: 768px) {
.faq-and-blog {
flex-direction: column;
gap: 0;
}
.faq, .blog {
max-width: 100%;
margin-bottom: 20px;
}
}
</style>
<style>
/* circle styles */
.circle {
height: 24px;
width: 24px;
border-radius: 24px;
background-color: rgb(255, 0, 0);
position: fixed;
top: 0;
left: 0;
pointer-events: none;
z-index: 99999999;
}
</style>
</head>
<body>
<header>
<div class="container">
<nav>
<div class="logo">
<img src="img/logo.png" id="logo-web" alt="BuddyTrail Logo"
style="transition: transform 0.3s ease;" />
<h1 id="logo">BuddyTrail</h1>
</div>
<button class="hamburger" id="hamburger">☰</button>
<ul class="nav-links" id="nav-links">
<button class="dropdown-close-btn" id="closeBtn">✖</button>
<li><a href="index.html" class="nav-link">Home</a></li>
<li><a href="about.html" class="nav-link active">About Us</a></li>
<li><a href="team.html" class="nav-link">Team</a></li>
<li><a href="contact.html" class="nav-link">Contact</a></li>
<li><a href="auth.html" class="btn-primary">Sign In</a></li>
</ul>
</nav>
</div>
</header>
<script>
const logo = document.getElementById("logo-web");
logo.addEventListener("mouseenter", () => {
logo.style.transform = "rotateY(20deg) scale(1.1)";
});
logo.addEventListener("mouseleave", () => {
logo.style.transform = "rotateY(0) scale(1)";
});
</script>
<!-- Hero Section -->
<section class="hero">
<div class="overlay">
<h2>Discover Authentic Local Experiences</h2>
<p>Partner with local guides and book personalized tours for a unique travel experience.</p>
<a href="#book" class="cta-button">Book a Tour</a>
</div>
</section>
<!-- Booking Section -->
<section id="book" class="booking-section">
<h2>Book a Personalized Tour</h2>
<form id="bookingForm">
<div class="forms-group">
<label for="name">Name:</label>
<input type="text" id="name" required>
</div>
<div class="forms-group">
<label for="email">Email:</label>
<input type="email" id="email" required>
</div>
<div class="forms-group">
<label for="destination">Choose Destination:</label>
<select id="destination" required>
<option value="">Select...</option>
<option value="paris">Paris</option>
<option value="new_york">New York</option>
<option value="tokyo">Tokyo</option>
</select>
</div>
<div class="forms-group">
<label for="tourDate">Preferred Tour Date:</label>
<input type="date" id="tourDate" required>
</div>
<button type="submit" class="cta-button">Submit</button>
</form>
</section>
<!-- FAQ and Blog Section aligned in one row -->
<div class="faq-and-blog">
<!-- FAQ Section -->
<section class="faq">
<h2>Frequently Asked Questions</h2>
<div class="faq-item">
<h3>How do I book a tour?</h3>
<p>Simply fill out the booking form with your details and preferred date, and our team will handle the rest.</p>
</div>
<div class="faq-item">
<h3>Are the tours customizable?</h3>
<p>Yes! We work closely with our local guides to create a personalized itinerary for each traveler.</p>
</div>
<div class="faq-item">
<h3>What is your cancellation policy?</h3>
<p>You can cancel up to 48 hours before the tour for a full refund.</p>
</div>
</section>
<!-- Blog Section -->
<section class="blog">
<h2>Travel Tips & Blog</h2>
<div class="blog-post">
<h3><a href="#">5 Hidden Gems in Paris You Must See</a></h3>
<p>Discover the lesser-known spots that will make your Paris trip unforgettable.</p>
</div>
<div class="blog-post">
<h3><a href="#">How to Travel Like a Local in New York</a></h3>
<p>Get insider tips from local guides on experiencing New York authentically.</p>
</div>
<div class="blog-post">
<h3><a href="#">The Ultimate Guide to Exploring Tokyo</a></h3>
<p>Explore Tokyo's blend of traditional and modern culture with these essential tips.</p>
</div>
</section>
</div>
<!-- Footer Section -->
<div class="footer-responsive">
<footer>
<div class="row">
<div class="col">
<div class="logo-footer">
<img src="img/logo.png" alt="BuddyTrail Logo" />
<h1 id="logo">BuddyTrail</h1>
</div>
<p class="hover-color">Welcome to BuddyTrail - your premier travel companion! Whether you're
planning a
family vacation
or a
getaway with friends, BuddyTrail is here to help you discover and explore incredible
destinations.
Our platform makes it easy to find the best hotels and book affordable flights, ensuring a
seamless
travel experience.</p>
</div>
<div class="col">
<h3>Office <div class="underline"><span></span></div>
</h3>
<p>123 Fake Street</p>
<p>Near XYZ Mall, Sample City</p>
<p>Fake State, PIN 12345, India</p>
<h3>
<a href="mailto:[email protected]" style="color: white; text-decoration: none;">[email protected]</a><br>
<a href="tel:+1234567890" style="color: white; text-decoration: none;">+123 456 7890</a>
</h3>
</div>
<div class="col">
<h3>Links <div class="underline"><span></span></div>
</h3>
<ul class="footer-links">
<li><a href="https://buddytrail.netlify.app/#home">Home</a></li>
<li><a href="https://buddytrail.netlify.app/#services">Services</a></li>
<li><a href="https://buddytrail.netlify.app/about">About Us</a></li>
<li><a href="https://buddytrail.netlify.app/faq" target="_blank">FAQs</a></li>
<li><a href="https://buddytrail.netlify.app/team" target="_blank">Our Team</a></li>
<li><a href="https://buddytrail.netlify.app/contributor/contributor"
target="_blank">Contributors</a></li>
<li><a href="https://buddytrail.netlify.app/contact">Contact Us</a></li>
</ul>
</div>
<div class="col">
<h3>Follow Us <div class="underline"><span></span></div>
</h3>
<form>
<i class="far fa-envelope"></i>
<input type="email" placeholder="Enter your email id" required>
<button type="submit"><i class="fas fa-arrow-right"></i></button>
</form>
<div>
<div class="social-icons">
<a href="https://discord.com/invite/priyaghosal" target="_blank" rel="noopener noreferrer">
<i class="fab fa-discord"></i>
</a>
<a href="https://x.com/i/flow/login?redirect_after_login=%2FPriyaGhosa39968" target="_blank"
rel="noopener noreferrer">
<img src="img/x-logo.png" alt="X logo" class="fab">
</a>
<a href="https://github.com/PriyaGhosal/BuddyTrail" target="_blank"
rel="noopener noreferrer">
<i class="fab fa-github"></i>
</a>
<a href="https://www.linkedin.com/in/priya-ghosal-785771286/" target="_blank"
rel="noopener noreferrer">
<i class="fab fa-linkedin"></i>
</a>
</div>
</div>
</div>
</div>
<hr>
<p class="copyright"> © 2024 BuddyTrail | All Rights Reserved</p>
</footer>
</div>
<script>
document.getElementById('bookingForm').addEventListener('submit', function(e) {
e.preventDefault();
const name = document.getElementById('name').value;
const email = document.getElementById('email').value;
const destination = document.getElementById('destination').value;
const tourDate = document.getElementById('tourDate').value;
if (name && email && destination && tourDate) {
alert(`Thank you, ${name}! Your tour to ${destination} is booked for ${tourDate}.`);
} else {
alert('Please fill in all fields.');
}
});
</script>
<!-- Circles -->
<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>
<script>
// coordinates for the cursor :
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
const colors = [
"#fc5720", "#fc6532", "#fc6532","#fd8b65", "#d5585c", "#fac3b1", "#f4d5cb", "#fefefe", "#fefefe", "#cdf2c5", "#b2eca5", "#95e283", "#7dda68", "#4adc2d", "#69d451", "#54c939", "#34b916", "#28b309", "#1e9c02",
];
circles.forEach(function (circle, index) {
circle.x = 0;
circle.y = 0;
circle.style.backgroundColor = colors[index % colors.length];
});
// update the coordinates when the mouse moves:
window.addEventListener("mousemove", function (e) {
coords.x = e.clientX;
coords.y = e.clientY;
});
// animation function to move the circles:
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.3;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
</script>
</body>
</html>