-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
572 lines (486 loc) · 26 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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="img/favicon.png" type="image/png">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet">
<!--=============== SWIPER CSS ===============-->
<link rel="stylesheet" href="css/swiper-bundle.min.css">
<!--=============== CSS ===============-->
<link rel="stylesheet" href="css/styles.css">
<title>Travel Website </title>
</head>
<body>
<header class="header" id="header">
<nav class="nav container">
<a href="#" class="nav__logo">Travel</a>
<div class="nav__menu" id="nav-menu">
<ul class="nav__list">
<li class="nav__item">
<a href="#home" class="nav__link active-link">Home</a>
</li>
<li class="nav__item">
<a href="#about" class="nav__link">About</a>
</li>
<li class="nav__item">
<a href="#discover" class="nav__link">Discover</a>
</li>
<li class="nav__item">
<a href="#place" class="nav__link">Places</a>
</li>
<li class="nav__item">
<a href="#contact" class="nav__link">Contact</a>
</li>
</ul>
<div class="nav__dark">
<!-- Theme change button -->
<span class="change-theme-name">Dark mode</span>
<i class="ri-moon-line change-theme" id="theme-button"></i>
<div class="ri-account-circle-line change-theme" id="login-btn"></div>
</div>
<i class="ri-close-line nav__close" id="nav-close"></i>
</div>
<div class="nav__toggle" id="nav-toggle">
<i class="ri-function-line"></i>
</div>
</nav>
<form action="" class="login-form">
<div class="inputBox">
<span>username</span>
<input type="text" placeholder="enter your name">
</div>
<div class="inputBox">
<span>password</span>
<input type="password" placeholder="enter your password">
</div>
<div class="remember">
<input type="checkbox" name="" id="login-remember">
<label for="login-remember">remember me</label>
</div>
<input type="submit" class="btn" value="login">
</form>
</header>
<main class="main">
<!--==================== HOME ====================-->
<section class="home" id="home">
<!--==================== VIDEO ====================-->
<video class="video-slide active" src="video/1.mp4" autoplay muted loop></video>
<video class="video-slide" src="video/2.mp4" autoplay muted loop></video>
<div class="slider-navigation">
<div class="nav-btn active"></div>
<div class="nav-btn"></div>
</div>
<div class="home__container container grid">
<div class="home__data">
<span class="home__data-subtitle">Discover your place</span>
<h1 class="home__data-title">Explore The <br> Best <b>Beautiful <br> Beaches</b></h1>
<a href="#" class="button">Explore</a>
</div>
<div class="home__social">
<a href="https://www.facebook.com/" target="_blank" class="home__social-link">
<i class="ri-facebook-box-fill"></i>
</a>
<a href="https://www.instagram.com/" target="_blank" class="home__social-link">
<i class="ri-instagram-fill"></i>
</a>
<a href="https://twitter.com/" target="_blank" class="home__social-link">
<i class="ri-twitter-fill"></i>
</a>
</div>
<!--==================== Box ====================-->
<!--<div class="home__info">
<div>
<span class="home__info-title">5 best places to visit</span>
<a href="" class="button button--flex button--link home__info-button">
More <i class="ri-arrow-right-line"></i>
</a>
</div>
<div class="home__info-overlay">
<img src="img/home2.jpg" alt="" class="home__info-img">
</div>
</div>-->
</div>
</section>
<!--==================== ABOUT ====================-->
<section class="form-container">
<form action="">
<div class="inputBox">
<span>where to</span>
<input type="text" placeholder="search places">
</div>
<div class="inputBox">
<span>arrivals</span>
<input type="date">
</div>
<div class="inputBox">
<span>leaving</span>
<input type="date">
</div>
<input type="submit" value="book now" class="btn">
</form>
</section>
<section class="about section" id="about">
<div class="about__container container grid">
<div class="about__data">
<h2 class="section__title about__title">More Information <br> About The Best Beaches</h2>
<p class="about__description">You can find the most beautiful and pleasant places at the best
prices with special discounts, you choose the place we will guide you all the way to wait, get your
place now.
</p>
<a href="#" class="button">Reserve a place</a>
</div>
<div class="about__img">
<div class="about__img-overlay">
<img src="img/about1.jpg" alt="" class="about__img-one">
</div>
<div class="about__img-overlay">
<img src="img/about2.jpg" alt="" class="about__img-two">
</div>
</div>
</div>
</section>
<!--==================== DISCOVER ====================-->
<section class="discover section" id="discover">
<h2 class="section__title">Discover the most <br> attractive places</h2>
<div class="discover__container container swiper-container">
<div class="swiper-wrapper">
<!--==================== DISCOVER 1 ====================-->
<div class="discover__card swiper-slide">
<img src="img/discover1.jpg" alt="" class="discover__img">
<div class="discover__data">
<h2 class="discover__title">Bali</h2>
<span class="discover__description">24 tours available</span>
</div>
</div>
<!--==================== DISCOVER 2 ====================-->
<div class="discover__card swiper-slide">
<img src="img/discover2.jpg" alt="" class="discover__img">
<div class="discover__data">
<h2 class="discover__title">Hawaii</h2>
<span class="discover__description">15 tours available</span>
</div>
</div>
<!--==================== DISCOVER 3 ====================-->
<div class="discover__card swiper-slide">
<img src="img/discover3.jpg" alt="" class="discover__img">
<div class="discover__data">
<h2 class="discover__title">Hvar</h2>
<span class="discover__description">18 tours available</span>
</div>
</div>
<!--==================== DISCOVER 4 ====================-->
<div class="discover__card swiper-slide">
<img src="img/discover4.jpg" alt="" class="discover__img">
<div class="discover__data">
<h2 class="discover__title">Whitehaven</h2>
<span class="discover__description">32 tours available</span>
</div>
</div>
</div>
</div>
</section>
<!--==================== EXPERIENCE ====================-->
<section class="experience section">
<h2 class="section__title">With Our Experience <br> We Will Serve You</h2>
<div class="experience__container container grid">
<div class="experience__content grid">
<div class="experience__data">
<h2 class="experience__number">20</h2>
<span class="experience__description">Year <br> Experience</span>
</div>
<div class="experience__data">
<h2 class="experience__number">75</h2>
<span class="experience__description">Complete <br> tours</span>
</div>
<div class="experience__data">
<h2 class="experience__number">650+</h2>
<span class="experience__description">Tourist <br> Destination</span>
</div>
</div>
<div class="experience__img grid">
<div class="experience__overlay">
<img src="img/experience1.jpg" alt="" class="experience__img-one">
</div>
<div class="experience__overlay">
<img src="img/experience2.jpg" alt="" class="experience__img-two">
</div>
</div>
</div>
</section>
<!--==================== VIDEO ====================-->
<section class="video section">
<h2 class="section__title">Video Tour</h2>
<div class="video__container container">
<p class="video__description">Find out more with our video of the most beautiful and
pleasant places for you and your family.
</p>
<div class="video__content">
<video id="video-file">
<source src="video/video.mp4" type="video/mp4">
</video>
<button class="button button--flex video__button" id="video-button">
<i class="ri-play-line video__button-icon" id="video-icon"></i>
</button>
</div>
</div>
</section>
<!--==================== PLACES ====================-->
<section class="place section" id="place">
<h2 class="section__title">Choose Your Place</h2>
<div class="place__container container grid">
<!--==================== PLACES CARD 1 ====================-->
<div class="place__card">
<img src="img/place1.jpg" alt="" class="place__img">
<div class="place__content">
<span class="place__rating">
<i class="ri-star-line place__rating-icon"></i>
<span class="place__rating-number">4,8</span>
</span>
<div class="place__data">
<h3 class="place__title">Bali</h3>
<span class="place__subtitle">Indonesia</span>
<span class="place__price">$2499</span>
</div>
</div>
<button class="button button--flex place__button">
<i class="ri-arrow-right-line"></i>
</button>
</div>
<!--==================== PLACES CARD 2 ====================-->
<div class="place__card">
<img src="img/place2.jpg" alt="" class="place__img">
<div class="place__content">
<span class="place__rating">
<i class="ri-star-line place__rating-icon"></i>
<span class="place__rating-number">5,0</span>
</span>
<div class="place__data">
<h3 class="place__title">Bora Bora</h3>
<span class="place__subtitle">Polinesia</span>
<span class="place__price">$1599</span>
</div>
</div>
<button class="button button--flex place__button">
<i class="ri-arrow-right-line"></i>
</button>
</div>
<!--==================== PLACES CARD 3 ====================-->
<div class="place__card">
<img src="img/place3.jpg" alt="" class="place__img">
<div class="place__content">
<span class="place__rating">
<i class="ri-star-line place__rating-icon"></i>
<span class="place__rating-number">4,9</span>
</span>
<div class="place__data">
<h3 class="place__title">Hawaii</h3>
<span class="place__subtitle">EE.UU</span>
<span class="place__price">$3499</span>
</div>
</div>
<button class="button button--flex place__button">
<i class="ri-arrow-right-line"></i>
</button>
</div>
<!--==================== PLACES CARD 4 ====================-->
<div class="place__card">
<img src="img/place4.jpg" alt="" class="place__img">
<div class="place__content">
<span class="place__rating">
<i class="ri-star-line place__rating-icon"></i>
<span class="place__rating-number">4,8</span>
</span>
<div class="place__data">
<h3 class="place__title">Whitehaven</h3>
<span class="place__subtitle">Australia</span>
<span class="place__price">$2499</span>
</div>
</div>
<button class="button button--flex place__button">
<i class="ri-arrow-right-line"></i>
</button>
</div>
<!--==================== PLACES CARD 5 ====================-->
<div class="place__card">
<img src="img/place5.jpg" alt="" class="place__img">
<div class="place__content">
<span class="place__rating">
<i class="ri-star-line place__rating-icon"></i>
<span class="place__rating-number">4,8</span>
</span>
<div class="place__data">
<h3 class="place__title">Hvar</h3>
<span class="place__subtitle">Croacia</span>
<span class="place__price">$1999</span>
</div>
</div>
<button class="button button--flex place__button">
<i class="ri-arrow-right-line"></i>
</button>
</div>
</div>
</section>
<!--==================== SUBSCRIBE ====================-->
<section class="subscribe section">
<div class="subscribe__bg">
<div class="subscribe__container container">
<h2 class="section__title subscribe__title">Subscribe Our <br> Newsletter</h2>
<p class="subscribe__description">Subscribe to our newsletter and get a
special 30% discount.
</p>
<form action="" class="subscribe__form">
<input type="text" placeholder="Enter email" class="subscribe__input">
<button class="button">
Subscribe
</button>
</form>
</div>
</div>
</section>
<!--==================== Contact us ====================-->
<section class="contact section" id="contact">
<h2 class="section__title ">contact us</h2>
<form action="" method="GET" enctype="text/plain" data-aos="zoom">
<div class="inputBox">
<input type="text" placeholder="name" data-aos="fade-up">
<input type="email" placeholder="email" data-aos="fade-up">
</div>
<div class="inputBox">
<input type="number" placeholder="number" data-aos="fade-up">
<input type="text" placeholder="subject" data-aos="fade-up">
</div>
<textarea name="" placeholder="your message" id="" cols="30" rows="10" data-aos="fade-up"></textarea>
<input type="submit" value="send message" class="btn">
</form>
</section>
<!--==================== SPONSORS ====================-->
<section class="sponsor section">
<div class="sponsor__container container grid">
<div class="sponsor__content">
<img src="img/sponsors1.png" alt="" class="sponsor__img">
</div>
<div class="sponsor__content">
<img src="img/sponsors2.png" alt="" class="sponsor__img">
</div>
<div class="sponsor__content">
<img src="img/sponsors3.png" alt="" class="sponsor__img">
</div>
<div class="sponsor__content">
<img src="img/sponsors4.png" alt="" class="sponsor__img">
</div>
<div class="sponsor__content">
<img src="img/sponsors5.png" alt="" class="sponsor__img">
</div>
</div>
</section>
</main>
<!--==================== FOOTER ====================-->
<footer class="footer section">
<div class="footer__container container grid">
<div class="footer__content grid">
<div class="footer__data">
<h3 class="footer__title">Travel</h3>
<p class="footer__description">Travel you choose the <br> destination,
we offer you the <br> experience.
</p>
<div>
<a href="https://www.facebook.com/" target="_blank" class="footer__social">
<i class="ri-facebook-box-fill"></i>
</a>
<a href="https://twitter.com/" target="_blank" class="footer__social">
<i class="ri-twitter-fill"></i>
</a>
<a href="https://www.instagram.com/" target="_blank" class="footer__social">
<i class="ri-instagram-fill"></i>
</a>
<a href="https://www.youtube.com/" target="_blank" class="footer__social">
<i class="ri-youtube-fill"></i>
</a>
</div>
</div>
<div class="footer__data">
<h3 class="footer__subtitle">About</h3>
<ul>
<li class="footer__item">
<a href="" class="footer__link">About Us</a>
</li>
<li class="footer__item">
<a href="" class="footer__link">Features</a>
</li>
<li class="footer__item">
<a href="" class="footer__link">New & Blog</a>
</li>
</ul>
</div>
<div class="footer__data">
<h3 class="footer__subtitle">Company</h3>
<ul>
<li class="footer__item">
<a href="" class="footer__link">Team</a>
</li>
<li class="footer__item">
<a href="" class="footer__link">Plan y Pricing</a>
</li>
<li class="footer__item">
<a href="" class="footer__link">Become a member</a>
</li>
</ul>
</div>
<div class="footer__data">
<h3 class="footer__subtitle">Support</h3>
<ul>
<li class="footer__item">
<a href="" class="footer__link">FAQs</a>
</li>
<li class="footer__item">
<a href="" class="footer__link">Support Center</a>
</li>
<li class="footer__item">
<a href="" class="footer__link">Contact Us</a>
</li>
</ul>
</div>
</div>
<div class="footer__rights">
<p class="footer__copy">© 2022 JavadTinatpak. All rigths reserved.</p>
<div class="footer__terms">
<a href="#" class="footer__terms-link">Terms & Agreements</a>
<a href="#" class="footer__terms-link">Privacy Policy</a>
</div>
</div>
</div>
</footer>
<!--========== SCROLL UP ==========-->
<a href="#" class="scrollup" id="scroll-up">
<i class="ri-arrow-up-line scrollup__icon"></i>
</a>
<!--=============== SCROLL REVEAL===============-->
<script src="js/scrollreveal.min.js"></script>
<!--=============== SWIPER JS ===============-->
<script src="js/swiper-bundle.min.js"></script>
<!--=============== MAIN JS ===============-->
<script src="js/main.js"></script>
<script type="text/javascript">
//Javacript for video slider navigation
const btns = document.querySelectorAll(".nav-btn");
const slides = document.querySelectorAll(".video-slide");
var sliderNav = function(manual){
btns.forEach((btn) => {
btn.classList.remove("active");
});
slides.forEach((slide) => {
slide.classList.remove("active");
});
btns[manual].classList.add("active");
slides[manual].classList.add("active");
}
btns.forEach((btn, i) => {
btn.addEventListener("click", () => {
sliderNav(i);
});
});
</script>
<script src="js/script.js"></script>
</body>
</html>