generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
553 lines (494 loc) · 22 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- SEO page description -->
<meta name="Description"
content="TravelrMap has made travelling super easy to spend with your family, partner and friends. We have specially curated top hot-spots in Turkey, Morocco & UK where you can create beautiful memories. Embark on your next journey with TravelrMap" />
<!-- Bootstrap 5 -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<!-- Font awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css"
integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Hamburgers CDN-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/hamburgers/1.1.3/hamburgers.min.css"
integrity="sha512-+mlclc5Q/eHs49oIOCxnnENudJWuNqX5AogCiqRBgKnpoplPzETg2fkgBFVC6WYUVxYYljuxPNG8RE7yBy1K+g=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Lottie CDN -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/lottie-web/5.7.6/lottie.min.js"
integrity="sha512-BB7rb8ZBAxtdJdB7nwDijJH9NC+648xSzviK9Itm+5APTtdpgKz1+82bDl4znz/FBhd0R7pJ/gQtomnMpZYzRw=="
crossorigin="anonymous"></script>
<!-- Email SDK -->
<script src="https://cdn.jsdelivr.net/npm/emailjs-com@3/dist/email.min.js"></script>
<!-- Hover CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/hover.css/2.1.1/css/hover-min.css"
integrity="sha512-SJw7jzjMYJhsEnN/BuxTWXkezA2cRanuB8TdCNMXFJjxG9ZGSKOX5P3j03H6kdMxalKHZ7vlBMB4CagFP/de0A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Favicon-->
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon/favicon-16x16.png">
<link rel="manifest" href="assets/images/favicon/site.webmanifest">
<link rel="mask-icon" href="assets/images/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<!-- AOM scroll -->
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<!-- Main stylesheet-->
<link rel="stylesheet" href="assets/css/style.css">
<!-- Map stylesheet -->
<link rel="stylesheet" href="assets/css/map.css">
<!-- Dark CSS -->
<link rel="stylesheet" href="assets/css/dark.css">
<!-- SEO Page Title -->
<title>TravelrMap | Your ultimate travel companion. Discover unfamiliar surrondings in new places</title>
</head>
<body>
<header id="travelrmap_home">
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
<div class="container">
<!-- Navbar brand -->
<a class="navbar-brand" href="#travelrmap_home">
<img src="assets/images/travelrmap_logo_.png" alt="travelrMap logo" height="40">
</a>
<!-- Toggle button-->
<button class="hamburger hamburger--elastic d-lg-none" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="hamburger-box">
<span class="hamburger-inner"></span>
</span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<!-- Nav item start-->
<ul class="navbar-nav me-auto mb-2 mb-lg-0 justify-content-end container-fluid">
<li class="nav-item">
<a class="nav-link active hvr-underline-from-center" aria-current="page" href="#home">Home</a>
</li>
<li class="nav-item">
<a class="nav-link hvr-underline-from-center" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link hvr-underline-from-center" href="#map-section">Map</a>
</li>
<li class="nav-item">
<a class="nav-link hvr-underline-from-center" href="#contact">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<!-- Landing section-->
<section class="container margin-top-5" id="home">
<div class="row">
<div class="col-md-5">
<div class="row">
<div class="col">
<div class="switch">
Dark mode:
<span class="inner-switch">OFF</span>
</div>
</div>
</div>
<div class="row">
<div class="col">
<h1 id="landing-header">Say Yes to New Adventures</h1>
</div>
</div>
<!-- Enticing Text-->
<div class="row">
<div class="col">
<p class="d-none d-sm-block landing-slogan">Inspire yourself with beautiful imagery from the most
exclusive locations and
have fun planning your next trip!</p>
</div>
</div>
<!-- image replacing animation on smaller device for user experience-->
<div class="row">
<div class="col">
<img src="assets/images/main_illustration.png" class="small-img d-block d-sm-block d-md-none"
alt="couple walking looking for their next travel destination using TravelrMap">
</div>
</div>
<!-- Social media buttons -->
<div class="row mt-3">
<div class="col social-col">
<!-- Please note, as there is no official TravelrMap account, links are going to social media sites account for now-->
<a href="https://www.instagram.com/" target="_blank" class="fab fa-instagram">
<span class="sr-only">Instagram Button</span></a>
<a href="https://www.facebook.com/" target="_blank" class="fab fa-facebook">
<span class="sr-only">Facebook button</span></a>
<a href="https://www.tiktok.com/en/" target="_blank" class="fab fa-tiktok">
<span class="sr-only">TikTok button</span></a>
</div>
</div>
<!-- Buttons -->
<div class="row">
<div class="col">
<div class="row">
<div class="col-sm-12 col-md-6">
<a class="std-button-style secondary-button" onclick="getLocation();" href="#" role="button">
Get Location!
</a>
<span id="user-x"></span>
</div>
<div class="col-sm-12 col-md-6">
<a class="std-button-style primary-button" href="#map-section" role="button">Map</a>
</div>
</div>
</div>
</div>
</div>
<!-- Landing Page Animation right -->
<div class="col-md-7">
<div class="row">
<div class="col">
<div id="landingPageAnimation"></div>
</div>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section class="container margin-top-5" id="about">
<div class="row">
<!-- Left -->
<div class="col-sm-12 col-md-6">
<div data-aos="fade-right" data-asos-easing="ease">
<img src="assets/images/search_application.png"
alt="female searching next travel destination using TravelrMap" id="about-image"
class="display-none-small vertical-align">
</div>
</div>
<!-- Right -->
<div class="col-sm-12 col-md-6">
<div data-aos="fade-left" data-asos-easing="ease">
<div class="row">
<div class="col">
<h4 class="text-muted text-uppercase header-tagline">Get ready for your lifetime journey.</h4>
</div>
</div>
<div class="row">
<div class="col">
<div class="bg-header"></div>
<h2 class="secondary-header">About</h2>
<hr class="block">
</div>
</div>
<div class="row">
<div class="col">
<h5 class="fst-italic about-slogan">Your ultimate travel companion. Discover unfamiliar surrondings in new
places</h5>
</div>
</div>
<div class="row">
<div class="col">
<img src="assets/images/search_application.png" class="small-img d-block d-sm-block d-md-none"
alt="female searching next travel destination using TravelrMap">
</div>
</div>
<div class="row">
<div class="col">
<p class="about-text">We understand how difficult it is to find your next vacation spot to spend with your
family, partner
and
friends</p>
<p class="about-text">We have made this easy for you so you could search what to do and create beautiful
memories to share.
</p>
<p class="about-text">We have specially curated top spots in <strong>Turkey, Morocco and the UK</strong>
</p>
</div>
</div>
<div class="row mt-5">
<div class="col d-none d-lg-block d-xl-block">
<i class="about-icons fas fa-book"></i>
<div class="icons-circle"></div>
<p class="icon-tag">Learn</p>
</div>
<div class="col d-none d-lg-block d-xl-block">
<i class="about-icons fas fa-search"></i>
<div class="icons-circle"></div>
<p class="icon-tag">Discover</p>
</div>
<div class="col d-none d-lg-block d-xl-block">
<i class="about-icons fas fa-route"></i>
<div class="icons-circle"></div>
<p class="icon-tag">Explore</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Map Section -->
<section class="container margin-top-5" id="map-section">
<div data-aos="fade-bottom" data-asos-easing="ease">
<div class="row">
<div class="col">
<div class="bg-header"></div>
<h2 class="secondary-header">Map</h2>
<hr class="block">
</div>
</div>
<div class="row">
<div class="col">
<h6 class="text-muted fst-italic">Pick any Country & City below! Start Exploring!</h6>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<!-- Countries -->
<div class="row my-4">
<div class="accordion" id="country-accordion"> </div>
</div>
<!-- Filter type -->
<div class="row my-4 d-none" id="filterContainer">
<div class="col">
<div class="row">
<!-- Left grid-->
<div class="col-sm-12 col-lg-6">
<ul class="list-group">
<!-- Restaurant filter-->
<li class="list-group-item map-filter active" onclick="selectFilter(this.id)" id="restaurant">
<button class="filter-option" data-toggle="tooltip" data-placement="top" title="Restaurant">
<i class="fas fa-pizza-slice"></i>
</button>
</li>
<!-- Hotel filter-->
<li class="list-group-item map-filter" onclick="selectFilter(this.id)" id="hotel">
<button class="filter-option" data-toggle="tooltip" data-placement="top" title="Hotel">
<i class="fas fa-bed"></i>
</button>
</li>
<!-- Attraction filter-->
<li class="list-group-item map-filter" onclick="selectFilter(this.id)" id="tourist_attraction">
<button class="filter-option" data-toggle="tooltip" data-placement="top"
title="Tourist Attraction">
<i class="fas fa-archway"></i>
</button>
</li>
</ul>
</div>
<!-- Right grid-->
<div class="col-sm-12 col-lg-6">
<ul class="list-group">
<!-- Museum-->
<li class="list-group-item map-filter" onclick="selectFilter(this.id)" id="museum">
<button class="filter-option" data-toggle="tooltip" data-placement="top" title="Museum">
<i class="fas fa-monument"></i>
</button>
</li>
<!-- Bar -->
<li class="list-group-item map-filter" onclick="selectFilter(this.id)" id="bar">
<button class="filter-option" data-toggle="tooltip" data-placement="top" title="Bar">
<i class="fas fa-compact-disc"></i>
</button>
</li>
<!-- Coffee -->
<li class="list-group-item map-filter" onclick="selectFilter(this.id)" id="cafe">
<button class="filter-option" data-toggle="tooltip" data-placement="top" title="Cafe">
<i class="fas fa-coffee"></i>
</button>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Attraction/Place search -->
<div class="row my-4 d-none" id="attractionSearchContainer">
<div class="input-group mb-3">
<input type="text" class="form-control" aria-label="Default" id="attractionSearch">
<button type="button" class="btn btn-search" onClick="initMap(15); isEmpty();">Search <i
class="fas fa-search"></i></button>
</div>
</div>
</div>
<!-- Google Maps -->
<div class="col-lg-8">
<div id="map-container" class="container">
<div id="map">
<span class="sr-only">Google Maps functionality</span>
</div>
<!-- Window content-->
<div id="infowindow-content">
<span id="place-name" class="title"></span><br />
Place ID <span id="place-id"></span><br />
<span id="place-address"></span>
</div>
<!-- Results Sidebar-->
<div id="sidebar">
<h2 class="result-header">Results</h2>
<ul id="places"></ul>
<button id="more">Load More Results</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Form -->
<section class="contact-section container margin-top-5" id="contact">
<div class="row">
<div class="col-sm-12 col-lg-6">
<div data-aos="fade-right" data-asos-easing="ease">
<img src="assets/images/customer_service.png"
alt="staff working for TravelrMap ready to answer customer queries"
class="customer-service-img display-none-small">
</div>
</div>
<div class="col-sm-12 col-lg-6">
<!-- Form start -->
<div class="row">
<div class="col">
<div data-aos="fade-left" data-asos-easing="ease">
<form id="contact-form">
<fieldset>
<legend class="text-muted text-uppercase header-tagline">Let's talk. Ask us anything.</legend>
<div class="bg-header"></div>
<h2 class="secondary-header">Contact Us</h2>
<hr class="block">
<div class="row">
<div class="col">
<img src="assets/images/customer_service.png" alt="staff working ready to answer queries"
class="small-img d-block d-sm-block d-md-none">
</div>
</div>
<div class="row">
<div class="col">
<p>Fill this form in and we will personally help you plan your next adventure. Our Team at
TravelrMap will
aim to get back to you within 24 hours.</p>
<p class="fst-italic">Dont like forms? Send us an <a href="mailto:[email protected]"
class="contact-email-link">email.</a></p>
</div>
</div>
<div class="row">
<div class="col-md-6">
<label for="name" class="form-title">Full Name:</label>
<input id="name" type="text" placeholder="e.g. Sonia Hussain" aria-label="Write your full name"
class="form-control" required name="from_name">
</div>
<div class="col-md-6">
<label for="emailaddress" class="form-title">Email Address:</label>
<input id="emailaddress" type="email" placeholder="[email protected]"
aria-label="Write your email address" class="form-control" required name="from_email">
</div>
</div>
<div class="row">
<div class="col-12">
<label for="message" class="form-title">Message:</label>
<textarea id="message" rows="3" class="form-control" required
placeholder="Hey, TravelrMap! I would like to know more information about your top spots in Turkey..."
name="message"></textarea>
</div>
</div>
<div class="row">
<div class="col">
<button class="btn form-title contact-button">Send Message
<i class="fas fa-chevron-right"></i>
</button>
<!-- Modal pop-up -->
<div class="modal" tabindex="-1" role="dialog" id="staticBackdrop">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Conact Form</h5>
</div>
<div class="modal-body">
<p>
Thank you for your enquiry! We'll aim to get back to you within 24 hours.
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn modal-btn" data-dismiss="modal">
Close
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer-section mt-3">
<div class="container">
<!--Footer about-->
<div class="row">
<div class="col-md-4">
<h5>About</h5>
<p>Your ultimate travel companion. Discover unfamiliar surrondings in new places.</p>
</div>
<div class="col-md-4">
<!-- Contact social-->
<h5>Contact Us
</h5>
<p class="contact-num">0121 556 8723</p>
<a href="mailto:[email protected]" class="footer-email-link">[email protected]</a>
</div>
<div class="col-md-4">
<!--Social footer -->
<h5>Keep updated</h5>
<div class="row">
<div class="col social-col" id="footer-social">
<a href="https://www.instagram.com/" target="_blank" class="fab fa-instagram">
<span class="sr-only">Instagram Button</span></a>
</a>
<a href="https://www.facebook.com/" target="_blank" class="fab fa-facebook">
<span class="sr-only">Facebook Button</span></a>
</a>
<a href="https://www.tiktok.com/en/" target="_blank" class="fab fa-tiktok">
<span class="sr-only">TikTok Button</span></a>
</a>
</div>
</div>
</div>
</div>
<div class="footer-copyright text-center py-4">
<p>© 2021 Copyright: TravelrMap/Sonia Akhtar Hussain</p>
</div>
</div>
</footer>
<!-- jQuery-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js"></script>
<!-- JS Bootstrap-->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13"
crossorigin="anonymous"></script>
<!-- Initialise scroll -->
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
</script>
<!-- Scripts -->
<script src="assets/js/hamburger.js"></script>
<script src="assets/js/email.js"></script>
<script src="assets/js/countries.js"></script>
<script src="assets/js/map_filters.js"></script>
<script src="assets/js/menu.js"></script>
<script src="assets/js/map.js"></script>
<script src="assets/js/landing_animation.js"></script>
<script src="assets/js/geolocation.js"></script>
<script src="assets/js/darkmode.js"></script>
<!-- Maps API -->
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA1-X6y0v2lveVb4UF9b39F73anCx39ajo&callback=initMap&libraries=places&v=weekly&channel=2"
async></script>
</body>
</html>