tabexseriescomponents 0.2.1279 → 0.2.1281

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/dist/index.cjs.js +277 -0
  2. package/dist/index.esm.js +277 -0
  3. package/dist/index.umd.js +277 -0
  4. package/package.json +1 -1
  5. package/srcbefore27-11/Contexts/LanguageContext.jsx +0 -408
  6. package/srcbefore27-11/Contexts/ProductsCardsSectionContext.jsx +0 -36
  7. package/srcbefore27-11/Imagekitconfig copy.jsx +0 -46
  8. package/srcbefore27-11/Imagekitconfig.jsx +0 -178
  9. package/srcbefore27-11/StylesJS/Customstyles.js +0 -456
  10. package/srcbefore27-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -538
  11. package/srcbefore27-11/TabexComponents/Cards/Card20/Card20.jsx +0 -299
  12. package/srcbefore27-11/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  13. package/srcbefore27-11/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  14. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  15. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23.jsx +0 -733
  16. package/srcbefore27-11/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  17. package/srcbefore27-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  18. package/srcbefore27-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  19. package/srcbefore27-11/TabexComponents/Cards/Cardwithdetailsshowonhover/Cardwithdetailsshowonhover.jsx +0 -1074
  20. package/srcbefore27-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  21. package/srcbefore27-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -293
  22. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover/Categorycard_details_onhover.jsx +0 -512
  23. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover copy/Categorycard_details_onhover.jsx +0 -513
  24. package/srcbefore27-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  25. package/srcbefore27-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  26. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  27. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -184
  28. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  29. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -208
  30. package/srcbefore27-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -560
  31. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -145
  32. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -145
  33. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -142
  34. package/srcbefore27-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  35. package/srcbefore27-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -605
  36. package/srcbefore27-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -817
  37. package/srcbefore27-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  38. package/srcbefore27-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  39. package/srcbefore27-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  40. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  41. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -512
  42. package/srcbefore27-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  43. package/srcbefore27-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  44. package/srcbefore27-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  45. package/srcbefore27-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  46. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  47. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  48. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  49. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  50. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  51. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -731
  52. package/srcbefore27-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  53. package/srcbefore27-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  54. package/srcbefore27-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -138
  55. package/srcbefore27-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -611
  56. package/srcbefore27-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -600
  57. package/srcbefore27-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  58. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  59. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -2321
  60. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -1311
  61. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcardlastversion15-9.jsx +0 -1292
  62. package/srcbefore27-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  63. package/srcbefore27-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  64. package/srcbefore27-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -605
  65. package/srcbefore27-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  66. package/srcbefore27-11/TabexComponents/Cards/Variants_J_Cards/Variants_J_Cards.jsx +0 -660
  67. package/srcbefore27-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -759
  68. package/srcbefore27-11/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  69. package/srcbefore27-11/TabexComponents/Footer/Footer2/Footer2.jsx +0 -731
  70. package/srcbefore27-11/TabexComponents/Footer/Footer3/Footer3.jsx +0 -414
  71. package/srcbefore27-11/TabexComponents/Footer/Footer4/Footer4.jsx +0 -466
  72. package/srcbefore27-11/TabexComponents/Footer/Footer5/Footer5.jsx +0 -776
  73. package/srcbefore27-11/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  74. package/srcbefore27-11/TabexComponents/Footer/Footer7/Footer7.jsx +0 -430
  75. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8 copy.jsx +0 -1970
  76. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8.jsx +0 -2015
  77. package/srcbefore27-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  78. package/srcbefore27-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -582
  79. package/srcbefore27-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -1165
  80. package/srcbefore27-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -646
  81. package/srcbefore27-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  82. package/srcbefore27-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -332
  83. package/srcbefore27-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  84. package/srcbefore27-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
  85. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  86. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  87. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  88. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  89. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  90. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  91. package/srcbefore27-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  92. package/srcbefore27-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  93. package/srcbefore27-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  94. package/srcbefore27-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
  95. package/srcbefore27-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  96. package/srcbefore27-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1264
  97. package/srcbefore27-11/TabexComponents/Headers/CategoriesComponent/CategoriesComponent.jsx +0 -375
  98. package/srcbefore27-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1056
  99. package/srcbefore27-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -1498
  100. package/srcbefore27-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1289
  101. package/srcbefore27-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  102. package/srcbefore27-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -907
  103. package/srcbefore27-11/TabexComponents/Headers/FloatingIcons/FloatingIcons.jsx +0 -358
  104. package/srcbefore27-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -875
  105. package/srcbefore27-11/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  106. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  107. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8.jsx +0 -3414
  108. package/srcbefore27-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -777
  109. package/srcbefore27-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -933
  110. package/srcbefore27-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -710
  111. package/srcbefore27-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  112. package/srcbefore27-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -1347
  113. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1566
  114. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  115. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  116. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -1639
  117. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -7163
  118. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  119. package/srcbefore27-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -941
  120. package/srcbefore27-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -80
  121. package/srcbefore27-11/TabexComponents/Headers/Minimalheader/Minimalheader.jsx +0 -846
  122. package/srcbefore27-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -1198
  123. package/srcbefore27-11/TabexComponents/Headers/ParentCollectionsComponent/ParentCollectionsComponent.jsx +0 -385
  124. package/srcbefore27-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -784
  125. package/srcbefore27-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1186
  126. package/srcbefore27-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -3692
  127. package/srcbefore27-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -266
  128. package/srcbefore27-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -860
  129. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -950
  130. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader.jsx +0 -1052
  131. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -685
  132. package/srcbefore27-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  133. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  134. package/srcbefore27-11/TabexComponents/Headers/SubheaderDropdown/SubheaderDropdown.jsx +0 -610
  135. package/srcbefore27-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1049
  136. package/srcbefore27-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1095
  137. package/srcbefore27-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -979
  138. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  139. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  140. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -872
  141. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContentrecent.jsx +0 -895
  142. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  143. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  144. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -318
  145. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  146. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  147. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -421
  148. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -583
  149. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -291
  150. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -822
  151. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm19-8beforeattach.jsx +0 -789
  152. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm22-7.jsx +0 -787
  153. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -348
  154. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  155. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -268
  156. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -295
  157. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/PopupCountryComponent/PopupCountryComponent.jsx +0 -120
  158. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -119
  159. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -99
  160. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  161. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -489
  162. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  163. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  164. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -633
  165. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -509
  166. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  167. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  168. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  169. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -2323
  170. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -1596
  171. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -1872
  172. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +0 -1891
  173. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -1880
  174. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSectionwithanomation12-1.jsx +0 -2065
  175. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -726
  176. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  177. package/srcbefore27-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  178. package/srcbefore27-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -966
  179. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -646
  180. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -1577
  181. package/srcbefore27-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -596
  182. package/srcbefore27-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  183. package/srcbefore27-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -342
  184. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  185. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -394
  186. package/srcbefore27-11/TabexComponents/Sections/Slideshow/CountDownSection/CountDownSection.jsx +0 -174
  187. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  188. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -651
  189. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +0 -757
  190. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection20-2.jsx +0 -1017
  191. package/srcbefore27-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  192. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -3027
  193. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  194. package/srcbefore27-11/TabexComponents/Sections/Slideshow/MarqueeSection/MarqueeSection.jsx +0 -103
  195. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Preloaderone/Preloaderone.jsx +0 -49
  196. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  197. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -384
  198. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards copy.jsx +0 -1576
  199. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -1989
  200. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  201. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  202. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  203. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  204. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -474
  205. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  206. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -665
  207. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  208. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  209. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -614
  210. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  211. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  212. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -741
  213. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TableSection/TableSection.jsx +0 -423
  214. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  215. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -636
  216. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -402
  217. package/srcbefore27-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -234
  218. package/srcbefore27-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -306
  219. package/srcbefore27-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -364
  220. package/srcbefore27-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -1000
  221. package/srcbefore27-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  222. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  223. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -2506
  224. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  225. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout12-12beforeextras.jsx +0 -1999
  226. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  227. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  228. package/srcbefore27-11/TabexComponents/StaticPages/Compare/Compare.jsx +0 -79
  229. package/srcbefore27-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -245
  230. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  231. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  232. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter.jsx +0 -3459
  233. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -2624
  234. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -2758
  235. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -2753
  236. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  237. package/srcbefore27-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -1271
  238. package/srcbefore27-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  239. package/srcbefore27-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  240. package/srcbefore27-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  241. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  242. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login.jsx +0 -616
  243. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -693
  244. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess2.jsx +0 -173
  245. package/srcbefore27-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1831
  246. package/srcbefore27-11/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  247. package/srcbefore27-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -194
  248. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  249. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  250. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -268
  251. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -190
  252. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  253. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -224
  254. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductFileUploader.jsx +0 -136
  255. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -347
  256. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -262
  257. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -5566
  258. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  259. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -1827
  260. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -1351
  261. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  262. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeeuro.jsx +0 -3101
  263. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -3047
  264. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo13-5.jsx +0 -2103
  265. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo_28_6.jsx +0 -2189
  266. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfotoday.jsx +0 -2166
  267. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.js +0 -2714
  268. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -2206
  269. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtypetill28-4-2025.jsx +0 -1158
  270. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -1117
  271. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs4-5.jsx +0 -1043
  272. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabstill28-4-2025.jsx +0 -1040
  273. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -905
  274. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  275. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  276. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -183
  277. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -128
  278. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -140
  279. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -225
  280. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -310
  281. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -235
  282. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -1672
  283. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -1554
  284. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -1351
  285. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -1566
  286. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -1804
  287. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -560
  288. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -928
  289. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -597
  290. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -324
  291. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -145
  292. package/srcbefore27-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -194
  293. package/srcbefore27-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -346
  294. package/srcbefore27-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -367
  295. package/srcbefore27-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -222
  296. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  297. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  298. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1505
  299. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm12-5beforeemailrequired.jsx +0 -1476
  300. package/srcbefore27-11/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  301. package/srcbefore27-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -292
  302. package/srcbefore27-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -219
  303. package/srcbefore27-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  304. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  305. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  306. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  307. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  308. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  309. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -844
  310. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -555
  311. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  312. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  313. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  314. package/srcbefore27-11/button.jsx +0 -40
  315. package/srcbefore27-11/index.jsx +0 -353
  316. package/srcbefore27-11/styles/Home.module.css +0 -129
  317. package/srcbefore27-11/styles/cards/Categorcycard_fullimage.module.css +0 -14
  318. package/srcbefore27-11/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  319. package/srcbefore27-11/styles/cards/Categorycard_withshapes.module.css +0 -189
  320. package/srcbefore27-11/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  321. package/srcbefore27-11/styles/cards/Productcard6.module.css +0 -9
  322. package/srcbefore27-11/styles/cards/Productccard_with_zoominonhover.module.css +0 -94
  323. package/srcbefore27-11/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  324. package/srcbefore27-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  325. package/srcbefore27-11/styles/cards/card23.module.css +0 -60
  326. package/srcbefore27-11/styles/cards/categorycard.module.css +0 -84
  327. package/srcbefore27-11/styles/cards/categorycard3.module.css +0 -50
  328. package/srcbefore27-11/styles/cards/categorycardwithtext.module.css +0 -40
  329. package/srcbefore27-11/styles/cards/generalCardsStyles.module.css +0 -79
  330. package/srcbefore27-11/styles/cards/productcard_animatedbuttons.module.css +0 -139
  331. package/srcbefore27-11/styles/cards/productcard_with_textonhover.module.css +0 -18
  332. package/srcbefore27-11/styles/cards/productcard_withtextonimage.module.css +0 -0
  333. package/srcbefore27-11/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  334. package/srcbefore27-11/styles/general/bootstrap.css +0 -4763
  335. package/srcbefore27-11/styles/general/dropdown.css +0 -206
  336. package/srcbefore27-11/styles/general/editorbardropdown.module.css +0 -94
  337. package/srcbefore27-11/styles/general/filter.module.css +0 -108
  338. package/srcbefore27-11/styles/general/form.module.css +0 -255
  339. package/srcbefore27-11/styles/general/general.module.css +0 -872
  340. package/srcbefore27-11/styles/general/image-gallery.css +0 -531
  341. package/srcbefore27-11/styles/general/react-accessible-accordion.module.css +0 -52
  342. package/srcbefore27-11/styles/general/react-phone-input-2.module.css +0 -927
  343. package/srcbefore27-11/styles/general/scrollbtn.module.css +0 -22
  344. package/srcbefore27-11/styles/general/slick.module.css +0 -166
  345. package/srcbefore27-11/styles/general/tabs.module.css +0 -119
  346. package/srcbefore27-11/styles/general/workplaceeditor.module.css +0 -328
  347. package/srcbefore27-11/styles/globals.css +0 -26
  348. package/srcbefore27-11/styles/headers/CTAHeader.module.css +0 -40
  349. package/srcbefore27-11/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  350. package/srcbefore27-11/styles/headers/Gotoheader.module.css +0 -87
  351. package/srcbefore27-11/styles/headers/Header7.module.css +0 -50
  352. package/srcbefore27-11/styles/headers/HeaderWithAdSlider.module.css +0 -86
  353. package/srcbefore27-11/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  354. package/srcbefore27-11/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  355. package/srcbefore27-11/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  356. package/srcbefore27-11/styles/headers/NewHeader.module.css +0 -101
  357. package/srcbefore27-11/styles/headers/SearchFocusedHeader.module.css +0 -62
  358. package/srcbefore27-11/styles/headers/Sideheader.module.css +0 -108
  359. package/srcbefore27-11/styles/headers/Simpleheader.module.css +0 -102
  360. package/srcbefore27-11/styles/headers/classicheader.module.css +0 -16
  361. package/srcbefore27-11/styles/headers/classicheaderstyles.module.css +0 -9
  362. package/srcbefore27-11/styles/headers/dropdown.css +0 -0
  363. package/srcbefore27-11/styles/headers/header4.module.css +0 -175
  364. package/srcbefore27-11/styles/headers/header5.module.css +0 -30
  365. package/srcbefore27-11/styles/headers/header_contactinfo.module.css +0 -53
  366. package/srcbefore27-11/styles/headers/headerresturant.module.css +0 -89
  367. package/srcbefore27-11/styles/headers/modernheader.module.css +0 -45
  368. package/srcbefore27-11/styles/headers/stylishheader.module.css +0 -24
  369. package/srcbefore27-11/styles/headers/subheader.module.css +0 -114
  370. package/srcbefore27-11/styles/headers/threetieredheader.module.css +0 -91
  371. package/srcbefore27-11/styles/sections/BackgroundImageWithTopContent.css +0 -4
  372. package/srcbefore27-11/styles/sections/Backgroundimage1.module.css +0 -17
  373. package/srcbefore27-11/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  374. package/srcbefore27-11/styles/sections/Freetext.module.css +0 -18
  375. package/srcbefore27-11/styles/sections/Section_with_rightbgcont.module.css +0 -49
  376. package/srcbefore27-11/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  377. package/srcbefore27-11/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  378. package/srcbefore27-11/styles/staticpages/accordion.module.css +0 -9
  379. package/srcbefore27-11/styles/staticpages/cart.module.css +0 -108
  380. package/srcbefore27-11/styles/staticpages/dropdown.css +0 -196
  381. package/srcbefore27-11/styles/staticpages/filter.module.css +0 -139
  382. package/srcbefore27-11/styles/staticpages/image-gallery.css +0 -481
  383. package/srcbefore27-11/styles/staticpages/login.module.css +0 -155
  384. package/srcbefore27-11/styles/staticpages/productinfo.module.css +0 -54
  385. package/srcbefore27-11/styles/staticpages/shop.module.css +0 -191
  386. package/srcbefore27-11/styles/staticpages/signup.module.css +0 -250
  387. package/srcbefore27-11/styles/staticpages/staticroutersidenav.module.css +0 -129
  388. package/srcbefore27-11/styles/staticpages/viewcart.module.css +0 -129
  389. package/srcbefore27-11/styles/staticpages/wishlist.module.css +0 -29
