tabexseriescomponents 0.0.655 → 0.0.657

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 (314) hide show
  1. package/dist/index.cjs.js +145 -566
  2. package/dist/index.esm.js +145 -566
  3. package/dist/index.umd.js +145 -566
  4. package/package.json +1 -1
  5. package/src 2.zip +0 -0
  6. package/src1-5.zip +0 -0
  7. package/src22-1/Contexts/LanguageContext.jsx +0 -405
  8. package/src22-1/Contexts/ProductsCardsSectionContext.jsx +0 -36
  9. package/src22-1/Imagekitconfig.jsx +0 -46
  10. package/src22-1/StylesJS/Customstyles.js +0 -344
  11. package/src22-1/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -376
  12. package/src22-1/TabexComponents/Cards/Card20/Card20.jsx +0 -282
  13. package/src22-1/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  14. package/src22-1/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  15. package/src22-1/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  16. package/src22-1/TabexComponents/Cards/Card23/Card23.jsx +0 -627
  17. package/src22-1/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  18. package/src22-1/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  19. package/src22-1/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  20. package/src22-1/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  21. package/src22-1/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -246
  22. package/src22-1/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  23. package/src22-1/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  24. package/src22-1/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  25. package/src22-1/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -181
  26. package/src22-1/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  27. package/src22-1/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -180
  28. package/src22-1/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -546
  29. package/src22-1/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -142
  30. package/src22-1/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  31. package/src22-1/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -379
  32. package/src22-1/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -543
  33. package/src22-1/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  34. package/src22-1/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  35. package/src22-1/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  36. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  37. package/src22-1/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -519
  38. package/src22-1/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  39. package/src22-1/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  40. package/src22-1/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  41. package/src22-1/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  42. package/src22-1/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  43. package/src22-1/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  44. package/src22-1/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  45. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  46. package/src22-1/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  47. package/src22-1/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -558
  48. package/src22-1/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  49. package/src22-1/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  50. package/src22-1/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -137
  51. package/src22-1/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -598
  52. package/src22-1/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -390
  53. package/src22-1/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  54. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  55. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -455
  56. package/src22-1/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -493
  57. package/src22-1/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  58. package/src22-1/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  59. package/src22-1/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -596
  60. package/src22-1/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  61. package/src22-1/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -528
  62. package/src22-1/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  63. package/src22-1/TabexComponents/Footer/Footer2/Footer2.jsx +0 -415
  64. package/src22-1/TabexComponents/Footer/Footer3/Footer3.jsx +0 -400
  65. package/src22-1/TabexComponents/Footer/Footer4/Footer4.jsx +0 -457
  66. package/src22-1/TabexComponents/Footer/Footer5/Footer5.jsx +0 -563
  67. package/src22-1/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  68. package/src22-1/TabexComponents/Footer/Footer7/Footer7.jsx +0 -428
  69. package/src22-1/TabexComponents/Footer/Footer8/Footer8.jsx +0 -473
  70. package/src22-1/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  71. package/src22-1/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -562
  72. package/src22-1/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -584
  73. package/src22-1/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  74. package/src22-1/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -316
  75. package/src22-1/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  76. package/src22-1/TabexComponents/Generalfiles/images/noimage.png +0 -0
  77. package/src22-1/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  78. package/src22-1/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  79. package/src22-1/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  80. package/src22-1/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  81. package/src22-1/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  82. package/src22-1/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  83. package/src22-1/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  84. package/src22-1/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  85. package/src22-1/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  86. package/src22-1/TabexComponents/Generalfiles/images/usflag.png +0 -0
  87. package/src22-1/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  88. package/src22-1/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1244
  89. package/src22-1/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1049
  90. package/src22-1/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -895
  91. package/src22-1/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1213
  92. package/src22-1/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  93. package/src22-1/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -780
  94. package/src22-1/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -771
  95. package/src22-1/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  96. package/src22-1/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  97. package/src22-1/TabexComponents/Headers/Header8/Header8.jsx +0 -1923
  98. package/src22-1/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -728
  99. package/src22-1/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -918
  100. package/src22-1/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -707
  101. package/src22-1/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  102. package/src22-1/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -847
  103. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1371
  104. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  105. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  106. package/src22-1/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -779
  107. package/src22-1/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  108. package/src22-1/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -934
  109. package/src22-1/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -64
  110. package/src22-1/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -732
  111. package/src22-1/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -778
  112. package/src22-1/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1162
  113. package/src22-1/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -835
  114. package/src22-1/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -128
  115. package/src22-1/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -854
  116. package/src22-1/TabexComponents/Headers/Subheader/Subheader.jsx +0 -662
  117. package/src22-1/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  118. package/src22-1/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  119. package/src22-1/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1045
  120. package/src22-1/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1089
  121. package/src22-1/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -936
  122. package/src22-1/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  123. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  124. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -802
  125. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  126. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  127. package/src22-1/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -274
  128. package/src22-1/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  129. package/src22-1/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  130. package/src22-1/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -392
  131. package/src22-1/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -291
  132. package/src22-1/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  133. package/src22-1/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -266
  134. package/src22-1/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  135. package/src22-1/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -414
  136. package/src22-1/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  137. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  138. package/src22-1/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -421
  139. package/src22-1/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -364
  140. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  141. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  142. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  143. package/src22-1/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1532
  144. package/src22-1/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -480
  145. package/src22-1/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  146. package/src22-1/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  147. package/src22-1/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -682
  148. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -635
  149. package/src22-1/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -920
  150. package/src22-1/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -517
  151. package/src22-1/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  152. package/src22-1/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -325
  153. package/src22-1/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  154. package/src22-1/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -257
  155. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  156. package/src22-1/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -757
  157. package/src22-1/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  158. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -633
  159. package/src22-1/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  160. package/src22-1/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  161. package/src22-1/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -380
  162. package/src22-1/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -400
  163. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  164. package/src22-1/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  165. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  166. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  167. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -331
  168. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  169. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -603
  170. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  171. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  172. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  173. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  174. package/src22-1/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -547
  175. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  176. package/src22-1/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -612
  177. package/src22-1/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -396
  178. package/src22-1/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -199
  179. package/src22-1/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -304
  180. package/src22-1/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -321
  181. package/src22-1/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -780
  182. package/src22-1/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  183. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  184. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1673
  185. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  186. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  187. package/src22-1/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  188. package/src22-1/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -439
  189. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  190. package/src22-1/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  191. package/src22-1/TabexComponents/StaticPages/Filter/Filter.jsx +0 -1845
  192. package/src22-1/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  193. package/src22-1/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  194. package/src22-1/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  195. package/src22-1/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  196. package/src22-1/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  197. package/src22-1/TabexComponents/StaticPages/Login/Login.jsx +0 -610
  198. package/src22-1/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -146
  199. package/src22-1/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1568
  200. package/src22-1/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  201. package/src22-1/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -113
  202. package/src22-1/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  203. package/src22-1/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  204. package/src22-1/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -130
  205. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  206. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -310
  207. package/src22-1/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -235
  208. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -1270
  209. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  210. package/src22-1/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  211. package/src22-1/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1729
  212. package/src22-1/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -552
  213. package/src22-1/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -754
  214. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -491
  215. package/src22-1/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  216. package/src22-1/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  217. package/src22-1/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -113
  218. package/src22-1/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -338
  219. package/src22-1/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -358
  220. package/src22-1/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -113
  221. package/src22-1/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  222. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  223. package/src22-1/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1344
  224. package/src22-1/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  225. package/src22-1/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -290
  226. package/src22-1/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -113
  227. package/src22-1/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  228. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  229. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  230. package/src22-1/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  231. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  232. package/src22-1/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  233. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -555
  234. package/src22-1/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  235. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  236. package/src22-1/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  237. package/src22-1/button.jsx +0 -40
  238. package/src22-1/index.jsx +0 -327
  239. package/src22-1/styles/Home.module.css +0 -129
  240. package/src22-1/styles/cards/Categorcycard_fullimage.module.css +0 -14
  241. package/src22-1/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  242. package/src22-1/styles/cards/Categorycard_withshapes.module.css +0 -189
  243. package/src22-1/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  244. package/src22-1/styles/cards/Productcard6.module.css +0 -9
  245. package/src22-1/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  246. package/src22-1/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  247. package/src22-1/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  248. package/src22-1/styles/cards/card23.module.css +0 -60
  249. package/src22-1/styles/cards/categorycard.module.css +0 -84
  250. package/src22-1/styles/cards/categorycard3.module.css +0 -50
  251. package/src22-1/styles/cards/categorycardwithtext.module.css +0 -40
  252. package/src22-1/styles/cards/generalCardsStyles.module.css +0 -79
  253. package/src22-1/styles/cards/productcard_animatedbuttons.module.css +0 -139
  254. package/src22-1/styles/cards/productcard_with_textonhover.module.css +0 -18
  255. package/src22-1/styles/cards/productcard_withtextonimage.module.css +0 -0
  256. package/src22-1/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  257. package/src22-1/styles/general/bootstrap.css +0 -4763
  258. package/src22-1/styles/general/dropdown.css +0 -206
  259. package/src22-1/styles/general/editorbardropdown.module.css +0 -94
  260. package/src22-1/styles/general/filter.module.css +0 -108
  261. package/src22-1/styles/general/form.module.css +0 -255
  262. package/src22-1/styles/general/general.module.css +0 -872
  263. package/src22-1/styles/general/image-gallery.css +0 -531
  264. package/src22-1/styles/general/react-accessible-accordion.module.css +0 -52
  265. package/src22-1/styles/general/react-phone-input-2.module.css +0 -927
  266. package/src22-1/styles/general/scrollbtn.module.css +0 -22
  267. package/src22-1/styles/general/slick.module.css +0 -166
  268. package/src22-1/styles/general/tabs.module.css +0 -119
  269. package/src22-1/styles/general/workplaceeditor.module.css +0 -328
  270. package/src22-1/styles/globals.css +0 -26
  271. package/src22-1/styles/headers/CTAHeader.module.css +0 -40
  272. package/src22-1/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  273. package/src22-1/styles/headers/Gotoheader.module.css +0 -81
  274. package/src22-1/styles/headers/Header7.module.css +0 -50
  275. package/src22-1/styles/headers/HeaderWithAdSlider.module.css +0 -86
  276. package/src22-1/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  277. package/src22-1/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  278. package/src22-1/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  279. package/src22-1/styles/headers/NewHeader.module.css +0 -101
  280. package/src22-1/styles/headers/SearchFocusedHeader.module.css +0 -62
  281. package/src22-1/styles/headers/Sideheader.module.css +0 -108
  282. package/src22-1/styles/headers/Simpleheader.module.css +0 -102
  283. package/src22-1/styles/headers/classicheader.module.css +0 -16
  284. package/src22-1/styles/headers/classicheaderstyles.module.css +0 -9
  285. package/src22-1/styles/headers/dropdown.css +0 -0
  286. package/src22-1/styles/headers/header4.module.css +0 -175
  287. package/src22-1/styles/headers/header5.module.css +0 -30
  288. package/src22-1/styles/headers/header_contactinfo.module.css +0 -53
  289. package/src22-1/styles/headers/headerresturant.module.css +0 -89
  290. package/src22-1/styles/headers/modernheader.module.css +0 -45
  291. package/src22-1/styles/headers/stylishheader.module.css +0 -24
  292. package/src22-1/styles/headers/subheader.module.css +0 -114
  293. package/src22-1/styles/headers/threetieredheader.module.css +0 -91
  294. package/src22-1/styles/sections/BackgroundImageWithTopContent.css +0 -4
  295. package/src22-1/styles/sections/Backgroundimage1.module.css +0 -17
  296. package/src22-1/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  297. package/src22-1/styles/sections/Freetext.module.css +0 -18
  298. package/src22-1/styles/sections/Section_with_rightbgcont.module.css +0 -49
  299. package/src22-1/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  300. package/src22-1/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  301. package/src22-1/styles/staticpages/accordion.module.css +0 -9
  302. package/src22-1/styles/staticpages/cart.module.css +0 -108
  303. package/src22-1/styles/staticpages/dropdown.css +0 -196
  304. package/src22-1/styles/staticpages/filter.module.css +0 -139
  305. package/src22-1/styles/staticpages/image-gallery.css +0 -481
  306. package/src22-1/styles/staticpages/login.module.css +0 -155
  307. package/src22-1/styles/staticpages/productinfo.module.css +0 -54
  308. package/src22-1/styles/staticpages/shop.module.css +0 -191
  309. package/src22-1/styles/staticpages/signup.module.css +0 -250
  310. package/src22-1/styles/staticpages/staticroutersidenav.module.css +0 -129
  311. package/src22-1/styles/staticpages/viewcart.module.css +0 -129
  312. package/src22-1/styles/staticpages/wishlist.module.css +0 -29
  313. package/srcbeforeedits.zip +0 -0
  314. package/srclib1-5.2.zip +0 -0
