-
Notifications
You must be signed in to change notification settings - Fork 0
/
shoppingCart.html
374 lines (360 loc) · 23.2 KB
/
shoppingCart.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- meta tags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- google font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Karla&family=Lato&display=swap" rel="stylesheet">
<!-- fontawesome icon cdn -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- tailwind css cdn (v.3.3.3) -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- tailwind css config -->
<script>
tailwind.config = {
theme: {
screens: {
sm: '480px',
md: '768px',
lg: '976px',
xl: '1440px',
},
colors: {
white: '#FFFFFF',
lightGrey: '#F6F6F6',
lightBrownishGrey: '#ECECEA',
lightBrown: '#EADBC8',
primaryBrown: '#5D432A',
grey: '#38404C',
offBlack: '#1B1A17',
black: '#000000',
red: '#FF0000'
},
fontSize: {
header1: '32px',
header2: '24px',
subtitle1: '20px',
subtitle2: '18px',
description: '18px',
navText: '16px',
bodyText: '16px',
bigHero: '64px'
},
extend: {
}
}
}
</script>
<!-- pure custom css -->
<link rel="stylesheet" href="styles/customStyles.css">
<!-- page title -->
<title>Shopping Cart | Yoe Yar</title>
<!-- page icon -->
<link rel="icon" href="asset/website_logo/Website Icon.svg">
</head>
<body>
<!-- header -->
<header class="bg-white fixed top-0 w-full z-50">
<!-- nav bar -->
<nav id="navbar" class="relative container mx-auto px-4">
<!-- menu bar (top) -->
<div class="flex flex-row items-center">
<!-- search -->
<div class="w-52 basis-1/3 flex place-content-start items-center space-x-3">
<div>
<i class="fa-solid fa-magnifying-glass text-offBlack"></i>
</div>
<input type="text" placeholder="Search for products" class="hidden md:block bg-transparent font-karla font-normal text-baseText text-grey border-b border-lightGrey focus:outline-none" />
</div>
<!-- logo -->
<div class="basis-1/3 flex place-content-center">
<a href="index.html"><img class="w-36" src="asset/website_logo/Yoe Yar Logo.svg" alt="website_logo"></a>
</div>
<!-- nav_icons -->
<div class="hidden basis-1/3 md:flex place-content-end space-x-6">
<a href="wishlist.html"><i class="fa-solid fa-heart text-offBlack hover:text-primaryBrown"></i></a>
<a href="shoppingCart.html"><i class="fa-solid fa-cart-shopping text-offBlack hover:text-primaryBrown"></i></a>
<a href="login.html"><i class="fa-solid fa-user text-offBlack hover:text-primaryBrown"></i></a>
</div>
<!-- hamburger menu button (mobile)-->
<div class="block md:hidden basis-1/3 flex place-content-end focus:outline-none">
<button id="menu-btn" class="hamburger">
<span class="hamburger-top"></span>
<span class="hamburger-middle"></span>
<span class="hamburger-bottom"></span>
</button>
</div>
</div>
<!-- divider -->
<hr class="hidden md:block border-solid border-lightBrownishGrey ">
<!-- menu bar (bottom) -->
<div class="hidden md:flex items-center justify-center py-3">
<div class="flex space-x-6 lg:space-x-10 font-karla font-medium text-navText">
<a href="index.html" class="text-primaryBrown hover:text-primaryBrown">Home</a>
<a href="newItems.html" class="text-offBlack hover:text-primaryBrown">New Items</a>
<a href="bestSellers.html" class="text-offBlack hover:text-primaryBrown">Best Sellers</a>
<div>
<button id="dropdownDelayButton1" data-dropdown-toggle="dropdownDelay1" data-dropdown-delay="500" data-dropdown-trigger="hover" class="text-offBlack hover:text-primaryBrown inline-flex items-center" type="button">Categories <svg class="w-2.5 h-2.5 ml-2.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 4 4 4-4"/>
</svg></button>
<!-- Dropdown menu -->
<div id="dropdownDelay1" class="z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow w-auto">
<ul class="py-2 text-offBlack hover:text-primaryBrown" aria-labelledby="dropdownDelayButton1">
<li>
<a href="productCategories.html" class="block px-4 py-2">All categories</a>
</li>
<li>
<a href="menClothing.html" class="block px-4 py-2">Men clothing</a>
</li>
<li>
<a href="womenClothing.html" class="block px-4 py-2">Women clothing</a>
</li>
<li>
<a href="souvenirs.html" class="block px-4 py-2">Souvenirs</a>
</li>
<li>
<a href="homeDecorItems.html" class="block px-4 py-2">Home decor items</a>
</li>
<li>
<a href="beautyProducts.html" class="block px-4 py-2">Beauty products</a>
</li>
<li>
<a href="otherProducts.html" class="block px-4 py-2">Other products</a>
</li>
</ul>
</div>
</div>
<a href="productCollections.html" class="text-offBlack hover:text-primaryBrown">Collections</a>
<a href="aboutUs.html" class="text-offBlack hover:text-primaryBrown">About Us</a>
<a href="contactUs.html" class="text-offBlack hover:text-primaryBrown">Contact Us</a>
</div>
</div>
<!-- menu bar (mobile) -->
<div class="md:hidden">
<div id="menu" class="absolute hidden flex flex-col items-center py-8 space-y-6 bg-white border-2 border-grey font-karla font-medium text-navText w-auto self-center left-4 right-4 shadow">
<a href="index.html" class="text-primaryBrown hover:text-primaryBrown">Home</a>
<a href="newItems.html" class="text-offBlack hover:text-primaryBrown">New Items</a>
<a href="bestSellers.html" class="text-offBlack hover:text-primaryBrown">Best Sellers</a>
<a href="productCategories.html" class="text-offBlack hover:text-primaryBrown">Categories</a>
<a href="productCollections.html" class="text-offBlack hover:text-primaryBrown">Collections</a>
<a href="aboutUs.html" class="text-offBlack hover:text-primaryBrown">About Us</a>
<a href="contactUs.html" class="text-offBlack hover:text-primaryBrown">Contact Us</a>
<div class="flex place-content-center space-x-12">
<a href="wishlist.html"><i class="fa-solid fa-heart text-offBlack hover:text-primaryBrown"></i></a>
<a href="shoppingCart.html"><i class="fa-solid fa-cart-shopping text-offBlack hover:text-primaryBrown"></i></a>
<a href="login.html"><i class="fa-solid fa-user text-offBlack hover:text-primaryBrown"></i></a>
</div>
</div>
</div>
</nav>
</header>
<main class="mt-20 md:mt-28">
<!-- shopping cart section -->
<section id="shopping_cart" class="container mx-auto px-4 py-8">
<h2 class="font-lato font-medium text-header1 text-primaryBrown text-center lg:text-start mb-10">
Your shopping cart
</h2>
<div class="mb-10">
<ul role="list">
<!-- item 1 -->
<li class="flex items-center py-6 border-b border-grey">
<div class="h-24 w-24 flex-shrink-0 overflow-hidden rounded-md">
<img src="asset/product_images/men_clothing_product_2/men_clothing_product_2.jpg" alt=".." class="h-full w-full object-cover object-center">
</div>
<div class="ml-4 flex flex-1 flex-col">
<div class="flex flex-col md:flex-row justify-between md:items-center">
<h3 class="font-lato font-medium text-subtitle2 text-offBlack text-start">
<a href="product_detail_pages/men_clothing_product_2.html">Premium Myanmar Silk Longyi</a>
</h3>
<p class="font-karla font-normal text-description text-offBlack text-start md:text-end">98000 MMK</p>
</div>
<p class="font-karla font-normal text-baseText text-grey text-start">Longyi Village</p>
<div class="mt-2 flex flex-1 justify-between items-center">
<div class="flex flex-row md:space-x-4">
<p class="hidden md:block font-karla font-normal text-baseText text-grey text-start">Qty</p>
<div class="flex">
<span onclick="minus()" class="cursor-pointer border border-offBlack border-r-0 w-7 h-7 flex items-center justify-center pb-1">-</span>
<input id="counter" aria-label="input" class="border border-offBlack w-14 h-7 text-center pb-1" type="text" value="1" />
<span onclick="plus()" class="cursor-pointer border border-offBlack border-l-0 w-7 h-7 flex items-center justify-center pb-1">+</span>
</div>
</div>
<button type="button" class="font-karla font-medium text-navText text-red text-end">Remove</button>
</div>
</div>
</li>
<!-- item 2 -->
<li class="flex items-center py-6 border-b border-grey">
<div class="h-24 w-24 flex-shrink-0 overflow-hidden rounded-md">
<img src="asset/product_images/women_clothing_product_2/women_clothing_product_2.jpg" alt=".." class="h-full w-full object-cover object-center">
</div>
<div class="ml-4 flex flex-1 flex-col">
<div class="flex flex-col md:flex-row justify-between md:items-center">
<h3 class="font-lato font-medium text-subtitle2 text-offBlack text-start">
<a href="product_detail_pages/women_clothing_product_2.html">Retro CLothing Set 1</a>
</h3>
<p class="font-karla font-normal text-description text-offBlack text-start md:text-end">29500 MMK</p>
</div>
<p class="font-karla font-normal text-baseText text-grey text-start">Khit Local Couture</p>
<div class="mt-2 flex flex-1 justify-between items-center">
<div class="flex flex-row md:space-x-4">
<p class="hidden md:block font-karla font-normal text-baseText text-grey text-start">Qty</p>
<div class="flex">
<span onclick="minus()" class="cursor-pointer border border-offBlack border-r-0 w-7 h-7 flex items-center justify-center pb-1">-</span>
<input id="counter" aria-label="input" class="border border-offBlack w-14 h-7 text-center pb-1" type="text" value="1" />
<span onclick="plus()" class="cursor-pointer border border-offBlack border-l-0 w-7 h-7 flex items-center justify-center pb-1">+</span>
</div>
</div>
<button type="button" class="font-karla font-medium text-navText text-red text-end">Remove</button>
</div>
</div>
</li>
<!-- item 3 -->
<li class="flex items-center py-6 border-b border-grey">
<div class="h-24 w-24 flex-shrink-0 overflow-hidden rounded-md">
<img src="asset/product_images/other_products/other_product_2.jpg" alt=".." class="h-full w-full object-cover object-center">
</div>
<div class="ml-4 flex flex-1 flex-col">
<div class="flex flex-col md:flex-row justify-between md:items-center">
<h3 class="font-lato font-medium text-subtitle2 text-offBlack text-start">
<a href="product_detail_pages/other_product_2.html">Tobaco Cigar VIP Box</a>
</h3>
<p class="font-karla font-normal text-description text-offBlack text-start md:text-end">2000 MMK</p>
</div>
<p class="font-karla font-normal text-baseText text-grey text-start">Shwe Burma</p>
<div class="mt-2 flex flex-1 justify-between items-center">
<div class="flex flex-row md:space-x-4">
<p class="hidden md:block font-karla font-normal text-baseText text-grey text-start">Qty</p>
<div class="flex">
<span onclick="minus()" class="cursor-pointer border border-offBlack border-r-0 w-7 h-7 flex items-center justify-center pb-1">-</span>
<input id="counter" aria-label="input" class="border border-offBlack w-14 h-7 text-center pb-1" type="text" value="1" />
<span onclick="plus()" class="cursor-pointer border border-offBlack border-l-0 w-7 h-7 flex items-center justify-center pb-1">+</span>
</div>
</div>
<button type="button" class="font-karla font-medium text-navText text-red text-end">Remove</button>
</div>
</div>
</li>
</ul>
</div>
<div class="mb-10">
<div class="flex justify-between items-center">
<p class="font-karla font-bold text-baseText text-grey text-start">Subtotal</p>
<p class="font-karla font-normal text-description text-offBlack text-end">129500 MMK</p>
</div>
<p class="mt-1 font-karla font-normal text-baseText text-grey text-end">Delivery fees and taxes are calculated at checkout.</p>
<div class="mt-12 md:mt-4 flex justify-center md:justify-end items-center">
<a href="login.html">
<button type="button" class="flex flex-row space-x-2 items-center font-karla font-medium text-navText text-lightGrey bg-primaryBrown px-3 py-2.5 hover:opacity-90 transition-opacity">
<i class="fa-solid fa-bag-shopping"></i>
<p>Go to checkout</p>
</button>
</a>
</div>
<div class="mt-4 md:mt-6 flex justify-center text-center text-sm text-gray-500">
<p class="font-karla font-normal text-baseText text-grey text-start">
or
<a href="index.html">
<button type="button" class="font-karla font-bold text-navText text-primaryBrown">
Continue Shopping
<span aria-hidden="true"> →</span>
</button>
</a>
</p>
</div>
</div>
</section>
</main>
<!-- footer -->
<footer class="bg-primaryBrown">
<!-- footer top -->
<div class="container mx-auto flex flex-col justify-between px-4 py-8 lg:py-12 space-y-12 xl:flex-row xl:space-y-0">
<div class="flex flex-row justify-between space-x-2 xl:space-x-32">
<div class="flex flex-col space-y-2">
<h1 class="font-karla font-medium text-subtitle2 text-lightGrey">Products</h1>
<a href="newItems.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
New items
</a>
<a href="bestSellers.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Best sellers
</a>
<a href="" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Recently viewed
</a>
<a href="" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Popular this week
</a>
</div>
<div class="flex flex-col space-y-2">
<h1 class="font-karla font-medium text-subtitle2 text-lightGrey">User info</h1>
<a href="login.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
My account
</a>
<a href="login.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Purchases
</a>
</div>
<div class="flex flex-col space-y-2">
<h1 class="font-karla font-medium text-subtitle2 text-lightGrey">Our service</h1>
<a href="aboutUs.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
About us
</a>
<a href="FAQs.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
FAQs
</a>
<a href="privacyPolicy.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Privacy policy
</a>
<a href="returnExchangePolicy.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Return/exchange policy
</a>
<a href="contactUs.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Contact us
</a>
</div>
</div>
<div class="w-4/4 xl:w-2/4 flex flex-col space-y-2 items-center md:items-start">
<h1 class="font-karla font-medium text-subtitle2 text-lightGrey">Join our mailing list</h1>
<p class="font-karla font-normal text-bodyText text-lightGrey text-center md:text-start">Sign up for our newsletter and receive exclusive offers on new arrivals, sales, pop up stores and more.</p>
<!-- email form -->
<form action="">
<div class="flex">
<input class="px-4 focus:outline-none font-karla font-normal text-baseText text-offBlack" type="text" name="" id="" placeholder="your@email.com">
<button type="button" class="font-karla font-medium text-navText text-grey bg-lightBrownishGrey px-4 py-2 hover:text-primaryBrown transition-colors">Sign Up</button>
</div>
</form>
</div>
</div>
<!-- divider -->
<hr class="container mx-auto px-4 border-solid border-lightGrey ">
<!-- copyright & social links -->
<div class="container mx-auto px-4 py-4">
<div class="flex flex-col space-y-4 md:flex-row-reverse md:space-y-0 items-center md:items-start justify-between">
<div class="flex flex-row space-x-8">
<a href="" class="hover:opacity-90 transition-opacity">
<i class="fa-brands fa-facebook-f fa-2x text-lightGrey"></i>
</a>
<a href="" class="hover:opacity-90 transition-opacity">
<i class="fa-brands fa-x-twitter fa-2x text-lightGrey"></i>
</a>
<a href="" class="hover:opacity-90 transition-opacity">
<i class="fa-brands fa-pinterest-p fa-2x text-lightGrey"></i>
</a>
<a href="" class="hover:opacity-90 transition-opacity">
<i class="fa-brands fa-instagram fa-2x text-lightGrey"></i>
</a>
</div>
<p class="font-karla font-normal text-bodyText text-lightGrey">
Copyright © 2022, All Rights Reserved
</p>
</div>
</div>
</footer>
<!-- flowbite tailwind components javascript -->
<script src="https://unpkg.com/@themesberg/flowbite@latest/dist/flowbite.bundle.js"></script>
<!-- custom javascript -->
<script src="scripts/customScripts.js"></script>
</body>
</html>