forked from Mo01/Should-I-Move-Here
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
170 lines (142 loc) · 6.07 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
<!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" />
<title>Should I Move Here</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css"
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/style.css" />
<link href="https://fonts.googleapis.com/css?family=Raleway:700" rel="stylesheet">
</head>
<body>
<div class="landingPage">
<div class="jumbotron jumbotron-fluid landingDiv">
<div class="container" id="jumbo-header">
<div class="title-flex">
<h1 class="display-4 title-landing">Should I Move
<div class="slidingVertical">
<span>Here?</span>
<span>There?</span>
<span>Here?</span>
<span>There?</span>
<span>Where?</span>
</div>
</h1>
</div>
<div id="lead-input">
<p class="lead">Let us help.</p>
<input class="city-input searchBox" id="city-input1" type="text" placeholder="Enter a city" />
</div>
</div>
</div>
</div>
<div class="mainPage">
<div class="overlay">
<div class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Invalid city!</h5>
<button type="button" class="close dismiss" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>The city you entered could not be found on Google Maps. Please enter a valid one.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary dismiss" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="container">
<div class="jumbotron jumbotron-fluid">
<div class="container" id="jumbo-header">
<h1 class="display-4 title-main">Should I Move Here?</h1>
<input class="city-input" id="city-input2" type="text" placeholder="Enter a city" />
</div>
</div>
<section id="main-content">
<div class="row" id="top-row">
<div class="col-md-4 col-xs-12">
<div id="map">
</div>
</div>
<div class="col-md-8 col-xs-12" id="weather">
<div class="card">
<div class="card-header">
<h2><i class="fas fa-sun fa-sm"></i>Average Weather in <span class="city"></span></h2>
</div>
<div class="card-body" id="temp-chart-card">
<canvas id="tempChart"></canvas>
</div>
</div>
</div>
</div>
<div class="row zomato-row">
<div class="col-md-6 food-score-col">
<div class="card">
<div class="card-header score-card" id="food-header">
<h2><i class="fas fa-utensils fa-sm"></i><span class="city"></span>Food </h2>
</div>
</div>
</div>
<div class="col-md-6 nightlife-score-col">
<div class="card nightlife-card">
<div class="card-header score-card" id="nightlife-header">
<h2><i class="fas fa-glass-cheers fa-sm"></i><span class="city"></span>Nightlife </h2>
</div>
</div>
</div>
<div class="col-md-6 restaurants-section">
<div class="card">
<div class="card-header">
<h2><i class="fas fa-hamburger fa-sm"></i>Best Rated <span class="city"></span>
Restaurants</h2>
</div>
<div class="card-body zomato-restaurants row">
</div>
</div>
</div>
<div class="col-md-6 brewery-section brewery-header">
<div class="card">
<div class="card-header ">
<h2><i class="fas fa-beer fa-sm"></i>Local <span class="city"></span> Breweries</h2>
</div>
<div class="card-body brewery">
</div>
</div>
</div>
</div>
</section>
</div>
<section id="footer">
<p>Powered by Google, <a href="https://darksky.net/poweredby/">DarkSky</a>, <a
href="https://www.zomato.com/">Zomato</a> and <a href="https://www.openbrewerydb.org/">Open Brewery DB</a>.
</p>
<p>© 2019 - Nick, Lucas, Colin & Mo</p>
</section>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.0/js/bootstrap.min.js"
integrity="sha384-7aThvCh9TypR7fIc2HV4O/nFMVCBwyIUKL8XCtKE+8xgCgl/PQGuFsvShjr74PBp"
crossorigin="anonymous"></script>
<!-- Chart.js Library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.bundle.js"></script>
<!--Google API map-->
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDKRF_pimlVWA251FHLl_QPXlF2hXtMV1E&callback=initMap&libraries=places"
async defer></script>
<script src="assets/javascript/project.js"></script>
</body>
</html>