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,1976 +0,0 @@
1
- import MarqueeHeader from '../MarqueeHeader/MarqueeHeader.jsx';
2
- import React, { useEffect, useState, useContext } from 'react';
3
- import { css } from 'glamor';
4
- import Dropdown from 'react-bootstrap/Dropdown';
5
- import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
6
- import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
7
- import HeaderresponsiveStyle2 from '../Headerresponsive/HeaderresponsiveStyle2.jsx';
8
- import Subheader from '../Subheader/Subheader.jsx';
9
- import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
10
- import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
11
- import { BsSearch } from '@react-icons/all-files/bs/BsSearch';
12
- import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
13
- import { BsBag } from '@react-icons/all-files/bs/BsBag';
14
- import { FiPhone } from '@react-icons/all-files/fi/FiPhone';
15
- import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
16
- import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
17
- import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
18
- import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
19
- import { BiUser } from '@react-icons/all-files/bi/BiUser';
20
- import { HiMenuAlt4 } from '@react-icons/all-files/hi/HiMenuAlt4';
21
- import { AiOutlineUserAdd } from '@react-icons/all-files/ai/AiOutlineUserAdd';
22
- import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
23
- import { MdKeyboardArrowUp } from '@react-icons/all-files/md/MdKeyboardArrowUp';
24
- import { AiOutlineLogin } from '@react-icons/all-files/ai/AiOutlineLogin';
25
- import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
26
- import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
27
- import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
28
- import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
29
- import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
30
- import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
31
- import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
32
-
33
- const Header8 = (props) => {
34
- const actions = props.actions;
35
- const history = props.actions.history;
36
- const lang = props.actions.lang;
37
- const langdetect = props.actions.langdetect;
38
- const setlang = props.actions.setlang;
39
- const LogoutMutationContext = props.actions.LogoutMutationContext;
40
- const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
41
- const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
42
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
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 ikimagecredcontext = props.actions.ikimagecredcontext;
51
- const [sectionproperties, setsectionproperties] = useState('');
52
- const [dropdownselect, setdropdownselect] = useState(false);
53
- const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
54
- const [Choosenindex, setChoosenindex] = useState('');
55
- const [pcollarray, setpcollarray] = useState([]);
56
- const setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
57
-
58
- useEffect(() => {
59
- var secpropobj = {};
60
- StatePagePropertiesContext?.pageobj?.sections?.forEach(function (sectionitem, sectionindex) {
61
- if (sectionitem.sectionid == props.sectionidprops) {
62
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
63
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
64
- });
65
- }
66
- });
67
- if (Object.keys(secpropobj).length === 0) {
68
- props?.defaultproperties?.forEach(function (defaultpropobj, defaultpropindex) {
69
- secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
70
- });
71
- }
72
- setsectionproperties({ ...secpropobj });
73
- }, [StatePagePropertiesContext]);
74
- const subtotalcart = () => {
75
- var totalprice = parseFloat(fetchcustomercartQueryContext?.data?.data?.customercart?.totalprice).toFixed(2);
76
- // var totalpricee = 0;
77
- // fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.forEach(function (cartitem, cartindex) {
78
- // var finalprice = 0;
79
- // if (cartitem.productinfo.hassale == 0) {
80
- // finalprice = cartitem.productinfo.defaultprice;
81
- // } else if (cartitem.productinfo.hassale == 1) {
82
- // finalprice = cartitem.productinfo.defaultsaleprice;
83
- // }
84
- // var totalsingleitem = parseFloat(finalprice) * parseFloat(cartitem.quantity);
85
- // totalpricee = totalprice + totalsingleitem;
86
- // totalprice = parseFloat(totalpricee).toFixed(2);
87
- // // totalprice = parseFloat(finalprice * cartitem.quantity + totalprice).toFixed(2);
88
- // });
89
- return totalprice;
90
- };
91
- useEffect(() => {
92
- if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
93
- var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
94
- if (Array.isArray(logoarrayofobjectsparsed)) {
95
- setlogoarrayofobjects([...logoarrayofobjectsparsed]);
96
- }
97
- }
98
- }, [templateproperties_context]);
99
- useEffect(() => {
100
- var temppcollarray = [...pcollarray];
101
- authdetailsContext?.instinfo?.instcategories?.forEach(function (arrayItem) {
102
- arrayItem?.parentcolletions?.forEach(function (item) {
103
- temppcollarray.push(item);
104
- });
105
- });
106
- setpcollarray([...temppcollarray]);
107
- }, [authdetailsContext]);
108
- const ButtonDropdown = (item, index, fetchedarray) => {
109
- var parentclassname = '';
110
- if (sectionproperties.fetchparenttype == 'Categories') {
111
- parentclassname = header_cssstyles.categoryname;
112
- } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
113
- parentclassname = header_cssstyles.parentcollection;
114
- } else {
115
- parentclassname = header_cssstyles.collectionName;
116
- }
117
- return (
118
- <li class="dropdown d-flex align-items-center w-100">
119
- <div
120
- class={parentclassname + ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
121
- onMouseEnter={() => {
122
- setChoosenindex(index);
123
- }}
124
- >
125
- <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
126
- <p
127
- class={' m-0 p-0 wordbreak wordbreak1 '}
128
- onClick={() => {
129
- if (sectionproperties.fetchparenttype == 'Categories') {
130
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
131
- } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
132
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
133
- } else {
134
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
135
- }
136
- }}
137
- >
138
- {langdetect == 'en' ? item.title_en : item.title_ar}
139
- </p>
140
- </div>
141
- {/* {sectionproperties.fetchparenttype == 'Categories' && fetchedarray[Choosenindex]?.parentcolletions.length != 0 && ( */}
142
- {sectionproperties.fetchparenttype != 'Collections' && (
143
- <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
144
- <i className={' p-0 h-100 allcentered '}>
145
- {langdetect == 'en' ? (
146
- <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
147
- ) : (
148
- <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
149
- )}
150
- </i>
151
- </div>
152
- )}
153
- {/* )} */}
154
- </div>
155
- {sectionproperties.fetchparenttype == 'Categories' && fetchedarray[Choosenindex]?.parentcolletions?.length != 0 && (
156
- <ul>
157
- {fetchedarray[Choosenindex]?.parentcolletions?.map((item, index) => (
158
- <li class="dropdown d-flex align-items-center w-100">
159
- <div
160
- class={header_cssstyles.parentcollection + ' w-100 dropdownInnerContainer cursor-pointer '}
161
- onClick={() => {
162
- if (sectionproperties.fetchparenttype == 'Categories') {
163
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
164
- } else {
165
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
166
- }
167
- }}
168
- >
169
- <div class="row m-0 w-100">
170
- <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
171
- <p class={' m-0 p-0 wordbreak wordbreak1 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
172
- </div>
173
- {item?.collections.length != 0 && (
174
- <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
175
- <i className={' p-0 h-100 allcentered '}>
176
- {langdetect == 'en' ? (
177
- <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
178
- ) : (
179
- <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
180
- )}
181
- </i>
182
- </div>
183
- )}
184
- </div>
185
- </div>
186
- {item?.collections.length != 0 && (
187
- <ul>
188
- {item?.collections?.map((item, index) => {
189
- return (
190
- <li
191
- class={header_cssstyles.collectionName + ' w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
192
- onClick={() => {
193
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
194
- }}
195
- >
196
- {langdetect == 'en' ? item.title_en : item.title_ar}
197
- </li>
198
- );
199
- })}
200
- </ul>
201
- )}
202
- </li>
203
- ))}
204
- </ul>
205
- )}
206
- {sectionproperties.fetchparenttype == 'Parent Collections' && pcollarray[Choosenindex]?.collections.length != 0 && (
207
- <ul>
208
- {pcollarray[Choosenindex]?.collections?.map((item, index) => (
209
- <li class="dropdown d-flex align-items-center w-100">
210
- <div
211
- class={header_cssstyles.collectionName + ' w-100 dropdownInnerContainer cursor-pointer '}
212
- onClick={() => {
213
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
214
- }}
215
- >
216
- <div className={' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center p-0 '}>
217
- <p class={' m-0 p-0 wordbreak wordbreak1 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
218
- </div>
219
- </div>
220
- </li>
221
- ))}
222
- </ul>
223
- )}
224
- </li>
225
- );
226
- };
227
- const header_cssstyles = {
228
- headercontainer: css({
229
- position: sectionproperties.headerstyles_position,
230
- width: sectionproperties.header_width + 'vw',
231
- background: sectionproperties.uppersection_bgcolor,
232
- zIndex: 1000,
233
- transition: 'all 0.2s',
234
- }),
235
- upperheadersection: css({
236
- background: sectionproperties.uppersection_bgcolor,
237
- paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
238
- paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
239
- paddingTop: sectionproperties.uppersection_paddingtop + 'px',
240
- paddingBottom: sectionproperties.uppersection_paddingbottom + 'px',
241
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.uppersection_btlradius + 'px' : sectionproperties.uppersection_btrradius + 'px',
242
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.uppersection_btrradius + 'px' : sectionproperties.uppersection_btlradius + 'px',
243
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.uppersection_bblradius + 'px' : sectionproperties.uppersection_bbrradius + 'px',
244
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.uppersection_bbrradius + 'px' : sectionproperties.uppersection_bblradius + 'px',
245
- }),
246
- lowerheadercontainer: css({
247
- backgroundColor: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
248
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderBottomLeftRadius + 'px' : sectionproperties.lowersection_BorderBottomRightRadius + 'px',
249
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.lowersection_BorderBottomRightRadius + 'px' : sectionproperties.lowersection_borderBottomLeftRadius + 'px',
250
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopLeftRadius + 'px' : sectionproperties.lowersection_borderTopRightRadius + 'px',
251
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopRightRadius + 'px' : sectionproperties.lowersection_borderTopLeftRadius + 'px',
252
- paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
253
- paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
254
- paddingTop: sectionproperties.lowersection_paddingtop + 'px',
255
- paddingBottom: sectionproperties.lowersection_paddingbottom + 'px',
256
- }),
257
- header_logo: css({
258
- width: templateproperties_context.logo_width + 'px',
259
- height: templateproperties_context.logo_height + 'px',
260
- }),
261
- navbar_item_text: css({
262
- color: sectionproperties.lowersection_fontColor,
263
- fontSize: sectionproperties.lowersection_fontsize + 'px',
264
- textTransform: sectionproperties.lowersection_textTransform,
265
- fontWeight: sectionproperties.lowersection_textfontweight,
266
- transition: '0.3s',
267
- padding: 0,
268
- ':hover': {
269
- color: sectionproperties.lowersection_fontColoronhover,
270
- },
271
- }),
272
- navbar_item_active: css({
273
- color: sectionproperties.lowersection_fontColoronhover,
274
- }),
275
- dropdownitem: css({
276
- padding: '0 0.1rem',
277
- transition: '.3s',
278
- fontSize: sectionproperties.dropdown_fontsize + 'px',
279
- color: sectionproperties.dropdown_color,
280
- fontWeight: sectionproperties.dropdown_fontweight,
281
- textTransform: sectionproperties.dropdown_texttransform,
282
- }),
283
- dropdownitemcontainer: css({
284
- ':hover .dropdownitem': { color: sectionproperties.dropdown_hovercolor },
285
- }),
286
- divider: css({
287
- height: sectionproperties.vl_height + 'px',
288
- width: sectionproperties.vl_width + '%',
289
- backgroundColor: sectionproperties.vl_bg,
290
- zIndex: 1,
291
- }),
292
- searchbarcont: css({
293
- position: 'relative',
294
- width: sectionproperties.searchbarcont_width + 'px',
295
- maxWidth: '100%',
296
- height: sectionproperties.searchbarcont_height + 'px',
297
- background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
298
- borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
299
- border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
300
- transition: '.3s',
301
- }),
302
- searchbar_icon_cont: css({
303
- width: sectionproperties.searchbaricon_width + 'px',
304
- height: sectionproperties.searchbaricon_height + 'px',
305
- borderRadius: sectionproperties.searchbaricon_borderRadius + 'px',
306
- color: sectionproperties.searchbaricon_color,
307
- backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor,
308
- transition: '0.3s ease',
309
- position: 'absolute',
310
- right: langdetect == 'en' ? 0 : '',
311
- left: langdetect == 'en' ? '' : 0,
312
- transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
313
- bottom: 0,
314
- top: 0,
315
- margin: 'auto',
316
- }),
317
- searchbarcont_input: css({
318
- height: '100%',
319
- width: '100%',
320
- outline: 'none',
321
- background: 'transparent',
322
- color: sectionproperties.searchbarcontinput_color,
323
- fontWeight: sectionproperties.searchbarcont_inputfontweight,
324
- fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
325
- paddingLeft: langdetect == 'en' ? sectionproperties.searchbarcont_paddingLeft + 'px' : sectionproperties.searchbarcont_paddingRight + 'px',
326
- paddingRight: langdetect == 'en' ? sectionproperties.searchbarcont_paddingRight + 'px' : sectionproperties.searchbarcont_paddingLeft,
327
- transition: '0.3s',
328
- ':focus': {
329
- borderColor: sectionproperties.searchbarcontinput_bordercoloronfocus,
330
- },
331
- }),
332
- wishlist_btn: css({
333
- width: sectionproperties.favBtnWidth + 'px',
334
- height: sectionproperties.favBtnHeight + 'px',
335
- background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
336
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
337
- color: sectionproperties.favBtniconcolor,
338
- border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
339
- fontSize: sectionproperties.favBtnIconfontsize + 'px',
340
- transition: '.3s',
341
- ':hover': {
342
- background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
343
- color: sectionproperties.favBtnTextcoloronhover,
344
- },
345
- }),
346
- wishlistbadge: css({
347
- top: sectionproperties.wishlistbadgetop + 'px',
348
- right: sectionproperties.wishlistbadgeright + 'px',
349
- }),
350
- user_btn: css({
351
- background: sectionproperties.userbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColor,
352
- width: sectionproperties.userBtnWidth + 'px',
353
- height: sectionproperties.userBtnHeight + 'px',
354
- borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
355
- color: sectionproperties.userBtniconcolor,
356
- border: sectionproperties.userbtnborderwidth + 'px solid ' + sectionproperties.userbtnbordercolor,
357
- transition: '.3s',
358
- ':hover': {
359
- color: sectionproperties.userBtnTextcoloronhover,
360
- background: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColoronhover,
361
- borderColor: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.userBtnTextcoloronhover : sectionproperties.userBtnbgColoronhover,
362
- },
363
- }),
364
- loggedinusername: css({
365
- fontWeight: sectionproperties.userBtnTextfontweight,
366
- textTransform: sectionproperties.userBtnTexttransform,
367
- color: sectionproperties.userBtnTextcolor,
368
- fontSize: sectionproperties.userBtntextfontsize + 'px',
369
- lineHeight: sectionproperties.userBtntextfontsize + 'px',
370
- transition: '.3s',
371
- }),
372
- user_btnContainer: css({
373
- ':hover .user_btnbg': {
374
- background: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColoronhover,
375
- color: sectionproperties.userBtnTextcoloronhover,
376
- },
377
- ':hover .user_btn': {
378
- color: sectionproperties.userBtnTextcoloronhover,
379
- },
380
- }),
381
- loggedinuserbtn: css({
382
- width: sectionproperties.loggedinuserbtn_width + 'px',
383
- height: sectionproperties.loggedinuserbtn_height + 'px',
384
- border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
385
- borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
386
- background: sectionproperties.userBtnbgColor_loggedin,
387
- color: sectionproperties.userBtniconcolor_loggedin,
388
- transition: '.3s',
389
- }),
390
- loggedinuserbtnContainer: css({
391
- ':hover .loggedinuserbtn': {
392
- borderColor: sectionproperties.userbtn_loggedin_iconcoloronhover,
393
- color: sectionproperties.userBtnTextcoloronhover_loggedin,
394
- },
395
- ':hover .loggedinuserbtnbg': {
396
- backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
397
- color: sectionproperties.userbtn_loggedin_iconcoloronhover,
398
- },
399
- }),
400
- cart_btn: css({
401
- width: sectionproperties.cartBtnWidth + 'px',
402
- height: sectionproperties.cartBtnHeight + 'px',
403
- background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
404
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
405
- color: sectionproperties.cartBtnTextcolor,
406
- border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
407
- color: sectionproperties.cart_iconcolor,
408
- transition: '.3s',
409
- ':hover': {
410
- background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
411
- color: sectionproperties.cartBtnTextcoloronhover,
412
- },
413
- }),
414
- cartbadge: css({
415
- top: sectionproperties.cartbadgetop + 'px',
416
- right: sectionproperties.cartbadgeright + 'px',
417
- }),
418
- badge_counter_header_notifications: css({
419
- display: 'flex',
420
- justifyContent: 'center',
421
- alignItems: 'center',
422
- position: 'absolute',
423
- top: sectionproperties.badge_top + 'px',
424
- right: sectionproperties.badge_right + 'px',
425
- background: sectionproperties.badge_bgcolor,
426
- width: sectionproperties.badge_width + 'px',
427
- height: sectionproperties.badge_height + 'px',
428
- color: sectionproperties.badge_color,
429
- borderRadius: sectionproperties.badge_borderradius + 'px',
430
- fontSize: sectionproperties.badge_fontsize + 'px',
431
- }),
432
- btntextcontainer: css({
433
- color: sectionproperties.generalbtn_textColor,
434
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
435
- textTransform: sectionproperties.generalbtn_texttransform,
436
- transition: '.3s',
437
- ':hover': {
438
- color: sectionproperties.generalbtn_textColoronhover,
439
- },
440
- }),
441
- languagecontainer: css({
442
- cursor: 'pointer',
443
- transition: '.3s',
444
- color: sectionproperties.language_container_color,
445
- fontSize: sectionproperties.language_container_fontsize + 'px',
446
- ':hover': {
447
- color: sectionproperties.language_container_coloronhover,
448
- },
449
- }),
450
- storeinfotext: css({
451
- color: sectionproperties.footerinfotext_color,
452
- fontSize: sectionproperties.footerinfotext_fontsize + 'px',
453
- fontWeight: sectionproperties.footerinfotext_fontweight,
454
- letterSpacing: '2px',
455
- }),
456
- storeinfocontainer: css({
457
- ':hover .storeinfotext': {
458
- transition: '.3s',
459
- color: sectionproperties.footerinfotext_coloronhover,
460
- },
461
- }),
462
- categorybtn: css({
463
- background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
464
- width: sectionproperties.generalbtn_width + 'px',
465
- maxWidth: '100%',
466
- height: sectionproperties.generalbtn_height + 'px',
467
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
468
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
469
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
470
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
471
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
472
- color: sectionproperties.generalbtn_textColor,
473
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
474
- fontWeight: sectionproperties.generalbtn_fontweight,
475
- transition: '.3s',
476
- ':hover': {
477
- color: sectionproperties.generalbtn_textColoronhover,
478
- backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
479
- },
480
- ':hover .categorybtnicon': {
481
- background: sectionproperties.iconcontainerbgonhover,
482
- color: sectionproperties.iconcontainercoloronhover,
483
- },
484
- }),
485
- categoryname: css({
486
- color: sectionproperties.subheader_categorytitle_fontColor,
487
- fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
488
- textTransform: sectionproperties.subheader_categorytitle_textTransform,
489
- fontWeight: sectionproperties.subheader_categorytitle_textfontweight,
490
- transition: '.3s',
491
- ':hover': {
492
- color: sectionproperties.subheader_categorytitle_coloronhover,
493
- },
494
- }),
495
- parentcollection: css({
496
- color: sectionproperties.subheader_collectiontitle_fontColor,
497
- fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
498
- textTransform: sectionproperties.subheader_collectiontitle_textTransform,
499
- fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
500
- transition: '.3s',
501
- ':hover': {
502
- color: sectionproperties.subheader_collectiontitle_coloronhover,
503
- },
504
- }),
505
- collectionName: css({
506
- color: sectionproperties.collectionsectiontextcolor,
507
- fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
508
- textTransform: sectionproperties.collectionsectiontexttransform,
509
- fontWeight: sectionproperties.collectionsectiontextfontweight,
510
- transition: '.3s',
511
- ':hover': {
512
- color: sectionproperties.collectionsectiontextcoloronhover,
513
- },
514
- }),
515
- };
516
- return (
517
- <div
518
- class="row w-100 ml-0 mr-0 d-flex justify-content-center"
519
- style={{
520
- marginTop: sectionproperties.header_marginTop + 'px',
521
- marginBottom: sectionproperties.header_marginBottom + 'px',
522
- }}
523
- >
524
- {templateproperties_context.showtextslider == 'Show' && (
525
- <div class="col-lg-12 p-0 d-md-none d-sm-none">
526
- <MarqueeHeader sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
527
- </div>
528
- )}
529
-
530
- {sectionproperties.showfloatingcallbtn == 'Show' && (
531
- <a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_self'} style={{ position: 'fixed', bottom: 60, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}>
532
- <i class={langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'}>
533
- <FiPhone size={30} color={sectionproperties.uppersection_iconcolor} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
534
- </i>
535
- </a>
536
- )}
537
- {sectionproperties.youtbtn_show == 'Show' && (
538
- <a
539
- href={'https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber}
540
- target={'_blank'}
541
- style={{ position: 'fixed', bottom: 10, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}
542
- >
543
- <img src={'https://tabex-co.com/storage/StaticImages/whatsapp.png'} style={{ width: '40px', height: '40px', cursor: 'pointer' }} />
544
- </a>
545
- )}
546
-
547
- <div
548
- class={`${header_cssstyles.headercontainer}` + ' row ml-0 mr-0 d-flex d-md-none align-items-center '}
549
- style={{
550
- position: sectionproperties.headerstyles_position,
551
- top: 0,
552
- }}
553
- >
554
- {/* Upper Header */}
555
- <div class={' col-lg-12 p-0 '}>
556
- <div class={header_cssstyles.upperheadersection + ' row w-100 m-0 align-items-center px-1025-1 '}>
557
- <div class="col-lg-2 p-0">
558
- <div
559
- class={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
560
- style={{ cursor: 'pointer' }}
561
- onClick={() => {
562
- routingcountext('home');
563
- }}
564
- >
565
- <Imagekitimagecomp
566
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
567
- publicKey={ikimagecredcontext?.ikimagepublickey}
568
- path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
569
- style={{
570
- maxWidth: '100%',
571
- maxHeight: '100%',
572
- }}
573
- />
574
- </div>
575
- </div>
576
-
577
- <div
578
- class={
579
- sectionproperties.showfooterphonenumber == 'Show' ? (sectionproperties.btninsearch == 'Show' ? 'col-xl-5 col-lg-4 p-lg-0' : 'col-xl-4 col-lg-3 p-0') : 'col-lg-6 p-0'
580
- }
581
- style={{
582
- position: 'relative',
583
- }}
584
- >
585
- <div class="row m-0 w-100">
586
- {sectionproperties.btninsearch == 'Show' && sectionproperties.generalbtn_show == 'Show' && (
587
- <div
588
- class={'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start '}
589
- onClick={() => {
590
- setdropdownselect(!dropdownselect);
591
- }}
592
- >
593
- <div
594
- class={`${header_cssstyles.categorybtn}` + ' categoriesdropdown d-flex w-100 align-items-center pl-2 pr-2 '}
595
- style={{
596
- borderTopRightRadius: langdetect == 'en' ? 0 : '',
597
- borderBottomRightRadius: langdetect == 'en' ? 0 : '',
598
- borderBottomLeftRadius: langdetect == 'ar' ? 0 : '',
599
- borderTopLeftRadius: langdetect == 'ar' ? 0 : '',
600
- zIndex: 100000,
601
- }}
602
- >
603
- <li class={langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'}>
604
- <div class={' m-0 allcentered cursor-pointer px-2 p-lg-0 '}>
605
- <div class={'col-lg-10 d-flex justify-content-start m-0 p-0'}>
606
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
607
- </div>
608
- <div class="col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end d-xl-flex d-lg-none">
609
- <i class="h-100 d-flex align-items-center justify-content-end">
610
- {dropdownselect ? <MdKeyboardArrowUp size={25} /> : <MdKeyboardArrowDown size={25} />}
611
- </i>
612
- </div>
613
- </div>
614
- <ul
615
- class="mt-2"
616
- sytle={{
617
- width: '200px',
618
- }}
619
- >
620
- {sectionproperties.fetchparenttype == 'Categories' &&
621
- authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
622
- var fetchedarray = authdetailsContext?.instinfo?.instcategories;
623
- if (item.isshowntocustomers == 1) {
624
- return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
625
- }
626
- })}
627
- {sectionproperties.fetchparenttype == 'Parent Collections' &&
628
- pcollarray?.map((item, index) => {
629
- var fetchedarray = pcollarray;
630
- if (item.isshowntocustomers == 1) {
631
- return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
632
- }
633
- })}
634
- {sectionproperties.fetchparenttype == 'Collections' &&
635
- authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
636
- var fetchedarray = authdetailsContext?.instinfo?.instcollections;
637
- if (item.isshowntocustomers == 1) {
638
- return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
639
- }
640
- })}
641
- </ul>
642
- </li>
643
- </div>
644
- </div>
645
- )}
646
- <div class={sectionproperties.btninsearch == 'Show' ? 'col-xl-9 col-lg-8 p-0 d-flex justify-content-start align-items-center' : 'col-xl-12 p-0 '}>
647
- <div
648
- class={header_cssstyles.searchbarcont}
649
- style={{
650
- position: 'relative',
651
- borderTopRightRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'ar' ? 0 : '') : '',
652
- borderBottomRightRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'ar' ? 0 : '') : '',
653
- borderBottomLeftRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'en' ? 0 : '') : '',
654
- borderTopLeftRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'en' ? 0 : '') : '',
655
- }}
656
- >
657
- <input
658
- type="text"
659
- placeholder={langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar}
660
- class={`${header_cssstyles.searchbarcont_input}`}
661
- onChange={(event) => {
662
- setSearchHeaderInputContext(event.target.value);
663
- }}
664
- />
665
- <button class={` ${header_cssstyles.searchbar_icon_cont}` + ' d-flex align-items-center justify-content-center '}>
666
- <BsSearch color={sectionproperties.searchbaricon_color} size={sectionproperties.searchbaricon_fontsize} />
667
- </button>
668
- <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'headerfullwidth'} actions={actions} />
669
- </div>
670
- </div>
671
- </div>
672
- </div>
673
- {sectionproperties.showfooterphonenumber == 'Show' && (
674
- <div
675
- class={
676
- sectionproperties.btninsearch == 'Show'
677
- ? 'col-xl-2 col-lg-3 d-flex flex-column align-items-center justfiy-content-center'
678
- : 'col-lg-3 d-flex flex-column align-items-center justfiy-content-center'
679
- }
680
- >
681
- <div
682
- class={header_cssstyles.storeinfocontainer + ' row m-0 w-100 d-flex align-items-center justify-content-center cursor-pointer '}
683
- onClick={() => {
684
- window.open('tel:' + authdetailsContext?.CuContactphonenumber, '_blank');
685
- }}
686
- >
687
- <i
688
- class={
689
- langdetect == 'en'
690
- ? header_cssstyles.storeinfotext + ' storeinfotext h-100 d-flex align-items-center justify-content-center mr-2 '
691
- : header_cssstyles.storeinfotext + ' storeinfotext h-100 d-flex align-items-center justify-content-center ml-2 '
692
- }
693
- >
694
- <FiPhone size={30} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
695
- </i>
696
- <div class="d-flex align-items-center flex-column">
697
- <p class={header_cssstyles.storeinfotext + ' m-0 storeinfotext '}>{authdetailsContext?.instinfo?.contactinfo?.mobile}</p>
698
- <p
699
- class="mb-0 w-100"
700
- style={{
701
- textAlign: langdetect == 'en' ? 'right' : 'left',
702
- color: sectionproperties.footerinfotext_secondarycolor,
703
- fontSize: sectionproperties.footerinfotext_secondaryfontsize + 'px',
704
- fontWeight: sectionproperties.footerinfotext_secondaryfontweight,
705
- }}
706
- >
707
- {langdetect == 'en' ? sectionproperties.footerinfotext_en : sectionproperties.footerinfotext_ar}
708
- </p>
709
- </div>
710
- </div>
711
- </div>
712
- )}
713
- <div
714
- class={
715
- sectionproperties.showfooterphonenumber == 'Show'
716
- ? sectionproperties.btninsearch == 'Show'
717
- ? 'col-xl-3 col-lg-3 d-flex align-items-center p-0 pr-0'
718
- : langdetect == 'en'
719
- ? 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pl-0'
720
- : 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pr-0'
721
- : 'col-lg-4 d-flex align-items-center'
722
- }
723
- >
724
- <div
725
- class={
726
- sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide'
727
- ? 'row w-100 m-0 align-items-center justify-content-end plr-1025-0'
728
- : 'row w-100 m-0 align-items-center justify-content-between plr-1025-0'
729
- }
730
- style={{
731
- paddingLeft:
732
- langdetect == 'en'
733
- ? sectionproperties.showfooterphonenumber == 'Show'
734
- ? authdetailsContext.loggedin == true
735
- ? '.3rem'
736
- : '3rem'
737
- : authdetailsContext.loggedin == true
738
- ? '4rem'
739
- : '6rem'
740
- : 0,
741
- paddingRight:
742
- langdetect == 'en'
743
- ? 0
744
- : sectionproperties.showfooterphonenumber == 'Show'
745
- ? authdetailsContext.loggedin == true
746
- ? '1rem'
747
- : '3rem'
748
- : authdetailsContext.loggedin == true
749
- ? '4rem'
750
- : '6rem',
751
- }}
752
- >
753
- <Dropdown>
754
- <Dropdown.Toggle>
755
- {!authdetailsContext.loggedin && (
756
- <div
757
- class={header_cssstyles.user_btnContainer + ' d-flex align-items-center justify-content-end p-0 cursor-pointer pt-1 '}
758
- onClick={() => {
759
- routingcountext(StaticPagesLinksContext.Login);
760
- }}
761
- >
762
- <div class={header_cssstyles.user_btn + ' user_btnbg allcentered p-0 '}>
763
- <BiUser size={sectionproperties.userBtniconfontsize} />
764
- </div>
765
- <p
766
- class={header_cssstyles.loggedinusername + ' user_btn mb-0 p-0 '}
767
- style={{ marginLeft: langdetect == 'en' ? '3px' : 0, marginRight: langdetect == 'en' ? 0 : '3px' }}
768
- >
769
- {lang.login}
770
- </p>
771
- </div>
772
- )}
773
- {authdetailsContext.loggedin && (
774
- <div class={header_cssstyles.loggedinuserbtnContainer + ' allcentered '} sytle={{ position: 'relative' }}>
775
- <div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
776
- <i class={' h-100 allcentered '}>
777
- <BiUser size={sectionproperties.loggedinusericonfontsize} />
778
- </i>
779
- </div>
780
- <div
781
- class="m-0 p-0"
782
- style={{
783
- textAlign: langdetect == 'en' ? 'left' : 'right',
784
- }}
785
- >
786
- <p
787
- class="m-0 p-0"
788
- style={{
789
- color: sectionproperties.greetingtextcolor,
790
- fontSize: sectionproperties.greetingtextfontsize + 'px',
791
- lineHeight: sectionproperties.greetingtextfontsize + 'px',
792
- fontWeight: 400,
793
- }}
794
- >
795
- {lang.hello}
796
- {langdetect == 'en' ? ',' : '،'}
797
- </p>
798
- <p class={header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '} style={{ maxWidth: '100px' }}>
799
- {authdetailsContext?.customerinfo?.name}
800
- </p>
801
- {authdetailsContext?.customerinfo?.cancustomerviewwallet == 1 && templateproperties_context.showwallet == 'Show' && (
802
- <div class={' m-0 p-0 d-flex justify-content-start flex-row '} style={{}}>
803
- <p
804
- class="m-0 p-0"
805
- style={{
806
- color: templateproperties_context.walletcolor,
807
- fontSize: templateproperties_context.walletfontize + 'px',
808
- fontWeight: 500,
809
- }}
810
- >
811
- {langdetect == 'en' ? templateproperties_context.walletcontent_en : templateproperties_context.walletcontent_ar}
812
- </p>
813
- <p
814
- class="m-0 p-0 mx-1"
815
- style={{
816
- color: templateproperties_context.walletsecondarycolor,
817
- fontSize: '15px',
818
- fontWeight: 600,
819
- }}
820
- >
821
- {authdetailsContext?.customerinfo?.walletpoints}{' '}
822
- </p>
823
- </div>
824
- )}
825
- </div>
826
- </div>
827
- )}
828
- </Dropdown.Toggle>
829
-
830
- {authdetailsContext.loggedin && (
831
- <Dropdown.Menu style={{ minWidth: '200px' }}>
832
- <Dropdown.Item>
833
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
834
- <span
835
- style={{
836
- color: sectionproperties.greetingtextcolor,
837
- fontSize: sectionproperties.dropdown_fontsize + 'px',
838
-
839
- fontWeight: 400,
840
- }}
841
- >
842
- {lang.hello},
843
- </span>
844
- <p
845
- class={`${header_cssstyles.dropdownitem}` + ' font-weight-600 ml-1 mr-1 text-overflow text-capitalize dropdownitem m-0 p-0 '}
846
- style={{ maxWidth: '120px' }}
847
- onClick={() => {
848
- routingcountext(StaticPagesLinksContext.accountinfo);
849
- }}
850
- >
851
- {authdetailsContext?.customerinfo?.name}
852
- </p>
853
- </div>
854
- </Dropdown.Item>
855
- <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
856
- <Dropdown.Item
857
- onClick={() => {
858
- routingcountext(StaticPagesLinksContext.Ordershistory);
859
- }}
860
- >
861
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
862
- <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
863
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
864
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
865
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
866
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
867
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
868
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
869
- {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar />}
870
-
871
- <span class="ml-2 mr-2">{lang.orderhistory}</span>
872
- </p>
873
- </div>
874
- </Dropdown.Item>
875
- <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
876
- <Dropdown.Item
877
- onClick={() => {
878
- routingcountext(StaticPagesLinksContext.Wishlist);
879
- }}
880
- >
881
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
882
- <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
883
- {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
884
- {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
885
- <span class="ml-2 mr-2">{lang.wishlist}</span>
886
- </p>
887
- </div>
888
- </Dropdown.Item>
889
- <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
890
- <Dropdown.Item
891
- onClick={() => {
892
- routingcountext(StaticPagesLinksContext.Policies);
893
- }}
894
- >
895
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
896
- <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
897
- <AiOutlineSecurityScan />
898
- <span class="ml-2 mr-2">{lang.policies}</span>
899
- </p>
900
- </div>
901
- </Dropdown.Item>
902
- <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
903
- <Dropdown.Item
904
- onClick={() => {
905
- LogoutMutationContext.mutate();
906
- }}
907
- >
908
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
909
- <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
910
- <BiLogOutCircle />
911
- <span class="ml-2 mr-2">{lang.logout}</span>
912
- </p>
913
- </div>
914
- </Dropdown.Item>
915
- </Dropdown.Menu>
916
- )}
917
- </Dropdown>
918
- {sectionproperties.favBtnShow == 'Show' && (
919
- <div class="d-flex flex-row p-0 align-items-center">
920
- <div
921
- style={{ position: 'relative' }}
922
- class="cursor-pointer d-flex d-flex align-items-center"
923
- onClick={() => {
924
- routingcountext(StaticPagesLinksContext.Wishlist);
925
- }}
926
- >
927
- <span class={`${header_cssstyles.wishlist_btn}`}>
928
- <i class="h-100 allcentered">
929
- {sectionproperties.faviconshape == 'Heart Shape' && (
930
- <FaRegHeart
931
- style={{
932
- position: 'relative',
933
- }}
934
- />
935
- )}
936
- {sectionproperties.faviconshape == 'Star Shape' && (
937
- <AiFillStar
938
- style={{
939
- position: 'relative',
940
- }}
941
- />
942
- )}
943
- </i>
944
- </span>
945
- <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}`}>
946
- <span> {favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}</span>
947
- </div>
948
- </div>
949
- </div>
950
- )}
951
- {sectionproperties.cartBtnShow == 'Show' && (
952
- <div
953
- class={
954
- sectionproperties.btninsearch == 'Show'
955
- ? sectionproperties.showfooterphonenumber == 'Show'
956
- ? 'd-flex d-lg-none flex-row justify-content-end align-items-center'
957
- : 'd-flex flex-row justify-content-end align-items-center'
958
- : 'd-flex flex-row justify-content-end align-items-center'
959
- }
960
- >
961
- <div
962
- class="row w-100 m-0 align-items-center d-flex flex-row justify-content-end"
963
- style={{
964
- position: 'relative',
965
- }}
966
- onClick={() => {
967
- setsidecartnavshowcontext(true);
968
- }}
969
- >
970
- <div style={{ position: 'relative' }} class={`${header_cssstyles.cart_btn}` + ' cursor-pointer d-flex align-items-center justify-content-center '}>
971
- <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.cartbadge}`}>
972
- {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
973
- </div>
974
- <i class="h-100 allcentered">
975
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
976
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
977
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
978
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
979
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
980
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
981
- {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtn_iconFontSize} />}
982
- </i>
983
- </div>
984
- <div class={langdetect == 'en' ? 'ml-2 d-flex d-lg-none' : 'mr-2 d-flex d-lg-none'}>
985
- <div class="row m-0 w-100 d-flex align-items-center flex-column justify-content-start">
986
- <p
987
- class="m-0 p-0 w-100"
988
- style={{
989
- textAlign: langdetect == 'en' ? 'left' : 'right',
990
- color: sectionproperties.cartBtnTextcolor,
991
- fontSize: sectionproperties.cartBtnTextfontsize + 'px',
992
- lineHeight: sectionproperties.cartBtnTextfontsize + 'px',
993
- fontWeight: sectionproperties.cartBtnTextfontweight,
994
- textTransform: sectionproperties.cartBtnTexttransform,
995
- cursor: 'pointer',
996
- }}
997
- >
998
- {lang.cart}
999
- </p>
1000
- <p
1001
- class="m-0 text-left"
1002
- style={{
1003
- color: sectionproperties.card_secondarycolor,
1004
- fontSize: sectionproperties.secondaryfontsize + 'px',
1005
- fontWeight: sectionproperties.secondaryfontweight,
1006
- cursor: 'pointer',
1007
- }}
1008
- >
1009
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {subtotalcart()} {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1010
- </p>
1011
- </div>
1012
- </div>
1013
- </div>
1014
- </div>
1015
- )}
1016
- <div
1017
- class="d-flex flex-row justify-content-end align-items-center"
1018
- onClick={() => {
1019
- if (langdetect == 'en') {
1020
- setlang('ar');
1021
- } else {
1022
- setlang('en');
1023
- }
1024
- }}
1025
- style={{
1026
- paddingLeft: sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? (langdetect == 'en' ? '2rem' : 0) : 0,
1027
- paddingRight: sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' ? (langdetect == 'ar' ? '2rem' : 0) : 0,
1028
- }}
1029
- >
1030
- {langdetect == 'en' && (
1031
- <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1032
- <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
1033
- <span
1034
- class="mx-2"
1035
- style={{
1036
- color: '#000',
1037
- }}
1038
- >
1039
- ع
1040
- </span>
1041
- </div>
1042
- )}
1043
- {langdetect == 'ar' && (
1044
- <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1045
- <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
1046
- <span
1047
- class="mx-2"
1048
- style={{
1049
- color: '#000',
1050
- }}
1051
- >
1052
- En
1053
- </span>
1054
- </div>
1055
- )}
1056
- </div>
1057
- </div>
1058
- </div>
1059
- </div>
1060
- </div>
1061
- {/* Lower Header */}
1062
- {sectionproperties.showlowerheadersection == 'Show' && (
1063
- <div class="col-lg-12 p-0 d-flex justify-content-center" style={{ background: sectionproperties.uppersection_bgcolor }}>
1064
- <div class={`${header_cssstyles.divider}` + ' '}></div>
1065
- </div>
1066
- )}
1067
- {sectionproperties.showlowerheadersection == 'Show' && (
1068
- <div class={`${header_cssstyles.lowerheadercontainer}` + ' row w-100 m-0 align-items-center px-1025-1 '}>
1069
- {sectionproperties.btninsearch != 'Show' && sectionproperties.generalbtn_show == 'Show' && (
1070
- <div
1071
- class={' col-xl-2 col-lg-3 d-flex align-items-center '}
1072
- onClick={() => {
1073
- setdropdownselect(!dropdownselect);
1074
- }}
1075
- >
1076
- <li class={langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'}>
1077
- <div class={`${header_cssstyles.categorybtn}` + ' m-0 allcentered cursor-pointer '}>
1078
- <i class={`${header_cssstyles.categorybtnicon}` + ' categorybtnicon d-flex align-items-center justify-content-center '}>
1079
- <HiMenuAlt4 size={sectionproperties.icontextfontsize} />
1080
- </i>
1081
- <p class={langdetect == 'en' ? ' m-0 p-0 ml-2' : ' m-0 p-0 mr-2 '}>
1082
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1083
- </p>
1084
- </div>
1085
- <ul class="w-100 mt-2">
1086
- {sectionproperties.fetchparenttype == 'Categories' &&
1087
- authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
1088
- var fetchedarray = authdetailsContext?.instinfo?.instcategories;
1089
- if (item.isshowntocustomers == 1) {
1090
- return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1091
- }
1092
- })}
1093
- {sectionproperties.fetchparenttype == 'Parent Collections' &&
1094
- pcollarray?.map((item, index) => {
1095
- var fetchedarray = pcollarray;
1096
- if (item.isshowntocustomers == 1) {
1097
- return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1098
- }
1099
- })}
1100
- {sectionproperties.fetchparenttype == 'Collections' &&
1101
- authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
1102
- var fetchedarray = authdetailsContext?.instinfo?.instcollections;
1103
- if (item.isshowntocustomers == 1) {
1104
- return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1105
- }
1106
- })}
1107
- </ul>
1108
- </li>
1109
- </div>
1110
- )}
1111
- <div
1112
- class={
1113
- authdetailsContext?.instinfo?.instcurrencies?.length > 1
1114
- ? 'col-lg-8'
1115
- : sectionproperties.btninsearch != 'Show' && sectionproperties.generalbtn_show == 'Show'
1116
- ? 'col-xl-10 col-lg-9 flex-row d-flex align-items-center justify-content-start'
1117
- : 'col-xl-12 col-lg-9 flex-row d-flex align-items-center justify-content-start'
1118
- }
1119
- >
1120
- <div
1121
- class={' scrollhorizontal w-100 align-items-center justify-content-start '}
1122
- style={{
1123
- display: sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
1124
- }}
1125
- >
1126
- {templatepropcontext.pagesnprop.map((item, index) => {
1127
- var activeclass = '';
1128
- var pagedisabled = '';
1129
- if (item.isselected) {
1130
- activeclass = header_cssstyles.navbar_item_active;
1131
- }
1132
- if (item.isnavigation == 1 && item.isactive == 1) {
1133
- return (
1134
- <div
1135
- class={`${activeclass}` + ' cursor-pointer scrollhorizontalcard '}
1136
- onClick={() => {
1137
- routingcountext(item.navigationroute);
1138
- }}
1139
- style={{
1140
- marginRight: langdetect == 'en' ? '25px' : 0,
1141
- marginLeft: langdetect == 'en' ? 0 : '25px',
1142
- }}
1143
- >
1144
- <div class={`${header_cssstyles.navbar_item_text}`}> {langdetect == 'en' ? item.pagename : item.pagename_ar}</div>
1145
- </div>
1146
- );
1147
- }
1148
- })}
1149
- </div>
1150
- {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
1151
- <Subheader
1152
- sectionpropertiesprops={sectionproperties}
1153
- actions={actions}
1154
- subheaderpropertiesprops={{
1155
- subheaderpositionprops: 'in nav',
1156
- paddingLeftprops: '25px',
1157
- paddingRightprops: '25px',
1158
- }}
1159
- />
1160
- )}
1161
- </div>
1162
- {authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1 && (
1163
- <div class={'col-lg-2 d-flex align-items-center justify-content-end '}>
1164
- <Dropdown>
1165
- <Dropdown.Toggle>
1166
- <li class={' d-flex align-items-center justify-content-center '}>
1167
- {langdetect == 'en' && (
1168
- <div class={' row m-0 w-100 d-flex align-items-center '}>
1169
- <FaMoneyBillWave />
1170
- <p class="m-0 p-0 mr-2 ml-2">{authdetailsContext?.currencyname_en}</p>
1171
- <MdKeyboardArrowDown />
1172
- </div>
1173
- )}
1174
- {langdetect == 'ar' && (
1175
- <div class={' row m-0 w-100 d-flex align-items-center '}>
1176
- <FaMoneyBillWave />
1177
- <p class="m-0 p-0 ml-2 mr-2">{authdetailsContext?.currencyname_ar}</p>
1178
- <MdKeyboardArrowDown />
1179
- </div>
1180
- )}
1181
- </li>
1182
- </Dropdown.Toggle>
1183
- <Dropdown.Menu>
1184
- {authdetailsContext?.instinfo?.instcurrencies?.map(function (item, index) {
1185
- return (
1186
- <Dropdown.Item
1187
- onClick={() => {
1188
- setcurrencyfunccontext(item);
1189
- }}
1190
- >
1191
- <div class="row m-0 w-100">
1192
- <div class="col-lg-12 p-0 d-flex justify-content-start">
1193
- <div class={`${header_cssstyles.dropdownitemcontainer}`}>
1194
- <p
1195
- class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
1196
- style={{
1197
- fontSize: sectionproperties.dropdown_fontsize + 'px',
1198
- fontWeight: sectionproperties.dropdown_fontweight,
1199
- textTransform: sectionproperties.dropdown_texttransform,
1200
- }}
1201
- >
1202
- <FaMoneyBillWave />
1203
- <span class={'ml-2 mr-2'}>{langdetect == 'en' ? item.currencyname_en : item.currencyname_ar}</span>
1204
- </p>
1205
- </div>
1206
- </div>
1207
- {index != authdetailsContext?.instinfo?.instcurrencies?.length - 1 && (
1208
- <div class="col-lg-12 p-0">
1209
- <hr class="m-0" />
1210
- </div>
1211
- )}
1212
- </div>
1213
- </Dropdown.Item>
1214
- );
1215
- })}
1216
- </Dropdown.Menu>
1217
- </Dropdown>
1218
- </div>
1219
- )}
1220
- {sectionproperties.btninsearch == 'Show' && (
1221
- <div
1222
- class={'col-lg-3 d-none d-lg-flex flex-row justify-content-end align-items-center'}
1223
- style={{
1224
- position: 'relative',
1225
- }}
1226
- onClick={() => {
1227
- setsidecartnavshowcontext(true);
1228
- }}
1229
- >
1230
- <div style={{ position: 'relative' }} class={`${header_cssstyles.cart_btn}` + ' cursor-pointer d-flex align-items-center justify-content-end '}>
1231
- <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.cartbadge}`}>
1232
- {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
1233
- </div>
1234
- <i class="h-100 allcentered">
1235
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1236
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1237
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
1238
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1239
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1240
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1241
- </i>
1242
- </div>
1243
- <div class={langdetect == 'en' ? 'ml-2' : 'mr-2'}>
1244
- <div class="row m-0 w-100 d-flex align-items-center flex-column justify-content-start">
1245
- <p
1246
- class="m-0 p-0 w-100"
1247
- style={{
1248
- textAlign: langdetect == 'en' ? 'left' : 'right',
1249
- color: sectionproperties.cartBtnTextcolor,
1250
- fontSize: sectionproperties.cartBtnTextfontsize + 'px',
1251
- lineHeight: sectionproperties.cartBtnTextfontsize + 'px',
1252
- fontWeight: sectionproperties.cartBtnTextfontweight,
1253
- textTransform: sectionproperties.cartBtnTexttransform,
1254
- cursor: 'pointer',
1255
- }}
1256
- >
1257
- {lang.cart}
1258
- </p>
1259
- <p
1260
- class="m-0 text-left"
1261
- style={{
1262
- color: sectionproperties.card_secondarycolor,
1263
- fontSize: sectionproperties.secondaryfontsize + 'px',
1264
- fontWeight: sectionproperties.secondaryfontweight,
1265
- cursor: 'pointer',
1266
- }}
1267
- >
1268
- {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {subtotalcart()} {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1269
- </p>
1270
- </div>
1271
- </div>
1272
- </div>
1273
- )}
1274
- </div>
1275
- )}
1276
-
1277
- {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
1278
- <div class="col-lg-12 p-0">
1279
- <Subheader
1280
- actions={actions}
1281
- sectionpropertiesprops={sectionproperties}
1282
- subheaderpropertiesprops={{
1283
- subheaderpositionprops: 'Full Width',
1284
- paddingLeftprops: '25px',
1285
- paddingRightprops: '25px',
1286
- }}
1287
- />
1288
- </div>
1289
- )}
1290
- </div>
1291
- {sectionproperties.responsiveheaderstyle == 'Style 1' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1292
- {sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1293
- {sectionproperties.responsiveheaderstyle == 'Style 2' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1294
- {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1295
- {/* <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} /> */}
1296
- </div>
1297
- // <div
1298
- // class="row w-100 ml-0 mr-0 d-flex justify-content-center"
1299
- // style={{
1300
- // marginTop: sectionproperties.header_marginTop + 'px',
1301
- // marginBottom: sectionproperties.header_marginBottom + 'px',
1302
- // }}
1303
- // >
1304
- // {sectionproperties.youtbtn_show == 'Show' && (
1305
- // <>
1306
- // <a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_self'} style={{ position: 'fixed', bottom: 60, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}>
1307
- // <i class={langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'}>
1308
- // <FiPhone size={30} color={sectionproperties.uppersection_iconcolor} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
1309
- // </i>
1310
- // </a>
1311
- // <a
1312
- // href={'https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber}
1313
- // target={'_blank'}
1314
- // style={{ position: 'fixed', bottom: 10, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}
1315
- // >
1316
- // <img src={whatsappicon} style={{ width: '40px', height: '40px', cursor: 'pointer' }} />
1317
- // </a>
1318
- // </>
1319
- // )}
1320
- // <div
1321
- // class={`${header_cssstyles.headercontainer}` + ' row ml-0 mr-0 d-flex d-md-none align-items-center '}
1322
- // style={{
1323
- // position: sectionproperties.headerstyles_position,
1324
- // top: 0,
1325
- // }}
1326
- // >
1327
- // {/* Upper Header */}
1328
- // <div class={' col-lg-12 p-0 '}>
1329
- // <div class={header_cssstyles.upperheadersection + ' row w-100 m-0 align-items-center px-1025-1 '}>
1330
- // <div class="col-lg-2 p-0">
1331
- // <div
1332
- // class={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
1333
- // style={{ cursor: 'pointer' }}
1334
- // onClick={() => {
1335
- // routingcountext('home');
1336
- // }}
1337
- // >
1338
- // <Imagekitimagecomp
1339
- // urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1340
- // publicKey={ikimagecredcontext?.ikimagepublickey}
1341
- // path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
1342
- // style={{
1343
- // maxWidth: '100%',
1344
- // maxHeight: '100%',
1345
- // }}
1346
- // />
1347
- // </div>
1348
- // </div>
1349
-
1350
- // <div
1351
- // class={
1352
- // sectionproperties.showfooterphonenumber == 'Show' ? (sectionproperties.btninsearch == 'Show' ? 'col-xl-5 col-lg-4 p-lg-0' : 'col-xl-4 col-lg-3 p-0') : 'col-lg-6 p-0'
1353
- // }
1354
- // style={{
1355
- // position: 'relative',
1356
- // }}
1357
- // >
1358
- // <div class="row m-0 w-100">
1359
- // {sectionproperties.btninsearch == 'Show' && (
1360
- // <div
1361
- // class={'col-xl-3 col-lg-4 p-0 d-flex align-items-center justify-content-start '}
1362
- // onClick={() => {
1363
- // setdropdownselect(!dropdownselect);
1364
- // }}
1365
- // >
1366
- // <div
1367
- // class={`${header_cssstyles.categorybtn}` + ' categoriesdropdown d-flex w-100 align-items-center pl-2 pr-2 '}
1368
- // style={{
1369
- // borderTopRightRadius: langdetect == 'en' ? 0 : '',
1370
- // borderBottomRightRadius: langdetect == 'en' ? 0 : '',
1371
- // borderBottomLeftRadius: langdetect == 'ar' ? 0 : '',
1372
- // borderTopLeftRadius: langdetect == 'ar' ? 0 : '',
1373
- // zIndex: 100,
1374
- // }}
1375
- // >
1376
- // <li class={langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'}>
1377
- // <div class={' m-0 allcentered cursor-pointer px-2 p-lg-0 '}>
1378
- // <div class={'col-lg-10 d-flex justify-content-start m-0 p-0'}>
1379
- // {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1380
- // </div>
1381
- // <div class="col-lg-2 p-0 h-100 d-flex align-items-center justify-content-end d-xl-flex d-lg-none">
1382
- // <i class="h-100 d-flex align-items-center justify-content-end">
1383
- // {dropdownselect ? <MdKeyboardArrowUp size={25} /> : <MdKeyboardArrowDown size={25} />}
1384
- // </i>
1385
- // </div>
1386
- // </div>
1387
- // <ul
1388
- // class="mt-2"
1389
- // sytle={{
1390
- // width: '200px',
1391
- // }}
1392
- // >
1393
- // {sectionproperties.fetchparenttype == 'Categories' &&
1394
- // authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
1395
- // var fetchedarray = authdetailsContext?.instinfo?.instcategories;
1396
- // if (item.isshowntocustomers == 1) {
1397
- // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1398
- // }
1399
- // })}
1400
- // {sectionproperties.fetchparenttype == 'Parent Collections' &&
1401
- // pcollarray?.map((item, index) => {
1402
- // var fetchedarray = pcollarray;
1403
- // if (item.isshowntocustomers == 1) {
1404
- // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1405
- // }
1406
- // })}
1407
- // {sectionproperties.fetchparenttype == 'Collections' &&
1408
- // authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
1409
- // var fetchedarray = authdetailsContext?.instinfo?.instcollections;
1410
- // if (item.isshowntocustomers == 1) {
1411
- // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1412
- // }
1413
- // })}
1414
- // </ul>
1415
- // </li>
1416
- // </div>
1417
- // </div>
1418
- // )}
1419
- // <div class={sectionproperties.btninsearch == 'Show' ? 'col-xl-9 col-lg-8 p-0 d-flex justify-content-start align-items-center' : 'col-xl-12 p-0 '}>
1420
- // <div
1421
- // class={header_cssstyles.searchbarcont}
1422
- // style={{
1423
- // position: 'relative',
1424
- // borderTopRightRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'ar' ? 0 : '') : '',
1425
- // borderBottomRightRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'ar' ? 0 : '') : '',
1426
- // borderBottomLeftRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'en' ? 0 : '') : '',
1427
- // borderTopLeftRadius: sectionproperties.btninsearch == 'Show' ? (langdetect == 'en' ? 0 : '') : '',
1428
- // }}
1429
- // >
1430
- // <input
1431
- // type="text"
1432
- // placeholder={lang.searchproducts}
1433
- // class={`${header_cssstyles.searchbarcont_input}`}
1434
- // onChange={(event) => {
1435
- // setSearchHeaderInputContext(event.target.value);
1436
- // }}
1437
- // />
1438
- // <button class={` ${header_cssstyles.searchbar_icon_cont}` + ' d-flex align-items-center justify-content-center '}>
1439
- // <BsSearch color={sectionproperties.searchbaricon_color} size={sectionproperties.searchbaricon_fontsize} />
1440
- // </button>
1441
- // <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'headerfullwidth'} actions={actions} />
1442
- // </div>
1443
- // </div>
1444
- // </div>
1445
- // </div>
1446
- // {sectionproperties.showfooterphonenumber == 'Show' && (
1447
- // <div
1448
- // class={
1449
- // sectionproperties.btninsearch == 'Show'
1450
- // ? 'col-xl-2 col-lg-3 d-flex flex-column align-items-center justfiy-content-center'
1451
- // : 'col-lg-3 d-flex flex-column align-items-center justfiy-content-center'
1452
- // }
1453
- // >
1454
- // <div
1455
- // class={header_cssstyles.storeinfocontainer + ' row m-0 w-100 d-flex align-items-center justify-content-center cursor-pointer '}
1456
- // onClick={() => {
1457
- // window.open('tel:' + authdetailsContext?.CuContactphonenumber, '_blank');
1458
- // }}
1459
- // >
1460
- // <i
1461
- // class={
1462
- // langdetect == 'en'
1463
- // ? header_cssstyles.storeinfotext + ' storeinfotext h-100 d-flex align-items-center justify-content-center mr-2 '
1464
- // : header_cssstyles.storeinfotext + ' storeinfotext h-100 d-flex align-items-center justify-content-center ml-2 '
1465
- // }
1466
- // >
1467
- // <FiPhone size={30} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
1468
- // </i>
1469
- // <div class="d-flex align-items-center flex-column">
1470
- // <p class={header_cssstyles.storeinfotext + ' m-0 storeinfotext '}>{authdetailsContext?.instinfo?.contactinfo?.mobile}</p>
1471
- // <p
1472
- // class="mb-0 w-100"
1473
- // style={{
1474
- // textAlign: langdetect == 'en' ? 'right' : 'left',
1475
- // color: sectionproperties.footerinfotext_secondarycolor,
1476
- // fontSize: sectionproperties.footerinfotext_secondaryfontsize + 'px',
1477
- // fontWeight: sectionproperties.footerinfotext_secondaryfontweight,
1478
- // }}
1479
- // >
1480
- // {langdetect == 'en' ? sectionproperties.footerinfotext_en : sectionproperties.footerinfotext_ar}
1481
- // </p>
1482
- // </div>
1483
- // </div>
1484
- // </div>
1485
- // )}
1486
- // <div
1487
- // class={
1488
- // sectionproperties.showfooterphonenumber == 'Show'
1489
- // ? sectionproperties.btninsearch == 'Show'
1490
- // ? 'col-xl-3 col-lg-3 d-flex align-items-center p-0 pr-0'
1491
- // : langdetect == 'en'
1492
- // ? 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pl-0'
1493
- // : 'col-xl-3 col-lg-4 d-flex align-items-center p-0 pr-0'
1494
- // : 'col-lg-4 d-flex align-items-center'
1495
- // }
1496
- // >
1497
- // <div
1498
- // class={'row w-100 m-0 align-items-center justify-content-between plr-1025-0'}
1499
- // style={{
1500
- // paddingLeft:
1501
- // langdetect == 'en'
1502
- // ? sectionproperties.showfooterphonenumber == 'Show'
1503
- // ? authdetailsContext.loggedin == true
1504
- // ? '.3rem'
1505
- // : '3rem'
1506
- // : authdetailsContext.loggedin == true
1507
- // ? '4rem'
1508
- // : '6rem'
1509
- // : 0,
1510
- // paddingRight:
1511
- // langdetect == 'en'
1512
- // ? 0
1513
- // : sectionproperties.showfooterphonenumber == 'Show'
1514
- // ? authdetailsContext.loggedin == true
1515
- // ? '1rem'
1516
- // : '3rem'
1517
- // : authdetailsContext.loggedin == true
1518
- // ? '4rem'
1519
- // : '6rem',
1520
- // }}
1521
- // >
1522
- // <Dropdown>
1523
- // <Dropdown.Toggle>
1524
- // {!authdetailsContext.loggedin && (
1525
- // <div class={header_cssstyles.user_btnContainer + ' d-flex align-items-center justify-content-end p-0 cursor-pointer pt-1 '}>
1526
- // <div class={header_cssstyles.user_btn + ' user_btnbg allcentered p-0 '}>
1527
- // <BiUser size={sectionproperties.userBtniconfontsize} />
1528
- // </div>
1529
- // <p
1530
- // class={header_cssstyles.loggedinusername + ' user_btn mb-0 p-0 '}
1531
- // style={{ marginLeft: langdetect == 'en' ? '3px' : 0, marginRight: langdetect == 'en' ? 0 : '3px' }}
1532
- // >
1533
- // {lang.login}
1534
- // </p>
1535
- // </div>
1536
- // )}
1537
- // {authdetailsContext.loggedin && (
1538
- // <div class={header_cssstyles.loggedinuserbtnContainer + ' allcentered '} sytle={{ position: 'relative' }}>
1539
- // <div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
1540
- // <i class={' h-100 allcentered '}>
1541
- // <BiUser size={sectionproperties.loggedinusericonfontsize} />
1542
- // </i>
1543
- // </div>
1544
- // <div
1545
- // class="m-0 p-0"
1546
- // style={{
1547
- // textAlign: langdetect == 'en' ? 'left' : 'right',
1548
- // }}
1549
- // >
1550
- // <p
1551
- // class="m-0 p-0"
1552
- // style={{
1553
- // color: sectionproperties.greetingtextcolor,
1554
- // fontSize: sectionproperties.greetingtextfontsize + 'px',
1555
- // lineHeight: sectionproperties.greetingtextfontsize + 'px',
1556
- // fontWeight: 400,
1557
- // }}
1558
- // >
1559
- // {lang.hello}
1560
- // {langdetect == 'en' ? ',' : '،'}
1561
- // </p>
1562
- // <p class={header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '} style={{ maxWidth: '100px' }}>
1563
- // {authdetailsContext?.customerinfo?.name}
1564
- // </p>
1565
- // </div>
1566
- // </div>
1567
- // )}
1568
- // </Dropdown.Toggle>
1569
- // {!authdetailsContext.loggedin && (
1570
- // <Dropdown.Menu>
1571
- // <Dropdown.Item
1572
- // onClick={() => {
1573
- // routingcountext(StaticPagesLinksContext.Login);
1574
- // }}
1575
- // >
1576
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
1577
- // <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
1578
- // <AiOutlineLogin />
1579
- // <span class="ml-2 mr-2">{lang.login}</span>
1580
- // </p>
1581
- // </div>
1582
- // </Dropdown.Item>
1583
- // <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
1584
- // <Dropdown.Item
1585
- // onClick={() => {
1586
- // routingcountext(StaticPagesLinksContext.Signup);
1587
- // }}
1588
- // >
1589
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
1590
- // <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
1591
- // <AiOutlineUserAdd />
1592
- // <span class="ml-2 mr-2">{lang.signup}</span>
1593
- // </p>
1594
- // </div>
1595
- // </Dropdown.Item>
1596
- // </Dropdown.Menu>
1597
- // )}
1598
- // {authdetailsContext.loggedin && (
1599
- // <Dropdown.Menu style={{ minWidth: '200px' }}>
1600
- // <Dropdown.Item>
1601
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
1602
- // <span
1603
- // style={{
1604
- // color: sectionproperties.greetingtextcolor,
1605
- // fontSize: sectionproperties.dropdown_fontsize + 'px',
1606
-
1607
- // fontWeight: 400,
1608
- // }}
1609
- // >
1610
- // {lang.hello},
1611
- // </span>
1612
- // <p
1613
- // class={`${header_cssstyles.dropdownitem}` + ' font-weight-600 ml-1 mr-1 text-overflow text-capitalize dropdownitem m-0 p-0 '}
1614
- // style={{ maxWidth: '120px' }}
1615
- // onClick={() => {
1616
- // routingcountext(StaticPagesLinksContext.accountinfo);
1617
- // }}
1618
- // >
1619
- // {authdetailsContext?.customerinfo?.name}
1620
- // </p>
1621
- // </div>
1622
- // </Dropdown.Item>
1623
- // <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
1624
- // <Dropdown.Item
1625
- // onClick={() => {
1626
- // routingcountext(StaticPagesLinksContext.Ordershistory);
1627
- // }}
1628
- // >
1629
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1630
- // <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1631
- // {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
1632
- // {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
1633
- // {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
1634
- // {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
1635
- // {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
1636
- // {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
1637
- // <span class="ml-2 mr-2">{lang.orderhistory}</span>
1638
- // </p>
1639
- // </div>
1640
- // </Dropdown.Item>
1641
- // <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
1642
- // <Dropdown.Item
1643
- // onClick={() => {
1644
- // routingcountext(StaticPagesLinksContext.Wishlist);
1645
- // }}
1646
- // >
1647
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1648
- // <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1649
- // {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
1650
- // {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
1651
- // <span class="ml-2 mr-2">{lang.wishlist}</span>
1652
- // </p>
1653
- // </div>
1654
- // </Dropdown.Item>
1655
- // <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
1656
- // <Dropdown.Item
1657
- // onClick={() => {
1658
- // routingcountext(StaticPagesLinksContext.Policies);
1659
- // }}
1660
- // >
1661
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1662
- // <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1663
- // <AiOutlineSecurityScan />
1664
- // <span class="ml-2 mr-2">{lang.policies}</span>
1665
- // </p>
1666
- // </div>
1667
- // </Dropdown.Item>
1668
- // <Dropdown.Divider style={{ marginBottom: 0, marginTop: 0 }}></Dropdown.Divider>
1669
- // <Dropdown.Item
1670
- // onClick={() => {
1671
- // LogoutMutationContext.mutate();
1672
- // }}
1673
- // >
1674
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
1675
- // <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
1676
- // <BiLogOutCircle />
1677
- // <span class="ml-2 mr-2">{lang.logout}</span>
1678
- // </p>
1679
- // </div>
1680
- // </Dropdown.Item>
1681
- // </Dropdown.Menu>
1682
- // )}
1683
- // </Dropdown>
1684
- // <div class="d-flex flex-row p-0 align-items-center">
1685
- // <div
1686
- // style={{ position: 'relative' }}
1687
- // class="cursor-pointer d-flex d-flex align-items-center"
1688
- // onClick={() => {
1689
- // routingcountext(StaticPagesLinksContext.Wishlist);
1690
- // }}
1691
- // >
1692
- // <span class={`${header_cssstyles.wishlist_btn}`}>
1693
- // <i class="h-100 allcentered">
1694
- // {sectionproperties.faviconshape == 'Heart Shape' && (
1695
- // <FaRegHeart
1696
- // style={{
1697
- // position: 'relative',
1698
- // }}
1699
- // />
1700
- // )}
1701
- // {sectionproperties.faviconshape == 'Star Shape' && (
1702
- // <AiFillStar
1703
- // style={{
1704
- // position: 'relative',
1705
- // }}
1706
- // />
1707
- // )}
1708
- // </i>
1709
- // </span>
1710
- // <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}`}>
1711
- // <span> {favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}</span>
1712
- // </div>
1713
- // </div>
1714
- // </div>
1715
- // <div
1716
- // class={
1717
- // sectionproperties.btninsearch == 'Show'
1718
- // ? sectionproperties.showfooterphonenumber == 'Show'
1719
- // ? 'd-flex d-lg-none flex-row justify-content-end align-items-center'
1720
- // : 'd-flex flex-row justify-content-end align-items-center'
1721
- // : 'd-flex flex-row justify-content-end align-items-center'
1722
- // }
1723
- // >
1724
- // <div
1725
- // class="row w-100 m-0 align-items-center d-flex flex-row justify-content-end"
1726
- // style={{
1727
- // position: 'relative',
1728
- // }}
1729
- // onClick={() => {
1730
- // setsidecartnavshowcontext(true);
1731
- // }}
1732
- // >
1733
- // <div style={{ position: 'relative' }} class={`${header_cssstyles.cart_btn}` + ' cursor-pointer d-flex align-items-center justify-content-center '}>
1734
- // <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.cartbadge}`}>
1735
- // {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
1736
- // </div>
1737
- // <i class="h-100 allcentered">
1738
- // {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1739
- // {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1740
- // {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
1741
- // {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1742
- // {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1743
- // {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1744
- // </i>
1745
- // </div>
1746
- // <div class={langdetect == 'en' ? 'ml-2 d-flex d-lg-none' : 'mr-2 d-flex d-lg-none'}>
1747
- // <div class="row m-0 w-100 d-flex align-items-center flex-column justify-content-start">
1748
- // <p
1749
- // class="m-0 p-0 w-100"
1750
- // style={{
1751
- // textAlign: langdetect == 'en' ? 'left' : 'right',
1752
- // color: sectionproperties.cartBtnTextcolor,
1753
- // fontSize: sectionproperties.cartBtnTextfontsize + 'px',
1754
- // lineHeight: sectionproperties.cartBtnTextfontsize + 'px',
1755
- // fontWeight: sectionproperties.cartBtnTextfontweight,
1756
- // textTransform: sectionproperties.cartBtnTexttransform,
1757
- // cursor: 'pointer',
1758
- // }}
1759
- // >
1760
- // {lang.cart}
1761
- // </p>
1762
- // <p
1763
- // class="m-0 text-left"
1764
- // style={{
1765
- // color: sectionproperties.card_secondarycolor,
1766
- // fontSize: sectionproperties.secondaryfontsize + 'px',
1767
- // fontWeight: sectionproperties.secondaryfontweight,
1768
- // cursor: 'pointer',
1769
- // }}
1770
- // >
1771
- // {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {subtotalcart()} {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1772
- // </p>
1773
- // </div>
1774
- // </div>
1775
- // </div>
1776
- // </div>
1777
- // <div
1778
- // class="d-flex flex-row justify-content-end align-items-center"
1779
- // onClick={() => {
1780
- // if (langdetect == 'en') {
1781
- // setlang('ar');
1782
- // } else {
1783
- // setlang('en');
1784
- // }
1785
- // }}
1786
- // >
1787
- // {langdetect == 'en' && (
1788
- // <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1789
- // <img src={egyptflag} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
1790
- // </div>
1791
- // )}
1792
- // {langdetect == 'ar' && (
1793
- // <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1794
- // <img src={usflag} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
1795
- // </div>
1796
- // )}
1797
- // </div>
1798
- // </div>
1799
- // </div>
1800
- // </div>
1801
- // </div>
1802
- // {/* Lower Header */}
1803
- // {sectionproperties.showlowerheadersection == 'Show' && (
1804
- // <div class="col-lg-12 p-0 d-flex justify-content-center" style={{ background: sectionproperties.uppersection_bgcolor }}>
1805
- // <div class={`${header_cssstyles.divider}` + ' '}></div>
1806
- // </div>
1807
- // )}
1808
- // {sectionproperties.showlowerheadersection == 'Show' && (
1809
- // <div class={`${header_cssstyles.lowerheadercontainer}` + ' row w-100 m-0 align-items-center px-1025-1 '}>
1810
- // {sectionproperties.btninsearch != 'Show' && (
1811
- // <div
1812
- // class={' col-xl-2 col-lg-3 d-flex align-items-center '}
1813
- // onClick={() => {
1814
- // setdropdownselect(!dropdownselect);
1815
- // }}
1816
- // >
1817
- // <li class={langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'}>
1818
- // <div class={`${header_cssstyles.categorybtn}` + ' m-0 allcentered cursor-pointer '}>
1819
- // <i class={`${header_cssstyles.categorybtnicon}` + ' categorybtnicon d-flex align-items-center justify-content-center '}>
1820
- // <HiMenuAlt4 size={sectionproperties.icontextfontsize} />
1821
- // </i>
1822
- // <p class={langdetect == 'en' ? ' m-0 p-0 ml-2' : ' m-0 p-0 mr-2 '}>
1823
- // {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1824
- // </p>
1825
- // </div>
1826
- // <ul class="w-100 mt-2">
1827
- // {sectionproperties.fetchparenttype == 'Categories' &&
1828
- // authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
1829
- // var fetchedarray = authdetailsContext?.instinfo?.instcategories;
1830
- // if (item.isshowntocustomers == 1) {
1831
- // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1832
- // }
1833
- // })}
1834
- // {sectionproperties.fetchparenttype == 'Parent Collections' &&
1835
- // pcollarray?.map((item, index) => {
1836
- // var fetchedarray = pcollarray;
1837
- // if (item.isshowntocustomers == 1) {
1838
- // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1839
- // }
1840
- // })}
1841
- // {sectionproperties.fetchparenttype == 'Collections' &&
1842
- // authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
1843
- // var fetchedarray = authdetailsContext?.instinfo?.instcollections;
1844
- // if (item.isshowntocustomers == 1) {
1845
- // return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1846
- // }
1847
- // })}
1848
- // </ul>
1849
- // </li>
1850
- // </div>
1851
- // )}
1852
- // <div
1853
- // class={
1854
- // sectionproperties.btninsearch != 'Show'
1855
- // ? 'col-xl-10 col-lg-9 flex-row d-flex align-items-center justify-content-start'
1856
- // : 'col-xl-12 col-lg-9 flex-row d-flex align-items-center justify-content-start'
1857
- // }
1858
- // >
1859
- // <div
1860
- // class={' scrollhorizontal w-100 align-items-center justify-content-start '}
1861
- // style={{
1862
- // display: sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
1863
- // }}
1864
- // >
1865
- // {templatepropcontext.pagesnprop.map((item, index) => {
1866
- // var activeclass = '';
1867
- // var pagedisabled = '';
1868
- // if (item.isselected) {
1869
- // activeclass = header_cssstyles.navbar_item_active;
1870
- // }
1871
- // if (item.isnavigation == 1 && item.isactive == 1) {
1872
- // return (
1873
- // <div
1874
- // class={`${activeclass}` + ' cursor-pointer scrollhorizontalcard '}
1875
- // onClick={() => {
1876
- // routingcountext(item.navigationroute);
1877
- // }}
1878
- // style={{
1879
- // marginRight: langdetect == 'en' ? '25px' : 0,
1880
- // marginLeft: langdetect == 'en' ? 0 : '25px',
1881
- // }}
1882
- // >
1883
- // <div class={`${header_cssstyles.navbar_item_text}`}> {langdetect == 'en' ? item.pagename : item.pagename_ar}</div>
1884
- // </div>
1885
- // );
1886
- // }
1887
- // })}
1888
- // </div>
1889
- // {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
1890
- // <Subheader
1891
- // sectionpropertiesprops={sectionproperties}
1892
- // actions={actions}
1893
- // subheaderpropertiesprops={{
1894
- // subheaderpositionprops: 'in nav',
1895
- // paddingLeftprops: '25px',
1896
- // paddingRightprops: '25px',
1897
- // }}
1898
- // />
1899
- // )}
1900
- // </div>
1901
- // {sectionproperties.btninsearch == 'Show' && (
1902
- // <div
1903
- // class={'col-lg-3 d-none d-lg-flex flex-row justify-content-end align-items-center'}
1904
- // style={{
1905
- // position: 'relative',
1906
- // }}
1907
- // onClick={() => {
1908
- // setsidecartnavshowcontext(true);
1909
- // }}
1910
- // >
1911
- // <div style={{ position: 'relative' }} class={`${header_cssstyles.cart_btn}` + ' cursor-pointer d-flex align-items-center justify-content-end '}>
1912
- // <div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.cartbadge}`}>
1913
- // {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
1914
- // </div>
1915
- // <i class="h-100 allcentered">
1916
- // {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1917
- // {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1918
- // {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
1919
- // {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1920
- // {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1921
- // {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1922
- // </i>
1923
- // </div>
1924
- // <div class={langdetect == 'en' ? 'ml-2' : 'mr-2'}>
1925
- // <div class="row m-0 w-100 d-flex align-items-center flex-column justify-content-start">
1926
- // <p
1927
- // class="m-0 p-0 w-100"
1928
- // style={{
1929
- // textAlign: langdetect == 'en' ? 'left' : 'right',
1930
- // color: sectionproperties.cartBtnTextcolor,
1931
- // fontSize: sectionproperties.cartBtnTextfontsize + 'px',
1932
- // lineHeight: sectionproperties.cartBtnTextfontsize + 'px',
1933
- // fontWeight: sectionproperties.cartBtnTextfontweight,
1934
- // textTransform: sectionproperties.cartBtnTexttransform,
1935
- // cursor: 'pointer',
1936
- // }}
1937
- // >
1938
- // {lang.cart}
1939
- // </p>
1940
- // <p
1941
- // class="m-0 text-left"
1942
- // style={{
1943
- // color: sectionproperties.card_secondarycolor,
1944
- // fontSize: sectionproperties.secondaryfontsize + 'px',
1945
- // fontWeight: sectionproperties.secondaryfontweight,
1946
- // cursor: 'pointer',
1947
- // }}
1948
- // >
1949
- // {langdetect == 'en' ? authdetailsContext?.currencyname_en : ''} {subtotalcart()} {langdetect == 'en' ? '' : authdetailsContext?.currencyname_ar}
1950
- // </p>
1951
- // </div>
1952
- // </div>
1953
- // </div>
1954
- // )}
1955
- // </div>
1956
- // )}
1957
-
1958
- // {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
1959
- // <div class="col-lg-12 p-0">
1960
- // <Subheader
1961
- // actions={actions}
1962
- // sectionpropertiesprops={sectionproperties}
1963
- // subheaderpropertiesprops={{
1964
- // subheaderpositionprops: 'Full Width',
1965
- // paddingLeftprops: '25px',
1966
- // paddingRightprops: '25px',
1967
- // }}
1968
- // />
1969
- // </div>
1970
- // )}
1971
- // </div>
1972
- // <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />
1973
- // </div>
1974
- );
1975
- };
1976
- export default Header8;