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,1846 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import MarqueeHeader from '../MarqueeHeader/MarqueeHeader.jsx';
4
+ import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
5
+ import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
6
+ import { AiOutlineClose } from '@react-icons/all-files/ai/AiOutlineClose';
7
+ import { FiMenu } from '@react-icons/all-files/fi/FiMenu';
8
+ import { BiChevronDown } from '@react-icons/all-files/bi/BiChevronDown';
9
+ import { BsChevronDown } from '@react-icons/all-files/bs/BsChevronDown';
10
+ import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
11
+ import { MdKeyboardArrowDown } from '@react-icons/all-files/md/MdKeyboardArrowDown';
12
+ import { BiUser } from '@react-icons/all-files/bi/BiUser';
13
+ import { FaMoneyBillWave } from '@react-icons/all-files/fa/FaMoneyBillWave';
14
+ import { Offcanvas } from 'react-bootstrap';
15
+ import { FiChevronUp } from '@react-icons/all-files/fi/FiChevronUp';
16
+ import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemPanel, AccordionItemState } from 'react-accessible-accordion';
17
+ import { IoSearchOutline } from '@react-icons/all-files/io5/IoSearchOutline';
18
+ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
19
+ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
20
+ import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
21
+ import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
22
+ import { BsBag } from '@react-icons/all-files/bs/BsBag';
23
+ import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
24
+ import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
25
+ import { IoClose } from '@react-icons/all-files/io5/IoClose';
26
+ import Dropdown from 'react-bootstrap/Dropdown';
27
+ import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
28
+ import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
29
+ import { IoLogoTiktok } from '@react-icons/all-files/io5/IoLogoTiktok';
30
+ import { AiFillYoutube } from '@react-icons/all-files/ai/AiFillYoutube';
31
+ import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
32
+ import { FiChevronDown } from '@react-icons/all-files/fi/FiChevronDown';
33
+
34
+ const HeaderresponsiveStyle2 = (props) => {
35
+ const actions = props.actions;
36
+ const LogoutMutationContext = props.actions.LogoutMutationContext;
37
+ const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
38
+ const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
39
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
40
+ const lang = props.actions.lang;
41
+ const langdetect = props.actions.langdetect;
42
+ const setlang = props.actions.setlang;
43
+ const templatepropcontext = props.actions.templatepropcontext;
44
+ const authdetailsContext = props.actions.authdetailsContext;
45
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
46
+ const templateproperties_context = props.actions.templateproperties_context;
47
+ const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
48
+ const routingcountext = props.actions.routingcountext;
49
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
50
+ const setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
51
+ const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
52
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
53
+ const [sectionproperties, setsectionproperties] = useState('');
54
+ const [Choosenindex, setChoosenindex] = useState('');
55
+ const [menuactive, setmenuactive] = useState(false);
56
+ const [openSearch, setopenSearch] = useState(false);
57
+ const scrollYposittionprops = props.actions.scrollYposittionprops;
58
+
59
+ useEffect(() => {
60
+ if (props.sectionpropertiesprops != undefined) {
61
+ setsectionproperties({ ...props.sectionpropertiesprops });
62
+ }
63
+ }, [props.sectionpropertiesprops]);
64
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
65
+ const [openCnvas, setopenCnvas] = useState(false);
66
+ const [activeTab, setactiveTab] = useState('');
67
+ useEffect(() => {
68
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
69
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
70
+ if (Array.isArray(logoarrayofobjectsparsed)) {
71
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
72
+ }
73
+ }
74
+ // alert(JSON.stringify(templateproperties_context));
75
+ }, [templateproperties_context]);
76
+ const header_cssstyles = {
77
+ header_logo: css({
78
+ width: sectionproperties.logo_width + 'px',
79
+ height: sectionproperties.logo_height + 'px',
80
+ }),
81
+ navbar_item_text_responsive: css({
82
+ fontSize: sectionproperties.header_fontSizeresponsive + 'px',
83
+ color: sectionproperties.header_fontColorresponsive,
84
+ textTransform: sectionproperties.header_textTransformresponsive,
85
+ fontWeight: sectionproperties.header_textfontweight_responsive,
86
+ transition: '.3s',
87
+ ':hover': {
88
+ color: sectionproperties.header_fontColorresponsive_onhover,
89
+ },
90
+ }),
91
+ badge_counter_header_notifications: css({
92
+ display: 'flex',
93
+ justifyContent: 'center',
94
+ alignItems: 'center',
95
+ position: 'absolute',
96
+ background: sectionproperties.badge_bgcolor,
97
+ width: '45px',
98
+ height: '45px',
99
+ color: sectionproperties.badge_color,
100
+ borderRadius: sectionproperties.badge_borderradius + 'px',
101
+ fontSize: sectionproperties.badgefontsizeresp + 'px',
102
+ transform: 'scale(0.3)',
103
+ transformOrigin: 'top right',
104
+ fontWeight: sectionproperties.badgefontweight,
105
+ fontFamily: 'Poppins-Medium',
106
+ }),
107
+ wishlistbtn: css({
108
+ width: sectionproperties.wishlistbtnresp_width + 'px',
109
+ height: sectionproperties.wishlistbtnresp_height + 'px',
110
+ borderRadius: sectionproperties.wishlistbtnresp_borderRadius + 'px',
111
+ border: sectionproperties.wishlistbtnresp_borderWidth + 'px solid ' + sectionproperties.wishlistbtnresp_borderColor,
112
+ background: sectionproperties.wishlistbtnresp_bgColor,
113
+ fontSize: sectionproperties.wishlistresponsivefontsize + 'px',
114
+ color: sectionproperties.wishlistresponsivecolor,
115
+ position: 'relative',
116
+ }),
117
+ addtocartbtn_resp: css({
118
+ position: 'relative',
119
+ cursor: 'pointer',
120
+ display: 'flex',
121
+ alignItems: 'center',
122
+ color: sectionproperties.cart_BtnTextcolor_resp,
123
+ background: sectionproperties.responsiveheadertransparentbg == 'Transparent' ? 'transparent' : sectionproperties.cart_BtnbgColor_resp,
124
+ width: sectionproperties.cart_BtnWidth_resp + 'px',
125
+ height: sectionproperties.cart_BtnHeight_resp + 'px',
126
+ borderRadius: sectionproperties.cart_BtnborderRadius_resp + 'px',
127
+ border: sectionproperties.cartBtnresp_borderWidth + 'px solid ' + sectionproperties.cartBtnresp_borderColor,
128
+ transition: '.3s',
129
+ }),
130
+ searchbarcont: css({
131
+ position: 'relative',
132
+ transition: '.3s',
133
+ position: 'relative',
134
+ width: '100%',
135
+ height: '70px',
136
+ // border: '1px solid #000',
137
+ transition: '.3s',
138
+ }),
139
+ searchbar_icon_cont: css({
140
+ display: 'flex',
141
+ justifyContent: 'center',
142
+ alignItems: 'center',
143
+ textAlign: 'center',
144
+ color: sectionproperties.searchbaricon_color_resp,
145
+ transition: '0.3s ease',
146
+ position: 'absolute',
147
+ left: langdetect == 'en' ? 5 : '',
148
+ right: langdetect == 'en' ? '' : 5,
149
+ bottom: 4,
150
+ top: 0,
151
+ margin: 'auto',
152
+ }),
153
+ searchbarcont_input: css({
154
+ width: '100%',
155
+ background: 'transparent',
156
+ color: '#000',
157
+ fontWeight: 500,
158
+ fontSize: '14px',
159
+ borderRadius: 0,
160
+ borderBottom: '1px solid #000',
161
+ paddingLeft: '15px',
162
+ paddingRight: '15px',
163
+ outline: 'none',
164
+ transition: '0.3s',
165
+ marginTop: '40px',
166
+ }),
167
+ languagecontainer: css({
168
+ color: sectionproperties.language_container_color_resp,
169
+ cursor: 'pointer',
170
+ transition: '.3s',
171
+ ':hover': {
172
+ color: sectionproperties.language_container_coloronhover,
173
+ },
174
+ }),
175
+ dropdownitemcontainer: css({
176
+ fontSize: '13px',
177
+ color: sectionproperties.dropdown_color,
178
+ fontWeight: sectionproperties.dropdown_fontweight,
179
+ textTransform: sectionproperties.dropdown_texttransform,
180
+ padding: '0.3rem 0.8rem',
181
+ display: 'flex',
182
+ alignItems: 'center',
183
+ transition: '.3s',
184
+ ':hover': {
185
+ color: sectionproperties.dropdown_hovercolor,
186
+ },
187
+ }),
188
+ userbtnLoggedin_icon: css({
189
+ fontSize: sectionproperties.userBtniconresp_size,
190
+ color: sectionproperties.userBtnTextresp_color,
191
+ }),
192
+ userbtn_respContainer: css({
193
+ position: 'relative',
194
+ cursor: 'pointer',
195
+ display: 'flex',
196
+ alignItems: 'center',
197
+ color: sectionproperties.userBtnTextresp_color,
198
+ fontSize: sectionproperties.userBtntextfontresp_size + 'px',
199
+ fontWeight: 400,
200
+ transition: '.3s',
201
+ ':hover .userbtn_resp': {
202
+ color: sectionproperties.userbtnresp_Coloronhover,
203
+ },
204
+ }),
205
+ userbtnloggedin: css({
206
+ width: sectionproperties.userBtnWidth_resp + 'px',
207
+ height: sectionproperties.userBtnHeight_resp + 'px',
208
+ backgroundColor: sectionproperties.userBtnbgColor_resp,
209
+ color: sectionproperties.userBtnTextcolor_resp, //aywa da icon color
210
+ fontSize: sectionproperties.userBtniconresp_size + 'px',
211
+ borderRadius: sectionproperties.userBtnResp_BorderRadius + 'px',
212
+ border: sectionproperties.userBtnResp_BorderWidth + 'px solid ' + sectionproperties.userBtnResp_BorderColor,
213
+ transition: '.3s',
214
+ ':hover': {
215
+ color: sectionproperties.userbtnresp_IconColoronhover,
216
+ },
217
+ }),
218
+ loggedintext: css({
219
+ color: sectionproperties.userbtnresp_loggedincolor,
220
+ fontSize: sectionproperties.userBtntextfontresp_size + 'px',
221
+ fontWeight: 400,
222
+ width: '250px',
223
+ transition: '.3s',
224
+ textTransform: 'capitalize',
225
+ }),
226
+ userbtnloggedincontainer: css({
227
+ ':hover .loggedintext': {
228
+ color: sectionproperties.userbtnresp_loggedincoloronhover,
229
+ },
230
+ ':hover .userbtnloggedin': {
231
+ color: sectionproperties.userbtnresp_IconColoronhover,
232
+ borderColor: sectionproperties.userbtnresp_IconColoronhover,
233
+ backgroundColor: sectionproperties.userbtnresp_bgColoronhover,
234
+ },
235
+ }),
236
+ storeimage: css({
237
+ '@media (max-width: 800px)': {
238
+ maxWidth: '120px',
239
+ maxHeight: '110px',
240
+ objectFit: 'contain',
241
+ },
242
+ }),
243
+ };
244
+ const returnpolicyobj = (policytype) => {
245
+ var policyobj = {};
246
+ authdetailsContext?.instinfo?.instpolicies?.forEach(function (item, index) {
247
+ if (item.policytype == policytype) {
248
+ policyobj = item;
249
+ }
250
+ });
251
+ return policyobj;
252
+ };
253
+ const CartButton = () => {
254
+ return (
255
+ <div
256
+ class="d-flex align-items-center"
257
+ style={{
258
+ position: 'relative',
259
+ }}
260
+ >
261
+ <button
262
+ className={`${header_cssstyles.addtocartbtn_resp}` + ' d-flex align-items-center justify-content-center p-0 '}
263
+ onClick={() => {
264
+ if (fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length > 7) {
265
+ routingcountext(StaticPagesLinksContext.viewcart);
266
+ } else {
267
+ setsidecartnavshowcontext(true);
268
+ }
269
+ }}
270
+ >
271
+ <i className={' h-100 d-flex align-items-center justify-content-center '}>
272
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtniconresp_size} />}
273
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtniconresp_size} />}
274
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtniconresp_size} />}
275
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtniconresp_size} />}
276
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtniconresp_size} />}
277
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtniconresp_size} />}
278
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtniconresp_size} />}
279
+ </i>
280
+ </button>
281
+ <div
282
+ className={`${header_cssstyles.badge_counter_header_notifications}`}
283
+ style={{
284
+ top: sectionproperties.cartbadgefromtop + 'px',
285
+ right: sectionproperties.cartbadgefromright + 'px',
286
+ }}
287
+ >
288
+ {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
289
+ </div>
290
+ </div>
291
+ );
292
+ };
293
+ const [openmenuCanvas, setopenmenuCanvas] = useState(false);
294
+ const [pcollarray, setpcollarray] = useState([]);
295
+ useEffect(() => {
296
+ if (fetchCategoriesQueryContext.isSuccess == true && fetchCategoriesQueryContext.data.data.status == true) {
297
+ var temppcollarray = [...pcollarray];
298
+ fetchCategoriesQueryContext?.data?.data?.categories.forEach(function (arrayItem) {
299
+ if (arrayItem.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
300
+ arrayItem?.parentcolletions.forEach(function (item) {
301
+ if (item.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
302
+ temppcollarray.push(item);
303
+ }
304
+ });
305
+ }
306
+ });
307
+ setpcollarray([...temppcollarray]);
308
+ }
309
+ // alert(JSON.stringify(pcollarray));
310
+ }, [fetchCategoriesQueryContext.isSuccess]);
311
+ const InstLogoContainer = () => {
312
+ return (
313
+ <div
314
+ className={header_cssstyles.header_logo + ' d-flex align-items-center justify-content-start '}
315
+ style={{ cursor: 'pointer' }}
316
+ onClick={() => {
317
+ routingcountext(sectionproperties.logoonclickroute);
318
+ }}
319
+ >
320
+ <Imagekitimagecomp
321
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
322
+ publicKey={ikimagecredcontext?.ikimagepublickey}
323
+ path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
324
+ style={{
325
+ maxWidth: '100%',
326
+ maxHeight: '100%',
327
+ }}
328
+ />
329
+ </div>
330
+ );
331
+ };
332
+ return (
333
+ <div
334
+ className="row m-0 w-100 d-none d-md-block"
335
+ style={{
336
+ position: sectionproperties.respheaderposition,
337
+ // position: window.location.pathname == '/home' ? sectionproperties.respheaderposition : 'relative',
338
+ zIndex: 10000,
339
+ top: sectionproperties.respheaderposition == 'absolute' || sectionproperties.respheaderposition == 'fixed' ? '50px' : 0,
340
+ }}
341
+ >
342
+ {templateproperties_context.showtextslider == 'Show' && (
343
+ <div class="col-lg-12 p-0">
344
+ <MarqueeHeader sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
345
+ </div>
346
+ )}
347
+ {sectionproperties.length != 0 && (
348
+ <div className="col-lg-12 p-0">
349
+ {openSearch == false && (
350
+ <div className={' row m-0 w-100 d-none d-md-flex p-0 '}>
351
+ {/* {templateproperties_context.showtextslider == 'Show' && <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />} */}
352
+ <div
353
+ className="col-lg-12 p-0"
354
+ style={{
355
+ background:
356
+ sectionproperties.responsiveheadertransparentbg == 'Transparent' && window.location.pathname == '/home'
357
+ ? scrollYposittionprops > 300
358
+ ? sectionproperties.resposive_bgcolor
359
+ : 'transparent'
360
+ : sectionproperties.resposive_bgcolor,
361
+ // sectionproperties.responsiveheadertransparentbg == 'Transparent' && window.location.pathname == '/home' ? 'transparent' : sectionproperties.resposive_bgcolor,
362
+ }}
363
+ >
364
+ <div
365
+ className="row m-0 w-100 p-0 pl-2 pr-2"
366
+ style={{
367
+ position: 'relative',
368
+ }}
369
+ >
370
+ {sectionproperties.logocentered == 'Centered' && (
371
+ <div className="col-md-4 col-sm-3 text-start p-0">
372
+ <div style={{}}>
373
+ <i
374
+ class={' h-100 allcentered '}
375
+ style={{
376
+ color: sectionproperties.resp_sidenav_color,
377
+ }}
378
+ onClick={() => {
379
+ if (sectionproperties.responsiveheaderstyle == 'Style 2') {
380
+ if (menuactive == true) {
381
+ setmenuactive(false);
382
+ } else {
383
+ setmenuactive(true);
384
+ }
385
+ } else {
386
+ setopenmenuCanvas(true);
387
+ setactiveTab('menu');
388
+ }
389
+ }}
390
+ >
391
+ {menuactive == false && <FiMenu size={sectionproperties.resp_sidenav_size} color={sectionproperties.resp_sidenav_color} />}
392
+ {menuactive == true && <AiOutlineClose size={sectionproperties.resp_sidenav_size} color={sectionproperties.resp_sidenav_color} />}
393
+ </i>
394
+ </div>
395
+ {sectionproperties.searchbar_show == 'Show' && (
396
+ <div
397
+ style={{
398
+ width: '30px',
399
+ height: sectionproperties.cart_BtnHeight_resp + 'px',
400
+ }}
401
+ >
402
+ <i
403
+ class="h-100 allcentered"
404
+ onClick={() => {
405
+ setopenSearch(true);
406
+ }}
407
+ >
408
+ <IoSearchOutline size={22} color={sectionproperties.cart_BtnTextcolor_resp} />
409
+ </i>
410
+ </div>
411
+ )}
412
+ </div>
413
+ )}
414
+ {sectionproperties.logocentered == 'Not Centered' && (
415
+ <div className="col-md-6 col-sm-6 d-flex filter align-items-center p-0">
416
+ <div
417
+ style={{
418
+ width: sectionproperties.cart_BtnWidth_resp + 'px',
419
+ height: sectionproperties.cart_BtnHeight_resp + 'px',
420
+ }}
421
+ class={langdetect == 'en' ? 'mr-2' : 'ml-2'}
422
+ >
423
+ <i
424
+ class={' h-100 allcentered '}
425
+ style={{
426
+ color: sectionproperties.cart_BtnTextcolor_resp,
427
+ }}
428
+ onClick={() => {
429
+ if (sectionproperties.responsiveheaderstyle == 'Style 2') {
430
+ if (menuactive == true) {
431
+ setmenuactive(false);
432
+ } else {
433
+ setmenuactive(true);
434
+ }
435
+ } else {
436
+ setopenmenuCanvas(true);
437
+ setactiveTab('menu');
438
+ }
439
+ }}
440
+ >
441
+ {menuactive == false && <FiMenu size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
442
+ {menuactive == true && <AiOutlineClose size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
443
+ </i>
444
+ </div>
445
+ {InstLogoContainer()}
446
+ </div>
447
+ )}
448
+ {sectionproperties.logocentered == 'Centered' && <div className="col-md-4 col-sm-6 allcentered p-0">{InstLogoContainer()}</div>}
449
+ <div
450
+ className={
451
+ sectionproperties.logocentered != 'Centered'
452
+ ? 'col-md-6 col-sm-6 d-flex align-items-center justify-content-end p-0'
453
+ : 'col-md-4 col-sm-3 d-flex align-items-center justify-content-end p-0'
454
+ }
455
+ >
456
+ {sectionproperties.searchbar_show == 'Show' && sectionproperties.logocentered == 'Not Centered' && (
457
+ <div
458
+ style={{
459
+ width: '30px',
460
+ height: sectionproperties.cart_BtnHeight_resp + 'px',
461
+ }}
462
+ >
463
+ <i
464
+ class="h-100 allcentered"
465
+ onClick={() => {
466
+ setopenSearch(true);
467
+ }}
468
+ >
469
+ <IoSearchOutline size={22} color={sectionproperties.cart_BtnTextcolor_resp} />
470
+ </i>
471
+ </div>
472
+ )}
473
+ {templateproperties_context.showfavorites == 'Show' && (
474
+ <div
475
+ style={{
476
+ width: '30px',
477
+ height: sectionproperties.cart_BtnHeight_resp + 'px',
478
+ }}
479
+ >
480
+ <i
481
+ class="h-100 allcentered"
482
+ onClick={() => {
483
+ routingcountext(StaticPagesLinksContext.Wishlist);
484
+ }}
485
+ >
486
+ <FaRegHeart size={22} color={sectionproperties.cart_BtnTextcolor_resp} />
487
+ </i>
488
+ </div>
489
+ )}
490
+ {sectionproperties.cartBtnShow == 'Show' && CartButton()}
491
+ {authdetailsContext != undefined && authdetailsContext?.instinfo?.instcurrencies?.length > 1 && (
492
+ <div class={'d-flex align-items-center pl-1 pr-1 pt-1'} style={{}}>
493
+ <Dropdown>
494
+ <Dropdown.Toggle>
495
+ <li class={' d-flex align-items-center justify-content-center '}>
496
+ {langdetect == 'en' && (
497
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
498
+ <p class="m-0 p-0 mr-1 ml-1">{authdetailsContext?.currencyname_en}</p>
499
+ <MdKeyboardArrowDown />
500
+ </div>
501
+ )}
502
+ {langdetect == 'ar' && (
503
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
504
+ <p class="m-0 p-0 ml-1 mr-1">{authdetailsContext?.currencyname_ar}</p>
505
+ <MdKeyboardArrowDown />
506
+ </div>
507
+ )}
508
+ </li>
509
+ </Dropdown.Toggle>
510
+ <Dropdown.Menu>
511
+ {authdetailsContext?.instinfo?.instcurrencies?.map(function (item, index) {
512
+ return (
513
+ <Dropdown.Item
514
+ class="m-0 p-0"
515
+ onClick={() => {
516
+ setcurrencyfunccontext(item);
517
+ }}
518
+ >
519
+ <div class="row m-0 w-100">
520
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
521
+ <div class={`${header_cssstyles.dropdownitemcontainer}`}>
522
+ <p
523
+ class={'dropdownitem d-flex align-items-center justify-content-center m-0 p-0'}
524
+ style={{
525
+ fontSize: sectionproperties.dropdown_fontsize + 'px',
526
+ fontWeight: sectionproperties.dropdown_fontweight,
527
+ textTransform: sectionproperties.dropdown_texttransform,
528
+ color: sectionproperties.language_container_color_resp,
529
+ }}
530
+ >
531
+ <FaMoneyBillWave />
532
+ <span class={'ml-2 mr-2'}>{langdetect == 'en' ? item.currencyname_en : item.currencyname_ar}</span>
533
+ </p>
534
+ </div>
535
+ </div>
536
+ {index != authdetailsContext?.instinfo?.instcurrencies?.length - 1 && (
537
+ <div class="col-lg-12 p-0">
538
+ <hr class="m-0" />
539
+ </div>
540
+ )}
541
+ </div>
542
+ </Dropdown.Item>
543
+ );
544
+ })}
545
+ </Dropdown.Menu>
546
+ </Dropdown>
547
+ </div>
548
+ )}
549
+ {/* here */}
550
+ {sectionproperties.searchbar_show == 'Hide' &&
551
+ sectionproperties.logocentered == 'Centered' &&
552
+ sectionproperties.cartBtnShow == 'Hide' &&
553
+ sectionproperties.favBtnShow == 'Hide' && (
554
+ <div
555
+ className={'allcentered resposiveheader_languagedropdown'}
556
+ style={{
557
+ marginLeft: langdetect == 'en' ? '0.25rem' : 0,
558
+ marginRight: langdetect == 'ar' ? '0.25rem' : 0,
559
+ }}
560
+ >
561
+ {langdetect == 'en' && (
562
+ <div
563
+ className={' row m-0 w-100 allcentered '}
564
+ style={{ direction: 'rtl', color: sectionproperties.cart_BtnTextcolor_resp }}
565
+ onClick={() => {
566
+ setlang('ar');
567
+ }}
568
+ >
569
+ <p class="m-0 p-0 font-weight-500">ع</p>
570
+ <i className={langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'}>
571
+ <BiChevronDown size={20} />
572
+ </i>
573
+ </div>
574
+ )}
575
+ {langdetect == 'ar' && (
576
+ <div
577
+ className={' row m-0 w-100 allcentered '}
578
+ style={{ direction: 'ltr', color: sectionproperties.cart_BtnTextcolor_resp }}
579
+ onClick={() => {
580
+ setlang('en');
581
+ }}
582
+ >
583
+ <p class="m-0 p-0 font-weight-500 mr-1">En</p>
584
+ <i className="h-100 allcentered">
585
+ <BiChevronDown size={20} />
586
+ </i>
587
+ </div>
588
+ )}
589
+ </div>
590
+ )}
591
+ {/* {sectionproperties.logocentered == 'Not Centered' && sectionproperties.showlanuagecontainer == 'Show' && (
592
+ <div
593
+ class={langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-1 ' : ' m-0 cursor-pointer mr-1 '}
594
+ style={{ minWidth: '30px' }}
595
+ onClick={() => {
596
+ if (langdetect == 'en') {
597
+ setlang('ar');
598
+ } else {
599
+ setlang('en');
600
+ }
601
+ }}
602
+ >
603
+ {langdetect == 'en' && (
604
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 allcentered w-100 '}>
605
+ <p class="m-0 p-0 d-flex align-items-center w-100">
606
+ En{' '}
607
+ <i class="h-100 allcentered ml-auto pl-3">
608
+ <BsChevronDown />
609
+ </i>
610
+ </p>
611
+ </div>
612
+ )}
613
+ {langdetect == 'ar' && (
614
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 allcentered w-100 '}>
615
+ <p class="m-0 p-0 d-flex align-items-center w-100">
616
+ ع{' '}
617
+ <i class="h-100 allcentered mr-auto pr-3">
618
+ <BsChevronDown />
619
+ </i>
620
+ </p>
621
+ </div>
622
+ )}
623
+ </div>
624
+ )} */}
625
+ </div>
626
+ {menuactive == true && (
627
+ <div
628
+ class="px-4 py-4 scrollvertical"
629
+ style={{
630
+ position: 'fixed',
631
+ top: '0px',
632
+ left: 0,
633
+ right: 0,
634
+ width: '100%',
635
+ background: sectionproperties.resposive_bgcolor,
636
+ height: '100%',
637
+ zIndex: 10000,
638
+ overflow: 'scroll',
639
+ }}
640
+ >
641
+ {/* {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && (
642
+ <div className="row m-0 w-100 mb-5" style={{ borderBottom: '1px solid #eee' }}>
643
+ <div
644
+ className={'col-6 allcentered py-3'}
645
+ onClick={() => {
646
+ setactiveTab('menu');
647
+ }}
648
+ style={{
649
+ background: activeTab == 'menu' ? 'white' : '#eee',
650
+ }}
651
+ >
652
+ <p
653
+ className="m-0 p-0"
654
+ style={{
655
+ textTransform: 'uppercase',
656
+ fontWeight: 500,
657
+ fontSize: '15px',
658
+ transition: '.3s',
659
+ color: '#000',
660
+ }}
661
+ >
662
+ {langdetect == 'en' ? 'MENU' : 'القائمة'}
663
+ </p>
664
+ </div>
665
+ <div
666
+ className={'col-6 allcentered py-3'}
667
+ onClick={() => {
668
+ setactiveTab('categories');
669
+ }}
670
+ style={{
671
+ background: activeTab == 'categories' ? 'white' : '#eee',
672
+ }}
673
+ >
674
+ <p
675
+ className="m-0 p-0"
676
+ style={{
677
+ textTransform: 'uppercase',
678
+ fontWeight: 500,
679
+ fontSize: '15px',
680
+ transition: '.3s',
681
+ color: '#000',
682
+ }}
683
+ >
684
+ {langdetect == 'en' ? 'SHOP' : 'تسوق'}
685
+ </p>
686
+ </div>
687
+ </div>
688
+ )} */}
689
+ {/* {sectionproperties.responsiveheaderstyle != 'Style 2 With Subheader' && ( */}
690
+ <div class="col-lg-12 text-end anim">
691
+ <i
692
+ class={' h-100 allcentered '}
693
+ style={{
694
+ color: sectionproperties.cart_BtnTextcolor_resp,
695
+ }}
696
+ onClick={() => {
697
+ if (menuactive == true) {
698
+ setmenuactive(false);
699
+ } else {
700
+ setmenuactive(true);
701
+ }
702
+ }}
703
+ >
704
+ {menuactive == false && <FiMenu size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
705
+ {menuactive == true && <AiOutlineClose size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
706
+ </i>
707
+ </div>
708
+ {/* )} */}
709
+ {templatepropcontext.pagesnprop.map((item, index) => {
710
+ if (item.isnavigation == 1 && item.isactive == 1) {
711
+ return (
712
+ <div className="row m-0 w-100 anim">
713
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
714
+ <div
715
+ onClick={() => {
716
+ routingcountext(item.navigationroute, false, '');
717
+ setmenuactive(false);
718
+ }}
719
+ >
720
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
721
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
722
+ </p>
723
+ </div>
724
+ </div>
725
+ <div className="col-lg-12 p-0">
726
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
727
+ </div>
728
+ </div>
729
+ );
730
+ }
731
+ })}
732
+ {templateproperties_context.showfavorites == 'Show' && (
733
+ <div className="row m-0 w-100 anim">
734
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
735
+ <div
736
+ onClick={() => {
737
+ routingcountext(StaticPagesLinksContext.Wishlist);
738
+ setmenuactive(false);
739
+ }}
740
+ >
741
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.wishlist}</p>
742
+ </div>
743
+ </div>
744
+ <div className="col-lg-12 p-0">
745
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
746
+ </div>
747
+ </div>
748
+ )}
749
+ {templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && (
750
+ <div className="row m-0 w-100 anim">
751
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
752
+ <div
753
+ onClick={() => {
754
+ routingcountext(StaticPagesLinksContext.Policies);
755
+ setmenuactive(false);
756
+ }}
757
+ >
758
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.policies}</p>
759
+ </div>
760
+ </div>
761
+ <div className="col-lg-12 p-0">
762
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
763
+ </div>
764
+ </div>
765
+ )}
766
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
767
+ <div className="row m-0 w-100 anim">
768
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
769
+ <div
770
+ onClick={() => {
771
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
772
+ setmenuactive(false);
773
+ }}
774
+ >
775
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
776
+ {langdetect == 'en' ? returnpolicyobj('Privacy Policy')?.policypagename_en : returnpolicyobj('Privacy Policy')?.policypagename_ar}
777
+ </p>
778
+ </div>
779
+ </div>
780
+ <div className="col-lg-12 p-0">
781
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
782
+ </div>
783
+ </div>
784
+ )}
785
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
786
+ <div className="row m-0 w-100 anim">
787
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
788
+ <div
789
+ onClick={() => {
790
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
791
+ setmenuactive(false);
792
+ }}
793
+ >
794
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
795
+ {langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policypagename_en : returnpolicyobj('Shipping Policy')?.policypagename_ar}
796
+ </p>
797
+ </div>
798
+ </div>
799
+ <div className="col-lg-12 p-0">
800
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
801
+ </div>
802
+ </div>
803
+ )}
804
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
805
+ <div className="row m-0 w-100 anim">
806
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
807
+ <div
808
+ onClick={() => {
809
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
810
+ setmenuactive(false);
811
+ }}
812
+ >
813
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
814
+ {langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar}
815
+ </p>
816
+ </div>
817
+ </div>
818
+ <div className="col-lg-12 p-0">
819
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
820
+ </div>
821
+ </div>
822
+ )}
823
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
824
+ <div className="row m-0 w-100 anim">
825
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
826
+ <div
827
+ onClick={() => {
828
+ routingcountext(StaticPagesLinksContext.TermsConditions);
829
+ setmenuactive(false);
830
+ }}
831
+ >
832
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
833
+ {langdetect == 'en'
834
+ ? returnpolicyobj('Terms & Conditions')?.policypagename_en
835
+ : returnpolicyobj('Terms & Conditions')?.policypagename_ar}
836
+ </p>
837
+ </div>
838
+ </div>
839
+ <div className="col-lg-12 p-0">
840
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
841
+ </div>
842
+ </div>
843
+ )}
844
+ {authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && (
845
+ <div className="row m-0 w-100 anim">
846
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
847
+ <div
848
+ onClick={() => {
849
+ routingcountext(StaticPagesLinksContext.Ordershistory);
850
+ setmenuactive(false);
851
+ }}
852
+ >
853
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
854
+ {langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear}
855
+
856
+ {/* {langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear} */}
857
+ </p>
858
+ </div>
859
+ </div>
860
+ <div className="col-lg-12 p-0">
861
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
862
+ </div>
863
+ </div>
864
+ )}
865
+ {sectionproperties.showlanuagecontainer == 'Show' && (
866
+ <div className="row m-0 w-100 anim">
867
+ <div class={header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '} style={{}}>
868
+ <p
869
+ class={`${header_cssstyles.navbar_item_text_responsive}` + ' m-0 p-0 '}
870
+ style={{
871
+ cursor: 'default',
872
+ }}
873
+ >
874
+ {langdetect == 'en' ? 'Language' : 'اللغة'}
875
+ </p>
876
+ </div>
877
+ <div class="col-lg-12 p-0 d-flex align-items-center justify-content-start my-1">
878
+ <div
879
+ class="row m-0 w-100"
880
+ style={{
881
+ background: sectionproperties.langcontainerbgresp,
882
+ borderRadius: 5,
883
+ }}
884
+ >
885
+ <div
886
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
887
+ onClick={() => {
888
+ setlang('en');
889
+ setmenuactive(false);
890
+ }}
891
+ >
892
+ <p
893
+ class="m-0 p-0 w-100 allcentered py-3"
894
+ style={{
895
+ background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
896
+ borderRadius: 5,
897
+ fontSize: 15,
898
+ color: sectionproperties.language_container_color_resp,
899
+ }}
900
+ >
901
+ English
902
+ </p>
903
+ </div>
904
+ <div
905
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
906
+ onClick={() => {
907
+ setlang('ar');
908
+ setmenuactive(false);
909
+ }}
910
+ >
911
+ <p
912
+ class="m-0 p-0 w-100 allcentered py-3"
913
+ style={{
914
+ borderRadius: 5,
915
+ background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
916
+ fontSize: 15,
917
+ color: sectionproperties.language_container_color_resp,
918
+ }}
919
+ >
920
+ لغة عربية
921
+ </p>
922
+ </div>
923
+ </div>
924
+ </div>
925
+ </div>
926
+ )}
927
+ {sectionproperties.ShowUserBtn == 'Show' && (
928
+ <div class="row m-0 w-100 mt-5">
929
+ {!authdetailsContext.loggedin && (
930
+ <button
931
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
932
+ onClick={() => {
933
+ routingcountext(StaticPagesLinksContext.Login);
934
+ setmenuactive(false);
935
+ }}
936
+ >
937
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
938
+ <BiUser />
939
+ </i>
940
+ <span class="userbtn_resp mx-2">{langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب'}</span>
941
+ </button>
942
+ )}
943
+ {authdetailsContext.loggedin && (
944
+ <button
945
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
946
+ onClick={() => {
947
+ routingcountext(StaticPagesLinksContext.accountinfo);
948
+ setmenuactive(false);
949
+ }}
950
+ >
951
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
952
+ <BiUser />
953
+ </i>
954
+ <span class={header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '}>
955
+ {authdetailsContext.customerinfo.name}
956
+ </span>
957
+ </button>
958
+ )}
959
+ </div>
960
+ )}
961
+ {authdetailsContext.loggedin && (
962
+ <div class="row m-0 w-100 mt-5 allcentered anim">
963
+ <button
964
+ class={' d-flex align-items-center justify-content-center p-0 m-0 '}
965
+ onClick={() => {
966
+ LogoutMutationContext.mutate();
967
+ setmenuactive(false);
968
+ }}
969
+ style={{
970
+ width: '90%',
971
+ height: 40,
972
+ background: 'white',
973
+ color: '#000',
974
+ fontSize: 16,
975
+ }}
976
+ >
977
+ {lang.logout}
978
+ </button>
979
+ </div>
980
+ )}
981
+ </div>
982
+ )}
983
+ </div>
984
+ </div>
985
+ {/* {sectionproperties.showhidesubheader == 'Show' && (
986
+ <div className="col-lg-12 p-0 h-100" id="subheader">
987
+ <div className="row m-0 w-100 h-100">
988
+ <div className="col-lg-12 p-0 h-100">
989
+ <Subheader sectionpropertiesprops={sectionproperties} actions={actions} />
990
+ </div>
991
+ </div>
992
+ </div>
993
+ )} */}
994
+ </div>
995
+ )}
996
+ {openSearch == true && (
997
+ <div class="col-12 d-flex align-items-center">
998
+ <button
999
+ style={{
1000
+ width: 40,
1001
+ height: 40,
1002
+ position: 'absolute',
1003
+ top: 10,
1004
+ right: 10,
1005
+ zIndex: 10000,
1006
+ }}
1007
+ class="allcentered"
1008
+ onClick={() => {
1009
+ setopenSearch(false);
1010
+ setSearchHeaderInputContext('');
1011
+ }}
1012
+ >
1013
+ <IoClose
1014
+ style={{
1015
+ fontSize: 20,
1016
+ color: '#000',
1017
+ }}
1018
+ />
1019
+ </button>
1020
+ <div class={header_cssstyles.searchbarcont}>
1021
+ <input
1022
+ type="text"
1023
+ placeholder={langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar}
1024
+ class={`${header_cssstyles.searchbarcont_input}` + ' pb-1 '}
1025
+ onChange={(event) => {
1026
+ setSearchHeaderInputContext(event.target.value);
1027
+ }}
1028
+ />
1029
+
1030
+ <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'fullheader'} actions={actions} />
1031
+ </div>
1032
+ </div>
1033
+ )}
1034
+ {sectionproperties.length != 0 && sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && (
1035
+ <Offcanvas
1036
+ show={openmenuCanvas}
1037
+ onHide={() => {
1038
+ setopenmenuCanvas(false);
1039
+ }}
1040
+ placement={langdetect == 'en' ? 'start' : 'end'}
1041
+ scroll={true}
1042
+ style={{
1043
+ width: '90%',
1044
+ backgroundColor: 'white',
1045
+ }}
1046
+ backdrop={true}
1047
+ >
1048
+ <Offcanvas.Header>
1049
+ <Offcanvas.Title>
1050
+ {langdetect == 'en' && (
1051
+ <div
1052
+ class="allcentered"
1053
+ style={{
1054
+ position: 'absolute',
1055
+ right: -34,
1056
+ top: 5,
1057
+ width: 30,
1058
+ height: 30,
1059
+ background: '#000',
1060
+ }}
1061
+ onClick={() => {
1062
+ setopenmenuCanvas(false);
1063
+ }}
1064
+ >
1065
+ <IoMdClose color={'#fff'} size={16} />
1066
+ </div>
1067
+ )}
1068
+ {langdetect == 'ar' && (
1069
+ <div
1070
+ class="allcentered"
1071
+ style={{
1072
+ position: 'absolute',
1073
+ left: -34,
1074
+ top: 5,
1075
+ width: 30,
1076
+ height: 30,
1077
+ background: '#000',
1078
+ }}
1079
+ onClick={() => {
1080
+ setopenCnvas(false);
1081
+ }}
1082
+ >
1083
+ <IoMdClose color={'#fff'} size={16} />
1084
+ </div>
1085
+ )}
1086
+ <div className="row m-0 w-100 mb-5" style={{ borderBottom: '1px solid #eee' }}>
1087
+ <div
1088
+ className={'col-6 allcentered py-3'}
1089
+ onClick={() => {
1090
+ setactiveTab('menu');
1091
+ }}
1092
+ style={{
1093
+ background: activeTab == 'menu' ? 'white' : '#eee',
1094
+ }}
1095
+ >
1096
+ <p
1097
+ className="m-0 p-0"
1098
+ style={{
1099
+ textTransform: 'uppercase',
1100
+ fontWeight: 500,
1101
+ fontSize: '15px',
1102
+ transition: '.3s',
1103
+ color: sectionproperties.header_fontColorresponsive,
1104
+ }}
1105
+ >
1106
+ {langdetect == 'en' ? 'MENU' : 'القائمة'}
1107
+ </p>
1108
+ </div>
1109
+ <div
1110
+ className={'col-6 allcentered py-3'}
1111
+ onClick={() => {
1112
+ setactiveTab('categories');
1113
+ }}
1114
+ style={{
1115
+ background: activeTab == 'categories' ? 'white' : '#eee',
1116
+ }}
1117
+ >
1118
+ <p
1119
+ className="m-0 p-0"
1120
+ style={{
1121
+ textTransform: 'uppercase',
1122
+ fontWeight: 500,
1123
+ fontSize: '15px',
1124
+ transition: '.3s',
1125
+ color: sectionproperties.header_fontColorresponsive,
1126
+ }}
1127
+ >
1128
+ {langdetect == 'en' ? 'SHOP' : 'تسوق'}
1129
+ </p>
1130
+ </div>
1131
+ </div>
1132
+ </Offcanvas.Title>
1133
+ </Offcanvas.Header>
1134
+ <Offcanvas.Body>
1135
+ <div style={{ minHeight: '80vh' }}>
1136
+ {activeTab == 'menu' && (
1137
+ <div className={' row m-0 w-100 anim '}>
1138
+ <div className="col-lg-12 p-0">
1139
+ <ul className={' d-flex justify-content-center flex-column p-0 '}>
1140
+ {templatepropcontext.pagesnprop.map((item, index) => {
1141
+ if (item.isnavigation == 1 && item.isactive == 1) {
1142
+ return (
1143
+ <div className="row m-0 w-100">
1144
+ <div className="col-lg-12 d-flex justify-content-start pl-3 pr-3" style={{ paddingTop: index == 0 ? 5 : 0 }}>
1145
+ <div
1146
+ onClick={() => {
1147
+ routingcountext(item.navigationroute, false, '');
1148
+ setopenCnvas(false);
1149
+ }}
1150
+ >
1151
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1152
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
1153
+ </p>
1154
+ </div>
1155
+ </div>
1156
+ <div className="col-lg-12 p-0">
1157
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1158
+ </div>
1159
+ </div>
1160
+ );
1161
+ }
1162
+ })}
1163
+ {authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && (
1164
+ <div className="row m-0 w-100">
1165
+ <div
1166
+ className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
1167
+ onClick={() => {
1168
+ routingcountext(StaticPagesLinksContext.Ordershistory);
1169
+ setopenCnvas(false);
1170
+ }}
1171
+ >
1172
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.orderhistory}</p>
1173
+ </div>
1174
+ <div className="col-lg-12 p-0">
1175
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1176
+ </div>
1177
+ </div>
1178
+ )}
1179
+ {templateproperties_context.showfavorites == 'Show' && (
1180
+ <div className="row m-0 w-100">
1181
+ <div
1182
+ className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
1183
+ onClick={() => {
1184
+ routingcountext(StaticPagesLinksContext.Wishlist);
1185
+ setopenCnvas(false);
1186
+ }}
1187
+ >
1188
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.wishlist}</p>
1189
+ </div>
1190
+ <div className="col-lg-12 p-0">
1191
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1192
+ </div>
1193
+ </div>
1194
+ )}
1195
+
1196
+ {templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && (
1197
+ <div className="row m-0 w-100">
1198
+ <div
1199
+ className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
1200
+ onClick={() => {
1201
+ routingcountext(StaticPagesLinksContext.Policies);
1202
+ setmenuactive(false);
1203
+ }}
1204
+ >
1205
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.policies}</p>
1206
+ </div>
1207
+ <div className="col-lg-12 p-0">
1208
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1209
+ </div>
1210
+ </div>
1211
+ )}
1212
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1213
+ <div className="row m-0 w-100">
1214
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1215
+ <div
1216
+ onClick={() => {
1217
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
1218
+ setmenuactive(false);
1219
+ }}
1220
+ >
1221
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1222
+ {langdetect == 'en'
1223
+ ? returnpolicyobj('Privacy Policy')?.policypagename_en
1224
+ : returnpolicyobj('Privacy Policy')?.policypagename_ar}
1225
+ </p>
1226
+ </div>
1227
+ </div>
1228
+ <div className="col-lg-12 p-0">
1229
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1230
+ </div>
1231
+ </div>
1232
+ )}
1233
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1234
+ <div className="row m-0 w-100">
1235
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1236
+ <div
1237
+ onClick={() => {
1238
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
1239
+ setmenuactive(false);
1240
+ }}
1241
+ >
1242
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1243
+ {langdetect == 'en'
1244
+ ? returnpolicyobj('Shipping Policy')?.policypagename_en
1245
+ : returnpolicyobj('Shipping Policy')?.policypagename_ar}
1246
+ </p>
1247
+ </div>
1248
+ </div>
1249
+ <div className="col-lg-12 p-0">
1250
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1251
+ </div>
1252
+ </div>
1253
+ )}
1254
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1255
+ <div className="row m-0 w-100">
1256
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1257
+ <div
1258
+ onClick={() => {
1259
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
1260
+ setmenuactive(false);
1261
+ }}
1262
+ >
1263
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1264
+ {langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar}
1265
+ </p>
1266
+ </div>
1267
+ </div>
1268
+ <div className="col-lg-12 p-0">
1269
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1270
+ </div>
1271
+ </div>
1272
+ )}
1273
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1274
+ <div className="row m-0 w-100">
1275
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1276
+ <div
1277
+ onClick={() => {
1278
+ routingcountext(StaticPagesLinksContext.TermsConditions);
1279
+ setmenuactive(false);
1280
+ }}
1281
+ >
1282
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1283
+ {langdetect == 'en'
1284
+ ? returnpolicyobj('Terms & Conditions')?.policypagename_en
1285
+ : returnpolicyobj('Terms & Conditions')?.policypagename_ar}
1286
+ </p>
1287
+ </div>
1288
+ </div>
1289
+ <div className="col-lg-12 p-0">
1290
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1291
+ </div>
1292
+ </div>
1293
+ )}
1294
+ {authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && (
1295
+ <div className="row m-0 w-100">
1296
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1297
+ <div
1298
+ onClick={() => {
1299
+ routingcountext(StaticPagesLinksContext.Ordershistory);
1300
+ setmenuactive(false);
1301
+ }}
1302
+ >
1303
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1304
+ {langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear}
1305
+
1306
+ {/* {langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear} */}
1307
+ </p>
1308
+ </div>
1309
+ </div>
1310
+ <div className="col-lg-12 p-0">
1311
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1312
+ </div>
1313
+ </div>
1314
+ )}
1315
+ {sectionproperties.showlanuagecontainer == 'Show' && (
1316
+ <div className="row m-0 w-100 pl-3 pr-3">
1317
+ <div class={header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '} style={{}}>
1318
+ <p
1319
+ class={`${header_cssstyles.navbar_item_text_responsive}` + ' m-0 p-0 '}
1320
+ style={{
1321
+ cursor: 'default',
1322
+ }}
1323
+ >
1324
+ {langdetect == 'en' ? 'Language' : 'اللغة'}
1325
+ </p>
1326
+ </div>
1327
+ <div class="col-lg-12 p-0 d-flex align-items-center justify-content-start my-1">
1328
+ <div
1329
+ class="row m-0 w-100"
1330
+ style={{
1331
+ background: sectionproperties.langcontainerbgresp,
1332
+ borderRadius: 5,
1333
+ }}
1334
+ >
1335
+ <div
1336
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
1337
+ onClick={() => {
1338
+ setlang('en');
1339
+ setmenuactive(false);
1340
+ }}
1341
+ >
1342
+ <p
1343
+ class="m-0 p-0 w-100 allcentered py-3"
1344
+ style={{
1345
+ background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
1346
+ borderRadius: 5,
1347
+ fontSize: 15,
1348
+ color: sectionproperties.language_container_color_resp,
1349
+ }}
1350
+ >
1351
+ English
1352
+ </p>
1353
+ </div>
1354
+ <div
1355
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
1356
+ onClick={() => {
1357
+ setlang('ar');
1358
+ setmenuactive(false);
1359
+ }}
1360
+ >
1361
+ <p
1362
+ class="m-0 p-0 w-100 allcentered py-3"
1363
+ style={{
1364
+ borderRadius: 5,
1365
+ background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
1366
+ fontSize: 15,
1367
+ color: sectionproperties.language_container_color_resp,
1368
+ }}
1369
+ >
1370
+ لغة عربية
1371
+ </p>
1372
+ </div>
1373
+ </div>
1374
+ </div>
1375
+ </div>
1376
+ )}
1377
+ {sectionproperties.ShowUserBtn == 'Show' && (
1378
+ <div className="row m-0 w-100 pl-3 pr-3 mt-5">
1379
+ {!authdetailsContext.loggedin && (
1380
+ <button
1381
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
1382
+ onClick={() => {
1383
+ routingcountext(StaticPagesLinksContext.Login);
1384
+ setmenuactive(false);
1385
+ }}
1386
+ >
1387
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
1388
+ <BiUser />
1389
+ </i>
1390
+ <span class="userbtn_resp mx-2">{langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب'}</span>
1391
+ </button>
1392
+ )}
1393
+ {authdetailsContext.loggedin && (
1394
+ <button
1395
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
1396
+ onClick={() => {
1397
+ routingcountext(StaticPagesLinksContext.accountinfo);
1398
+ setmenuactive(false);
1399
+ }}
1400
+ >
1401
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
1402
+ <BiUser />
1403
+ </i>
1404
+ <span class={header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '}>
1405
+ {authdetailsContext.customerinfo.name}
1406
+ </span>
1407
+ </button>
1408
+ )}
1409
+ </div>
1410
+ )}
1411
+ {authdetailsContext.loggedin && (
1412
+ <div className="row m-0 w-100">
1413
+ <button
1414
+ class={' d-flex align-items-center justify-content-center p-0 m-0 '}
1415
+ onClick={() => {
1416
+ LogoutMutationContext.mutate();
1417
+ setmenuactive(false);
1418
+ }}
1419
+ style={{
1420
+ width: '90%',
1421
+ height: 40,
1422
+ background: 'white',
1423
+ color: '#000',
1424
+ fontSize: 16,
1425
+ }}
1426
+ >
1427
+ {lang.logout}
1428
+ </button>
1429
+ </div>
1430
+ )}
1431
+ </ul>
1432
+ </div>
1433
+ </div>
1434
+ )}
1435
+ {activeTab == 'categories' && (
1436
+ <div className={' row m-0 w-100 accordionContainer anim'}>
1437
+ {sectionproperties.subheaderParentType == 'Categories' && (
1438
+ <Accordion allowMultipleExpanded={false} allowZeroExpanded={true}>
1439
+ {fetchCategoriesQueryContext?.data?.data?.categories.map((item, index) => {
1440
+ if (item.isshowntocustomers == 1) {
1441
+ return (
1442
+ <AccordionItem uuid={index}>
1443
+ <AccordionItemHeading
1444
+ onClick={() => {
1445
+ setChoosenindex(index);
1446
+ }}
1447
+ >
1448
+ <AccordionItemButton>
1449
+ <div className={' row m-0 p-0 mb-2 '}>
1450
+ <div className={' row m-0 w-100 px-3 '}>
1451
+ <div
1452
+ className="col-10 p-0 text-start"
1453
+ // onClick={() => {
1454
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1455
+ // }}
1456
+ >
1457
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1458
+ {langdetect == 'en' ? item.title_en : item.title_ar}
1459
+ </p>
1460
+ </div>
1461
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1462
+ <AccordionItemState>
1463
+ {(state) => {
1464
+ if (state.expanded == true) {
1465
+ return (
1466
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1467
+ <FiChevronDown
1468
+ style={{
1469
+ color: '#000',
1470
+ fontSize: 15,
1471
+ }}
1472
+ />
1473
+ </i>
1474
+ );
1475
+ } else {
1476
+ return (
1477
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1478
+ <FiChevronUp
1479
+ style={{
1480
+ color: '#000',
1481
+ fontSize: 15,
1482
+ }}
1483
+ />
1484
+ </i>
1485
+ );
1486
+ }
1487
+ }}
1488
+ </AccordionItemState>
1489
+ </div>
1490
+ </div>
1491
+ <div className="col-lg-12 p-0">
1492
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1493
+ </div>
1494
+ </div>
1495
+ </AccordionItemButton>
1496
+ </AccordionItemHeading>
1497
+ <AccordionItemPanel className="p-0">
1498
+ <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1499
+ <Accordion allowMultipleExpanded={false} allowZeroExpanded={true}>
1500
+ {Choosenindex.length != 0 &&
1501
+ fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions?.length != 0 &&
1502
+ fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions.map((pitem, pindex) => {
1503
+ if (pitem.isshowntocustomers == 1) {
1504
+ return (
1505
+ <AccordionItem uuid={pindex}>
1506
+ <AccordionItemHeading>
1507
+ <AccordionItemButton>
1508
+ <div className={' row m-0 p-0 mb-2 '}>
1509
+ <div className={' row m-0 w-100 px-4 '}>
1510
+ <div
1511
+ className="col-10 p-0 text-start"
1512
+ onClick={() => {
1513
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1514
+ }}
1515
+ >
1516
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1517
+ {langdetect == 'en' ? pitem.title_en : pitem.title_ar}
1518
+ </p>
1519
+ </div>
1520
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1521
+ <AccordionItemState>
1522
+ {(state) => {
1523
+ if (state.expanded == true) {
1524
+ return (
1525
+ <i
1526
+ className={
1527
+ ' collapsetitle h-100 d-flex align-items-center justify-content-end '
1528
+ }
1529
+ >
1530
+ <FiChevronDown
1531
+ style={{
1532
+ color: '#000',
1533
+ fontSize: 15,
1534
+ }}
1535
+ />
1536
+ </i>
1537
+ );
1538
+ } else {
1539
+ return (
1540
+ <i
1541
+ className={
1542
+ ' collapsetitle h-100 d-flex align-items-center justify-content-end '
1543
+ }
1544
+ >
1545
+ <FiChevronUp
1546
+ style={{
1547
+ color: '#000',
1548
+ fontSize: 15,
1549
+ }}
1550
+ />
1551
+ </i>
1552
+ );
1553
+ }
1554
+ }}
1555
+ </AccordionItemState>
1556
+ </div>
1557
+ </div>
1558
+ <div className="col-lg-12 p-0">
1559
+ <hr
1560
+ className="mt-4 mb-4"
1561
+ style={{ borderColor: sectionproperties.resp_header_separatorbg }}
1562
+ />
1563
+ </div>
1564
+ </div>
1565
+ </AccordionItemButton>
1566
+ </AccordionItemHeading>
1567
+ <AccordionItemPanel className="p-0">
1568
+ {pitem.collections.length != 0 &&
1569
+ pitem.collections.map((collitem, collindex) => {
1570
+ if (collitem.isshowntocustomers == 1) {
1571
+ return (
1572
+ <div className={' row m-0 p-0 mb-2 '}>
1573
+ <div className={' row m-0 w-100 px-5 '}>
1574
+ <div
1575
+ className="col-10 p-0 text-start"
1576
+ onClick={() => {
1577
+ routingcountext(
1578
+ StaticPagesLinksContext.GeneralProductsComponent,
1579
+ true,
1580
+ 'collections/' + collitem.collectionid,
1581
+ );
1582
+ setopenCnvas(false);
1583
+ }}
1584
+ >
1585
+ <p
1586
+ className={
1587
+ `${header_cssstyles.navbar_item_text_responsive}` +
1588
+ ' mb-0 p-0 '
1589
+ }
1590
+ >
1591
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1592
+ </p>
1593
+ </div>
1594
+ </div>
1595
+ <div className="col-lg-12 p-0">
1596
+ <hr
1597
+ className="mt-4 mb-4"
1598
+ style={{ borderColor: sectionproperties.resp_header_separatorbg }}
1599
+ />
1600
+ </div>
1601
+ </div>
1602
+ );
1603
+ }
1604
+ })}
1605
+ </AccordionItemPanel>
1606
+ </AccordionItem>
1607
+ );
1608
+ }
1609
+ })}
1610
+ </Accordion>
1611
+ </div>
1612
+ </AccordionItemPanel>
1613
+ </AccordionItem>
1614
+ );
1615
+ }
1616
+ })}
1617
+ </Accordion>
1618
+ )}
1619
+ {sectionproperties.subheaderParentType == 'Parent Collections' && (
1620
+ <Accordion allowMultipleExpanded={false} allowZeroExpanded={true}>
1621
+ {pcollarray.map((item, index) => {
1622
+ if (item.isshowntocustomers == 1) {
1623
+ return (
1624
+ <AccordionItem uuid={index}>
1625
+ <AccordionItemHeading
1626
+ onClick={() => {
1627
+ setChoosenindex(index);
1628
+ }}
1629
+ >
1630
+ <AccordionItemButton>
1631
+ <div className={' row m-0 p-0 mb-2 '}>
1632
+ <div className={' row m-0 w-100 px-3 '}>
1633
+ <div className="col-10 p-0 text-start">
1634
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1635
+ {langdetect == 'en' ? item.title_en : item.title_ar}
1636
+ </p>
1637
+ </div>
1638
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1639
+ <AccordionItemState>
1640
+ {(state) => {
1641
+ if (state.expanded == true) {
1642
+ return (
1643
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1644
+ <FiChevronDown
1645
+ style={{
1646
+ color: '#000',
1647
+ fontSize: 15,
1648
+ }}
1649
+ />
1650
+ </i>
1651
+ );
1652
+ } else {
1653
+ return (
1654
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1655
+ <FiChevronUp
1656
+ style={{
1657
+ color: '#000',
1658
+ fontSize: 15,
1659
+ }}
1660
+ />
1661
+ </i>
1662
+ );
1663
+ }
1664
+ }}
1665
+ </AccordionItemState>
1666
+ </div>
1667
+ </div>
1668
+ <div className="col-lg-12 p-0">
1669
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1670
+ </div>
1671
+ </div>
1672
+ </AccordionItemButton>
1673
+ </AccordionItemHeading>
1674
+ <AccordionItemPanel className="p-0">
1675
+ <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1676
+ <div class="col-lg-12 p-0">
1677
+ <div className={' row m-0 p-0 mb-2 '}>
1678
+ <div className={' row m-0 w-100 px-5 '}>
1679
+ <div
1680
+ className="col-10 p-0 text-start"
1681
+ onClick={() => {
1682
+ routingcountext(
1683
+ StaticPagesLinksContext.GeneralProductsComponent,
1684
+ true,
1685
+ 'parentcollections/' + item.parentcollectionid,
1686
+ );
1687
+
1688
+ setopenCnvas(false);
1689
+ }}
1690
+ >
1691
+ <p
1692
+ className={' mb-0 p-0 '}
1693
+ style={{
1694
+ color: sectionproperties.collectionsectiontextcolor,
1695
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
1696
+ textTransform: sectionproperties.collectionsectiontexttransform,
1697
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
1698
+ transition: '.3s',
1699
+ }}
1700
+ >
1701
+ {langdetect == 'en' ? 'SHOP' : 'تسوق'} {langdetect == 'en' ? item.title_en : item.title_ar}
1702
+ </p>
1703
+ </div>
1704
+ </div>
1705
+ <div className="col-lg-12 p-0">
1706
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1707
+ </div>
1708
+ </div>
1709
+ </div>
1710
+ {Choosenindex.length != 0 &&
1711
+ item?.collections.length != 0 &&
1712
+ item?.collections?.map((collitem, collindex) => {
1713
+ if (collitem.isshowntocustomers == 1) {
1714
+ return (
1715
+ <div class="col-lg-12 p-0">
1716
+ <div className={' row m-0 p-0 mb-2 '}>
1717
+ <div className={' row m-0 w-100 px-5 '}>
1718
+ <div
1719
+ className="col-10 p-0 text-start"
1720
+ onClick={() => {
1721
+ routingcountext(
1722
+ StaticPagesLinksContext.GeneralProductsComponent,
1723
+ true,
1724
+ 'collections/' + collitem.collectionid,
1725
+ );
1726
+ setopenCnvas(false);
1727
+ }}
1728
+ >
1729
+ <p
1730
+ className={' mb-0 p-0 '}
1731
+ style={{
1732
+ color: sectionproperties.collectionsectiontextcolor,
1733
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
1734
+ textTransform: sectionproperties.collectionsectiontexttransform,
1735
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
1736
+ transition: '.3s',
1737
+ }}
1738
+ >
1739
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1740
+ </p>
1741
+ </div>
1742
+ </div>
1743
+ <div className="col-lg-12 p-0">
1744
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1745
+ </div>
1746
+ </div>
1747
+ </div>
1748
+ );
1749
+ }
1750
+ })}
1751
+ </div>
1752
+ </AccordionItemPanel>
1753
+ </AccordionItem>
1754
+ );
1755
+ }
1756
+ })}
1757
+ </Accordion>
1758
+ )}
1759
+ {sectionproperties.subheaderParentType == 'Collections' &&
1760
+ authdetailsContext?.instinfo?.instcollections?.map((collitem, collindex) => {
1761
+ if (collitem.isshowntocustomers == 1) {
1762
+ return (
1763
+ <div className={' row m-0 p-0 mb-2 w-100 '}>
1764
+ <div
1765
+ className="col-12 p-0 text-start px-3"
1766
+ onClick={() => {
1767
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
1768
+ setopenCnvas(false);
1769
+ }}
1770
+ >
1771
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1772
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1773
+ </p>
1774
+ </div>
1775
+
1776
+ <div className="col-lg-12 p-0">
1777
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1778
+ </div>
1779
+ </div>
1780
+ );
1781
+ }
1782
+ })}
1783
+ </div>
1784
+ )}
1785
+ </div>
1786
+
1787
+ <div className="col-lg-12 p-0 d-flex flex-row allcentered p-3" style={{ background: '#eee' }}>
1788
+ {authdetailsContext?.instinfo?.facebooklink != null && (
1789
+ <div
1790
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1791
+ onClick={() => {
1792
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
1793
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1794
+ }
1795
+ }}
1796
+ >
1797
+ <FaFacebookF size={'20'} color={'#62564b'} />
1798
+ </div>
1799
+ )}
1800
+ {authdetailsContext?.instinfo?.instagramlink != null && (
1801
+ <div
1802
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1803
+ onClick={() => {
1804
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1805
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1806
+ }
1807
+ }}
1808
+ >
1809
+ <AiFillInstagram size={'22'} color={'#62564b'} />
1810
+ </div>
1811
+ )}
1812
+ {authdetailsContext?.instinfo?.tiktoklink != null && (
1813
+ <div
1814
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1815
+ onClick={() => {
1816
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1817
+ window.open(authdetailsContext?.instinfo?.tiktoklink, '_blank');
1818
+ }
1819
+ }}
1820
+ >
1821
+ <IoLogoTiktok size={'20'} color={'#62564b'} />
1822
+ </div>
1823
+ )}
1824
+ {authdetailsContext?.instinfo?.youtubelink != null && (
1825
+ <div
1826
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1827
+ onClick={() => {
1828
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1829
+ window.open(authdetailsContext?.instinfo?.youtubelink, '_blank');
1830
+ }
1831
+ }}
1832
+ >
1833
+ <AiFillYoutube size={'20'} color={'#62564b'} />
1834
+ </div>
1835
+ )}
1836
+ </div>
1837
+ </Offcanvas.Body>
1838
+ </Offcanvas>
1839
+ )}
1840
+ </div>
1841
+ )}
1842
+ </div>
1843
+ );
1844
+ };
1845
+
1846
+ export default HeaderresponsiveStyle2;