-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
743 lines (730 loc) · 17.7 KB
/
index.html
File metadata and controls
743 lines (730 loc) · 17.7 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
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
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- Link of the Tailwend Css Start here -->
<link
href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css"
rel="stylesheet"
/>
<!-- Link of the Tailwend Css End Here -->
<!-- Link of the fontawesome Start here -->
<link
rel="stylesheet"
href="https:/use.fontawesome.com/releases/v5.1 5.3/css/all.css"
integrity="sha384-SZXxX4whJ79/gErwcOYf+zWLeJdY/qpuqC4cAa9rOGUstPomtqpuNWT9wdPEn2fk"
crossorigin="anonymous"
/>
<!-- Link of the fontawesome End Here -->
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<!-- Fire base Links start here -->
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.9.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.9.0/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.8.1/firebase-firestore.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/numeral.js/2.0.6/numeral.min.js"></script>
<!-- Fire base Links End here -->
<!-- link of the this svg Jessy strat Here-->
<script
src="https://cdn.jsdelivr.net/npm/jdenticon@3.1.0/dist/jdenticon.min.js"
async
integrity="sha384-VngWWnG9GS4jDgsGEUNaoRQtfBGiIKZTiXwm9KpgAeaRn6Y/1tAFiyXqSzqC8Ga/"
crossorigin="anonymous"
></script>
<!-- link of the this svg Jessy End-->
<!-- Fire base file Link start here -->
<script src="fierbase.js"></script>
<!-- Fire base file Link End here -->
<!-- And soo On File Start-->
<script src="header.js"></script>
<script src="script.js"></script>
<link rel="stylesheet" href="style.css" />
<!-- And Files Links End Here-->
<title>Amazon.</title>
</head>
<body>
<div class="bg-white w-full">
<div class="header h-16 bg-gray-900 flex items-center">
<div class="logo w-1/5 h-16 ml-10">
<!-- img link -->
<img
class="w-28 h-16 object-contain"
src="https://www.nicepng.com/png/full/16-167642_amazon-logo-amazon-logo-white-text.png"
/>
</div>
<!-- search feild -->
<input
class="
h-9
w-30
bg-gray-800
border border-gray-500 border-opacity-75
rounded-l-xl
px-3
text-white
ml-6
focus:outline-none
placeholder-white
"
id="search"
type="text"
placeholder="Search..."
/>
<!-- categories with dropdown -->
<div
class="
categories
h-9
w-30
bg-gray-800
border border-gray-500 border-opacity-75
px-3
text-white
flex
items-center
"
>
Categories
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-4 w-4 ml-2"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M19 9l-7 7-7-7"
/>
</svg>
</div>
<!-- search icon svg -->
<div
class="
search-icon
bg-yellow-500
h-9
w-10
rounded-r-xl
flex
justify-center
items-center
text-white
"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
/>
</svg>
</div>
<!-- Right Iocns -->
<!-- heart icon -->
<div
class="
icons
text-white
flex
items-center
ml-auto
mr-8
w-48
h-16
justify-around
"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-4 w-4"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"
/>
</svg>
<!-- Cart icon with link -->
<a href="cart.html">
<div
class="
cart-icon
relative
h-10
w-10
bg-yellow-500
flex
items-center
justify-center
rounded-xl
"
>
<div
class="
cart-item-number
text-gray-800 text-xs
absolute
-top-1
-right-1
h-4
w-4
bg-white
rounded-full
flex
justify-center
items-center
"
></div>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-4 w-4 text-gray-600"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"
/>
</svg>
</div>
</a>
<!-- Green icon -->
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-4 w-4"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"
/>
</svg>
<svg class="h-12 w-12" data-jdenticon-value="Jessy"></svg>
</div>
</div>
<div class="main screen flex">
<div
class="
hidden
md:block
border-t-2 border-gray-700
main-sidebar
w-1/5
bg-gray-900
p-6
"
>
<!-- siderbar-mian-category starting Here -->
<div class="sidebar-categories">
<div
class="
siderbar-mian-category
text-yellow-500
cursor-pointer
flex
font-bold
p-2
bg-gray-700
rounded-lg
"
>
<span class="w-8">
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-8"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"
/>
</svg>
</span>
<span>Categorise</span>
</div>
<div
class="
sidebar-main-category
text-white
cursor-pointer
flex
font-bold
p-2
"
>
<span class="w-8"></span>
<span>Echo and Alexa</span>
</div>
<div
class="
sidebar-main-category
text-white
cursor-pointer
flex
font-bold
p-2
"
>
<span class="w-8"></span>
<span>Kindle</span>
</div>
<div
class="
sidebar-main-category
text-white
cursor-pointer
flex
font-bold
p-2
"
>
<span class="w-8"></span>
<span>Books</span>
</div>
<div
class="
sidebar-main-category
text-white
cursor-pointer
flex
font-bold
p-2
"
>
<span class="w-8"></span>
<span>Electronics</span>
</div>
<div
class="
sidebar-main-category
text-white
cursor-pointer
flex
font-bold
p-2
"
>
<span class="w-8"></span>
<span>Home and Garden</span>
</div>
<div
class="
sidebar-main-category
text-white
cursor-pointer
flex
font-bold
p-2
"
>
<span class="w-8"></span>
<span>Fashion</span>
</div>
<div
class="
sidebar-main-category
text-white
cursor-pointer
flex
font-bold
mb-4
p-2
hover:bg-gray-700
rounded-xl
"
>
<span class="w-8">
<i class="fas fa-percent"></i>
</span>
<span>Sell on Amazon</span>
</div>
<div
class="
sidebar-main-category
text-white
cursor-pointer
flex
font-bold
p-2
hover:bg-gray-700
rounded-xl
"
>
<span class="w-8">
<i class="far fa-question-circle"></i>
</span>
<span>Help</span>
</div>
</div>
</div>
<!-- Browse Products button on image -->
<div class="main-section flex-1 p-6 bg-gray-100">
<div class="main-section-banner h-44 rounded-lg flex items-end">
<div
class="
button
bg-white
w-36
h-10
rounded-full
flex
justify-center
items-center
m-4
cursor-pointer
"
>
<!-- This is the button -->
<h4 class="text-bold text-yellow-500">Browse Products</h4>
</div>
</div>
<!-- Papular Categories hedding on working -->
<div class="main-section-categories mt-10">
<h1
class="
papular-categories
font-bold
text-gray-700 text-2xl
flex
items-center
"
>
Papular Categories
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6 text-yellow-400"
viewbox="0 0 20 20"
fill="currentColor"
>
<path
d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"
/>
</svg>
</h1>
<!-- Here starting the icons -->
<div class="categories flex flex-wrap">
<div
class="
icon-desktop
h-20
w-20
text-gray-500
bg-white
rounded-xl
flex
justify-center
items-center
mr-6
mt-5
"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-12 w-12"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
/>
</svg>
</div>
<div
class="
icon-gift
h-20
w-20
text-gray-500
bg-white
rounded-xl
flex
justify-center
items-center
mr-6
mt-5
"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-12 w-12"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"
/>
</svg>
</div>
<div
class="
icon-mobile
h-20
w-20
text-gray-500
bg-white
rounded-xl
flex
justify-center
items-center
mr-6
mt-5
"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-12 w-12"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z"
/>
</svg>
</div>
<div
class="
icon-book
h-20
w-20
text-gray-500
bg-white
rounded-xl
flex
justify-center
items-center
mr-6
mt-5
"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-12 w-12"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"
/>
</svg>
</div>
<div
class="
icon-camera
h-20
w-20
text-gray-500
bg-white
rounded-xl
flex
justify-center
items-center
mr-6
mt-5
"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-12 w-12"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z"
/>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M15 13a3 3 0 11-6 0 3 3 0 016 0z"
/>
</svg>
</div>
<div
class="
icon-home
h-20
w-20
text-gray-500
bg-white
rounded-xl
flex
justify-center
items-center
mr-6
mt-5
"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-12 w-12"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"
/>
</svg>
</div>
<div
class="
icon-music
h-20
w-20
text-gray-500
bg-white
rounded-xl
flex
justify-center
items-center
mr-6
mt-5
"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-12 w-12"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 19V6l12-3v13M9 19c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zm12-3c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zM9 10l12-3"
/>
</svg>
</div>
<div
class="
icon-bulb
h-20
w-20
text-gray-500
bg-white
rounded-xl
flex
justify-center
items-center
mr-6
mt-5
"
>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-12 w-12"
fill="none"
viewbox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"
/>
</svg>
</div>
</div>
</div>
<!-- Hot Deals section starting Here -->
<div class="main-section-deals mt-5">
<h1 class="text-2xl font-bold text-gray-700 mb-5">Hot Deals 🔥</h1>
<div class="main-section-products flex">
<!-- This is the style product section with html and comment because i put the code on script.js -->
<!-- <div class="main-product">
<div class="product-iamge w-48 h-52 bg-white rounded-lg p-4">
<img
src="https://m.media-amazon.com/images/I/61-PblYntsL._AC_SL1500_.jpg"
class="w-full h-full object-contain"
/>
</div>
<div class="product-name text-gray-700 font-bold mt-2 text-sm">
Nintendo Switch(2019)
</div>
<div class="product-make text-green-700 font-bold">
Nintendo
</div>
<div class="product-rating text-yellow-300 font-bold my-1">
⭐⭐⭐⭐⭐ 4.5
</div>
<div class="product-price font-bold text-gray-700 text-lg">
$290.00
</div>
<div
class="
rounded
text-white
flex
items-center
justify-center
add-to-cart
h-8
w-20
bg-yellow-500
text-md
cursor-pointer
hover:bg-yellow-600
"
>
Add to cart
</div>
</div> -->
</div>
</div>
</div>
</div>
</div>
</body>
</html>