forked from ankit071105/Ticket-Booking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
travelAware.html
558 lines (487 loc) · 14.8 KB
/
travelAware.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Travel Aware - Ticket Booking</title>
<link rel="stylesheet" href="footer.css">
<link rel="stylesheet" href="styles.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"
/>
<style>
.nav-container {
display: flex;
}
</style>
<style>
/* Resetting margin and padding */
/* Resetting margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body styling */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f8f9fa;
color: #333;
line-height: 1.6;
}
/* Full-width container for page */
.container {
display: flex;
width: 100%;
margin: 20px auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
/* Table of contents styling */
.toc {
flex-basis: 25%;
background-color: #e9ecef;
padding:70px 20px;
border-radius: 8px;
margin-right: 20px;
height: fit-content;
position: sticky;
top: 20px;
}
.toc h2 {
font-size: 1.5rem;
color: #004085;
}
.toc ul {
list-style: none;
padding: 0;
}
.toc ul li {
margin-bottom: 10px;
}
.toc ul li a {
text-decoration: none;
color: #007bff;
font-weight: bold;
}
.toc ul li a:hover {
text-decoration: underline;
}
/* Main content styling */
.main-content {
flex-basis: 75%;
}
h1, h2 {
color: #004085;
}
h1 {
font-size: 2.2rem;
text-align: center;
margin: 53px 0;
border-bottom: 2px solid #004085;
padding-bottom: 10px;
}
h2 {
font-size: 1.8rem;
margin-top: 40px;
margin-bottom: 20px;
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
}
p {
font-size: 1rem;
color: #555;
margin-bottom: 20px;
}
ul {
margin-left: 20px;
padding-left: 20px;
list-style: disc;
}
li {
margin-bottom: 10px;
}
/* Button styling for links */
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Smooth scrolling for anchor links */
html {
scroll-behavior: smooth;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.toc {
margin-bottom: 20px;
margin-right: 0;
width: 100%;
position: relative; /* Changed to relative to make TOC non-sticky */
}
.main-content {
width: 100%;
}
h1 {
font-size: 1.8rem;
}
h2 {
font-size: 1.4rem;
}
p {
font-size: 0.95rem;
}
}
:root {
--bg-color: #fff;
--text-color: #333;
--toc-bg: #e9ecef;
--link-color: #007bff;
}
body {
background-color: var(--bg-color);
color: var(--text-color);
}
a {
color: var(--link-color);
}
/* Dark Mode Variables */
body.dark-mode {
--bg-color: #000;
--text-color: #fff;
--toc-bg: #333;
--link-color: #90caf9;
}
.dark-mode .container {
background-color: var(--bg-color);
}
.dark-mode-toc {
background-color: var(--toc-bg);
}
.dark-mode-toc ul li a,
.dark-mode h1,
.dark-mode h2,
.dark-mode p,
.dark-mode ul li {
color: var(--text-color);
}
.dark-mode toc{
background-color: #000;
color: #ddd;
}
.dark-mode-content {
background-color: var(--bg-color);
}
.dark-mode-content h1,
.dark-mode-content h2,
.dark-mode-content p,
.dark-mode-content li {
color: var(--text-color);
}
</style>
</head>
<body>
<nav class="navbar">
<a href="./index.html" id="logo-href">
<div class="logo-container">
<img
src="images/4.jpeg"
alt="Ticket Booking Logo"
class="logo-image"
/>
<div class="logo">Ticket Booking</div>
</div>
</a>
<div class="nav-container">
<div class="menu-toggle">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
<ul class="nav-links">
<li>
<a href="index.html" class="home-button"
><i class="fas fa-home"></i>HOME</a
>
</li>
<li>
<a href="buy.html"><i class="fas fa-shopping-cart"></i> Buy</a>
</li>
<li>
<a href="sell.html"><i class="fas fa-tag"></i> Sell</a>
</li>
<li>
<a href="#contact"><i class="fas fa-envelope"></i> Contact</a>
</li>
<li>
<a href="contributors.html"
><i class="fas fa-users"></i> Our Contributors</a
>
</li>
<li>
<a href="/client/register.html" class="login-btn"
><i class="fas fa-user"></i
></a>
</li>
</ul>
<button id="darkModeToggle" style="width: 30px; height: 40px">
🌙
</button>
</div>
</nav>
<script>
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";
});
}
});
</script>
<div class="container mt-5">
<!-- Table of contents on the left side -->
<div class="toc">
<h2>Table of Contents</h2>
<ul>
<li><a href="#section1">1. Health & Safety</a></li>
<li><a href="#section2">2. Travel Documentation</a></li>
<li><a href="#section3">3. Emergency Contacts</a></li>
<li><a href="#section4">4. Local Laws & Customs</a></li>
<li><a href="#section5">5. Insurance</a></li>
<li><a href="#section6">6. Communication Tips</a></li>
<li><a href="#section7">7. Feedback & Assistance</a></li>
</ul>
</div>
<!-- Main content on the right side -->
<div class="main-content">
<h1>Travel Aware - Safety Guide</h1>
<!-- Travel Awareness sections -->
<h2 id="section1">1. Health & Safety</h2>
<p>When traveling, ensure you’re up-to-date on vaccinations, and be aware of local health advisories.</p>
<ul>
<li>Consult with a healthcare provider for destination-specific health recommendations.</li>
<li>Carry any necessary prescription medications and a basic first aid kit.</li>
<li>Stay informed on any outbreaks or health warnings specific to your destination.</li>
</ul>
<h2 id="section2">2. Travel Documentation</h2>
<p>Ensure all travel documents are valid and accessible.</p>
<ul>
<li>Carry your passport, visa, and any necessary permits.</li>
<li>Keep digital copies of important documents in case of loss or theft.</li>
</ul>
<h2 id="section3">3. Emergency Contacts</h2>
<p>Keep a list of emergency contacts readily accessible.</p>
<ul>
<li>Store local emergency numbers, including healthcare and law enforcement.</li>
<li>Maintain contact information for your country’s embassy or consulate.</li>
</ul>
<h2 id="section4">4. Local Laws & Customs</h2>
<p>Familiarize yourself with the local laws and customs of your travel destination.</p>
<ul>
<li>Respect the cultural norms and legal restrictions of the area.</li>
<li>Be cautious about behaviors that might be legal at home but prohibited abroad.</li>
</ul>
<h2 id="section5">5. Insurance</h2>
<p>Ensure you have appropriate travel insurance to cover potential health and travel-related incidents.</p>
<ul>
<li>Review your policy for coverage details specific to your destination and activities.</li>
<li>Consider additional coverage for high-risk activities or extended stays.</li>
</ul>
<h2 id="section6">6. Communication Tips</h2>
<p>Prepare for communication while traveling abroad.</p>
<ul>
<li>Consider purchasing a local SIM card or international roaming plan for connectivity.</li>
<li>Use translation apps to facilitate conversations in local languages.</li>
</ul>
<h2 id="section7">7. Feedback & Assistance</h2>
<p>If you need help or have feedback, reach out to us anytime:</p>
<p>Email: <a href="mailto:[email protected]">[email protected]</a></p>
<p>Phone: <a href="tel:+1234567890" style="color: rgb(117, 114, 206); text-decoration: none;">+123 456 7890</a></p>
</div>
</div>
</section>
<footer class="footer-container">
<div class="footer-top">
<div class="footer-logo-section">
<a href="#"> <img src="./images/3.jpeg" alt="easyJet holidays logo" class="footer-logo"></a>
<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="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#" ><i class="fa-brands fa-x-twitter"></i></a>
<a href="#"><i class="fab fa-linkedin"></i></a>
<a href="#"><i class="fab fa-youtube"></i></a>
<a href="https://www.facebook.com"><i class="fab fa-facebook"></i></a>
<a href="https://www.instagram.com"><i class="fab fa-instagram"></i></a>
<a href="https://www.twitter.com" ><i class="fab fa-x-twitter"></i></a>
<a href="https://www.linkedin.com"><i class="fab fa-linkedin"></i></a>
<a href="https://www.youtube.com"><i class="fab 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>
</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="#">Modern Slavery Act</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="contact.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>
<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>
</body>
</html>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Arial", sans-serif;
line-height: 1.6;
}
#aware-us {
background-image: url("your-background-image.jpg");
background-size: cover;
background-position: center;
color: #fff;
padding: 80px 0;
text-align: center;
}
.aware-container {
max-width: 800px;
margin: 0 auto;
background-color: rgba(0, 0, 0, 0.7);
padding: 40px;
border-radius: 10px;
}
#aware-us h1 {
font-size: 3rem;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 3px;
color: #f0a500;
}
#aware-us p {
color: #fff;
font-size: 1.2rem;
margin-bottom: 20px;
}
#aware-us li{
margin-top: 10px;
}
@media (max-width: 768px) {
#aware-us h1 {
font-size: 2.5rem;
}
#aware-us p {
font-size: 1rem;
}
}
</style>