-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
419 lines (391 loc) · 16 KB
/
index.html
File metadata and controls
419 lines (391 loc) · 16 KB
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
<!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>Sip & Savor</title>
<!--font owesome cdn link-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<!--custom css file link-->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header class="header">
<a href="#" class="logo" alt="">
<img src="images/logo.png" width="80px" height="80px" alt="">
</a>
<nav class="navbar">
<a href="#home">home</a>
<a href="#about">about</a>
<a href="#menu">menu</a>
<a href="#products">products</a>
<a href="#review">review</a>
<a href="#contact">contact</a>
<a href="#blogs">blogs</a>
<a href="./js/MapComponents.html">maps</a>
</nav>
<div class="icons">
<div class="fas fa-search" id="search-btn" ></div>
<div class="fas fa-shopping-cart" id="cart-btn"></div>
<div class="fas fa-bars" id="menu-btn"></div>
</div>
<div class="search-form">
<input type="search" id="search-box" placeholder="search here...">
<label for="search-box" class="fas fa-search" onclick="search()"></label>
</div>
<div class="cart-items-container">
<div class="cart-item">
<span class="fas fa-times" onclick="removeItem(this)"></span>
<img src="images/cart-item-01.png" alt="">
<div class="content">
<h3>lime juice</h3>
<div class="price">$15.99/-</div>
</div>
</div>
<div class="cart-item">
<span class="fas fa-times" onclick="removeItem(this)"></span>
<img src="images/cart-item-02.png" alt="">
<div class="content">
<h3>Carbonated Water</h3>
<div class="price">$12.99/-</div>
</div>
</div>
<div class="cart-item">
<span class="fas fa-times" onclick="removeItem(this)"></span>
<img src="images/cart-item-03.png" alt="">
<div class="content">
<h3>cherry brandy</h3>
<div class="price">$14.99/-</div>
</div>
</div>
<div class="cart-item">
<span class="fas fa-times" onclick="removeItem(this)"></span>
<img src="images/cart-item-04.png" alt="">
<div class="content">
<h3>chambord raspberry liqueur</h3>
<div class="price">$17.99/-</div>
</div>
</div>
<div class="cart-item">
<span class="fas fa-times" onclick="removeItem(this)"></span>
<img src="images/cart-item-05.png" alt="">
<div class="content">
<h3>chocolate milk</h3>
<div class="price">$11.99/-</div>
</div>
</div>
<!-- <a href="#" class="btn">checkout now</a> -->
</div>
</div>
</header>
<!-- home section starts -->
<section class="home" id="home">
<div class="content">
<h3>Sip &</h3><br><h3>Savor</h3>
<p>the elixir of good times and great memories</p>
<a href="#" class="btn">get yours now</a>
</div>
</section>
<!-- home section ends-->
<!-- about section starts-->
<section class="about" id="about">
<h1 class="heading"> <span>about</span> us </h1>
<div class="row">
<div class="image">
<img src="images/about-img.jpg" alt="">
</div>
<div class="content">
<h3>what makes our cocktail special?</h3>
<p>Our cocktail introduces a delightful fusion of fresh ingredients and diverse flavors, resulting in a truly exquisite taste experience.</p>
<p>Each sip embodies the harmonious blend of premium ingredients, promising a refreshing and enjoyable journey for your palate.</p>
<a href="#" class="btn">learn more</a>
</div>
</div>
</section>
<!-- about section ends-->
<!-- menu section starts-->
<section class="menu" id="menu">
<h1 class="heading">our <span>menu</span> </h1>
<div class="box-container">
<div class="box">
<img src="images/menu-1.jpg" alt="">
<h3>Mojito</h3>
<div class="price">$15.99 <span>20.99</span></div>
<a href="#menu" onclick="addToCart(this.parentElement)" class="btn">add to cart</a>
</div>
<div class="box">
<img src="images/menu-2.jpg" alt="">
<h3>Old fashioned</h3>
<div class="price">$15.99 <span>20.99</span></div>
<a href="#menu" onclick="addToCart(this.parentElement)" class="btn">add to cart</a>
</div>
<div class="box">
<img src="images/menu-3.jpg" alt="">
<h3>Negroni</h3>
<div class="price">$15.99 <span>20.99</span></div>
<a href="#menu" onclick="addToCart(this.parentElement)" class="btn">add to cart</a>
</div>
<div class="box">
<img src="images/menu-4.jpg" alt="">
<h3>Dry Martini</h3>
<div class="price">$16.99 <span>20.99</span></div>
<a href="#menu" onclick="addToCart(this.parentElement)" class="btn">add to cart</a>
</div>
<div class="box">
<img src="images/menu-5.jpg" alt="">
<h3>Planter's Punch</h3>
<div class="price">$18.99 <span>20.99</span></div>
<a href="#menu" onclick="addToCart(this.parentElement)" class="btn">add to cart</a>
</div>
<div class="box">
<img src="images/menu-6.jpg" alt="">
<h3>Cocktail Horse's Neck</h3>
<div class="price">$10.99 <span>20.99</span></div>
<a href="#menu" onclick="addToCart(this.parentElement)" class="btn">add to cart</a>
</div>
</div>
</section>
<!-- menu section ends-->
<!-- products section starts-->
<section class="products" id="products">
<h1 class="heading"> our <span>products</span></h1>
<div class="box-container">
<div class="box">
<div class="icons">
<a href="#products" class="fas fa-shopping-cart" onclick="addToCart(this.closest('.box'))"></a>
<a href="#products" class="fas fa-heart"></a>
<a href="#products" class="fas fa-eye"></a>
</div>
<div class="image">
<img src="images/product-1.png" alt="">
</div>
<div class="content">
<h3>Vodka</h3>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<div class="price">$15.99 <span>$20.99</span></div>
</div>
</div>
<div class="box">
<div class="icons">
<a href="#products" class="fas fa-shopping-cart" onclick="addToCart(this.closest('.box'))"></a>
<a href="#products" class="fas fa-heart"></a>
<a href="#products" class="fas fa-eye"></a>
</div>
<div class="image">
<img src="images/product-2.png" alt="">
</div>
<div class="content">
<h3>Tequila</h3>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<div class="price">$14.99 <span>$20.99</span></div>
</div>
</div>
<div class="box">
<div class="icons">
<a href="#products" class="fas fa-shopping-cart" onclick="addToCart(this.closest('.box'))"></a>
<a href="#products" class="fas fa-heart"></a>
<a href="#products" class="fas fa-eye"></a>
</div>
<div class="image">
<img src="images/product-3.png" alt="">
</div>
<div class="content">
<h3>Rum</h3>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
<div class="price">$25.99 <span>$20.99</span></div>
</div>
</div>
</div>
</section>
<!-- products section ends-->
<!--review section starts-->
<section class="review" id="review">
<h1 class="heading">customer's <span>review</span></h1>
<div class="box-container">
<div class="box">
<img src="images/quote.png" alt="" class="quote">
<p>This cocktail boasts a perfect balance and rich flavors. The freshness of the fruit blends harmoniously with the smoothness of the liquor, offering a delightful discovery of new flavors with every sip. Truly a refreshing and crisp cocktail!</p>
<img src="images/person-1.jpg" alt="" class="user">
<h3>Min Cheol</h3>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
<div class="box">
<img src="images/quote.png" alt="" class="quote">
<p>Prepare to embark on a sensory journey with this exceptional cocktail. From the moment it touches your lips, you'll be transported to a realm of exquisite taste and indulgence. With its unique blend of ingredients and flawless presentation, every sip is a testament to the artistry of mixology.</p>
<img src="images/person-2.jpg" alt="" class="user">
<h3>Da Sol</h3>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
<div class="box">
<img src="images/quote.png" alt="" class="quote">
<p>이곳 칵테일의 화려한 색상과 정교한 장식이 눈을 사로잡습니다. 그리고 좋은 재료들을 사용하여 만들어졌기 때문에, 그 맛 또한 훌륭하답니다. 이런 아름다움과 풍미를 경험할 수 있는 기회를 놓치지 마세요!</p>
<img src="images/person-3.jpg" alt="" class="user">
<h3>John Deo</h3>
<div class="stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star-half-alt"></i>
</div>
</div>
</div>
</section>
<!--review section ends-->
<!-- contact section starts -->
<section class="contact" id="contact">
<h1 class="heading"><span>contact</span> us </h1>
<div class="row">
<iframe class="map" src="https://www.google.com/maps/embed/v1/place?q=place_id:ChIJi0anSibtaDURLFgBu4-CH-c&key=AIzaSyDxD-7jKKt-y4JRtK2J_cimUqHLdUqMG5s" allowfullscreen="" loading="lazy" ></iframe>
<form action="">
<h3>get in touch</h3>
<div class="inputBox">
<span class="fas fa-user"></span>
<input type="text" placeholder="name">
</div>
<div class="inputBox">
<span class="fas fa-envelope"></span>
<input type="email" placeholder="email">
</div>
<div class="inputBox">
<span class="fas fa-phone"></span>
<input type="text" placeholder="number">
</div>
<input type="submit" value="contact now" class="btn">
</form>
</div>
</section>
<!-- contact section ends -->
<!-- blogs section starts -->
<section class="blogs" id="blogs">
<h1 class="heading"> our <span>blogs</span> </h1>
<div class="box-container">
<div class="box">
<div class="image">
<img src="images/blog-1.png">
</div>
<div class="content">
<a href="https://blog.naver.com/rbrmf/222595990757" class="title">Busan) A cocktail restaurant with a nice atmosphere</a>
<span>by sophie / 15th dec, 2021</span>
<p>Cocktail bar 'bar oasis' with a nice atmosphere in Gwangalli.</p>
<a href="#" class="btn">read more</a>
</div>
</div>
<div class="box">
<div class="image">
<img src="images/blog-2.jpg">
</div>
<div class="content">
<a href="https://blog.naver.com/blingbling0-0/223169409461" class="title">a good restaurant with Busan view!</a>
<span>by blingbling / 12th Aug, 2023</span>
<p>The place where cocktails are delicious.</p>
<a href="#" class="btn">read more</a>
</div>
</div>
<div class="box">
<div class="image">
<img src="images/blog-3.jpg">
</div>
<div class="content">
<a href="https://blog.naver.com/jsy00813/223152401933" class="title">Cocktail Pub, When I want to eat cocktail...</a>
<span>by yunnii / 10th jul, 2023</span>
<p>The bar oasis located in Gwangalli!</p>
<a href="#" class="btn">read more</a>
</div>
</div>
</div>
</section>
<!-- blogs section ends -->
<!-- footer section starts -->
<section class="footer">
<div class="share">
<a href="https://www.facebook.com/" class="fab fa-facebook-f"></a>
<a href="https://x.com/" class="fab fa-twitter"></a>
<a href="https://www.instagram.com/" class="fab fa-instagram"></a>
<a href="https://www.linkedin.com/" class="fab fa-linkedin"></a>
<a href="https://www.pinterest.com/" class="fab fa-pinterest"></a>
</div>
<div class="links">
<a href="#home">home</a>
<a href="#about">about</a>
<a href="#menu">menu</a>
<a href="#products">products</a>
<a href="#review">review</a>
<a href="#contact">contact</a>
<a href="#blogs">blogs</a>
<a href="./js/MapComponents.html">maps</a>
</div>
<div class="credit">created by <span>ms. web designer</span> | copyright</div>
</section>
<!-- footer section ends -->
<!--custom js file link-->
<script>
function removeItem(element){
const cartItem = element.closest('.cart-item');
cartItem.remove();
}
function addToCart(element) {
// Get the image source, title, and price from the menu item
const imgSrc = element.querySelector('img').src;
const title = element.querySelector('h3').textContent;
const price = element.querySelector('.price').firstChild.textContent.trim();
console.log(title, price);
// Create a new cart item
const cartItem = document.createElement('div');
cartItem.classList.add('cart-item');
cartItem.innerHTML = `
<span class="fas fa-times" onclick="removeItem(this)"></span>
<img src="${imgSrc}" alt="">
<div class="content">
<h3>${title}</h3>
<div class="price">${price}</div>
</div>
`;
// Append the new cart item to the cart items container
document.querySelector('.cart-items-container').appendChild(cartItem);
}
function search(){
var userInput = document.getElementById("search-box").value;
if (userInput.length > 0) {
window.location.href = `Search.html?search=${encodeURIComponent(userInput)}`;
} else {
alert("Please enter a search term.");
}
}
</script>
This better work!
<script src="js/script.js" type="module"></script>
</body>
</html>
<!-- https://rapidapi.com/kaushiksheel9/api/beverages-and-desserts -->