tabexseriescomponents 0.0.781 → 0.0.784

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