-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathallProducts.html
More file actions
1016 lines (780 loc) · 51.4 KB
/
allProducts.html
File metadata and controls
1016 lines (780 loc) · 51.4 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
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<style>
@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Indie+Flower&family=Lobster&family=Nosifer&display=swap');
</style>
<style type="text/tailwindcss">
@layer utilities {
.navs{
@apply relative tracking-[1px] hover:text-gray-400 cursor-pointer font-[Lobster]
}
.navs::after{
@apply content-[''] bg-pink-500 h-[3px] w-0 left-0 -bottom-[5px]
rounded-xl absolute duration-500
}
.navs:hover::after{
@apply bg-pink-500 h-[3px] w-full left-0 -bottom-[5px]
rounded-xl absolute duration-500
}
.btn{
@apply relative border-2 mt-2 lg:mt-0 rounded-md border-gray-800 bg-transparent py-2 px-4 font-medium uppercase transition-colors before:absolute before:left-0 before:top-0 before:-z-10 before:h-full before:w-full before:origin-top-left before:scale-x-0 before:bg-gray-800 before:transition-transform before:duration-300 before:content-[''] hover:text-white before:hover:scale-x-100
}
h1{
@apply font-bold text-sm
}
}
</style>
<style>
.animate__animated.animate__fadeInUp {
--animate-duration: 0.2s;
}
</style>
</head>
<body class="">
<!-- loading spinner -->
<div id="loading-container" class="flex items-center justify-center h-screen">
<div class="animate-spin rounded-full h-16 w-16 border-t-4 border-black"></div>
</div>
<div id="content" class="hidden">
<div class="text-white p-4 bg-black w-full flex items-center justify-center lg:space-x-3 ">
<p class="text-center md:text-sm text-xs font-[lobster]" style="letter-spacing: 1px;">Elevate your Style!
Holiday Sale Up to 50% Off.</p>
<a href="allProducts.html">
<p class="ml-auto underline text-xs lg:mx-5 italic">Shop</p>
</a>
</div>
<!-- NAVBAR -->
<!-- NAVBAR -->
<nav class="bg-white text-black p-4 flex justify-center items-center w-full shadow-2xl">
<div class=" w-1/4 flex justify-start items-center lg:space-x-16 space-x-2">
<label
class=" lables lg:top-[23px] border-gray-300 lg:border-black text top-[20px] right-16 xl:right-96 lg:right-80 "
id="dark-change"></label>
<h1 class="uppercase text-2xl font-bold hidden font-[Lobster] lg:block"
style="letter-spacing: 5px;">
<a href="index.html">tth.</a></h1>
<ul class="hidden lg:flex justify-center items-center font-[Lobster] space-x-8 text-lg font-medium">
<div class="group">
<button class="navs"><a href="allProducts.html">SummerCollections</a></button>
<ul class="ul z-[50] text-[#5c5c5c] space-y-2 absolute text-base w-1/6 p-6 mt-5 py-5 hidden bg-white border border-gray-300 shadow-md"
style="border-top: 2px solid gray;">
<li class=" px-6 hover:bg-gray-100">CASUAL PRET'23 </li>
<li class=" px-6 hover:bg-gray-100">FALL'22 </li>
<li class=" px-6 hover:bg-gray-100">S/S'22</li>
</ul>
</div>
<div class="group">
<button class="navs"><a href="SummerGlow.html">SummerGlow</a> </button>
<ul class="ul z-[50] text-[#5c5c5c] space-y-2 absolute text-base w-1/6 p-6 mt-5 py-5 hidden bg-white border border-gray-300 shadow-md"
style="border-top: 2px solid gray;">
<li class=" px-6 hover:bg-gray-100">CASUAL PRET'23 </li>
<li class=" px-6 hover:bg-gray-100">FALL'22 </li>
<li class=" px-6 hover:bg-gray-100">S/S'22</li>
</ul>
</div>
<div class="group">
<button class="navs"><a href="solarFlare.html">SolarFlare </a></button>
<ul class="ul z-[50] text-[#5c5c5c] space-y-2 absolute text-base w-1/6 p-6 mt-5 py-5 hidden bg-white border border-gray-300 shadow-md"
style="border-top: 2px solid gray;">
<li class=" px-6 hover:bg-gray-100">CASUAL PRET'23 </li>
<li class=" px-6 hover:bg-gray-100">FALL'22 </li>
<li class=" px-6 hover:bg-gray-100">S/S'22</li>
</ul>
</div>
<div class="group">
<button class="navs"><a href="beechbreeze.html">BeachBreeze </a></button>
<ul class="ul z-[50] text-[#5c5c5c] space-y-2 absolute text-base w-1/6 p-6 mt-5 py-5 hidden bg-white border border-gray-300 shadow-md"
style="border-top: 2px solid gray;">
<li class=" px-6 hover:bg-gray-100">CASUAL PRET'23 </li>
<li class=" px-6 hover:bg-gray-100">FALL'22 </li>
<li class=" px-6 hover:bg-gray-100">S/S'22</li>
</ul>
</div>
</ul>
<svg id="openBtn" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round" class="feather feather-align-justify">
<line x1="21" y1="10" x2="3" y2="10"></line>
<line x1="21" y1="6" x2="3" y2="6"></line>
<line x1="21" y1="14" x2="3" y2="14"></line>
<line x1="21" y1="18" x2="3" y2="18"></line>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-search ">
<circle cx="11" cy="11" r="8"></circle>
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
</svg>
</div>
<div class=" text-center w-1/2">
<h1 id="" class="uppercase lg:hidden font-bold font-[Lobster] text-lg "
style="letter-spacing: 3px;"><a href="index.html">tth</a>
</h1>
</div>
<div class="w-1/4 flex justify-end xl:space-x-12 lg:space-x-2">
<ul
class="hidden lg:flex text-black justify-center items-center space-x-8 text-lg font-medium font-[Lobster]">
<li class="navs">search</li>
<li class="navs">Help</li>
<li class="navs">My account</li>
</ul>
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-lock p-2 rounded-full text-white bg-black">
<rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect>
<path d="M7 11V7a5 5 0 0 1 10 0v4"></path>
</svg>
</div>
</nav>
<!-- side nav -->
<div id="sidebar"
class="w-[70%] md:w-1/3 overflow-hidden overflow-y-scroll bg-black text-white fixed top-0 h-full transform -translate-x-full transition-transform xl:hidden z-[30] ">
<!-- Sidebar content -->
<button id="closeBtn" class="
absolute top-1 right-1 p-2 ">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-x-square">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
<line x1="9" y1="9" x2="15" y2="15"></line>
<line x1="15" y1="9" x2="9" y2="15"></line>
</svg></button>
<div class="mx-2 relative py-6 px-3 mt-8">
<input type="checkbox" id="nav1" class="peer hidden" name="status">
<h1 class="text-lg font-[lobster]"><a href="allProducts.html">SummerCollections</a></h1>
<label for="nav1"
class=" absolute top-4 right-3 peer-checked:transform peer-checked:rotate-45 text-3xl transition-all duration-500 inline-block ml-auto font-normal">+</label>
<div for="nav1"
class=" overflow-scroll max-h-0 peer-checked:max-h-[40vh] transform transition-all duration-500 md:min-96 mx-2">
<div class="p-2 italic text-sm text-center">
<p>Sher</p>
<p>Sher</p>
<p>Sher</p>
</div>
</div>
</div>
<hr class="border-1 border-gray-100 mx-2 ">
<div class="mx-2 relative py-6 px-3">
<input type="checkbox" id="nav2" class="peer hidden" name="status">
<h1 class="text-lg font-[lobster]"><a href="SummerGlow.html">SummerGlow</a></h1>
<label for="nav2"
class=" absolute top-4 right-3 peer-checked:transform peer-checked:rotate-45 text-3xl transition-all duration-500 inline-block ml-auto font-normal">+</label>
<div for="nav2"
class=" overflow-scroll max-h-0 peer-checked:max-h-[40vh] transform transition-all duration-500 md:min-96 mx-2">
<div class="p-2 italic text-sm text-center">
<p>Sher</p>
<p>Sher</p>
<p>Sher</p>
</div>
</div>
</div>
<hr class="border-1 border-gray-100 mx-2 ">
<div class="mx-2 relative py-6 px-3">
<input type="checkbox" id="nav3" class="peer hidden" name="status">
<h1 class="text-lg font-[lobster]"><a href="solarFlare.html">SolarFlare</a></h1>
<label for="nav3"
class=" absolute top-4 right-3 peer-checked:transform peer-checked:rotate-45 text-3xl transition-all duration-500 inline-block ml-auto font-normal">+</label>
<div for="nav3"
class=" overflow-scroll max-h-0 peer-checked:max-h-[40vh] transform transition-all duration-500 md:min-96 mx-2">
<div class="p-2 italic text-sm text-center">
<p>Sher</p>
<p>Sher</p>
<p>Sher</p>
</div>
</div>
</div>
<hr class="border-1 border-gray-100 mx-2 ">
<div class="mx-2 relative py-6 px-3">
<input type="checkbox" id="nav4" class="peer hidden" name="status">
<h1 class="text-lg font-[lobster]"><a href="beechbreeze.html"> BeachBreeze</a></h1>
<label for="nav4"
class=" absolute top-4 right-3 peer-checked:transform peer-checked:rotate-45 text-3xl transition-all duration-500 inline-block ml-auto font-normal">+</label>
<div for="nav4"
class=" overflow-scroll max-h-0 peer-checked:max-h-[40vh] transform transition-all duration-500 md:min-96 mx-2">
<div class="p-2 italic text-sm text-center">
<p>Sher</p>
<p>Sher</p>
<p>Sher</p>
</div>
</div>
</div>
<hr class="border-1 border-gray-100 mx-2 ">
</div>
<!-- FILTER NAVBAR -->
<div class="flex items-center lg:hidden bg-white border-2 border-gray-200 text-sm ">
<!-- 1 -->
<div class="w-1/4 border-r-2 p-4 border-gray-200 text-center " id="openBtns">Filter</div>
<!-- 2 -->
<div class="icon w-1/2 border-r-2 p-4 space-x-1 border-gray-200 flex items-cente justify-center"
id="openBtnss">
<div>Sort</div>
<ion-icon name="chevron-down-outline" class="mt-1"></ion-icon>
</div>
<!-- 3 -->
<div class=" w-1/4 p-4 flex items-center justify-center space-x-2">
<ion-icon name="square" id="toggleButton" class="text-lg"></ion-icon>
<ion-icon name="grid" id="resetButton" class="text-lg"> </ion-icon>
</div>
</div>
<!-- FILTER NAVBAR FOR XL SCREENS -->
<div class=" items-center hidden lg:flex bg-white border-2 border-gray-200 text-sm "
id="make">
<!-- 1 -->
<div class="flex p-4 justify-center items-center w-[10%] space-x-4">
<ion-icon name="square" class="cursor-pointer text-xl" id="toggleButtonXL"></ion-icon>
<ion-icon name="grid" id="resetButtonXL" class="cursor-pointer text-xl"> </ion-icon>
</div>
<!-- 2 -->
<div class="icon w-[85%] border-r-2 p-4 border-l-2 border-gray-200 flex items-cente justify-center"
id="openBtnss">
<div class="text-2xl font-serif text-[#5c5c5c]">SUMMER COLLECTIONS</div>
<!-- <ion-icon name="chevron-down-outline" class="mt-2"></ion-icon> -->
</div>
<!-- -->
<div class="w-[8%] p-4 text-center">
<div id="sortButton" class="cursor-pointer text-sm inline-flex items-center">
<span>Sort</span> <ion-icon name="chevron-down-outline" class="ml-1"></ion-icon>
</div>
<div id="sortDropdown" class="hidden bg-white p-8 rounded-md shadow-2xl space-y-4 absolute top-44 right-24 h-72 overflow-hidden overflow-y-scroll text-gray-400 text-sm z-30 animate__animated animate__fadeInDownBig
">
<!-- Dropdown content here -->
<div class="text-gray-400 hover:text-[#5c5c5c] cursor-pointer">Featured</div>
<div class="text-gray-400 hover:text-[#5c5c5c] cursor-pointer">Best selling </div>
<div class="text-gray-400 hover:text-[#5c5c5c] cursor-pointer">Alphabatically, A-Z</div>
<div class="text-gray-400 hover:text-[#5c5c5c] cursor-pointer">Alphabatically, Z-A</div>
<div class="text-gray-400 hover:text-[#5c5c5c] cursor-pointer">Price, low to high</div>
<div class="text-gray-400 hover:text-[#5c5c5c] cursor-pointer">Price, high to low</div>
<div class="text-gray-400 hover:text-[#5c5c5c] cursor-pointer">Date, old to new</div>
<div class="text-gray-400 hover:text-[#5c5c5c] cursor-pointer">Date, old to new</div>
<div class="text-gray-400 hover:text-[#5c5c5c] cursor-pointer">Date, old to new</div>
</div>
</div>
<!-- 3 -->
<div class=" w-[8%] border-l-2 border-gray-200 p-[1.4rem] text-center">
<div class=" border-gray-200 cursor-pointer text-sm " id="xlOpenBtns">Filter</div>
</div>
</div>
<!--SIDE NAVBAR HERE -->
<div id="sidebarss"
class=" border border-gray-300 bg-white text-gray-600 fixed bottom-0 w-full h-[70%] transform translate-y-full transition-transform lg:hidden z-[15]">
<!-- Sidebar content -->
<div class="text-sm text-center border-b-2 p-6 border-gray-100">Sort</div>
<div class="text-center h-[70%] my-6 overflow-y-auto space-y-10 text-sm text-gray-400">
<div class="text-gray-400 hover:text-[#5c5c5c]">Featured</div>
<div class="text-gray-400 hover:text-[#5c5c5c]">Best selling </div>
<div class="text-gray-400 hover:text-[#5c5c5c]">Alphabatically, A-Z</div>
<div class="text-gray-400 hover:text-[#5c5c5c]">Alphabatically, Z-A</div>
<div class="text-gray-400 hover:text-[#5c5c5c]">Price, low to high</div>
<div class="text-gray-400 hover:text-[#5c5c5c]">Price, high to low</div>
<div class="text-gray-400 hover:text-[#5c5c5c]">Date, old to new</div>
<div class="text-gray-400 hover:text-[#5c5c5c]">Date, old to new</div>
<div class="text-gray-400 hover:text-[#5c5c5c]">Date, old to new</div>
</div>
<!-- <button id="navbar-close" class="absolute top-0 left-0 p-4 bg-red-500 text-white hidden">Close Navbar</button> -->
<ion-icon name="close-outline" class=" text-2xl absolute top-6 left-6 text-gray-500 "
id="closeBtnss">ggjhgkgh</ion-icon>
<!-- <div name="close-outline" class=" text-2xl absolute top-0 left-0 text-black hidden" id="closeBtnss">ggjhgkgh</div> -->
</div>
<!-- RIGHT SIDE NAVBAR HERE -->
<div id="sidebars"
class="w-[70%] md:w-1/3 border-l border-gray-300 overflow-hidden z-[20] overflow-y-scroll bg-white text-gray-600 fixed top-0 right-0 h-full transform translate-x-full transition-transform ">
<!-- Sidebar content -->
<div class="text-center overflow-auto overflow-y-scroll space-y-4 ">
<!-- <button id="nav-close" class="absolute top-0 left-0 p-4 bg-red-500 text-white hidden">Close Nav</button> -->
<ion-icon name="close-outline" id="closeBtns"
class="absolute lg:hidden right-2 text-2xl p-4 text-gray-500 "></ion-icon>
<ion-icon name="close-outline" id="xlCloseBtns"
class="absolute hidden lg:block right-8 text-2xl top-1 text-gray-500 "></ion-icon>
<!-- xlCloseBtns -->
<div style="visibility: hidden;">sher</div>
<hr class="border mt-7 border-gray-100">
<!-- <hr class="border mt-16 border-gray-100"> -->
<div class="flex items-center mt-14 mb-5 mx-2 ">
<h1 class="text-base mx-2 font-serif ">Freesia</h1>
<ion-icon
class="cursor-pointer mx-2 text-lg textgar lg:hidden ml-auto navexp transform transition-transform duration-200 "
name="add-outline"></ion-icon>
</div>
<div class="hidden lg:block text-left mx-4 space-y-4 pt-6 ">
<p>Unstitshed</p>
<p>stitshed</p>
</div>
<div id="" class=" hide1 hidden text-sm text-gray-400 mb-8 lg:hidden text-left mx-4 space-y-4 pt-6">
<p>Unstitshed</p>
<p>stitshed</p>
</div>
<hr class="border-1 border-gray-100 mx-2 ">
<div class="flex items-center mt-6 mb-5 mx-2 ">
<h1 class="text-base mx-2 font-serif ">Filters</h1>
<ion-icon
class="cursor-pointer mx-2 text-lg textgar lg:hidden ml-auto navexp transform transition-transform duration-200 "
name="add-outline"></ion-icon>
</div>
<div id="" class=" hidden lg:block text-left mx-4 space-y-4 pt-6">
<p>ABEZAR20</p>
<p>ABEZARSUMMER19</p>
</div>
<div id="" class=" hide1 hidden lg:hidden text-sm text-gray-400 mb-8 0 text-left mx-4 pt-6">Pants</div>
<hr class="border-1 border-gray-100 mx-2s ">
<div class="text-center pt-20 space-y-9">
<hr class="border-gray-100 border ">
<div class="mx-8">
<button
class=" bg-[#5c5c5c] w-full p-4 px-8 xl:px-32 text-white text-sm border border-[#5c5c5c] hover:bg-white hover:text-[#5c5c5c] "
style="letter-spacing: 4px;">APPLY </button>
</div>
</div>
</div>
</div>
<!-- IMAGES GRID NO. 1 -->
<div class="grid grid-cols-2 lg:grid-cols-4 gap-3 gap-y-8 mx-3 md:mx-20 md:gap-6 xl:mx-12 2xl:gap-5 my-9 place-items-center "
id="gridContainer">
<a href="singleProduct.html"> <div class="" data-aos="zoom-in">
<img src="https://media.istockphoto.com/id/948099210/photo/group-of-shoes-on-white-background-isolated-product-comfortable-footwear.jpg?s=612x612&w=0&k=20&c=Iulg2G_VwjH2HzucUGHm-MGF3ikW-crtO5JEv16Hcf4="
class="transform hover:scale-105 transition duration-300 w-64 lg:w-96 h-64 lg:h-96" alt="">
<div class="space-y-2 mt-5">
<h1 class="text-center text-sm ">LUNA</h1>
<h1 class="text-center text-sm text-gray-400">164,091,18</h1>
</div>
</div></a>
<!-- img 2 -->
<a href="singleProduct.html">
<div data-aos="zoom-in">
<img src="https://media.istockphoto.com/id/1257487861/photo/mens-white-shoes.jpg?s=612x612&w=0&k=20&c=e51o9hzSH2RAig4GwWz5GkG3ohqCS8vYxFlwEqM_pOU="
class="transform hover:scale-105 transition duration-300 w-64 lg:w-96 h-64 lg:h-96" alt="">
<div class="space-y-2 mt-5">
<h1 class="text-center text-sm ">LUNA</h1>
<h1 class="text-center text-sm text-gray-400">164,091,18</h1>
</div>
</div>
</a>
<!-- img 3 -->
<a href="singleProduct.html">
<div data-aos="zoom-in">
<img src="https://media.istockphoto.com/id/1761340831/photo/white-running-shoes-sport-sneakers-isolated-on-black-background-a-casual-comfortable-pair-of.jpg?s=612x612&w=0&k=20&c=wdR3bJO1fKAgBh3uWvFuYWSWp9cINBQnukVdVlAhxXw="
class="transform hover:scale-105 transition duration-300 w-64 lg:w-96 h-64 lg:h-96" alt="">
<div class="space-y-2 mt-5">
<h1 class="text-center text-sm ">LUNA</h1>
<h1 class="text-center text-sm text-gray-400">164,091,18</h1>
</div>
</div>
</a>
<!-- img 4 -->
<a href="singleProduct.html">
<div data-aos="zoom-in">
<img src="https://media.istockphoto.com/id/1309376211/photo/phantom-runner.jpg?s=612x612&w=0&k=20&c=T6dU8TOD7N4imOlfnXUZNNo5FzCguBU5iQZroGFKZoA="
class="transform hover:scale-105 transition duration-300 w-64 lg:w-96 h-64 lg:h-96" alt="">
<div class="space-y-2 mt-5">
<h1 class="text-center text-sm ">LUNA</h1>
<h1 class="text-center text-sm text-gray-400">164,091,18</h1>
</div>
</div>
</a>
<!-- img 5 -->
<a href="singleProduct.html">
<div data-aos="zoom-in">
<img src="https://media.istockphoto.com/id/121026624/photo/ice-hockey-skate.jpg?s=612x612&w=0&k=20&c=O7NJtiiDI67NnVppGgjMyb7fYYO-pPtUEuz-v7mLmmM="
class="transform hover:scale-105 transition duration-300 w-64 lg:w-96 h-64 lg:h-96" alt="">
<div class="space-y-2 mt-5">
<h1 class="text-center text-sm ">LUNA</h1>
<h1 class="text-center text-sm text-gray-400">164,091,18</h1>
</div>
</div>
</a>
<!-- img 6 -->
<a href="singleProduct.html">
<div data-aos="zoom-in">
<img src="https://media.istockphoto.com/id/1257487861/photo/mens-white-shoes.jpg?s=612x612&w=0&k=20&c=e51o9hzSH2RAig4GwWz5GkG3ohqCS8vYxFlwEqM_pOU="
class="transform hover:scale-105 transition duration-300 w-64 lg:w-96 h-64 lg:h-96" alt="">
<div class="space-y-2 mt-5">
<h1 class="text-center text-sm ">LUNA</h1>
<h1 class="text-center text-sm text-gray-400">164,091,18</h1>
</div>
</div>
</a>
<!-- img 7 -->
<a href="singleProduct.html">
<div data-aos="zoom-in">
<img src="https://media.istockphoto.com/id/948099210/photo/group-of-shoes-on-white-background-isolated-product-comfortable-footwear.jpg?s=612x612&w=0&k=20&c=Iulg2G_VwjH2HzucUGHm-MGF3ikW-crtO5JEv16Hcf4="
class="transform hover:scale-105 transition duration-300 w-64 lg:w-96 h-64 lg:h-96" alt="">
<div class="space-y-2 mt-5">
<h1 class="text-center text-sm ">LUNA</h1>
<h1 class="text-center text-sm text-gray-400">164,091,18</h1>
</div>
</div>
</a>
<!-- img 8 -->
<a href="singleProduct.html">
<div data-aos="zoom-in">
<img src="https://media.istockphoto.com/id/119256109/photo/modern-skates.jpg?s=612x612&w=0&k=20&c=xxl5hEfAx7YRzUHQDGlznUCJOrVTOB18fF-ipOxv6AE="
class="transform hover:scale-105 transition duration-300 w-64 lg:w-96 h-64 lg:h-96" alt="">
<div class="space-y-2 mt-5">
<h1 class="text-center text-sm ">LUNA</h1>
<h1 class="text-center text-sm text-gray-400">164,091,18</h1>
</div>
</div>
</a>
<!-- img 9 -->
<a href="singleProduct.html">
<div data-aos="zoom-in">
<img src="https://media.istockphoto.com/id/1210269995/photo/pair-of-male-shoes-isolated-on-the-white.jpg?s=612x612&w=0&k=20&c=jp1UmsJypdOaqA7aKJrgW3DMbRcU_aFEBnV0rFsKmeY="
class="transform hover:scale-105 transition duration-300 w-64 lg:w-96 h-64 lg:h-96" alt="">
<div class="space-y-2 mt-5">
<h1 class="text-center text-sm ">LUNA</h1>
<h1 class="text-center text-sm text-gray-400">164,091,18</h1>
</div>
</div>
</a>
<!-- img 10 -->
<a href="singleProduct.html">
<div data-aos="zoom-in">
<img src="https://media.istockphoto.com/id/1309376211/photo/phantom-runner.jpg?s=612x612&w=0&k=20&c=T6dU8TOD7N4imOlfnXUZNNo5FzCguBU5iQZroGFKZoA="
class="transform hover:scale-105 transition duration-300 w-64 lg:w-96 h-64 lg:h-96" alt="">
<div class="space-y-2 mt-5">
<h1 class="text-center text-sm ">LUNA</h1>
<h1 class="text-center text-sm text-gray-400">164,091,18</h1>
</div>
</div>
</a>
</div>
<!-- PAKISTAN FIXED SECTION (CURRENCY SECTION) -->
<div class="fixed z-[10] top-[88%] right-[2%] inline-block text-left">
<div class="bg-[#f5f5f5] shadow-xl border border-gray-300 text-gray-700 py-3 px-4 rounded leading-tight cursor-pointer"
id="dropdown-toggle" onclick="toggleDropdown()">
<img id="selected-item-image" class="h-6 w-6 mr-2 inline"
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABcCAMAAADUMSJqAAAAkFBMVEUBQRz///8APxkAPhYAOxEANQD5+/oAMwAAOg4AQhoAPxTQ29Xg6eQAMQDj6+doiXVCZk5lgm90kX/w9PFSemIjVzeSppnJ1M2Im48XTy2yw7lXdWGHnpAwVzxAblMKRyOJp5WovbG/zcU4Z0ucsaWzvbYALAAsYUKjsKdbgWp3jX6An4xNcVoAPAkASSE4W0OU2LnTAAAC/klEQVRoge1Y25aiMBA0V4JhCBLRgUHFEXVwRv3/v1vuzroEDcLDnkO9Qiqd6up0kslkxIgRI0aM+D+ABmOGhrneDEONjEsUeYNQQ+xHMvAHkQX7wgbDcEPmbAH49PAQ3NMZB8ByWONXBF/iNl0bACBI40d/57/ADpErU+5tI/dkcolFtaIOk7A5TbmBKplkT3O9IDsctdnZLqMGUbPgKfkXkB5DaJPYiW7CkZ/pDeRV5UISSmB5V9cCn7q6wHOQBx5vVANZlhFupfM7uoETkQsOZqqByBAy/wMslPOrhno8H8idZlUQ8UJOy1+0A18UI7fNXjaOgVX8kP4y1Q58WS650StmXCqSp1yo/KQK/L2IS56aB8LJ+ntZhU4TLXboF1YB1odCT4jJ4ZCtTkoK6IcOO/6wCnL+05Kstz0A9jyJl9zaaWzJ01O5YpVZcpCYgu83RogvlIb9F3ATV+RtIZGQ8nPmFMg0zIhWpVfAso2cuWCuaZSM3LGfkYW5W93anGT5rDysdEsew7pLt8CzukBmbevu1Oemoi6/d0Ub6g7k1uSxOSD556rvE8svWWRbRjvhllAAwr51uVkxdXrfutyKKIXoWZdb+Weh6zaaB7htXBncnq3OTr/Iba9f1etmkSM49ypM3eZy0EW/wlQNuqwklzyOHT59I6uPFhX7ww0Qef6z5PWhqErqqf0iCpEjVk9npjrO1bEvLi3FBNksUJxwmkMXf4WeemZtKM+704UV6HQ8yLZ/kwMeXhrzisnPklo7rV0CXew7dsrdM7mTHjJjF0hA55o7ENvdCZNJHx0JwxgVwJiZIs/Nt3YllBeuO9hb98e5rlbXq5NEpWHjgy53dVVsgrSs2yca4A77Q3nJfQAad3sZKK7n7bDDrq8OxcNCG3jywiNS/iSiRrTqovct+OwxR0EdHNGrjQQZpsvlvS2pHXtGHz0KErKOuWUXM1ApbR4IsxfqHJicj0kYf+33+69QrM9vrN9DAcKEGCkIYa89Eo0YMWLEiBEV/gC+kygz4QIY+AAAAABJRU5ErkJggg==">
<!-- <img src="download.png" alt=""> -->
<!-- div -->
<span id="selected-item" class="text-sm text-gray-500 inline-flex"> PKR (ruppees)</span>
▼
</div>
<ul class="absolute z-[-1] bottom-[105%] w-full p-1 text-sm text-gray-500 bg-white border border-gray-300 rounded-md shadow-md hidden animate__animated animate__fadeInUp"
id="dropdown-list">
<!-- The list items will be dynamically generated here -->
</ul>
</div>
<!-- FOOTER SECTION FOR SMALL SCREENS -->
<!-- stor section -->
<div class="space-y-2 lg:hidden my-6">
<div class="mx-2 relative p-4">
<input type="checkbox" id="sher" class="peer hidden" name="status">
<h1 class="text-sm font-serif font-normal uppercase">About Trendy Treads</h1>
<label for="sher" class=" absolute top-1 right-3 peer-checked:transform peer-checked:rotate-45 text-3xl transition-all duration-500 inline-block ml-auto font-nore
">+</label>
<div for="sher"
class=" overflow-scroll max-h-0 peer-checked:max-h-[40vh] transform transition-all duration-500 md:min-96 mx-2">
<div class="p-2 text-sm text-justify italic">
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Fugit eos suscipit temporibus optio
tempora tempore quibusdam, enim deserunt cupiditate impedit magni minima vero explicabo fuga
quas soluta voluptatum dicta vel? Lorem, ipsum dolor sit amet consectetur adipisicing elit.
Fugit eos suscipit temporibus optio tempora tempore quibusdam, enim deserunt cupiditate
impedit magni minima vero explicabo fuga quas soluta voluptatum dicta vel?</p>
</div>
</div>
</div>
<hr class="mx-4">
<div class="mx-2 relative p-4">
<input type="checkbox" id="shers" class="peer hidden" name="status">
<h1 class="text-sm font-serif font-normal uppercase">Address</h1>
<label for="shers"
class=" absolute top-1 right-3 peer-checked:transform peer-checked:rotate-45 text-3xl transition-all duration-500 inline-block ml-auto font-normal">+</label>
<div for="shers"
class=" overflow-scroll max-h-0 peer-checked:max-h-[40vh] transform transition-all duration-500 md:min-96 mx-2">
<div class="p-2 italic text-sm text-justify">
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Fugit eos suscipit temporibus optio
tempora tempore quibusdam, enim deserunt cupiditate impedit magni minima vero explicabo fuga
quas soluta voluptatum dicta vel? Lorem, ipsum dolor sit amet consectetur adipisicing elit.
Fugit eos suscipit temporibus optio tempora tempore quibusdam, enim deserunt cupiditate
impedit magni minima vero explicabo fuga quas soluta voluptatum dicta vel?</p>
</div>
</div>
</div>
<hr class="mx-4">
<div class="mx-2 relative p-4">
<input type="checkbox" id="sher1" class="peer hidden" name="status">
<h1 class="text-sm font-serif font-normal uppercase">Info</h1>
<label for="sher1"
class=" absolute top-1 right-3 peer-checked:transform peer-checked:rotate-45 text-3xl transition-all duration-500 inline-block ml-auto font-normal">+</label>
<div for="sher1"
class=" overflow-scroll max-h-0 peer-checked:max-h-[40vh] transform transition-all duration-500 md:min-96 mx-2">
<div class="p-2 italic text-sm text-justify">
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Fugit eos suscipit temporibus optio
tempora tempore quibusdam, enim deserunt cupiditate impedit magni minima vero explicabo fuga
quas soluta voluptatum dicta vel? Lorem, ipsum dolor sit amet consectetur adipisicing elit.
Fugit eos suscipit temporibus optio tempora tempore quibusdam, enim deserunt cupiditate
impedit magni minima vero explicabo fuga quas soluta voluptatum dicta vel?</p>
</div>
</div>
</div>
<hr class="mx-4">
<div class="mx-2 relative p-4">
<input type="checkbox" id="sher2" class="peer hidden" name="status">
<h1 class="text-sm font-serif font-normal uppercase">Follow Us</h1>
<label for="sher2"
class=" absolute top-1 right-3 peer-checked:transform peer-checked:rotate-45 text-3xl transition-all duration-500 inline-block ml-auto font-normal">+</label>
<div for="sher2"
class=" overflow-scroll max-h-0 peer-checked:max-h-[40vh] transform transition-all duration-500 md:min-96 mx-2">
<div class="p-2 italic text-justify text-sm">
<p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Fugit eos suscipit temporibus optio
tempora tempore quibusdam, enim deserunt cupiditate impedit magni minima vero explicabo fuga
quas soluta voluptatum dicta vel? Lorem, ipsum dolor sit amet consectetur adipisicing elit.
Fugit eos suscipit temporibus optio tempora tempore quibusdam, enim deserunt cupiditate
impedit magni minima vero explicabo fuga quas soluta voluptatum dicta vel?</p>
</div>
</div>
</div>
</div>
<!-- FOOTER SECTION FOR LARGE SCREENS -->
<hr class="border-1 border-gray-200 w-full mt-10 hidden md:block">
<div class=" justify-evenly items-center hidden md:block font-[lobster] ">
<div class="grid grid-cols-3 md:grid-cols-2 xl:grid-cols-3 mt-6 gap-2 justify-center mx-16 ">
<div class=" p-4 text-left ">
<div class=" ">
<h1 class=" underline " style="letter-spacing: 2px;">STORE</h1>
<div class="para ">
<div id="desk1" class=" mt-3 text-left text-gray-600" style="letter-spacing: 1px;">
<h1 class="text-gray-400 italic text-sm md:text-base "> 5-R, Gulberg Main road
Lahoreasas
</h1>
<h2 class=" text-gray-400 text-sm ">For Online Orders Queries: +92 346 111 39626 For
Booking an
Appointment: +92 345 849 6756
</h2>
<h3 class="my-5 text-gray-400 text-sm ">
Store Hours
</h3>
<h4 class="text-sm text-gray-400 md:text-base">MONDAY - SATURDAY :</h4>
<h4 class="text-sm text-gray-400 md:text-base my-5">11:00 am - 07:00 pm</h4>
</div>
</div>
</div>
</div>
<div class=" p-4 text-right">
<div class="">
<h1 class="underline" style="letter-spacing: 2px;">ABOUT TTH</h1>
<div class="para">
<div id="desk2" class=" mt-2 text-right text-gray-600 ">
<p class="mb-6 mt-3 text-sm text-gray-400 md:text-base "
style="line-height: 25px; letter-spacing: 0.2px; ">Lorem ipsum dolor sit
amet consectetur adipisicing elit. Sed provident eius magnam non consequatur
consequuntur
Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus
</p>
</div>
</div>
</div>
</div>
<div class=" p-4 xl:text-right md:text-left">
<div class="">
<h1 class=" underline" style="letter-spacing: 2px;">CUSTOMER SERVICE </h1>
<div class="para">
<div id="desk3" class=" xl:text-right md:text-left text-sm md:text-base text-gray-400">
<div class="space-y-2" style="letter-spacing: 1px;">
<h1 >Contact us</h1>
<h1 >About us </h1>
<h1 > exchange & Refunds</h1>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- on sm screens -->
<h1 class="text-center text-sm font-medium text-gray-400 mt-6">GET TO KNOW US</h1>
<div class=" flex justify-center items-center space-x-5 p-4 ">
<ion-icon name="logo-facebook" class="text-black text-2xl md:text-3xl font-bold "></ion-icon>
<ion-icon name="call-outline" class="text-black text-2xl md:text-3xl font-bold "></ion-icon>
<ion-icon name="logo-instagram" class="text-black text-2xl md:text-3xl font-bold "></ion-icon>
<ion-icon name="mail-outline" class="text-black text-2xl md:text-3xl font-bold "></ion-icon>
<ion-icon name="logo-whatsapp" class="text-black text-2xl md:text-3xl font-bold "></ion-icon>
<!-- grid div ends here -->
<!-- sixe -->
</div>
</div>
<script>
// FOR GRID TOGGLE OPTIONS
const toggleButton = document.getElementById('toggleButton');
const resetButton = document.getElementById('resetButton');
const toggleButtonXL = document.getElementById('toggleButtonXL'); // New button for XL screens
const resetButtonXL = document.getElementById('resetButtonXL'); // New button for XL screens
const gridContainer = document.getElementById('gridContainer');
// Initially, set the active button
toggleButton.classList.add('text-gray-400'); // Toggle button is initially active
toggleButtonXL.classList.add('text-gray-400'); // Toggle button is initially active
// Add click event listener to the toggle button
toggleButton.addEventListener('click', () => {
gridContainer.classList.remove('grid-cols-2');
gridContainer.classList.add('grid-cols-1');
resetButton.classList.add('text-gray-400');
toggleButton.classList.remove('text-gray-400');
// Make sure XL toggle buttons match the current layout
resetButtonXL.classList.remove('text-gray-400');
toggleButtonXL.classList.add('text-gray-400');
});
// Add click event listener to the reset button
resetButton.addEventListener('click', () => {
gridContainer.classList.remove('grid-cols-1');
gridContainer.classList.add('grid-cols-2');
resetButton.classList.remove('text-gray-400');
toggleButton.classList.add('text-gray-400');
// Make sure XL toggle buttons match the current layout
resetButtonXL.classList.remove('text-gray-400');
toggleButtonXL.classList.add('text-gray-400');
});
// Add click event listener to the XL toggle button
toggleButtonXL.addEventListener('click', () => {
gridContainer.classList.remove('xl:grid-cols-4');
gridContainer.classList.remove('xl:mx-12');
gridContainer.classList.add('xl:grid-cols-3');
gridContainer.classList.add('xl:mx-32');
resetButtonXL.classList.add('text-gray-400');
toggleButtonXL.classList.remove('text-gray-400');
// Make sure regular toggle buttons match the current layout
resetButton.classList.remove('text-gray-400');
toggleButton.classList.add('text-gray-400');
});
// Add click event listener to the XL reset button
resetButtonXL.addEventListener('click', () => {
gridContainer.classList.remove('xl:grid-cols-3');
gridContainer.classList.remove('xl:mx-32');
gridContainer.classList.add('xl:grid-cols-4');
gridContainer.classList.add('xl:mx-12');
resetButtonXL.classList.remove('text-gray-400');
toggleButtonXL.classList.add('text-gray-400');
// Make sure regular toggle buttons match the current layout
resetButton.classList.remove('text-gray-400');
toggleButton.classList.add('text-gray-400');
});
// for side NAVBAR bar
const sidebar = document.getElementById('sidebar');
const openBtn = document.getElementById('openBtn');
const closeBtn = document.getElementById('closeBtn');
openBtn.addEventListener('click', () => {
sidebar.classList.remove('-translate-x-full');
});
closeBtn.addEventListener('click', () => {
sidebar.classList.add('-translate-x-full');
});
// xl nav drop downs
const dropdownGroups = document.querySelectorAll('.group');
dropdownGroups.forEach(dropdownGroup => {
const dropdownMenu = dropdownGroup.querySelector('.ul');
let timer;
dropdownGroup.addEventListener('mouseenter', () => {
clearTimeout(timer);
dropdownMenu.classList.remove('hidden');
});
dropdownGroup.addEventListener('mouseleave', () => {
timer = setTimeout(() => {
dropdownMenu.classList.add('hidden');
}, 100);
});
dropdownMenu.addEventListener('mouseenter', () => {
clearTimeout(timer);
});
dropdownMenu.addEventListener('click', () => {
dropdownMenu.classList.add('hidden');
});
});
// FUCTION FOR BOTTOM BAR
const sidebarss = document.getElementById('sidebarss');
const openBtnss = document.getElementById('openBtnss');
const closeBtnss = document.getElementById('closeBtnss');
openBtnss.addEventListener('click', () => {
sidebarss.classList.remove('translate-y-full');
});
closeBtnss.addEventListener('click', () => {
sidebarss.classList.add('translate-y-full');
});
// FOR RIGHT SIDE NAVBAR
const sidebars = document.getElementById('sidebars');
const openBtns = document.getElementById('openBtns');
const closeBtns = document.getElementById('closeBtns');
const xlOpenBtns = document.getElementById('xlOpenBtns'); // Replace with actual xl open button ID
const xlCloseBtns = document.getElementById('xlCloseBtns'); // Replace with actual xl close button ID
// Common functionality for both small and xl screens
const openSidebar = () => {
sidebars.classList.remove('translate-x-full');
};
const closeSidebar = () => {
sidebars.classList.add('translate-x-full');
};
// Add event listeners for small screens
openBtns.addEventListener('click', openSidebar);
closeBtns.addEventListener('click', closeSidebar);
// Add event listeners for xl screens
xlOpenBtns.addEventListener('click', openSidebar);
xlCloseBtns.addEventListener('click', closeSidebar);
// for XL SCREEN SORT BUTTON
const sortButton = document.getElementById('sortButton');
const sortDropdown = document.getElementById('sortDropdown');
sortButton.addEventListener('click', () => {
sortDropdown.classList.toggle('hidden');
});
// FOR CURRENCY SECTION
const items = [
{ label: 'PKR (ruppees)', image: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFwAAABcCAMAAADUMSJqAAAAkFBMVEUBQRz///8APxkAPhYAOxEANQD5+/oAMwAAOg4AQhoAPxTQ29Xg6eQAMQDj6+doiXVCZk5lgm90kX/w9PFSemIjVzeSppnJ1M2Im48XTy2yw7lXdWGHnpAwVzxAblMKRyOJp5WovbG/zcU4Z0ucsaWzvbYALAAsYUKjsKdbgWp3jX6An4xNcVoAPAkASSE4W0OU2LnTAAAC/klEQVRoge1Y25aiMBA0V4JhCBLRgUHFEXVwRv3/v1vuzroEDcLDnkO9Qiqd6up0kslkxIgRI0aM+D+ABmOGhrneDEONjEsUeYNQQ+xHMvAHkQX7wgbDcEPmbAH49PAQ3NMZB8ByWONXBF/iNl0bACBI40d/57/ADpErU+5tI/dkcolFtaIOk7A5TbmBKplkT3O9IDsctdnZLqMGUbPgKfkXkB5DaJPYiW7CkZ/pDeRV5UISSmB5V9cCn7q6wHOQBx5vVANZlhFupfM7uoETkQsOZqqByBAy/wMslPOrhno8H8idZlUQ8UJOy1+0A18UI7fNXjaOgVX8kP4y1Q58WS650StmXCqSp1yo/KQK/L2IS56aB8LJ+ntZhU4TLXboF1YB1odCT4jJ4ZCtTkoK6IcOO/6wCnL+05Kstz0A9jyJl9zaaWzJ01O5YpVZcpCYgu83RogvlIb9F3ATV+RtIZGQ8nPmFMg0zIhWpVfAso2cuWCuaZSM3LGfkYW5W93anGT5rDysdEsew7pLt8CzukBmbevu1Oemoi6/d0Ub6g7k1uSxOSD556rvE8svWWRbRjvhllAAwr51uVkxdXrfutyKKIXoWZdb+Weh6zaaB7htXBncnq3OTr/Iba9f1etmkSM49ypM3eZy0EW/wlQNuqwklzyOHT59I6uPFhX7ww0Qef6z5PWhqErqqf0iCpEjVk9npjrO1bEvLi3FBNksUJxwmkMXf4WeemZtKM+704UV6HQ8yLZ/kwMeXhrzisnPklo7rV0CXew7dsrdM7mTHjJjF0hA55o7ENvdCZNJHx0JwxgVwJiZIs/Nt3YllBeuO9hb98e5rlbXq5NEpWHjgy53dVVsgrSs2yca4A77Q3nJfQAad3sZKK7n7bDDrq8OxcNCG3jywiNS/iSiRrTqovct+OwxR0EdHNGrjQQZpsvlvS2pHXtGHz0KErKOuWUXM1ApbR4IsxfqHJicj0kYf+33+69QrM9vrN9DAcKEGCkIYa89Eo0YMWLEiBEV/gC+kygz4QIY+AAAAABJRU5ErkJggg==' },
{ label: 'USD (dollars)', image: 'data:image/png;base64,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' },
]; // List of items with labels and images
let selectedItem = items[0]; // Default selected item
function generateDropdownList() {
const dropdownList = document.getElementById('dropdown-list');
dropdownList.innerHTML = ''; // Clear the list
items.forEach(item => {
if (item !== selectedItem) {
const listItem = document.createElement('li');
listItem.classList.add('flex', 'items-center', 'py-2', 'px-4', 'hover:bg-gray-100', 'cursor-pointer');
const itemImage = document.createElement('img');
itemImage.src = item.image;
itemImage.classList.add('h-6', 'w-6', 'mr-2');
listItem.appendChild(itemImage);
const itemLabel = document.createElement('span');
itemLabel.textContent = item.label;
listItem.appendChild(itemLabel);
listItem.onclick = () => selectOption(item);
dropdownList.appendChild(listItem);
}
});
}
function toggleDropdown() {
const dropdownList = document.getElementById('dropdown-list');
dropdownList.classList.toggle('hidden');
}
function selectOption(item) {
const selectedItemElement = document.getElementById('selected-item');
selectedItemElement.textContent = item.label;
const selectedItemImageElement = document.getElementById('selected-item-image');
selectedItemImageElement.src = item.image;
selectedItem = item;
generateDropdownList();
toggleDropdown();
}
generateDropdownList(); // Generate the initial list
// for loading spinner
document.addEventListener("DOMContentLoaded", function () {
// Hide the loading spinner and show the content
document.getElementById("loading-container").style.display = "none";
document.getElementById("content").style.display = "block";
});