tabexseriescomponents 0.2.1280 → 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 +27 -0
  2. package/dist/index.esm.js +27 -0
  3. package/dist/index.umd.js +27 -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,1639 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import { css } from 'glamor';
3
- import MarqueeHeader from '../MarqueeHeader/MarqueeHeader.jsx';
4
- import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
5
- import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
6
- import { AiOutlineClose } from '@react-icons/all-files/ai/AiOutlineClose';
7
- import { FiMenu } from '@react-icons/all-files/fi/FiMenu';
8
- import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
9
- import { BiUser } from '@react-icons/all-files/bi/BiUser';
10
- import { Offcanvas } from 'react-bootstrap';
11
- import { FiChevronUp } from '@react-icons/all-files/fi/FiChevronUp';
12
- import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemPanel, AccordionItemState } from 'react-accessible-accordion';
13
- import { IoSearchOutline } from '@react-icons/all-files/io5/IoSearchOutline';
14
- import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
15
- import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
16
- import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
17
- import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
18
- import { BsBag } from '@react-icons/all-files/bs/BsBag';
19
- import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
20
- import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
21
- import { IoClose } from '@react-icons/all-files/io5/IoClose';
22
- import Dropdown from 'react-bootstrap/Dropdown';
23
- import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
24
- import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
25
- import { IoLogoTiktok } from '@react-icons/all-files/io5/IoLogoTiktok';
26
- import { AiFillYoutube } from '@react-icons/all-files/ai/AiFillYoutube';
27
- import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
28
- import { FiChevronDown } from '@react-icons/all-files/fi/FiChevronDown';
29
-
30
- const HeaderresponsiveStyle2 = (props) => {
31
- const actions = props.actions;
32
- const LogoutMutationContext = props.actions.LogoutMutationContext;
33
- const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
34
- const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
35
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
36
- const lang = props.actions.lang;
37
- const langdetect = props.actions.langdetect;
38
- const setlang = props.actions.setlang;
39
- const templatepropcontext = props.actions.templatepropcontext;
40
- const authdetailsContext = props.actions.authdetailsContext;
41
- const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
42
- const templateproperties_context = props.actions.templateproperties_context;
43
- const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
44
- const routingcountext = props.actions.routingcountext;
45
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
46
- const setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
47
- const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
48
- const ikimagecredcontext = props.actions.ikimagecredcontext;
49
- const [sectionproperties, setsectionproperties] = useState('');
50
- const [Choosenindex, setChoosenindex] = useState('');
51
- const [menuactive, setmenuactive] = useState(false);
52
- const [openSearch, setopenSearch] = useState(false);
53
-
54
- useEffect(() => {
55
- if (props.sectionpropertiesprops != undefined) {
56
- setsectionproperties({ ...props.sectionpropertiesprops });
57
- }
58
- }, [props.sectionpropertiesprops]);
59
- const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
60
- const [openCnvas, setopenCnvas] = useState(false);
61
- const [activeTab, setactiveTab] = useState('');
62
- useEffect(() => {
63
- if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
64
- var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
65
- if (Array.isArray(logoarrayofobjectsparsed)) {
66
- setlogoarrayofobjects([...logoarrayofobjectsparsed]);
67
- }
68
- }
69
- // alert(JSON.stringify(templateproperties_context));
70
- }, [templateproperties_context]);
71
- const header_cssstyles = {
72
- header_logo: css({
73
- width: sectionproperties.logo_width + 'px',
74
- height: sectionproperties.logo_height + 'px',
75
- }),
76
- navbar_item_text_responsive: css({
77
- fontSize: sectionproperties.header_fontSizeresponsive + 'px',
78
- color: sectionproperties.header_fontColorresponsive,
79
- textTransform: sectionproperties.header_textTransformresponsive,
80
- fontWeight: sectionproperties.header_textfontweight_responsive,
81
- transition: '.3s',
82
- ':hover': {
83
- color: sectionproperties.header_fontColorresponsive_onhover,
84
- },
85
- }),
86
- badge_counter_header_notifications: css({
87
- display: 'flex',
88
- justifyContent: 'center',
89
- alignItems: 'center',
90
- position: 'absolute',
91
- background: sectionproperties.badge_bgcolor,
92
- width: '45px',
93
- height: '45px',
94
- color: sectionproperties.badge_color,
95
- borderRadius: sectionproperties.badge_borderradius + 'px',
96
- fontSize: sectionproperties.badgefontsizeresp + 'px',
97
- transform: 'scale(0.3)',
98
- transformOrigin: 'top right',
99
- fontWeight: sectionproperties.badgefontweight,
100
- fontFamily: 'Poppins-Medium',
101
- }),
102
- wishlistbtn: css({
103
- width: sectionproperties.wishlistbtnresp_width + 'px',
104
- height: sectionproperties.wishlistbtnresp_height + 'px',
105
- borderRadius: sectionproperties.wishlistbtnresp_borderRadius + 'px',
106
- border: sectionproperties.wishlistbtnresp_borderWidth + 'px solid ' + sectionproperties.wishlistbtnresp_borderColor,
107
- background: sectionproperties.wishlistbtnresp_bgColor,
108
- fontSize: sectionproperties.wishlistresponsivefontsize + 'px',
109
- color: sectionproperties.wishlistresponsivecolor,
110
- position: 'relative',
111
- }),
112
- addtocartbtn_resp: css({
113
- position: 'relative',
114
- cursor: 'pointer',
115
- display: 'flex',
116
- alignItems: 'center',
117
- color: sectionproperties.cart_BtnTextcolor_resp,
118
- background: sectionproperties.cart_BtnbgColor_resp,
119
- width: sectionproperties.cart_BtnWidth_resp + 'px',
120
- height: sectionproperties.cart_BtnHeight_resp + 'px',
121
- borderRadius: sectionproperties.cart_BtnborderRadius_resp + 'px',
122
- border: sectionproperties.cartBtnresp_borderWidth + 'px solid ' + sectionproperties.cartBtnresp_borderColor,
123
- transition: '.3s',
124
- }),
125
- searchbarcont: css({
126
- position: 'relative',
127
- transition: '.3s',
128
- position: 'relative',
129
- width: '100%',
130
- height: '70px',
131
- // border: '1px solid #000',
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: 4,
145
- top: 0,
146
- margin: 'auto',
147
- }),
148
- searchbarcont_input: css({
149
- width: '100%',
150
- background: 'transparent',
151
- color: '#000',
152
- fontWeight: 500,
153
- fontSize: '14px',
154
- borderRadius: 0,
155
- borderBottom: '1px solid #000',
156
- paddingLeft: '15px',
157
- paddingRight: '15px',
158
- outline: 'none',
159
- transition: '0.3s',
160
- marginTop: '40px',
161
- }),
162
- languagecontainer: css({
163
- color: sectionproperties.language_container_color_resp,
164
- cursor: 'pointer',
165
- transition: '.3s',
166
- ':hover': {
167
- color: sectionproperties.language_container_coloronhover,
168
- },
169
- }),
170
- dropdownitemcontainer: css({
171
- fontSize: '13px',
172
- color: sectionproperties.dropdown_color,
173
- fontWeight: sectionproperties.dropdown_fontweight,
174
- textTransform: sectionproperties.dropdown_texttransform,
175
- padding: '0.3rem 0.8rem',
176
- display: 'flex',
177
- alignItems: 'center',
178
- transition: '.3s',
179
- ':hover': {
180
- color: sectionproperties.dropdown_hovercolor,
181
- },
182
- }),
183
- userbtnLoggedin_icon: css({
184
- fontSize: sectionproperties.userBtniconresp_size,
185
- color: sectionproperties.userBtnTextresp_color,
186
- }),
187
- userbtn_respContainer: css({
188
- position: 'relative',
189
- cursor: 'pointer',
190
- display: 'flex',
191
- alignItems: 'center',
192
- color: sectionproperties.userBtnTextresp_color,
193
- fontSize: sectionproperties.userBtntextfontresp_size + 'px',
194
- fontWeight: 400,
195
- transition: '.3s',
196
- ':hover .userbtn_resp': {
197
- color: sectionproperties.userbtnresp_Coloronhover,
198
- },
199
- }),
200
- userbtnloggedin: css({
201
- width: sectionproperties.userBtnWidth_resp + 'px',
202
- height: sectionproperties.userBtnHeight_resp + 'px',
203
- backgroundColor: sectionproperties.userBtnbgColor_resp,
204
- color: sectionproperties.userBtnTextcolor_resp, //aywa da icon color
205
- fontSize: sectionproperties.userBtniconresp_size + 'px',
206
- borderRadius: sectionproperties.userBtnResp_BorderRadius + 'px',
207
- border: sectionproperties.userBtnResp_BorderWidth + 'px solid ' + sectionproperties.userBtnResp_BorderColor,
208
- transition: '.3s',
209
- ':hover': {
210
- color: sectionproperties.userbtnresp_IconColoronhover,
211
- },
212
- }),
213
- loggedintext: css({
214
- color: sectionproperties.userbtnresp_loggedincolor,
215
- fontSize: sectionproperties.userBtntextfontresp_size + 'px',
216
- fontWeight: 400,
217
- width: '250px',
218
- transition: '.3s',
219
- textTransform: 'capitalize',
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
- const returnpolicyobj = (policytype) => {
240
- var policyobj = {};
241
- authdetailsContext?.instinfo?.instpolicies?.forEach(function (item, index) {
242
- if (item.policytype == policytype) {
243
- policyobj = item;
244
- }
245
- });
246
- return policyobj;
247
- };
248
- const CartButton = () => {
249
- return (
250
- <div
251
- class="d-flex align-items-center"
252
- style={{
253
- position: 'relative',
254
- }}
255
- >
256
- <button
257
- className={`${header_cssstyles.addtocartbtn_resp}` + ' d-flex align-items-center justify-content-center p-0 '}
258
- onClick={() => {
259
- if (fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length > 7) {
260
- routingcountext(StaticPagesLinksContext.viewcart);
261
- } else {
262
- setsidecartnavshowcontext(true);
263
- }
264
- }}
265
- >
266
- <i className={' h-100 d-flex align-items-center justify-content-center '}>
267
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtniconresp_size} />}
268
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtniconresp_size} />}
269
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtniconresp_size} />}
270
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtniconresp_size} />}
271
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtniconresp_size} />}
272
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtniconresp_size} />}
273
- {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtniconresp_size} />}
274
- </i>
275
- </button>
276
- <div
277
- className={`${header_cssstyles.badge_counter_header_notifications}`}
278
- style={{
279
- top: sectionproperties.cartbadgefromtop + 'px',
280
- right: sectionproperties.cartbadgefromright + 'px',
281
- }}
282
- >
283
- {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
284
- </div>
285
- </div>
286
- );
287
- };
288
- const [openmenuCanvas, setopenmenuCanvas] = useState(false);
289
- const [pcollarray, setpcollarray] = useState([]);
290
- useEffect(() => {
291
- if (fetchCategoriesQueryContext.isSuccess == true && fetchCategoriesQueryContext.data.data.status == true) {
292
- var temppcollarray = [...pcollarray];
293
- fetchCategoriesQueryContext?.data?.data?.categories.forEach(function (arrayItem) {
294
- if (arrayItem.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
295
- arrayItem?.parentcolletions.forEach(function (item) {
296
- if (item.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
297
- temppcollarray.push(item);
298
- }
299
- });
300
- }
301
- });
302
- setpcollarray([...temppcollarray]);
303
- }
304
- // alert(JSON.stringify(pcollarray));
305
- }, [fetchCategoriesQueryContext.isSuccess]);
306
- const InstLogoContainer = () => {
307
- return (
308
- <div
309
- className={header_cssstyles.header_logo + ' d-flex align-items-center justify-content-start '}
310
- style={{ cursor: 'pointer' }}
311
- onClick={() => {
312
- routingcountext('home');
313
- }}
314
- >
315
- <Imagekitimagecomp
316
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
317
- publicKey={ikimagecredcontext?.ikimagepublickey}
318
- path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
319
- style={{
320
- maxWidth: '100%',
321
- maxHeight: '100%',
322
- }}
323
- />
324
- </div>
325
- );
326
- };
327
- return (
328
- <div
329
- className="row m-0 w-100 d-none d-md-block"
330
- style={{
331
- position: sectionproperties.respheaderposition,
332
- zIndex: 10000,
333
- top: sectionproperties.respheaderposition == 'absolute' ? '50px' : 0,
334
- }}
335
- >
336
- {templateproperties_context.showtextslider == 'Show' && (
337
- <div class="col-lg-12 p-0">
338
- <MarqueeHeader sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
339
- </div>
340
- )}
341
- {sectionproperties.length != 0 && (
342
- <div className="col-lg-12 p-0">
343
- {openSearch == false && (
344
- <div className={' row m-0 w-100 d-none d-md-flex p-0 '}>
345
- {/* {templateproperties_context.showtextslider == 'Show' && <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />} */}
346
- <div
347
- className="col-lg-12 p-0"
348
- style={{
349
- background: sectionproperties.responsiveheadertransparentbg == 'Transparent' ? 'transparent' : sectionproperties.resposive_bgcolor,
350
- }}
351
- >
352
- <div
353
- className="row m-0 w-100 p-0 pl-2 pr-2"
354
- style={{
355
- position: 'relative',
356
- }}
357
- >
358
- {sectionproperties.logocentered == 'Centered' && (
359
- <div className="col-md-4 col-sm-4 text-start p-0">
360
- {sectionproperties.searchbar_show == 'Show' && (
361
- <div
362
- style={{
363
- width: '30px',
364
- height: sectionproperties.cart_BtnHeight_resp + 'px',
365
- }}
366
- >
367
- <i
368
- class="h-100 allcentered"
369
- onClick={() => {
370
- setopenSearch(true);
371
- }}
372
- >
373
- <IoSearchOutline size={22} color={sectionproperties.cart_BtnTextcolor_resp} />
374
- </i>
375
- </div>
376
- )}
377
- {templateproperties_context.showfavorites == 'Show' && (
378
- <div
379
- style={{
380
- width: '30px',
381
- height: sectionproperties.cart_BtnHeight_resp + 'px',
382
- }}
383
- >
384
- <i
385
- class="h-100 allcentered"
386
- onClick={() => {
387
- routingcountext(StaticPagesLinksContext.Wishlist);
388
- }}
389
- >
390
- <FaRegHeart size={22} color={sectionproperties.cart_BtnTextcolor_resp} />
391
- </i>
392
- </div>
393
- )}
394
- </div>
395
- )}
396
-
397
- {sectionproperties.logocentered == 'Not Centered' && <div className="col-md-6 col-sm-6 d-flex filter align-items-center p-0">{InstLogoContainer()}</div>}
398
- {sectionproperties.logocentered == 'Centered' && <div className="col-md-4 col-sm-4 allcentered p-0">{InstLogoContainer()}</div>}
399
- <div
400
- className={
401
- sectionproperties.logocentered != 'Centered'
402
- ? 'col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0'
403
- : 'col-md-4 col-sm-4 d-flex align-items-center justify-content-end p-0'
404
- }
405
- >
406
- {sectionproperties.searchbar_show == 'Show' && sectionproperties.logocentered == 'Not Centered' && (
407
- <div
408
- style={{
409
- width: '30px',
410
- height: sectionproperties.cart_BtnHeight_resp + 'px',
411
- }}
412
- >
413
- <i
414
- class="h-100 allcentered"
415
- onClick={() => {
416
- setopenSearch(true);
417
- }}
418
- >
419
- <IoSearchOutline size={22} color={sectionproperties.cart_BtnTextcolor_resp} />
420
- </i>
421
- </div>
422
- )}
423
- {sectionproperties.cartBtnShow == 'Show' && CartButton()}
424
- <div
425
- style={{
426
- width: sectionproperties.cart_BtnWidth_resp + 'px',
427
- height: sectionproperties.cart_BtnHeight_resp + 'px',
428
- }}
429
- >
430
- <i
431
- class={' h-100 allcentered '}
432
- style={{
433
- color: sectionproperties.cart_BtnTextcolor_resp,
434
- }}
435
- onClick={() => {
436
- if (sectionproperties.responsiveheaderstyle == 'Style 2') {
437
- if (menuactive == true) {
438
- setmenuactive(false);
439
- } else {
440
- setmenuactive(true);
441
- }
442
- } else {
443
- setopenmenuCanvas(true);
444
- setactiveTab('menu');
445
- }
446
- }}
447
- >
448
- {menuactive == false && <FiMenu size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
449
- {menuactive == true && <AiOutlineClose size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
450
- </i>
451
- </div>
452
- </div>
453
- {menuactive == true && (
454
- <div
455
- class="px-4 py-4 scrollvertical"
456
- style={{
457
- position: 'fixed',
458
- top: '0px',
459
- left: 0,
460
- right: 0,
461
- width: '100%',
462
- background: sectionproperties.resposive_bgcolor,
463
- height: '100%',
464
- zIndex: 10000,
465
- overflow: 'scroll',
466
- }}
467
- >
468
- {/* {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && (
469
- <div className="row m-0 w-100 mb-5" style={{ borderBottom: '1px solid #eee' }}>
470
- <div
471
- className={'col-6 allcentered py-3'}
472
- onClick={() => {
473
- setactiveTab('menu');
474
- }}
475
- style={{
476
- background: activeTab == 'menu' ? 'white' : '#eee',
477
- }}
478
- >
479
- <p
480
- className="m-0 p-0"
481
- style={{
482
- textTransform: 'uppercase',
483
- fontWeight: 500,
484
- fontSize: '15px',
485
- transition: '.3s',
486
- color: '#000',
487
- }}
488
- >
489
- {langdetect == 'en' ? 'MENU' : 'القائمة'}
490
- </p>
491
- </div>
492
- <div
493
- className={'col-6 allcentered py-3'}
494
- onClick={() => {
495
- setactiveTab('categories');
496
- }}
497
- style={{
498
- background: activeTab == 'categories' ? 'white' : '#eee',
499
- }}
500
- >
501
- <p
502
- className="m-0 p-0"
503
- style={{
504
- textTransform: 'uppercase',
505
- fontWeight: 500,
506
- fontSize: '15px',
507
- transition: '.3s',
508
- color: '#000',
509
- }}
510
- >
511
- {langdetect == 'en' ? 'SHOP' : 'تسوق'}
512
- </p>
513
- </div>
514
- </div>
515
- )} */}
516
- {/* {sectionproperties.responsiveheaderstyle != 'Style 2 With Subheader' && ( */}
517
- <div class="col-lg-12 text-end anim">
518
- <i
519
- class={' h-100 allcentered '}
520
- style={{
521
- color: sectionproperties.cart_BtnTextcolor_resp,
522
- }}
523
- onClick={() => {
524
- if (menuactive == true) {
525
- setmenuactive(false);
526
- } else {
527
- setmenuactive(true);
528
- }
529
- }}
530
- >
531
- {menuactive == false && <FiMenu size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
532
- {menuactive == true && <AiOutlineClose size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
533
- </i>
534
- </div>
535
- {/* )} */}
536
- {templatepropcontext.pagesnprop.map((item, index) => {
537
- if (item.isnavigation == 1 && item.isactive == 1) {
538
- return (
539
- <div className="row m-0 w-100 anim">
540
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
541
- <div
542
- onClick={() => {
543
- routingcountext(item.navigationroute, false, '');
544
- setmenuactive(false);
545
- }}
546
- >
547
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
548
- {langdetect == 'en' ? item.pagename : item.pagename_ar}
549
- </p>
550
- </div>
551
- </div>
552
- <div className="col-lg-12 p-0">
553
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
554
- </div>
555
- </div>
556
- );
557
- }
558
- })}
559
- {templateproperties_context.showfavorites == 'Show' && (
560
- <div className="row m-0 w-100 anim">
561
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
562
- <div
563
- onClick={() => {
564
- routingcountext(StaticPagesLinksContext.Wishlist);
565
- setmenuactive(false);
566
- }}
567
- >
568
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.wishlist}</p>
569
- </div>
570
- </div>
571
- <div className="col-lg-12 p-0">
572
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
573
- </div>
574
- </div>
575
- )}
576
- {templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && (
577
- <div className="row m-0 w-100 anim">
578
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
579
- <div
580
- onClick={() => {
581
- routingcountext(StaticPagesLinksContext.Policies);
582
- setmenuactive(false);
583
- }}
584
- >
585
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.policies}</p>
586
- </div>
587
- </div>
588
- <div className="col-lg-12 p-0">
589
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
590
- </div>
591
- </div>
592
- )}
593
- {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
594
- <div className="row m-0 w-100 anim">
595
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
596
- <div
597
- onClick={() => {
598
- routingcountext(StaticPagesLinksContext.PrivacyPolicy);
599
- setmenuactive(false);
600
- }}
601
- >
602
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
603
- {langdetect == 'en' ? returnpolicyobj('Privacy Policy')?.policypagename_en : returnpolicyobj('Privacy Policy')?.policypagename_ar}
604
- </p>
605
- </div>
606
- </div>
607
- <div className="col-lg-12 p-0">
608
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
609
- </div>
610
- </div>
611
- )}
612
- {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
613
- <div className="row m-0 w-100 anim">
614
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
615
- <div
616
- onClick={() => {
617
- routingcountext(StaticPagesLinksContext.ShippingPolicy);
618
- setmenuactive(false);
619
- }}
620
- >
621
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
622
- {langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policypagename_en : returnpolicyobj('Shipping Policy')?.policypagename_ar}
623
- </p>
624
- </div>
625
- </div>
626
- <div className="col-lg-12 p-0">
627
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
628
- </div>
629
- </div>
630
- )}
631
- {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
632
- <div className="row m-0 w-100 anim">
633
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
634
- <div
635
- onClick={() => {
636
- routingcountext(StaticPagesLinksContext.RefundPolicy);
637
- setmenuactive(false);
638
- }}
639
- >
640
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
641
- {langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar}
642
- </p>
643
- </div>
644
- </div>
645
- <div className="col-lg-12 p-0">
646
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
647
- </div>
648
- </div>
649
- )}
650
- {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
651
- <div className="row m-0 w-100 anim">
652
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
653
- <div
654
- onClick={() => {
655
- routingcountext(StaticPagesLinksContext.TermsConditions);
656
- setmenuactive(false);
657
- }}
658
- >
659
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
660
- {langdetect == 'en'
661
- ? returnpolicyobj('Terms & Conditions')?.policypagename_en
662
- : returnpolicyobj('Terms & Conditions')?.policypagename_ar}
663
- </p>
664
- </div>
665
- </div>
666
- <div className="col-lg-12 p-0">
667
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
668
- </div>
669
- </div>
670
- )}
671
- {authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && (
672
- <div className="row m-0 w-100 anim">
673
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
674
- <div
675
- onClick={() => {
676
- routingcountext(StaticPagesLinksContext.Ordershistory);
677
- setmenuactive(false);
678
- }}
679
- >
680
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
681
- {langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear}
682
-
683
- {/* {langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear} */}
684
- </p>
685
- </div>
686
- </div>
687
- <div className="col-lg-12 p-0">
688
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
689
- </div>
690
- </div>
691
- )}
692
- {sectionproperties.showlanuagecontainer == 'Show' && (
693
- <div className="row m-0 w-100 anim">
694
- <div class={header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '} style={{}}>
695
- <p
696
- class={`${header_cssstyles.navbar_item_text_responsive}` + ' m-0 p-0 '}
697
- style={{
698
- cursor: 'default',
699
- }}
700
- >
701
- {langdetect == 'en' ? 'Language' : 'اللغة'}
702
- </p>
703
- </div>
704
- <div class="col-lg-12 p-0 d-flex align-items-center justify-content-start my-1">
705
- <div
706
- class="row m-0 w-100"
707
- style={{
708
- background: sectionproperties.langcontainerbgresp,
709
- borderRadius: 5,
710
- }}
711
- >
712
- <div
713
- class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
714
- onClick={() => {
715
- setlang('en');
716
- setmenuactive(false);
717
- }}
718
- >
719
- <p
720
- class="m-0 p-0 w-100 allcentered py-3"
721
- style={{
722
- background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
723
- borderRadius: 5,
724
- fontSize: 15,
725
- color: sectionproperties.language_container_color_resp,
726
- }}
727
- >
728
- English
729
- </p>
730
- </div>
731
- <div
732
- class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
733
- onClick={() => {
734
- setlang('ar');
735
- setmenuactive(false);
736
- }}
737
- >
738
- <p
739
- class="m-0 p-0 w-100 allcentered py-3"
740
- style={{
741
- borderRadius: 5,
742
- background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
743
- fontSize: 15,
744
- color: sectionproperties.language_container_color_resp,
745
- }}
746
- >
747
- لغة عربية
748
- </p>
749
- </div>
750
- </div>
751
- </div>
752
- </div>
753
- )}
754
- {sectionproperties.ShowUserBtn == 'Show' && (
755
- <div class="row m-0 w-100 mt-5">
756
- {!authdetailsContext.loggedin && (
757
- <button
758
- class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
759
- onClick={() => {
760
- routingcountext(StaticPagesLinksContext.Login);
761
- setmenuactive(false);
762
- }}
763
- >
764
- <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
765
- <BiUser />
766
- </i>
767
- <span class="userbtn_resp mx-2">{langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب'}</span>
768
- </button>
769
- )}
770
- {authdetailsContext.loggedin && (
771
- <button
772
- class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
773
- onClick={() => {
774
- routingcountext(StaticPagesLinksContext.accountinfo);
775
- setmenuactive(false);
776
- }}
777
- >
778
- <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
779
- <BiUser />
780
- </i>
781
- <span class={header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '}>
782
- {authdetailsContext.customerinfo.name}
783
- </span>
784
- </button>
785
- )}
786
- </div>
787
- )}
788
- {authdetailsContext.loggedin && (
789
- <div class="row m-0 w-100 mt-5 allcentered anim">
790
- <button
791
- class={' d-flex align-items-center justify-content-center p-0 m-0 '}
792
- onClick={() => {
793
- LogoutMutationContext.mutate();
794
- setmenuactive(false);
795
- }}
796
- style={{
797
- width: '90%',
798
- height: 40,
799
- background: 'white',
800
- color: '#000',
801
- fontSize: 16,
802
- }}
803
- >
804
- {lang.logout}
805
- </button>
806
- </div>
807
- )}
808
- </div>
809
- )}
810
- </div>
811
- </div>
812
- {/* {sectionproperties.showhidesubheader == 'Show' && (
813
- <div className="col-lg-12 p-0 h-100" id="subheader">
814
- <div className="row m-0 w-100 h-100">
815
- <div className="col-lg-12 p-0 h-100">
816
- <Subheader sectionpropertiesprops={sectionproperties} actions={actions} />
817
- </div>
818
- </div>
819
- </div>
820
- )} */}
821
- </div>
822
- )}
823
- {openSearch == true && (
824
- <div class="col-12 d-flex align-items-center">
825
- <button
826
- style={{
827
- width: 40,
828
- height: 40,
829
- position: 'absolute',
830
- top: 10,
831
- right: 10,
832
- zIndex: 10000,
833
- }}
834
- class="allcentered"
835
- onClick={() => {
836
- setopenSearch(false);
837
- setSearchHeaderInputContext('');
838
- }}
839
- >
840
- <IoClose
841
- style={{
842
- fontSize: 20,
843
- color: '#000',
844
- }}
845
- />
846
- </button>
847
- <div class={header_cssstyles.searchbarcont}>
848
- <input
849
- type="text"
850
- placeholder={langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar}
851
- class={`${header_cssstyles.searchbarcont_input}` + ' pb-1 '}
852
- onChange={(event) => {
853
- setSearchHeaderInputContext(event.target.value);
854
- }}
855
- />
856
-
857
- <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'fullheader'} actions={actions} />
858
- </div>
859
- </div>
860
- )}
861
- {sectionproperties.length != 0 && sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && (
862
- <Offcanvas
863
- show={openmenuCanvas}
864
- onHide={() => {
865
- setopenmenuCanvas(false);
866
- }}
867
- placement={langdetect == 'en' ? 'start' : 'end'}
868
- scroll={true}
869
- style={{
870
- width: '90%',
871
- backgroundColor: 'white',
872
- }}
873
- backdrop={true}
874
- >
875
- <Offcanvas.Header>
876
- <Offcanvas.Title>
877
- {langdetect == 'en' && (
878
- <div
879
- class="allcentered"
880
- style={{
881
- position: 'absolute',
882
- right: -34,
883
- top: 5,
884
- width: 30,
885
- height: 30,
886
- background: '#000',
887
- }}
888
- onClick={() => {
889
- setopenmenuCanvas(false);
890
- }}
891
- >
892
- <IoMdClose color={'#fff'} size={16} />
893
- </div>
894
- )}
895
- {langdetect == 'ar' && (
896
- <div
897
- class="allcentered"
898
- style={{
899
- position: 'absolute',
900
- left: -34,
901
- top: 5,
902
- width: 30,
903
- height: 30,
904
- background: '#000',
905
- }}
906
- onClick={() => {
907
- setopenCnvas(false);
908
- }}
909
- >
910
- <IoMdClose color={'#fff'} size={16} />
911
- </div>
912
- )}
913
- <div className="row m-0 w-100 mb-5" style={{ borderBottom: '1px solid #eee' }}>
914
- <div
915
- className={'col-6 allcentered py-3'}
916
- onClick={() => {
917
- setactiveTab('menu');
918
- }}
919
- style={{
920
- background: activeTab == 'menu' ? 'white' : '#eee',
921
- }}
922
- >
923
- <p
924
- className="m-0 p-0"
925
- style={{
926
- textTransform: 'uppercase',
927
- fontWeight: 500,
928
- fontSize: '15px',
929
- transition: '.3s',
930
- color: sectionproperties.header_fontColorresponsive,
931
- }}
932
- >
933
- {langdetect == 'en' ? 'MENU' : 'القائمة'}
934
- </p>
935
- </div>
936
- <div
937
- className={'col-6 allcentered py-3'}
938
- onClick={() => {
939
- setactiveTab('categories');
940
- }}
941
- style={{
942
- background: activeTab == 'categories' ? 'white' : '#eee',
943
- }}
944
- >
945
- <p
946
- className="m-0 p-0"
947
- style={{
948
- textTransform: 'uppercase',
949
- fontWeight: 500,
950
- fontSize: '15px',
951
- transition: '.3s',
952
- color: sectionproperties.header_fontColorresponsive,
953
- }}
954
- >
955
- {langdetect == 'en' ? 'SHOP' : 'تسوق'}
956
- </p>
957
- </div>
958
- </div>
959
- </Offcanvas.Title>
960
- </Offcanvas.Header>
961
- <Offcanvas.Body>
962
- <div style={{ minHeight: '80vh' }}>
963
- {activeTab == 'menu' && (
964
- <div className={' row m-0 w-100 anim '}>
965
- <div className="col-lg-12 p-0">
966
- <ul className={' d-flex justify-content-center flex-column p-0 '}>
967
- {templatepropcontext.pagesnprop.map((item, index) => {
968
- if (item.isnavigation == 1 && item.isactive == 1) {
969
- return (
970
- <div className="row m-0 w-100">
971
- <div className="col-lg-12 d-flex justify-content-start pl-3 pr-3" style={{ paddingTop: index == 0 ? 5 : 0 }}>
972
- <div
973
- onClick={() => {
974
- routingcountext(item.navigationroute, false, '');
975
- setopenCnvas(false);
976
- }}
977
- >
978
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
979
- {langdetect == 'en' ? item.pagename : item.pagename_ar}
980
- </p>
981
- </div>
982
- </div>
983
- <div className="col-lg-12 p-0">
984
- <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
985
- </div>
986
- </div>
987
- );
988
- }
989
- })}
990
- {authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && (
991
- <div className="row m-0 w-100">
992
- <div
993
- className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
994
- onClick={() => {
995
- routingcountext(StaticPagesLinksContext.Ordershistory);
996
- setopenCnvas(false);
997
- }}
998
- >
999
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.orderhistory}</p>
1000
- </div>
1001
- <div className="col-lg-12 p-0">
1002
- <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1003
- </div>
1004
- </div>
1005
- )}
1006
- {templateproperties_context.showfavorites == 'Show' && (
1007
- <div className="row m-0 w-100">
1008
- <div
1009
- className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
1010
- onClick={() => {
1011
- routingcountext(StaticPagesLinksContext.Wishlist);
1012
- setopenCnvas(false);
1013
- }}
1014
- >
1015
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.wishlist}</p>
1016
- </div>
1017
- <div className="col-lg-12 p-0">
1018
- <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1019
- </div>
1020
- </div>
1021
- )}
1022
-
1023
- {templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && (
1024
- <div className="row m-0 w-100">
1025
- <div
1026
- className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
1027
- onClick={() => {
1028
- routingcountext(StaticPagesLinksContext.Policies);
1029
- setmenuactive(false);
1030
- }}
1031
- >
1032
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.policies}</p>
1033
- </div>
1034
- <div className="col-lg-12 p-0">
1035
- <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1036
- </div>
1037
- </div>
1038
- )}
1039
- {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1040
- <div className="row m-0 w-100">
1041
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1042
- <div
1043
- onClick={() => {
1044
- routingcountext(StaticPagesLinksContext.PrivacyPolicy);
1045
- setmenuactive(false);
1046
- }}
1047
- >
1048
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1049
- {langdetect == 'en'
1050
- ? returnpolicyobj('Privacy Policy')?.policypagename_en
1051
- : returnpolicyobj('Privacy Policy')?.policypagename_ar}
1052
- </p>
1053
- </div>
1054
- </div>
1055
- <div className="col-lg-12 p-0">
1056
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1057
- </div>
1058
- </div>
1059
- )}
1060
- {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1061
- <div className="row m-0 w-100">
1062
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1063
- <div
1064
- onClick={() => {
1065
- routingcountext(StaticPagesLinksContext.ShippingPolicy);
1066
- setmenuactive(false);
1067
- }}
1068
- >
1069
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1070
- {langdetect == 'en'
1071
- ? returnpolicyobj('Shipping Policy')?.policypagename_en
1072
- : returnpolicyobj('Shipping Policy')?.policypagename_ar}
1073
- </p>
1074
- </div>
1075
- </div>
1076
- <div className="col-lg-12 p-0">
1077
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1078
- </div>
1079
- </div>
1080
- )}
1081
- {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1082
- <div className="row m-0 w-100">
1083
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1084
- <div
1085
- onClick={() => {
1086
- routingcountext(StaticPagesLinksContext.RefundPolicy);
1087
- setmenuactive(false);
1088
- }}
1089
- >
1090
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1091
- {langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar}
1092
- </p>
1093
- </div>
1094
- </div>
1095
- <div className="col-lg-12 p-0">
1096
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1097
- </div>
1098
- </div>
1099
- )}
1100
- {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1101
- <div className="row m-0 w-100">
1102
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1103
- <div
1104
- onClick={() => {
1105
- routingcountext(StaticPagesLinksContext.TermsConditions);
1106
- setmenuactive(false);
1107
- }}
1108
- >
1109
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1110
- {langdetect == 'en'
1111
- ? returnpolicyobj('Terms & Conditions')?.policypagename_en
1112
- : returnpolicyobj('Terms & Conditions')?.policypagename_ar}
1113
- </p>
1114
- </div>
1115
- </div>
1116
- <div className="col-lg-12 p-0">
1117
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1118
- </div>
1119
- </div>
1120
- )}
1121
- {authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && (
1122
- <div className="row m-0 w-100">
1123
- <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1124
- <div
1125
- onClick={() => {
1126
- routingcountext(StaticPagesLinksContext.Ordershistory);
1127
- setmenuactive(false);
1128
- }}
1129
- >
1130
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1131
- {langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear}
1132
-
1133
- {/* {langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear} */}
1134
- </p>
1135
- </div>
1136
- </div>
1137
- <div className="col-lg-12 p-0">
1138
- <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1139
- </div>
1140
- </div>
1141
- )}
1142
- {sectionproperties.showlanuagecontainer == 'Show' && (
1143
- <div className="row m-0 w-100 pl-3 pr-3">
1144
- <div class={header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '} style={{}}>
1145
- <p
1146
- class={`${header_cssstyles.navbar_item_text_responsive}` + ' m-0 p-0 '}
1147
- style={{
1148
- cursor: 'default',
1149
- }}
1150
- >
1151
- {langdetect == 'en' ? 'Language' : 'اللغة'}
1152
- </p>
1153
- </div>
1154
- <div class="col-lg-12 p-0 d-flex align-items-center justify-content-start my-1">
1155
- <div
1156
- class="row m-0 w-100"
1157
- style={{
1158
- background: sectionproperties.langcontainerbgresp,
1159
- borderRadius: 5,
1160
- }}
1161
- >
1162
- <div
1163
- class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
1164
- onClick={() => {
1165
- setlang('en');
1166
- setmenuactive(false);
1167
- }}
1168
- >
1169
- <p
1170
- class="m-0 p-0 w-100 allcentered py-3"
1171
- style={{
1172
- background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
1173
- borderRadius: 5,
1174
- fontSize: 15,
1175
- color: sectionproperties.language_container_color_resp,
1176
- }}
1177
- >
1178
- English
1179
- </p>
1180
- </div>
1181
- <div
1182
- class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
1183
- onClick={() => {
1184
- setlang('ar');
1185
- setmenuactive(false);
1186
- }}
1187
- >
1188
- <p
1189
- class="m-0 p-0 w-100 allcentered py-3"
1190
- style={{
1191
- borderRadius: 5,
1192
- background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
1193
- fontSize: 15,
1194
- color: sectionproperties.language_container_color_resp,
1195
- }}
1196
- >
1197
- لغة عربية
1198
- </p>
1199
- </div>
1200
- </div>
1201
- </div>
1202
- </div>
1203
- )}
1204
- {sectionproperties.ShowUserBtn == 'Show' && (
1205
- <div className="row m-0 w-100 pl-3 pr-3 mt-5">
1206
- {!authdetailsContext.loggedin && (
1207
- <button
1208
- class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
1209
- onClick={() => {
1210
- routingcountext(StaticPagesLinksContext.Login);
1211
- setmenuactive(false);
1212
- }}
1213
- >
1214
- <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
1215
- <BiUser />
1216
- </i>
1217
- <span class="userbtn_resp mx-2">{langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب'}</span>
1218
- </button>
1219
- )}
1220
- {authdetailsContext.loggedin && (
1221
- <button
1222
- class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
1223
- onClick={() => {
1224
- routingcountext(StaticPagesLinksContext.accountinfo);
1225
- setmenuactive(false);
1226
- }}
1227
- >
1228
- <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
1229
- <BiUser />
1230
- </i>
1231
- <span class={header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '}>
1232
- {authdetailsContext.customerinfo.name}
1233
- </span>
1234
- </button>
1235
- )}
1236
- </div>
1237
- )}
1238
- {authdetailsContext.loggedin && (
1239
- <div className="row m-0 w-100">
1240
- <button
1241
- class={' d-flex align-items-center justify-content-center p-0 m-0 '}
1242
- onClick={() => {
1243
- LogoutMutationContext.mutate();
1244
- setmenuactive(false);
1245
- }}
1246
- style={{
1247
- width: '90%',
1248
- height: 40,
1249
- background: 'white',
1250
- color: '#000',
1251
- fontSize: 16,
1252
- }}
1253
- >
1254
- {lang.logout}
1255
- </button>
1256
- </div>
1257
- )}
1258
- </ul>
1259
- </div>
1260
- </div>
1261
- )}
1262
- {activeTab == 'categories' && (
1263
- <div className={' row m-0 w-100 accordionContainer anim'}>
1264
- {sectionproperties.subheaderParentType == 'Categories' && (
1265
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1266
- {fetchCategoriesQueryContext?.data?.data?.categories.map((item, index) => {
1267
- if (item.isshowntocustomers == 1) {
1268
- return (
1269
- <AccordionItem uuid={index}>
1270
- <AccordionItemHeading
1271
- onClick={() => {
1272
- setChoosenindex(index);
1273
- }}
1274
- >
1275
- <AccordionItemButton>
1276
- <div className={' row m-0 p-0 mb-2 '}>
1277
- <div className={' row m-0 w-100 px-3 '}>
1278
- <div
1279
- className="col-10 p-0 text-start"
1280
- // onClick={() => {
1281
- // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1282
- // }}
1283
- >
1284
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1285
- {langdetect == 'en' ? item.title_en : item.title_ar}
1286
- </p>
1287
- </div>
1288
- <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1289
- <AccordionItemState>
1290
- {(state) => {
1291
- if (state.expanded == true) {
1292
- return (
1293
- <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1294
- <FiChevronDown
1295
- style={{
1296
- color: '#000',
1297
- fontSize: 15,
1298
- }}
1299
- />
1300
- </i>
1301
- );
1302
- } else {
1303
- return (
1304
- <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1305
- <FiChevronUp
1306
- style={{
1307
- color: '#000',
1308
- fontSize: 15,
1309
- }}
1310
- />
1311
- </i>
1312
- );
1313
- }
1314
- }}
1315
- </AccordionItemState>
1316
- </div>
1317
- </div>
1318
- <div className="col-lg-12 p-0">
1319
- <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1320
- </div>
1321
- </div>
1322
- </AccordionItemButton>
1323
- </AccordionItemHeading>
1324
- <AccordionItemPanel className="p-0">
1325
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1326
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1327
- {Choosenindex.length != 0 &&
1328
- fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions?.length != 0 &&
1329
- fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions.map((pitem, pindex) => {
1330
- if (pitem.isshowntocustomers == 1) {
1331
- return (
1332
- <AccordionItem uuid={pindex}>
1333
- <AccordionItemHeading>
1334
- <AccordionItemButton>
1335
- <div className={' row m-0 p-0 mb-2 '}>
1336
- <div className={' row m-0 w-100 px-4 '}>
1337
- <div
1338
- className="col-10 p-0 text-start"
1339
- onClick={() => {
1340
- // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1341
- }}
1342
- >
1343
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1344
- {langdetect == 'en' ? pitem.title_en : pitem.title_ar}
1345
- </p>
1346
- </div>
1347
- <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1348
- <AccordionItemState>
1349
- {(state) => {
1350
- if (state.expanded == true) {
1351
- return (
1352
- <i
1353
- className={
1354
- ' collapsetitle h-100 d-flex align-items-center justify-content-end '
1355
- }
1356
- >
1357
- <FiChevronDown
1358
- style={{
1359
- color: '#000',
1360
- fontSize: 15,
1361
- }}
1362
- />
1363
- </i>
1364
- );
1365
- } else {
1366
- return (
1367
- <i
1368
- className={
1369
- ' collapsetitle h-100 d-flex align-items-center justify-content-end '
1370
- }
1371
- >
1372
- <FiChevronUp
1373
- style={{
1374
- color: '#000',
1375
- fontSize: 15,
1376
- }}
1377
- />
1378
- </i>
1379
- );
1380
- }
1381
- }}
1382
- </AccordionItemState>
1383
- </div>
1384
- </div>
1385
- <div className="col-lg-12 p-0">
1386
- <hr
1387
- className="mt-4 mb-4"
1388
- style={{ borderColor: sectionproperties.resp_header_separatorbg }}
1389
- />
1390
- </div>
1391
- </div>
1392
- </AccordionItemButton>
1393
- </AccordionItemHeading>
1394
- <AccordionItemPanel className="p-0">
1395
- {pitem.collections.length != 0 &&
1396
- pitem.collections.map((collitem, collindex) => {
1397
- if (collitem.isshowntocustomers == 1) {
1398
- return (
1399
- <div className={' row m-0 p-0 mb-2 '}>
1400
- <div className={' row m-0 w-100 px-5 '}>
1401
- <div
1402
- className="col-10 p-0 text-start"
1403
- onClick={() => {
1404
- routingcountext(
1405
- StaticPagesLinksContext.GeneralProductsComponent,
1406
- true,
1407
- 'collections/' + collitem.collectionid,
1408
- );
1409
- setopenCnvas(false);
1410
- }}
1411
- >
1412
- <p
1413
- className={
1414
- `${header_cssstyles.navbar_item_text_responsive}` +
1415
- ' mb-0 p-0 '
1416
- }
1417
- >
1418
- {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1419
- </p>
1420
- </div>
1421
- </div>
1422
- <div className="col-lg-12 p-0">
1423
- <hr
1424
- className="mt-4 mb-4"
1425
- style={{ borderColor: sectionproperties.resp_header_separatorbg }}
1426
- />
1427
- </div>
1428
- </div>
1429
- );
1430
- }
1431
- })}
1432
- </AccordionItemPanel>
1433
- </AccordionItem>
1434
- );
1435
- }
1436
- })}
1437
- </Accordion>
1438
- </div>
1439
- </AccordionItemPanel>
1440
- </AccordionItem>
1441
- );
1442
- }
1443
- })}
1444
- </Accordion>
1445
- )}
1446
- {sectionproperties.subheaderParentType == 'Parent Collections' && (
1447
- <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1448
- {pcollarray.map((item, index) => {
1449
- if (item.isshowntocustomers == 1) {
1450
- return (
1451
- <AccordionItem uuid={index}>
1452
- <AccordionItemHeading
1453
- onClick={() => {
1454
- setChoosenindex(index);
1455
- }}
1456
- >
1457
- <AccordionItemButton>
1458
- <div className={' row m-0 p-0 mb-2 '}>
1459
- <div className={' row m-0 w-100 px-3 '}>
1460
- <div className="col-10 p-0 text-start">
1461
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1462
- {langdetect == 'en' ? item.title_en : item.title_ar}
1463
- </p>
1464
- </div>
1465
- <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1466
- <AccordionItemState>
1467
- {(state) => {
1468
- if (state.expanded == true) {
1469
- return (
1470
- <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1471
- <FiChevronDown
1472
- style={{
1473
- color: '#000',
1474
- fontSize: 15,
1475
- }}
1476
- />
1477
- </i>
1478
- );
1479
- } else {
1480
- return (
1481
- <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1482
- <FiChevronUp
1483
- style={{
1484
- color: '#000',
1485
- fontSize: 15,
1486
- }}
1487
- />
1488
- </i>
1489
- );
1490
- }
1491
- }}
1492
- </AccordionItemState>
1493
- </div>
1494
- </div>
1495
- <div className="col-lg-12 p-0">
1496
- <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1497
- </div>
1498
- </div>
1499
- </AccordionItemButton>
1500
- </AccordionItemHeading>
1501
- <AccordionItemPanel className="p-0">
1502
- <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1503
- {Choosenindex.length != 0 &&
1504
- item?.collections.length != 0 &&
1505
- item?.collections?.map((collitem, collindex) => {
1506
- if (collitem.isshowntocustomers == 1) {
1507
- return (
1508
- <div class="col-lg-12 p-0">
1509
- <div className={' row m-0 p-0 mb-2 '}>
1510
- <div className={' row m-0 w-100 px-5 '}>
1511
- <div
1512
- className="col-10 p-0 text-start"
1513
- onClick={() => {
1514
- routingcountext(
1515
- StaticPagesLinksContext.GeneralProductsComponent,
1516
- true,
1517
- 'collections/' + collitem.collectionid,
1518
- );
1519
- setopenCnvas(false);
1520
- }}
1521
- >
1522
- <p
1523
- className={' mb-0 p-0 '}
1524
- style={{
1525
- color: sectionproperties.collectionsectiontextcolor,
1526
- fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
1527
- textTransform: sectionproperties.collectionsectiontexttransform,
1528
- fontWeight: sectionproperties.collectionsectiontextfontweight,
1529
- transition: '.3s',
1530
- }}
1531
- >
1532
- {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1533
- </p>
1534
- </div>
1535
- </div>
1536
- <div className="col-lg-12 p-0">
1537
- <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1538
- </div>
1539
- </div>
1540
- </div>
1541
- );
1542
- }
1543
- })}
1544
- </div>
1545
- </AccordionItemPanel>
1546
- </AccordionItem>
1547
- );
1548
- }
1549
- })}
1550
- </Accordion>
1551
- )}
1552
- {sectionproperties.subheaderParentType == 'Collections' &&
1553
- authdetailsContext?.instinfo?.instcollections?.map((collitem, collindex) => {
1554
- if (collitem.isshowntocustomers == 1) {
1555
- return (
1556
- <div className={' row m-0 p-0 mb-2 w-100 '}>
1557
- <div
1558
- className="col-12 p-0 text-start px-3"
1559
- onClick={() => {
1560
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
1561
- setopenCnvas(false);
1562
- }}
1563
- >
1564
- <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1565
- {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1566
- </p>
1567
- </div>
1568
-
1569
- <div className="col-lg-12 p-0">
1570
- <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1571
- </div>
1572
- </div>
1573
- );
1574
- }
1575
- })}
1576
- </div>
1577
- )}
1578
- </div>
1579
-
1580
- <div className="col-lg-12 p-0 d-flex flex-row allcentered p-3" style={{ background: '#eee' }}>
1581
- {authdetailsContext?.instinfo?.facebooklink != null && (
1582
- <div
1583
- class={' d-flex align-items-center justify-content-center mx-2 '}
1584
- onClick={() => {
1585
- if (authdetailsContext?.instinfo?.facebooklink != null) {
1586
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1587
- }
1588
- }}
1589
- >
1590
- <FaFacebookF size={'20'} color={'#62564b'} />
1591
- </div>
1592
- )}
1593
- {authdetailsContext?.instinfo?.instagramlink != null && (
1594
- <div
1595
- class={' d-flex align-items-center justify-content-center mx-2 '}
1596
- onClick={() => {
1597
- if (authdetailsContext?.instinfo?.instagramlink != null) {
1598
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1599
- }
1600
- }}
1601
- >
1602
- <AiFillInstagram size={'22'} color={'#62564b'} />
1603
- </div>
1604
- )}
1605
- {authdetailsContext?.instinfo?.tiktoklink != null && (
1606
- <div
1607
- class={' d-flex align-items-center justify-content-center mx-2 '}
1608
- onClick={() => {
1609
- if (authdetailsContext?.instinfo?.instagramlink != null) {
1610
- window.open(authdetailsContext?.instinfo?.tiktoklink, '_blank');
1611
- }
1612
- }}
1613
- >
1614
- <IoLogoTiktok size={'20'} color={'#62564b'} />
1615
- </div>
1616
- )}
1617
- {authdetailsContext?.instinfo?.youtubelink != null && (
1618
- <div
1619
- class={' d-flex align-items-center justify-content-center mx-2 '}
1620
- onClick={() => {
1621
- if (authdetailsContext?.instinfo?.instagramlink != null) {
1622
- window.open(authdetailsContext?.instinfo?.youtubelink, '_blank');
1623
- }
1624
- }}
1625
- >
1626
- <AiFillYoutube size={'20'} color={'#62564b'} />
1627
- </div>
1628
- )}
1629
- </div>
1630
- </Offcanvas.Body>
1631
- </Offcanvas>
1632
- )}
1633
- </div>
1634
- )}
1635
- </div>
1636
- );
1637
- };
1638
-
1639
- export default HeaderresponsiveStyle2;