-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcart.html
123 lines (112 loc) · 3.76 KB
/
cart.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
<!DOCTYPE html>
<html lang="en" class="html">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="src/Css/output.css" />
<title>Shop Hub</title>
</head>
<body
class="bg-white dark:bg-dark transition-colors duration-300 font-almarai h-full">
<div class="container h-full flex justify-between mt-10">
<div class="left flex flex-col w-[850px] sm:w-full h-full">
<!--? Search -->
<div class="relative">
<input
class="dark:bg-darkGray transition-colors duration-300 shadow-md dark:shadow-none border border-stroke rounded-xl font-almarai w-full h-10 px-4 outline-none placeholder:font-light text-[#949494]"
type="text"
placeholder="Search" />
<!--? Input icon -->
<img
src="./public/icons/Soild/setting.png"
class="absolute w-4 h-4 bottom-2.5 right-4" />
</div>
<!--? Products Title -->
<h1
class="mt-6 dark:text-grayText transition-colors duration-300 font-bold text-3xl">
Cart
</h1>
<!--? Products Container -->
<div
class="flex items-center justify-between sm:justify-center sm:flex-col my-6 sm:mb-32 gap-x-5 sm:gap-x-0 gap-y-5 flex-wrap w-full h-auto"
id="products-container">
<!--? Messages -->
<img
src="./public/images/empty_cart.png"
class="hidden emptyCart mt-10" />
<h1
class="hidden errorFetch mt-10 text-red transition-colors duration-300 font-bold text-3xl text-center">
Cannot Fetch Data :(
</h1>
<!--? Products -->
</div>
</div>
<!--? Navigation Bar -->
<div
class="fixed sm:flex sm:items-center sm:justify-center right-0 sm:bottom-0 sm:mb-5 w-32 sm:w-full h-fit transition-all duration-300"
id="navigation-container">
<div
class="mt-12 px-1 sm:px-2 pt-10 sm:pt-0 overflow-hidden bg-white dark:bg-darkGray shadow-xl rounded-2xl flex items-center sm:justify-center flex-col sm:flex-row sm:gap-6 w-1/2 sm:w-[90%] h-full transition-all duration-300"
id="navigation">
<!--? Wishlist Icon -->
<div class="my-2 relative" id="wishlist-icon">
<!--? Notification -->
<span
class="absolute right-0 w-5 h-5 text-white text-center bottom-9 rounded-full text-[12px] bg-red">
2
</span>
<!--? Icon -->
<img
class="mr-2 w-9 h-9 cursor-pointer"
src="./public/icons/Soild/heart.svg" />
</div>
<!--? Wallet Icon -->
<div class="my-8 relative">
<!--? Icon -->
<img
class="w-9 h-9 cursor-pointer"
src="./public/icons/Soild/wallet.svg" />
</div>
<!--? Cart Icon -->
<a class="my-6 relative" href="./">
<!--? Icon -->
<img
class="w-9 h-9 cursor-pointer"
id="homeIcon"
src="./public/icons/Soild/home-light.svg" />
</a>
<!--? Profile Icon -->
<div class="my-6 relative">
<!--? Icon -->
<div
class="w-9 h-9 flex items-center cursor-pointer border border-icon rounded-full">
<img
class="w-9 h-9 cursor-pointer"
src="./public/images/Avatar.png" />
</div>
</div>
<!--? Theme Icon -->
<div class="my-6 relative">
<!--? Icon -->
<img
id="theme"
class="w-9 h-9 cursor-pointer"
src="./public/icons/Soild/Sun.svg" />
</div>
<!--? Caret Icon -->
<div class="my-6 relative">
<div id="nav" class="w-9 h-9 shadow-xl rounded-full">
<img
class="mr-2 w-9 h-9 cursor-pointer transition-all duration-300"
id="caretIcon"
src="./public/icons/Soild/Caret-left.svg" />
</div>
</div>
</div>
</div>
</div>
<script src="src/Js/navigation.js"></script>
<script src="src/Js/theme.js"></script>
<script src="src/Js/cart.js"></script>
</body>
</html>