-
Notifications
You must be signed in to change notification settings - Fork 0
/
location.html
95 lines (84 loc) · 5.1 KB
/
location.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Finding the nearest bakery </title>
<!-- <script async src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDFfKtEpR4sFVJZEPpd4hkPhuRU6wmifGE&callback=console.debug&libraries=maps,marker&v=beta"></script> -->
<!-- <script async src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDFfKtEpR4sFVJZEPpd4hkPhuRU6wmifGE&libraries=places&callback=initMap"></script> -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="stylesheet" href="./assets/styles/styles.css">
<link rel="stylesheet" href="./assets/styles/location.css">
</head>
<body>
<div class="container con-fluid">
<!-- Nav Section -->
<div class="nav-wrapper">
<nav>
<ul class="nav-icons">
<li><a href="index.html"><i class="fa-solid fa-house"></i></li>
<li><a href="recipe.html"><i class="fa-solid fa-cake-candles" style="color: #935215;"></i></a></li>
<li><a href="location.html"><i class="fa-solid fa-location-dot" style="color: #7c4527;"></i></a></li>
</ul>
</nav>
</div>
<!-- <header>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Recipe</a></li>
<li><a href="#">Locations</a></li>
</ul>
</nav>
</header> -->
<!-- Welcome Section -->
<section class="top">
<img src="Images/bakery-2.jpeg" alt="bakery">
<h1>Whisked Wonders</h1>
<p>Welcome to the greatest info page on the planet for all of your bakery needs</p>
</section>
<section class="search-container mt-3">
<div class="card">
<div class="card-header">
<h3 class="my-0"><i class="fa fa-magnifying-glass"></i> Whisked Wonders' Map</h3>
</div>
<div class="card-body">
<div class="row">
<div class="col-3 align-self-start">
<form id="location-search" class="form">
<div class="input-group mb-2">
<input class="form-input location-search form-control" placeholder="Edinburgh" id="location-search-input">
</div>
<div class="mb-2">
<button type="submit" class="search-button btn btn-outline-primary" id="location-search-button"><i class="fa-brands fa-searchengin"></i> Search</button>
<!-- <button type="button" class="btn btn-outline-success"><i class="fa-solid fa-arrow-rotate-left"></i> Return to main page</button> -->
</div>
</form>
</div>
<div class="col-9 align-self-end mr-4">
<!--The div element for the map -->
<div id="map"></div>
</div>
</div>
</div>
</div>
</section>
<section class="suggestion my-5">
<div class="suggested-place" id="suggested-place">
</div>
</section>
</div>
<footer>
<ul class="icons">
<li><a href="https://www.tiktok.com/@visitlondon/video/7184473978608684293?q=bakery%20in%20london&t=1701702761403"><i class="fa-brands fa-tiktok fa-lg" style="color: #a9540f;"></i>
<li><a href="https://www.instagram.com/p/C0HjCuksS9L/"><i class="fa-brands fa-instagram fa-lg" style="color: #a26510;"></i>
<li><a href="https://www.youtube.com/shorts/9-8LUW5tqBg"><i class="fa-brands fa-youtube fa-lg" style="color: #9a6418;"></i>
</ul>
</footer>
<!-- prettier-ignore -->
<script>(g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})
({key: "AIzaSyDFfKtEpR4sFVJZEPpd4hkPhuRU6wmifGE", v: "weekly"});</script>
<script src="./assets/script/location.js"></script>
</body>
</html>