tabexseriescomponents 0.0.705 → 0.0.707

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