-
Notifications
You must be signed in to change notification settings - Fork 363
/
service.html
377 lines (343 loc) · 15.9 KB
/
service.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Travel Services</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="service.css" rel="stylesheet">
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 class="bg-primary text-white py-4">
<div class="container">
<h1 class="display-4">Travel Services</h1>
<p class="lead">Discover our range of travel services</p>
</div>
</header>
<nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top">
<div class="container">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="#hotels">Hotels</a></li>
<li class="nav-item"><a class="nav-link" href="#flights">Flights</a></li>
<li class="nav-item"><a class="nav-link" href="#cars">Car Rentals</a></li>
<li>
<button class="mode-toggle" id="modeToggle">
<span class="sun-icon glow"><img src="day-mode.png" alt="Light mode"></span>
<span class="moon-icon glow" style="display: none;"><img src="moon.png" alt="Dark mode"></span>
</button>
</li>
</ul>
</div>
</div>
</nav>
<main class="container my-5">
<div class="row mb-4">
<div class="col-md-6">
<select class="form-select" aria-label="Sort services">
<option selected>Sort by</option>
<option value="1">Price: Low to High</option>
<option value="2">Price: High to Low</option>
<option value="3">Rating</option>
</select>
</div>
<div class="col-md-6">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search services" aria-label="Search services">
<button class="btn btn-outline-secondary" type="button">Search</button>
</div>
</div>
</div>
<section id="hotels" class="mb-5">
<h2 class="mb-4">Hotel Bookings</h2>
<div class="row row-cols-1 row-cols-md-3 g-4">
<div class="col">
<div class="card h-100 service-card">
<img src="https://images.unsplash.com/photo-1566073771259-6a8506099945" class="card-img-top" alt="Luxury hotel room">
<div class="card-body">
<h5 class="card-title">Luxury Hotels</h5>
<p class="card-text">Experience unparalleled comfort in our handpicked luxury hotels.</p>
<a href="#" class="btn btn-primary">Book Now</a>
</div>
</div>
</div>
<div class="col">
<div class="card h-100 service-card">
<img src="https://images.unsplash.com/photo-1520250497591-112f2f40a3f4" class="card-img-top" alt="Budget hotel room">
<div class="card-body">
<h5 class="card-title">Budget Stays</h5>
<p class="card-text">Comfortable accommodations that don't break the bank.</p>
<a href="#" class="btn btn-primary">Book Now</a>
</div>
</div>
</div>
<div class="col">
<div class="card h-100 service-card">
<img src="https://images.unsplash.com/photo-1610641818989-c2051b5e2cfd" class="card-img-top" alt="Boutique hotel lobby">
<div class="card-body">
<h5 class="card-title">Boutique Hotels</h5>
<p class="card-text">Unique and stylish accommodations for the discerning traveler.</p>
<a href="#" class="btn btn-primary">Book Now</a>
</div>
</div>
</div>
</div>
</section>
<section id="flights" class="mb-5">
<h2 class="mb-4">Flight Reservations</h2>
<div class="row row-cols-1 row-cols-md-3 g-4">
<div class="col">
<div class="card h-100 service-card">
<img src="https://images.unsplash.com/photo-1436491865332-7a61a109cc05" class="card-img-top" alt="Airplane wing view">
<div class="card-body">
<h5 class="card-title">International Flights</h5>
<p class="card-text">Connect to destinations around the world with our international flight options.</p>
<a href="#" class="btn btn-primary">Book Now</a>
</div>
</div>
</div>
<div class="col">
<div class="card h-100 service-card">
<img src="/img/df1.jpg" class="card-img-top" alt="Domestic flight">
<div class="card-body">
<h5 class="card-title">Domestic Flights</h5>
<p class="card-text">Explore your country with our extensive network of domestic flights.</p>
<a href="#" class="btn btn-primary">Book Now</a>
</div>
</div>
</div>
<div class="col">
<div class="card h-100 service-card">
<img src="https://images.unsplash.com/photo-1517479149777-5f3b1511d5ad" class="card-img-top" alt="Private jet">
<div class="card-body">
<h5 class="card-title">Private Charters</h5>
<p class="card-text">Experience luxury and convenience with our private jet charter services.</p>
<a href="#" class="btn btn-primary">Book Now</a>
</div>
</div>
</div>
</div>
</section>
<section id="cars" class="mb-5">
<h2 class="mb-4">Car Rentals</h2>
<div class="row row-cols-1 row-cols-md-3 g-4">
<div class="col">
<div class="card h-100 service-card">
<img src="https://images.unsplash.com/photo-1546614042-7df3c24c9e5d" class="card-img-top" alt="Economy car">
<div class="card-body">
<h5 class="card-title">Economy Cars</h5>
<p class="card-text">Affordable and fuel-efficient options for budget-conscious travelers.</p>
<a href="#" class="btn btn-primary">Rent Now</a>
</div>
</div>
</div>
<div class="col">
<div class="card h-100 service-card">
<img src="https://images.unsplash.com/photo-1550355291-bbee04a92027" class="card-img-top" alt="Luxury car">
<div class="card-body">
<h5 class="card-title">Luxury Vehicles</h5>
<p class="card-text">Travel in style with our premium and luxury car rental options.</p>
<a href="#" class="btn btn-primary">Rent Now</a>
</div>
</div>
</div>
<div class="col">
<div class="card h-100 service-card">
<img src="img/df2.jpg" class="card-img-top" alt="SUV">
<div class="card-body">
<h5 class="card-title">SUVs & Vans</h5>
<p class="card-text">Perfect for group travel or those needing extra space.</p>
<a href="#" class="btn btn-primary">Rent Now</a>
</div>
</div>
</div>
</div>
</section>
<section id="booking-form" class="bg-light p-4 rounded">
<h2 class="mb-4">Quick Booking</h2>
<form>
<div class="row mb-3">
<div class="col-md-6">
<label for="service-type" class="form-label">Service Type</label>
<select id="service-type" class="form-select" required>
<option value="" selected disabled>Choose a service</option>
<option value="hotel">Hotel</option>
<option value="flight">Flight</option>
<option value="car">Car Rental</option>
</select>
</div>
<div class="col-md-6">
<label for="destination" class="form-label">Destination</label>
<input type="text" class="form-control" id="destination" required>
</div>
</div>
<div class="row mb-3">
<div class="col-md-6">
<label for="check-in" class="form-label">Check-in / Start Date</label>
<input type="date" class="form-control" id="check-in" required>
</div>
<div class="col-md-6">
<label for="check-out" class="form-label">Check-out / End Date</label>
<input type="date" class="form-control" id="check-out" required>
</div>
</div>
<div class="mb-3">
<label for="guests" class="form-label">Number of Guests / Passengers</label>
<input type="number" class="form-control" id="guests" min="1" required>
</div>
<button type="submit" class="btn btn-primary">Search Availability</button>
</form>
</section>
</main>
<footer class="bg-dark text-white py-4 mt-5">
<div class="container">
<div class="row">
<div class="col-md-4">
<h5>About Us</h5>
<p>We are dedicated to providing the best travel experiences for our customers.</p>
</div>
<div class="col-md-4">
<h5>Contact</h5>
<p>Email: [email protected]<br>Phone: +1 (123) 456-7890</p>
</div>
<div class="col-md-4">
<h5>Follow Us</h5>
<a href="#" class="text-white me-2">Facebook</a>
<a href="#" class="text-white me-2">Twitter</a>
<a href="#" class="text-white">Instagram</a>
</div>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
main
<!-- 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>
<script>
document.addEventListener("DOMContentLoaded", function () {
const hamburger = document.getElementById("hamburger");
const navList = document.getElementById("nav-links");
const closeBtn = document.getElementById("closeBtn");
hamburger.addEventListener("click", function () {
navList.classList.toggle("active");
});
closeBtn.addEventListener("click", function () {
navList.classList.remove("active");
});
});
document.addEventListener("DOMContentLoaded", function() {
const modeToggle = document.getElementById("modeToggle");
const sunIcon = document.querySelector(".sun-icon");
const moonIcon = document.querySelector(".moon-icon");
// Check saved theme in localStorage and apply it
const currentTheme = localStorage.getItem("theme") || "light";
if (currentTheme === "dark") {
document.body.classList.add("dark-mode");
sunIcon.style.display = "none";
moonIcon.style.display = "inline-block";
} else {
sunIcon.style.display = "inline-block";
moonIcon.style.display = "none";
}
// Toggle between light and dark mode on button click
modeToggle.addEventListener("click", () => {
const isDarkMode = document.body.classList.toggle("dark-mode");
// Apply dark mode styles to relevant sections
const sections = document.querySelectorAll('.about, .core-values, .team');
sections.forEach(section => {
if (isDarkMode) {
section.classList.add('dark-mode');
} else {
section.classList.remove('dark-mode');
}
});
// Update icons and local storage
if (isDarkMode) {
sunIcon.style.display = "none";
moonIcon.style.display = "inline-block";
localStorage.setItem("theme", "dark");
} else {
sunIcon.style.display = "inline-block";
moonIcon.style.display = "none";
localStorage.setItem("theme", "light");
}
});
});
</script>
main
</body>
</html>