-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
215 lines (195 loc) · 6.91 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Cerca, explore the world around you</title>
<!-- Responsive viewport tag, tells small screens that it's responsive -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Metadata -->
<meta
name="Cerca"
content="Search for popular places near you or around the world and get uber estimates to get there"
/>
<!-- Stylesheets -->
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="button-style.css" rel="stylesheet" type="text/css" />
<!-- Google font -->
<link
href="https://fonts.googleapis.com/css?family=Archivo:500|Open+Sans:300,700"
rel="stylesheet"
/>
</head>
<body>
<main role="main">
<header role="heading" class="header">
<h1>Cerca</h1>
</header>
<div class="container">
<section>
<div class="landing-img">
<h2>Explore popular places near you or around the world</h2>
<p class="details">
For best results we recommend searching for city and country or
city and state ( e.g. Los Angeles, USA / Los Angeles, CA)
</p>
<p class="js-error-message"></p>
<form action="#" id="landing-page-form" class="js-form form">
<legend hidden>
Explore popular places near you or around the world
</legend>
<label for="place-query"></label>
<input
type="text"
id="landing-place-query"
name="landing-place-query"
class="js-type-query search-type"
placeholder="What you want to find here..."
/>
<label for="address-query"></label>
<input
required
type="text"
id="landing-address-query"
name="landing-address-query"
class="js-origin-query search-address"
placeholder="Type your address here..."
/>
<button type="submit" role="button" class="button btn-hover">
Explore!
</button>
</form>
</div>
</section>
<section class="about-us">
<div class="section-container">
<img
class="img mobile left"
src="https://image.ibb.co/c4kqSA/pexels-photo-849835.jpg"
alt="car-in-snow"
/>
<h3 class="section-title right">
Don't let the weather surprise you!
</h3>
<div class="text right">
<p class="description-of-image">
We know how bad it is when you get surprised by unexpected
weather so we made sure to provide you with the weather
prognostic for the venue selected
</p>
</div>
<div class="clear"></div>
</div>
</section>
<section class="about-us">
<div class="section-container">
<img
class="img mobile right"
src="https://image.ibb.co/cR0Fcq/pexels-photo-1268551.jpg"
alt="restaurant-entree"
/>
<h3 class="section-title left">Explore your neighborhood!</h3>
<div class="text left">
<p class="description-of-image">
Search for restaurants and enter your address and discover
popular restaurants near you
</p>
</div>
<div class="clear"></div>
</div>
</section>
<section class="about-us">
<div class="section-container">
<img
class="img mobile left"
src="https://image.ibb.co/fqD1Hq/pexels-photo-1531672.jpg"
alt="spa"
/>
<h3 class="section-title right">Plan your travels</h3>
<div class="text right">
<p class="description-of-image">
Find a relaxing spa near your hotel by entering spa and your
hotel address
</p>
</div>
<div class="clear"></div>
</div>
</section>
<section class="about-us">
<div class="section-container last-container">
<img
class="img mobile right"
src="https://image.ibb.co/d7uxqA/pexels-photo-1134166.jpg"
alt="dark-street-in-tokyo"
/>
<h3 class="section-title left">Flying international?</h3>
<div class="text left">
<p class="description-of-image">
No matter where you are we will always have your back! Search
local or internationally and we’ll make sure to get you the most
popular places every time
</p>
</div>
<div class="clear"></div>
</div>
</section>
</div>
<section id="search-modal" hidden>
<div class="popup-overlay"></div>
<div class="popup-content"></div>
</section>
<section id="map-section" hidden>
<div id="map"></div>
</section>
<button id="show-hide" role="button" hidden>X</button>
<div id="sidebar" hidden>
<div class="results-search-background">
<h3 class="results-search-tittle">
Explore popular places near you or around the world
</h3>
<form
role="form"
action="#"
id="results-page-form"
class="js-form form-sidebar form"
>
<legend hidden>
Explore popular places near you or around the world
</legend>
<label for="place-query"></label>
<input
type="text"
id="results-place-query"
name="results-place-query"
class="js-type-query search-type-sidebar"
placeholder="What you want to find here..."
/>
<label for="address-query"></label>
<input
required
type="text"
id="results-address-query"
name="results-address-query"
class="js-origin-query search-address-sidebar"
placeholder="Type your address here..."
/>
<button
type="submit"
role="button"
class="button js-sidebar-submit btn-hover"
>
Explore!
</button>
</form>
</div>
<div id="search-results"></div>
</div>
</main>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="script.js"></script>
<script
async
defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDSjog9A6AI8KRv_qUxop-RinLu0CluBWs&callback=initMap"
></script>
</body>
</html>