@@ -1,1201 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import { useHistory, Link } from 'react-router-dom';
3
- import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemPanel, AccordionItemState } from 'react-accessible-accordion';
4
- import filterstyles from '../../../styles/staticpages/filter.module.css';
5
- import Dropdown from 'react-bootstrap/Dropdown';
6
- import { css } from 'glamor';
7
- import MarqueeHeader from '../MarqueeHeader/MarqueeHeader.jsx';
8
- import { Offcanvas } from 'react-bootstrap';
9
- import Subheader from '../Subheader/Subheader.jsx';
10
- import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
11
- import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
12
- import { BiGlobe } from '@react-icons/all-files/bi/BiGlobe';
13
- import { HiOutlinePlus } from '@react-icons/all-files/hi/HiOutlinePlus';
14
- import { AiOutlineMinus } from '@react-icons/all-files/ai/AiOutlineMinus';
15
- import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
16
- import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
17
- import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
18
- import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
19
- import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
20
- import { BiChevronDown } from '@react-icons/all-files/bi/BiChevronDown';
21
- import { BiUser } from '@react-icons/all-files/bi/BiUser';
22
- import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
23
- import { AiOutlineLogin } from '@react-icons/all-files/ai/AiOutlineLogin';
24
- import { AiOutlineUserAdd } from '@react-icons/all-files/ai/AiOutlineUserAdd';
25
- import { RiSearchLine } from '@react-icons/all-files/ri/RiSearchLine';
26
- import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
27
- import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
28
- import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
29
- import { CgMenuLeft } from '@react-icons/all-files/cg/CgMenuLeft';
30
- import { CgMenuRight } from '@react-icons/all-files/cg/CgMenuRight';
31
- import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
32
- import { BsBag } from '@react-icons/all-files/bs/BsBag';
33
- import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
34
- import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
35
- import tabstyles from '../../../styles/general/tabs.module.css';
36
- import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
37
-
38
- const Headerresponsive = (props) => {
39
- const actions = props.actions;
40
- const LogoutMutationContext = props.actions.LogoutMutationContext;
41
- const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
42
- const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
43
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
44
- const lang = props.actions.lang;
45
- const langdetect = props.actions.langdetect;
46
- const setlang = props.actions.setlang;
47
- const templatepropcontext = props.actions.templatepropcontext;
48
- const authdetailsContext = props.actions.authdetailsContext;
49
- const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
50
- const templateproperties_context = props.actions.templateproperties_context;
51
- const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
52
- const routingcountext = props.actions.routingcountext;
53
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
54
- const setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
55
- const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
56
- const ikimagecredcontext = props.actions.ikimagecredcontext;
57
- const [sectionproperties, setsectionproperties] = useState('');
58
- const [Choosenindex, setChoosenindex] = useState('');
59
-
60
- useEffect(() => {
61
- if (props.sectionpropertiesprops != undefined) {
62
- setsectionproperties({ ...props.sectionpropertiesprops });
63
- }
64
- }, [props.sectionpropertiesprops]);
65
- const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
66
- const [openCnvas, setopenCnvas] = useState(false);
67
- const [activeTab, setactiveTab] = useState('');
68
- useEffect(() => {
69
- if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
70
- var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
71
- if (Array.isArray(logoarrayofobjectsparsed)) {
72
- setlogoarrayofobjects([...logoarrayofobjectsparsed]);
73
- }
74
- }
75
- }, [templateproperties_context]);
76
- const header_cssstyles = {
77
- header_logo: css({
78
- width: sectionproperties.logo_width + 'px',
79
- height: sectionproperties.logo_height + 'px',
80
- }),
81
- navbar_item_text_responsive: css({
82
- fontSize: sectionproperties.header_fontSizeresponsive + 'px',
83
- color: sectionproperties.header_fontColorresponsive,
84
- textTransform: sectionproperties.header_textTransformresponsive,
85
- fontWeight: sectionproperties.header_textfontweight_responsive,
86
- transition: '.3s',
87
- ':hover': {
88
- color: sectionproperties.header_fontColorresponsive_onhover,
89
- },
90
- }),
91
- badge_counter_header_notifications: css({
92
- display: 'flex',
93
- justifyContent: 'center',
94
- alignItems: 'center',
95
- position: 'absolute',
96
- background: sectionproperties.badge_bgcolor,
97
- width: '45px',
98
- height: '45px',
99
- color: sectionproperties.badge_color,
100
- borderRadius: sectionproperties.badge_borderradius + 'px',
101
- fontSize: sectionproperties.badgefontsizeresp + 'px',
102
- transform: 'scale(0.3)',
103
- transformOrigin: 'top right',
104
- // marginRight: langdetect == 'en' ? 0 : '-5px',
105
- fontWeight: sectionproperties.badgefontweight,
106
- }),
107
- wishlistbtn: css({
108
- width: sectionproperties.wishlistbtnresp_width + 'px',
109
- height: sectionproperties.wishlistbtnresp_height + 'px',
110
- borderRadius: sectionproperties.wishlistbtnresp_borderRadius + 'px',
111
- border: sectionproperties.wishlistbtnresp_borderWidth + 'px solid ' + sectionproperties.wishlistbtnresp_borderColor,
112
- background: sectionproperties.wishlistbtnresp_bgColor,
113
- fontSize: sectionproperties.wishlistresponsivefontsize + 'px',
114
- color: sectionproperties.wishlistresponsivecolor,
115
- position: 'relative',
116
- }),
117
- addtocartbtn_resp: css({
118
- position: 'relative',
119
- cursor: 'pointer',
120
- display: 'flex',
121
- alignItems: 'center',
122
- color: sectionproperties.cart_BtnTextcolor_resp,
123
- background: sectionproperties.cart_BtnbgColor_resp,
124
- width: sectionproperties.cart_BtnWidth_resp + 'px',
125
- height: sectionproperties.cart_BtnHeight_resp + 'px',
126
- borderRadius: sectionproperties.cart_BtnborderRadius_resp + 'px',
127
- border: sectionproperties.cartBtnresp_borderWidth + 'px solid ' + sectionproperties.cartBtnresp_borderColor,
128
- transition: '.3s',
129
- }),
130
- searchbarcont: css({
131
- position: 'relative',
132
- transition: '.3s',
133
- }),
134
- searchbar_icon_cont: css({
135
- display: 'flex',
136
- justifyContent: 'center',
137
- alignItems: 'center',
138
- textAlign: 'center',
139
- color: sectionproperties.searchbaricon_color_resp,
140
- transition: '0.3s ease',
141
- position: 'absolute',
142
- left: langdetect == 'en' ? 5 : '',
143
- right: langdetect == 'en' ? '' : 5,
144
- bottom: 0,
145
- top: 0,
146
- margin: 'auto',
147
- }),
148
- searchbarcont_input: css({
149
- height: '100%',
150
- width: '100%',
151
- outline: 'none',
152
- border: 'none',
153
- background: 'transparent',
154
- color: sectionproperties.searchbarcontinput_colorresp,
155
- // color: '#000',
156
- fontWeight: sectionproperties.searchbarcont_inputfontweight,
157
- // fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
158
- fontSize: '15px',
159
- paddingRight: langdetect == 'en' ? 0 : '20px',
160
- paddingLeft: langdetect == 'en' ? '20px' : 0,
161
- transition: '0.3s',
162
- }),
163
- languagecontainer: css({
164
- color: sectionproperties.language_container_color_resp,
165
- cursor: 'pointer',
166
- transition: '.3s',
167
- ':hover': {
168
- color: sectionproperties.language_container_coloronhover,
169
- },
170
- }),
171
- dropdownitemcontainer: css({
172
- fontSize: '13px',
173
- color: sectionproperties.dropdown_color,
174
- fontWeight: sectionproperties.dropdown_fontweight,
175
- textTransform: sectionproperties.dropdown_texttransform,
176
- padding: '0.3rem 0.8rem',
177
- display: 'flex',
178
- alignItems: 'center',
179
- transition: '.3s',
180
- ':hover': {
181
- color: sectionproperties.dropdown_hovercolor,
182
- },
183
- }),
184
- userbtnLoggedin_icon: css({
185
- fontSize: sectionproperties.userBtniconresp_size,
186
- color: sectionproperties.userBtnTextresp_color,
187
- }),
188
- userbtn_respContainer: css({
189
- position: 'relative',
190
- cursor: 'pointer',
191
- display: 'flex',
192
- alignItems: 'center',
193
- color: sectionproperties.userBtnTextresp_color,
194
- fontSize: sectionproperties.userBtntextfontresp_size + 'px',
195
- fontWeight: sectionproperties.userBtnTextfontweight,
196
- transition: '.3s',
197
- ':hover .userbtn_resp': {
198
- color: sectionproperties.userbtnresp_Coloronhover,
199
- },
200
- }),
201
- userbtnloggedin: css({
202
- width: sectionproperties.userBtnWidth_resp + 'px',
203
- height: sectionproperties.userBtnHeight_resp + 'px',
204
- backgroundColor: sectionproperties.userBtnbgColor_resp,
205
- color: sectionproperties.userBtnTextcolor_resp, //aywa da icon color
206
- fontSize: sectionproperties.userBtniconresp_size + 'px',
207
- borderRadius: sectionproperties.userBtnResp_BorderRadius + 'px',
208
- border: sectionproperties.userBtnResp_BorderWidth + 'px solid ' + sectionproperties.userBtnResp_BorderColor,
209
- transition: '.3s',
210
- ':hover': {
211
- color: sectionproperties.userbtnresp_IconColoronhover,
212
- },
213
- }),
214
- loggedintext: css({
215
- color: sectionproperties.userbtnresp_loggedincolor,
216
- fontSize: sectionproperties.userBtntextfontresp_size + 'px',
217
- fontWeight: sectionproperties.userBtnTextfontweight,
218
- maxWidth: '50px',
219
- transition: '.3s',
220
- }),
221
- userbtnloggedincontainer: css({
222
- ':hover .loggedintext': {
223
- color: sectionproperties.userbtnresp_loggedincoloronhover,
224
- },
225
- ':hover .userbtnloggedin': {
226
- color: sectionproperties.userbtnresp_IconColoronhover,
227
- borderColor: sectionproperties.userbtnresp_IconColoronhover,
228
- backgroundColor: sectionproperties.userbtnresp_bgColoronhover,
229
- },
230
- }),
231
- storeimage: css({
232
- '@media (max-width: 800px)': {
233
- maxWidth: '120px',
234
- maxHeight: '110px',
235
- objectFit: 'contain',
236
- },
237
- }),
238
- };
239
-
240
- const CartButton = () => {
241
- return (
242
- <div
243
- class="d-flex align-items-center"
244
- style={{
245
- position: 'relative',
246
- }}
247
- >
248
- <button
249
- className={`${header_cssstyles.addtocartbtn_resp}` + ' d-flex align-items-center justify-content-center ml-1 p-0 '}
250
- onClick={() => {
251
- if (fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length > 7) {
252
- routingcountext(StaticPagesLinksContext.viewcart);
253
- } else {
254
- setsidecartnavshowcontext(true);
255
- }
256
- }}
257
- >
258
- <i className={' h-100 d-flex align-items-center justify-content-center '}>
259
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtniconresp_size} />}
260
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtniconresp_size} />}
261
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtniconresp_size} />}
262
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtniconresp_size} />}
263
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtniconresp_size} />}
264
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtniconresp_size} />}
265
- {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtniconresp_size} />}
266
- </i>
267
- </button>
268
- <div
269
- className={`${header_cssstyles.badge_counter_header_notifications}`}
270
- style={{
271
- top: sectionproperties.cartbadgefromtop + 'px',
272
- right: sectionproperties.cartbadgefromright + 'px',
273
- }}
274
- >
275
- {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
276
- </div>
277
- </div>
278
- );
279
- };
280
- const FavButton = () => {
281
- return (
282
- <div style={{ position: 'relative', marginLeft: langdetect == 'en' ? '12px' : '16px', marginRight: langdetect == 'en' ? '16px' : '16px' }}>
283
- <button
284
- className={header_cssstyles.wishlistbtn + ' d-flex align-items-center justify-content-center ml-1 p-0 '}
285
- onClick={() => {
286
- routingcountext(StaticPagesLinksContext.Wishlist);
287
- }}
288
- >
289
- <i className={' h-100 d-flex align-items-center justify-content-center '}>
290
- {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
291
- {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
292
- </i>
293
- </button>
294
- <div
295
- className={`${header_cssstyles.badge_counter_header_notifications}`}
296
- style={{
297
- top: sectionproperties.wishlistresponsivebadgefromtop + 'px',
298
- right: sectionproperties.wishlistresponsivebadgefromright + 'px',
299
- }}
300
- >
301
- {favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}
302
- </div>
303
- </div>
304
- );
305
- };
306
- return (
307
- <div className="row m-0 w-100">
308
- <div className="col-lg-12 p-0">
309
- {sectionproperties.length != 0 && (
310
- <div className={' row m-0 w-100 d-none d-md-flex p-0 '}>
311
- {sectionproperties.showtextslider == 'Show' && <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />}
312
- <div
313
- className="col-lg-12 p-0"
314
- style={{
315
- background: sectionproperties.resposive_bgcolor,
316
- }}
317
- >
318
- <div className="row m-0 w-100 p-0 pl-2 pr-2 ">
319
- <div className="col-md-6 col-sm-5 d-flex filter align-items-center p-0">
320
- <div
321
- className={langdetect == 'en' ? 'mr-1' : 'ml-1'}
322
- onClick={() => {
323
- var element2 = document.getElementById('filter');
324
- element2.classList.toggle('d-flex');
325
- if (sectionproperties.showhidesubheader == 'Show') {
326
- var element3 = document.getElementById('subheader');
327
- element3.classList.toggle('d-none');
328
- }
329
- // setopenCnvas(true);
330
- }}
331
- >
332
- <i class="h-100 allcentered">
333
- {langdetect == 'en' ? (
334
- <CgMenuLeft size={sectionproperties.resp_sidenav_size + 'px'} style={{ color: sectionproperties.resp_sidenav_color }} />
335
- ) : (
336
- <CgMenuRight size={sectionproperties.resp_sidenav_size + 'px'} style={{ color: sectionproperties.resp_sidenav_color }} />
337
- )}
338
- </i>
339
- </div>
340
- <div
341
- className={header_cssstyles.header_logo + ' d-flex align-items-center justify-content-start '}
342
- style={{ cursor: 'pointer' }}
343
- onClick={() => {
344
- routingcountext('home');
345
- }}
346
- >
347
- <Imagekitimagecomp
348
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
349
- publicKey={ikimagecredcontext?.ikimagepublickey}
350
- path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
351
- style={{
352
- maxWidth: '100%',
353
- maxHeight: '100%',
354
- }}
355
- />
356
- </div>
357
- </div>
358
- <div className="col-md-6 col-sm-7 d-flex align-items-center justify-content-end p-0">
359
- {sectionproperties.ShowUserBtn == 'Show' && (
360
- <Dropdown>
361
- <Dropdown.Toggle>
362
- {!authdetailsContext.loggedin && (
363
- <button class={`${header_cssstyles.userbtn_respContainer}` + ' d-flex align-items-center justify-content-center p-0 m-0 font-weight-600 mt-1 '}>
364
- <p class={`${header_cssstyles.userbtnLoggedin_icon}` + ' userbtn_resp m-0 p-0 p-0 align-items-center allcentered '}>
365
- <BiUser />
366
- </p>
367
- <span
368
- class="userbtn_resp"
369
- style={{
370
- marginLeft: langdetect == 'en' ? '3px' : 0,
371
- marginRight: langdetect == 'en' ? 0 : '3px',
372
- }}
373
- >
374
- {lang.login}
375
- </span>
376
- </button>
377
- )}
378
- {authdetailsContext.loggedin && (
379
- <div class={header_cssstyles.userbtnloggedincontainer + ' d-flex align-items-center justify-content-center mb-1 '} sytle={{ position: 'relative' }}>
380
- <p
381
- className={`${header_cssstyles.userbtnloggedin}` + ' m-0 p-0 p-0 align-items-center allcentered userbtnloggedin '}
382
- style={{ textTransform: 'uppercase' }}
383
- >
384
- <i className="allcentered">
385
- <BiUser />
386
- </i>
387
- </p>
388
- <p
389
- className="mb-0 p-0 text-capitalize"
390
- style={{
391
- lineHeight: '16px',
392
- textAlign: langdetect == 'en' ? 'left' : 'right',
393
- marginLeft: langdetect == 'en' ? '5px' : 0,
394
- marginRight: langdetect == 'en' ? 0 : '5px',
395
- }}
396
- >
397
- <span
398
- style={{
399
- color: sectionproperties.usergreetingresp_color,
400
- fontSize: sectionproperties.usergreetingresp_size + 'px',
401
- fontWeight: 300,
402
- }}
403
- >
404
- {lang.hello}
405
- {langdetect == 'en' ? ',' : '،'}
406
- </span>
407
- <br />
408
- <span className={header_cssstyles.loggedintext + ' text-overflow d-block loggedintext '}>{authdetailsContext.customerinfo.name}</span>
409
- </p>
410
- </div>
411
- )}
412
- </Dropdown.Toggle>
413
- {!authdetailsContext.loggedin && (
414
- <Dropdown.Menu>
415
- <Dropdown.Item
416
- onClick={() => {
417
- routingcountext(StaticPagesLinksContext.Login);
418
- }}
419
- >
420
- <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
421
- <p className={' d-flex align-items-center m-0 p-0 '}>
422
- <AiOutlineLogin className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
423
- <span>{lang.login}</span>
424
- </p>
425
- </div>
426
- </Dropdown.Item>
427
- <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
428
- <Dropdown.Item
429
- onClick={() => {
430
- routingcountext(StaticPagesLinksContext.Signup);
431
- }}
432
- >
433
- <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
434
- <p className={' d-flex align-items-center m-0 p-0 '}>
435
- <AiOutlineUserAdd className={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
436
- <span className="text-transform-none">{lang.signup}</span>
437
- </p>
438
- </div>
439
- </Dropdown.Item>
440
- {sectionproperties.cartBtnShow == 'Show' && <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>}
441
- {sectionproperties.cartBtnShow == 'Show' && (
442
- <Dropdown.Item
443
- onClick={() => {
444
- routingcountext(StaticPagesLinksContext.viewcart);
445
- }}
446
- >
447
- <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
448
- <p className={' d-flex align-items-center m-0 p-0 '}>
449
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
450
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
451
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
452
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
453
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
454
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
455
- {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar />}
456
- <span className="ml-2 mr-2">{lang.viewcart}</span>
457
- </p>
458
- </div>
459
- </Dropdown.Item>
460
- )}
461
- </Dropdown.Menu>
462
- )}
463
- {authdetailsContext.loggedin && (
464
- <Dropdown.Menu style={{ minWidth: '200px' }}>
465
- <Dropdown.Item className={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center justify-content-center '}>
466
- <div class="row m-0 w-100">
467
- <div class={'flex-row w-100 d-flex justify-content-start'}>
468
- <span
469
- style={{
470
- color: '#8fa0bd',
471
- fontSize: sectionproperties.dropdownusernamefontsize + 'px',
472
- }}
473
- >
474
- {lang.hello}
475
- {langdetect == 'en' ? ',' : '،'}
476
- </span>
477
- <span
478
- className="font-weight-600 ml-1 mr-1 text-overflow text-capitalize"
479
- onClick={() => {
480
- routingcountext(StaticPagesLinksContext.accountinfo);
481
- }}
482
- style={{
483
- color: sectionproperties.dropdownusernamecolor,
484
- fontSize: sectionproperties.dropdownusernamefontsize + 'px',
485
- }}
486
- >
487
- {authdetailsContext.customerinfo.name}
488
- </span>
489
- </div>
490
- {authdetailsContext?.customerinfo?.cancustomerviewwallet == 1 && templateproperties_context.showwallet == 'Show' && (
491
- <div class={' row w-100 m-0 p-0 flex-row mt-1 w-100 justify-content-start'}>
492
- <p
493
- class="m-0 p-0"
494
- style={{
495
- color: templateproperties_context.walletcontainercolorresponsive,
496
- fontSize: templateproperties_context.walletfontize + 'px',
497
- fontWeight: 500,
498
- }}
499
- >
500
- {langdetect == 'en' ? templateproperties_context.walletcontent_en : templateproperties_context.walletcontent_ar}
501
- </p>
502
- <p
503
- class="m-0 p-0 mx-1"
504
- style={{
505
- color: templateproperties_context.walletcontainersecondarycolorresponsive,
506
- fontSize: '15px',
507
- fontWeight: 600,
508
- }}
509
- >
510
- {authdetailsContext?.customerinfo?.walletpoints}{' '}
511
- </p>
512
- </div>
513
- )}
514
- </div>
515
- </Dropdown.Item>
516
- <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
517
- <Dropdown.Item
518
- onClick={() => {
519
- routingcountext(StaticPagesLinksContext.Ordershistory);
520
- }}
521
- >
522
- <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
523
- <p className={' d-flex align-items-center m-0 p-0 '}>
524
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
525
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
526
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
527
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine />}
528
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
529
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
530
- {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar />}
531
- <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>{lang.orderhistory}</span>
532
- </p>
533
- </div>
534
- </Dropdown.Item>
535
- <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
536
-
537
- <Dropdown.Item
538
- onClick={() => {
539
- routingcountext(StaticPagesLinksContext.Wishlist);
540
- }}
541
- >
542
- <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
543
- <p className={' d-flex align-items-center m-0 p-0 '}>
544
- {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
545
- {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
546
- <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>{lang.wishlist}</span>
547
- </p>
548
- </div>
549
- </Dropdown.Item>
550
-
551
- <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
552
- <Dropdown.Item
553
- onClick={() => {
554
- routingcountext(StaticPagesLinksContext.Policies);
555
- }}
556
- >
557
- <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
558
- <p className={' d-flex align-items-center m-0 p-0 '}>
559
- <AiOutlineSecurityScan />
560
- <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>
561
- {langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar}
562
-
563
- {/* {lang.policies} */}
564
- </span>
565
- </p>
566
- </div>
567
- </Dropdown.Item>
568
- <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
569
- <Dropdown.Item
570
- onClick={() => {
571
- LogoutMutationContext.mutate();
572
- }}
573
- >
574
- <div className={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
575
- <p className={' d-flex align-items-center m-0 p-0 '}>
576
- <BiLogOutCircle />
577
- <span className={langdetect == 'en' ? 'ml-2' : 'mr-2'}>{lang.logout}</span>
578
- </p>
579
- </div>
580
- </Dropdown.Item>
581
- </Dropdown.Menu>
582
- )}
583
- </Dropdown>
584
- )}
585
- {sectionproperties.faviconshape != null && sectionproperties.searchbar_show == 'Show' && sectionproperties.favBtnShow == 'Show' && FavButton()}
586
- {sectionproperties.cartBtnShow == 'Show' && sectionproperties.searchbar_show == 'Show' && CartButton()}
587
- {sectionproperties.searchbar_show == 'Hide' &&
588
- sectionproperties.favBtnShow == 'Hide' &&
589
- sectionproperties.cartBtnShow == 'Hide' &&
590
- authdetailsContext?.instinfo?.instcurrencies?.length == 1 && (
591
- <div
592
- className={'allcentered resposiveheader_languagedropdown'}
593
- style={{
594
- marginLeft: langdetect == 'en' ? '0.25rem' : 0,
595
- marginRight: langdetect == 'ar' ? '0.25rem' : 0,
596
- // flex: sectionproperties.searchbar_show == 'Show' ? '' : 1,
597
- }}
598
- >
599
- <Dropdown>
600
- <Dropdown.Toggle>
601
- <div className={'allcentered m-0 cursor-pointer'}>
602
- {langdetect == 'ar' && (
603
- <div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '} style={{ direction: 'rtl' }}>
604
- <p class="m-0 p-0 font-weight-500">ع</p>
605
- <i className={langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'}>
606
- <BiChevronDown size={20} />
607
- </i>
608
- </div>
609
- )}
610
- {langdetect == 'en' && (
611
- <div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '} style={{ direction: 'ltr' }}>
612
- <p class="m-0 p-0 font-weight-500 mr-1">En</p>
613
- <i className="h-100 allcentered">
614
- <BiChevronDown size={20} />
615
- </i>
616
- </div>
617
- )}
618
- </div>
619
- </Dropdown.Toggle>
620
- <Dropdown.Menu>
621
- <Dropdown.Item
622
- className={`${header_cssstyles.dropdownitem}`}
623
- onClick={() => {
624
- setlang('ar');
625
- }}
626
- >
627
- <div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
628
- <p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
629
- {sectionproperties.flagiconhederresp == 'Flag' && (
630
- <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
631
- )}
632
- {sectionproperties.flagiconhederresp != 'Flag' && <BiGlobe size={15} />}
633
-
634
- <span className="ml-2 mr-2">{lang.arabic}</span>
635
- </p>
636
- </div>
637
- </Dropdown.Item>
638
- <Dropdown.Divider></Dropdown.Divider>
639
- <Dropdown.Item
640
- className={`${header_cssstyles.dropdownitem}`}
641
- onClick={() => {
642
- setlang('en');
643
- }}
644
- >
645
- <div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
646
- <p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
647
- {sectionproperties.flagiconhederresp == 'Flag' && (
648
- <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
649
- )}
650
- {sectionproperties.flagiconhederresp != 'Flag' && <BiGlobe size={15} />}
651
- <span className="ml-2 mr-2">{lang.english}</span>
652
- </p>
653
- </div>
654
- </Dropdown.Item>
655
- </Dropdown.Menu>
656
- </Dropdown>
657
- </div>
658
- )}
659
- </div>
660
- </div>
661
- <div
662
- className="row m-0 w-100 p-0"
663
- style={{
664
- borderTop: '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
665
- borderBottom: '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
666
- display:
667
- sectionproperties.searchbar_show == 'Hide' &&
668
- sectionproperties.favBtnShow == 'Hide' &&
669
- sectionproperties.cartBtnShow == 'Hide' &&
670
- authdetailsContext?.instinfo?.instcurrencies?.length == 1
671
- ? 'none'
672
- : 'flex',
673
- }}
674
- >
675
- {sectionproperties.searchbar_show == 'Show' && (
676
- <div
677
- className={authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1 ? 'col-md-8 p-0' : 'col-md-10 p-0'}
678
- style={{
679
- borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
680
- borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
681
- }}
682
- >
683
- <div className={header_cssstyles.searchbarcont + ' p-2 m-auto '}>
684
- <span className={header_cssstyles.searchbar_icon_cont + ' h-100 d-flex align-items-center justify-content-center m-0 pr-0 cursor-pointer '}>
685
- <i className="h-100 d-flex align-items-center justify-content-center">
686
- <RiSearchLine size={15} />
687
- </i>
688
- </span>
689
- <input
690
- type="text"
691
- placeholder={langdetect == 'en' ? 'What are you looking for?' : 'بحث...'}
692
- className={`${header_cssstyles.searchbarcont_input}`}
693
- onChange={(event) => {
694
- setSearchHeaderInputContext(event.target.value);
695
- }}
696
- />
697
-
698
- <Searchlist sectionpropertiesprops={sectionproperties} actions={actions} srcfromprops={'respheader'} />
699
- </div>
700
- </div>
701
- )}
702
- {sectionproperties.faviconshape != null && sectionproperties.searchbar_show == 'Hide' && sectionproperties.favBtnShow == 'Show' && (
703
- <div
704
- class="allcentered pt-2 pb-2"
705
- style={{
706
- flex: 1,
707
- borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
708
- borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
709
- }}
710
- >
711
- {FavButton()}
712
- </div>
713
- )}
714
- {sectionproperties.faviconshape != null && sectionproperties.searchbar_show == 'Hide' && sectionproperties.cartBtnShow == 'Show' && (
715
- <div
716
- class="allcentered pt-2 pb-2"
717
- style={{
718
- flex: 1,
719
- borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
720
- borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
721
- }}
722
- >
723
- {CartButton()}
724
- </div>
725
- )}
726
- {authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1 && (
727
- <div
728
- class={'col-md-2 d-flex align-items-center justify-content-center pl-1 pr-1 pt-1'}
729
- style={{
730
- borderRight: langdetect == 'en' ? '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive : 0,
731
- borderLeft: langdetect == 'en' ? 0 : '1px solid ' + sectionproperties.searchbarcont_bordercolorresponsive,
732
- }}
733
- >
734
- <Dropdown>
735
- <Dropdown.Toggle>
736
- <li class={' d-flex align-items-center justify-content-center '}>
737
- {langdetect == 'en' && (
738
- <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
739
- <p class="m-0 p-0 mr-1 ml-1">{authdetailsContext?.currencyname_en}</p>
740
- <MdKeyboardArrowDown />
741
- </div>
742
- )}
743
- {langdetect == 'ar' && (
744
- <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
745
- <p class="m-0 p-0 ml-1 mr-1">{authdetailsContext?.currencyname_ar}</p>
746
- <MdKeyboardArrowDown />
747
- </div>
748
- )}
749
- </li>
750
- </Dropdown.Toggle>
751
- <Dropdown.Menu>
752
- {authdetailsContext?.instinfo?.instcurrencies?.map(function (item, index) {
753
- return (
754
- <Dropdown.Item
755
- class="m-0 p-0"
756
- onClick={() => {
757
- setcurrencyfunccontext(item);
758
- }}
759
- >
760
- <div class="row m-0 w-100">
761
- <div class="col-lg-12 p-0 d-flex justify-content-start">
762
- <div class={`${header_cssstyles.dropdownitemcontainer}`}>
763
- <p
764
- class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
765
- style={{
766
- fontSize: sectionproperties.dropdown_fontsize + 'px',
767
- fontWeight: sectionproperties.dropdown_fontweight,
768
- textTransform: sectionproperties.dropdown_texttransform,
769
- }}
770
- >
771
- <FaMoneyBillWave />
772
- <span class={'ml-2 mr-2'}>{langdetect == 'en' ? item.currencyname_en : item.currencyname_ar}</span>
773
- </p>
774
- </div>
775
- </div>
776
- {index != authdetailsContext?.instinfo?.instcurrencies?.length - 1 && (
777
- <div class="col-lg-12 p-0">
778
- <hr class="m-0" />
779
- </div>
780
- )}
781
- </div>
782
- </Dropdown.Item>
783
- );
784
- })}
785
- </Dropdown.Menu>
786
- </Dropdown>
787
- </div>
788
- )}
789
- <div
790
- className={
791
- sectionproperties.searchbar_show == 'Show'
792
- ? langdetect == 'en'
793
- ? 'col-md-2 allcentered pl-1 pr-1 pt-1 resposiveheader_languagedropdown'
794
- : 'col-md-2 allcentered pl-1 pr-1 pt-1'
795
- : 'allcentered pl-1 pr-1 pt-2 pb-2 resposiveheader_languagedropdown'
796
- }
797
- style={{
798
- flex: sectionproperties.searchbar_show == 'Show' ? '' : 1,
799
- }}
800
- >
801
- <Dropdown>
802
- <Dropdown.Toggle>
803
- <div className={'allcentered m-0 cursor-pointer'}>
804
- {langdetect == 'ar' && (
805
- <div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '} style={{ direction: 'rtl' }}>
806
- <p class="m-0 p-0 font-weight-500">ع</p>
807
- <i className={langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'}>
808
- <BiChevronDown size={20} />
809
- </i>
810
- </div>
811
- )}
812
- {langdetect == 'en' && (
813
- <div className={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 allcentered '} style={{ direction: 'ltr' }}>
814
- <p class="m-0 p-0 font-weight-500 mr-1">En</p>
815
- <i className="h-100 allcentered">
816
- <BiChevronDown size={20} />
817
- </i>
818
- </div>
819
- )}
820
- </div>
821
- </Dropdown.Toggle>
822
- <Dropdown.Menu>
823
- <Dropdown.Item
824
- className={`${header_cssstyles.dropdownitem}`}
825
- onClick={() => {
826
- setlang('ar');
827
- }}
828
- >
829
- <div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
830
- <p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
831
- {sectionproperties.flagiconhederresp == 'Flag' && (
832
- <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
833
- )}
834
- {sectionproperties.flagiconhederresp != 'Flag' && <BiGlobe size={15} />}
835
-
836
- <span className="ml-2 mr-2">{lang.arabic}</span>
837
- </p>
838
- </div>
839
- </Dropdown.Item>
840
- <Dropdown.Divider></Dropdown.Divider>
841
- <Dropdown.Item
842
- className={`${header_cssstyles.dropdownitem}`}
843
- onClick={() => {
844
- setlang('en');
845
- }}
846
- >
847
- <div className={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
848
- <p className={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
849
- {sectionproperties.flagiconhederresp == 'Flag' && (
850
- <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
851
- )}
852
- {sectionproperties.flagiconhederresp != 'Flag' && <BiGlobe size={15} />}
853
- <span className="ml-2 mr-2">{lang.english}</span>
854
- </p>
855
- </div>
856
- </Dropdown.Item>
857
- </Dropdown.Menu>
858
- </Dropdown>
859
- </div>
860
- </div>
861
- <div className="row m-0 w-100 pt-2 filter d-none" id="filter">
862
- <div className="col-lg-12 p-0">
863
- <ul className={' d-flex justify-content-center flex-column p-0 '}>
864
- {templatepropcontext.pagesnprop.map((item, index) => {
865
- if (item.isnavigation == 1 && item.isactive == 1) {
866
- return (
867
- <div className="row m-0 w-100">
868
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3" style={{ paddingTop: index == 0 ? 5 : 0 }}>
869
- <div
870
- onClick={() => {
871
- routingcountext(item.navigationroute, false, '');
872
- }}
873
- >
874
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
875
- {langdetect == 'en' ? item.pagename : item.pagename_ar}
876
- </p>
877
- </div>
878
- </div>
879
- <div className="col-lg-12">
880
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
881
- </div>
882
- </div>
883
- );
884
- }
885
- })}
886
- {authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && templateproperties_context.showprevorder == 'Show' && (
887
- <div className="row m-0 w-100">
888
- <div
889
- className="col-lg-12 d-flex justify-content-start"
890
- onClick={() => {
891
- routingcountext(StaticPagesLinksContext.Ordershistory);
892
- }}
893
- >
894
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>
895
- {langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear}
896
- </p>
897
- </div>
898
- <div className="col-lg-12">
899
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
900
- </div>
901
- </div>
902
- )}
903
- {templateproperties_context.showfavorites == 'Show' && (
904
- <div className="row m-0 w-100">
905
- <div
906
- className="col-lg-12 d-flex justify-content-start"
907
- onClick={() => {
908
- routingcountext(StaticPagesLinksContext.Wishlist);
909
- }}
910
- >
911
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.wishlist}</p>
912
- </div>
913
- <div className="col-lg-12">
914
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
915
- </div>
916
- </div>
917
- )}
918
- {templateproperties_context.showpolicies == 'Show' && (
919
- <div className="row m-0 w-100">
920
- <div
921
- className="col-lg-12 d-flex justify-content-start"
922
- onClick={() => {
923
- routingcountext(StaticPagesLinksContext.Policies);
924
- }}
925
- >
926
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
927
- {langdetect == 'en' ? sectionproperties.policiestexten : sectionproperties.policiestextar}
928
- </p>
929
- </div>
930
- <div className="col-lg-12 p-0">
931
- <hr className="mt-3 mb-0" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
932
- </div>
933
- </div>
934
- )}
935
-
936
- {sectionproperties.showdownloadsection == 'Show' && (
937
- <div className="row m-0 w-100">
938
- <div className="col-lg-12 allcentered mt-3">
939
- <img
940
- src={'https://tabex-co.com/storage/StaticImages/appstore.png'}
941
- class={header_cssstyles.storeimage + ' cursor-pointer mx-3 mx-sm-2 '}
942
- onClick={() => {
943
- window.open(authdetailsContext?.instinfo?.mobileapplink_appstore, '_blank');
944
- }}
945
- />
946
- <img
947
- class={header_cssstyles.storeimage + ' cursor-pointer mx-3 mx-sm-0 '}
948
- src={'https://tabex-co.com/storage/StaticImages/googleplay.png'}
949
- onClick={() => {
950
- window.open(authdetailsContext?.instinfo?.mobileapplink_playstore, '_blank');
951
- }}
952
- />
953
- </div>
954
-
955
- <div className="col-lg-12 p-0">
956
- <hr className="mt-3 mb-0" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
957
- </div>
958
- </div>
959
- )}
960
- </ul>
961
- </div>
962
- </div>
963
- </div>
964
- {sectionproperties.showhidesubheader == 'Show' && (
965
- <div className="col-lg-12 p-0 h-100" id="subheader">
966
- <div className="row m-0 w-100 h-100">
967
- <div className="col-lg-12 p-0 h-100">
968
- <Subheader sectionpropertiesprops={sectionproperties} actions={actions} />
969
- </div>
970
- </div>
971
- </div>
972
- )}
973
- </div>
974
- )}
975
- {/* {sectionproperties.length != 0 && sectionproperties.headerresposivestyles == 'Off Canvas' && ( */}
976
- {/* <Offcanvas
977
- show={openCnvas}
978
- onHide={() => {
979
- setopenCnvas(false);
980
- }}
981
- placement="end"
982
- scroll={true}
983
- style={{
984
- width: '90%',
985
- backgroundColor: 'white',
986
- }}
987
- backdrop={true}
988
- >
989
- <Offcanvas.Header>
990
- <Offcanvas.Title>
991
- <div className="row m-0 w-100 mt-2">
992
- <div className="col-lg-12 p-0">
993
- <div className={`${tabstyles.tabs} ${tabstyles.policiestabs}` + ' w-100 p-0 '}>
994
- <ul
995
- className={`${tabstyles.tabsul}` + ' m-0 p-0 '}
996
- style={{ background: sectionproperties.tabcontainerbgcolor, borderRadius: sectionproperties.tabcontainerborderradius + 'px' }}
997
- >
998
- <li
999
- className={
1000
- `${tabstyles.tabsli}`
1001
- // index == policychoosedindex
1002
- // ? `${tabstyles.tabsli} ${policies_cssstyles.tabsli} ${policies_cssstyles.tabsliactive}`
1003
- // : `${tabstyles.tabsli} ${policies_cssstyles.tabsli}`
1004
- }
1005
- onClick={() => {
1006
- setactiveTab('menu');
1007
- // setpolicychoosedindex(index);
1008
- }}
1009
- style={{ width: '50%' }}
1010
- >
1011
- <label role="button" className={' d-flex align-items-center m-0 w-md-100 '}>
1012
- <span
1013
- className="pt-2 pb-2"
1014
- style={{
1015
- textTransform: sectionproperties.tabtexttexttransform,
1016
- fontWeight: sectionproperties.tabtextfontweight,
1017
- fontSize: sectionproperties.tabtextfontsize + 'px',
1018
- // color: index == policychoosedindex ? sectionproperties.tabtextactivecolor : sectionproperties.tabtextcolor,
1019
- transition: '.3s',
1020
- }}
1021
- >
1022
- MENU
1023
- </span>
1024
- </label>
1025
- </li>
1026
- <li
1027
- style={{ width: '50%' }}
1028
- className={
1029
- `${tabstyles.tabsli}`
1030
- // index == policychoosedindex
1031
- // ? `${tabstyles.tabsli} ${policies_cssstyles.tabsli} ${policies_cssstyles.tabsliactive}`
1032
- // : `${tabstyles.tabsli} ${policies_cssstyles.tabsli}`
1033
- }
1034
- onClick={() => {
1035
- setactiveTab('categories');
1036
-
1037
- // setpolicychoosedindex(index);
1038
- }}
1039
- >
1040
- <label role="button" className={' d-flex align-items-center m-0 w-md-100 '}>
1041
- <span
1042
- className="pt-2 pb-2"
1043
- style={{
1044
- textTransform: sectionproperties.tabtexttexttransform,
1045
- fontWeight: sectionproperties.tabtextfontweight,
1046
- fontSize: sectionproperties.tabtextfontsize + 'px',
1047
- // color: index == policychoosedindex ? sectionproperties.tabtextactivecolor : sectionproperties.tabtextcolor,
1048
- transition: '.3s',
1049
- }}
1050
- >
1051
- Our Categories
1052
- </span>
1053
- </label>
1054
- </li>
1055
- </ul>
1056
- </div>
1057
- </div>
1058
- </div>
1059
- </Offcanvas.Title>
1060
- </Offcanvas.Header>
1061
- <Offcanvas.Body>
1062
- {activeTab == 'menu' && (
1063
- <div className={' row m-0 w-100 '}>
1064
- <div className="col-lg-12 p-0">
1065
- <ul className={' d-flex justify-content-center flex-column p-0 '}>
1066
- {templatepropcontext.pagesnprop.map((item, index) => {
1067
- if (item.isnavigation == 1 && item.isactive == 1) {
1068
- return (
1069
- <div className="row m-0 w-100">
1070
- <div className="col-lg-12 d-flex justify-content-start pl-3 pr-3" style={{ paddingTop: index == 0 ? 5 : 0 }}>
1071
- <div
1072
- onClick={() => {
1073
- routingcountext(item.navigationroute, false, '');
1074
- }}
1075
- >
1076
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1077
- {langdetect == 'en' ? item.pagename : item.pagename_ar}
1078
- </p>
1079
- </div>
1080
- </div>
1081
- <div className="col-lg-12 p-0">
1082
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1083
- </div>
1084
- </div>
1085
- );
1086
- }
1087
- })}
1088
- {authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && (
1089
- <div className="row m-0 w-100">
1090
- <div
1091
- className="col-lg-12 d-flex justify-content-start"
1092
- onClick={() => {
1093
- routingcountext(StaticPagesLinksContext.Ordershistory);
1094
- }}
1095
- >
1096
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.orderhistory}</p>
1097
- </div>
1098
- <div className="col-lg-12 p-0">
1099
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1100
- </div>
1101
- </div>
1102
- )}
1103
- <div className="row m-0 w-100">
1104
- <div
1105
- className="col-lg-12 d-flex justify-content-start"
1106
- onClick={() => {
1107
- routingcountext(StaticPagesLinksContext.Wishlist);
1108
- }}
1109
- >
1110
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.wishlist}</p>
1111
- </div>
1112
- <div className="col-lg-12 p-0">
1113
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1114
- </div>
1115
- </div>
1116
- <div className="row m-0 w-100">
1117
- <div
1118
- className="col-lg-12 d-flex justify-content-start"
1119
- onClick={() => {
1120
- routingcountext(StaticPagesLinksContext.Policies);
1121
- }}
1122
- >
1123
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.policies}</p>
1124
- </div>
1125
- </div>
1126
- </ul>
1127
- </div>
1128
- </div>
1129
- )}
1130
- {activeTab == 'categories' && (
1131
- <div className={' row m-0 w-100 accordionContainer'}>
1132
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1133
- {fetchCategoriesQueryContext?.data?.data?.categories.map((item, index) => {
1134
- return (
1135
- <AccordionItem>
1136
- <AccordionItemHeading
1137
- onClick={() => {
1138
- setChoosenindex(index);
1139
- }}
1140
- >
1141
- <AccordionItemButton>
1142
- <div className={' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
1143
- <div
1144
- className="col-lg-12 col-md-12 col-sm-12 p-0"
1145
- onClick={() => {
1146
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1147
- }}
1148
- >
1149
- <p className={' m-0 p-0 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
1150
- </div>
1151
- </div>
1152
- </AccordionItemButton>
1153
- </AccordionItemHeading>
1154
- <AccordionItemPanel className="p-0">
1155
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1156
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1157
- {Choosenindex.length != 0 && fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions?.length != 0 && (
1158
- <AccordionItem>
1159
- {fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions.map((item, index) => (
1160
- <AccordionItemHeading>
1161
- <AccordionItemButton>
1162
- <div className={' row m-0 p-0 mb-2 pl-md-3 pr-md-3 '}>
1163
- <div
1164
- className="col-lg-12 col-md-12 col-sm-12 p-0"
1165
- onClick={() => {
1166
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1167
- }}
1168
- >
1169
- <p className={' m-0 p-0 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
1170
- </div>
1171
- </div>
1172
- </AccordionItemButton>
1173
- </AccordionItemHeading>
1174
- ))}
1175
-
1176
- <AccordionItemPanel className="p-0">
1177
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1178
- <div className={'col-lg-12'}></div>
1179
- </div>
1180
- </AccordionItemPanel>
1181
- </AccordionItem>
1182
- )}
1183
- </Accordion>
1184
- </div>
1185
- </AccordionItemPanel>
1186
- </AccordionItem>
1187
- );
1188
- })}
1189
- </Accordion>
1190
- </div>
1191
- )}
1192
- </Offcanvas.Body>
1193
- </Offcanvas> */}
1194
-
1195
- {/* )} */}
1196
- </div>
1197
- </div>
1198
- );
1199
- };
1200
-
1201
- export default Headerresponsive;