forked from PriyaGhosal/BuddyTrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.html
376 lines (315 loc) · 11 KB
/
faq.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BuddyTrail</title>
<link rel="stylesheet" href="styles.css"> <!-- Link to your CSS file -->
<link rel="stylesheet" href="about.css" />
<link rel="icon" href="/icons/airplane.svg" />
<link rel="icon" href="https://img.icons8.com/?size=100&id=11808&format=png&color=000000">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" />
<style>
header {
background-color: #2D3748;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 0;
}
#faq {
padding-top: 80px;
padding-top: 70px;
}
.faq-container {
max-width: 900px;
margin: 40px auto;
padding: 20px;
background-color: rgb(203, 203, 220);
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 2 10px 8px rgba(255, 254, 254, 0.1);
}
.faq-title {
text-align: center;
font-size: 1.8em;
color: #161515;
margin-bottom: 20px;
}
.faq {
margin-bottom: 15px;
}
.faq input[type="checkbox"] {
display: none;
}
.faq-question {
padding: 15px;
font-size: 1.2em;
background-color: #1477da;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
/* display: block; */
display: flex;
justify-content: space-between;
align-items: center;
transition: background-color 0.3s ease;
}
.faq-question:hover {
background-color: #0680fa;
}
.faq-answer {
max-height: 0;
overflow: hidden;
padding: 0 15px;
background-color: #f3f1ef;
color: #333;
border-left: 4px solid #0f0f10;
transition: all 0.6s ease;
}
.faq input[type="checkbox"]:checked~.faq-answer {
max-height: 150px;
padding: 15px;
}
.arrow {
margin-top: -3px;
display: inline-block;
width: 12px;
height: 12px;
border-right: 2px solid #fff;
border-bottom: 2px solid #fff;
transform: rotate(45deg);
transition: transform 0.3s ease;
}
/* Rotate arrow on FAQ open */
.faq input[type="checkbox"]:checked+label .arrow {
transform: rotate(225deg);
}
.social-icons {
display: flex;
gap: 15px;
}
.social-icons a {
display: inline-block;
transition: transform 0.3s ease, color 0.3s ease;
perspective: 1000px;
}
.social-icons a i, .social-icons img {
font-size: 24px;
color: #000;
transition: transform 0.3s ease, color 0.3s ease;
width: 24px;
height: auto;
}
.social-icons a:hover i, .social-icons a:hover img {
transform: rotateY(360deg) scale(1.2);
}
</style>
main
<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>
</head>
main
<body>
<header>
<div class="container">
<nav>
<div class="logo">
<img src="img/logo.png" id="logo-web" alt="BuddyTrail Logo" />
<h1 id="logo">BuddyTrail</h1>
</div>
<ul class="nav-links">
<li><a href="index.html" class="nav-link">Home</a></li>
<li><a href="about.html" class="nav-link">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>
<!-- FAQ Section -->
<section id="faq">
<div class="faq-container">
<h1 class="faq-title" data-aos="fade-right">Frequently Asked Questions</h1>
<div class="faq" data-aos="fade-right">
<input type="checkbox" id="faq1">
<label for="faq1" class="faq-question">1. What is BuddyTrail? <span class="arrow"></span></label>
<div class="faq-answer">
BuddyTrail is your all-in-one travel assistant, helping you discover new destinations, find the best hotels,
and book flights with ease. Whether you're traveling solo, with family, or friends, BuddyTrail offers
personalized suggestions to make your trip unforgettable.
</div>
</div>
<div class="faq" data-aos="fade-right">
<input type="checkbox" id="faq2">
<label for="faq2" class="faq-question">2. How can BuddyTrail help me plan my trip? <span
class="arrow"></span></label>
<div class="faq-answer">
BuddyTrail offers destination guides, hotel recommendations, and flight booking tools all in one platform. We
make it easy to compare prices, explore local attractions, and plan the perfect itinerary based on your
preferences.
</div>
</div>
<div class="faq" data-aos="fade-right">
<input type="checkbox" id="faq3">
<label for="faq3" class="faq-question">3. Does BuddyTrail offer travel deals and discounts? <span
class="arrow"></span></label>
<div class="faq-answer">
Yes! BuddyTrail partners with various airlines, hotels, and travel services to bring you exclusive discounts
and offers. Be sure to check our deals section for the latest promotions on flights, accommodations, and
vacation packages.
</div>
</div>
<div class="faq" data-aos="fade-right">
<input type="checkbox" id="faq4">
<label for="faq4" class="faq-question">4. Can I customize my trip on BuddyTrail? <span
class="arrow"></span></label>
<div class="faq-answer">
Absolutely! You can customize every aspect of your trip from choosing destinations, hotels, and flights, to
adding local experiences. BuddyTrail provides a flexible travel planning experience to suit your needs.
</div>
</div>
<div class="faq" data-aos="fade-right">
<input type="checkbox" id="faq5">
<label for="faq5" class="faq-question">5. How do I track my bookings? <span class="arrow"></span></label>
<div class="faq-answer">
Once you've booked a flight or hotel through BuddyTrail, you'll receive a confirmation email with a link to
track and manage your bookings. You can also access your bookings via your BuddyTrail account.
</div>
</div>
<div class="faq" data-aos="fade-right">
<input type="checkbox" id="faq6">
<label for="faq6" class="faq-question">6. What if I need to cancel or change my booking? <span
class="arrow"></span></label>
<div class="faq-answer">
Cancellations and changes are allowed based on the policy of the airline or hotel. You can manage your booking
through BuddyTrail, and our support team is available to assist you if you encounter any issues.
</div>
</div>
<div class="faq" data-aos="fade-right">
<input type="checkbox" id="faq7">
<label for="faq7" class="faq-question">7. Does BuddyTrail offer support for group bookings? <span
class="arrow"></span></label>
<div class="faq-answer">
Yes! Whether you're planning a family trip or a getaway with friends, BuddyTrail makes group bookings easy.
You can book flights and hotels for multiple travelers and receive group discounts where applicable.
</div>
</div>
</div>
</section>
<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>
<!-- Footer Include -->
<footer>
<div class="container">
<div class="footer-content">
<div class="footer-column-l">
<h3>Contact Us</h3>
<p>Email: info@example.com</p>
<p>Phone: +123 456 7890</p>
</div>
<div class="footer-column-r">
<h3>Follow Us</h3>
<div class="social-icons">
<a href="https://discord.com/invite/priyaghosal" target="_blank"><i class="fab fa-discord"></i></a>
<a href="https://twitter.com/PriyaGhosa39968" target="_blank">
<img src="img/x-logo.png" alt="X logo" class="fab twitter" style="width: 40px; height: 40px;">
</a>
<a href="https://github.com/PriyaGhosal/BuddyTrail" target="_blank"><i class="fab fa-github"></i></a>
<a href="https://www.linkedin.com/in/priya-ghosal-785771286/" target="_blank"><i
class="fab fa-linkedin-in"></i></a>
</div>
</div>
</div>
main
</footer>
<!-- 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>
<p class="copyright">© 2024 BuddyTrail | All rights reserved.</p>
</div>
</footer>
main
</body>
</html>