-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
373 lines (358 loc) · 18.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
365
366
367
368
369
370
371
372
373
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Travello</title>
<link rel="stylesheet"
href="https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/1.3.0/css/line-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans|ZCOOL+XiaoWei|Merriweather:400,700&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="styles/reset.css">
<link rel="stylesheet" href="styles/app.css">
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.3.5/dist/alpine.min.js" defer></script>
</head>
<body>
<header class="site-header sans-serif">
<div class="container">
<nav>
<div class="logo serif-fancy">
<i class="las la-mountain la-lg"></i> Travello</div>
<ul class="nav-links">
<li><a href="#">Home</a></li>
<li><a href="#">Explore</a></li>
<li><a href="#">Travel</a></li>
<li><a href="#">Blog</a></li>
</ul>
</nav>
<section class="site-header-title">
<h1 class="serif-fancy">Let's Make <br> Your Best <br>Trip Ever </h1>
<p class="subtitle">The best travel for your journey <br>
respectful of the environment</p>
</section>
<article class="cta">
<div class="tabs" x-data="{tab: 'one-way'}">
<div class="tab" :class="{'active' : tab === 'one-way'}" @click="tab = 'one-way'">One way</div>
<div class="tab" :class="{'active' : tab === 'round-trip'}" @click="tab = 'round-trip'">Round Trip
</div>
<div class="tab" :class="{'active' : tab === 'multi'}" @click="tab = 'multi'">Multi - City</div>
</div>
<div class="tabs-content">
<div id="tab-oneway" class="panel">
<form action="#" method="get" class="panel-form">
<div class="form-col">
<div>From</div>
<select class="input" name="from">
<option value="Indonesia">Indonesia</option>
<option value="Italy">Italy</option>
<option value="Spain">Spain</option>
</select>
</div>
<div class="form-col">
<div>To</div>
<select class="input" name="to">
<option value="South Korea">South Korea</option>
<option value="Indonesia">Indonesia</option>
<option value="Italy">Italy</option>
<option value="Spain">Spain</option>
</select>
</div>
<div class="form-col">
<div>Expected Date</div>
<input type="date" name="date" class="input">
</div>
<div class="form-col" style="justify-content: flex-end;">
<input type="submit" value="SEARCH" class="btn">
</div>
</div>
</form>
</div>
</article>
</div>
</header>
<main class="main-wrap sans-serif">
<section class="section section--popular">
<div class="container" x-data="popularSlide()">
<div class="section__header">
<h2 class="serif">Popular Destinations</h2>
<p>
From historical cities to natural splendours, come see the best
of the world!
<span class="slide-buttons-wrap">
<i class="las la-angle-left slide-btn" @click="left()"></i>
<i class="las la-angle-right slide-btn slide-btn--dark" @click="right()"></i>
</span>
</p>
</div>
<div class="grid grid--popular">
<article class="card card--popular" id="card-1" :style="style()">
<h4>
Millenium Bridge
</h4>
<div class="location">
<i class="las la-map-marker la-lg"></i>
London, United Kingdom
</div>
</article>
<article class="card card--popular" id="card-2" :style="style()">
<h4>
Sahara Desert
</h4>
<div class="location">
<i class="las la-map-marker la-lg"></i>
Merzouga, Morocco
</div>
</article>
<article class="card card--popular" id="card-3" :style="style()">
<h4>
Gyenoubobkoug Palace
</h4>
<div class="location">
<i class="las la-map-marker la-lg"></i>
Seoul, South Korea
</div>
</article>
<article class="card card--popular" id="card-4" :style="style()">
<h4>
Kuta Beach
</h4>
<div class="location">
<i class="las la-map-marker la-lg"></i>
Bali, Indonesia
</div>
</article>
<article class="card card--popular" id="card-1" :style="style()">
<h4>
Millenium Bridge
</h4>
<div class="location">
<i class="las la-map-marker la-lg"></i>
London, United Kingdom
</div>
</article>
</div>
</div>
</section>
<section class="section section--offers">
<div class="container">
<div class="section__header section__header--center">
<h2 class="serif">Special Offers</h2>
<p>Check out our special offers tour
</p>
</div>
</div>
<div class="offer-slide-wrap">
<i class="las la-angle-left slide-btn"></i>
<div class="container">
<div class="grid grid--offers">
<article class="card card--offer">
<img src="./assets/india.jpeg" alt="Arga, India" class="offer__img">
<div class="offer__content">
<h3>Arga, India</h3>
<div class="offer__rating">
<i class="las la-star"></i>
<i class="las la-star"></i>
<i class="las la-star"></i>
<i class="las la-star"></i>
<i class="las la-star"></i>
</div>
<div class="offer__details">
<div>From <span class="offer__price">$500</span></div>
<a class="btn">DETAILS</a>
</div>
</div>
</article>
<article class="card card--offer">
<img src="./assets/athens.jpeg" alt="" class="offer__img">
<div class="offer__content">
<h3>Athene, Greece</h3>
<div class="offer__rating">
<i class="las la-star"></i>
<i class="las la-star"></i>
<i class="las la-star"></i>
<i class="las la-star"></i>
</div>
<div class="offer__details">
<div>From <span class="offer__price">$800</span></div>
<a class="btn">DETAILS</a>
</div>
</div>
</article>
<article class="card card--offer">
<img src="./assets/istanbul.jpeg" alt="" class="offer__img">
<div class="offer__content">
<h3>Istanbul, Turkey</h3>
<div class="offer__rating">
<i class="las la-star"></i>
<i class="las la-star"></i>
<i class="las la-star"></i>
<i class="las la-star"></i>
<i class="las la-star"></i>
</div>
<div class="offer__details">
<div>From <span class="offer__price">$600</span></div>
<a class="btn">DETAILS</a>
</div>
</div>
</article>
</div>
</div>
<i class="las la-angle-right slide-btn slide-btn--dark"></i>
</div>
</section>
<section class="section section--blog">
<div class="container">
<div class="section__header section__header--center">
<h2 class="serif">Our Blogs</h2>
<p>An insight to the incredible experiences <br> in the world</p>
</div>
<div class="grid grid--blog">
<article class="card card--blog card--featured">
<div class="card__img" style="background-image: url('./assets/bali.jpeg');"></div>
<div class="card__content">
<h3 class="card__title">Wonderful Bali! Try new experiences in there!</h3>
<p class="card__text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Debitis
necessitatibus natus
distinctio corporis consequuntur? Nobis obcaecati distinctio corporis consequuntur?
Nobis
obcaecati quas dignissimos porro ratione vitae minus
nam aspernatur perspiciatis quos reiciendis.</p>
<a href="#" class="card__link">Read More ></a>
</div>
</article>
<article class="card card--blog card--side">
<div class="card__img" style="background-image: url('./assets/italy.jpeg');"></div>
<div class="card__content">
<h3 class="card__title">Beautiful Italy. Lets go travelling!</h3>
<p class="card__text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Debitis
necessitatibus natus </p>
<a href="#" class="card__link">Read More ></a>
</div>
</article>
<article class="card card--blog card--side">
<div class="card__img" style="background-image: url('./assets/eiffel.jpeg');"></div>
<div class="card__content">
<h3 class="card__title">Romantic moments under Eiffel Tower</h3>
<p class="card__text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Debitis
necessitatibusue, sequi hic.
</p>
<a href="#" class="card__link">Read More ></a>
</div>
</article>
<article class="card card--blog card--side">
<div class="card__img" style="background-image: url('./assets/land.jpeg');"></div>
<div class="card__content">
<h3 class="card__title">New experiences on desert island with your friends</h3>
<p class="card__text">Debitis
necessitatibus natus
nam aspernatur perspiciatis quos reiciendis.</p>
<a href="#" class="card__link">Read More ></a>
</div>
</article>
</div>
</div>
</section>
<section class="section section--gallery">
<div class="container">
<div class="section__header">
<h2 class="serif">Destination Gallery</h2>
<p>Our photo gallery on trip</p>
</div>
<div class="grid grid--gallery">
<img src="./assets/bali.jpeg" alt="" class="card card--gallery">
<img src="./assets/milen-bridge.jpeg" alt="" class="card card--gallery">
<img src="./assets/india.jpeg" alt="" class="card card--gallery">
<img src="./assets/athens.jpeg" alt="" class="card card--gallery">
</div>
</div>
</section>
<footer class="footer">
<div class="container">
<div class="newsletter">
<h2 class="newsletter__title serif">our newsletter</h2>
<form action="#" class="newsletter-form">
<label for="email" class="label label--block">Enter your email</label>
<input name="email" type="email" class="input input--bg" placeholder="example@gmail.com"
required>
<button type="submit" class="btn">Subscribe</button>
</form>
</div>
<div class="row">
<div class="footer__col">
<div class="footer__header">
<div class="footer__col">
<div class="footer__header">
<div class="logo serif-fancy">
<i class="las la-mountain la-lg"></i> Travello</div>
</div>
<ul class="row">
<li> <a href="#"><i class="lab la-facebook-f la-2x"></i> </a></li>
<li> <a href="#"><i class="lab la-twitter la-2x"></i> </a></li>
<li> <a href="#"><i class="lab la-instagram la-2x"></i> </a></li>
</ul>
</div>
</div>
</div>
<div class="footer__col">
<div class="footer__header">Information</div>
<ul class="footer__list">
<li><a href="#" class="footer__link">Home</a></li>
<li><a href="#" class="footer__link">Explore</a></li>
<li><a href="#" class="footer__link">Travel</a></li>
<li><a href="#" class="footer__link">Blog</a></li>
</ul>
</div>
<div class="footer__col">
<div class="footer__header">Helpful Links</div>
<ul class="footer__list">
<li><a href="#" class="footer__link">Destinations</a></li>
<li><a href="#" class="footer__link">Supports</a></li>
<li><a href="#" class="footer__link">Terms & Condition</a></li>
<li><a href="#" class="footer__link">Privacy</a></li>
</ul>
</div>
<div class="footer__col">
<div class="footer__header">Contact</div>
<ul class="footer__list">
<li><a href="#" class="footer__link">+62 21 6543 4173</a></li>
<li><a href="#" class="footer__link"></a>info@travello.com</li>
<li><a href="#" class="footer__link"></a></li>
<li><a href="#" class="footer__link"></a></li>
</ul>
</div>
<div class="footer__col payment">
<div class="footer__header">Payment</div>
<ul class="row">
<li> <a href="#"><i class="lab la-stripe la-3x"></i> </a></li>
<li> <a href="#"><i class="lar la-money-bill-alt la-3x"></i> </a></li>
<li> <a href="#"><i class="las la-id-card la-3x"></i> </a></li>
</ul>
<ul class="row">
<li> <a href="#"><i class="lab la-stripe la-3x"></i> </a></li>
<li> <a href="#"><i class="lar la-money-bill-alt la-3x"></i> </a></li>
<li> <a href="#"><i class="las la-id-card la-3x"></i> </a></li>
</ul>
</div>
</div>
</div>
</footer>
</main>
<script>
function popularSlide() {
return {
slide: 0,
// for demo purpose stop after a number of moves
left() {
this.slide + 1 < 8 ? this.slide++ : this.slide;
},
right() {
this.slide - 1 > -5 ? this.slide-- : this.slide;
},
style() {
return `transform: translateX(${-150 * this.slide}px`;
}
}
}
</script>
</body>
</html>