-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
472 lines (407 loc) · 20.2 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Travel Now</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="{{url_for('static', filename = 'css/style.css')}}">
<link rel="canonical" href="https://getbootstrap.com/docs/5.2/examples/jumbotron/">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<!-- link css -->
<!-- Bootstrap 5 -->
<link rel="stylesheet" href="/path/to/cdn/bootstrap.min.css" />
<style>
img{
height: 350px;
}
</style>
<script>
function logout(){
alert("Are You Sure You want to Log out")
}
</script>
<!-- Font Awesome -->
<link rel="stylesheet" href="/path/to/font-awesome/all.min.css" />
<script src="js/bootstrap.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-7VPbUDkoPSGFnVtYi0QogXtr74QeVeeIs99Qfg5YCF+TidwNdjvaKZX19NZ/e6oz" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="/path/to/cdn/jquery.slim.min.js"></script>
<script src="/path/to/cdn/bootstrap.bundle.min.js"></script>
<script src="js/bootstrap.js"></script>
</head>
<body>
<!-- navbar-->
<nav class="navbar navbar-expand-lg bg-white">
<div class="container-fluid">
<a class="navbar-brand" href="/">Erada</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav m-lg-auto m-sm-auto">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#deals">Deals</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#tours">Tours</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="packages.html" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Packages
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="packages.html">Kenya travels</a></li>
<li><a class="dropdown-item" href="packages.html">Africa travels</a></li>
<li><a class="dropdown-item" href="packages.html">International travels</a></li>
</ul>
</li>
</ul>
<ul class="navbar-nav">
{% if 'key' not in session %}
<li class="nav-item">
<a class="nav-link" href="/login">Login</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/signup">Sign up</a>
</li>
{% endif %}
{% if 'key' in session %}
<li class="nav-item">
<a class="nav-link" href="/logout">Log out</a>
</li>
{% endif %}
{% if session['user_id'] == 1 %}
</li> <li class="nav-item">
<a class="nav-link" href="/admin">Admin</a>
</li>
{% endif %}
</ul>
</div>
</div>
</nav>
<marquee direction="right">ERADA TRAVEL NOW, BOOK & SCHEDULE YOUR TRIPS</marquee>
<h3 class="title">
Welcome {{ username }}
</h3>
<!-- end of navbar -->
<!-- Carousel -->
<div>
</div>
<div id="myCarousel" class="carousel slide bg-inverse w-100 ms-auto me-auto" data-bs-ride="carousel">
<ol class="carousel-indicators">
<li data-bs-target="#myCarousel" data-bs-slide-to="0" class="active"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="1"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="2"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="3"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="4"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="d-block w-100" src="../static/images/Western Cape.jpg" alt="First slide">
<div class="carousel-caption">
<h3 class="">WESTERN CAPE</h3>
<p>This is the first slide.</p>
<a href="/booking" target="_blank" type="button" class="button btn btn-primary">Book Now</a>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/masai mara.jpg" alt="Second slide">
<div class="carousel-caption">
<h3>MAASAI MARA</h3>
<p>This is the second slide.</p>
<a href="/booking" target="_blank" type="button" class="button btn btn-primary">Book Now</a>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/Amboseli.jpg" alt="Fourth slide">
<div class="carousel-caption">
<h3>AMBOSELI</h3>
<p>This is the third slide.</p>
<a href="/booking" target="_blank" type="button" class="button btn btn-primary">Book Now</a>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/taj.jpg" alt="Fourth slide">
<div class="carousel-caption">
<h3>TAJ MAHAL</h3>
<p>This is the third slide.</p>
<a href="/booking" target="_blank" type="button" class="button btn btn-primary">Book Now</a>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/borabora.jpg" alt="Fifth slide">
<div class="carousel-caption">
<h3>Bora Bora</h3>
<p>This is the third slide.</p>
<a href="/booking" target="_blank" type="button" class="button btn btn-primary">Book Now</a>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#myCarousel" role="button" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</a>
<a class="carousel-control-next" href="#myCarousel" role="button" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</a>
</div>
<!-- end carousel -->
<!-- title of page -->
<div class="container-fluid marketing">
<!-- Three columns of text below the carousel -->
<h2 class="fw-normal text-center m-sm-5">Popular Kenyan Destinations</h2>
<div class="brighten row m-md-3 m-sm-3">
<div class="col-lg-4 text-center">
<img src="../static/images/ke1.jpg" class="image" alt="">
<div class="overlay">Fourteen Falls</div>
<p><a class="btn btn-primary" href="modal-one">Schedule a trip »</a></p>
</div>
<div class="col-lg-4 text-center">
<img src="../static/images/hellsgate.jpg" class="image" alt="">
<div class="overlay">Hell's Gate</div>
<p><a class="btn btn-primary" href="#">Schedule a trip »</a></p>
</div>
<div class="col-lg-4 text-center">
<img src="../static/images/fortjesus.jpeg" class="image" alt="">
<div class="overlay">Fort Jesus</div>
<p><a class="btn btn-primary" href="#">Schedule a trip »</a></p>
</div>
</div>
<div class="brighten row m-md-3 m-sm-3">
<div class="col-lg-4 text-center">
<img src="../static/images/hellskitchen.jpeg" class="image" alt="">
<div class="overlay">Hell's Kitchen</div>
<p><a class="btn btn-primary" href="#">Schedule a trip »</a></p>
</div>
<div class="col-lg-4 text-center">
<img src="../static/images/Nairobi National Park_0_0.jpg" class="image" alt="">
<div class="overlay">Nairobi National Park</div>
<p><a class="btn btn-primary" href="#">Schedule a trip »</a></p>
</div>
<div class="col-lg-4 text-center">
<img src="../static/images/chalbi.jpeg" class="image" alt="">
<div class="overlay">Chalbi Desert</div>
<p><button class="btn btn-primary" id="myBtn">Schedule a trip »</button></p>
</div>
</div>
</div>
<!-- Jumbotron -->
<div class="container" id="deals">
<div class="row align-items-md-stretch">
<h2 class="fw-normal text-center">Flash Sales & Black Friday deals</h2>
<div class="col-md-6">
<div class="jumbotron h-100 p-5 text-bg-dark rounded-3" style="background-image: url(../static/images/dubai.jpg); background-size: 100%;">
<h2>DUBAI</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Cumque deleniti commodi numquam ipsam, laboriosam tempore itaque quo molestias illum doloremque laudantium adipisci ex consequatur aliquid sequi laborum voluptates nesciunt non.</p>
<button class="btn btn-outline-light" type="button">Click here</button>
</div>
</div>
<div class="col-md-6">
<div class="jumbotron h-100 p-5 text-bg-dark rounded-3" style="background-image: url(../static/images/coast.jpg); background-size: 100%;">
<h2>LAMU</h2>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Minima atque minus eos delectus similique magni quod dolorum laboriosam, nihil eaque porro quaerat, ex tempora! Exercitationem voluptatibus placeat nihil libero quos!</p>
<button class="btn btn-outline-light" type="button">Click here</button>
</div>
</div>
</div>
</div>
<!-- START THE FEATURETTES -->
<hr class="featurette-divider">
<h2 class="text-center m-md-3 m-sm-3" id="tours">Popular Tours</h2>
<div class="container">
<div class="color row featurette">
<div class="col-md-7">
<h2 class="featurette-heading fw-normal lh-1">Travel to Petra in Jordan <span class="text-muted">It'll blow your mind.</span></h2>
<p class="lead">The spectacular carved rock tombs of Petra in Jordan often top travel wishlists. But unlike many dream destinations, it's actually fairly easy and not too expensive to visit Petra. There's accommodation from tented camps to five-star resorts, there's good public transport, or it's simple to drive yourself, it's safe and the people are incredibly welcoming.
So if you want to visit Petra, which is the best way to do it? While plenty of companies offer organised tours, it's also an easy place to visit independently. Here's everything you need to know when planning a trip to Petra - including how to get there, the closest hotels, best times to visit and even the best places for a drink after a long day exploring</p>
</div>
<div class="col-md-5">
<img src="../static/images/machu picchu.jpg" class="bd-placeholder-img bd-placeholder-img-lg featurette-image img-fluid mx-auto" width="500" height="500" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#eee"></rect><text x="50%" y="50%" fill="#aaa" dy=".3em">Petra</text>
</div>
</div>
<hr class="featurette-divider">
<div class=" row featurette">
<div class="col-md-7 order-md-2">
<h2 class="featurette-heading fw-normal lh-1">Imagine palm trees and the beach?<span class="text-muted">See for yourself.</span></h2>
<p class="lead">Lorem ipsum dolor sit amet consectetur adipisicing elit. Autem inventore laudantium culpa necessitatibus ullam ab placeat minus commodi maiores, laborum, aspernatur nihil voluptas. Repellat quidem dolorum provident blanditiis molestiae recusandae!</p>
</div>
<div class="col-md-5 order-md-1">
<img src="../static/images/Florida.jpg" class="bd-placeholder-img bd-placeholder-img-lg featurette-image img-fluid mx-auto" width="500" height="500" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#eee"></rect><text x="50%" y="50%" fill="#aaa" dy=".3em">Florida</text>
</div>
</div>
<hr class="featurette-divider">
<div class="color row featurette">
<div class="col-md-7">
<h2 class="featurette-heading fw-normal lh-1">And ,this is Disney World<span class="text-muted">Checkmate.</span></h2>
<p class="lead">Lorem ipsum dolor sit amet consectetur adipisicing elit. Autem inventore laudantium culpa necessitatibus ullam ab placeat minus commodi maiores, laborum, aspernatur nihil voluptas. Repellat quidem dolorum provident blanditiis molestiae recusandae!</p>
</div>
<div class="col-md-5">
<img src="../static/images/pexels-craig-adderley-3411132.jpg" class="bd-placeholder-img bd-placeholder-img-lg featurette-image img-fluid mx-auto" width="500" height="500" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#eee"></rect><text x="50%" y="50%" fill="#aaa" dy=".3em">Disney World</text>
</div>
</div>
<hr class="featurette-divider">
<!-- /END THE FEATURETTES -->
</div>
<!-- /.container -->
<!-- carousel -->
<section class="row mb-4 p-4">
<div class="col-6">
<h2 class="fw-normal text-center m-sm-5">Popular International Destinations</h2>
<div id="myCarousel2" class="carousel slide bg-inverse w-75 ms-auto me-auto" data-bs-ride="carousel">
<ol class="carousel-indicators">
<li data-bs-target="#myCarousel" data-bs-slide-to="0" class="active"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="1"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="2"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="3"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="4"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="5"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="6"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="d-block w-100" src="../static/images/maldives.jpg" alt="First slide">
<div class="carousel-caption">
<h3 class="">MALDIVES</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/Sydney.jpg" alt="Second slide">
<div class="carousel-caption">
<h3>SYDNEY</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/hawaii.jpg" alt="Third slide">
<div class="carousel-caption">
<h3>HAWAII</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/balii.jpg" alt="fourth slide">
<div class="carousel-caption">
<h3>BALI</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/venuce.jpg" alt="fifth slide">
<div class="carousel-caption">
<h3>VENICE</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/santorini.jpg" alt="sixth slide">
<div class="carousel-caption">
<h3>SANTORINI</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/uk.jpg" alt="seventh slide">
<div class="carousel-caption">
<h3>UK</h3>
</div>
</div>
</div>
<div>
<button class="btn btn-outline-primary justify-content-end" type="button">Learn more</button>
</div>
</div>
</div>
<!-- col 2 -->
<div class="container-fluid col-6">
<h2 class="fw-normal text-center m-sm-5">Themed Safaris</h2>
<div id="myCarousel3" class="carousel slide bg-inverse w-75 ms-auto me-auto" data-bs-ride="carousel">
<ol class="carousel-indicators">
<li data-bs-target="#myCarousel" data-bs-slide-to="0" class="active"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="1"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="2"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="3"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="4"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="5"></li>
<li data-bs-target="#myCarousel" data-bs-slide-to="6"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="d-block w-100" src="../static/images/honeymoon.jpg" alt="First slide">
<div class="carousel-caption">
<h3 class="">HONEYMOON</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/adventure.jpg" alt="Second slide">
<div class="carousel-caption">
<h3>ADVENTURE</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/valentine.jpg" alt="Third slide">
<div class="carousel-caption">
<h3>VALENTINE</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/pexels-yaroslav-18*99shuraev-5608539.jpg" alt="fourth slide">
<div class="carousel-caption">
<h3>HALLOWEEN</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/xmas.jpg" alt="fifth slide">
<div class="carousel-caption">
<h3>CHRISTMAS</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/camping.jpg" alt="sixth slide">
<div class="carousel-caption">
<h3>CAMPING</h3>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="../static/images/nature.jpg" alt="seventh slide">
<div class="carousel-caption">
<h3>NATURE</h3>
</div>
</div>
</div>
<div>
<button class="btn btn-outline-primary justify-content-end" type="button">Learn more</button>
</div>
</div>
</div>
</section>
<br>
<!-- end carousel -->
<!-- Footer -->
<div class="b-example-divider"></div>
<div class="container">
<footer class="py-3 my-4">
<ul class="nav justify-content-center border-bottom pb-3 mb-3">
<li class="nav-item"><a href="index.html" class="nav-link px-2 text-muted">Home</a></li>
<li class="nav-item"><a href="about.html" class="nav-link px-2 text-muted">About</a></li>
<li class="nav-item"><a href="Faqs.html" class="nav-link px-2 text-muted">FAQs</a></li>
<li class="nav-item"><a href="contact.html" class="nav-link px-2 text-muted">Contact</a></li>
</ul>
<p class="text-center text-muted">© 2022 Erada, Designed by Jaffer Kimitei</p>
<p class="float-end"><a href="#">Back to top</a></p>
</footer>
</div>
<div class="b-example-divider"></div>
<div class="container">
<footer class="row row-cols-1 row-cols-sm-2 row-cols-md-5 py-5 my-5 border-top">
<div class="col mb-3">
<a href="/" class="d-flex align-items-center mb-3 link-dark text-decoration-none">
<svg class="bi me-2" width="40" height="32"><use xlink:href="#bootstrap"/></svg>
</a>
<!-- <p class="text-muted">© 2022</p> -->
</div>
<!-- end of footer -->
</footer>
</div>
</body>
</html>