-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPeakTravellers-Sample-04.html
480 lines (436 loc) · 16.8 KB
/
PeakTravellers-Sample-04.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Peak Traveller Taxi Service</title>
<!-- Bootstrap CSS CDN -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 10px;
padding: 10px;
background-color: #f0f0f0; /* Light gray background */
color: #333; /* Dark text color */
}
nav {
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
background-color: #333; /* Dark navbar */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
nav a {
color: #fff !important; /* White text color for nav links */
transition: color 0.3s;
}
nav a:hover {
color: #ffb74d !important; /* Amber text color on hover */
}
section {
padding: 20px;
text-align: center;
color: #333; /* Dark text color for section headers */
background-color: #e0e0e0; /* Light background */
position: relative;
margin-top: 60px; /* Adjust for fixed navbar */
}
.welcome {
background-color: #90caf9; /* Light blue background */
color: #333;
text-align: center;
padding: 150px 0;
position: relative;
overflow: hidden;
animation: changeBackground 20s infinite;
}
@keyframes changeBackground {
0%, 20%, 40%, 60%, 80%, 100% {
background-color: #80cbc4; /* Teal background */
}
25% {
background-color: #ff8a65; /* Deep orange background */
}
50% {
background-color: #9ccc65; /* Light green background */
}
75% {
background-color: #9575cd; /* Deep purple background */
}
}
.welcome h1 {
font-size: 3em;
animation: changeText 20s infinite, changeFont 20s infinite;
transition: color 1s;
}
@keyframes changeText {
0%, 20% {
content: "Discover the City with Peak Traveller";
color: #ffb74d;
}
25%, 45% {
content: "Your Journey Begins with Us";
color: #81c784;
}
50%, 70% {
content: "Experience Comfort, Safety, and Reliability";
color: #4caf50;
}
75%, 95% {
content: "Ride in Style with Peak Traveller Taxis";
color: #ff8a65;
}
100% {
content: "Welcome to Peak Traveller Taxi Service";
color: #4e342e;
}
}
@keyframes changeFont {
0%, 20% {
font-family: 'Arial', sans-serif;
}
25%, 45% {
font-family: 'Courier New', monospace;
}
50%, 70% {
font-family: 'Georgia', serif;
}
75%, 95% {
font-family: 'Times New Roman', serif;
}
100% {
font-family: 'Verdana', sans-serif;
}
}
.cta-button {
background-color: #ffb74d; /* Amber background */
color: #004d40;
padding: 10px 20px;
font-size: 1.2em;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #ff9800; /* Darker orange on hover */
}
.logo {
max-height: 40px;
}
.services .card {
margin-bottom: 20px;
}
@keyframes moveTiles {
0% {
transform: translateX(0);
}
50% {
transform: translateX(50px);
}
100% {
transform: translateX(0);
}
}
.gallery {
position: relative;
overflow: hidden;
}
.gallery .tile {
animation: rollInOut 20s infinite; /* Ultra slow rollInOut */
}
@keyframes rollInOut {
0%, 100% {
transform: scale(0) rotate(0deg);
opacity: 0;
}
50% {
transform: scale(1) rotate(360deg);
opacity: 1;
}
}
.background-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.7;
animation: zoomInOut 15s infinite alternate;
}
@keyframes zoomInOut {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
}
/* Additional Styles for Better Visuals */
section h2, section p {
margin-bottom: 20px;
}
form {
max-width: 600px;
margin: 0 auto;
}
form label {
display: block;
margin-bottom: 8px;
font-weight: bold;
color: #004d40;
}
form input,
form select,
form button {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #81c784; /* Light green border */
border-radius: 5px;
}
.navbar .logo {
position: relative;
width: 50px;
height: 50px;
background-color: #4caf50; /* Green for the valley */
clip-path: polygon(0% 0%, 100% 0%, 50% 70%);
margin-right: 10px;
}
.navbar .mountain {
position: absolute;
top: 10%;
left: 50%;
transform: translateX(-50%);
width: 20px;
height: 20px;
background-color: #ffffff; /* White for the mountain */
clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
}
.navbar .taxi {
position: absolute;
bottom: 20%;
left: 50%;
transform: translateX(-50%);
width: 15px;
height: 10px;
background-color: #ffeb3b; /* Yellow for the taxi */
border-radius: 2px;
}
.navbar .roof {
position: absolute;
top: 0;
left: 10%;
width: 80%;
height: 50%;
background-color: #333;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
.navbar .body {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 50%;
background-color: #333;
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="logo">
<div class="mountain"></div>
<div class="taxi">
<div class="roof"></div>
<div class="body"></div>
</div>
</div>
<a class="navbar-brand" href="#"><img src="logo.png" alt="Logo" class="logo"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-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 ml-auto">
<li class="nav-item">
<a class="nav-link" href="#follow-us">Follow Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#about-us">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#gallery">Gallery</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#book-now">Book Now</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#offers">Offers</a>
</li>
</ul>
</div>
</nav>
<section class="welcome">
<div class="container">
<div class="welcome-box">
<h1>Welcome to Peak Traveller Taxi Service</h1>
</div>
<a href="#book-now" class="cta-button">Book Now</a>
</div>
</section>
<section id="follow-us">
<div class="container">
<h2>Follow Us</h2>
<p>Stay connected with us on social media:</p>
<ul>
<li>Facebook: <a href="https://www.facebook.com/peaktraveller">Peak Traveller</a></li>
<li>Twitter: <a href="https://twitter.com/peaktraveller">@peaktraveller</a></li>
<li>Instagram: <a href="https://www.instagram.com/peaktraveller">@peaktraveller</a></li>
</ul>
</div>
</section>
<section id="about-us">
<div class="container">
<h2>About Us</h2>
<p>Welcome to Peak Traveller, your reliable taxi service. We are dedicated to providing safe and comfortable rides for our customers. Our experienced drivers and well-maintained vehicles ensure a pleasant journey for you.</p>
</div>
</section>
<section id="gallery" class="gallery">
<div class="container">
<h2>Gallery</h2>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="../Peak Travelers/Media/p1.jpg" alt="Cityscape">
<div class="carousel-caption">
<h3>Cityscape</h3>
<p>Explore the city with our reliable taxi service.</p>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../Peak Travelers/Media/p2.jpg" alt="Night Lights">
<div class="carousel-caption">
<h3>Night Lights</h3>
<p>Experience the city lights in the comfort of our taxis.</p>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../Peak Travelers/Media/p3.jpg" alt="Nature Drive">
<div class="carousel-caption">
<h3>Nature Drive</h3>
<p>Enjoy a scenic drive surrounded by nature.</p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</section>
<section id="book-now" style="background-image: url('../Peak Travelers/Media/p3.jpg');">
<div class="container">
<h2 style="color: #ff5722;">Book Now</h2>
<p>Book your ride with Peak Traveller and experience convenient and reliable transportation.</p>
<form id="booking-form">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" name="name" required>
</div>
<div class="form-group">
<label for="phone">Phone Number:</label>
<input type="tel" class="form-control" id="phone" name="phone" required>
</div>
<div class="form-group">
<label for="pickup-point">Pickup Point:</label>
<select class="form-control" id="pickup-point" name="pickup-point" required>
<option value="airport">Airport</option>
<option value="hotel">Hotel</option>
<option value="station">Station</option>
</select>
</div>
<div class="form-group">
<label for="budget">Budget:</label>
<select class="form-control" id="budget" name="budget" required>
<option value="standard">Standard</option>
<option value="premium">Premium</option>
<option value="luxury">Luxury</option>
</select>
</div>
<div class="form-group">
<label for="trip-from">Trip From:</label>
<input type="text" class="form-control" id="trip-from" name="trip-from" required>
</div>
<div class="form-group">
<label for="trip-to">Trip To:</label>
<input type="text" class="form-control" id="trip-to" name="trip-to" required>
</div>
<button type="button" class="btn btn-primary" onclick="submitBooking()">Submit</button>
</form>
</div>
</section>
<section id="offers" style="background-image: url('../Peak Travelers/Media/p4.jpg');">
<div class="container">
<h2 style="color: #e91e63;">Special Offers</h2>
<p>Check out our latest offers and promotions:</p>
<ul>
<li>Weekend Special: 10% off on all rides</li>
<li>New User Discount: Get $5 off on your first ride</li>
</ul>
</div>
</section>
<!-- Bootstrap JS and Popper.js CDN -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<!-- Twilio SMS Integration Script -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
function submitBooking() {
// Collect form data
var name = $("#name").val();
var phone = $("#phone").val();
var pickupPoint = $("#pickup-point").val();
var budget = $("#budget").val();
var tripFrom = $("#trip-from").val();
var tripTo = $("#trip-to").val();
// Send SMS using Twilio
$.ajax({
type: "POST",
url: "YOUR_TWILIO_API_ENDPOINT",
data: {
name: name,
phone: phone,
pickupPoint: pickupPoint,
budget: budget,
tripFrom: tripFrom,
tripTo: tripTo
},
success: function(response) {
alert("Booking successful! You will receive an SMS shortly.");
// Reset form
$("#booking-form")[0].reset();
},
error: function(error) {
console.error("Error sending SMS:", error);
alert("Error sending SMS. Please try again later.");
}
});
}
</script>
</body>
</html>