-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
253 lines (245 loc) · 8.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="shortcut icon"
href="./public/images/logo.png"
type="image/x-icon"
/>
<title>vedha's online clothings</title>
<script
src="https://kit.fontawesome.com/6ae5c2f316.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="./assets/css/main.css" />
</head>
<body>
<!-- header -->
<header
class="md:px-8 px-4 py-2 text-[#232C33] font-poppins bg-white flex flex-row items-center justify-between fixed w-full border-b shadow-md z-10"
>
<!-- logo div -->
<div class="logo flex items-center gap-2">
<img src="./public/images/logo.png" alt="logo" width="45px" />
<h2 class="font-rubik text-2xl pt-1">vedha's</h2>
</div>
<!-- navbar -->
<nav class="flex items-center gap-6">
<!-- search -->
<div class="relative text-2xl">
<i
class="fa-solid fa-magnifying-glass cursor-pointer"
id="search-icon"
></i>
<input
id="search-bar"
type="text"
class="bg-[#f8f8f8] hidden border-[1.5px] px-4 py-2 w-[300px] rounded-md outline-none text-xs absolute right-8 -top-0.5"
placeholder="Search "
/>
</div>
<!-- profile -->
<a class="cursor-pointer text-xl">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 256 256"
id="user"
width="28"
height="28"
>
<rect width="256" height="256" fill="none"></rect>
<circle
cx="128"
cy="96"
r="64"
fill="none"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="24"
></circle>
<path
fill="none"
stroke="#000"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="24"
d="M30.989,215.99064a112.03731,112.03731,0,0,1,194.02311.002"
></path>
</svg>
</a>
<!-- cart -->
<a class="cursor-pointer text-xl">
<svg
xmlns="http://www.w3.org/2000/svg"
width="28"
height="28"
viewBox="0 0 24 24"
id="shopping-bag"
>
<path
d="M19,7H16V6A4,4,0,0,0,8,6V7H5A1,1,0,0,0,4,8V19a3,3,0,0,0,3,3H17a3,3,0,0,0,3-3V8A1,1,0,0,0,19,7ZM10,6a2,2,0,0,1,4,0V7H10Zm8,13a1,1,0,0,1-1,1H7a1,1,0,0,1-1-1V9H8v1a1,1,0,0,0,2,0V9h4v1a1,1,0,0,0,2,0V9h2Z"
></path>
</svg>
</a>
</nav>
</header>
<!-- main area for products list and filter page -->
<main class="grid font-inter pt-[68px]">
<!-- filter section -->
<section
class="py-1 border-r-[1px] h-screen md:block hidden w-[260px] fixed font-inter"
>
<!-- title div -->
<div class="border-b-[1px] px-8 py-2 flex items-center gap-2">
<span>
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
fill="none"
viewBox="0 0 24 24"
id="Filter"
>
<path
fill="#232c33"
fill-rule="evenodd"
d="M20 5h-1.17a3.001 3.001 0 0 0-5.66 0H4a1 1 0 0 0 0 2h9.17a3.001 3.001 0 0 0 5.66 0H20a1 1 0 1 0 0-2zm-4 2a1 1 0 1 0 0-2 1 1 0 0 0 0 2zM3 12a1 1 0 0 1 1-1h1.17a3.001 3.001 0 0 1 5.66 0H20a1 1 0 1 1 0 2h-9.17a3.001 3.001 0 0 1-5.66 0H4a1 1 0 0 1-1-1zm5 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm-4 4a1 1 0 1 0 0 2h9.17a3.001 3.001 0 0 0 5.66 0H20a1 1 0 1 0 0-2h-1.17a3.001 3.001 0 0 0-5.66 0H4zm13 1a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"
clip-rule="evenodd"
class="color000000 svgShape"
></path>
</svg>
</span>
<h2 class="font-semibold text-lg">Filters</h2>
</div>
<!-- category -->
<div class="px-8 py-4 border-b-[1px]">
<div
class="flex items-center justify-between cursor-pointer"
id="drop-down"
>
<h3 class="font-semibold text-sm text-[#232c33]">Categories</h3>
<span>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 105.167 61.651"
id="ChevronDown"
width="12"
height="12"
>
<path
d="M2.868 3.155c3.955-4.046 9.458-4.363 14.291 0l35.434 33.971L88.026 3.155c4.834-4.363 10.347-4.046 14.269 0a10.77 10.77 0 0 1 0 14.643c-3.683 3.791-42.568 40.817-42.568 40.817a9.917 9.917 0 0 1-14.286 0S6.574 21.589 2.874 17.798a10.764 10.764 0 0 1 0-14.643Z"
fill="#232c33"
class="color000000 svgShape"
></path>
</svg>
</span>
</div>
<!-- category list -->
<ul
class="space-y-4 mt-4 text-sm font-medium text-[#232c33d6]"
id="category-list"
></ul>
</div>
<!-- sort by -->
<div class="px-8 py-4 border-b-[1px]">
<div
class="flex items-center justify-between cursor-pointer"
id="drop-down"
>
<h3 class="font-semibold text-sm text-[#232c33]">Sort by</h3>
<span>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 105.167 61.651"
id="ChevronDown"
width="12"
height="12"
>
<path
d="M2.868 3.155c3.955-4.046 9.458-4.363 14.291 0l35.434 33.971L88.026 3.155c4.834-4.363 10.347-4.046 14.269 0a10.77 10.77 0 0 1 0 14.643c-3.683 3.791-42.568 40.817-42.568 40.817a9.917 9.917 0 0 1-14.286 0S6.574 21.589 2.874 17.798a10.764 10.764 0 0 1 0-14.643Z"
fill="#232c33"
class="color000000 svgShape"
></path>
</svg>
</span>
</div>
<ul
class="space-y-4 mt-4 text-sm font-medium text-[#232c33d6]"
id="sortList"
></ul>
</div>
<!-- brands -->
<div class="px-8 py-4 border-b-[1px]">
<div
class="flex items-center justify-between cursor-pointer"
id="drop-down"
>
<h3 class="font-semibold text-sm text-[#232c33]">Brands</h3>
<span>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 105.167 61.651"
id="ChevronDown"
width="12"
height="12"
>
<path
d="M2.868 3.155c3.955-4.046 9.458-4.363 14.291 0l35.434 33.971L88.026 3.155c4.834-4.363 10.347-4.046 14.269 0a10.77 10.77 0 0 1 0 14.643c-3.683 3.791-42.568 40.817-42.568 40.817a9.917 9.917 0 0 1-14.286 0S6.574 21.589 2.874 17.798a10.764 10.764 0 0 1 0-14.643Z"
fill="#232c33"
class="color000000 svgShape"
></path>
</svg>
</span>
</div>
<!-- brand list -->
<ul
class="space-y-4 mt-4 text-sm font-medium text-[#232c33d6]"
id="brand-list"
></ul>
</div>
</section>
<!-- product section -->
<section class="px-4 py-8 md:ml-[260px]">
<!-- products container -->
<div
class="grid 2xl:grid-cols-8 xl:grid-cols-5 lg:grid-cols-4 sm:grid-cols-3 grid-cols-2 gap-4 gap-y-8 w-full"
id="products-container"
>
<!-- product card -->
<!-- <div class="product-card">
product img
<img
class="product-img"
src="https://www.dennislingo.com/cdn/shop/products/4_6c6c6c34-aadb-4294-b7c5-95784455cc9d_720x.jpg?v=1663893926"
alt=""
/>
products details
<div class="product-details">
<h1 class="text-sm font-medium">
Cotton Buffalo Check Slim Fit Casual Shirt
</h1>
price area
<div class="price-details">
<p class="current-price">₹699</p>
<p class="mrp-price">₹800</p>
<p class="offer">68% off</p>
</div>
size area
<div class="size-list">
<span class="size-box">L</span>
<span class="size-box">XL</span>
<span class="size-box">XXL</span>
</div>
</div>
badge
<div class="badge">out of stock</div>
</div> -->
</div>
</section>
</main>
<script type="module" src="./assets/js/app.js"></script>
</body>
</html>