forked from sunil9813/Hotel-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
440 lines (400 loc) · 15.9 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<title>Hotel Website</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.css" integrity="sha512-UTNP5BXLIptsaj5WdKFrkFov94lDx+eBvbKyoe1YAfjeRPC+gT5kyZ10kOHCfNZqEui1sxmqvodNUx3KbuYI/A==" crossorigin="anonymous"
referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css" integrity="sha512-sMXtMNL1zRzolHYKEujM2AqCLUR9F2C4/05cdbxjjLSRvMQIciEPCQZo++nk7go3BtSuK9kfa/s+a4f4i5pLkw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
</head>
<body>
<header class="header" id="navigation-menu">
<div class="container">
<nav>
<a href="#" class="logo"> <img src="image/logo.png" alt=""> </a>
<ul class="nav-menu">
<li> <a href="#home" class="nav-link">Home</a> </li>
<li> <a href="#about" class="nav-link">About</a> </li>
<li> <a href="#rooms" class="nav-link">Rooms</a> </li>
<li> <a href="#restaurant" class="nav-link">Restaurant</a> </li>
<li> <a href="#gallery" class="nav-link">Gallery</a> </li>
<li> <a href="#contact" class="nav-link">Contact</a> </li>
</ul>
<div class="hambuger">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</div>
</nav>
</div>
</header>
<script>
const hambuger = document.querySelector('.hambuger');
const navMenu = document.querySelector('.nav-menu');
hambuger.addEventListener("click", mobileMenu);
function mobileMenu() {
hambuger.classList.toggle("active");
navMenu.classList.toggle("active");
}
const navLink = document.querySelectorAll('.nav-link');
navLink.forEach((n) => n.addEventListener("click", closeMenu));
function closeMenu() {
hambuger.classList.remove("active");
navMenu.classList.remove("active");
}
</script>
<section class="home" id="home">
<div class="head_container">
<div class="box">
<div class="text">
<h1>Hello.Salut.Hola</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 ullamco laboris nisi ut aliquip ex ea commodo consequat. </p>
<button>MORE INFO</button>
</div>
</div>
<div class="image">
<img src="image/home1.jpg" class="slide">
</div>
<div class="image_item">
<img src="image/home1.jpg" alt="" class="slide active" onclick="img('image/home1.jpg')">
<img src="image/home2.jpg" alt="" class="slide" onclick="img('image/home2.jpg')">
<img src="image/home3.jpg" alt="" class="slide" onclick="img('image/home3.jpg')">
<img src="image/home4.jpg" alt="" class="slide" onclick="img('image/home4.jpg')">
</div>
</div>
</section>
<script>
function img(anything) {
document.querySelector('.slide').src = anything;
}
function change(change) {
const line = document.querySelector('.image');
line.style.background = change;
}
</script>
<section class="book">
<div class="container flex">
<div class="input grid">
<div class="box">
<label>Check-in:</label>
<input type="date" placeholder="Check-in-Date">
</div>
<div class="box">
<label>Check-out:</label>
<input type="date" placeholder="Check-out-Date">
</div>
<div class="box">
<label>Adults:</label> <br>
<input type="number" placeholder="0">
</div>
<div class="box">
<label>Children:</label> <br>
<input type="number" placeholder="0">
</div>
</div>
<div class="search">
<input type="submit" value="SEARCH">
</div>
</div>
</section>
<section class="about top" id="about">
<div class="container flex">
<div class="left">
<div class="img">
<img src="image/a1.jpg" alt="" class="image1">
<img src="image/a2.jpg" alt="" class="image2">
</div>
</div>
<div class="right">
<div class="heading">
<h5>RAISING COMFOMRT TO THE HIGHEST LEVEL</h5>
<h2>Welcome to Luviana Hotel Resort</h2>
<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 ullamco laboris nisi ut aliquip ex ea commodo consequat. </p>
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<button class="btn1">READ MORE</button>
</div>
</div>
</div>
</section>
<section class="wrapper top">
<div class="container">
<div class="text">
<h2>Our Amenities</h2>
<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 ullamco laboris nisi ut aliquip ex ea commodo consequat. </p>
<div class="content">
<div class="box flex">
<i class="fas fa-swimming-pool"></i>
<span>Swimming pool</span>
</div>
<div class="box flex">
<i class="fas fa-dumbbell"></i>
<span>Gym & yogo</span>
</div>
<div class="box flex">
<i class="fas fa-spa"></i>
<span>Spa & massage</span>
</div>
<div class="box flex">
<i class="fas fa-ship"></i>
<span>Boat Tours</span>
</div>
<div class="box flex">
<i class="fas fa-swimmer"></i>
<span>Surfing Lessons</span>
</div>
<div class="box flex">
<i class="fas fa-microphone"></i>
<span>Conference room</span>
</div>
<div class="box flex">
<i class="fas fa-water"></i>
<span>Diving & smorking</span>
</div>
<div class="box flex">
<i class="fas fa-umbrella-beach"></i>
<span>Private Beach</span>
</div>
</div>
</div>
</div>
</section>
<section class="room top" id="room">
<div class="container">
<div class="heading_top flex1">
<div class="heading">
<h5>RAISING COMFORT TO THE HIGHEST LEVEL</h5>
<h2>Rooms $ Suites</h2>
</div>
<div class="button">
<button class="btn1">VIEW ALL</button>
</div>
</div>
<div class="content grid">
<div class="box">
<div class="img">
<img src="image/r1.jpg" alt="">
</div>
<div class="text">
<h3>Superior Soble Rooms</h3>
<p> <span>$</span>129 <span>/per night</span> </p>
</div>
</div>
<div class="box">
<div class="img">
<img src="image/r2.jpg" alt="">
</div>
<div class="text">
<h3>Superior Soble Rooms</h3>
<p> <span>$</span>129 <span>/per night</span> </p>
</div>
</div>
<div class="box">
<div class="img">
<img src="image/r3.jpg" alt="">
</div>
<div class="text">
<h3>Superior Soble Rooms</h3>
<p> <span>$</span>129 <span>/per night</span> </p>
</div>
</div>
</div>
</div>
</section>
<section class="wrapper wrapper2 top">
<div class="container">
<div class="text">
<div class="heading">
<h5>AT THE HEART OF COMMUNICATION</h5>
<h2>People Say</h2>
</div>
<div class="para">
<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 ullamco laboris nisi ut aliquip ex ea commodo consequat. </p>
<div class="box flex">
<div class="img">
<img src="image/c.jpg" alt="">
</div>
<div class="name">
<h5>KATE PALMER</h5>
<h5>IDAHO</h5>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="restaurant top" id="restaurant">
<div class="container flex">
<div class="left">
<img src="image/re.jpg" alt="">
</div>
<div class="right">
<div class="text">
<h2>Our Restaurant</h2>
<p> Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
<div class="accordionWrapper">
<div class="accordionItem open">
<h2 class="accordionIHeading">Italian Kitchen</h2>
<div class="accordionItemContent">
<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 ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
</div>
</div>
<div class="accordionItem close">
<h2 class="accordionIHeading">Mexican Kitchen</h2>
<div class="accordionItemContent">
<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 ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
</div>
</div>
<div class="accordionItem close">
<h2 class="accordionIHeading">Italian Kitchen</h2>
<div class="accordionItemContent">
<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 ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
</div>
</div>
<div class="accordionItem close">
<h2 class="accordionIHeading">Mexican Kitchen</h2>
<div class="accordionItemContent">
<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 ullamco laboris nisi ut aliquip ex ea commodo consequat.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<script>
var accItem = document.getElementsByClassName('accordionItem');
var accHD = document.getElementsByClassName('accordionIHeading');
for (i = 0; i < accHD.length; i++) {
accHD[i].addEventListener('click', toggleItem, false);
}
function toggleItem() {
var itemClass = this.parentNode.className;
for (var i = 0; i < accItem.length; i++) {
accItem[i].className = 'accordionItem close';
}
if (itemClass == 'accordionItem close') {
this.parentNode.className = 'accordionItem open';
}
}
</script>
<section class="gallary mtop " id="gallary">
<div class="container">
<div class="heading_top flex1">
<div class="heading">
<h5>WELCOME TO OUR PHOTO GALLERY</h5>
<h2>Photo Gallery of Our Hotel</h2>
</div>
<div class="button">
<button class="btn1">VIEW GALLERY</button>
</div>
</div>
<div class="owl-carousel owl-theme">
<div class="item">
<img src="image/g1.jpg" alt="">
</div>
<div class="item">
<img src="image/g2.jpg" alt="">
</div>
<div class="item">
<img src="image/g3.jpg" alt="">
</div>
<div class="item">
<img src="image/g4.jpg" alt="">
</div>
<div class="item">
<img src="image/g5.jpg" alt="">
</div>
<div class="item">
<img src="image/g6.jpg" alt="">
</div>
<div class="item">
<img src="image/g7.jpg" alt="">
</div>
<div class="item">
<img src="image/g8.jpg" alt="">
</div>
</div>
</div>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.js" integrity="sha512-gY25nC63ddE0LcLPhxUJGFxa2GoIyA5FLym4UJqHDEMHjp8RET6Zn/SHo1sltt3WuVtqfyxECP38/daUc/WVEA==" crossorigin="anonymous"
referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js" integrity="sha512-bPs7Ae6pVvhOSiIcyUClR7/q2OAsRiovw4vAkX+zJbw3ShAeeqezq50RIIcIURq7Oa20rW2n2q+fyXBNcU9lrw==" crossorigin="anonymous"
referrerpolicy="no-referrer"></script>
<script>
$('.owl-carousel').owlCarousel({
loop: true,
margin: 10,
nav: true,
dots: false,
navText: ["<i class='fas fa-chevron-left'></i>", "<i class='fas fa-chevron-right'></i>"],
responsive: {
0: {
items: 1
},
768: {
items: 2
},
1000: {
items: 4
}
}
})
</script>
<section class="map top">
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d14131.036667732067!2d85.32395955!3d27.69383745!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2snp!4v1637755481449!5m2!1sen!2snp" width="600" height="450" style="border:0;"
allowfullscreen="" loading="lazy"></iframe>
</section>
<footer>
<div class="container grid top">
<div class="box">
<img src="https://img.icons8.com/external-flatart-icons-flat-flatarticons/48/000000/external-hotel-hotel-services-and-city-elements-flatart-icons-flat-flatarticons-1.png" />
<p> Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Accepted payment methods</p>
<div class="payment grid">
<img src="https://img.icons8.com/color/48/000000/visa.png" />
<img src="https://img.icons8.com/color/48/000000/mastercard.png" />
<img src="https://img.icons8.com/color-glass/48/000000/paypal.png" />
<img src="https://img.icons8.com/fluency/48/000000/amex.png" />
</div>
</div>
<div class="box">
<h3>Recent News</h3>
<ul>
<li>Our Secret Island Boat Tour Is Just for You</li>
<li>Chill and Escape in Our Natural Shelters</li>
<li>September in Luviana Hotel</li>
<li>Live Music Concerts at Luviana</li>
</ul>
</div>
<div class="box">
<h3>For Customers</h3>
<ul>
<li>About Luviana</li>
<li>Customer Care/Help</li>
<li>Corporate Accounts</li>
<li>Financial Information</li>
<li>Terms & Conditions</li>
</ul>
</div>
<div class="box">
<h3>Contact Us</h3>
<ul>
<li>3015 Grand Ave, Cocount Grove, Merrick Way FL 123456</li>
<li><i class="far fa-envelope"></i>[email protected] </li>
<li><i class="far fa-phone-alt"></i>123 456 7898 </li>
<li><i class="far fa-phone-alt"></i>123 456 7898 </li>
<li><i class="far fa-comments"></i>24/ 7 Customer Services </li>
</ul>
</div>
</div>
</footer>
</body>
</html>