-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
457 lines (433 loc) · 25 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
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
<!DOCTYPE html>
<html class = "h-full overflow-x-hidden" 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>Document</title>
<link rel="stylesheet" href="output.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<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=Work+Sans:wght@400;500;600&display=swap" rel="stylesheet">
<script defer src="app.js"></script>
</head>
<body class = "min-h-screen overflow-hidden font-WorkSans">
<nav class="container">
<div class="py-3 inline-flex jutify-start">
<div class = "px-3.5"><i class="fas fa-bars"></i></div>
<div class = "px-3.5">
<img class = "h-auto w-24"src="https://cdn.shopify.com/s/files/1/0550/2877/7109/t/2/assets/logo.png?v=17703834142405298028" alt="">
</div>
</div>
<div class = "py-3.5 px-3.5 inline-block justify-between float-right">
<ul>
<li class = "inline"><i class="mx-3 fas fa-search"></i></li>
<li class = "inline"><i class="mx-3 far fa-user fa-lg"></i></li>
<li class = "inline relative">
<i class="mx-3 fas fa-shopping-basket fa-lg"></i>
<span class = "absolute text-white bg-yellow-600 inline-block h-4 w-4 text-xs leading-4 rounded-full -top-3 right-4 text-center">0</span>
</li>
</ul>
</div>
</nav>
<!--Carousel Parent Container-->
<section class="relative container h-36 carousel-parent mb-5">
<!--Carousel Slide one -->
<div class="absolute transition-all ease-in-out duration-1000 transform translate-x-0 slide active">
<div class="relative">
<div class="absolute w-screen flex flex-col justify-between items-start inset-0 h-full ">
<div class="w-2/4 h-3/4 ml-4 my-7 flex flex-col justify-evenly">
<span class = "text-sm text-gray-600">New Collection 2021</span>
<h1 class = "text-xl font-semibold">New Chair</h1>
<a class = "w-2/4 py-1 px-1.5 bg-yellow-600 text-center text-sm text-white rounded uppercase" href="#">Shop Now</a>
</div>
</div>
<img class = "max-w-full" src="https://cdn.shopify.com/s/files/1/0550/2877/7109/files/S1.jpg?v=1614855836" alt="">
</div>
</div>
<!--Carousel Slide two -->
<div class="absolute transition-all ease-in-out duration-1000 transform translate-x-full slide">
<div class="relative">
<div class="absolute w-screen flex flex-col justify-between items-start inset-0 h-full ">
<div class="w-2/4 h-3/4 ml-4 my-7 flex flex-col justify-evenly">
<span class = "text-sm text-gray-500">New Collection 2021</span>
<h1 class = "text-xl font-semibold">New Sofa Chair</h1>
<a class = "w-2/4 py-1 px-1.5 bg-yellow-600 text-center text-sm text-white rounded uppercase" href="#">Shop Now</a>
</div>
</div>
<img class = "max-w-full" src="https://cdn.shopify.com/s/files/1/0550/2877/7109/files/S2.jpg?v=1614855869" alt="">
</div>
</div>
<!--Carousel Slide Buttons-->
<div class="absolute bottom-0 my-auto container">
<ul class = "flex justify-center">
<li class = "relative inline-block w-5 h-5 cursor-pointer">
<button class="block h-3 w-3 p-1 rounded-full border border-gray-600 prev active" ></button>
</li>
<li class = "relative inline-block w-5 h-5 cursor-pointer">
<button class="block h-3 w-3 p-1 rounded-full border border-gray-600 next" ></button>
</li>
</ul>
</div>
</section>
<!--Home Pg Icon Section-->
<section class="container flex flex-wrap mt-6 px-4">
<div class = "w-48 text-center px-1 my-3">
<span class="block my-1">
<i class="text-yellow-500 opacity-80 fas fa-truck fa-lg"></i>
</span>
<p class = "font-medium text-base my-1">Worldwide Shipping</p>
<p class = "text-gray-500 text-sm">There many variations passages Lorem but majority have..</p>
</div>
<div class = "w-48 text-center px-1 my-3">
<span class="block my-1">
<i class="text-blue-500 opacity-80 fas fa-phone-volume fa-lg"></i>
</span>
<p class = "font-medium text-base my-1">24/7 Online Support</p>
<p class = "text-gray-500 text-sm">There many variations passages Lorem but majority have..</p>
</div>
<div class = "w-48 text-center px-1 my-3">
<span class="block my-1">
<i class="text-indigo-500 opacity-80 fas fa-comment-dollar fa-lg"></i>
</span>
<p class = "font-medium text-base my-1">Money Guarantee</p>
<p class = "text-gray-500 text-sm">There many variations passages Lorem but majority have..</p>
</div>
<div class = "w-48 text-center px-1 my-3">
<span class="block my-1">
<i class="text-yellow-300 opacity-80 fas fa-credit-card fa-lg"></i>
</span>
<p class = "font-medium text-base my-1">Win $100 To Voucher</p>
<p class = "text-gray-500 text-sm">There many variations passages Lorem but majority have..</p>
</div>
</section>
<hr class="border-t border-gray-300 w-11/12 mx-auto">
<!--Featured Product Section-->
<section class="container mt-6">
<div class="px-3.5">
<img class="w-full rounded" src="https://cdn.shopify.com/s/files/1/0550/2877/7109/files/690x360.jpg?v=1614855927" alt="">
</div>
<div class="mx-4">
<p class="uppercase text-base text-gray-500 mt-4 mb-1.5">Spring Edition</p>
<h2 class="text-xl text-gray-900">Outdoor Furniture With Garment</h2>
<p class="mb-3 text-gray-600">There suffered are many variations passages of Lorem Ipsum available the majority have but the</p>
<a class = "w-2/4 py-2 px-5 bg-yellow-600 text-center text-sm text-white rounded uppercase" href="#">Shop Now</a>
</div>
</section>
<!--Latest Products Section-->
<section class="container mt-8 mb-2 h-screen">
<h2 class="text-center text-2xl text-gray-900 my-4">
Latest Products
</h2>
<div class="container">
<div class="container whitespace-nowrap latest-carousel">
<div class="inline-block w-full">
<!--First slide of latest products carousel-->
<div class="grid grid-cols-2 w-full mx-auto transition-all ease-in-out duration-1000 transform translate-x-0 slide active">
<!--Product One-->
<div class="w-3/4 px-2 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/3_large.jpg?v=1614857751" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Unique Desiger Night Lamp</h3>
<p class="text-center font-semibold">Rs. 700.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
<!--Product Two-->
<div class="w-3/4 px-2 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/8_large.jpg?v=1614861816" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Adirondack Chair</h3>
<p class="text-center font-semibold">Rs. 800.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
<!--Product Third-->
<div class="w-3/4 px-2 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/20_21653568-9978-4ad6-bdab-270f1d435d55_large.jpg?v=1614860653" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Designer Living Room Desk Chair</h3>
<p class="text-center font-semibold">Rs. 300.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
<!--Product Four-->
<div class="w-3/4 px-2 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/23_large.jpg?v=1614861258" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Chairs Leatherette Office Chair</h3>
<p class="text-center font-semibold">Rs. 300.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
</div>
</div>
<div class="inline-block w-full">
<!--Second Slide of Latest Product Carousel-->
<div class="grid grid-cols-2 w-full mx-auto transition-all ease-in-out duration-1000 transform translate-x-full slide">
<!--Product One-->
<div class="w-3/4 px-2 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/3_large.jpg?v=1614857751" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Unique Desiger Night Lamp</h3>
<p class="text-center font-semibold">Rs. 700.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
<!--Product Two-->
<div class="w-2/5 px-2 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/8_large.jpg?v=1614861816" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Adirondack Chair</h3>
<p class="text-center font-semibold">Rs. 800.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
<!--Product Third-->
<div class="w-2/5 px-2 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/20_21653568-9978-4ad6-bdab-270f1d435d55_large.jpg?v=1614860653" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Designer Living Room Desk Chair</h3>
<p class="text-center font-semibold">Rs. 300.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
<!--Product Four-->
<div class="w-2/5 px-2 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/23_large.jpg?v=1614861258" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Chairs Leatherette Office Chair</h3>
<p class="text-center font-semibold">Rs. 300.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Carousel Slide Buttons-->
<div class="absolute top-3/4 container">
<ul class = "flex justify-center">
<li class = "inline-block mx-3 cursor-pointer">
<button class="h-9 w-9 rounded-full border border-gray-200 shadow-md orange-hover prev"><i class="fas fa-chevron-left"></i></button>
</li>
<li class = "inline-block mx-3 cursor-pointer">
<button class="h-9 w-9 rounded-full border border-gray-200 shadow-md orange-hover next" ><i class="fas fa-chevron-right"></i></button>
</li>
</ul>
</div>
</div>
</section>
<!--New Furniture Call to Action-->
<section class="container bg-red-50">
<div class="w-full pt-4 px-4">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/files/550x600.jpg?v=1614855946" alt="">
</div>
<div class="my-4 text-center">
<p class="text-gray-500 text-base my-1">New Collection 2021</p>
<h2 class="text-2xl my-1">New Furniture Design</h2>
<p class="text-sm text-gray-600 mt-1 mb-2.5">There suffered are many variations of passages of Lorem Ipsum available, but the </p>
<a class = "w-2/4 py-2 px-5 bg-yellow-600 text-center text-sm text-white rounded uppercase" href="#">Shop Now</a>
</div>
<div class="w-full py-4 px-4">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/files/400x500.jpg?v=1614855959" alt="">
</div>
</section>
<!--Top Categories Section-->
<section class="container mt-6 mb-8 px-4">
<h2 class="text-2xl text-center mt-2 mb-4">Top Categories This Week</h2>
<div class="w-full flex justify-around">
<div class="flex flex-col w-1/2 mx-1">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/collections/6_59d07418-fb12-4a39-bca3-4e3de35a1555_200x250.jpg?v=1614856527" alt="">
<p class="text-base text-center text-gray-600 mt-2 mb-2 uppercase">Sofa</p>
</a>
</div>
<div class="flex flex-col w-1/2 mx-1">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/collections/3_200x250.jpg?v=1614856408" alt="">
<p class="text-base text-center text-gray-600 mt-2 mb-2 uppercase">Crockery</p>
</a>
</div>
</div>
</section>
<!--Top Products Section-->
<section class="container mt-6 mb-8 px-4">
<h2 class="text-center text-2xl text-gray-900 my-4">
Top Products
</h2>
<div class="flex justify-evenly">
<p class="text-xl active-product-cat">Featured</p>
<p class="text-xl">Latest</p>
</div>
<div class="flex mx-auto top-products-carousel">
<!--Product One-->
<div class="w-2/5 px-3.5 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/3_large.jpg?v=1614857751" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Unique Desiger Night Lamp</h3>
<p class="text-center font-semibold">Rs. 700.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
<!--Product Two-->
<div class="w-2/5 px-3.5 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/8_large.jpg?v=1614861816" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Adirondack Chair</h3>
<p class="text-center font-semibold">Rs. 800.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
<!--Product Third-->
<div class="w-2/5 px-3.5 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/20_21653568-9978-4ad6-bdab-270f1d435d55_large.jpg?v=1614860653" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Designer Living Room Desk Chair</h3>
<p class="text-center font-semibold">Rs. 300.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
<!--Product Four-->
<div class="w-2/5 px-3.5 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/23_large.jpg?v=1614861258" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Chairs Leatherette Office Chair</h3>
<p class="text-center font-semibold">Rs. 300.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
<!--Product Five-->
<div class="w-2/5 px-3.5 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/23_large.jpg?v=1614861258" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Chairs Leatherette Office Chair</h3>
<p class="text-center font-semibold">Rs. 300.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
<!--Product Six-->
<div class="w-2/5 px-3.5 mx-4 my-3 inline-block">
<div class="w-full border my-2 border-gray-300 rounded">
<a href="#">
<img src="https://cdn.shopify.com/s/files/1/0550/2877/7109/products/23_large.jpg?v=1614861258" alt="">
</a>
</div>
<div>
<h3 class="truncate text-center font-normal">Chairs Leatherette Office Chair</h3>
<p class="text-center font-semibold">Rs. 300.00</p>
<div class="flex justify-center">
<i class="bg-gray-100 m-1.5 p-1.5 fas fa-shopping-basket"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-heart"></i>
<i class="bg-gray-100 m-1.5 p-1.5 far fa-eye"></i>
</div>
</div>
</div>
</div>
</section>
</body>
</html>