tabexseriescomponents 0.0.706 → 0.0.708

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 (348) hide show
  1. package/package.json +1 -1
  2. package/srcoman/Contexts/LanguageContext.jsx +408 -0
  3. package/srcoman/Contexts/ProductsCardsSectionContext.jsx +36 -0
  4. package/srcoman/Imagekitconfig.jsx +46 -0
  5. package/srcoman/StylesJS/Customstyles.js +345 -0
  6. package/srcoman/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
  7. package/srcoman/TabexComponents/Cards/Card20/Card20.jsx +298 -0
  8. package/srcoman/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  9. package/srcoman/TabexComponents/Cards/Card22/Card22.jsx +288 -0
  10. package/srcoman/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
  11. package/srcoman/TabexComponents/Cards/Card23/Card23.jsx +742 -0
  12. package/srcoman/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
  13. package/srcoman/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
  14. package/srcoman/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  15. package/srcoman/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  16. package/srcoman/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
  17. package/srcoman/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
  18. package/srcoman/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
  19. package/srcoman/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
  20. package/srcoman/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  21. package/srcoman/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  22. package/srcoman/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
  23. package/srcoman/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
  24. package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
  25. package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +146 -0
  26. package/srcoman/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
  27. package/srcoman/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
  28. package/srcoman/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
  29. package/srcoman/TabexComponents/Cards/MenuCard/MenuCard.jsx +732 -0
  30. package/srcoman/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
  31. package/srcoman/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
  32. package/srcoman/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
  33. package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
  34. package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
  35. package/srcoman/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  36. package/srcoman/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
  37. package/srcoman/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
  38. package/srcoman/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
  39. package/srcoman/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
  40. package/srcoman/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  41. package/srcoman/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
  42. package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
  43. package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
  44. package/srcoman/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +558 -0
  45. package/srcoman/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  46. package/srcoman/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  47. package/srcoman/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
  48. package/srcoman/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +613 -0
  49. package/srcoman/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
  50. package/srcoman/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
  51. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
  52. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
  53. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
  54. package/srcoman/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
  55. package/srcoman/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
  56. package/srcoman/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
  57. package/srcoman/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
  58. package/srcoman/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
  59. package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +780 -0
  60. package/srcoman/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
  61. package/srcoman/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
  62. package/srcoman/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
  63. package/srcoman/TabexComponents/Footer/Footer5/Footer5.jsx +714 -0
  64. package/srcoman/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
  65. package/srcoman/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
  66. package/srcoman/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
  67. package/srcoman/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
  68. package/srcoman/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +562 -0
  69. package/srcoman/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +865 -0
  70. package/srcoman/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
  71. package/srcoman/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
  72. package/srcoman/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
  73. package/srcoman/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  74. package/srcoman/TabexComponents/Generalfiles/images/noimage.png +0 -0
  75. package/srcoman/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  76. package/srcoman/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  77. package/srcoman/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  78. package/srcoman/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  79. package/srcoman/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  80. package/srcoman/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  81. package/srcoman/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  82. package/srcoman/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  83. package/srcoman/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  84. package/srcoman/TabexComponents/Generalfiles/images/usflag.png +0 -0
  85. package/srcoman/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  86. package/srcoman/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
  87. package/srcoman/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
  88. package/srcoman/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
  89. package/srcoman/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1263 -0
  90. package/srcoman/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
  91. package/srcoman/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
  92. package/srcoman/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
  93. package/srcoman/TabexComponents/Headers/Header4/Header4.jsx +622 -0
  94. package/srcoman/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
  95. package/srcoman/TabexComponents/Headers/Header8/Header8.jsx +1976 -0
  96. package/srcoman/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
  97. package/srcoman/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
  98. package/srcoman/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
  99. package/srcoman/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
  100. package/srcoman/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +953 -0
  101. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
  102. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
  103. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
  104. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
  105. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1610 -0
  106. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
  107. package/srcoman/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
  108. package/srcoman/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
  109. package/srcoman/TabexComponents/Headers/Modernheader/Modernheader.jsx +972 -0
  110. package/srcoman/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
  111. package/srcoman/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
  112. package/srcoman/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1073 -0
  113. package/srcoman/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +133 -0
  114. package/srcoman/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
  115. package/srcoman/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
  116. package/srcoman/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
  117. package/srcoman/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
  118. package/srcoman/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
  119. package/srcoman/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
  120. package/srcoman/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1089 -0
  121. package/srcoman/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +936 -0
  122. package/srcoman/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
  123. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
  124. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
  125. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
  126. package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
  127. package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
  128. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
  129. package/srcoman/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
  130. package/srcoman/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
  131. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
  132. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
  133. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +627 -0
  134. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
  135. package/srcoman/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
  136. package/srcoman/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
  137. package/srcoman/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
  138. package/srcoman/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
  139. package/srcoman/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
  140. package/srcoman/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
  141. package/srcoman/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
  142. package/srcoman/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
  143. package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
  144. package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +617 -0
  145. package/srcoman/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
  146. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
  147. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
  148. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
  149. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1898 -0
  150. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
  151. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
  152. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
  153. package/srcoman/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
  154. package/srcoman/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
  155. package/srcoman/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  156. package/srcoman/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
  157. package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
  158. package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +962 -0
  159. package/srcoman/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
  160. package/srcoman/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  161. package/srcoman/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
  162. package/srcoman/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
  163. package/srcoman/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
  164. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
  165. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +437 -0
  166. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
  167. package/srcoman/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
  168. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1769 -0
  169. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
  170. package/srcoman/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
  171. package/srcoman/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +380 -0
  172. package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +867 -0
  173. package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
  174. package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
  175. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
  176. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  177. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
  178. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
  179. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
  180. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
  181. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
  182. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
  183. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
  184. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
  185. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
  186. package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
  187. package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
  188. package/srcoman/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
  189. package/srcoman/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
  190. package/srcoman/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
  191. package/srcoman/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
  192. package/srcoman/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
  193. package/srcoman/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
  194. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
  195. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout.jsx +1892 -0
  196. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
  197. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
  198. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
  199. package/srcoman/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
  200. package/srcoman/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
  201. package/srcoman/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
  202. package/srcoman/TabexComponents/StaticPages/Filter/Filter.jsx +2771 -0
  203. package/srcoman/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
  204. package/srcoman/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
  205. package/srcoman/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
  206. package/srcoman/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
  207. package/srcoman/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
  208. package/srcoman/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
  209. package/srcoman/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  210. package/srcoman/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  211. package/srcoman/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
  212. package/srcoman/TabexComponents/StaticPages/Login/Login.jsx +610 -0
  213. package/srcoman/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
  214. package/srcoman/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
  215. package/srcoman/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
  216. package/srcoman/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
  217. package/srcoman/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
  218. package/srcoman/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
  219. package/srcoman/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
  220. package/srcoman/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
  221. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
  222. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
  223. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
  224. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
  225. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1983 -0
  226. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
  227. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
  228. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
  229. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
  230. package/srcoman/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1946 -0
  231. package/srcoman/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
  232. package/srcoman/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
  233. package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
  234. package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
  235. package/srcoman/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  236. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
  237. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
  238. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
  239. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
  240. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
  241. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
  242. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
  243. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
  244. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
  245. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
  246. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
  247. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
  248. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
  249. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
  250. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
  251. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
  252. package/srcoman/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
  253. package/srcoman/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
  254. package/srcoman/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
  255. package/srcoman/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
  256. package/srcoman/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
  257. package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
  258. package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
  259. package/srcoman/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
  260. package/srcoman/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
  261. package/srcoman/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
  262. package/srcoman/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
  263. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
  264. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
  265. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
  266. package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
  267. package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
  268. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
  269. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
  270. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
  271. package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
  272. package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
  273. package/srcoman/button.jsx +40 -0
  274. package/srcoman/index.jsx +334 -0
  275. package/srcoman/styles/Home.module.css +129 -0
  276. package/srcoman/styles/cards/Categorcycard_fullimage.module.css +14 -0
  277. package/srcoman/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  278. package/srcoman/styles/cards/Categorycard_withshapes.module.css +189 -0
  279. package/srcoman/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  280. package/srcoman/styles/cards/Productcard6.module.css +9 -0
  281. package/srcoman/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  282. package/srcoman/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  283. package/srcoman/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  284. package/srcoman/styles/cards/card23.module.css +60 -0
  285. package/srcoman/styles/cards/categorycard.module.css +84 -0
  286. package/srcoman/styles/cards/categorycard3.module.css +50 -0
  287. package/srcoman/styles/cards/categorycardwithtext.module.css +40 -0
  288. package/srcoman/styles/cards/generalCardsStyles.module.css +79 -0
  289. package/srcoman/styles/cards/productcard_animatedbuttons.module.css +139 -0
  290. package/srcoman/styles/cards/productcard_with_textonhover.module.css +18 -0
  291. package/srcoman/styles/cards/productcard_withtextonimage.module.css +0 -0
  292. package/srcoman/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  293. package/srcoman/styles/general/bootstrap.css +4763 -0
  294. package/srcoman/styles/general/dropdown.css +206 -0
  295. package/srcoman/styles/general/editorbardropdown.module.css +94 -0
  296. package/srcoman/styles/general/filter.module.css +108 -0
  297. package/srcoman/styles/general/form.module.css +255 -0
  298. package/srcoman/styles/general/general.module.css +872 -0
  299. package/srcoman/styles/general/image-gallery.css +531 -0
  300. package/srcoman/styles/general/react-accessible-accordion.module.css +52 -0
  301. package/srcoman/styles/general/react-phone-input-2.module.css +927 -0
  302. package/srcoman/styles/general/scrollbtn.module.css +22 -0
  303. package/srcoman/styles/general/slick.module.css +166 -0
  304. package/srcoman/styles/general/tabs.module.css +119 -0
  305. package/srcoman/styles/general/workplaceeditor.module.css +328 -0
  306. package/srcoman/styles/globals.css +26 -0
  307. package/srcoman/styles/headers/CTAHeader.module.css +40 -0
  308. package/srcoman/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  309. package/srcoman/styles/headers/Gotoheader.module.css +87 -0
  310. package/srcoman/styles/headers/Header7.module.css +50 -0
  311. package/srcoman/styles/headers/HeaderWithAdSlider.module.css +86 -0
  312. package/srcoman/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  313. package/srcoman/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  314. package/srcoman/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  315. package/srcoman/styles/headers/NewHeader.module.css +101 -0
  316. package/srcoman/styles/headers/SearchFocusedHeader.module.css +62 -0
  317. package/srcoman/styles/headers/Sideheader.module.css +108 -0
  318. package/srcoman/styles/headers/Simpleheader.module.css +102 -0
  319. package/srcoman/styles/headers/classicheader.module.css +16 -0
  320. package/srcoman/styles/headers/classicheaderstyles.module.css +9 -0
  321. package/srcoman/styles/headers/dropdown.css +0 -0
  322. package/srcoman/styles/headers/header4.module.css +175 -0
  323. package/srcoman/styles/headers/header5.module.css +30 -0
  324. package/srcoman/styles/headers/header_contactinfo.module.css +53 -0
  325. package/srcoman/styles/headers/headerresturant.module.css +89 -0
  326. package/srcoman/styles/headers/modernheader.module.css +45 -0
  327. package/srcoman/styles/headers/stylishheader.module.css +24 -0
  328. package/srcoman/styles/headers/subheader.module.css +114 -0
  329. package/srcoman/styles/headers/threetieredheader.module.css +91 -0
  330. package/srcoman/styles/sections/BackgroundImageWithTopContent.css +4 -0
  331. package/srcoman/styles/sections/Backgroundimage1.module.css +17 -0
  332. package/srcoman/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  333. package/srcoman/styles/sections/Freetext.module.css +18 -0
  334. package/srcoman/styles/sections/Section_with_rightbgcont.module.css +49 -0
  335. package/srcoman/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  336. package/srcoman/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  337. package/srcoman/styles/staticpages/accordion.module.css +9 -0
  338. package/srcoman/styles/staticpages/cart.module.css +108 -0
  339. package/srcoman/styles/staticpages/dropdown.css +196 -0
  340. package/srcoman/styles/staticpages/filter.module.css +139 -0
  341. package/srcoman/styles/staticpages/image-gallery.css +481 -0
  342. package/srcoman/styles/staticpages/login.module.css +155 -0
  343. package/srcoman/styles/staticpages/productinfo.module.css +54 -0
  344. package/srcoman/styles/staticpages/shop.module.css +191 -0
  345. package/srcoman/styles/staticpages/signup.module.css +250 -0
  346. package/srcoman/styles/staticpages/staticroutersidenav.module.css +129 -0
  347. package/srcoman/styles/staticpages/viewcart.module.css +129 -0
  348. package/srcoman/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,1259 @@
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="scrollhorizontal w-100 align-items-center justify-content-center h-100 flex-row"
1075
+ style={{
1076
+ display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
1077
+ }}
1078
+ >
1079
+ {templatepropcontext.pagesnprop.map((item, index) => {
1080
+ if (item.isnavigation == 1 && item.isactive == 1) {
1081
+ return (
1082
+ <div
1083
+ class="cursor-pointer"
1084
+ onClick={() => {
1085
+ routingcountext(item.navigationroute, false, '');
1086
+ }}
1087
+ style={{
1088
+ marginRight: langdetect == 'en' ? '30px' : 0,
1089
+ marginLeft: langdetect == 'ar' ? '30px' : 0,
1090
+ }}
1091
+ >
1092
+ <span class={`${header_cssstyles.topbar_item_text}`}>{langdetect == 'en' ? item.pagename : item.pagename_ar}</span>
1093
+ </div>
1094
+ );
1095
+ }
1096
+ })}
1097
+ </div>
1098
+ {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
1099
+ <div class="row m-0 w-100 p-0">
1100
+ <Subheader
1101
+ sectionpropertiesprops={sectionproperties}
1102
+ authdetailsContext={authdetailsContext}
1103
+ subheaderpropertiesprops={{
1104
+ subheaderpositionprops: 'in nav',
1105
+ paddingLeftprops: '30px',
1106
+ paddingRightprops: '30px',
1107
+ subheadercontentpositionprops: 'center',
1108
+ }}
1109
+ actions={actions}
1110
+ />
1111
+ </div>
1112
+ )}
1113
+ </div>
1114
+ <div class="col-lg-2 p-0 d-flex align-items-center justify-content-end">
1115
+ {sectionproperties.generalbtn_show == 'Show' && sectionproperties.btntype == 'Shop' && (
1116
+ <button
1117
+ class={`${header_cssstyles.buttonStyles}` + ' allcentered '}
1118
+ onClick={() => {
1119
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
1120
+ }}
1121
+ >
1122
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1123
+ </button>
1124
+ )}
1125
+ {sectionproperties.fbbtn_show == 'Show' && authdetailsContext?.instinfo?.facebooklink != null && sectionproperties.btntype == 'Filter' && (
1126
+ <div
1127
+ class={`${header_cssstyles.facebook_btn}` + ' d-flex align-items-center justify-content-center '}
1128
+ style={{
1129
+ marginRight: langdetect == 'en' ? '1rem' : 0,
1130
+ marginLeft: langdetect == 'ar' ? '1rem' : 0,
1131
+ }}
1132
+ onClick={() => {
1133
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
1134
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1135
+ }
1136
+ }}
1137
+ >
1138
+ <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
1139
+ </div>
1140
+ )}
1141
+ {sectionproperties.instbtn_show == 'Show' && authdetailsContext?.instinfo?.instagramlink != null && sectionproperties.btntype == 'Filter' && (
1142
+ <div
1143
+ class={`${header_cssstyles.instgram_btn}` + ' d-flex align-items-center justify-content-center '}
1144
+ style={{
1145
+ marginRight: langdetect == 'en' ? '1rem' : 0,
1146
+ marginLeft: langdetect == 'ar' ? '1rem' : 0,
1147
+ }}
1148
+ onClick={() => {
1149
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1150
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1151
+ }
1152
+ }}
1153
+ >
1154
+ <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
1155
+ </div>
1156
+ )}
1157
+ {sectionproperties.youtbtn_show == 'Show' && authdetailsContext?.instinfo?.whatsappnumber != null && sectionproperties.btntype == 'Filter' && (
1158
+ <div
1159
+ class={`${header_cssstyles.youtube_btn}` + ' d-flex align-items-center justify-content-center '}
1160
+ onClick={() => {
1161
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1162
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1163
+ }
1164
+ }}
1165
+ >
1166
+ <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
1167
+ </div>
1168
+ )}
1169
+ {sectionproperties.lang_position == 'Bottom' && sectionproperties.showlanuagecontainer == 'Show' && (
1170
+ <div class={langdetect == 'en' ? 'headerdropdownml ml-3' : 'headerdropdownmr mr-3'}>
1171
+ <Dropdown>
1172
+ <Dropdown.Toggle>
1173
+ <li class={' d-flex align-items-center justify-content-center '}>
1174
+ {langdetect == 'en' && (
1175
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1176
+ <p class="m-0 p-0 mr-2">En</p>
1177
+ <MdKeyboardArrowDown />
1178
+ </div>
1179
+ )}
1180
+ {langdetect == 'ar' && (
1181
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
1182
+ <p class="m-0 p-0 ml-2">ع</p>
1183
+ <MdKeyboardArrowDown />
1184
+ </div>
1185
+ )}
1186
+ </li>
1187
+ </Dropdown.Toggle>
1188
+ <Dropdown.Menu>
1189
+ <Dropdown.Item
1190
+ onClick={() => {
1191
+ setlang('ar');
1192
+ }}
1193
+ >
1194
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
1195
+ <p
1196
+ class={'dropdownitem d-flex align-items-center m-0 p-0'}
1197
+ style={{
1198
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
1199
+ fontWeight: sectionproperties.dropdown_fontweight,
1200
+ textTransform: sectionproperties.dropdown_texttransform,
1201
+ }}
1202
+ >
1203
+ <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
1204
+ <span class={'ml-2 mr-2'}>{lang.arabic}</span>
1205
+ </p>
1206
+ </div>
1207
+ </Dropdown.Item>
1208
+ <Dropdown.Divider></Dropdown.Divider>
1209
+ <Dropdown.Item
1210
+ onClick={() => {
1211
+ setlang('en');
1212
+ }}
1213
+ >
1214
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' p-0 '}>
1215
+ <p
1216
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
1217
+ style={{
1218
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
1219
+ fontWeight: sectionproperties.dropdown_fontweight,
1220
+ textTransform: sectionproperties.dropdown_texttransform,
1221
+ }}
1222
+ >
1223
+ <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
1224
+ <span class={'ml-2 mr-2'}>{lang.english}</span>
1225
+ </p>
1226
+ </div>
1227
+ </Dropdown.Item>
1228
+ </Dropdown.Menu>
1229
+ </Dropdown>
1230
+ </div>
1231
+ )}
1232
+ </div>
1233
+ {/* {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
1234
+ <div class="col-lg-12 col-md-12 col-sm-12 p-0">
1235
+ <Subheader
1236
+ sectionpropertiesprops={sectionproperties}
1237
+ subheaderpropertiesprops={{
1238
+ subheaderpositionprops: 'Full Width',
1239
+ paddingLeftprops: '30px',
1240
+ paddingRightprops: '30px',
1241
+ subheadercontentpositionprops: 'center',
1242
+ }}
1243
+ actions={actions}
1244
+ />
1245
+ </div>
1246
+ )} */}
1247
+ </div>
1248
+ </div>
1249
+ <div class="col-lg-12 col-md-12 col-sm-12 p-0 d-lg-none d-md-block d-sm-block">
1250
+ {sectionproperties.responsiveheaderstyle == 'Style 1' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1251
+ {sectionproperties.responsiveheaderstyle == 'Style 2' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1252
+ {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1253
+ </div>
1254
+ </div>
1255
+ </div>
1256
+ );
1257
+ };
1258
+
1259
+ export default CTAHeader;