tabexseriescomponents 0.2.1279 → 0.2.1281

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/dist/index.cjs.js +277 -0
  2. package/dist/index.esm.js +277 -0
  3. package/dist/index.umd.js +277 -0
  4. package/package.json +1 -1
  5. package/srcbefore27-11/Contexts/LanguageContext.jsx +0 -408
  6. package/srcbefore27-11/Contexts/ProductsCardsSectionContext.jsx +0 -36
  7. package/srcbefore27-11/Imagekitconfig copy.jsx +0 -46
  8. package/srcbefore27-11/Imagekitconfig.jsx +0 -178
  9. package/srcbefore27-11/StylesJS/Customstyles.js +0 -456
  10. package/srcbefore27-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -538
  11. package/srcbefore27-11/TabexComponents/Cards/Card20/Card20.jsx +0 -299
  12. package/srcbefore27-11/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  13. package/srcbefore27-11/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  14. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  15. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23.jsx +0 -733
  16. package/srcbefore27-11/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  17. package/srcbefore27-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  18. package/srcbefore27-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  19. package/srcbefore27-11/TabexComponents/Cards/Cardwithdetailsshowonhover/Cardwithdetailsshowonhover.jsx +0 -1074
  20. package/srcbefore27-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  21. package/srcbefore27-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -293
  22. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover/Categorycard_details_onhover.jsx +0 -512
  23. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover copy/Categorycard_details_onhover.jsx +0 -513
  24. package/srcbefore27-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  25. package/srcbefore27-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  26. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  27. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -184
  28. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  29. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -208
  30. package/srcbefore27-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -560
  31. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -145
  32. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -145
  33. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -142
  34. package/srcbefore27-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  35. package/srcbefore27-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -605
  36. package/srcbefore27-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -817
  37. package/srcbefore27-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  38. package/srcbefore27-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  39. package/srcbefore27-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  40. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  41. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -512
  42. package/srcbefore27-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  43. package/srcbefore27-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  44. package/srcbefore27-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  45. package/srcbefore27-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  46. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  47. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  48. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  49. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  50. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  51. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -731
  52. package/srcbefore27-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  53. package/srcbefore27-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  54. package/srcbefore27-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -138
  55. package/srcbefore27-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -611
  56. package/srcbefore27-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -600
  57. package/srcbefore27-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  58. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  59. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -2321
  60. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -1311
  61. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcardlastversion15-9.jsx +0 -1292
  62. package/srcbefore27-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  63. package/srcbefore27-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  64. package/srcbefore27-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -605
  65. package/srcbefore27-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  66. package/srcbefore27-11/TabexComponents/Cards/Variants_J_Cards/Variants_J_Cards.jsx +0 -660
  67. package/srcbefore27-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -759
  68. package/srcbefore27-11/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  69. package/srcbefore27-11/TabexComponents/Footer/Footer2/Footer2.jsx +0 -731
  70. package/srcbefore27-11/TabexComponents/Footer/Footer3/Footer3.jsx +0 -414
  71. package/srcbefore27-11/TabexComponents/Footer/Footer4/Footer4.jsx +0 -466
  72. package/srcbefore27-11/TabexComponents/Footer/Footer5/Footer5.jsx +0 -776
  73. package/srcbefore27-11/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  74. package/srcbefore27-11/TabexComponents/Footer/Footer7/Footer7.jsx +0 -430
  75. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8 copy.jsx +0 -1970
  76. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8.jsx +0 -2015
  77. package/srcbefore27-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  78. package/srcbefore27-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -582
  79. package/srcbefore27-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -1165
  80. package/srcbefore27-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -646
  81. package/srcbefore27-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  82. package/srcbefore27-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -332
  83. package/srcbefore27-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  84. package/srcbefore27-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
  85. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  86. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  87. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  88. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  89. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  90. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  91. package/srcbefore27-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  92. package/srcbefore27-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  93. package/srcbefore27-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  94. package/srcbefore27-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
  95. package/srcbefore27-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  96. package/srcbefore27-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1264
  97. package/srcbefore27-11/TabexComponents/Headers/CategoriesComponent/CategoriesComponent.jsx +0 -375
  98. package/srcbefore27-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1056
  99. package/srcbefore27-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -1498
  100. package/srcbefore27-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1289
  101. package/srcbefore27-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  102. package/srcbefore27-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -907
  103. package/srcbefore27-11/TabexComponents/Headers/FloatingIcons/FloatingIcons.jsx +0 -358
  104. package/srcbefore27-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -875
  105. package/srcbefore27-11/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  106. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  107. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8.jsx +0 -3414
  108. package/srcbefore27-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -777
  109. package/srcbefore27-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -933
  110. package/srcbefore27-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -710
  111. package/srcbefore27-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  112. package/srcbefore27-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -1347
  113. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1566
  114. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  115. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  116. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -1639
  117. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -7163
  118. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  119. package/srcbefore27-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -941
  120. package/srcbefore27-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -80
  121. package/srcbefore27-11/TabexComponents/Headers/Minimalheader/Minimalheader.jsx +0 -846
  122. package/srcbefore27-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -1198
  123. package/srcbefore27-11/TabexComponents/Headers/ParentCollectionsComponent/ParentCollectionsComponent.jsx +0 -385
  124. package/srcbefore27-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -784
  125. package/srcbefore27-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1186
  126. package/srcbefore27-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -3692
  127. package/srcbefore27-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -266
  128. package/srcbefore27-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -860
  129. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -950
  130. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader.jsx +0 -1052
  131. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -685
  132. package/srcbefore27-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  133. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  134. package/srcbefore27-11/TabexComponents/Headers/SubheaderDropdown/SubheaderDropdown.jsx +0 -610
  135. package/srcbefore27-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1049
  136. package/srcbefore27-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1095
  137. package/srcbefore27-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -979
  138. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  139. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  140. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -872
  141. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContentrecent.jsx +0 -895
  142. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  143. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  144. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -318
  145. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  146. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  147. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -421
  148. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -583
  149. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -291
  150. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -822
  151. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm19-8beforeattach.jsx +0 -789
  152. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm22-7.jsx +0 -787
  153. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -348
  154. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  155. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -268
  156. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -295
  157. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/PopupCountryComponent/PopupCountryComponent.jsx +0 -120
  158. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -119
  159. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -99
  160. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  161. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -489
  162. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  163. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  164. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -633
  165. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -509
  166. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  167. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  168. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  169. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -2323
  170. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -1596
  171. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -1872
  172. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +0 -1891
  173. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -1880
  174. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSectionwithanomation12-1.jsx +0 -2065
  175. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -726
  176. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  177. package/srcbefore27-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  178. package/srcbefore27-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -966
  179. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -646
  180. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -1577
  181. package/srcbefore27-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -596
  182. package/srcbefore27-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  183. package/srcbefore27-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -342
  184. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  185. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -394
  186. package/srcbefore27-11/TabexComponents/Sections/Slideshow/CountDownSection/CountDownSection.jsx +0 -174
  187. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  188. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -651
  189. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +0 -757
  190. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection20-2.jsx +0 -1017
  191. package/srcbefore27-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  192. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -3027
  193. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  194. package/srcbefore27-11/TabexComponents/Sections/Slideshow/MarqueeSection/MarqueeSection.jsx +0 -103
  195. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Preloaderone/Preloaderone.jsx +0 -49
  196. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  197. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -384
  198. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards copy.jsx +0 -1576
  199. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -1989
  200. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  201. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  202. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  203. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  204. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -474
  205. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  206. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -665
  207. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  208. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  209. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -614
  210. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  211. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  212. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -741
  213. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TableSection/TableSection.jsx +0 -423
  214. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  215. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -636
  216. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -402
  217. package/srcbefore27-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -234
  218. package/srcbefore27-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -306
  219. package/srcbefore27-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -364
  220. package/srcbefore27-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -1000
  221. package/srcbefore27-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  222. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  223. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -2506
  224. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  225. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout12-12beforeextras.jsx +0 -1999
  226. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  227. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  228. package/srcbefore27-11/TabexComponents/StaticPages/Compare/Compare.jsx +0 -79
  229. package/srcbefore27-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -245
  230. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  231. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  232. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter.jsx +0 -3459
  233. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -2624
  234. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -2758
  235. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -2753
  236. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  237. package/srcbefore27-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -1271
  238. package/srcbefore27-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  239. package/srcbefore27-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  240. package/srcbefore27-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  241. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  242. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login.jsx +0 -616
  243. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -693
  244. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess2.jsx +0 -173
  245. package/srcbefore27-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1831
  246. package/srcbefore27-11/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  247. package/srcbefore27-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -194
  248. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  249. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  250. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -268
  251. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -190
  252. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  253. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -224
  254. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductFileUploader.jsx +0 -136
  255. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -347
  256. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -262
  257. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -5566
  258. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  259. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -1827
  260. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -1351
  261. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  262. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeeuro.jsx +0 -3101
  263. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -3047
  264. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo13-5.jsx +0 -2103
  265. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo_28_6.jsx +0 -2189
  266. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfotoday.jsx +0 -2166
  267. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.js +0 -2714
  268. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -2206
  269. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtypetill28-4-2025.jsx +0 -1158
  270. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -1117
  271. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs4-5.jsx +0 -1043
  272. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabstill28-4-2025.jsx +0 -1040
  273. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -905
  274. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  275. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  276. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -183
  277. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -128
  278. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -140
  279. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -225
  280. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -310
  281. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -235
  282. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -1672
  283. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -1554
  284. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -1351
  285. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -1566
  286. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -1804
  287. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -560
  288. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -928
  289. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -597
  290. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -324
  291. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -145
  292. package/srcbefore27-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -194
  293. package/srcbefore27-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -346
  294. package/srcbefore27-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -367
  295. package/srcbefore27-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -222
  296. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  297. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  298. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1505
  299. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm12-5beforeemailrequired.jsx +0 -1476
  300. package/srcbefore27-11/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  301. package/srcbefore27-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -292
  302. package/srcbefore27-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -219
  303. package/srcbefore27-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  304. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  305. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  306. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  307. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  308. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  309. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -844
  310. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -555
  311. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  312. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  313. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  314. package/srcbefore27-11/button.jsx +0 -40
  315. package/srcbefore27-11/index.jsx +0 -353
  316. package/srcbefore27-11/styles/Home.module.css +0 -129
  317. package/srcbefore27-11/styles/cards/Categorcycard_fullimage.module.css +0 -14
  318. package/srcbefore27-11/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  319. package/srcbefore27-11/styles/cards/Categorycard_withshapes.module.css +0 -189
  320. package/srcbefore27-11/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  321. package/srcbefore27-11/styles/cards/Productcard6.module.css +0 -9
  322. package/srcbefore27-11/styles/cards/Productccard_with_zoominonhover.module.css +0 -94
  323. package/srcbefore27-11/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  324. package/srcbefore27-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  325. package/srcbefore27-11/styles/cards/card23.module.css +0 -60
  326. package/srcbefore27-11/styles/cards/categorycard.module.css +0 -84
  327. package/srcbefore27-11/styles/cards/categorycard3.module.css +0 -50
  328. package/srcbefore27-11/styles/cards/categorycardwithtext.module.css +0 -40
  329. package/srcbefore27-11/styles/cards/generalCardsStyles.module.css +0 -79
  330. package/srcbefore27-11/styles/cards/productcard_animatedbuttons.module.css +0 -139
  331. package/srcbefore27-11/styles/cards/productcard_with_textonhover.module.css +0 -18
  332. package/srcbefore27-11/styles/cards/productcard_withtextonimage.module.css +0 -0
  333. package/srcbefore27-11/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  334. package/srcbefore27-11/styles/general/bootstrap.css +0 -4763
  335. package/srcbefore27-11/styles/general/dropdown.css +0 -206
  336. package/srcbefore27-11/styles/general/editorbardropdown.module.css +0 -94
  337. package/srcbefore27-11/styles/general/filter.module.css +0 -108
  338. package/srcbefore27-11/styles/general/form.module.css +0 -255
  339. package/srcbefore27-11/styles/general/general.module.css +0 -872
  340. package/srcbefore27-11/styles/general/image-gallery.css +0 -531
  341. package/srcbefore27-11/styles/general/react-accessible-accordion.module.css +0 -52
  342. package/srcbefore27-11/styles/general/react-phone-input-2.module.css +0 -927
  343. package/srcbefore27-11/styles/general/scrollbtn.module.css +0 -22
  344. package/srcbefore27-11/styles/general/slick.module.css +0 -166
  345. package/srcbefore27-11/styles/general/tabs.module.css +0 -119
  346. package/srcbefore27-11/styles/general/workplaceeditor.module.css +0 -328
  347. package/srcbefore27-11/styles/globals.css +0 -26
  348. package/srcbefore27-11/styles/headers/CTAHeader.module.css +0 -40
  349. package/srcbefore27-11/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  350. package/srcbefore27-11/styles/headers/Gotoheader.module.css +0 -87
  351. package/srcbefore27-11/styles/headers/Header7.module.css +0 -50
  352. package/srcbefore27-11/styles/headers/HeaderWithAdSlider.module.css +0 -86
  353. package/srcbefore27-11/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  354. package/srcbefore27-11/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  355. package/srcbefore27-11/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  356. package/srcbefore27-11/styles/headers/NewHeader.module.css +0 -101
  357. package/srcbefore27-11/styles/headers/SearchFocusedHeader.module.css +0 -62
  358. package/srcbefore27-11/styles/headers/Sideheader.module.css +0 -108
  359. package/srcbefore27-11/styles/headers/Simpleheader.module.css +0 -102
  360. package/srcbefore27-11/styles/headers/classicheader.module.css +0 -16
  361. package/srcbefore27-11/styles/headers/classicheaderstyles.module.css +0 -9
  362. package/srcbefore27-11/styles/headers/dropdown.css +0 -0
  363. package/srcbefore27-11/styles/headers/header4.module.css +0 -175
  364. package/srcbefore27-11/styles/headers/header5.module.css +0 -30
  365. package/srcbefore27-11/styles/headers/header_contactinfo.module.css +0 -53
  366. package/srcbefore27-11/styles/headers/headerresturant.module.css +0 -89
  367. package/srcbefore27-11/styles/headers/modernheader.module.css +0 -45
  368. package/srcbefore27-11/styles/headers/stylishheader.module.css +0 -24
  369. package/srcbefore27-11/styles/headers/subheader.module.css +0 -114
  370. package/srcbefore27-11/styles/headers/threetieredheader.module.css +0 -91
  371. package/srcbefore27-11/styles/sections/BackgroundImageWithTopContent.css +0 -4
  372. package/srcbefore27-11/styles/sections/Backgroundimage1.module.css +0 -17
  373. package/srcbefore27-11/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  374. package/srcbefore27-11/styles/sections/Freetext.module.css +0 -18
  375. package/srcbefore27-11/styles/sections/Section_with_rightbgcont.module.css +0 -49
  376. package/srcbefore27-11/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  377. package/srcbefore27-11/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  378. package/srcbefore27-11/styles/staticpages/accordion.module.css +0 -9
  379. package/srcbefore27-11/styles/staticpages/cart.module.css +0 -108
  380. package/srcbefore27-11/styles/staticpages/dropdown.css +0 -196
  381. package/srcbefore27-11/styles/staticpages/filter.module.css +0 -139
  382. package/srcbefore27-11/styles/staticpages/image-gallery.css +0 -481
  383. package/srcbefore27-11/styles/staticpages/login.module.css +0 -155
  384. package/srcbefore27-11/styles/staticpages/productinfo.module.css +0 -54
  385. package/srcbefore27-11/styles/staticpages/shop.module.css +0 -191
  386. package/srcbefore27-11/styles/staticpages/signup.module.css +0 -250
  387. package/srcbefore27-11/styles/staticpages/staticroutersidenav.module.css +0 -129
  388. package/srcbefore27-11/styles/staticpages/viewcart.module.css +0 -129
  389. package/srcbefore27-11/styles/staticpages/wishlist.module.css +0 -29
