tabexseriescomponents 0.0.697 → 0.0.699

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