-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
137 lines (135 loc) · 4.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Travel Planner</title>
<link
rel="shortcut icon"
href="./assets/images/favicon.ico"
type="image/x-icon"
/>
<link
href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.1/css/bulma.min.css"
integrity="sha512-ZRv40llEogRmoWgZwnsqke3HNzJ0kiI0+pcMgiz2bxO6Ew1DVBtWjVn0qjrXdT3+u+pSN36gLgmJiiQ3cQtyzA=="
crossorigin="anonymous"
/>
<script
src="https://kit.fontawesome.com/3ea7a994a9.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="./assets/css/style.css" />
</head>
<body>
<main class="container.is-widescreen content">
<section id="page1" class="hero is-dark is-fullheight is-bold">
<h1 class="has-text-centered mt-6 pt-6">Travel Planner</h1>
<div class="hero-body">
<div class="container">
<form class="field">
<input
id="input-city-name"
class="input is-rounded is-large has-text-centered"
type="text"
placeholder="Enter a city name"
name="city"
/>
<button
id="input-button"
class="button is-rounded is-large"
>
<i class="fas fa-search"></i>
</button>
</form>
</div>
</div>
</section>
<!-- main body section -->
<div id="hide-it" class="is-hidden">
<!-- weather section -->
<section
id="page2"
class="hero is-light is-fullheight is-bold has-text-centered"
>
<a href="#page1"><i class="fas fa-chevron-up fa-4x"></i></a>
<div class="hero-body">
<div class="container">
<div class="forecast-title">
<h2 id="city-name" class="title"></h2>
<h2 class="title">Weather Forecast</h2>
</div>
<div id="weather" class="is-flex"></div>
</div>
</div>
<a href="#page3"
><i class="fas fa-chevron-down fa-4x"></i
></a>
</section>
<!-- map section -->
<section
id="page3"
class="hero is-dark is-fullheight is-bold has-text-centered"
>
<a href="#page2"><i class="fas fa-chevron-up fa-4x"></i></a>
<div class="hero-body">
<div class="container">
<h2 class="title">Map</h2>
<input
id="pac-input"
class="controls input is-rounded has-text-centered"
type="text"
placeholder="Map Search Box"
/>
<div id="map"></div>
</div>
</div>
<a href="#page4"
><i class="fas fa-chevron-down fa-4x"></i
></a>
</section>
<!-- Events section -->
<section
id="page4"
class="hero is-light is-fullheight is-bold has-text-centered"
>
<a href="#page3"><i class="fas fa-chevron-up fa-4x"></i></a>
<div class="hero-body">
<div class="container">
<h2 id="city-name-events" class="title"></h2>
<h2 class="title">Events</h2>
<div id="currentevents"></div>
</div>
</div>
</section>
<footer class="hero is-dark is-bold has-text-centered">
<div class="hero-body">
<h3 class="subtitle">Copyright © 2020 The Travel Bugs</h3>
</div>
</footer>
</div>
</main>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"
integrity="sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg=="
crossorigin="anonymous"
></script>
<!-- maps scripts -->
<script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA_S1uoSa96ZjyPEwW3mvugcoqrGKhW4vA&callback=initAutocomplete&libraries=places&v=weekly"
defer
></script>
<!-- day.js framework -->
<script
src="https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.9.3/dayjs.min.js"
integrity="sha512-u7elBfdMr+7LhU4rvUk3IM28QZDKTyUxba4Nx2IJ1W9cj4shfRSPq7EZXD2ULD9cBoizw2FQyeR6YBog6LcnHg=="
crossorigin="anonymous"
></script>
<script src="./assets/js/index.js"></script>
</body>
</html>