@@ -1,1213 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import headerstyles from '../../../styles/headers/classicheader.module.css';
3
- import { css } from 'glamor';
4
- import Dropdown from 'react-bootstrap/Dropdown';
5
- import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
6
- import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
7
- import Subheader from '../Subheader/Subheader.jsx';
8
- import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
9
- import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
10
- import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
11
- import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
12
- import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
13
- import { FiUser } from '@react-icons/all-files/fi/FiUser';
14
- import { FiSearch } from '@react-icons/all-files/fi/FiSearch';
15
- import { BsBag } from '@react-icons/all-files/bs/BsBag';
16
- import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
17
- import { BsSearch } from '@react-icons/all-files/bs/BsSearch';
18
- import { AiOutlinePhone } from '@react-icons/all-files/ai/AiOutlinePhone';
19
- import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
20
- import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
21
- import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
22
- import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
23
- import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
24
- import { AiOutlineUserAdd } from '@react-icons/all-files/ai/AiOutlineUserAdd';
25
- import { AiOutlineLogin } from '@react-icons/all-files/ai/AiOutlineLogin';
26
- import { AiOutlineUser } from '@react-icons/all-files/ai/AiOutlineUser';
27
- import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
28
- import { AiOutlineHeart } from '@react-icons/all-files/ai/AiOutlineHeart';
29
- import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
30
- import MarqueeHeader from '../MarqueeHeader/MarqueeHeader.jsx';
31
- import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
32
-
33
- const ClassicHeader = (props) => {
34
- const LogoutMutationContext = props.actions.LogoutMutationContext;
35
- const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
36
- const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
37
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
38
- const lang = props.actions.lang;
39
- const langdetect = props.actions.langdetect;
40
- const setlang = props.actions.setlang;
41
- const templatepropcontext = props.actions.templatepropcontext;
42
- const authdetailsContext = props.actions.authdetailsContext;
43
- const templateproperties_context = props.actions.templateproperties_context;
44
- const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
45
- const routingcountext = props.actions.routingcountext;
46
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
47
- const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
48
- const ikimagecredcontext = props.actions.ikimagecredcontext;
49
- const actions = props.actions;
50
- const [sectionproperties, setsectionproperties] = useState('');
51
- useEffect(() => {
52
- var secpropobj = {};
53
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
54
- if (sectionitem.sectionid == props.sectionidprops) {
55
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
56
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
57
- });
58
- }
59
- });
60
- if (Object.keys(secpropobj).length === 0) {
61
- props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
62
- secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
63
- });
64
- }
65
- setsectionproperties({ ...secpropobj });
66
- }, [StatePagePropertiesContext]);
67
- const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
68
- useEffect(() => {
69
- if (templateproperties_context != undefined) {
70
- if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
71
- var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
72
- if (Array.isArray(logoarrayofobjectsparsed)) {
73
- setlogoarrayofobjects([...logoarrayofobjectsparsed]);
74
- }
75
- }
76
- }
77
- }, [templateproperties_context]);
78
- const header_cssstyles = {
79
- upperHeaderSection: css({
80
- background: sectionproperties.uppersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.uppersection_bgcolor,
81
- paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
82
- paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
83
- paddingTop: sectionproperties.uppersection_paddingtop + 'px',
84
- paddingBottom: sectionproperties.uppersection_paddingbottom + 'px',
85
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.uppersection_bblradius + 'px' : sectionproperties.uppersection_bbrradius + 'px',
86
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.uppersection_bbrradius + 'px' : sectionproperties.uppersection_bblradius + 'px',
87
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.uppersection_btlradius + 'px' : sectionproperties.uppersection_btrradius + 'px',
88
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.uppersection_btrradius + 'px' : sectionproperties.uppersection_btlradius + 'px',
89
- }),
90
- lowerHeaderSection: css({
91
- background: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
92
- paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
93
- paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
94
- paddingTop: sectionproperties.lowersection_paddingtop + 'px',
95
- paddingBottom: sectionproperties.lowersection_paddingbottom + 'px',
96
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderBottomLeftRadius + 'px' : sectionproperties.lowersection_BorderBottomRightRadius + 'px',
97
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.lowersection_BorderBottomRightRadius + 'px' : sectionproperties.lowersection_borderBottomLeftRadius + 'px',
98
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopLeftRadius + 'px' : sectionproperties.lowersection_borderTopRightRadius + 'px',
99
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopRightRadius + 'px' : sectionproperties.lowersection_borderTopLeftRadius + 'px',
100
- }),
101
- header_logo: css({
102
- width: templateproperties_context.logo_width + 'px',
103
- height: templateproperties_context.logo_height + 'px',
104
- }),
105
- navbar_item_text: css({
106
- color: sectionproperties.lowersection_fontColor,
107
- fontSize: sectionproperties.lowersection_fontsize + 'px',
108
- textTransform: sectionproperties.lowersection_textTransform,
109
- fontWeight: sectionproperties.lowersection_textfontweight,
110
- transition: '0.3s',
111
- display: 'block',
112
- position: 'relative',
113
- ':hover': {
114
- color: sectionproperties.lowersection_fontColoronhover,
115
- },
116
- }),
117
- user_btn: css({
118
- fontSize: sectionproperties.userBtntextfontsize + 'px',
119
- color: sectionproperties.userBtnTextcolor,
120
- fontWeight: sectionproperties.userBtnTextfontweight,
121
- textTransform: sectionproperties.userBtnTexttransform,
122
- cursor: 'pointer',
123
- transition: '.3s',
124
- ':hover': {
125
- color: sectionproperties.userBtnTextcoloronhover,
126
- },
127
- }),
128
- loggedinusername: css({
129
- fontWeight: sectionproperties.userBtnTextfontweight,
130
- textTransform: sectionproperties.userBtnTexttransform,
131
- color: sectionproperties.userBtnTextcolor,
132
- fontSize: sectionproperties.userBtntextfontsize + 'px',
133
- lineHeight: sectionproperties.userBtntextfontsize + 'px',
134
- transition: '.3s',
135
- maxWidth: '80px',
136
- }),
137
- userBtnContainer: css({
138
- ':hover .user_btn': {
139
- color: sectionproperties.userBtnTextcoloronhover,
140
- },
141
- }),
142
- loggedinuserbtn: css({
143
- width: sectionproperties.loggedinuserbtn_width + 'px',
144
- height: sectionproperties.loggedinuserbtn_height + 'px',
145
- border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
146
- borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
147
- background: sectionproperties.userBtnbgColor_loggedin,
148
- color: sectionproperties.userBtniconcolor_loggedin,
149
- transition: '.3s',
150
- ':hover': {
151
- backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
152
- },
153
- }),
154
- greetingstyles: css({
155
- color: sectionproperties.greetingtextcolor,
156
- fontSize: sectionproperties.greetingtextfontsize + 'px',
157
- lineHeight: sectionproperties.greetingtextfontsize + 'px',
158
- fontWeight: 400,
159
- }),
160
- userBtnLoggedinContainer: css({
161
- transition: '.3s',
162
- ':hover .loggedinuserbtn': {
163
- transition: '.3s',
164
- color: sectionproperties.userBtnTextcoloronhover_loggedin,
165
- },
166
- ':hover .loggedinuserbtnbg': {
167
- backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
168
- color: sectionproperties.userbtn_loggedin_iconcoloronhover,
169
- borderColor: sectionproperties.userbtn_loggedin_iconcoloronhover,
170
- },
171
- }),
172
- cartbtnicon: css({
173
- color: sectionproperties.cart_iconcolor,
174
- transition: '.3s',
175
- }),
176
- cartbtntext: css({
177
- fontSize: sectionproperties.cartBtnTextfontsize + 'px',
178
- textTransform: sectionproperties.cartBtnTexttransform,
179
- fontWeight: sectionproperties.cartBtnTextfontweight,
180
- color: sectionproperties.cartBtnTextcolor,
181
- transition: '.3s',
182
- }),
183
- cartbtncontainer: css({
184
- cursor: 'pointer',
185
- ':hover .cartbtnicon': {
186
- color: sectionproperties.cartBtnTextcoloronhover,
187
- },
188
- }),
189
- wishlist_btn: css({
190
- position: 'relative',
191
- fontSize: sectionproperties.favBtnTextfontsize + 'px',
192
- fontWeight: sectionproperties.favBtnTextfontweight,
193
- color: sectionproperties.favBtnTextcolor,
194
- cursor: 'pointer',
195
- transition: '.3s',
196
- ':hover .wishlist_btn': {
197
- transition: '.3s',
198
- color: sectionproperties.favBtnTextcoloronhover,
199
- },
200
- }),
201
- favbtnicon: css({
202
- fontSize: sectionproperties.favBtnIconfontsize + 'px',
203
- color: sectionproperties.favBtniconcolor,
204
- }),
205
- wishlistbadge: css({
206
- top: sectionproperties.wishlistbadgetop + 'px',
207
- right: sectionproperties.wishlistbadgeright + 'px',
208
- }),
209
- badge_counter_header_notifications: css({
210
- background: sectionproperties.badge_bgcolor,
211
- width: sectionproperties.badge_width + 'px',
212
- height: sectionproperties.badge_height + 'px',
213
- color: sectionproperties.badge_color,
214
- borderRadius: sectionproperties.badge_borderradius + 'px',
215
- fontSize: sectionproperties.badge_fontsize + 'px',
216
- position: 'absolute',
217
- transform: 'scale(0.3)',
218
- transformOrigin: 'top right',
219
- display: 'flex',
220
- alignItems: 'center',
221
- justifyContent: 'center',
222
- }),
223
- searchbarcont: css({
224
- position: 'relative',
225
- transition: '.3s',
226
- height: sectionproperties.searchbarcont_height + 'px',
227
- background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
228
- width: sectionproperties.searchbarcont_width + 'px',
229
- borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
230
- border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
231
- }),
232
- searchbar_icon_cont: css({
233
- width: sectionproperties.searchbaricon_width + 'px',
234
- height: sectionproperties.searchbaricon_height + 'px',
235
- borderRadius: sectionproperties.searchbaricon_borderBottomLeftRadius + 'px',
236
- color: sectionproperties.searchbaricon_color,
237
- backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor,
238
- transition: '0.3s ease',
239
- position: 'absolute',
240
- right: langdetect == 'en' ? 0 : '',
241
- left: langdetect == 'en' ? '' : 0,
242
- transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
243
- bottom: sectionproperties.searchbaricon_bottom + 'px',
244
- // top: 0,
245
- margin: 'auto',
246
- }),
247
- searchbarcont_input: css({
248
- height: '100%',
249
- width: '100%',
250
- outline: 'none',
251
- background: 'transparent',
252
- color: sectionproperties.searchbarcontinput_color,
253
- fontWeight: sectionproperties.searchbarcont_inputfontweight,
254
- fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
255
- borderBottom: sectionproperties.searchbarcontinput_borderBottom + 'px solid ' + sectionproperties.searchbarcontinput_borderBottomcolor,
256
- paddingLeft: langdetect == 'en' ? sectionproperties.searchbarcont_paddingLeft + 'px' : sectionproperties.searchbarcont_paddingRight + 'px',
257
- paddingRight: langdetect == 'en' ? sectionproperties.searchbarcont_paddingRight + 'px' : sectionproperties.searchbarcont_paddingLeft,
258
- transition: '0.3s',
259
- ':focus': {
260
- borderColor: sectionproperties.searchbarcontinput_bordercoloronfocus,
261
- },
262
- }),
263
- dropdownitemcontainer: css({
264
- fontSize: sectionproperties.dropdown_fontsize + 'px',
265
- color: sectionproperties.dropdown_color,
266
- fontWeight: sectionproperties.dropdown_fontweight,
267
- textTransform: sectionproperties.dropdown_texttransform,
268
- padding: '0.3rem 0.8rem',
269
- display: 'flex',
270
- alignItems: 'center',
271
- transition: '.3s',
272
- ':hover': {
273
- color: sectionproperties.dropdown_hovercolor,
274
- },
275
- }),
276
- languagecontainer: css({
277
- color: sectionproperties.language_container_color,
278
- fontSize: sectionproperties.language_container_fontsize + 'px',
279
- fontWeight: 600,
280
- cursor: 'pointer',
281
- transition: '.3s',
282
- ':hover': {
283
- color: sectionproperties.language_container_coloronhover,
284
- },
285
- }),
286
- walletoutercontainer: css({
287
- height: templateproperties_context.walletcontainerheight + 'px',
288
- width: 'fit-content',
289
- border: '2px dashed white',
290
- borderRadius: 5,
291
- }),
292
- };
293
-
294
- return (
295
- <div
296
- class={' row m-0 w-100 d-flex justify-content-center '}
297
- style={{
298
- background: sectionproperties.header_backgroundColor,
299
- }}
300
- >
301
- {sectionproperties.showwhatsapp == 'Show' && (
302
- <a
303
- href={'https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber}
304
- target={'_blank'}
305
- style={{ position: 'fixed', bottom: 10, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}
306
- >
307
- <div
308
- style={{
309
- width: 40,
310
- height: 40,
311
- borderRadius: 100,
312
- background: '#25D366',
313
- cursor: 'pointer',
314
- }}
315
- >
316
- <i class="h-100 allcentered">
317
- <FaWhatsapp size={25} color={'#fff'} />
318
- </i>
319
- </div>
320
- </a>
321
- )}
322
- {sectionproperties.showwhatsapp == 'Show' && (
323
- <a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_blank'} style={{ position: 'fixed', bottom: 60, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}>
324
- <div
325
- style={{
326
- width: 40,
327
- height: 40,
328
- borderRadius: 100,
329
- background: '#000',
330
- cursor: 'pointer',
331
- }}
332
- >
333
- <i class="h-100 allcentered">
334
- <AiOutlinePhone
335
- size={25}
336
- color={'#fff'}
337
- style={{
338
- transform: langdetect == 'en' ? 'scaleX(-1)' : 'scaleX(1)',
339
- }}
340
- />
341
- </i>
342
- </div>
343
- </a>
344
- )}
345
- <div
346
- class="row m-0"
347
- style={{
348
- width: sectionproperties.header_width + 'vw',
349
- }}
350
- >
351
- {templateproperties_context.showtextslider == 'Show' && (
352
- <MarqueeHeader sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
353
- )}
354
- <div
355
- class={`${headerstyles.headercontainer}` + ' col-lg-12 pl-0 pr-0 d-md-none '}
356
- style={{
357
- position: sectionproperties.headerstyles_position,
358
- paddingBottom: sectionproperties.header_paddingBottom + 'px',
359
- top: 0,
360
- }}
361
- >
362
- <div class="row m-0 w-100">
363
- <div class={' col-lg-12 d-flex align-items-center p-0 '}>
364
- <div class={`${header_cssstyles.upperHeaderSection}` + ' row m-0 w-100 d-flex align-items-center px-1025-1 '}>
365
- <div class="col-lg-4 d-flex justify-content-start">
366
- <div
367
- class={`${header_cssstyles.header_logo}`}
368
- style={{ cursor: 'pointer' }}
369
- onClick={() => {
370
- routingcountext('home');
371
- }}
372
- >
373
- <Imagekitimagecomp
374
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
375
- publicKey={ikimagecredcontext?.ikimagepublickey}
376
- path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
377
- style={{
378
- width: '100%',
379
- height: '100%',
380
- objectFit: 'contain',
381
- }}
382
- />
383
- </div>
384
- </div>
385
- <div class="col-lg-8 d-flex justify-content-end align-items-center">
386
- <div
387
- class={header_cssstyles.searchbarcont}
388
- style={{ position: 'relative', marginRight: langdetect == 'en' ? '1.9rem' : '', marginLeft: langdetect == 'ar' ? '1.9rem' : '' }}
389
- >
390
- <input
391
- type="text"
392
- placeholder={langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar}
393
- class={`${header_cssstyles.searchbarcont_input}`}
394
- onChange={(event) => {
395
- setSearchHeaderInputContext(event.target.value);
396
- }}
397
- />
398
- <div class={` ${header_cssstyles.searchbar_icon_cont}` + ' d-flex align-items-center justify-content-center '}>
399
- <FiSearch color={sectionproperties.searchbaricon_color} size={sectionproperties.searchbaricon_fontsize} />
400
- </div>
401
- <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'headerfullwidth'} actions={actions} />
402
- </div>
403
- <Dropdown
404
- style={{
405
- marginRight: langdetect == 'en' ? '2.2rem' : '',
406
- marginLeft: langdetect == 'ar' ? '2.2rem' : '',
407
- }}
408
- >
409
- <Dropdown.Toggle>
410
- {!authdetailsContext.loggedin && (
411
- <div
412
- class={` ${header_cssstyles.user_btn}` + ' d-flex align-items-center justify-content-center '}
413
- sytle={{ position: 'relative' }}
414
- onClick={() => {
415
- routingcountext(StaticPagesLinksContext.Login);
416
- }}
417
- >
418
- <i class={' h-100 d-flex align-items-center '}>
419
- <FiUser size={sectionproperties.userBtniconfontsize} />
420
- </i>
421
- <p
422
- class="mb-0 p-0 pt-1"
423
- style={{
424
- marginLeft: langdetect == 'en' ? '8px' : 0,
425
- marginRight: langdetect == 'ar' ? '8px' : 0,
426
- }}
427
- >
428
- {lang.login}
429
- </p>
430
- </div>
431
- )}
432
- {authdetailsContext.loggedin && (
433
- <div class={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
434
- <div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
435
- <i class={' h-100 allcentered '}>
436
- <FiUser size={sectionproperties.loggedinusericonfontsize} />
437
- </i>
438
- </div>
439
- <div
440
- class="m-0 p-0 loggedinuserbtn flex-column"
441
- style={{
442
- textAlign: langdetect == 'en' ? 'left' : 'right',
443
- }}
444
- >
445
- {authdetailsContext?.customerinfo?.cancustomerviewwallet != 1 && templateproperties_context.showwallet == 'Hide' && (
446
- <p
447
- class="m-0 p-0"
448
- style={{
449
- color: sectionproperties.greetingtextcolor,
450
- fontSize: sectionproperties.greetingtextfontsize + 'px',
451
- lineHeight: sectionproperties.greetingtextfontsize + 'px',
452
- fontWeight: 400,
453
- }}
454
- >
455
- {lang.hello}
456
- {langdetect == 'en' ? ',' : '،'}
457
- </p>
458
- )}
459
- <p class={header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow '}>{authdetailsContext?.customerinfo?.name}</p>
460
- {authdetailsContext?.customerinfo?.cancustomerviewwallet == 1 && templateproperties_context.showwallet == 'Show' && (
461
- <div class={' m-0 p-0 d-flex justify-content-start flex-row '} style={{}}>
462
- <p
463
- class="m-0 p-0"
464
- style={{
465
- color: templateproperties_context.walletcolor,
466
- fontSize: templateproperties_context.walletfontize + 'px',
467
- fontWeight: 500,
468
- }}
469
- >
470
- {langdetect == 'en' ? templateproperties_context.walletcontent_en : templateproperties_context.walletcontent_ar}
471
- </p>
472
- <p
473
- class="m-0 p-0 mx-1"
474
- style={{
475
- color: templateproperties_context.walletsecondarycolor,
476
- fontSize: '15px',
477
- fontWeight: 600,
478
- }}
479
- >
480
- {authdetailsContext?.customerinfo?.walletpoints}{' '}
481
- </p>
482
- </div>
483
- )}
484
- </div>
485
- </div>
486
- )}
487
- </Dropdown.Toggle>
488
- {!authdetailsContext.loggedin && (
489
- <Dropdown.Menu>
490
- <Dropdown.Item
491
- onClick={() => {
492
- routingcountext(StaticPagesLinksContext.Login);
493
- }}
494
- >
495
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
496
- <p class={' d-flex align-items-center m-0 p-0 '}>
497
- <AiOutlineLogin class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
498
- <span>{lang.login}</span>
499
- </p>
500
- </div>
501
- </Dropdown.Item>
502
- <Dropdown.Divider></Dropdown.Divider>
503
- <Dropdown.Item
504
- onClick={() => {
505
- routingcountext(StaticPagesLinksContext.Signup);
506
- }}
507
- >
508
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
509
- <p class={' d-flex align-items-center m-0 p-0 '}>
510
- <AiOutlineUserAdd class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
511
- <span class="text-transform-none">{lang.signup}</span>
512
- </p>
513
- </div>
514
- </Dropdown.Item>
515
- </Dropdown.Menu>
516
- )}
517
- {authdetailsContext.loggedin && (
518
- <Dropdown.Menu style={{ minWidth: '200px' }}>
519
- <Dropdown.Item
520
- onClick={() => {
521
- routingcountext(StaticPagesLinksContext.accountinfo);
522
- }}
523
- >
524
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
525
- <i class="h-100 allcentered">
526
- <AiOutlineUserAdd class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
527
- </i>
528
- <p class={' allcenetered m-0 p-0 '}>{langdetect == 'en' ? 'My Account' : 'حسابى'}</p>
529
- </div>
530
- </Dropdown.Item>
531
- <Dropdown.Divider></Dropdown.Divider>
532
- <Dropdown.Item
533
- onClick={() => {
534
- routingcountext(StaticPagesLinksContext.Ordershistory);
535
- }}
536
- >
537
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
538
- <i class="h-100 allcentered">
539
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
540
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
541
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
542
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
543
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
544
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
545
- {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
546
- </i>
547
- <p class={' allcenetered m-0 p-0 '}>{lang.orderhistory}</p>
548
- </div>
549
- </Dropdown.Item>
550
- <Dropdown.Divider></Dropdown.Divider>
551
- <Dropdown.Item
552
- onClick={() => {
553
- routingcountext(StaticPagesLinksContext.Wishlist);
554
- }}
555
- >
556
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
557
- <i class="h-100 allcentered">
558
- {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
559
- {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
560
- </i>
561
- <p class={' allcenetered m-0 p-0 '}>{lang.wishlist}</p>
562
- </div>
563
- </Dropdown.Item>
564
- <Dropdown.Divider></Dropdown.Divider>
565
- <Dropdown.Item
566
- onClick={() => {
567
- routingcountext(StaticPagesLinksContext.Policies);
568
- }}
569
- >
570
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
571
- <i class="h-100 allcentered">
572
- <AiOutlineSecurityScan class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
573
- </i>
574
- <p class={' allcenetered m-0 p-0 '}>{lang.policies}</p>
575
- </div>
576
- </Dropdown.Item>
577
- <Dropdown.Divider></Dropdown.Divider>
578
- <Dropdown.Item
579
- onClick={() => {
580
- LogoutMutationContext.mutate();
581
- }}
582
- >
583
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
584
- <i class="h-100 allcentered">
585
- <BiLogOutCircle class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
586
- </i>
587
- <p class={' allcenetered m-0 p-0 '}>{lang.logout}</p>
588
- </div>
589
- </Dropdown.Item>
590
- </Dropdown.Menu>
591
- )}
592
- </Dropdown>
593
- <div
594
- class={`${header_cssstyles.wishlist_btn}` + ' wishlist_btn d-flex justify-content-center align-items-center '}
595
- style={{
596
- marginRight: langdetect == 'en' ? '2.2rem' : '',
597
- marginLeft: langdetect == 'ar' ? '2.2rem' : '',
598
- }}
599
- onClick={() => {
600
- routingcountext(StaticPagesLinksContext.Wishlist);
601
- }}
602
- >
603
- <div
604
- style={{
605
- position: 'relative',
606
- }}
607
- >
608
- <i class={header_cssstyles.favbtnicon + ' wishlist_btn h-100 d-flex align-items-center '}>
609
- {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
610
- {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar />}
611
- </i>
612
- <div class={` ${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}` + ' d-flex justify-content-center text-center '}>
613
- <span>{favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}</span>
614
- </div>
615
- </div>
616
- <span
617
- class="mb-0 p-0 wishlist_btn"
618
- style={{
619
- marginLeft: langdetect == 'en' ? '8px' : 0,
620
- marginRight: langdetect == 'ar' ? '8px' : 0,
621
- }}
622
- >
623
- {lang.wishlist}
624
- </span>
625
- </div>
626
- <div
627
- class={header_cssstyles.cartbtncontainer + ' d-flex flex-row align-items-center justify-content-end '}
628
- style={{
629
- marginRight: langdetect == 'en' ? '2.2rem' : '',
630
- marginLeft: langdetect == 'ar' ? '2.2rem' : '',
631
- }}
632
- onClick={() => {
633
- setsidecartnavshowcontext(true);
634
- }}
635
- >
636
- <div class={`${header_cssstyles.cartbtnicon}` + ' allcentered cartbtnicon '} style={{ position: 'relative' }}>
637
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
638
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
639
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
640
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
641
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
642
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
643
- {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtn_iconFontSize} />}
644
-
645
- <div
646
- class={`${header_cssstyles.badge_counter_header_notifications}`}
647
- style={{
648
- top: sectionproperties.cartbadgetop + 'px',
649
- right: sectionproperties.cartbadgeright + 'px',
650
- }}
651
- >
652
- {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
653
- </div>
654
- </div>
655
- <p
656
- class={header_cssstyles.cartbtntext + ' mb-0 p-0 cartbtnicon '}
657
- style={{
658
- marginLeft: langdetect == 'en' ? '9px' : 0,
659
- marginRight: langdetect == 'ar' ? '9px' : 0,
660
- }}
661
- >
662
- {langdetect == 'en' ? sectionproperties.cartBtnContentenglish : sectionproperties.cartBtnContentarabic}
663
- </p>
664
- </div>
665
-
666
- <div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
667
- <Dropdown>
668
- <Dropdown.Toggle>
669
- <li class={' d-flex align-items-center justify-content-center '}>
670
- {langdetect == 'en' && (
671
- <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
672
- <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2.2vh', maxHeight: '2.2vh' }} />
673
- <MdKeyboardArrowDown class="ml-2 mr-2" size={sectionproperties.language_container_fontsize} />
674
- </div>
675
- )}
676
- {langdetect == 'ar' && (
677
- <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
678
- <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2.2vh', maxHeight: '2.2vh' }} />
679
- <MdKeyboardArrowDown class="ml-2 mr-2" size={sectionproperties.language_container_fontsize} />
680
- </div>
681
- )}
682
- </li>
683
- </Dropdown.Toggle>
684
- <Dropdown.Menu>
685
- <Dropdown.Item
686
- onClick={() => {
687
- setlang('ar');
688
- }}
689
- >
690
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
691
- <p
692
- class={'dropdownitem d-flex align-items-center m-0 p-0'}
693
- style={{
694
- fontSize: sectionproperties.dropdown_fontsize + 'px',
695
- fontWeight: sectionproperties.dropdown_fontweight,
696
- textTransform: sectionproperties.dropdown_texttransform,
697
- }}
698
- >
699
- <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
700
- <span class={'ml-2 mr-2'}>{'لغة عربية'}</span>
701
- </p>
702
- </div>
703
- </Dropdown.Item>
704
- <Dropdown.Divider></Dropdown.Divider>
705
- <Dropdown.Item
706
- onClick={() => {
707
- setlang('en');
708
- }}
709
- >
710
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
711
- <p
712
- class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
713
- style={{
714
- fontSize: sectionproperties.dropdown_fontsize + 'px',
715
- fontWeight: sectionproperties.dropdown_fontweight,
716
- textTransform: sectionproperties.dropdown_texttransform,
717
- }}
718
- >
719
- <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
720
- <span class={'ml-2 mr-2'}>{'English'}</span>
721
- </p>
722
- </div>
723
- </Dropdown.Item>
724
- </Dropdown.Menu>
725
- </Dropdown>
726
- </div>
727
- </div>
728
- </div>
729
- </div>
730
- <div class="col-lg-12 allcentered p-0">
731
- <div
732
- style={{
733
- background: sectionproperties.upperseparatorbgcolor,
734
- height: sectionproperties.upperseparatorheight + 'px',
735
- width: sectionproperties.upperseparatorwidth + '%',
736
- }}
737
- />
738
- </div>
739
- <div class={' col-lg-12 p-0 '}>
740
- <div class={header_cssstyles.lowerHeaderSection + ' w-100 px-1025-1 '}>
741
- <div
742
- class={' scrollhorizontal w-100 align-items-center '}
743
- style={{
744
- display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
745
- justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start',
746
- }}
747
- >
748
- {templatepropcontext?.pagesnprop?.map((item, index) => {
749
- if (item.isnavigation == 1 && item.isactive == 1) {
750
- return (
751
- <li
752
- class="cursor-pointer"
753
- style={{
754
- paddingRight: langdetect == 'en' ? '2rem' : sectionproperties.header_centered == 'Centered' ? '2rem' : 0,
755
- paddingLeft: langdetect == 'ar' ? '2rem' : sectionproperties.header_centered == 'Centered' ? '2rem' : 0,
756
- }}
757
- onClick={() => {
758
- routingcountext(item.navigationroute, false, '');
759
- }}
760
- >
761
- <div class={`${header_cssstyles.navbar_item_text}` + ' navbar_item_text '}>{langdetect == 'en' ? item.pagename : item.pagename_ar}</div>
762
- </li>
763
- );
764
- }
765
- })}
766
- </div>
767
- {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
768
- <Subheader
769
- sectionpropertiesprops={sectionproperties}
770
- actions={actions}
771
- subheaderpropertiesprops={{
772
- subheaderpositionprops: 'in nav',
773
- paddingLeftprops: '1.5rem',
774
- paddingRightprops: '1.5rem',
775
- subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start',
776
- }}
777
- />
778
- )}
779
- </div>
780
- </div>
781
- <div class="col-lg-12 p-0">
782
- {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
783
- <Subheader
784
- sectionpropertiesprops={sectionproperties}
785
- actions={actions}
786
- subheaderpropertiesprops={{
787
- subheaderpositionprops: 'Full Width',
788
- paddingLeftprops: '35px',
789
- paddingRightprops: '35px',
790
- subheadercontentpositionprops: 'center',
791
- }}
792
- />
793
- )}
794
- </div>
795
- </div>
796
- </div>
797
- </div>
798
- <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />
799
- </div>
800
- // <div
801
- // class={' row m-0 w-100 d-flex justify-content-center '}
802
- // style={{
803
- // background: sectionproperties.header_backgroundColor,
804
- // }}
805
- // >
806
- // <div
807
- // class="row m-0"
808
- // style={{
809
- // width: sectionproperties.header_width + 'vw',
810
- // }}
811
- // >
812
- // <div
813
- // class={`${headerstyles.headercontainer}` + ' col-lg-12 pl-0 pr-0 d-md-none '}
814
- // style={{
815
- // position: sectionproperties.headerstyles_position,
816
- // paddingBottom: sectionproperties.header_paddingBottom + 'px',
817
- // top: 0,
818
- // }}
819
- // >
820
- // <div class="row m-0 w-100">
821
- // <div class={' col-lg-12 d-flex align-items-center p-0 '}>
822
- // <div class={`${header_cssstyles.upperHeaderSection}` + ' row m-0 w-100 d-flex align-items-center '}>
823
- // <div class="col-lg-4 d-flex justify-content-start">
824
- // <div
825
- // class={`${header_cssstyles.header_logo}`}
826
- // style={{ cursor: 'pointer' }}
827
- // onClick={() => {
828
- // routingcountext('home');
829
- // }}
830
- // >
831
- // <Imagekitimagecomp
832
- // urlEndpoint={ikimagecredcontext?.ikimageendpoint}
833
- // publicKey={ikimagecredcontext?.ikimagepublickey}
834
- // path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
835
- // style={{
836
- // width: '100%',
837
- // height: '100%',
838
- // objectFit: 'contain',
839
- // }}
840
- // />
841
- // </div>
842
- // </div>
843
- // <div class="col-lg-8 d-flex justify-content-end align-items-center">
844
- // <div
845
- // class={header_cssstyles.searchbarcont}
846
- // style={{ position: 'relative', marginRight: langdetect == 'en' ? '1.9rem' : '', marginLeft: langdetect == 'ar' ? '1.9rem' : '' }}
847
- // >
848
- // <input
849
- // type="text"
850
- // placeholder={lang.searchproducts}
851
- // class={`${header_cssstyles.searchbarcont_input}`}
852
- // onChange={(event) => {
853
- // setSearchHeaderInputContext(event.target.value);
854
- // }}
855
- // />
856
- // <div class={` ${header_cssstyles.searchbar_icon_cont}` + ' d-flex align-items-center justify-content-center '}>
857
- // <BsSearch color={sectionproperties.searchbaricon_color} size={sectionproperties.searchbaricon_fontsize} />
858
- // </div>
859
- // <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'headerfullwidth'} actions={actions} />
860
- // </div>
861
- // <Dropdown
862
- // style={{
863
- // marginRight: langdetect == 'en' ? '2.2rem' : '',
864
- // marginLeft: langdetect == 'ar' ? '2.2rem' : '',
865
- // }}
866
- // >
867
- // <Dropdown.Toggle>
868
- // {!authdetailsContext.loggedin && (
869
- // <div class={` ${header_cssstyles.user_btn}` + ' d-flex align-items-center justify-content-center '} sytle={{ position: 'relative' }}>
870
- // <i class={' h-100 d-flex align-items-center '}>
871
- // <FiUser size={sectionproperties.userBtniconfontsize} />
872
- // </i>
873
- // <p
874
- // class="mb-0 p-0 pt-1"
875
- // style={{
876
- // marginLeft: langdetect == 'en' ? '8px' : 0,
877
- // marginRight: langdetect == 'ar' ? '8px' : 0,
878
- // }}
879
- // >
880
- // {lang.login}
881
- // </p>
882
- // </div>
883
- // )}
884
- // {authdetailsContext.loggedin && (
885
- // <div class={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
886
- // <div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
887
- // <i class={' h-100 allcentered '}>
888
- // <FiUser size={sectionproperties.loggedinusericonfontsize} />
889
- // </i>
890
- // </div>
891
- // <div
892
- // class="m-0 p-0 loggedinuserbtn flex-column"
893
- // style={{
894
- // textAlign: langdetect == 'en' ? 'left' : 'right',
895
- // }}
896
- // >
897
- // <p
898
- // class="m-0 p-0"
899
- // style={{
900
- // color: sectionproperties.greetingtextcolor,
901
- // fontSize: sectionproperties.greetingtextfontsize + 'px',
902
- // lineHeight: sectionproperties.greetingtextfontsize + 'px',
903
- // fontWeight: 400,
904
- // }}
905
- // >
906
- // {lang.hello}
907
- // {langdetect == 'en' ? ',' : '،'}
908
- // </p>
909
- // <p class={header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow '}>{authdetailsContext?.customerinfo?.name}</p>
910
- // </div>
911
- // </div>
912
- // )}
913
- // </Dropdown.Toggle>
914
- // {!authdetailsContext.loggedin && (
915
- // <Dropdown.Menu>
916
- // <Dropdown.Item
917
- // onClick={() => {
918
- // routingcountext(StaticPagesLinksContext.Login);
919
- // }}
920
- // >
921
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
922
- // <p class={' d-flex align-items-center m-0 p-0 '}>
923
- // <AiOutlineLogin class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
924
- // <span>{lang.login}</span>
925
- // </p>
926
- // </div>
927
- // </Dropdown.Item>
928
- // <Dropdown.Divider></Dropdown.Divider>
929
- // <Dropdown.Item
930
- // onClick={() => {
931
- // routingcountext(StaticPagesLinksContext.Signup);
932
- // }}
933
- // >
934
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
935
- // <p class={' d-flex align-items-center m-0 p-0 '}>
936
- // <AiOutlineUserAdd class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
937
- // <span class="text-transform-none">{lang.signup}</span>
938
- // </p>
939
- // </div>
940
- // </Dropdown.Item>
941
- // </Dropdown.Menu>
942
- // )}
943
- // {authdetailsContext.loggedin && (
944
- // <Dropdown.Menu style={{ minWidth: '200px' }}>
945
- // <Dropdown.Item
946
- // onClick={() => {
947
- // routingcountext(StaticPagesLinksContext.Ordershistory);
948
- // }}
949
- // >
950
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
951
- // <i class="h-100 allcentered">
952
- // {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
953
- // {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
954
- // {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
955
- // {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
956
- // {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
957
- // {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
958
- // </i>
959
- // <p class={' allcenetered m-0 p-0 '}>{lang.orderhistory}</p>
960
- // </div>
961
- // </Dropdown.Item>
962
- // <Dropdown.Divider></Dropdown.Divider>
963
- // <Dropdown.Item
964
- // onClick={() => {
965
- // routingcountext(StaticPagesLinksContext.Wishlist);
966
- // }}
967
- // >
968
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
969
- // <i class="h-100 allcentered">
970
- // {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
971
- // {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
972
- // </i>
973
- // <p class={' allcenetered m-0 p-0 '}>{lang.wishlist}</p>
974
- // </div>
975
- // </Dropdown.Item>
976
- // <Dropdown.Divider></Dropdown.Divider>
977
- // <Dropdown.Item
978
- // onClick={() => {
979
- // routingcountext(StaticPagesLinksContext.Policies);
980
- // }}
981
- // >
982
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
983
- // <i class="h-100 allcentered">
984
- // <AiOutlineSecurityScan class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
985
- // </i>
986
- // <p class={' allcenetered m-0 p-0 '}>{lang.policies}</p>
987
- // </div>
988
- // </Dropdown.Item>
989
- // <Dropdown.Divider></Dropdown.Divider>
990
- // <Dropdown.Item
991
- // onClick={() => {
992
- // LogoutMutationContext.mutate();
993
- // }}
994
- // >
995
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
996
- // <i class="h-100 allcentered">
997
- // <BiLogOutCircle class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
998
- // </i>
999
- // <p class={' allcenetered m-0 p-0 '}>{lang.logout}</p>
1000
- // </div>
1001
- // </Dropdown.Item>
1002
- // </Dropdown.Menu>
1003
- // )}
1004
- // </Dropdown>
1005
- // <div
1006
- // class={`${header_cssstyles.wishlist_btn}` + ' wishlist_btn d-flex justify-content-center align-items-center '}
1007
- // style={{
1008
- // marginRight: langdetect == 'en' ? '2.2rem' : '',
1009
- // marginLeft: langdetect == 'ar' ? '2.2rem' : '',
1010
- // }}
1011
- // onClick={() => {
1012
- // routingcountext(StaticPagesLinksContext.Wishlist);
1013
- // }}
1014
- // >
1015
- // <div
1016
- // style={{
1017
- // position: 'relative',
1018
- // }}
1019
- // >
1020
- // <i class={header_cssstyles.favbtnicon + ' wishlist_btn h-100 d-flex align-items-center '}>
1021
- // {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart />}
1022
- // {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar />}
1023
- // </i>
1024
- // <div class={` ${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}` + ' d-flex justify-content-center text-center '}>
1025
- // <span>{favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}</span>
1026
- // </div>
1027
- // </div>
1028
- // <span
1029
- // class="mb-0 p-0 wishlist_btn"
1030
- // style={{
1031
- // marginLeft: langdetect == 'en' ? '8px' : 0,
1032
- // marginRight: langdetect == 'ar' ? '8px' : 0,
1033
- // }}
1034
- // >
1035
- // {lang.wishlist}
1036
- // </span>
1037
- // </div>
1038
- // <div
1039
- // class={header_cssstyles.cartbtncontainer + ' d-flex flex-row align-items-center justify-content-end '}
1040
- // style={{
1041
- // marginRight: langdetect == 'en' ? '2.2rem' : '',
1042
- // marginLeft: langdetect == 'ar' ? '2.2rem' : '',
1043
- // }}
1044
- // onClick={() => {
1045
- // setsidecartnavshowcontext(true);
1046
- // }}
1047
- // >
1048
- // <div class={`${header_cssstyles.cartbtnicon}` + ' allcentered cartbtnicon '} style={{ position: 'relative' }}>
1049
- // {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1050
- // {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1051
- // {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
1052
- // {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
1053
- // {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1054
- // {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
1055
- // <div
1056
- // class={`${header_cssstyles.badge_counter_header_notifications}`}
1057
- // style={{
1058
- // top: sectionproperties.cartbadgetop + 'px',
1059
- // right: sectionproperties.cartbadgeright + 'px',
1060
- // }}
1061
- // >
1062
- // {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
1063
- // </div>
1064
- // </div>
1065
- // <p
1066
- // class={header_cssstyles.cartbtntext + ' mb-0 p-0 cartbtnicon '}
1067
- // style={{
1068
- // marginLeft: langdetect == 'en' ? '9px' : 0,
1069
- // marginRight: langdetect == 'ar' ? '9px' : 0,
1070
- // }}
1071
- // >
1072
- // {lang.cart}
1073
- // </p>
1074
- // </div>
1075
-
1076
- // <div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
1077
- // <Dropdown>
1078
- // <Dropdown.Toggle>
1079
- // <li class={' d-flex align-items-center justify-content-center '}>
1080
- // {langdetect == 'en' && (
1081
- // <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1082
- // <img src={usflag} style={{ maxWidth: '2.2vh', maxHeight: '2.2vh' }} />
1083
- // <MdKeyboardArrowDown class="ml-2 mr-2" size={sectionproperties.language_container_fontsize} />
1084
- // </div>
1085
- // )}
1086
- // {langdetect == 'ar' && (
1087
- // <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1088
- // <img src={egyptflag} style={{ maxWidth: '2.2vh', maxHeight: '2.2vh' }} />
1089
- // <MdKeyboardArrowDown class="ml-2 mr-2" size={sectionproperties.language_container_fontsize} />
1090
- // </div>
1091
- // )}
1092
- // </li>
1093
- // </Dropdown.Toggle>
1094
- // <Dropdown.Menu>
1095
- // <Dropdown.Item
1096
- // onClick={() => {
1097
- // setlang('ar');
1098
- // }}
1099
- // >
1100
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
1101
- // <p
1102
- // class={'dropdownitem d-flex align-items-center m-0 p-0'}
1103
- // style={{
1104
- // fontSize: sectionproperties.dropdown_fontsize + 'px',
1105
- // fontWeight: sectionproperties.dropdown_fontweight,
1106
- // textTransform: sectionproperties.dropdown_texttransform,
1107
- // }}
1108
- // >
1109
- // <img src={egyptflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
1110
- // <span class={'ml-2 mr-2'}>{lang.arabic}</span>
1111
- // </p>
1112
- // </div>
1113
- // </Dropdown.Item>
1114
- // <Dropdown.Divider></Dropdown.Divider>
1115
- // <Dropdown.Item
1116
- // onClick={() => {
1117
- // setlang('en');
1118
- // }}
1119
- // >
1120
- // <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
1121
- // <p
1122
- // class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
1123
- // style={{
1124
- // fontSize: sectionproperties.dropdown_fontsize + 'px',
1125
- // fontWeight: sectionproperties.dropdown_fontweight,
1126
- // textTransform: sectionproperties.dropdown_texttransform,
1127
- // }}
1128
- // >
1129
- // <img src={usflag} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
1130
- // <span class={'ml-2 mr-2'}>{lang.english}</span>
1131
- // </p>
1132
- // </div>
1133
- // </Dropdown.Item>
1134
- // </Dropdown.Menu>
1135
- // </Dropdown>
1136
- // </div>
1137
- // </div>
1138
- // </div>
1139
- // </div>
1140
- // <div class="col-lg-12 allcentered p-0">
1141
- // <div
1142
- // style={{
1143
- // background: sectionproperties.upperseparatorbgcolor,
1144
- // height: sectionproperties.upperseparatorheight + 'px',
1145
- // width: sectionproperties.upperseparatorwidth + '%',
1146
- // }}
1147
- // />
1148
- // </div>
1149
- // <div class={' col-lg-12 p-0 '}>
1150
- // <div class={header_cssstyles.lowerHeaderSection + ' w-100 '}>
1151
- // <div
1152
- // class={' scrollhorizontal w-100 align-items-center '}
1153
- // style={{
1154
- // display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
1155
- // justifyContent: sectionproperties.header_centered == 'Centered' ? 'center' : 'start',
1156
- // }}
1157
- // >
1158
- // {templatepropcontext?.pagesnprop?.map((item, index) => {
1159
- // if (item.isnavigation == 1 && item.isactive == 1) {
1160
- // return (
1161
- // <li
1162
- // class="cursor-pointer"
1163
- // style={{
1164
- // paddingRight: langdetect == 'en' ? '2rem' : 0,
1165
- // paddingLeft: langdetect == 'ar' ? '2rem' : 0,
1166
- // }}
1167
- // onClick={() => {
1168
- // routingcountext(item.navigationroute, false, '');
1169
- // }}
1170
- // >
1171
- // <div class={`${header_cssstyles.navbar_item_text}` + ' navbar_item_text '}>{langdetect == 'en' ? item.pagename : item.pagename_ar}</div>
1172
- // </li>
1173
- // );
1174
- // }
1175
- // })}
1176
- // </div>
1177
- // {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
1178
- // <Subheader
1179
- // sectionpropertiesprops={sectionproperties}
1180
- // actions={actions}
1181
- // subheaderpropertiesprops={{
1182
- // subheaderpositionprops: 'in nav',
1183
- // paddingLeftprops: '1.5rem',
1184
- // paddingRightprops: '1.5rem',
1185
- // subheadercontentpositionprops: sectionproperties.header_centered == 'Centered' ? 'center' : 'start',
1186
- // }}
1187
- // />
1188
- // )}
1189
- // </div>
1190
- // </div>
1191
- // <div class="col-lg-12 p-0">
1192
- // {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
1193
- // <Subheader
1194
- // sectionpropertiesprops={sectionproperties}
1195
- // actions={actions}
1196
- // subheaderpropertiesprops={{
1197
- // subheaderpositionprops: 'Full Width',
1198
- // paddingLeftprops: '35px',
1199
- // paddingRightprops: '35px',
1200
- // subheadercontentpositionprops: 'center',
1201
- // }}
1202
- // />
1203
- // )}
1204
- // </div>
1205
- // </div>
1206
- // </div>
1207
- // </div>
1208
- // <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />
1209
- // </div>
1210
- );
1211
- };
1212
-
1213
- export default ClassicHeader;