forked from inara-nyingifa/plan-your-trip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
365 lines (331 loc) · 13.6 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
<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">
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--import materialize cdn-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/css/materialize.min.css">
<link rel="stylesheet" href="./assets/style.css">
<title>Plan Your Trip</title>
</head>
<body>
<!--nav bar -->
<div class="navbar-fixed">
<div class="nav-wrapper">
<nav class="black">
<div class="container">
<div class="nav-wrapper">
<a href="#!" class="brand-logo"id="plan">Plan Your Trip</a>
<a href="#" data-target="slide-out" class="sidenav-trigger"><i class="material-icons">menu</i></a>
<ul class=" hide-on-med-and-down right">
<li class= "#search"> <a href="#search">Search</a></li>
<li class="active"> <a href="#myVideo"></a></li>
<li> <a href="#itinerary">Itinerary</a></li>
<li><a href="#popular">Popular Places</a></li>
<li><a href="#contact">Support</a></li>
</ul>
</div>
</div>
</nav>
</div>
</div>
<ul class="sidenav" id="slide-out">
<li><a href="#search">Search</a></li>
<li> <a href="#itineray">Itinerary</a></li>
<li><a href="#popular">Popular Places</a></li>
<li><a href="#contact">Support</a></li>
</ul>
<!--Background Video-->
<video autoplay muted loop id="myVideo">
<source src="./assets/Background.mp4" type="video/mp4" width="100%">
</video>
<!-- Same Section-Search Bar -->
<div class="content">
<div class="container">
<div class="row">
<div class="col s12">
<h3>Let's Start Exploring</h3>
<!-- Search Button-->
<a href="#search" class="waves-effect waves-light brown btn"id="search-btn">Start</a>
</div>
</div>
</div>
</div>
<div>
<div id="search" class="search-container scrollspy">
<div class="row">
<div class="col s12">
<div><button onclick="ShowAndHide()" class= "btn scrollspy brown material-icons" id="open-itin"><a href="#itinerary">Open Itinerary</a></button> </div>
<h3>Where are you staying?</h3>
<!--Input Bars-->
<input id="input" placeholder="Enter a hotel address" />
<!--Open and close Itinerary-->
<div id="map"></div>
</div>
</div>
</div>
</div>
</section>
<!--Interary box-->
<section style="display:none" class="scrollspy section section-icons brown darker-4 center" id="itinerary">
<div class="container">
<div class="row">
<div class="col">
<form class="form" >
<i class="material-icons large black-text">assignment</i>
<div><button onclick="ShowAndHide()" class= "btn scrollspy brown material-icons" id="open-itin">close itinerary</button> </div>
<!--6 input collumns for date and activity -->
<div class="row">
<div class="col l9">
<input type="text" id="date" class="datepicker input-field form-group" placeholder="Today's Date">
<div class="row">
<div class="input-field form-group col s6"><input id="time-input1" type="text" class="timepicker" placeholder="Time"></div>
<div class="input-field form-group col s6"><input id="activity1" type="text" placeholder="Activity" class="validate"></div>
</div>
<div class="row">
<div class="input-field form-group col s6"><input id="time-input2" type="text" class="timepicker" placeholder="Time"></div>
<div class="input-field form-group col s6"><input id="activity2" type="text" placeholder="Activity" class="validate"></div>
</div>
<div class="row">
<div class="input-field form-group col s6"><input id="time-input3" type="text" class="timepicker" placeholder="Time"></div>
<div class="input-field form-group col s6"><input id="activity3" type="text" placeholder="Activity" class="validate"></div>
</div>
<div class="row">
<div class="input-field form-group col s6"><input id="time-input4" type="text" class="timepicker" placeholder="Time"></div>
<div class="input-field form-group col s6"><input id="activity4" type="text" placeholder="Activity" class="validate"></div>
</div>
<div class="row">
<div class="input-field form-group col s6"><input id="time-input5" type="text" class="timepicker" placeholder="Time"></div>
<div class="input-field form-group col s6"><input id="activity5" type="text" placeholder="Activity" class="validate"></div>
</div>
<div class="row">
<div class="input-field form-group col s6"><input id="time-input6" type="text" class="timepicker" placeholder="Time"></div>
<div class="input-field form-group col s6"><input id="activity6" type="text" placeholder="Activity" class="validate"></div>
</div>
<div class="btn form-group col s12" id="save-btn">save</div>
</div>
<!-- <div class="saved col l3"id="msg"><pre>if it saves it'll display below</pre></div>-->
</div>
</div>
</form>
</div>
</div>
</div>
<!-- <h4>Copy and send your Itinterary with your friends</h4>
<div class="btn">Send</div> -->
</section>
<!-- Section: Icon Boxes -->
<section class="section section-icons brown lighten-4 center">
<div class="container">
<div class="row">
<div class="col s12 m4">
<div class="card-panel">
<i class="material-icons large black-text">room</i>
<h4>Pick Where</h4>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quidem, velit.</p>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel">
<i class="material-icons large black-text">store</i>
<h4>Travel Shop</h4>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quidem, velit.</p>
</div>
</div>
<div class="col s12 m4">
<div class="card-panel">
<i class="material-icons large black-text">airplanemode_active</i>
<h4>Excursions!</h4>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quidem, velit.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Section: Popular -->
<section id="popular" class="section section-popular scrollspy">
<div class="container">
<div class="row">
<h4 class="center">
<span class="brown-text">Popular</span> Places</h4>
<div class="col s12 m4">
<div class="card">
<div class="card-image">
<img src="https://image.ibb.co/hbEMux/resort1.jpg" alt="">
<span class="card-title">Cancun, Mexico</span>
</div>
<div class="card-content">
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Voluptas aliquid fugiat corporis laudantium, architecto
delectus?
</p>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card">
<div class="card-image">
<img src="https://image.ibb.co/mn1egc/resort2.jpg" alt="">
<span class="card-title">The Bahamas</span>
</div>
<div class="card-content">
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Voluptas aliquid fugiat corporis laudantium, architecto
delectus?
</p>
</div>
</div>
</div>
<div class="col s12 m4">
<div class="card">
<div class="card-image">
<img src="https://image.ibb.co/mbCVnH/resort3.jpg" alt="">
<span class="card-title">Nova Scotia</span>
</div>
<div class="card-content">
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Voluptas aliquid fugiat corporis laudantium, architecto
delectus?
</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col s12 center">
<a href="#contact" class="btn btn-large grey darken-3">
<i class="material-icons left">send</i> Contact PYT For Help Planning
</a>
</div>
</div>
</div>
</section>
<!-- Section: Follow -->
<section class="section section-follow brown darken-2 white-text center">
<div class="container">
<div class="row">
<div class="col s12">
<h4>Follow PYT!</h4>
<p>Follow us on social media for special offers</p>
<a href="htttps://facebook.com" target="_blank" class="white-text">
<i class="fab fa-facebook fa-4x"></i>
</a>
<a href="htttps://twitter.com" target="_blank" class="white-text">
<i class="fab fa-twitter fa-4x"></i>
</a>
<a href="htttps://linkedin.com" target="_blank" class="white-text">
<i class="fab fa-linkedin fa-4x"></i>
</a>
<a href="htttps://googleplus.com" target="_blank" class="white-text">
<i class="fab fa-google-plus fa-4x"></i>
</a>
<a href="htttps://pinterest.com" target="_blank" class="white-text">
<i class="fab fa-pinterest fa-4x"></i>
</a>
</div>
</div>
</div>
</section>
<!-- Section: Contact -->
<section id="contact" class="section section-contact scrollspy">
<div class="container">
<div class="row">
<div class="col s12 m6">
<div class="card-panel brown white-text center">
<i class="material-icons medium">email</i>
<h5>Need help planning? Contact our team</h5>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Repellendus sed praesentium delectus. Sit, mollitia
quo. Veniam repellat voluptas ipsum doloremque?</p>
</div>
<ul class="collection with-header">
<li class="collection-header">
<h4>Location</h4>
</li>
<li class="collection-item">we fancy lane</li>
<li class="collection-item">Suite 1234</li>
<li class="collection-item">Torrance,Ca 90504</li>
</ul>
</div>
<div class="col s12 m6">
<div class="card-panel brown lighten-7">
<h5>Please fill out this form</h5>
<div class="input-field">
<input type="text" placeholder="Name" id="name">
<label for="name">Name</label>
</div>
<div class="input-field">
<input type="email" placeholder="Email" id="email">
<label for="email">Email</label>
</div>
<div class="input-field">
<input type="text" placeholder="Phone" id="phone">
<label for="phone">Phone</label>
</div>
<div class="input-field">
<textarea class="materialize-textarea" placeholder="Enter Message" id="message"></textarea>
<label for="message">Message</label>
</div>
<input type="submit" value="Submit" class="btn brown">
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="section brown darken-2 white-text center">
<p class="flow-text">PYT © 2021</p>
</footer>
<!--Side nav-->
<script type="text/javascript">
//add event listner to the loaded DOM content and create a callback function
document.addEventListener('DOMContentLoaded', function() {
//create var to select the class where the sidenav will be applied
const sideNav = document.querySelectorAll(".sidenav");
//use materialize instance M.Sidenav to initalize it then pass var through it
M.Sidenav.init(sideNav, {});
});
</script>
<!--// Scroll to section (scrollspy)-->
<script type="text/javascript">
//add event listner to the loaded DOM content and create a callback function
document.addEventListener('DOMContentLoaded', function() {
//create var to select the class where the sidenav will be applied
const ss = document.querySelectorAll('.scrollspy');
//use materialize instance M.Sidenav to initalize it then pass var through it
M.ScrollSpy.init(ss, {});
});
</script>
<!--Itinerary Date & Time-->
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
const date = document.querySelectorAll('.datepicker');
M.Datepicker.init(date, {});
});
</script>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
const time = document.querySelectorAll('.timepicker');
M.Timepicker.init(time, {});
});
</script>
<!--Hides Itinerary form-->
<script type="text/javascript">
function ShowAndHide() {
var open = document.getElementById('itinerary');
if (open.style.display == 'none') {
open.style.display = 'block';
} else {
open.style.display = 'none';
}
}
</script>
<!-- Google API -->
<script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD3hvG5xtniBYkSfMmW0gBSpISphcw5RUg&callback=initMap&libraries=localContext,places&v=beta"
async
></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="https://code.jquery.com/jquery.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="./assets/js/script.js"></script>
</body>
</html>