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,1040 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import Dropdown from 'react-bootstrap/Dropdown';
3
+ import headerstyles from '../../../styles/headers/modernheader.module.css';
4
+ import formstyles from '../../../styles/general/form.module.css';
5
+ import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
6
+ import { css } from 'glamor';
7
+ import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
8
+ import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
9
+ import HeaderresponsiveStyle2 from '../Headerresponsive/HeaderresponsiveStyle2.jsx';
10
+ import Subheader from '../Subheader/Subheader.jsx';
11
+ import { BsBag } from '@react-icons/all-files/bs/BsBag';
12
+ import { FiMenu } from '@react-icons/all-files/fi/FiMenu';
13
+ import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
14
+ import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
15
+ import { AiOutlineClose } from '@react-icons/all-files/ai/AiOutlineClose';
16
+ import { BiUser } from '@react-icons/all-files/bi/BiUser';
17
+ import { BiUserCircle } from '@react-icons/all-files/bi/BiUserCircle';
18
+ import { BsChevronRight } from '@react-icons/all-files/bs/BsChevronRight';
19
+ import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
20
+ import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
21
+ import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
22
+ import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
23
+ import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
24
+ import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
25
+ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
26
+ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
27
+ import MarqueeHeader from '../MarqueeHeader/MarqueeHeader.jsx';
28
+ import { FiSearch } from '@react-icons/all-files/fi/FiSearch';
29
+ import DownloadApp from '../DownloadApp/DownloadApp.jsx';
30
+ import SocialMediaSection from '../SocialMediaSection/SocialMediaSection.jsx';
31
+ import { FiPhone } from '@react-icons/all-files/fi/FiPhone';
32
+ import { Offcanvas } from 'react-bootstrap';
33
+ import { BsChevronDown } from '@react-icons/all-files/bs/BsChevronDown';
34
+
35
+ const CenteredLogoHeaderWithSlider = (props) => {
36
+ const [sectionproperties, setsectionproperties] = useState('');
37
+ const LogoutMutationContext = props.actions.LogoutMutationContext;
38
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
39
+ const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
40
+ const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
41
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
42
+ const lang = props.actions.lang;
43
+ const langdetect = props.actions.langdetect;
44
+ const setlang = props.actions.setlang;
45
+ const templatepropcontext = props.actions.templatepropcontext;
46
+ const authdetailsContext = props.actions.authdetailsContext;
47
+ const templateproperties_context = props.actions.templateproperties_context;
48
+ const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
49
+ const routingcountext = props.actions.routingcountext;
50
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
51
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
52
+ const actions = props.actions;
53
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
54
+ const [openSearchBar, setopenSearchBar] = useState(false);
55
+ const [openSideNav, setopenSideNav] = useState(false);
56
+ const setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
57
+ const scrollYposittionprops = props.actions.scrollYposittionprops;
58
+
59
+ useEffect(() => {
60
+ var secpropobj = {};
61
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
62
+ if (sectionitem.sectionid == props.sectionidprops) {
63
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
64
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
65
+ });
66
+ }
67
+ });
68
+ if (Object.keys(secpropobj).length === 0) {
69
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
70
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
71
+ });
72
+ }
73
+
74
+ setsectionproperties({ ...secpropobj });
75
+ }, [StatePagePropertiesContext]);
76
+ useEffect(() => {
77
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
78
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
79
+ if (Array.isArray(logoarrayofobjectsparsed)) {
80
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
81
+ }
82
+ }
83
+ }, [templateproperties_context]);
84
+ const header_cssstyles = {
85
+ upperheadersection: css({
86
+ background: sectionproperties.uppersection_bgcolor,
87
+ paddingLeft: langdetect == 'en' ? sectionproperties.uppersection_paddingleft + 'px' : sectionproperties.uppersection_paddingright + 'px',
88
+ paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
89
+ paddingTop: sectionproperties.uppersection_paddingtop + 'px',
90
+ paddingBottom: sectionproperties.uppersection_paddingbottom + 'px',
91
+ }),
92
+ languagecontainer: css({
93
+ color: sectionproperties.language_container_color,
94
+ fontSize: sectionproperties.language_container_fontsize + 'px',
95
+ fontWeight: 600,
96
+ cursor: 'pointer',
97
+ transition: '.3s',
98
+ ':hover': {
99
+ color: sectionproperties.language_container_coloronhover,
100
+ },
101
+ }),
102
+ lowerHeaderSection: css({
103
+ backgroundColor:
104
+ sectionproperties.headerstyles_bgtransparent == 'Transparent' && window.location.pathname == '/home'
105
+ ? scrollYposittionprops > 100
106
+ ? sectionproperties.lowersection_backgroundColor
107
+ : 'transparent'
108
+ : sectionproperties.lowersection_backgroundColor,
109
+ // background: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
110
+ paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
111
+ paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
112
+ paddingTop: sectionproperties.lowersection_paddingtop + 'px',
113
+ paddingBottom: sectionproperties.lowersection_paddingbottom + 'px',
114
+ }),
115
+ searchicon: css({
116
+ color: sectionproperties.searchbaricon_color,
117
+ ':hover': {
118
+ transition: '.3s',
119
+ cursor: 'pointer',
120
+ color: sectionproperties.searchbariconcoloronhover,
121
+ },
122
+ }),
123
+ menuicon: css({
124
+ color: sectionproperties.menuiconcolor,
125
+ ':hover': {
126
+ transition: '.3s',
127
+ cursor: 'pointer',
128
+ color: sectionproperties.menuiconcoloronhover,
129
+ },
130
+ }),
131
+ searchbarcont: css({
132
+ position: 'relative',
133
+ width: sectionproperties.searchbarcont_width + '%',
134
+ height: sectionproperties.searchbarcont_height + 'px',
135
+ border: sectionproperties.searchbarcontinput_borderwidth + 'px solid' + sectionproperties.searchbarcontinput_bordercolor,
136
+ background: sectionproperties.searchbarcont_bgcolor,
137
+ borderRadius: sectionproperties.searchbarcont_borderRadius + 'px',
138
+ transition: '.3s',
139
+ }),
140
+ searchbar_icon_cont: css({
141
+ color: sectionproperties.searchbaricon_color,
142
+ transition: '0.3s ease',
143
+ position: 'absolute',
144
+ right: langdetect == 'en' ? 5 : '',
145
+ left: langdetect == 'en' ? '' : 5,
146
+ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
147
+ bottom: 0,
148
+ top: 0,
149
+ margin: 'auto',
150
+ }),
151
+ searchbarcont_input: css({
152
+ height: '100%',
153
+ width: '100%',
154
+ color: sectionproperties.searchbarcontinput_color,
155
+ fontWeight: sectionproperties.searchbarcont_inputfontweight,
156
+ fontSize: sectionproperties.searchbarcontinput_fontsize + 'px',
157
+ borderBottom: sectionproperties.searchbarcontinput_borderBottom + 'px solid ' + sectionproperties.searchbarcontinput_borderBottomcolor,
158
+ paddingLeft: langdetect == 'en' ? sectionproperties.searchbarcont_paddingLeft + 'px' : sectionproperties.searchbarcont_paddingRight + 'px',
159
+ paddingRight: langdetect == 'en' ? sectionproperties.searchbarcont_paddingRight + 'px' : sectionproperties.searchbarcont_paddingLeft + 'px',
160
+ paddingBottom: sectionproperties.searchbarcont_paddingBottom + 'rem',
161
+ outline: 'none',
162
+ transition: '0.3s',
163
+ ':focus': {
164
+ borderColor: sectionproperties.searchbarcontinput_bordercoloronfocus,
165
+ },
166
+ }),
167
+ navbarItem: css({
168
+ fontSize: sectionproperties.lowersection_fontsize + 'px',
169
+ color: sectionproperties.lowersection_fontColor,
170
+ fontWeight: sectionproperties.lowersection_textfontweight,
171
+ textTransform: sectionproperties.lowersection_textTransform,
172
+ ':hover': {
173
+ cursor: 'pointer',
174
+ transition: '.3s',
175
+ color: sectionproperties.lowersection_fontColoronhover,
176
+ },
177
+ }),
178
+ badge_counter_header_notifications: css({
179
+ width: sectionproperties.badge_width + 'px',
180
+ height: sectionproperties.badge_height + 'px',
181
+ background: sectionproperties.badge_bgcolor,
182
+ color: sectionproperties.badge_color,
183
+ borderRadius: sectionproperties.badge_borderradius + 'px',
184
+ fontSize: sectionproperties.badge_fontsize + 'px',
185
+ fontWeight: sectionproperties.badgefontweight,
186
+ }),
187
+ wishlist_btn: css({
188
+ width: sectionproperties.favBtnWidth + 'px',
189
+ height: sectionproperties.favBtnHeight + 'px',
190
+ background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
191
+ borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
192
+ color: sectionproperties.favBtniconcolor,
193
+ border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
194
+ transition: '.3s',
195
+ ':hover': {
196
+ background: sectionproperties.favBtnbgColoronhover,
197
+ color: sectionproperties.favBtnTextcoloronhover,
198
+ borderColor: sectionproperties.favBtnTextcoloronhover,
199
+ },
200
+ }),
201
+ cart_btn: css({
202
+ width: sectionproperties.cartBtnWidth == 0 ? 'auto' : sectionproperties.cartBtnWidth + 'px',
203
+ height: sectionproperties.cartBtnHeight == 0 ? 'auto' : sectionproperties.cartBtnHeight + 'px',
204
+ background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
205
+ borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
206
+ color: sectionproperties.cart_iconcolor,
207
+ border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
208
+ transition: '.3s',
209
+ ':hover': {
210
+ background: sectionproperties.cartBtnbgColoronhover,
211
+ color: sectionproperties.cartBtnTextcoloronhover,
212
+ borderColor: sectionproperties.cartBtnTextcoloronhover,
213
+ },
214
+ }),
215
+ cartbadge: css({
216
+ top: sectionproperties.cartbadgetop + 'px',
217
+ right: sectionproperties.cartbadgeright + 'px',
218
+ }),
219
+ user_btn: css({
220
+ background: sectionproperties.userBtnbgColor,
221
+ width: sectionproperties.userBtnWidth + 'px',
222
+ height: sectionproperties.userBtnHeight + 'px',
223
+ borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
224
+ color: sectionproperties.userBtniconcolor,
225
+ fontSize: sectionproperties.userBtniconfontsize + 'px',
226
+ border: sectionproperties.userbtnborderwidth + 'px solid ' + sectionproperties.userbtnbordercolor,
227
+ cursor: 'pointer',
228
+ transition: '.3s',
229
+ ':hover': {
230
+ color: sectionproperties.userBtnTextcoloronhover,
231
+ background: sectionproperties.userBtnbgColoronhover,
232
+ borderColor: sectionproperties.userBtnTextcoloronhover,
233
+ },
234
+ }),
235
+ loggedinusername: css({
236
+ fontWeight: sectionproperties.userBtnTextfontweight,
237
+ textTransform: sectionproperties.userBtnTexttransform,
238
+ color: sectionproperties.userBtnTextcolor,
239
+ fontSize: sectionproperties.userBtntextfontsize + 'px',
240
+ lineHeight: sectionproperties.userBtntextfontsize + 'px',
241
+ transition: '.3s',
242
+ }),
243
+ loggedinuserbtn: css({
244
+ width: sectionproperties.loggedinuserbtn_width + 'px',
245
+ height: sectionproperties.loggedinuserbtn_height + 'px',
246
+ border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
247
+ borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
248
+ background: sectionproperties.userBtnbgColor_loggedin,
249
+ color: sectionproperties.userBtniconcolor_loggedin,
250
+ transition: '.3s',
251
+ }),
252
+ userBtnLoggedinContainer: css({
253
+ transition: '.3s',
254
+ ':hover .loggedinuserbtn': {
255
+ transition: '.3s',
256
+ color: sectionproperties.userBtnTextcoloronhover_loggedin,
257
+ borderColor: sectionproperties.userBtnTextcoloronhover_loggedin,
258
+ },
259
+ ':hover .loggedinuserbtnbg': {
260
+ backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
261
+ color: sectionproperties.userbtn_loggedin_iconcoloronhover,
262
+ },
263
+ }),
264
+ dropdownitemcontainer: css({
265
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
266
+ color: sectionproperties.dropdown_color,
267
+ fontWeight: sectionproperties.dropdown_fontweight,
268
+ textTransform: sectionproperties.dropdown_texttransform,
269
+ padding: '0.3rem 0.8rem',
270
+ display: 'flex',
271
+ alignItems: 'center',
272
+ transition: '.3s',
273
+ ':hover': {
274
+ color: sectionproperties.dropdown_hovercolor,
275
+ },
276
+ }),
277
+
278
+ header_logo: css({
279
+ width: templateproperties_context.logo_width + 'px',
280
+ height: templateproperties_context.logo_height + 'px',
281
+ }),
282
+ closesliderbtn: css({
283
+ width: sectionproperties.closeSliderWidth + 'px',
284
+ height: sectionproperties.closeSliderHeight + 'px',
285
+ borderRadius: sectionproperties.closeSlider_borderBottomLeftRadius + 'px',
286
+ backgroundColor: sectionproperties.closeSliderBgColor,
287
+ color: sectionproperties.closeSlider_color,
288
+ ':hover': {
289
+ transition: '.3s',
290
+ cursor: 'pointer',
291
+ backgroundColor: sectionproperties.closeSliderBgColorHover,
292
+ color: sectionproperties.closeSlider_colorOnHover,
293
+ },
294
+ }),
295
+ floatingbtn: css({
296
+ width: sectionproperties.floatingbtnwidth + '%',
297
+ height: sectionproperties.floatingbtnheight + 'px',
298
+ background: sectionproperties.floatingbtnbg,
299
+ fontSize: sectionproperties.floatingbtnfontsize + 'px',
300
+ color: sectionproperties.floatingbtncolor,
301
+ borderRadius: 10,
302
+ ':hover': {
303
+ color: sectionproperties.floatingbtncolorhover,
304
+ backgroundColor: sectionproperties.floatingbtnbghover,
305
+ transitions: '.3s',
306
+ cursor: 'pointer',
307
+ },
308
+ '@media (max-width: 800px)': {
309
+ width: '50%',
310
+ },
311
+ }),
312
+ };
313
+ return (
314
+ <div class={`${headerstyles.header_container}` + ' headeroffcanvas row m-0 w-100 d-flex justify-content-center '} style={{ position: 'relative' }}>
315
+ {sectionproperties.showwhatsapp == 'Show' && (
316
+ <a
317
+ href={'https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber}
318
+ target={'_blank'}
319
+ style={{ position: 'fixed', bottom: 10, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}
320
+ >
321
+ <img src={'https://tabex-co.com/storage/StaticImages/whatsapp.png'} style={{ width: '40px', height: '40px', cursor: 'pointer' }} />
322
+ </a>
323
+ )}
324
+ {sectionproperties.showfloatingbtn == 'Show' && (
325
+ <div
326
+ style={{
327
+ position: 'fixed',
328
+ bottom: 15,
329
+ right: 15,
330
+ zIndex: 999999,
331
+ transition: 'all 0.3s ease-out',
332
+ width: '100%',
333
+ }}
334
+ class="text-end"
335
+ >
336
+ <div
337
+ class={header_cssstyles.floatingbtn + ' allcentered '}
338
+ style={{}}
339
+ onClick={() => {
340
+ routingcountext(sectionproperties.floatingbtnlink, false, '');
341
+ }}
342
+ >
343
+ <p class="m-0 p-0">{langdetect == 'en' ? sectionproperties.floatingbtntxten : sectionproperties.floatingbtntxtar}</p>
344
+ </div>
345
+ </div>
346
+ )}
347
+ {sectionproperties.showfooterphonenumber == 'Show' && (
348
+ <a href={'tel:' + authdetailsContext?.CuContactphonenumber} target={'_self'} style={{ position: 'fixed', bottom: 60, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}>
349
+ <i class={langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'}>
350
+ <FiPhone size={30} color={sectionproperties.uppersection_iconcolor} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
351
+ </i>
352
+ </a>
353
+ )}
354
+ {templateproperties_context.showsocialmedia == 'Show' && (
355
+ <SocialMediaSection sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
356
+ )}
357
+ {sectionproperties.showdownloadapp == 'Show' && <DownloadApp sectionpropertiesprops={sectionproperties} actions={actions} />}
358
+ <div
359
+ class="row m-0 d-md-none"
360
+ style={{
361
+ position: sectionproperties.headerstyles_position,
362
+ marginTop: sectionproperties.header_marginTop + 'px',
363
+ marginBottom: sectionproperties.header_marginBottom + 'px',
364
+ width: sectionproperties.header_width + 'vw',
365
+ zIndex: 1000,
366
+ top: 0,
367
+ }}
368
+ >
369
+ <div class="row m-0 w-100">
370
+ {templateproperties_context.showtextslider == 'Show' && (
371
+ <div class="col-lg-12 p-0">
372
+ <MarqueeHeader sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
373
+ </div>
374
+ )}
375
+ {sectionproperties.showupperheadersection == 'Show' && (
376
+ <div class={'col-lg-12 p-0'}>
377
+ <div class={header_cssstyles.upperheadersection + ' row m-0 w-100 d-flex align-items-center px-1025-1 '}>
378
+ <div class="col-lg-6 p-0 d-flex justify-content-start align-items-center">
379
+ <div class="row m-0 w-100">
380
+ <p
381
+ class="m-0 p-0"
382
+ style={{
383
+ fontSize: sectionproperties.generaltext_fontSize + 'px',
384
+ color: sectionproperties.generaltext_fontColor,
385
+ fontWeight: sectionproperties.generaltext_fontWeight,
386
+ }}
387
+ >
388
+ {langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar}
389
+ </p>
390
+ {/* <MarqueeHeader
391
+ sectionpropertiesprops={sectionproperties}
392
+ templateproperties_contextprops={templateproperties_context}
393
+ actions={actions}
394
+ srcfrom="sidemarquee"
395
+ /> */}
396
+ </div>
397
+ </div>
398
+ <div class="col-lg-6 p-0 d-flex justify-content-end align-items-center">
399
+ {sectionproperties.showlanuagecontainer == 'Show' && (
400
+ <p
401
+ class={header_cssstyles.languagecontainer + ' m-0 p-0 '}
402
+ onClick={() => {
403
+ if (langdetect == 'en') {
404
+ setlang('ar');
405
+ } else {
406
+ setlang('en');
407
+ }
408
+ }}
409
+ >
410
+ {langdetect == 'en' ? 'English' : 'لغة عربية'}
411
+ </p>
412
+ )}
413
+ </div>
414
+ </div>
415
+ </div>
416
+ )}
417
+ <div class="col-lg-12 p-0">
418
+ <div class={`${header_cssstyles.lowerHeaderSection}` + ' row m-0 w-100 d-flex align-items-center px-1025-1 '}>
419
+ <div class="col-lg-4 col-md-6 col-sm-12 d-flex align-items-center justify-content-start p-0" style={{}}>
420
+ <div class="row m-0 w-100 d-flex align-items-center">
421
+ <div class="allcentered">
422
+ <i
423
+ class={header_cssstyles.menuicon + ' h-100 allcentered '}
424
+ onClick={() => {
425
+ setopenSideNav(true);
426
+ }}
427
+ >
428
+ <FiMenu size={sectionproperties.menuiconfontsize} />
429
+ </i>
430
+ </div>
431
+ {sectionproperties.searchbar_show == 'Show' && (
432
+ <div class="allcentered mx-5">
433
+ <i
434
+ class={header_cssstyles.searchicon + ' h-100 allcentered '}
435
+ onClick={() => {
436
+ setopenSearchBar(true);
437
+ }}
438
+ >
439
+ <FiSearch size={sectionproperties.searchbaricon_fontsize} />
440
+ </i>
441
+ </div>
442
+ )}
443
+ </div>
444
+ </div>
445
+ <div class="col-lg-4 col-md-6 col-sm-12 allcentered p-0">
446
+ <div
447
+ class={`${header_cssstyles.header_logo}` + ' allcentered '}
448
+ style={{ cursor: 'pointer' }}
449
+ onClick={() => {
450
+ routingcountext('home');
451
+ }}
452
+ >
453
+ <Imagekitimagecomp
454
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
455
+ publicKey={ikimagecredcontext?.ikimagepublickey}
456
+ path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
457
+ style={{
458
+ maxWidth: '100%',
459
+ maxHeight: '100%',
460
+ objectFit: 'contain',
461
+ }}
462
+ />
463
+ </div>
464
+ </div>
465
+ <div class="col-lg-4 col-md-6 col-sm-12 p-0 d-flex align-items-center justify-content-end">
466
+ {/* {sectionproperties.showupperheadersection == 'Hide' && sectionproperties.showlanuagecontainer == 'Show' && (
467
+ <p
468
+ class={header_cssstyles.languagecontainer + ' p-0 mb-0 pb-0 '}
469
+ style={{
470
+ marginRight: langdetect == 'en' ? '35px' : 0,
471
+ marginLeft: langdetect == 'ar' ? '35px' : 0,
472
+ }}
473
+ onClick={() => {
474
+ if (langdetect == 'en') {
475
+ setlang('ar');
476
+ } else {
477
+ setlang('en');
478
+ }
479
+ }}
480
+ >
481
+ {langdetect == 'en' ? 'English' : 'لغة عربية'}
482
+ </p>
483
+ )} */}
484
+ {sectionproperties.showupperheadersection == 'Hide' && sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.languagecontainertype != 'Dropdown' && (
485
+ <p
486
+ class={header_cssstyles.languagecontainer + ' m-0 p-0 '}
487
+ onClick={() => {
488
+ if (langdetect == 'en') {
489
+ setlang('ar');
490
+ } else {
491
+ setlang('en');
492
+ }
493
+ }}
494
+ >
495
+ {langdetect == 'en' ? 'English' : 'لغة عربية'}
496
+ </p>
497
+ )}
498
+ {sectionproperties.showupperheadersection == 'Hide' && sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.languagecontainertype == 'Dropdown' && (
499
+ <div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
500
+ <Dropdown>
501
+ <Dropdown.Toggle>
502
+ <li class={`${headerstyles.header_menu}` + ' allcentered '}>
503
+ {langdetect == 'ar' && (
504
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 ml-4 '}>
505
+ <p class="m-0 p-0 d-flex align-items-center ">
506
+ لغة عربية
507
+ <i class="h-100 allcentered ml-auto pr-3">
508
+ <BsChevronDown />
509
+ </i>
510
+ </p>
511
+ </div>
512
+ )}
513
+ {langdetect == 'en' && (
514
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 mr-4 '}>
515
+ <p class="m-0 p-0 d-flex align-items-center">
516
+ English
517
+ <i class="h-100 allcentered ml-auto pl-3">
518
+ <BsChevronDown />
519
+ </i>
520
+ </p>
521
+ </div>
522
+ )}
523
+ </li>
524
+ </Dropdown.Toggle>
525
+ <Dropdown.Menu>
526
+ <Dropdown.Item
527
+ class={`${header_cssstyles.dropdownitem}`}
528
+ onClick={() => {
529
+ setlang('ar');
530
+ }}
531
+ >
532
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
533
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
534
+ <img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
535
+ <span class="ml-2 mr-2">لغة عربية</span>
536
+ </p>
537
+ </div>
538
+ </Dropdown.Item>
539
+ <Dropdown.Divider></Dropdown.Divider>
540
+ <Dropdown.Item
541
+ class={`${header_cssstyles.dropdownitem}`}
542
+ onClick={() => {
543
+ setlang('en');
544
+ }}
545
+ >
546
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
547
+ <p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
548
+ <img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2vh', maxHeight: '2vh' }} />
549
+ <span class="ml-2 mr-2">English</span>
550
+ </p>
551
+ </div>
552
+ </Dropdown.Item>
553
+ </Dropdown.Menu>
554
+ </Dropdown>
555
+ </div>
556
+ )}
557
+ {sectionproperties.ShowUserBtn == 'Show' && (
558
+ <div style={{ marginRight: langdetect == 'en' ? '30px' : 0, marginLeft: langdetect == 'en' ? 0 : '30px' }}>
559
+ <Dropdown>
560
+ <Dropdown.Toggle>
561
+ {!authdetailsContext.loggedin && (
562
+ <div
563
+ class={` ${header_cssstyles.user_btn}` + ' d-flex align-items-center justify-content-center '}
564
+ sytle={{ position: 'relative' }}
565
+ onClick={() => {
566
+ routingcountext(StaticPagesLinksContext.Login);
567
+ }}
568
+ >
569
+ <i class={' h-100 d-flex align-items-center '}>
570
+ <BiUser size={sectionproperties.userBtnTextfontsize} />
571
+ </i>
572
+ </div>
573
+ )}
574
+ {authdetailsContext.loggedin && (
575
+ <div class={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
576
+ <div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg '}>
577
+ <i class={' h-100 allcentered '}>
578
+ <BiUserCircle size={sectionproperties.loggedinusericonfontsize} />
579
+ </i>
580
+ </div>
581
+ {/* <div
582
+ class="m-0 p-0 loggedinuserbtn flex-column"
583
+ style={{
584
+ textAlign: langdetect == 'en' ? 'left' : 'right',
585
+ }}
586
+ >
587
+ <p
588
+ class="m-0 p-0 mb-1"
589
+ style={{
590
+ color: sectionproperties.greetingtextcolor,
591
+ fontSize: sectionproperties.greetingtextfontsize + 'px',
592
+ lineHeight: sectionproperties.greetingtextfontsize + 'px',
593
+ fontWeight: 400,
594
+ }}
595
+ >
596
+ {lang.hello}
597
+ {langdetect == 'en' ? ',' : '،'}
598
+ </p>
599
+ <p
600
+ class={header_cssstyles.loggedinusername + ' loggedinuserbtn m-0 p-0 text-overflow '}
601
+ style={{
602
+ maxWidth: '120px',
603
+ }}
604
+ >
605
+ {authdetailsContext?.customerinfo?.name}
606
+ </p>
607
+ </div> */}
608
+ </div>
609
+ )}
610
+ </Dropdown.Toggle>
611
+
612
+ {authdetailsContext.loggedin && (
613
+ <Dropdown.Menu style={{ minWidth: '200px' }}>
614
+ <Dropdown.Item
615
+ onClick={() => {
616
+ routingcountext(StaticPagesLinksContext.accountinfo);
617
+ }}
618
+ >
619
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
620
+ <p class={' allcenetered m-0 p-0 '}>{langdetect == 'en' ? 'My Account' : 'حسابى'}</p>
621
+ </div>
622
+ </Dropdown.Item>
623
+ <Dropdown.Item
624
+ onClick={() => {
625
+ routingcountext(StaticPagesLinksContext.Ordershistory);
626
+ }}
627
+ >
628
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
629
+ <p class={' allcenetered m-0 p-0 '}>
630
+ {langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear}
631
+ </p>
632
+ </div>
633
+ </Dropdown.Item>
634
+ <Dropdown.Item
635
+ onClick={() => {
636
+ routingcountext(StaticPagesLinksContext.Wishlist);
637
+ }}
638
+ >
639
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' allcenetered m-0 p-0 '}>
640
+ <p class={' allcenetered m-0 p-0 '}>{lang.wishlist}</p>
641
+ </div>
642
+ </Dropdown.Item>
643
+ <Dropdown.Item
644
+ onClick={() => {
645
+ LogoutMutationContext.mutate();
646
+ }}
647
+ >
648
+ <div class={`${header_cssstyles.dropdownitemcontainer}` + ' text-uppercase m-0 p-0 d-flex align-items-center '}>
649
+ <p class={' allcenetered m-0 p-0 '}>{lang.logout}</p>
650
+ </div>
651
+ </Dropdown.Item>
652
+ </Dropdown.Menu>
653
+ )}
654
+ </Dropdown>
655
+ </div>
656
+ )}
657
+ {sectionproperties.favBtnShow == 'Show' && (
658
+ <div
659
+ class={`${header_cssstyles.wishlist_btn}` + ' cursor-pointer allcentered '}
660
+ onClick={() => {
661
+ routingcountext(StaticPagesLinksContext.Wishlist);
662
+ }}
663
+ style={{ marginRight: langdetect == 'en' ? '30px' : 0, marginLeft: langdetect == 'en' ? 0 : '30px' }}
664
+ >
665
+ <span class={' pr-0 '} style={{ position: 'relative' }}>
666
+ <i class="allcentered">
667
+ {sectionproperties.faviconshape == 'Heart Shape' && (
668
+ <FaRegHeart
669
+ style={{
670
+ fontSize: sectionproperties.favBtnIconfontsize + 'px',
671
+ }}
672
+ />
673
+ )}
674
+ {sectionproperties.faviconshape == 'Star Shape' && (
675
+ <AiFillStar
676
+ style={{
677
+ fontSize: sectionproperties.favBtnIconfontsize + 'px',
678
+ }}
679
+ />
680
+ )}
681
+ </i>
682
+ <div
683
+ class={`${headerstyles.badge_counter_header_notifications} ${header_cssstyles.badge_counter_header_notifications}`}
684
+ style={{
685
+ top: sectionproperties.wishlistbadgetop + 'px',
686
+ right: sectionproperties.wishlistbadgeright + 'px',
687
+ }}
688
+ >
689
+ <span>{favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}</span>
690
+ </div>
691
+ </span>
692
+ </div>
693
+ )}
694
+ {sectionproperties.cartBtnShow == 'Show' && (
695
+ <div
696
+ class={`${header_cssstyles.cart_btn}` + ' cursor-pointer allcentered '}
697
+ onClick={() => {
698
+ setsidecartnavshowcontext(true);
699
+ }}
700
+ >
701
+ <span class={' pr-0 '} style={{ position: 'relative' }}>
702
+ <i class={' allcentered h-100 '}>
703
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
704
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
705
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
706
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
707
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
708
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
709
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtn_iconFontSize} />}
710
+ </i>
711
+ <div
712
+ className={
713
+ `${headerstyles.badge_counter_header_notifications} ${header_cssstyles.badge_counter_header_notifications}` +
714
+ ' d-flex justify-content-center text-center '
715
+ }
716
+ style={{
717
+ top: sectionproperties.cartbadgetop + 'px',
718
+ right: sectionproperties.cartbadgeright + 'px',
719
+ }}
720
+ >
721
+ {fetchcustomercartQueryContext?.data?.data?.customercart != null
722
+ ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length >= 10
723
+ ? '+9'
724
+ : fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length
725
+ : 0}
726
+ </div>
727
+ </span>
728
+ </div>
729
+ )}
730
+ </div>
731
+ </div>
732
+ </div>
733
+ </div>
734
+ <div class="col-lg-12 p-0">
735
+ {sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
736
+ <Subheader
737
+ sectionpropertiesprops={sectionproperties}
738
+ actions={actions}
739
+ subheaderpropertiesprops={{
740
+ subheaderpositionprops: 'Full Width',
741
+ paddingLeftprops: '30px',
742
+ paddingRightprops: '30px',
743
+ subheadercontentpositionprops: 'center',
744
+ }}
745
+ />
746
+ )}
747
+ </div>
748
+ </div>
749
+
750
+ <Offcanvas
751
+ show={openSearchBar}
752
+ onHide={() => {
753
+ setopenSearchBar(false);
754
+ }}
755
+ placement={langdetect == 'en' ? 'end' : 'start'}
756
+ scroll={true}
757
+ backdrop={true}
758
+ style={{
759
+ background: 'white',
760
+ height: '100vh',
761
+ width: '35vw',
762
+ overflowY: 'hidden',
763
+ }}
764
+ >
765
+ <Offcanvas.Body>
766
+ <div className="row m-0 w-100 px-4 py-3">
767
+ <div class="col-lg-6 d-flex align-items-center justify-content-start font-weight-500 mb-3">
768
+ <p
769
+ class="m-0 p-0"
770
+ style={{
771
+ fontSize: 20,
772
+ fontWeight: 500,
773
+ }}
774
+ >
775
+ {langdetect == 'en' ? 'Search' : 'البحث'}
776
+ </p>
777
+ </div>
778
+ <div class="col-lg-6 p-0 d-flex align-items-center justify-content-end mb-3">
779
+ <div class={header_cssstyles.closesliderbtn + ' allcentered '}>
780
+ <i
781
+ class={header_cssstyles.closesliderbtn + ' h-100 allcentered '}
782
+ onClick={() => {
783
+ setopenSearchBar(false);
784
+ }}
785
+ >
786
+ <AiOutlineClose size={sectionproperties.closeSlider_fontSize} />
787
+ </i>
788
+ </div>
789
+ </div>
790
+ <div class="col-lg-12 allcentered">
791
+ <div
792
+ class={header_cssstyles.searchbarcont}
793
+ style={{
794
+ position: 'relative',
795
+ }}
796
+ >
797
+ <input
798
+ type="text"
799
+ placeholder={langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar}
800
+ class={`${header_cssstyles.searchbarcont_input}`}
801
+ onChange={(event) => {
802
+ setSearchHeaderInputContext(event.target.value);
803
+ }}
804
+ />
805
+ <button class={` ${header_cssstyles.searchbar_icon_cont}` + ' d-flex align-items-center justify-content-center '}>
806
+ <i
807
+ class={header_cssstyles.searchicon + ' h-100 allcentered '}
808
+ onClick={() => {
809
+ setopenSearchBar(true);
810
+ }}
811
+ >
812
+ <FiSearch size={sectionproperties.searchbaricon_fontsize} />
813
+ </i>
814
+ </button>
815
+ <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'searchlistsliderheaderfullwidth'} actions={actions} />
816
+ </div>
817
+ </div>
818
+ </div>
819
+ </Offcanvas.Body>
820
+ </Offcanvas>
821
+
822
+ <Offcanvas
823
+ show={openSideNav}
824
+ onHide={() => {
825
+ setopenSideNav(false);
826
+ }}
827
+ placement={langdetect == 'en' ? 'start' : 'end'}
828
+ scroll={true}
829
+ backdrop={true}
830
+ style={{
831
+ background: sectionproperties.lowersection_backgroundColor,
832
+ height: '100vh',
833
+ width: '20vw',
834
+ }}
835
+ >
836
+ <Offcanvas.Body>
837
+ <div className="row m-0 w-100 px-2 py-4 pb-5">
838
+ <div
839
+ class="col-lg-12 p-0 d-flex align-items-center justify-content-end"
840
+ style={{
841
+ marginBottom: sectionproperties.closesliderbtnmarginbottom + 'rem',
842
+ }}
843
+ >
844
+ <div class={header_cssstyles.closesliderbtn + ' allcentered '}>
845
+ <i
846
+ class={header_cssstyles.closesliderbtn + ' h-100 allcentered '}
847
+ onClick={() => {
848
+ setopenSideNav(false);
849
+ }}
850
+ >
851
+ <AiOutlineClose size={sectionproperties.closeSlider_fontSize} />
852
+ </i>
853
+ </div>
854
+ </div>
855
+ <div class="col-lg-12 px-3 d-flex align-items-center justify-content-center">
856
+ <div
857
+ className={
858
+ templateproperties_context.templatefontfamilyarabic == 'Changa'
859
+ ? 'row m-0 w-100 mt-3 Changa'
860
+ : templateproperties_context.templatefontfamily == 'OPTIRadiantBold-Condensed'
861
+ ? 'row m-0 w-100 mt-3 fontfamilybold'
862
+ : templateproperties_context.templatefontfamily == 'ASUL'
863
+ ? 'row m-0 w-100 mt-3 ASUL'
864
+ : templateproperties_context.templatefontfamily == 'Alata'
865
+ ? 'row m-0 w-100 mt-3 alata'
866
+ : templateproperties_context.templatefontfamilyarabic == 'Roboto'
867
+ ? 'row m-0 w-100 mt-3 roboto'
868
+ : templateproperties_context.templatefontfamilyarabic == 'ZaridSlab'
869
+ ? 'row m-0 w-100 mt-3 zaridslab'
870
+ : 'row m-0 w-100 mt-3'
871
+ }
872
+ >
873
+ {templatepropcontext.pagesnprop.map((item, index) => {
874
+ if (item.isnavigation == 1 && item.isactive == 1) {
875
+ return (
876
+ <div
877
+ class={header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '}
878
+ onClick={() => {
879
+ routingcountext(item.navigationroute);
880
+ }}
881
+ style={{
882
+ marginTop: sectionproperties.navitemmarginvertical + 'px',
883
+ marginBottom: sectionproperties.navitemmarginvertical + 'px',
884
+ }}
885
+ >
886
+ <div class="row m-0 w-100">
887
+ <div class="col-lg-9 p-0 d-flex align-items-center justify-content-start">
888
+ <p class="m-0 p-0"> {langdetect == 'en' ? item.pagename : item.pagename_ar}</p>
889
+ </div>
890
+ <div class="col-lg-3 p-0 d-flex align-items-center justify-content-end">
891
+ <BsChevronRight
892
+ style={{
893
+ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)',
894
+ }}
895
+ />
896
+ </div>
897
+ </div>
898
+ </div>
899
+ );
900
+ }
901
+ })}
902
+ {authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1 && (
903
+ <div class={' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '}>
904
+ <div class="row m-0 w-100">
905
+ <div
906
+ class={header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start '}
907
+ style={{
908
+ marginTop: sectionproperties.navitemmarginvertical + 'px',
909
+ marginBottom: sectionproperties.navitemmarginvertical + 'px',
910
+ }}
911
+ >
912
+ <p
913
+ class="m-0 p-0"
914
+ style={{
915
+ color: sectionproperties.lowersection_fontColor,
916
+ cursor: 'default',
917
+ }}
918
+ >
919
+ {langdetect == 'en' ? 'Currency' : 'العملة'}
920
+ </p>
921
+ </div>
922
+ <div class="col-lg-12 p-0 d-flex align-items-center justify-content-start">
923
+ <div
924
+ class="row m-0 w-100"
925
+ style={{
926
+ background: '#f4f4f4',
927
+ borderRadius: 5,
928
+ }}
929
+ >
930
+ {authdetailsContext?.instinfo?.instcurrencies?.map(function (item, index) {
931
+ return (
932
+ <div
933
+ class={header_cssstyles.navbarItem + ' col-lg-12 p-0 text-start py-2 px-2 cursor-pointer '}
934
+ onClick={() => {
935
+ setcurrencyfunccontext(item);
936
+ }}
937
+ >
938
+ <label
939
+ class={
940
+ langdetect == 'en'
941
+ ? `${formstyles.radiobtn_label}` + ' p-0 '
942
+ : `${formstyles.radiobtn_label} ${formstyles.radiobtn_label_translated}` + ' p-0 '
943
+ }
944
+ >
945
+ <input
946
+ type="radio"
947
+ name="radio"
948
+ value={item.currencyname_en}
949
+ checked={item.currencyname_en == authdetailsContext?.currencyname_en ? true : false}
950
+ />
951
+ <span> {langdetect == 'en' ? item.currencyname_en : item.currencyname_ar}</span>
952
+ </label>
953
+ </div>
954
+ );
955
+ })}
956
+ </div>
957
+ </div>
958
+ </div>
959
+ </div>
960
+ )}
961
+ {sectionproperties.showlanuagecontainer == 'Show' && sectionproperties.showupperheadersection == 'Hide' && (
962
+ <div class={' col-lg-12 p-0 d-flex align-items-center justify-content-start cursor-pointer '}>
963
+ <div class="row m-0 w-100">
964
+ <div
965
+ class={header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start '}
966
+ style={{
967
+ marginTop: sectionproperties.navitemmarginvertical + 'px',
968
+ marginBottom: sectionproperties.navitemmarginvertical + 'px',
969
+ }}
970
+ >
971
+ <p
972
+ class="m-0 p-0"
973
+ style={{
974
+ color: sectionproperties.lowersection_fontColor,
975
+ cursor: 'default',
976
+ }}
977
+ >
978
+ {langdetect == 'en' ? 'Language' : 'اللغة'}
979
+ </p>
980
+ </div>
981
+ <div class="col-lg-12 p-0 d-flex align-items-center justify-content-start">
982
+ <div
983
+ class="row m-0 w-100"
984
+ style={{
985
+ background: '#f4f4f4',
986
+ borderRadius: 5,
987
+ }}
988
+ >
989
+ <div
990
+ class={header_cssstyles.navbarItem + ' col-lg-6 p-0 allcentered py-2 px-2 cursor-pointer '}
991
+ onClick={() => {
992
+ setlang('en');
993
+ }}
994
+ >
995
+ <p
996
+ class={header_cssstyles.languagecontainer + ' m-0 p-0 w-100 allcentered py-3 '}
997
+ style={{
998
+ background: langdetect == 'en' ? 'white' : 'transparent',
999
+ borderRadius: 5,
1000
+ fontSize: 15,
1001
+ }}
1002
+ >
1003
+ {langdetect == 'en' ? 'English' : 'لغة إنجليزية'}
1004
+ </p>
1005
+ </div>
1006
+ <div
1007
+ class={header_cssstyles.navbarItem + ' col-lg-6 p-0 allcentered py-2 px-2 cursor-pointer '}
1008
+ onClick={() => {
1009
+ setlang('ar');
1010
+ }}
1011
+ >
1012
+ <p
1013
+ class={header_cssstyles.languagecontainer + ' m-0 p-0 w-100 allcentered py-3 '}
1014
+ style={{
1015
+ borderRadius: 5,
1016
+ background: langdetect == 'ar' ? 'white' : 'transparent',
1017
+ fontSize: 15,
1018
+ }}
1019
+ >
1020
+ {langdetect == 'en' ? 'Arabic' : 'لغة عربية'}
1021
+ </p>
1022
+ </div>
1023
+ </div>
1024
+ </div>
1025
+ </div>
1026
+ </div>
1027
+ )}
1028
+ </div>
1029
+ </div>
1030
+ </div>
1031
+ </Offcanvas.Body>
1032
+ </Offcanvas>
1033
+ {sectionproperties.responsiveheaderstyle == 'Style 1' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
1034
+ {sectionproperties.responsiveheaderstyle == 'Style 2' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1035
+ {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
1036
+ </div>
1037
+ );
1038
+ };
1039
+
1040
+ export default CenteredLogoHeaderWithSlider;