@@ -1,1264 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import { css } from 'glamor';
3
- import Dropdown from 'react-bootstrap/Dropdown';
4
- import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
5
- import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
6
- import Subheader from '../Subheader/Subheader.jsx';
7
- import headerstyles from '../../../styles/headers/CTAHeader.module.css';
8
- import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
9
- import { BsChevronLeft } from '@react-icons/all-files/bs/BsChevronLeft';
10
- import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
11
- import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
12
- import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
13
- import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
14
- import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
15
- import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
16
- import { AiOutlineUserAdd } from '@react-icons/all-files/ai/AiOutlineUserAdd';
17
- import { AiOutlineLogin } from '@react-icons/all-files/ai/AiOutlineLogin';
18
- import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
19
- import { AiOutlineHeart } from '@react-icons/all-files/ai/AiOutlineHeart';
20
- import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
21
- import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
22
- import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
23
- import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
24
- import { FiUser } from '@react-icons/all-files/fi/FiUser';
25
- import { BsBag } from '@react-icons/all-files/bs/BsBag';
26
- import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
27
- import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
28
- import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
29
- import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
30
- import { GoSearch } from '@react-icons/all-files/go/GoSearch';
31
- import { FiPhone } from '@react-icons/all-files/fi/FiPhone';
32
- import { HiMenuAlt4 } from '@react-icons/all-files/hi/HiMenuAlt4';
33
- import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
34
- import { FiSearch } from '@react-icons/all-files/fi/FiSearch';
35
- import MarqueeHeader from '../MarqueeHeader/MarqueeHeader.jsx';
36
- import HeaderresponsiveStyle2 from '../Headerresponsive/HeaderresponsiveStyle2.jsx';
37
-
38
- const CTAHeader = (props) => {
39
- const actions = props.actions;
40
- const lang = props.actions.lang;
41
- const langdetect = props.actions.langdetect;
42
- const setlang = props.actions.setlang;
43
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
44
- const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
45
- const LogoutMutationContext = props.actions.LogoutMutationContext;
46
- const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
47
- const templateproperties_context = props.actions.templateproperties_context;
48
- const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
49
- const routingcountext = props.actions.routingcountext;
50
- const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
51
- const authdetailsContext = props.actions.authdetailsContext;
52
- const templatepropcontext = props.actions.templatepropcontext;
53
- const ikimagecredcontext = props.actions.ikimagecredcontext;
54
- const [Choosenindex, setChoosenindex] = useState('');
55
- const [sectionproperties, setsectionproperties] = useState('');
56
- const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
57
- const [pcollarray, setpcollarray] = useState([]);
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
- useEffect(() => {
75
- if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
76
- var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
77
- if (Array.isArray(logoarrayofobjectsparsed)) {
78
- setlogoarrayofobjects([...logoarrayofobjectsparsed]);
79
- }
80
- }
81
- }, [templateproperties_context]);
82
- const ButtonDropdown = (item, index, fetchedarray) => {
83
- var parentclassname = '';
84
- if (sectionproperties.fetchparenttype == 'Categories') {
85
- parentclassname = header_cssstyles.categoryname;
86
- } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
87
- parentclassname = header_cssstyles.parentcollection;
88
- } else {
89
- parentclassname = header_cssstyles.collectionName;
90
- }
91
- return (
92
- <li class="dropdown d-flex align-items-center w-100">
93
- <div
94
- class={parentclassname + ' row m-0 w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
95
- onMouseEnter={() => {
96
- setChoosenindex(index);
97
- }}
98
- >
99
- <div className={' col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
100
- <p
101
- class={parentclassname + ' parentclassname m-0 p-0 wordbreak wordbreak1 '}
102
- onClick={() => {
103
- if (sectionproperties.fetchparenttype == 'Categories') {
104
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
105
- } else if (sectionproperties.fetchparenttype == 'Parent Collections') {
106
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
107
- } else {
108
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
109
- }
110
- }}
111
- >
112
- {langdetect == 'en' ? item.title_en : item.title_ar}
113
- </p>
114
- </div>
115
- {/* {sectionproperties.fetchparenttype == 'Categories' && fetchedarray[Choosenindex]?.parentcolletions.length != 0 && ( */}
116
- {sectionproperties.fetchparenttype != 'Collections' && (
117
- <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
118
- <i className={' p-0 h-100 allcentered parentclassname '}>
119
- {langdetect == 'en' ? (
120
- <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
121
- ) : (
122
- <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
123
- )}
124
- </i>
125
- </div>
126
- )}
127
- {/* )} */}
128
- </div>
129
- {sectionproperties.fetchparenttype == 'Categories' && fetchedarray[Choosenindex]?.parentcolletions?.length != 0 && (
130
- <ul>
131
- {fetchedarray[Choosenindex]?.parentcolletions?.map((item, index) => (
132
- <li class="dropdown d-flex align-items-center w-100">
133
- <div
134
- class={header_cssstyles.parentcollection + ' w-100 dropdownInnerContainer cursor-pointer '}
135
- onClick={() => {
136
- if (sectionproperties.fetchparenttype == 'Categories') {
137
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'parentcollections/' + item.parentcollectionid);
138
- } else {
139
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
140
- }
141
- }}
142
- >
143
- <div class="row m-0 w-100">
144
- <div className={header_cssstyles.parentcollection + ' parentclassname col-lg-10 col-md-10 col-sm-10 p-0 d-flex justify-content-start align-items-center p-0 '}>
145
- <p class={' m-0 p-0 wordbreak wordbreak1 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
146
- </div>
147
- {item?.collections.length != 0 && (
148
- <div className={'col-lg-2 col-md-2 col-sm-2 d-flex justify-content-end align-items-center p-0 '}>
149
- <i className={' p-0 h-100 allcentered parentclassname '}>
150
- {langdetect == 'en' ? (
151
- <BsChevronRight size={sectionproperties.collectionsectioniconfontsize} />
152
- ) : (
153
- <BsChevronLeft size={sectionproperties.collectionsectioniconfontsize} />
154
- )}
155
- </i>
156
- </div>
157
- )}
158
- </div>
159
- </div>
160
- {item?.collections.length != 0 && (
161
- <ul>
162
- {item?.collections?.map((item, index) => {
163
- return (
164
- <li
165
- class={' w-100 d-flex align-items-center dropdownInnerContainer cursor-pointer '}
166
- onClick={() => {
167
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
168
- }}
169
- >
170
- <p
171
- class={header_cssstyles.collectionName + ' parentclassname w-100 m-0 p-0 wordbreak wordbreak1 '}
172
- style={{
173
- textAlign: langdetect == 'en' ? 'left' : 'right',
174
- textTransform: sectionproperties.collectionsectiontexttransform,
175
- }}
176
- >
177
- {langdetect == 'en' ? item.title_en : item.title_ar}
178
- </p>
179
- </li>
180
- );
181
- })}
182
- </ul>
183
- )}
184
- </li>
185
- ))}
186
- </ul>
187
- )}
188
- {sectionproperties.fetchparenttype == 'Parent Collections' && pcollarray[Choosenindex]?.collections.length != 0 && (
189
- <ul>
190
- {pcollarray[Choosenindex]?.collections?.map((item, index) => (
191
- <li class="dropdown d-flex align-items-center w-100">
192
- <div
193
- class={' w-100 dropdownInnerContainer cursor-pointer d-flex justify-content-start align-items-center '}
194
- onClick={() => {
195
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + item.collectionid);
196
- }}
197
- >
198
- <p
199
- class={header_cssstyles.collectionName + ' w-100 m-0 p-0 wordbreak wordbreak1 '}
200
- style={{
201
- textAlign: langdetect == 'en' ? 'left' : 'right',
202
- textTransform: sectionproperties.collectionsectiontexttransform,
203
- }}
204
- >
205
- {langdetect == 'en' ? item.title_en : item.title_ar}
206
- </p>
207
- </div>
208
- </li>
209
- ))}
210
- </ul>
211
- )}
212
- </li>
213
- );
214
- };
215
- useEffect(() => {
216
- var temppcollarray = [...pcollarray];
217
- authdetailsContext?.instinfo?.instcategories?.forEach(function (arrayItem) {
218
- arrayItem?.parentcolletions?.forEach(function (item) {
219
- temppcollarray.push(item);
220
- });
221
- });
222
- setpcollarray([...temppcollarray]);
223
- }, []);
224
-
225
- const header_cssstyles = {
226
- upperheader: css({
227
- backgroundColor: sectionproperties.uppersection_bgcolortransparent == 'Transparent' ? 'Transparent' : sectionproperties.uppersection_bgcolor,
228
- paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
229
- paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
230
- paddingTop: sectionproperties.uppersection_paddingtop + 'px',
231
- paddingBottom: sectionproperties.uppersection_paddingbottom + 'px',
232
- }),
233
- iconContainer: css({
234
- color: sectionproperties.iconcontainercolor,
235
- backgroundColor: sectionproperties.iconcontainerbg,
236
- borderRadius: sectionproperties.iconcontainerbordertl + 'px',
237
- width: sectionproperties.iconcontainerwidth + 'px',
238
- height: sectionproperties.iconcontainerheight + 'px',
239
- transition: 'all, 0.3s',
240
- ':hover': {
241
- color: sectionproperties.iconcontainercoloronhover,
242
- backgroundColor: sectionproperties.iconcontainerbgonhover,
243
- },
244
- }),
245
- storeinfosecondarytext: css({
246
- fontSize: sectionproperties.footerinfotext_secondaryfontsize + 'px',
247
- color: sectionproperties.footerinfotext_secondarycolor,
248
- fontWeight: sectionproperties.footerinfotext_secondaryfontweight,
249
- textAlign: langdetect == 'en' ? 'left' : 'right',
250
- }),
251
- storeinfocont: css({
252
- ':hover .storeinfoconttext': {
253
- transition: '.3s',
254
- cursor: 'pointer',
255
- color: sectionproperties.footerinfotext_coloronhover,
256
- },
257
- ':hover .iconContainer': {
258
- color: sectionproperties.iconcontainercoloronhover,
259
- backgroundColor: sectionproperties.iconcontainerbgonhover,
260
- },
261
- }),
262
- header_logo: css({
263
- width: templateproperties_context.logo_width + 'px',
264
- height: templateproperties_context.logo_height + 'px',
265
- }),
266
- searchbarcont: css({
267
- position: 'relative',
268
- width: sectionproperties.searchbarcont_width + 'px',
269
- height: sectionproperties.searchbarcont_height + 'px',
270
- background: sectionproperties.searchbarcont_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bgcolor,
271
- borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
272
- border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
273
- color: sectionproperties.searchbarcont_color,
274
- cursor: 'pointer',
275
- transition: '.3s',
276
- zIndex: 2,
277
- ':hover': {
278
- background: sectionproperties.searchbarcont_transparentbghover == 'Transparent' ? 'transparent' : sectionproperties.searchbarcont_bghover,
279
- borderColor: sectionproperties.searchbarcontcoloronhover,
280
- color: sectionproperties.searchbarcontcoloronhover,
281
- },
282
- }),
283
- searchbar_icon_cont: css({
284
- position: 'absolute',
285
- right: langdetect == 'en' ? sectionproperties.searchbaricon_right + 'px' : '',
286
- left: langdetect == 'en' ? '' : sectionproperties.searchbaricon_right + 'px',
287
- bottom: sectionproperties.searchbaricon_bottom + 'px',
288
- margin: 'auto',
289
- display: 'flex',
290
- justifyContent: 'center',
291
- alignItems: 'center',
292
- textAlign: 'center',
293
- width: sectionproperties.searchbaricon_width + 'px',
294
- height: sectionproperties.searchbaricon_height + 'px',
295
- borderRadius: sectionproperties.searchbaricon_borderBottomLeftRadius + 'px',
296
- color: sectionproperties.searchbaricon_color,
297
- backgroundColor: sectionproperties.searchbaricon_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.searchbaricon_bgcolor,
298
- transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
299
- }),
300
- searchbarcont_input: css({
301
- height: '45px',
302
- outline: 'none',
303
- border: 'none',
304
- transition: '0.3s',
305
- color: sectionproperties.searchbarcontinput_color,
306
- fontWeight: sectionproperties.searchbarcont_inputfontweight,
307
- fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
308
- paddingLeft: langdetect == 'en' ? ' 5px ' : ' 60px ',
309
- paddingRight: langdetect == 'en' ? ' 60px ' : ' 5px ',
310
- ':focus': {
311
- borderBottom: sectionproperties.searchbarcontinput_borderBottom + 'px solid ' + sectionproperties.searchbarcontinput_bordercoloronfocus,
312
- },
313
- }),
314
- user_btn: css({
315
- background: sectionproperties.userbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColor,
316
- width: sectionproperties.userBtnWidth + 'px',
317
- height: sectionproperties.userBtnHeight + 'px',
318
- borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
319
- color: sectionproperties.userBtniconcolor,
320
- fontSize: sectionproperties.userBtniconfontsize + 'px',
321
- border: sectionproperties.userbtnborderwidth + 'px solid ' + sectionproperties.userbtnbordercolor,
322
- cursor: 'pointer',
323
- transition: '.3s',
324
- ':hover': {
325
- color: sectionproperties.userBtnTextcoloronhover,
326
- background: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColoronhover,
327
- borderColor: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.userBtnTextcoloronhover : sectionproperties.userBtnbgColoronhover,
328
- },
329
- }),
330
- loggedinusername: css({
331
- fontWeight: sectionproperties.userBtnTextfontweight,
332
- textTransform: sectionproperties.userBtnTexttransform,
333
- color: sectionproperties.userBtnTextcolor,
334
- fontSize: sectionproperties.userBtntextfontsize + 'px',
335
- lineHeight: sectionproperties.userBtntextfontsize + 'px',
336
- transition: '.3s',
337
- }),
338
- loggedinuserbtn: css({
339
- width: sectionproperties.loggedinuserbtn_width + 'px',
340
- height: sectionproperties.loggedinuserbtn_height + 'px',
341
- border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
342
- borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
343
- background: sectionproperties.userBtnbgColor_loggedin,
344
- color: sectionproperties.userBtniconcolor_loggedin,
345
- transition: '.3s',
346
- ':hover': {
347
- backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
348
- },
349
- }),
350
- userBtnLoggedinContainer: css({
351
- transition: '.3s',
352
- ':hover .loggedinuserbtn': {
353
- transition: '.3s',
354
- color: sectionproperties.userBtnTextcoloronhover_loggedin,
355
- borderColor: sectionproperties.userbtn_loggedin_iconcoloronhover,
356
- },
357
- ':hover .loggedinuserbtnbg': {
358
- backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
359
- color: sectionproperties.userbtn_loggedin_iconcoloronhover,
360
- },
361
- }),
362
- wishlist_btn: css({
363
- width: sectionproperties.favBtnWidth + 'px',
364
- height: sectionproperties.favBtnHeight + 'px',
365
- background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
366
- borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
367
- color: sectionproperties.favBtniconcolor,
368
- border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
369
- transition: '.3s',
370
- ':hover': {
371
- background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
372
- color: sectionproperties.favBtnTextcoloronhover,
373
- borderColor: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.favBtnTextcoloronhover : sectionproperties.favBtnbgColoronhover,
374
- },
375
- }),
376
- cart_btn: css({
377
- width: sectionproperties.cartBtnWidth + 'px',
378
- height: sectionproperties.cartBtnHeight + 'px',
379
- background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
380
- borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
381
- color: sectionproperties.cart_iconcolor,
382
- border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
383
- transition: '.3s',
384
- position: 'relative',
385
- cursor: 'pointer',
386
- ':hover': {
387
- background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
388
- borderColor: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.cartBtnTextcoloronhover : sectionproperties.cartBtnbgColoronhover,
389
- color: sectionproperties.cartBtnTextcoloronhover,
390
- },
391
- }),
392
- badge_counter_header_notifications: css({
393
- display: 'flex',
394
- justifyContent: 'center',
395
- alignItems: 'center',
396
- position: 'absolute',
397
- top: sectionproperties.badge_top + 'px',
398
- right: sectionproperties.badge_right + 'px',
399
- background: sectionproperties.badge_bgcolor,
400
- width: sectionproperties.badge_width + 'px',
401
- height: sectionproperties.badge_height + 'px',
402
- color: sectionproperties.badge_color,
403
- borderRadius: sectionproperties.badge_borderradius + 'px',
404
- fontSize: sectionproperties.badge_fontsize + 'px',
405
- }),
406
- lowerheader: css({
407
- backgroundColor: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? 'Transparent' : sectionproperties.lowersection_backgroundColor,
408
- paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
409
- paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
410
- paddingTop: sectionproperties.lowersection_paddingtop + 'px',
411
- paddingBottom: sectionproperties.lowersection_paddingbottom + 'px',
412
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderBottomLeftRadius + 'px' : sectionproperties.lowersection_BorderBottomRightRadius + 'px',
413
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.lowersection_BorderBottomRightRadius + 'px' : sectionproperties.lowersection_borderBottomLeftRadius + 'px',
414
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopLeftRadius + 'px' : sectionproperties.lowersection_borderTopRightRadius + 'px',
415
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopRightRadius + 'px' : sectionproperties.lowersection_borderTopLeftRadius + 'px',
416
- }),
417
- facebook_btn: css({
418
- cursor: 'pointer',
419
- background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
420
- width: sectionproperties.facebkbtnnWidth + 'px',
421
- height: sectionproperties.facebkbtnnHeight + 'px',
422
- borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
423
- color: sectionproperties.facebkbtnnTextcolor,
424
- border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
425
- transition: '.3s',
426
- ':hover': {
427
- background: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'Transparent' : sectionproperties.facebkbtnnbgColoronhover,
428
- color: sectionproperties.facebkbtnnTextcoloronhover,
429
- borderColor: sectionproperties.facebkbtnnTextcoloronhover,
430
- },
431
- }),
432
- youtube_btn: css({
433
- cursor: 'pointer',
434
- background: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
435
- width: sectionproperties.youtubebtnWidth + 'px',
436
- height: sectionproperties.youtubebtnHeight + 'px',
437
- borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
438
- color: sectionproperties.youtubebtnTextcolor,
439
- border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
440
- transition: '.3s',
441
- ':hover': {
442
- background: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
443
- color: sectionproperties.youtubebtnTextcoloronhover,
444
- borderColor: sectionproperties.youtubebtnTextcoloronhover,
445
- },
446
- }),
447
- instgram_btn: css({
448
- cursor: 'pointer',
449
- background: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
450
- width: sectionproperties.instgrambtnWidth + 'px',
451
- height: sectionproperties.instgrambtnHeight + 'px',
452
- borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
453
- color: sectionproperties.instgrambtnTextcolor,
454
- border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
455
- transition: '.3s',
456
- ':hover': {
457
- background: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
458
- color: sectionproperties.instgrambtnTextcoloronhover,
459
- borderColor: sectionproperties.instgrambtnTextcoloronhover,
460
- },
461
- }),
462
- topbar_item_active: css({
463
- ':before': {
464
- background: sectionproperties.lowersection_fontColoronhover,
465
- },
466
- }),
467
- topbar_item_text_active: css({
468
- color: sectionproperties.lowersection_fontColoronhover,
469
- }),
470
- topbar_item: css({
471
- marginLeft: '30px',
472
- marginRight: '30px',
473
- ':hover:before': {
474
- background: sectionproperties.lowersection_fontColoronhover,
475
- },
476
- }),
477
- topbar_item_text: css({
478
- color: sectionproperties.lowersection_fontColor,
479
- fontSize: sectionproperties.lowersection_fontsize + 'px',
480
- textTransform: sectionproperties.lowersection_textTransform,
481
- fontWeight: sectionproperties.lowersection_textfontweight,
482
- transition: '.3s',
483
- ':hover': {
484
- color: sectionproperties.lowersection_fontColoronhover,
485
- },
486
- }),
487
- buttonStyles: css({
488
- width: sectionproperties.generalbtn_width + 'px',
489
- height: sectionproperties.generalbtn_height + 'px',
490
- color: sectionproperties.generalbtn_textColor,
491
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
492
- fontWeight: sectionproperties.generalbtn_fontweight,
493
- background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
494
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius,
495
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius,
496
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius,
497
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius,
498
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
499
- transition: '.3s',
500
- ':hover': {
501
- color: sectionproperties.generalbtn_textColoronhover,
502
- backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
503
- },
504
- }),
505
- dropdownitemcontainer: css({
506
- fontSize: sectionproperties.dropdown_fontsize + 'px',
507
- color: sectionproperties.dropdown_color,
508
- fontWeight: sectionproperties.dropdown_fontweight,
509
- textTransform: sectionproperties.dropdown_texttransform,
510
- padding: '0.3rem 0.8rem',
511
- display: 'flex',
512
- alignItems: 'center',
513
- transition: '.3s',
514
- ':hover': {
515
- color: sectionproperties.dropdown_hovercolor,
516
- },
517
- }),
518
- languagecontainer: css({
519
- color: sectionproperties.language_container_color,
520
- fontSize: sectionproperties.language_container_fontsize + 'px',
521
- fontWeight: 600,
522
- cursor: 'pointer',
523
- transition: '.3s',
524
- ':hover': {
525
- color: sectionproperties.language_container_coloronhover,
526
- },
527
- }),
528
- categoryname: css({
529
- color: sectionproperties.subheader_categorytitle_fontColor,
530
- fontSize: sectionproperties.subheader_categorytitle_fontSize + 'px',
531
- textTransform: sectionproperties.subheader_categorytitle_textTransform,
532
- fontWeight: sectionproperties.subheader_categorytitle_textfontweight,
533
- transition: '.3s',
534
- ':hover': {
535
- color: sectionproperties.subheader_categorytitle_coloronhover,
536
- },
537
- ':hover .parentclassname': {
538
- color: sectionproperties.collectionsectiontextcoloronhover,
539
- },
540
- }),
541
- parentcollection: css({
542
- color: sectionproperties.subheader_collectiontitle_fontColor,
543
- fontSize: sectionproperties.subheader_collectiontitle_fontSize + 'px',
544
- textTransform: sectionproperties.subheader_collectiontitle_textTransform,
545
- fontWeight: sectionproperties.subheader_collectiontitle_textfontweight,
546
- transition: '.3s',
547
- ':hover': {
548
- color: sectionproperties.subheader_collectiontitle_coloronhover,
549
- },
550
- ':hover .parentclassname': {
551
- color: sectionproperties.collectionsectiontextcoloronhover,
552
- },
553
- }),
554
- collectionName: css({
555
- color: sectionproperties.collectionsectiontextcolor,
556
- fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
557
- fontWeight: sectionproperties.collectionsectiontextfontweight,
558
- transition: '.3s',
559
- ':hover': {
560
- color: sectionproperties.collectionsectiontextcoloronhover,
561
- },
562
- ':hover .parentclassname': {
563
- color: sectionproperties.collectionsectiontextcoloronhover,
564
- },
565
- }),
566
- };
567
- return (
568
- <div class="row m-0 w-100 justify-content-center" style={{ width: '100vw', zIndex: 1000, background: sectionproperties.header_backgroundColor }}>
569
- <a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_self'} style={{ position: 'fixed', bottom: 60, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}>
570
- <div class="allcentered" style={{ width: 42, height: 42, borderRadius: 100, background: '#000' }}>
571
- <i class={langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center' : 'h-100 d-flex align-items-center justify-content-center'}>
572
- <FiPhone size={25} color={'#fff'} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
573
- </i>
574
- </div>
575
- </a>
576
- <a
577
- href={'https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber}
578
- target={'_blank'}
579
- style={{ position: 'fixed', bottom: 10, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}
580
- >
581
- <img src={'https://tabex-co.com/storage/StaticImages/whatsapp.png'} style={{ width: '40px', height: '40px', cursor: 'pointer' }} />
582
- </a>
583
- <div
584
- class="row m-0 w-md-100"
585
- style={{
586
- width: sectionproperties.header_width + 'vw',
587
- }}
588
- >
589
- <div class="col-lg-12 p-0 d-md-none d-sm-none" style={{ position: sectionproperties.headerstyles_position }}>
590
- {templateproperties_context.showtextslider == 'Show' && (
591
- <MarqueeHeader sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
592
- )}
593
- {/* Upper Section */}
594
- <div class={header_cssstyles.upperheader + ' row m-0 w-100 justify-content-center px-2015-4 '}>
595
- <div class="col-lg-4 p-0 d-flex align-items-center justify-content-start">
596
- {sectionproperties.showfooterphonenumber == 'Show' && (
597
- <div class="d-flex align-items-center">
598
- <a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_self'} class={`${header_cssstyles.storeinfocont}` + ' d-flex align-items-center '}>
599
- <div class={`${header_cssstyles.iconContainer}` + ' allcentered iconContainer '}>
600
- <i class="allcentered">
601
- <FiPhone size={sectionproperties.icontextfontsize} />
602
- </i>
603
- </div>
604
- {sectionproperties.showfooterphonenumber == 'Show' && (
605
- <div>
606
- <p
607
- class="m-0 p-0 ml-2 mr-2"
608
- style={{
609
- fontSize: sectionproperties.footerinfotext_fontsize + 'px',
610
- color: sectionproperties.footerinfotext_color,
611
- textTransform: sectionproperties.footerinfotext_textTransform,
612
- fontWeight: sectionproperties.footerinfotext_fontweight,
613
- textAlign: langdetect == 'en' ? 'left' : 'right',
614
- }}
615
- >
616
- {langdetect == 'en' ? sectionproperties.footerinfotext_en : sectionproperties.footerinfotext_ar}
617
- </p>
618
- <p class={header_cssstyles.storeinfosecondarytext + ' m-0 p-0 ml-2 mr-2 storeinfoconttext '}>{authdetailsContext?.CuContactphonenumber}</p>
619
- </div>
620
- )}
621
- </a>
622
- </div>
623
- )}
624
- </div>
625
- <div class="col-lg-4 p-0 d-flex align-items-center justify-content-center">
626
- <div
627
- class={`${header_cssstyles.header_logo}`}
628
- style={{ cursor: 'pointer' }}
629
- onClick={() => {
630
- routingcountext('home');
631
- }}
632
- >
633
- <Imagekitimagecomp
634
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
635
- publicKey={ikimagecredcontext?.ikimagepublickey}
636
- path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
637
- style={{
638
- width: '100%',
639
- height: '100%',
640
- objectFit: 'contain',
641
- }}
642
- />
643
- </div>
644
- </div>
645
- <div class="col-lg-4 p-0 d-flex align-items-center justify-content-end">
646
- {sectionproperties.searchbar_show == 'Show' && (
647
- <div
648
- class="col-lg-4 p-0 d-flex justify-content-end align-items-center"
649
- onClick={() => {
650
- setSearchHeaderInputContext('');
651
- }}
652
- >
653
- <div class="row m-0 w-100 d-flex justify-content-end align-items-center">
654
- <div class="col-lg-12 p-0 d-flex justify-content-end align-items-center">
655
- <div class={`${header_cssstyles.searchbarcont}` + ' d-flex justify-content-center align-items-center '}>
656
- <input
657
- class={`${headerstyles.searchbar} ${header_cssstyles.searchbarcont_input}`}
658
- placeholder={langdetect == 'en' ? "What're we looking for?" : 'البحث...'}
659
- onChange={(event) => {
660
- setSearchHeaderInputContext(event.target.value);
661
- }}
662
- style={{
663
- right: langdetect == 'en' ? 0 : '',
664
- left: langdetect == 'en' ? '' : 0,
665
- }}
666
- />
667
- <i class={`${headerstyles.searchbaractive}` + ' h-100 d-flex align-items-center hovericon '}>
668
- <FiSearch
669
- size={sectionproperties.searchbarcontfontsize}
670
- style={{
671
- Zindex: 2,
672
- transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
673
- }}
674
- />
675
- </i>
676
- </div>
677
- </div>
678
- <div class="col-lg-12 p-0 d-flex justify-content-end align-items-center">
679
- <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'header-300'} actions={actions} />
680
- </div>
681
- </div>
682
- </div>
683
- )}
684
- <div
685
- class="headerdropdownml"
686
- style={{
687
- marginLeft: langdetect == 'en' ? '1.2rem' : 0,
688
- marginRight: langdetect == 'ar' ? '1.2rem' : 0,
689
- zIndex: 1000,
690
- }}
691
- >
692
- <Dropdown>
693
- <Dropdown.Toggle>
694
- {!authdetailsContext.loggedin && (
695
- <div
696
- class={`${headerstyles.navbar_item}` + ' d-flex justify-content-center align-items-center '}
697
- onClick={() => {
698
- routingcountext(StaticPagesLinksContext.Login);
699
- }}
700
- >
701
- <span
702
- class={
703
- `${headerstyles.navbar_item_text} ${header_cssstyles.navbar_item_text} ${header_cssstyles.user_btn}` +
704
- ' d-flex justify-content-center align-items-center '
705
- }
706
- >
707
- <FiUser size={sectionproperties.userBtniconfontsize} />
708
- </span>
709
- </div>
710
- )}
711
- {authdetailsContext.loggedin && (
712
- <div class={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
713
- <div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
714
- <i class={' h-100 allcentered '}>
715
- <FiUser size={sectionproperties.loggedinusericonfontsize} />
716
- </i>
717
- </div>
718
- <div
719
- class="m-0 p-0 flex-column"
720
- style={{
721
- textAlign: langdetect == 'en' ? 'left' : 'right',
722
- }}
723
- >
724
- <p
725
- class="m-0 p-0"
726
- style={{
727
- color: sectionproperties.greetingtextcolor,
728
- fontSize: sectionproperties.greetingtextfontsize + 'px',
729
- lineHeight: sectionproperties.greetingtextfontsize + 'px',
730
- fontWeight: 400,
731
- }}
732
- >
733
- {lang.hello}
734
- {langdetect == 'en' ? ',' : '،'}
735
- </p>
736
- <p class={header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow '} style={{ maxWidth: '60px' }}>
737
- {authdetailsContext?.customerinfo?.name}
738
- </p>
739
- </div>
740
- </div>
741
- )}
742
- </Dropdown.Toggle>
743
- {/* {!authdetailsContext.loggedin && (
744
- <Dropdown.Menu>
745
- <Dropdown.Item
746
- onClick={() => {
747
- routingcountext(StaticPagesLinksContext.Login);
748
- }}
749
- >
750
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
751
- <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
752
- <AiOutlineLogin />
753
- <span class="ml-2 mr-2">{lang.login}</span>
754
- </p>
755
- </div>
756
- </Dropdown.Item>
757
- <Dropdown.Divider></Dropdown.Divider>
758
- <Dropdown.Item
759
- onClick={() => {
760
- routingcountext(StaticPagesLinksContext.Signup);
761
- }}
762
- >
763
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
764
- <p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
765
- <AiOutlineUserAdd />
766
- <span class="ml-2 mr-2 text-transform-none">{lang.signup}</span>
767
- </p>
768
- </div>
769
- </Dropdown.Item>
770
- </Dropdown.Menu>
771
- )} */}
772
- {authdetailsContext.loggedin && (
773
- <Dropdown.Menu style={{ minWidth: '200px' }}>
774
- <Dropdown.Item>
775
- <div class={`${header_cssstyles.dropdownitemcontainer}`}>
776
- <span
777
- style={{
778
- color: '#8fa0bd',
779
- }}
780
- >
781
- {lang.hello},
782
- </span>
783
- <span
784
- class={`${header_cssstyles.dropdownitem}` + ' dropdownitem font-weight-600 text-overflow text-capitalize p-0 ml-1 mr-1 '}
785
- onClick={() => {
786
- routingcountext(StaticPagesLinksContext.accountinfo);
787
- }}
788
- >
789
- {authdetailsContext?.customerinfo?.name}
790
- </span>
791
- </div>
792
- </Dropdown.Item>
793
- <Dropdown.Divider></Dropdown.Divider>
794
- <Dropdown.Item
795
- onClick={() => {
796
- routingcountext(StaticPagesLinksContext.Ordershistory);
797
- }}
798
- >
799
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
800
- <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
801
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
802
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
803
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
804
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag />}
805
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
806
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart />}
807
- {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar />}
808
- <span class="ml-2 mr-2">{langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear}</span>
809
- </p>
810
- </div>
811
- </Dropdown.Item>
812
- <Dropdown.Divider></Dropdown.Divider>
813
- <Dropdown.Item
814
- onClick={() => {
815
- routingcountext(StaticPagesLinksContext.Wishlist);
816
- }}
817
- >
818
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
819
- <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
820
- {sectionproperties.faviconshape == 'Heart Shape' && <AiOutlineHeart />}
821
- {sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
822
- <span class="ml-2 mr-2">{lang.wishlist}</span>
823
- </p>
824
- </div>
825
- </Dropdown.Item>
826
- <Dropdown.Divider></Dropdown.Divider>
827
- <Dropdown.Item
828
- onClick={() => {
829
- routingcountext(StaticPagesLinksContext.Policies);
830
- }}
831
- >
832
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
833
- <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
834
- <AiOutlineSecurityScan />
835
- <span class="ml-2 mr-2">{lang.policies}</span>
836
- </p>
837
- </div>
838
- </Dropdown.Item>
839
- <Dropdown.Divider></Dropdown.Divider>
840
- <Dropdown.Item
841
- onClick={() => {
842
- LogoutMutationContext.mutate();
843
- }}
844
- >
845
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
846
- <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
847
- <BiLogOutCircle />
848
- <span class="ml-2 mr-2">{lang.logout}</span>
849
- </p>
850
- </div>
851
- </Dropdown.Item>
852
- </Dropdown.Menu>
853
- )}
854
- </Dropdown>
855
- </div>
856
- {sectionproperties.favBtnShow == 'Show' && (
857
- <div
858
- class={`${header_cssstyles.wishlist_btn}` + ' d-flex justify-content-center align-items-center cursor-pointer '}
859
- onClick={() => {
860
- routingcountext(StaticPagesLinksContext.Wishlist);
861
- }}
862
- style={{
863
- marginLeft: langdetect == 'en' ? '1.2rem' : 0,
864
- marginRight: langdetect == 'ar' ? '1.2rem' : 0,
865
- }}
866
- >
867
- {sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
868
- {sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
869
- </div>
870
- )}
871
- {sectionproperties.cartBtnShow == 'Show' && (
872
- <div
873
- class={`${header_cssstyles.cart_btn}` + ' allcentered '}
874
- onClick={() => {
875
- setsidecartnavshowcontext(true);
876
- }}
877
- style={{
878
- marginLeft: langdetect == 'en' ? '1.2rem' : 0,
879
- marginRight: langdetect == 'ar' ? '1.2rem' : 0,
880
- }}
881
- >
882
- <div
883
- className={
884
- `${headerstyles.badge_counter_header_notifications} ${header_cssstyles.badge_counter_header_notifications}` +
885
- ' d-flex justify-content-center align-items-center '
886
- }
887
- style={{
888
- top: sectionproperties.cartbadgetop + 'px',
889
- right: sectionproperties.cartbadgeright + 'px',
890
- }}
891
- >
892
- {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
893
- </div>
894
- {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
895
- {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
896
- {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtn_iconFontSize} />}
897
- {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
898
- {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
899
- {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
900
- {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtn_iconFontSize} />}
901
- </div>
902
- )}
903
- {sectionproperties.lang_position == 'Top' && sectionproperties.showlanuagecontainer == 'Show' && (
904
- <div class={langdetect == 'en' ? 'headerdropdownml ml-3' : 'headerdropdownmr mr-3'}>
905
- <Dropdown>
906
- <Dropdown.Toggle>
907
- <li class={' d-flex align-items-center justify-content-center '}>
908
- {langdetect == 'en' && (
909
- <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
910
- <p class="m-0 p-0 mr-2">En</p>
911
- <MdKeyboardArrowDown />
912
- </div>
913
- )}
914
- {langdetect == 'ar' && (
915
- <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
916
- <p class="m-0 p-0 ml-2">ع</p>
917
- <MdKeyboardArrowDown />
918
- </div>
919
- )}
920
- </li>
921
- </Dropdown.Toggle>
922
- <Dropdown.Menu>
923
- <Dropdown.Item
924
- onClick={() => {
925
- setlang('ar');
926
- }}
927
- >
928
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
929
- <p
930
- class={'dropdownitem d-flex align-items-center m-0 p-0'}
931
- style={{
932
- fontSize: sectionproperties.dropdown_fontsize + 'px',
933
- fontWeight: sectionproperties.dropdown_fontweight,
934
- textTransform: sectionproperties.dropdown_texttransform,
935
- }}
936
- >
937
- <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
938
- <span class={'ml-2 mr-2'}>{lang.arabic}</span>
939
- </p>
940
- </div>
941
- </Dropdown.Item>
942
- <Dropdown.Divider></Dropdown.Divider>
943
- <Dropdown.Item
944
- onClick={() => {
945
- setlang('en');
946
- }}
947
- >
948
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
949
- <p
950
- class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
951
- style={{
952
- fontSize: sectionproperties.dropdown_fontsize + 'px',
953
- fontWeight: sectionproperties.dropdown_fontweight,
954
- textTransform: sectionproperties.dropdown_texttransform,
955
- }}
956
- >
957
- <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
958
- <span class={'ml-2 mr-2'}>{lang.english}</span>
959
- </p>
960
- </div>
961
- </Dropdown.Item>
962
- </Dropdown.Menu>
963
- </Dropdown>
964
- </div>
965
- )}
966
- </div>
967
- </div>
968
- {/* Separator */}
969
- <div
970
- class="col-lg-12 p-0 allcentered"
971
- style={{
972
- backgroundColor: sectionproperties.uppersection_bgcolortransparent == 'Transparent' ? 'Transparent' : sectionproperties.uppersection_bgcolor,
973
- }}
974
- >
975
- <div
976
- style={{ background: sectionproperties.upperseparatorbgcolor, height: sectionproperties.upperseparatorheight + 'px', width: sectionproperties.upperseparatorwidth + '%' }}
977
- />
978
- </div>
979
- {/* Lower Section */}
980
- <div class={header_cssstyles.lowerheader + ' row m-0 w-100 justify-content-center px-2015-4 '}>
981
- <div class="col-lg-2 p-0 d-flex align-items-center justify-content-start">
982
- {sectionproperties.fbbtn_show == 'Show' && authdetailsContext?.instinfo?.facebooklink != null && sectionproperties.btntype == 'Shop' && (
983
- <div
984
- class={`${header_cssstyles.facebook_btn}` + ' d-flex align-items-center justify-content-center '}
985
- style={{
986
- marginRight: langdetect == 'en' ? '1rem' : 0,
987
- marginLeft: langdetect == 'ar' ? '1rem' : 0,
988
- }}
989
- onClick={() => {
990
- if (authdetailsContext?.instinfo?.facebooklink != null) {
991
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
992
- }
993
- }}
994
- >
995
- <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
996
- </div>
997
- )}
998
- {sectionproperties.instbtn_show == 'Show' && authdetailsContext?.instinfo?.instagramlink != null && sectionproperties.btntype == 'Shop' && (
999
- <div
1000
- class={`${header_cssstyles.instgram_btn}` + ' d-flex align-items-center justify-content-center '}
1001
- style={{
1002
- marginRight: langdetect == 'en' ? '1rem' : 0,
1003
- marginLeft: langdetect == 'ar' ? '1rem' : 0,
1004
- }}
1005
- onClick={() => {
1006
- if (authdetailsContext?.instinfo?.instagramlink != null) {
1007
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1008
- }
1009
- }}
1010
- >
1011
- <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
1012
- </div>
1013
- )}
1014
- {sectionproperties.youtbtn_show == 'Show' && authdetailsContext?.instinfo?.whatsappnumber != null && sectionproperties.btntype == 'Shop' && (
1015
- <div
1016
- class={`${header_cssstyles.youtube_btn}` + ' d-flex align-items-center justify-content-center '}
1017
- onClick={() => {
1018
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1019
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1020
- }
1021
- }}
1022
- >
1023
- <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
1024
- </div>
1025
- )}
1026
- {sectionproperties.generalbtn_show == 'Show' && sectionproperties.btntype == 'Filter' && (
1027
- <li class={langdetect == 'en' ? 'dropdown dropdownen w-100' : 'dropdown dropdownar w-100'}>
1028
- <div class={`${header_cssstyles.buttonStyles}` + ' m-0 allcentered px-2 cursor-pointer '}>
1029
- <i class={' categorybtnicon d-flex align-items-center justify-content-center '}>
1030
- <HiMenuAlt4 size={18} />
1031
- </i>
1032
- <p class={langdetect == 'en' ? ' m-0 p-0 ml-2' : ' m-0 p-0 mr-2 '}>
1033
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1034
- </p>
1035
- </div>
1036
- <ul style={{ width: '80%' }}>
1037
- {sectionproperties.fetchparenttype == 'Categories' &&
1038
- authdetailsContext?.instinfo?.instcategories?.map((item, index) => {
1039
- var fetchedarray = authdetailsContext?.instinfo?.instcategories;
1040
- if (item.isshowntocustomers == 1) {
1041
- return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1042
- }
1043
- })}
1044
- {sectionproperties.fetchparenttype == 'Parent Collections' &&
1045
- pcollarray?.map((item, index) => {
1046
- var fetchedarray = pcollarray;
1047
- if (item.isshowntocustomers == 1) {
1048
- return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1049
- }
1050
- })}
1051
- {sectionproperties.fetchparenttype == 'Collections' &&
1052
- authdetailsContext?.instinfo?.instcollections?.map((item, index) => {
1053
- var fetchedarray = authdetailsContext?.instinfo?.instcollections;
1054
- if (item.isshowntocustomers == 1) {
1055
- return <div class="w-100">{ButtonDropdown(item, index, fetchedarray)}</div>;
1056
- }
1057
- })}
1058
- </ul>
1059
- </li>
1060
- )}
1061
- </div>
1062
- <div
1063
- class={
1064
- sectionproperties.generalbtn_show == 'Hide' &&
1065
- sectionproperties.fbbtn_show == 'Hide' &&
1066
- sectionproperties.instbtn_show == 'Hide' &&
1067
- sectionproperties.youtbtn_show == 'Hide' &&
1068
- sectionproperties.lang_position == 'Top'
1069
- ? 'col-lg-12 p-0 d-flex align-items-center justify-content-center'
1070
- : 'col-lg-8 p-0 d-flex align-items-center justify-content-center'
1071
- }
1072
- >
1073
- <div
1074
- class=" w-100 align-items-center justify-content-center h-100 flex-row"
1075
- // class="scrollhorizontal w-100 align-items-center justify-content-center h-100 flex-row"
1076
- style={{
1077
- display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
1078
- flexWrap: 'wrap',
1079
- }}
1080
- >
1081
- {templatepropcontext.pagesnprop.map((item, index) => {
1082
- if (item.isnavigation == 1 && item.isactive == 1) {
1083
- return (
1084
- <div
1085
- class="cursor-pointer"
1086
- onClick={() => {
1087
- routingcountext(item.navigationroute, false, '');
1088
- }}
1089
- style={{
1090
- marginRight: langdetect == 'en' ? '30px' : 0,
1091
- marginLeft: langdetect == 'ar' ? '30px' : 0,
1092
- }}
1093
- >
1094
- <span class={`${header_cssstyles.topbar_item_text}`}>{langdetect == 'en' ? item.pagename : item.pagename_ar}</span>
1095
- </div>
1096
- );
1097
- }
1098
- })}
1099
- </div>
1100
- {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
1101
- <div class="row m-0 w-100 p-0">
1102
- <Subheader
1103
- sectionpropertiesprops={sectionproperties}
1104
- authdetailsContext={authdetailsContext}
1105
- subheaderpropertiesprops={{
1106
- subheaderpositionprops: 'in nav',
1107
- paddingLeftprops: '30px',
1108
- paddingRightprops: '30px',
1109
- subheadercontentpositionprops: 'center',
1110
- }}
1111
- actions={actions}
1112
- />
1113
- </div>
1114
- )}
1115
- </div>
1116
- <div class="col-lg-2 p-0 d-flex align-items-center justify-content-end">
1117
- {sectionproperties.generalbtn_show == 'Show' && sectionproperties.btntype == 'Shop' && (
1118
- <button
1119
- class={`${header_cssstyles.buttonStyles}` + ' allcentered '}
1120
- onClick={() => {
1121
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
1122
- }}
1123
- >
1124
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1125
- </button>
1126
- )}
1127
- {sectionproperties.fbbtn_show == 'Show' && authdetailsContext?.instinfo?.facebooklink != null && sectionproperties.btntype == 'Filter' && (
1128
- <div
1129
- class={`${header_cssstyles.facebook_btn}` + ' d-flex align-items-center justify-content-center '}
1130
- style={{
1131
- marginRight: langdetect == 'en' ? '1rem' : 0,
1132
- marginLeft: langdetect == 'ar' ? '1rem' : 0,
1133
- }}
1134
- onClick={() => {
1135
- if (authdetailsContext?.instinfo?.facebooklink != null) {
1136
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1137
- }
1138
- }}
1139
- >
1140
- <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
1141
- </div>
1142
- )}
1143
- {sectionproperties.instbtn_show == 'Show' && authdetailsContext?.instinfo?.instagramlink != null && sectionproperties.btntype == 'Filter' && (
1144
- <div
1145
- class={`${header_cssstyles.instgram_btn}` + ' d-flex align-items-center justify-content-center '}
1146
- style={{
1147
- marginRight: langdetect == 'en' ? '1rem' : 0,
1148
- marginLeft: langdetect == 'ar' ? '1rem' : 0,
1149
- }}
1150
- onClick={() => {
1151
- if (authdetailsContext?.instinfo?.instagramlink != null) {
1152
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1153
- }
1154
- }}
1155
- >
1156
- <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
1157
- </div>
1158
- )}
1159
- {sectionproperties.youtbtn_show == 'Show' && authdetailsContext?.instinfo?.whatsappnumber != null && sectionproperties.btntype == 'Filter' && (
1160
- <div
1161
- class={`${header_cssstyles.youtube_btn}` + ' d-flex align-items-center justify-content-center '}
1162
- onClick={() => {
1163
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1164
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1165
- }
1166
- }}
1167
- >
1168
- <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
1169
- </div>
1170
- )}
1171
- {sectionproperties.lang_position == 'Bottom' && sectionproperties.showlanuagecontainer == 'Show' && (
1172
- <div class={langdetect == 'en' ? 'headerdropdownml ml-3' : 'headerdropdownmr mr-3'}>
1173
- <Dropdown>
1174
- <Dropdown.Toggle>
1175
- <li class={' d-flex align-items-center justify-content-center '}>
1176
- {langdetect == 'en' && (
1177
- <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1178
- <p class="m-0 p-0 mr-2">En</p>
1179
- <MdKeyboardArrowDown />
1180
- </div>
1181
- )}
1182
- {langdetect == 'ar' && (
1183
- <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1184
- <p class="m-0 p-0 ml-2">ع</p>
1185
- <MdKeyboardArrowDown />
1186
- </div>
1187
- )}
1188
- </li>
1189
- </Dropdown.Toggle>
1190
- <Dropdown.Menu>
1191
- <Dropdown.Item
1192
- onClick={() => {
1193
- setlang('ar');
1194
- }}
1195
- >
1196
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
1197
- <p
1198
- class={'dropdownitem d-flex align-items-center m-0 p-0'}
1199
- style={{
1200
- fontSize: sectionproperties.dropdown_fontsize + 'px',
1201
- fontWeight: sectionproperties.dropdown_fontweight,
1202
- textTransform: sectionproperties.dropdown_texttransform,
1203
- }}
1204
- >
1205
- <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
1206
- <span class={'ml-2 mr-2'}>{lang.arabic}</span>
1207
- </p>
1208
- </div>
1209
- </Dropdown.Item>
1210
- <Dropdown.Divider></Dropdown.Divider>
1211
- <Dropdown.Item
1212
- onClick={() => {
1213
- setlang('en');
1214
- }}
1215
- >
1216
- <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
1217
- <p
1218
- class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
1219
- style={{
1220
- fontSize: sectionproperties.dropdown_fontsize + 'px',
1221
- fontWeight: sectionproperties.dropdown_fontweight,
1222
- textTransform: sectionproperties.dropdown_texttransform,
1223
- }}
1224
- >
1225
- <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
1226
- <span class={'ml-2 mr-2'}>{lang.english}</span>
1227
- </p>
1228
- </div>
1229
- </Dropdown.Item>
1230
- </Dropdown.Menu>
1231
- </Dropdown>
1232
- </div>
1233
- )}
1234
- </div>
1235
- {/* {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
1236
- <div class="col-lg-12 col-md-12 col-sm-12 p-0">
1237
- <Subheader
1238
- sectionpropertiesprops={sectionproperties}
1239
- subheaderpropertiesprops={{
1240
- subheaderpositionprops: 'Full Width',
1241
- paddingLeftprops: '30px',
1242
- paddingRightprops: '30px',
1243
- subheadercontentpositionprops: 'center',
1244
- }}
1245
- actions={actions}
1246
- />
1247
- </div>
1248
- )} */}
1249
- </div>
1250
- </div>
1251
- <div class="col-lg-12 col-md-12 col-sm-12 p-0 d-lg-none d-md-block d-sm-block">
1252
- {sectionproperties.responsiveheaderstyle == 'Style 1' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1253
- {sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1254
- {sectionproperties.responsiveheaderstyle == 'Style 2' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1255
- {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1256
- {sectionproperties.responsiveheaderstyle == 'Style 2 With Merged Subheader' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1257
- {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader Only' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1258
- </div>
1259
- </div>
1260
- </div>
1261
- );
1262
- };
1263
-
1264
- export default CTAHeader;