-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
472 lines (348 loc) · 16.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home</title>
<link rel="stylesheet" href="./CSS/index.css" />
<link rel="stylesheet" href="//use.fontawesome.com/releases/v5.0.7/css/all.css">
</head>
<body>
<!-- -------------------------------------------------- NAVBAR ---------------------------------------------------------- -->
<!-- -------------------------------------------------- NAVBAR ---------------------------------------------------------- -->
<nav class="navbar">
<!-- logo -->
<div id="logo">
<a href="./index.html">
<img src="./Assets/logo.webp" alt="">
</a>
</div>
<!-- middle links -->
<ul class="flex hide">
<li><a href="./index.html">Home</a></li>
<li><a href="./about.html">About</a></li>
<li><a href="./index.html">Packages</a></li>
<li class="dropdown">
<a href="./blog.html" id="slider">Blog ▾</a>
<div id="slide" class="slide-hide">
<ul>
<li href="blog.html">Blog</li>
<li>Single Blog</li>
</ul>
</div>
</li>
<li id="nav_menu_pages"><a href="./elements.html"> Pages ▾</a></li>
<li><a href="./contact.html">Contact</a></li>
</ul>
<!-- right button -->
<div class="hide">
<button id="btn">Hot Line 052</button>
</div>
<!-- HAMBURGER MENU -->
<button type="button" class="hamburger" id="menu-btn">
<span class="hamburger-top"></span>
<span class="hamburger-middle"></span>
<span class="hamburger-bottom"></span>
</button>
<!-- MOBILE MENU -->
<div class="mobile-menu hidden" id="menu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="./about.html">About</a></li>
<li><a href="./index.html">Packages</a></li>
<li class="dropdown">
<a href="./blog.html">Blog ▾</a>
</li>
<li id="nav_menu_pages"><a href="./elements.html"> Pages ▾</a></li>
<li><a href="./contact.html">Contact</a></li>
</ul>
</div>
</nav>
<!-- -------------------------------------------------- BANNER SECTION----------------------------------------------------------- -->
<!-- -------------------------------------------------- BANNER SECTION----------------------------------------------------------- -->
<section class="banner">
<div id="italic">BEST WAY TO TOUR</div>
<div id="big"> Lorem Ipsum Dolor Amet Consec </div>
<div class="searchbar" id="searchbox">
<div class="left-searchbar">
<div class="left-searchbar-left-span" id="selectField">
<span id="selectText">Country </span>
<span id="arrow-icon"><img src="https://cdn-icons-png.flaticon.com/512/60/60781.png" alt=""></span>
</div>
<ul id="list" class="vanish">
<li class="options">Country</li>
<li class="options">One</li>
<li class="options">Two</li>
<li class="options">Three</li>
</ul>
<div class="left-searchbar-right-span">
<span>City</span>
<span><img src="https://cdn-icons-png.flaticon.com/512/60/60781.png" alt=""> </span>
</div>
</div>
<div class="right-searchbar">
<button id="search-btn">Search</button>
</div>
</div>
</section>
<!-- ------------------------------------------------------- Donation section ------------------------------------------------- -->
<!-- ------------------------------------------------------- Donation section ------------------------------------------------- -->
<section class="donation">
<div class="donation-container">
<div>
<img src="./Assets/money_bag.svg" alt="moneybag">
<div><h3>Donation</h3>
<p>Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna</p>
</div>
<div><a href="#" >Read more</a></div>
</div>
<div>
<img src="./Assets/money_bag.svg" alt="moneybag">
<div><h3>Donation</h3>
<p>Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna</p></div>
<div>
<a href="#">Read more</a>
</div>
</div>
<div>
<img src="./Assets/money_bag.svg" alt="moneybag">
<div><h3>Donation</h3>
<p>Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna</p></div>
<div> <a href="#">Read more</a></div>
</div>
</div>
</section>
<!-- ---------------------------------------------------- Tour Section ------------------------------------------------------->
<!-- ---------------------------------------------------- Tour Section ------------------------------------------------------->
<section class="tour">
<div id="tour-left">
<img src="./Assets/tour left.webp" alt="">
</div>
<div id="tour-right">
<img src="./Assets/balloon.webp" alt="">
<div id="tour-right-inner">
<h2 id="amazing">Amazing Tour</h2>
<p id="amazing-para">Lorem ipsum dolor sit amet, consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Quis ipsum suspendisse ultrices gravida Risus commodo viverra maecenas accumsan lacus vel facilisis.</p>
<p id="amazing-para-italic">Lorem ipsum dolor sit amet, consectetur adipiscing elit sed do eiusmod tempor incididunt ut</p>
</div>
<div class="country-conatiner">
<div class="counrty">
<img src="./Assets/london.webp" alt="">
<div>
<h3>London</h3>
<h4>35 Places</h4>
</div>
</div>
<div class="counrty">
<img src="./Assets/kashmir.webp" alt="">
<div>
<h3>Kashmir</h3>
<h4>75 places</h4>
</div>
</div>
<div class="counrty">
<img src="./Assets/china.webp" alt="">
<div>
<h3>China</h3>
<h4>85 Places</h4>
</div>
</div>
</div>
</div>
</section>
<!-- ------------------------------------------------- Most Popular place section ----------------------------------------------------->
<!-- ------------------------------------------------- Most Popular place section ----------------------------------------------------->
<section class="most-popular-place">
<div class="top">
<img src="./Assets/balloon.webp" alt="">
<div id="heading">Most Popular Place</div>
<div id="para">Lorem Ipsum Dolor Sit Amet, Consectetur Adipiscing Elit Sed Do <br> Eiusmod Tempor Incididunt Ut
</div>
</div>
<div class="bottom">
<div>
<img src="./Assets/life of egeft.webp" alt="">
<div class="heading"><b>Life of Egeft</b></div>
<div class="para">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor</div>
<div > <a href="#" class="link">Book Now</a></div>
</div>
<div>
<img src="./Assets/biking in norway.webp" alt="">
<div class="heading"><b>Biking in Norway</b></div>
<div class="para">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor</div>
<div><a href="#" class="link">Book Now</a></div>
</div>
<div id="grid-span3">
<img src="./Assets/tour of iceland.webp" alt="">
<div class="heading"><b>Tour of iceland</b></div>
<div class="para">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor</div>
<div><a href="#" class="link">Book Now</a></div>
</div>
</div>
</section>
<!-- ---------------------------------------------- Amanzing Tour Bus Section --------------------------------------------- -->
<!-- ---------------------------------------------- Amanzing Tour Bus Section --------------------------------------------- -->
<section class="amazing-tour-bus">
<div id="top-left">
<img src="./Assets/balloon.webp" alt="">
<h2 id="amazing">Amazing Tour</h2>
<p id="amazing-para">Lorem ipsum dolor sit amet, consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Quis ipsum suspendisse ultrices gravida Risus commodo viverra maecenas accumsan lacus vel facilisis.</p>
<p id="amazing-para-italic">Lorem ipsum dolor sit amet, consectetur adipiscing elit sed do eiusmod tempor incididunt ut</p>
</div>
<div id="mid">
<img src="./Assets/amazing tour bus.webp" alt="" id="left-down">
</div>
<div id="right">
<img src="./Assets/ama.webp" alt="">
</div>
<div id="absolute">
View ALL
</div>
</section>
<!-- -------------------------------------------------- NEWSLETTER SECTION ---------------------------------------------------------- -->
<!-- -------------------------------------------------- NEWSLETTER SECTION ---------------------------------------------------------- -->
<section class="newsletter">
<div class="newsletter-container">
<div class="top">
Join Our Newsletter
</div>
<div class="mid">
Subscribe to get Updated with new offers
</div>
<div class="bottom">
<input type="email" placeholder="Enter email address">
<button>SUBSCRIBE NOW</button>
</div>
</div>
</section>
<!-- -------------------------------------------------- BLOG SECTION ---------------------------------------------------------- -->
<!-- -------------------------------------------------- BLOG SECTION ---------------------------------------------------------- -->
<section class="blog">
<div class="top">
<img src="./Assets/balloon.webp" alt="" id="baloon">
<div id="heading">our blog</div>
<div id="para">Lorem Ipsum Dolor Sit Amet, Consectetur Adipiscing Elit Sed Do Eiusmod Tempor Incididunt Ut</div>
</div>
<div class="grid">
<div class="grid-item">
<img src="./Assets/car rental.png" alt="">
<h1>Luxerious Car Rental</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.</p>
<div class="icons">
<span><i class="far fa-calendar"></i> 13th Dec </span>
<span><i class="far fa-heart"></i> 15 </span>
<span><i class="far fa-comment"></i> 10</span>
</div>
</div>
<div class="grid-item">
<img src="./Assets/car rental 2.png" alt="">
<h1>Luxerious Car Rental</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.</p>
<div class="icons">
<span><i class="far fa-calendar"></i> 13th Dec </span>
<span><i class="far fa-heart"></i> 15 </span>
<span><i class="far fa-comment"></i> 10</span>
</div>
</div>
<div class="grid-item">
<img src="./Assets/car rental 3.png" alt="">
<h1>Luxerious Car Rental</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.</p>
<div class="icons">
<span><i class="far fa-calendar"></i> 13th Dec </span>
<span><i class="far fa-heart"></i> 15 </span>
<span><i class="far fa-comment"></i> 10</span>
</div>
</div>
</div>
</section>
<!-- -------------------------------------------------- FOOTER SECTION ---------------------------------------------------------- -->
<!-- -------------------------------------------------- FOOTER SECTION ---------------------------------------------------------- -->
<footer class="footer">
<div class="footer-item">
<h2>About Agency</h2>
<p>The world has become so fast paced that people don’t want to stand by reading a page of information, they would much rather look at a presentation and understand the message. It has come to a point where images</p>
</div>
<div class="footer-item-two">
<h2>Navigation Links</h2>
<div>
<a href="./index.html">Home</a>
<a href="">Team</a>
<a href="">Features</a>
<a href="">Pricing</a>
<a href="">Services</a>
<a href="">Blog</a>
<a href="">Portfolio</a>
<a href="">Contact</a>
</div>
</div>
<div class="footer-item-three">
<h2>Newsletter</h2>
<p>Heaven fruitful doesn't over lesser in days. Appear creeping seasons deve behold bearing days open</p>
<div id="input">
<input type="email" placeholder="Email Address">
<button><i class="fab fa-telegram-plane"></i></button>
</div>
</div>
<div class="footer-item">
<h2>Instafeed</h2>
<a href="./index.html"><img src="./Assets/instafeed1.webp" alt=""></a>
<a href="./index.html"><img src="./Assets/instafeed2.webp" alt=""></a>
<a href="./index.html"><img src="./Assets/instafeed3.webp" alt=""></a>
<a href="./index.html"><img src="./Assets/instafeed4.webp" alt=""></a>
<a href="./index.html"><img src="./Assets/instafeed5.webp" alt=""></a>
<a href="./index.html"><img src="./Assets/instafeed6.webp" alt=""></a>
<a href="./index.html"><img src="./Assets/instafeed7.webp" alt=""></a>
<a href="./index.html"><img src="./Assets/instafeed8.webp" alt=""></a>
</div>
</footer>
<div class="copyright">
<div>
Copyright ©2022 All rights reserved | This template is made with <i class="far fa-heart"></i> by <a href="./index.html">Colorlib</a>
</div>
<div id="social-icons">
<i class="fab fa-facebook-f"></i>
<i class="fab fa-twitter"></i>
<i class="fas fa-globe"></i>
<i class="fab fa-behance"></i>
</div>
</div>
</body>
</html>
<script>
const btn = document.getElementById('menu-btn')
const nav = document.getElementById('menu')
function navToggle() {
btn.classList.toggle('open')
nav.classList.toggle('hidden')
document.body.classList.toggle('no-scroll')
}
btn.addEventListener('click', navToggle)
// nav links dropdown hover-->
var slider = document.getElementById("slider")
var slide = document.getElementById("slide")
slider.addEventListener("mouseover", () => {
slide.style.display = "block"
})
slider.addEventListener("mouseout", () => {
slide.style.display = "none"
})
// custom select dropdown --->
var selectField = document.getElementById("selectField");
var selectText = document.getElementById("selectText");
var options = document.getElementsByClassName("options")
var list = document.getElementById("list")
var arrowIcon = document.getElementById("arrow-icon")
selectField.addEventListener("click", () => {
list.classList.toggle("vanish");
arrowIcon.classList.toggle("rotate")
})
for (const option of options) {
option.addEventListener("click", () => {
selectText.innerHTML = option.innerHTML;
list.classList.toggle("vanish");
arrowIcon.classList.toggle("rotate")
})
}
</script>