tabexseriescomponents 0.0.653 → 0.0.656

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 (351) hide show
  1. package/dist/index.cjs.js +28 -20
  2. package/dist/index.esm.js +28 -20
  3. package/dist/index.umd.js +28 -20
  4. package/package.json +1 -1
  5. package/src19-11/Contexts/LanguageContext.jsx +408 -0
  6. package/src19-11/Contexts/ProductsCardsSectionContext.jsx +36 -0
  7. package/src19-11/Imagekitconfig.jsx +46 -0
  8. package/src19-11/StylesJS/Customstyles.js +345 -0
  9. package/src19-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
  10. package/src19-11/TabexComponents/Cards/Card20/Card20.jsx +298 -0
  11. package/src19-11/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  12. package/src19-11/TabexComponents/Cards/Card22/Card22.jsx +288 -0
  13. package/src19-11/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
  14. package/src19-11/TabexComponents/Cards/Card23/Card23.jsx +733 -0
  15. package/src19-11/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
  16. package/src19-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
  17. package/src19-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  18. package/src19-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  19. package/src19-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
  20. package/src19-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
  21. package/src19-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
  22. package/src19-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
  23. package/src19-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  24. package/src19-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  25. package/src19-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
  26. package/src19-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
  27. package/src19-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
  28. package/src19-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +146 -0
  29. package/src19-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
  30. package/src19-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
  31. package/src19-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
  32. package/src19-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +732 -0
  33. package/src19-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
  34. package/src19-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
  35. package/src19-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
  36. package/src19-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
  37. package/src19-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
  38. package/src19-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  39. package/src19-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
  40. package/src19-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
  41. package/src19-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
  42. package/src19-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
  43. package/src19-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  44. package/src19-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
  45. package/src19-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
  46. package/src19-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
  47. package/src19-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +558 -0
  48. package/src19-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  49. package/src19-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  50. package/src19-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
  51. package/src19-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +613 -0
  52. package/src19-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
  53. package/src19-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
  54. package/src19-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
  55. package/src19-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
  56. package/src19-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
  57. package/src19-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
  58. package/src19-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
  59. package/src19-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
  60. package/src19-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
  61. package/src19-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
  62. package/src19-11/TabexComponents/Footer/Footer1/Footer1.jsx +714 -0
  63. package/src19-11/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
  64. package/src19-11/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
  65. package/src19-11/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
  66. package/src19-11/TabexComponents/Footer/Footer5/Footer5.jsx +714 -0
  67. package/src19-11/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
  68. package/src19-11/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
  69. package/src19-11/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
  70. package/src19-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
  71. package/src19-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +562 -0
  72. package/src19-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +865 -0
  73. package/src19-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
  74. package/src19-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
  75. package/src19-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
  76. package/src19-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  77. package/src19-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
  78. package/src19-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  79. package/src19-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  80. package/src19-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  81. package/src19-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  82. package/src19-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  83. package/src19-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  84. package/src19-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  85. package/src19-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  86. package/src19-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  87. package/src19-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
  88. package/src19-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  89. package/src19-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
  90. package/src19-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
  91. package/src19-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
  92. package/src19-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1263 -0
  93. package/src19-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
  94. package/src19-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
  95. package/src19-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
  96. package/src19-11/TabexComponents/Headers/Header4/Header4.jsx +622 -0
  97. package/src19-11/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
  98. package/src19-11/TabexComponents/Headers/Header8/Header8.jsx +1976 -0
  99. package/src19-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
  100. package/src19-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
  101. package/src19-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
  102. package/src19-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
  103. package/src19-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +953 -0
  104. package/src19-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
  105. package/src19-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
  106. package/src19-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
  107. package/src19-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
  108. package/src19-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1845 -0
  109. package/src19-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
  110. package/src19-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
  111. package/src19-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
  112. package/src19-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +962 -0
  113. package/src19-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
  114. package/src19-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
  115. package/src19-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1073 -0
  116. package/src19-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +133 -0
  117. package/src19-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
  118. package/src19-11/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
  119. package/src19-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
  120. package/src19-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
  121. package/src19-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
  122. package/src19-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
  123. package/src19-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1089 -0
  124. package/src19-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +936 -0
  125. package/src19-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
  126. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
  127. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
  128. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
  129. package/src19-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
  130. package/src19-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
  131. package/src19-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
  132. package/src19-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
  133. package/src19-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
  134. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
  135. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
  136. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +627 -0
  137. package/src19-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
  138. package/src19-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
  139. package/src19-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
  140. package/src19-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
  141. package/src19-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
  142. package/src19-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
  143. package/src19-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
  144. package/src19-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
  145. package/src19-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
  146. package/src19-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
  147. package/src19-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +616 -0
  148. package/src19-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
  149. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
  150. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
  151. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
  152. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1902 -0
  153. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
  154. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
  155. package/src19-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
  156. package/src19-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
  157. package/src19-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
  158. package/src19-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  159. package/src19-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
  160. package/src19-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
  161. package/src19-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +962 -0
  162. package/src19-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
  163. package/src19-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  164. package/src19-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
  165. package/src19-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
  166. package/src19-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
  167. package/src19-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
  168. package/src19-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +436 -0
  169. package/src19-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
  170. package/src19-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
  171. package/src19-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1736 -0
  172. package/src19-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
  173. package/src19-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
  174. package/src19-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +380 -0
  175. package/src19-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +711 -0
  176. package/src19-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
  177. package/src19-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
  178. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
  179. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  180. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
  181. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
  182. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
  183. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
  184. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
  185. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
  186. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
  187. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
  188. package/src19-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
  189. package/src19-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
  190. package/src19-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
  191. package/src19-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
  192. package/src19-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
  193. package/src19-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
  194. package/src19-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
  195. package/src19-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
  196. package/src19-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
  197. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
  198. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +1892 -0
  199. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
  200. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
  201. package/src19-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
  202. package/src19-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
  203. package/src19-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
  204. package/src19-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
  205. package/src19-11/TabexComponents/StaticPages/Filter/Filter.jsx +2771 -0
  206. package/src19-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
  207. package/src19-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
  208. package/src19-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
  209. package/src19-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
  210. package/src19-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
  211. package/src19-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
  212. package/src19-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  213. package/src19-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  214. package/src19-11/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
  215. package/src19-11/TabexComponents/StaticPages/Login/Login.jsx +610 -0
  216. package/src19-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
  217. package/src19-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
  218. package/src19-11/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
  219. package/src19-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
  220. package/src19-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
  221. package/src19-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
  222. package/src19-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
  223. package/src19-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
  224. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
  225. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
  226. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
  227. package/src19-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
  228. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1983 -0
  229. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
  230. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
  231. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
  232. package/src19-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
  233. package/src19-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1946 -0
  234. package/src19-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
  235. package/src19-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
  236. package/src19-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
  237. package/src19-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
  238. package/src19-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  239. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
  240. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
  241. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
  242. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
  243. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
  244. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
  245. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
  246. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
  247. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
  248. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
  249. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
  250. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
  251. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
  252. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
  253. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
  254. package/src19-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
  255. package/src19-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
  256. package/src19-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
  257. package/src19-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
  258. package/src19-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
  259. package/src19-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
  260. package/src19-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
  261. package/src19-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
  262. package/src19-11/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
  263. package/src19-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
  264. package/src19-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
  265. package/src19-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
  266. package/src19-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
  267. package/src19-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
  268. package/src19-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
  269. package/src19-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
  270. package/src19-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
  271. package/src19-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
  272. package/src19-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
  273. package/src19-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
  274. package/src19-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
  275. package/src19-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
  276. package/src19-11/button.jsx +40 -0
  277. package/src19-11/index.jsx +334 -0
  278. package/src19-11/styles/Home.module.css +129 -0
  279. package/src19-11/styles/cards/Categorcycard_fullimage.module.css +14 -0
  280. package/src19-11/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  281. package/src19-11/styles/cards/Categorycard_withshapes.module.css +189 -0
  282. package/src19-11/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  283. package/src19-11/styles/cards/Productcard6.module.css +9 -0
  284. package/src19-11/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  285. package/src19-11/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  286. package/src19-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  287. package/src19-11/styles/cards/card23.module.css +60 -0
  288. package/src19-11/styles/cards/categorycard.module.css +84 -0
  289. package/src19-11/styles/cards/categorycard3.module.css +50 -0
  290. package/src19-11/styles/cards/categorycardwithtext.module.css +40 -0
  291. package/src19-11/styles/cards/generalCardsStyles.module.css +79 -0
  292. package/src19-11/styles/cards/productcard_animatedbuttons.module.css +139 -0
  293. package/src19-11/styles/cards/productcard_with_textonhover.module.css +18 -0
  294. package/src19-11/styles/cards/productcard_withtextonimage.module.css +0 -0
  295. package/src19-11/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  296. package/src19-11/styles/general/bootstrap.css +4763 -0
  297. package/src19-11/styles/general/dropdown.css +206 -0
  298. package/src19-11/styles/general/editorbardropdown.module.css +94 -0
  299. package/src19-11/styles/general/filter.module.css +108 -0
  300. package/src19-11/styles/general/form.module.css +255 -0
  301. package/src19-11/styles/general/general.module.css +872 -0
  302. package/src19-11/styles/general/image-gallery.css +531 -0
  303. package/src19-11/styles/general/react-accessible-accordion.module.css +52 -0
  304. package/src19-11/styles/general/react-phone-input-2.module.css +927 -0
  305. package/src19-11/styles/general/scrollbtn.module.css +22 -0
  306. package/src19-11/styles/general/slick.module.css +166 -0
  307. package/src19-11/styles/general/tabs.module.css +119 -0
  308. package/src19-11/styles/general/workplaceeditor.module.css +328 -0
  309. package/src19-11/styles/globals.css +26 -0
  310. package/src19-11/styles/headers/CTAHeader.module.css +40 -0
  311. package/src19-11/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  312. package/src19-11/styles/headers/Gotoheader.module.css +87 -0
  313. package/src19-11/styles/headers/Header7.module.css +50 -0
  314. package/src19-11/styles/headers/HeaderWithAdSlider.module.css +86 -0
  315. package/src19-11/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  316. package/src19-11/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  317. package/src19-11/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  318. package/src19-11/styles/headers/NewHeader.module.css +101 -0
  319. package/src19-11/styles/headers/SearchFocusedHeader.module.css +62 -0
  320. package/src19-11/styles/headers/Sideheader.module.css +108 -0
  321. package/src19-11/styles/headers/Simpleheader.module.css +102 -0
  322. package/src19-11/styles/headers/classicheader.module.css +16 -0
  323. package/src19-11/styles/headers/classicheaderstyles.module.css +9 -0
  324. package/src19-11/styles/headers/dropdown.css +0 -0
  325. package/src19-11/styles/headers/header4.module.css +175 -0
  326. package/src19-11/styles/headers/header5.module.css +30 -0
  327. package/src19-11/styles/headers/header_contactinfo.module.css +53 -0
  328. package/src19-11/styles/headers/headerresturant.module.css +89 -0
  329. package/src19-11/styles/headers/modernheader.module.css +45 -0
  330. package/src19-11/styles/headers/stylishheader.module.css +24 -0
  331. package/src19-11/styles/headers/subheader.module.css +114 -0
  332. package/src19-11/styles/headers/threetieredheader.module.css +91 -0
  333. package/src19-11/styles/sections/BackgroundImageWithTopContent.css +4 -0
  334. package/src19-11/styles/sections/Backgroundimage1.module.css +17 -0
  335. package/src19-11/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  336. package/src19-11/styles/sections/Freetext.module.css +18 -0
  337. package/src19-11/styles/sections/Section_with_rightbgcont.module.css +49 -0
  338. package/src19-11/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  339. package/src19-11/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  340. package/src19-11/styles/staticpages/accordion.module.css +9 -0
  341. package/src19-11/styles/staticpages/cart.module.css +108 -0
  342. package/src19-11/styles/staticpages/dropdown.css +196 -0
  343. package/src19-11/styles/staticpages/filter.module.css +139 -0
  344. package/src19-11/styles/staticpages/image-gallery.css +481 -0
  345. package/src19-11/styles/staticpages/login.module.css +155 -0
  346. package/src19-11/styles/staticpages/productinfo.module.css +54 -0
  347. package/src19-11/styles/staticpages/shop.module.css +191 -0
  348. package/src19-11/styles/staticpages/signup.module.css +250 -0
  349. package/src19-11/styles/staticpages/staticroutersidenav.module.css +129 -0
  350. package/src19-11/styles/staticpages/viewcart.module.css +129 -0
  351. package/src19-11/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,1845 @@
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
+ }}
529
+ >
530
+ <FaMoneyBillWave />
531
+ <span class={'ml-2 mr-2'}>{langdetect == 'en' ? item.currencyname_en : item.currencyname_ar}</span>
532
+ </p>
533
+ </div>
534
+ </div>
535
+ {index != authdetailsContext?.instinfo?.instcurrencies?.length - 1 && (
536
+ <div class="col-lg-12 p-0">
537
+ <hr class="m-0" />
538
+ </div>
539
+ )}
540
+ </div>
541
+ </Dropdown.Item>
542
+ );
543
+ })}
544
+ </Dropdown.Menu>
545
+ </Dropdown>
546
+ </div>
547
+ )}
548
+ {/* here */}
549
+ {sectionproperties.searchbar_show == 'Hide' &&
550
+ sectionproperties.logocentered == 'Centered' &&
551
+ sectionproperties.cartBtnShow == 'Hide' &&
552
+ sectionproperties.favBtnShow == 'Hide' && (
553
+ <div
554
+ className={'allcentered resposiveheader_languagedropdown'}
555
+ style={{
556
+ marginLeft: langdetect == 'en' ? '0.25rem' : 0,
557
+ marginRight: langdetect == 'ar' ? '0.25rem' : 0,
558
+ }}
559
+ >
560
+ {langdetect == 'en' && (
561
+ <div
562
+ className={' row m-0 w-100 allcentered '}
563
+ style={{ direction: 'rtl', color: sectionproperties.cart_BtnTextcolor_resp }}
564
+ onClick={() => {
565
+ setlang('ar');
566
+ }}
567
+ >
568
+ <p class="m-0 p-0 font-weight-500">ع</p>
569
+ <i className={langdetect == 'en' ? 'h-100 allcentered mr-1' : 'h-100 allcentered ml-1'}>
570
+ <BiChevronDown size={20} />
571
+ </i>
572
+ </div>
573
+ )}
574
+ {langdetect == 'ar' && (
575
+ <div
576
+ className={' row m-0 w-100 allcentered '}
577
+ style={{ direction: 'ltr', color: sectionproperties.cart_BtnTextcolor_resp }}
578
+ onClick={() => {
579
+ setlang('en');
580
+ }}
581
+ >
582
+ <p class="m-0 p-0 font-weight-500 mr-1">En</p>
583
+ <i className="h-100 allcentered">
584
+ <BiChevronDown size={20} />
585
+ </i>
586
+ </div>
587
+ )}
588
+ </div>
589
+ )}
590
+ {sectionproperties.logocentered == 'Not Centered' && sectionproperties.showlanuagecontainer == 'Show' && (
591
+ <div
592
+ class={langdetect == 'en' ? ' allcentered m-0 cursor-pointer ml-1 ' : ' m-0 cursor-pointer mr-1 '}
593
+ style={{ minWidth: '30px' }}
594
+ onClick={() => {
595
+ if (langdetect == 'en') {
596
+ setlang('ar');
597
+ } else {
598
+ setlang('en');
599
+ }
600
+ }}
601
+ >
602
+ {langdetect == 'en' && (
603
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 allcentered w-100 '}>
604
+ <p class="m-0 p-0 d-flex align-items-center w-100">
605
+ En{' '}
606
+ <i class="h-100 allcentered ml-auto pl-3">
607
+ <BsChevronDown />
608
+ </i>
609
+ </p>
610
+ </div>
611
+ )}
612
+ {langdetect == 'ar' && (
613
+ <div class={`${header_cssstyles.languagecontainer}` + ' row m-0 allcentered w-100 '}>
614
+ <p class="m-0 p-0 d-flex align-items-center w-100">
615
+ ع{' '}
616
+ <i class="h-100 allcentered mr-auto pr-3">
617
+ <BsChevronDown />
618
+ </i>
619
+ </p>
620
+ </div>
621
+ )}
622
+ </div>
623
+ )}
624
+ </div>
625
+ {menuactive == true && (
626
+ <div
627
+ class="px-4 py-4 scrollvertical"
628
+ style={{
629
+ position: 'fixed',
630
+ top: '0px',
631
+ left: 0,
632
+ right: 0,
633
+ width: '100%',
634
+ background: sectionproperties.resposive_bgcolor,
635
+ height: '100%',
636
+ zIndex: 10000,
637
+ overflow: 'scroll',
638
+ }}
639
+ >
640
+ {/* {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && (
641
+ <div className="row m-0 w-100 mb-5" style={{ borderBottom: '1px solid #eee' }}>
642
+ <div
643
+ className={'col-6 allcentered py-3'}
644
+ onClick={() => {
645
+ setactiveTab('menu');
646
+ }}
647
+ style={{
648
+ background: activeTab == 'menu' ? 'white' : '#eee',
649
+ }}
650
+ >
651
+ <p
652
+ className="m-0 p-0"
653
+ style={{
654
+ textTransform: 'uppercase',
655
+ fontWeight: 500,
656
+ fontSize: '15px',
657
+ transition: '.3s',
658
+ color: '#000',
659
+ }}
660
+ >
661
+ {langdetect == 'en' ? 'MENU' : 'القائمة'}
662
+ </p>
663
+ </div>
664
+ <div
665
+ className={'col-6 allcentered py-3'}
666
+ onClick={() => {
667
+ setactiveTab('categories');
668
+ }}
669
+ style={{
670
+ background: activeTab == 'categories' ? 'white' : '#eee',
671
+ }}
672
+ >
673
+ <p
674
+ className="m-0 p-0"
675
+ style={{
676
+ textTransform: 'uppercase',
677
+ fontWeight: 500,
678
+ fontSize: '15px',
679
+ transition: '.3s',
680
+ color: '#000',
681
+ }}
682
+ >
683
+ {langdetect == 'en' ? 'SHOP' : 'تسوق'}
684
+ </p>
685
+ </div>
686
+ </div>
687
+ )} */}
688
+ {/* {sectionproperties.responsiveheaderstyle != 'Style 2 With Subheader' && ( */}
689
+ <div class="col-lg-12 text-end anim">
690
+ <i
691
+ class={' h-100 allcentered '}
692
+ style={{
693
+ color: sectionproperties.cart_BtnTextcolor_resp,
694
+ }}
695
+ onClick={() => {
696
+ if (menuactive == true) {
697
+ setmenuactive(false);
698
+ } else {
699
+ setmenuactive(true);
700
+ }
701
+ }}
702
+ >
703
+ {menuactive == false && <FiMenu size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
704
+ {menuactive == true && <AiOutlineClose size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
705
+ </i>
706
+ </div>
707
+ {/* )} */}
708
+ {templatepropcontext.pagesnprop.map((item, index) => {
709
+ if (item.isnavigation == 1 && item.isactive == 1) {
710
+ return (
711
+ <div className="row m-0 w-100 anim">
712
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
713
+ <div
714
+ onClick={() => {
715
+ routingcountext(item.navigationroute, false, '');
716
+ setmenuactive(false);
717
+ }}
718
+ >
719
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
720
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
721
+ </p>
722
+ </div>
723
+ </div>
724
+ <div className="col-lg-12 p-0">
725
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
726
+ </div>
727
+ </div>
728
+ );
729
+ }
730
+ })}
731
+ {templateproperties_context.showfavorites == 'Show' && (
732
+ <div className="row m-0 w-100 anim">
733
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
734
+ <div
735
+ onClick={() => {
736
+ routingcountext(StaticPagesLinksContext.Wishlist);
737
+ setmenuactive(false);
738
+ }}
739
+ >
740
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.wishlist}</p>
741
+ </div>
742
+ </div>
743
+ <div className="col-lg-12 p-0">
744
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
745
+ </div>
746
+ </div>
747
+ )}
748
+ {templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && (
749
+ <div className="row m-0 w-100 anim">
750
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
751
+ <div
752
+ onClick={() => {
753
+ routingcountext(StaticPagesLinksContext.Policies);
754
+ setmenuactive(false);
755
+ }}
756
+ >
757
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.policies}</p>
758
+ </div>
759
+ </div>
760
+ <div className="col-lg-12 p-0">
761
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
762
+ </div>
763
+ </div>
764
+ )}
765
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
766
+ <div className="row m-0 w-100 anim">
767
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
768
+ <div
769
+ onClick={() => {
770
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
771
+ setmenuactive(false);
772
+ }}
773
+ >
774
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
775
+ {langdetect == 'en' ? returnpolicyobj('Privacy Policy')?.policypagename_en : returnpolicyobj('Privacy Policy')?.policypagename_ar}
776
+ </p>
777
+ </div>
778
+ </div>
779
+ <div className="col-lg-12 p-0">
780
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
781
+ </div>
782
+ </div>
783
+ )}
784
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
785
+ <div className="row m-0 w-100 anim">
786
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
787
+ <div
788
+ onClick={() => {
789
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
790
+ setmenuactive(false);
791
+ }}
792
+ >
793
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
794
+ {langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policypagename_en : returnpolicyobj('Shipping Policy')?.policypagename_ar}
795
+ </p>
796
+ </div>
797
+ </div>
798
+ <div className="col-lg-12 p-0">
799
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
800
+ </div>
801
+ </div>
802
+ )}
803
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
804
+ <div className="row m-0 w-100 anim">
805
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
806
+ <div
807
+ onClick={() => {
808
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
809
+ setmenuactive(false);
810
+ }}
811
+ >
812
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
813
+ {langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar}
814
+ </p>
815
+ </div>
816
+ </div>
817
+ <div className="col-lg-12 p-0">
818
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
819
+ </div>
820
+ </div>
821
+ )}
822
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
823
+ <div className="row m-0 w-100 anim">
824
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
825
+ <div
826
+ onClick={() => {
827
+ routingcountext(StaticPagesLinksContext.TermsConditions);
828
+ setmenuactive(false);
829
+ }}
830
+ >
831
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
832
+ {langdetect == 'en'
833
+ ? returnpolicyobj('Terms & Conditions')?.policypagename_en
834
+ : returnpolicyobj('Terms & Conditions')?.policypagename_ar}
835
+ </p>
836
+ </div>
837
+ </div>
838
+ <div className="col-lg-12 p-0">
839
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
840
+ </div>
841
+ </div>
842
+ )}
843
+ {authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && (
844
+ <div className="row m-0 w-100 anim">
845
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
846
+ <div
847
+ onClick={() => {
848
+ routingcountext(StaticPagesLinksContext.Ordershistory);
849
+ setmenuactive(false);
850
+ }}
851
+ >
852
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
853
+ {langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear}
854
+
855
+ {/* {langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear} */}
856
+ </p>
857
+ </div>
858
+ </div>
859
+ <div className="col-lg-12 p-0">
860
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
861
+ </div>
862
+ </div>
863
+ )}
864
+ {sectionproperties.showlanuagecontainer == 'Show' && (
865
+ <div className="row m-0 w-100 anim">
866
+ <div class={header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '} style={{}}>
867
+ <p
868
+ class={`${header_cssstyles.navbar_item_text_responsive}` + ' m-0 p-0 '}
869
+ style={{
870
+ cursor: 'default',
871
+ }}
872
+ >
873
+ {langdetect == 'en' ? 'Language' : 'اللغة'}
874
+ </p>
875
+ </div>
876
+ <div class="col-lg-12 p-0 d-flex align-items-center justify-content-start my-1">
877
+ <div
878
+ class="row m-0 w-100"
879
+ style={{
880
+ background: sectionproperties.langcontainerbgresp,
881
+ borderRadius: 5,
882
+ }}
883
+ >
884
+ <div
885
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
886
+ onClick={() => {
887
+ setlang('en');
888
+ setmenuactive(false);
889
+ }}
890
+ >
891
+ <p
892
+ class="m-0 p-0 w-100 allcentered py-3"
893
+ style={{
894
+ background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
895
+ borderRadius: 5,
896
+ fontSize: 15,
897
+ color: sectionproperties.language_container_color_resp,
898
+ }}
899
+ >
900
+ English
901
+ </p>
902
+ </div>
903
+ <div
904
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
905
+ onClick={() => {
906
+ setlang('ar');
907
+ setmenuactive(false);
908
+ }}
909
+ >
910
+ <p
911
+ class="m-0 p-0 w-100 allcentered py-3"
912
+ style={{
913
+ borderRadius: 5,
914
+ background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
915
+ fontSize: 15,
916
+ color: sectionproperties.language_container_color_resp,
917
+ }}
918
+ >
919
+ لغة عربية
920
+ </p>
921
+ </div>
922
+ </div>
923
+ </div>
924
+ </div>
925
+ )}
926
+ {sectionproperties.ShowUserBtn == 'Show' && (
927
+ <div class="row m-0 w-100 mt-5">
928
+ {!authdetailsContext.loggedin && (
929
+ <button
930
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
931
+ onClick={() => {
932
+ routingcountext(StaticPagesLinksContext.Login);
933
+ setmenuactive(false);
934
+ }}
935
+ >
936
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
937
+ <BiUser />
938
+ </i>
939
+ <span class="userbtn_resp mx-2">{langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب'}</span>
940
+ </button>
941
+ )}
942
+ {authdetailsContext.loggedin && (
943
+ <button
944
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
945
+ onClick={() => {
946
+ routingcountext(StaticPagesLinksContext.accountinfo);
947
+ setmenuactive(false);
948
+ }}
949
+ >
950
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
951
+ <BiUser />
952
+ </i>
953
+ <span class={header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '}>
954
+ {authdetailsContext.customerinfo.name}
955
+ </span>
956
+ </button>
957
+ )}
958
+ </div>
959
+ )}
960
+ {authdetailsContext.loggedin && (
961
+ <div class="row m-0 w-100 mt-5 allcentered anim">
962
+ <button
963
+ class={' d-flex align-items-center justify-content-center p-0 m-0 '}
964
+ onClick={() => {
965
+ LogoutMutationContext.mutate();
966
+ setmenuactive(false);
967
+ }}
968
+ style={{
969
+ width: '90%',
970
+ height: 40,
971
+ background: 'white',
972
+ color: '#000',
973
+ fontSize: 16,
974
+ }}
975
+ >
976
+ {lang.logout}
977
+ </button>
978
+ </div>
979
+ )}
980
+ </div>
981
+ )}
982
+ </div>
983
+ </div>
984
+ {/* {sectionproperties.showhidesubheader == 'Show' && (
985
+ <div className="col-lg-12 p-0 h-100" id="subheader">
986
+ <div className="row m-0 w-100 h-100">
987
+ <div className="col-lg-12 p-0 h-100">
988
+ <Subheader sectionpropertiesprops={sectionproperties} actions={actions} />
989
+ </div>
990
+ </div>
991
+ </div>
992
+ )} */}
993
+ </div>
994
+ )}
995
+ {openSearch == true && (
996
+ <div class="col-12 d-flex align-items-center">
997
+ <button
998
+ style={{
999
+ width: 40,
1000
+ height: 40,
1001
+ position: 'absolute',
1002
+ top: 10,
1003
+ right: 10,
1004
+ zIndex: 10000,
1005
+ }}
1006
+ class="allcentered"
1007
+ onClick={() => {
1008
+ setopenSearch(false);
1009
+ setSearchHeaderInputContext('');
1010
+ }}
1011
+ >
1012
+ <IoClose
1013
+ style={{
1014
+ fontSize: 20,
1015
+ color: '#000',
1016
+ }}
1017
+ />
1018
+ </button>
1019
+ <div class={header_cssstyles.searchbarcont}>
1020
+ <input
1021
+ type="text"
1022
+ placeholder={langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar}
1023
+ class={`${header_cssstyles.searchbarcont_input}` + ' pb-1 '}
1024
+ onChange={(event) => {
1025
+ setSearchHeaderInputContext(event.target.value);
1026
+ }}
1027
+ />
1028
+
1029
+ <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'fullheader'} actions={actions} />
1030
+ </div>
1031
+ </div>
1032
+ )}
1033
+ {sectionproperties.length != 0 && sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && (
1034
+ <Offcanvas
1035
+ show={openmenuCanvas}
1036
+ onHide={() => {
1037
+ setopenmenuCanvas(false);
1038
+ }}
1039
+ placement={langdetect == 'en' ? 'start' : 'end'}
1040
+ scroll={true}
1041
+ style={{
1042
+ width: '90%',
1043
+ backgroundColor: 'white',
1044
+ }}
1045
+ backdrop={true}
1046
+ >
1047
+ <Offcanvas.Header>
1048
+ <Offcanvas.Title>
1049
+ {langdetect == 'en' && (
1050
+ <div
1051
+ class="allcentered"
1052
+ style={{
1053
+ position: 'absolute',
1054
+ right: -34,
1055
+ top: 5,
1056
+ width: 30,
1057
+ height: 30,
1058
+ background: '#000',
1059
+ }}
1060
+ onClick={() => {
1061
+ setopenmenuCanvas(false);
1062
+ }}
1063
+ >
1064
+ <IoMdClose color={'#fff'} size={16} />
1065
+ </div>
1066
+ )}
1067
+ {langdetect == 'ar' && (
1068
+ <div
1069
+ class="allcentered"
1070
+ style={{
1071
+ position: 'absolute',
1072
+ left: -34,
1073
+ top: 5,
1074
+ width: 30,
1075
+ height: 30,
1076
+ background: '#000',
1077
+ }}
1078
+ onClick={() => {
1079
+ setopenCnvas(false);
1080
+ }}
1081
+ >
1082
+ <IoMdClose color={'#fff'} size={16} />
1083
+ </div>
1084
+ )}
1085
+ <div className="row m-0 w-100 mb-5" style={{ borderBottom: '1px solid #eee' }}>
1086
+ <div
1087
+ className={'col-6 allcentered py-3'}
1088
+ onClick={() => {
1089
+ setactiveTab('menu');
1090
+ }}
1091
+ style={{
1092
+ background: activeTab == 'menu' ? 'white' : '#eee',
1093
+ }}
1094
+ >
1095
+ <p
1096
+ className="m-0 p-0"
1097
+ style={{
1098
+ textTransform: 'uppercase',
1099
+ fontWeight: 500,
1100
+ fontSize: '15px',
1101
+ transition: '.3s',
1102
+ color: sectionproperties.header_fontColorresponsive,
1103
+ }}
1104
+ >
1105
+ {langdetect == 'en' ? 'MENU' : 'القائمة'}
1106
+ </p>
1107
+ </div>
1108
+ <div
1109
+ className={'col-6 allcentered py-3'}
1110
+ onClick={() => {
1111
+ setactiveTab('categories');
1112
+ }}
1113
+ style={{
1114
+ background: activeTab == 'categories' ? 'white' : '#eee',
1115
+ }}
1116
+ >
1117
+ <p
1118
+ className="m-0 p-0"
1119
+ style={{
1120
+ textTransform: 'uppercase',
1121
+ fontWeight: 500,
1122
+ fontSize: '15px',
1123
+ transition: '.3s',
1124
+ color: sectionproperties.header_fontColorresponsive,
1125
+ }}
1126
+ >
1127
+ {langdetect == 'en' ? 'SHOP' : 'تسوق'}
1128
+ </p>
1129
+ </div>
1130
+ </div>
1131
+ </Offcanvas.Title>
1132
+ </Offcanvas.Header>
1133
+ <Offcanvas.Body>
1134
+ <div style={{ minHeight: '80vh' }}>
1135
+ {activeTab == 'menu' && (
1136
+ <div className={' row m-0 w-100 anim '}>
1137
+ <div className="col-lg-12 p-0">
1138
+ <ul className={' d-flex justify-content-center flex-column p-0 '}>
1139
+ {templatepropcontext.pagesnprop.map((item, index) => {
1140
+ if (item.isnavigation == 1 && item.isactive == 1) {
1141
+ return (
1142
+ <div className="row m-0 w-100">
1143
+ <div className="col-lg-12 d-flex justify-content-start pl-3 pr-3" style={{ paddingTop: index == 0 ? 5 : 0 }}>
1144
+ <div
1145
+ onClick={() => {
1146
+ routingcountext(item.navigationroute, false, '');
1147
+ setopenCnvas(false);
1148
+ }}
1149
+ >
1150
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1151
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
1152
+ </p>
1153
+ </div>
1154
+ </div>
1155
+ <div className="col-lg-12 p-0">
1156
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1157
+ </div>
1158
+ </div>
1159
+ );
1160
+ }
1161
+ })}
1162
+ {authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && (
1163
+ <div className="row m-0 w-100">
1164
+ <div
1165
+ className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
1166
+ onClick={() => {
1167
+ routingcountext(StaticPagesLinksContext.Ordershistory);
1168
+ setopenCnvas(false);
1169
+ }}
1170
+ >
1171
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.orderhistory}</p>
1172
+ </div>
1173
+ <div className="col-lg-12 p-0">
1174
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1175
+ </div>
1176
+ </div>
1177
+ )}
1178
+ {templateproperties_context.showfavorites == 'Show' && (
1179
+ <div className="row m-0 w-100">
1180
+ <div
1181
+ className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
1182
+ onClick={() => {
1183
+ routingcountext(StaticPagesLinksContext.Wishlist);
1184
+ setopenCnvas(false);
1185
+ }}
1186
+ >
1187
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.wishlist}</p>
1188
+ </div>
1189
+ <div className="col-lg-12 p-0">
1190
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1191
+ </div>
1192
+ </div>
1193
+ )}
1194
+
1195
+ {templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && (
1196
+ <div className="row m-0 w-100">
1197
+ <div
1198
+ className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
1199
+ onClick={() => {
1200
+ routingcountext(StaticPagesLinksContext.Policies);
1201
+ setmenuactive(false);
1202
+ }}
1203
+ >
1204
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.policies}</p>
1205
+ </div>
1206
+ <div className="col-lg-12 p-0">
1207
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1208
+ </div>
1209
+ </div>
1210
+ )}
1211
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1212
+ <div className="row m-0 w-100">
1213
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1214
+ <div
1215
+ onClick={() => {
1216
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
1217
+ setmenuactive(false);
1218
+ }}
1219
+ >
1220
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1221
+ {langdetect == 'en'
1222
+ ? returnpolicyobj('Privacy Policy')?.policypagename_en
1223
+ : returnpolicyobj('Privacy Policy')?.policypagename_ar}
1224
+ </p>
1225
+ </div>
1226
+ </div>
1227
+ <div className="col-lg-12 p-0">
1228
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1229
+ </div>
1230
+ </div>
1231
+ )}
1232
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1233
+ <div className="row m-0 w-100">
1234
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1235
+ <div
1236
+ onClick={() => {
1237
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
1238
+ setmenuactive(false);
1239
+ }}
1240
+ >
1241
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1242
+ {langdetect == 'en'
1243
+ ? returnpolicyobj('Shipping Policy')?.policypagename_en
1244
+ : returnpolicyobj('Shipping Policy')?.policypagename_ar}
1245
+ </p>
1246
+ </div>
1247
+ </div>
1248
+ <div className="col-lg-12 p-0">
1249
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1250
+ </div>
1251
+ </div>
1252
+ )}
1253
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1254
+ <div className="row m-0 w-100">
1255
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1256
+ <div
1257
+ onClick={() => {
1258
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
1259
+ setmenuactive(false);
1260
+ }}
1261
+ >
1262
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1263
+ {langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar}
1264
+ </p>
1265
+ </div>
1266
+ </div>
1267
+ <div className="col-lg-12 p-0">
1268
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1269
+ </div>
1270
+ </div>
1271
+ )}
1272
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1273
+ <div className="row m-0 w-100">
1274
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1275
+ <div
1276
+ onClick={() => {
1277
+ routingcountext(StaticPagesLinksContext.TermsConditions);
1278
+ setmenuactive(false);
1279
+ }}
1280
+ >
1281
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1282
+ {langdetect == 'en'
1283
+ ? returnpolicyobj('Terms & Conditions')?.policypagename_en
1284
+ : returnpolicyobj('Terms & Conditions')?.policypagename_ar}
1285
+ </p>
1286
+ </div>
1287
+ </div>
1288
+ <div className="col-lg-12 p-0">
1289
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1290
+ </div>
1291
+ </div>
1292
+ )}
1293
+ {authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && (
1294
+ <div className="row m-0 w-100">
1295
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1296
+ <div
1297
+ onClick={() => {
1298
+ routingcountext(StaticPagesLinksContext.Ordershistory);
1299
+ setmenuactive(false);
1300
+ }}
1301
+ >
1302
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1303
+ {langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear}
1304
+
1305
+ {/* {langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear} */}
1306
+ </p>
1307
+ </div>
1308
+ </div>
1309
+ <div className="col-lg-12 p-0">
1310
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1311
+ </div>
1312
+ </div>
1313
+ )}
1314
+ {sectionproperties.showlanuagecontainer == 'Show' && (
1315
+ <div className="row m-0 w-100 pl-3 pr-3">
1316
+ <div class={header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '} style={{}}>
1317
+ <p
1318
+ class={`${header_cssstyles.navbar_item_text_responsive}` + ' m-0 p-0 '}
1319
+ style={{
1320
+ cursor: 'default',
1321
+ }}
1322
+ >
1323
+ {langdetect == 'en' ? 'Language' : 'اللغة'}
1324
+ </p>
1325
+ </div>
1326
+ <div class="col-lg-12 p-0 d-flex align-items-center justify-content-start my-1">
1327
+ <div
1328
+ class="row m-0 w-100"
1329
+ style={{
1330
+ background: sectionproperties.langcontainerbgresp,
1331
+ borderRadius: 5,
1332
+ }}
1333
+ >
1334
+ <div
1335
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
1336
+ onClick={() => {
1337
+ setlang('en');
1338
+ setmenuactive(false);
1339
+ }}
1340
+ >
1341
+ <p
1342
+ class="m-0 p-0 w-100 allcentered py-3"
1343
+ style={{
1344
+ background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
1345
+ borderRadius: 5,
1346
+ fontSize: 15,
1347
+ color: sectionproperties.language_container_color_resp,
1348
+ }}
1349
+ >
1350
+ English
1351
+ </p>
1352
+ </div>
1353
+ <div
1354
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
1355
+ onClick={() => {
1356
+ setlang('ar');
1357
+ setmenuactive(false);
1358
+ }}
1359
+ >
1360
+ <p
1361
+ class="m-0 p-0 w-100 allcentered py-3"
1362
+ style={{
1363
+ borderRadius: 5,
1364
+ background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
1365
+ fontSize: 15,
1366
+ color: sectionproperties.language_container_color_resp,
1367
+ }}
1368
+ >
1369
+ لغة عربية
1370
+ </p>
1371
+ </div>
1372
+ </div>
1373
+ </div>
1374
+ </div>
1375
+ )}
1376
+ {sectionproperties.ShowUserBtn == 'Show' && (
1377
+ <div className="row m-0 w-100 pl-3 pr-3 mt-5">
1378
+ {!authdetailsContext.loggedin && (
1379
+ <button
1380
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
1381
+ onClick={() => {
1382
+ routingcountext(StaticPagesLinksContext.Login);
1383
+ setmenuactive(false);
1384
+ }}
1385
+ >
1386
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
1387
+ <BiUser />
1388
+ </i>
1389
+ <span class="userbtn_resp mx-2">{langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب'}</span>
1390
+ </button>
1391
+ )}
1392
+ {authdetailsContext.loggedin && (
1393
+ <button
1394
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
1395
+ onClick={() => {
1396
+ routingcountext(StaticPagesLinksContext.accountinfo);
1397
+ setmenuactive(false);
1398
+ }}
1399
+ >
1400
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
1401
+ <BiUser />
1402
+ </i>
1403
+ <span class={header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '}>
1404
+ {authdetailsContext.customerinfo.name}
1405
+ </span>
1406
+ </button>
1407
+ )}
1408
+ </div>
1409
+ )}
1410
+ {authdetailsContext.loggedin && (
1411
+ <div className="row m-0 w-100">
1412
+ <button
1413
+ class={' d-flex align-items-center justify-content-center p-0 m-0 '}
1414
+ onClick={() => {
1415
+ LogoutMutationContext.mutate();
1416
+ setmenuactive(false);
1417
+ }}
1418
+ style={{
1419
+ width: '90%',
1420
+ height: 40,
1421
+ background: 'white',
1422
+ color: '#000',
1423
+ fontSize: 16,
1424
+ }}
1425
+ >
1426
+ {lang.logout}
1427
+ </button>
1428
+ </div>
1429
+ )}
1430
+ </ul>
1431
+ </div>
1432
+ </div>
1433
+ )}
1434
+ {activeTab == 'categories' && (
1435
+ <div className={' row m-0 w-100 accordionContainer anim'}>
1436
+ {sectionproperties.subheaderParentType == 'Categories' && (
1437
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1438
+ {fetchCategoriesQueryContext?.data?.data?.categories.map((item, index) => {
1439
+ if (item.isshowntocustomers == 1) {
1440
+ return (
1441
+ <AccordionItem uuid={index}>
1442
+ <AccordionItemHeading
1443
+ onClick={() => {
1444
+ setChoosenindex(index);
1445
+ }}
1446
+ >
1447
+ <AccordionItemButton>
1448
+ <div className={' row m-0 p-0 mb-2 '}>
1449
+ <div className={' row m-0 w-100 px-3 '}>
1450
+ <div
1451
+ className="col-10 p-0 text-start"
1452
+ // onClick={() => {
1453
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1454
+ // }}
1455
+ >
1456
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1457
+ {langdetect == 'en' ? item.title_en : item.title_ar}
1458
+ </p>
1459
+ </div>
1460
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1461
+ <AccordionItemState>
1462
+ {(state) => {
1463
+ if (state.expanded == true) {
1464
+ return (
1465
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1466
+ <FiChevronDown
1467
+ style={{
1468
+ color: '#000',
1469
+ fontSize: 15,
1470
+ }}
1471
+ />
1472
+ </i>
1473
+ );
1474
+ } else {
1475
+ return (
1476
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1477
+ <FiChevronUp
1478
+ style={{
1479
+ color: '#000',
1480
+ fontSize: 15,
1481
+ }}
1482
+ />
1483
+ </i>
1484
+ );
1485
+ }
1486
+ }}
1487
+ </AccordionItemState>
1488
+ </div>
1489
+ </div>
1490
+ <div className="col-lg-12 p-0">
1491
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1492
+ </div>
1493
+ </div>
1494
+ </AccordionItemButton>
1495
+ </AccordionItemHeading>
1496
+ <AccordionItemPanel className="p-0">
1497
+ <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1498
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1499
+ {Choosenindex.length != 0 &&
1500
+ fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions?.length != 0 &&
1501
+ fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions.map((pitem, pindex) => {
1502
+ if (pitem.isshowntocustomers == 1) {
1503
+ return (
1504
+ <AccordionItem uuid={pindex}>
1505
+ <AccordionItemHeading>
1506
+ <AccordionItemButton>
1507
+ <div className={' row m-0 p-0 mb-2 '}>
1508
+ <div className={' row m-0 w-100 px-4 '}>
1509
+ <div
1510
+ className="col-10 p-0 text-start"
1511
+ onClick={() => {
1512
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1513
+ }}
1514
+ >
1515
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1516
+ {langdetect == 'en' ? pitem.title_en : pitem.title_ar}
1517
+ </p>
1518
+ </div>
1519
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1520
+ <AccordionItemState>
1521
+ {(state) => {
1522
+ if (state.expanded == true) {
1523
+ return (
1524
+ <i
1525
+ className={
1526
+ ' collapsetitle h-100 d-flex align-items-center justify-content-end '
1527
+ }
1528
+ >
1529
+ <FiChevronDown
1530
+ style={{
1531
+ color: '#000',
1532
+ fontSize: 15,
1533
+ }}
1534
+ />
1535
+ </i>
1536
+ );
1537
+ } else {
1538
+ return (
1539
+ <i
1540
+ className={
1541
+ ' collapsetitle h-100 d-flex align-items-center justify-content-end '
1542
+ }
1543
+ >
1544
+ <FiChevronUp
1545
+ style={{
1546
+ color: '#000',
1547
+ fontSize: 15,
1548
+ }}
1549
+ />
1550
+ </i>
1551
+ );
1552
+ }
1553
+ }}
1554
+ </AccordionItemState>
1555
+ </div>
1556
+ </div>
1557
+ <div className="col-lg-12 p-0">
1558
+ <hr
1559
+ className="mt-4 mb-4"
1560
+ style={{ borderColor: sectionproperties.resp_header_separatorbg }}
1561
+ />
1562
+ </div>
1563
+ </div>
1564
+ </AccordionItemButton>
1565
+ </AccordionItemHeading>
1566
+ <AccordionItemPanel className="p-0">
1567
+ {pitem.collections.length != 0 &&
1568
+ pitem.collections.map((collitem, collindex) => {
1569
+ if (collitem.isshowntocustomers == 1) {
1570
+ return (
1571
+ <div className={' row m-0 p-0 mb-2 '}>
1572
+ <div className={' row m-0 w-100 px-5 '}>
1573
+ <div
1574
+ className="col-10 p-0 text-start"
1575
+ onClick={() => {
1576
+ routingcountext(
1577
+ StaticPagesLinksContext.GeneralProductsComponent,
1578
+ true,
1579
+ 'collections/' + collitem.collectionid,
1580
+ );
1581
+ setopenCnvas(false);
1582
+ }}
1583
+ >
1584
+ <p
1585
+ className={
1586
+ `${header_cssstyles.navbar_item_text_responsive}` +
1587
+ ' mb-0 p-0 '
1588
+ }
1589
+ >
1590
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1591
+ </p>
1592
+ </div>
1593
+ </div>
1594
+ <div className="col-lg-12 p-0">
1595
+ <hr
1596
+ className="mt-4 mb-4"
1597
+ style={{ borderColor: sectionproperties.resp_header_separatorbg }}
1598
+ />
1599
+ </div>
1600
+ </div>
1601
+ );
1602
+ }
1603
+ })}
1604
+ </AccordionItemPanel>
1605
+ </AccordionItem>
1606
+ );
1607
+ }
1608
+ })}
1609
+ </Accordion>
1610
+ </div>
1611
+ </AccordionItemPanel>
1612
+ </AccordionItem>
1613
+ );
1614
+ }
1615
+ })}
1616
+ </Accordion>
1617
+ )}
1618
+ {sectionproperties.subheaderParentType == 'Parent Collections' && (
1619
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1620
+ {pcollarray.map((item, index) => {
1621
+ if (item.isshowntocustomers == 1) {
1622
+ return (
1623
+ <AccordionItem uuid={index}>
1624
+ <AccordionItemHeading
1625
+ onClick={() => {
1626
+ setChoosenindex(index);
1627
+ }}
1628
+ >
1629
+ <AccordionItemButton>
1630
+ <div className={' row m-0 p-0 mb-2 '}>
1631
+ <div className={' row m-0 w-100 px-3 '}>
1632
+ <div className="col-10 p-0 text-start">
1633
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1634
+ {langdetect == 'en' ? item.title_en : item.title_ar}
1635
+ </p>
1636
+ </div>
1637
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1638
+ <AccordionItemState>
1639
+ {(state) => {
1640
+ if (state.expanded == true) {
1641
+ return (
1642
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1643
+ <FiChevronDown
1644
+ style={{
1645
+ color: '#000',
1646
+ fontSize: 15,
1647
+ }}
1648
+ />
1649
+ </i>
1650
+ );
1651
+ } else {
1652
+ return (
1653
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1654
+ <FiChevronUp
1655
+ style={{
1656
+ color: '#000',
1657
+ fontSize: 15,
1658
+ }}
1659
+ />
1660
+ </i>
1661
+ );
1662
+ }
1663
+ }}
1664
+ </AccordionItemState>
1665
+ </div>
1666
+ </div>
1667
+ <div className="col-lg-12 p-0">
1668
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1669
+ </div>
1670
+ </div>
1671
+ </AccordionItemButton>
1672
+ </AccordionItemHeading>
1673
+ <AccordionItemPanel className="p-0">
1674
+ <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1675
+ <div class="col-lg-12 p-0">
1676
+ <div className={' row m-0 p-0 mb-2 '}>
1677
+ <div className={' row m-0 w-100 px-5 '}>
1678
+ <div
1679
+ className="col-10 p-0 text-start"
1680
+ onClick={() => {
1681
+ routingcountext(
1682
+ StaticPagesLinksContext.GeneralProductsComponent,
1683
+ true,
1684
+ 'parentcollections/' + item.parentcollectionid,
1685
+ );
1686
+
1687
+ setopenCnvas(false);
1688
+ }}
1689
+ >
1690
+ <p
1691
+ className={' mb-0 p-0 '}
1692
+ style={{
1693
+ color: sectionproperties.collectionsectiontextcolor,
1694
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
1695
+ textTransform: sectionproperties.collectionsectiontexttransform,
1696
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
1697
+ transition: '.3s',
1698
+ }}
1699
+ >
1700
+ {langdetect == 'en' ? 'SHOP' : 'تسوق'} {langdetect == 'en' ? item.title_en : item.title_ar}
1701
+ </p>
1702
+ </div>
1703
+ </div>
1704
+ <div className="col-lg-12 p-0">
1705
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1706
+ </div>
1707
+ </div>
1708
+ </div>
1709
+ {Choosenindex.length != 0 &&
1710
+ item?.collections.length != 0 &&
1711
+ item?.collections?.map((collitem, collindex) => {
1712
+ if (collitem.isshowntocustomers == 1) {
1713
+ return (
1714
+ <div class="col-lg-12 p-0">
1715
+ <div className={' row m-0 p-0 mb-2 '}>
1716
+ <div className={' row m-0 w-100 px-5 '}>
1717
+ <div
1718
+ className="col-10 p-0 text-start"
1719
+ onClick={() => {
1720
+ routingcountext(
1721
+ StaticPagesLinksContext.GeneralProductsComponent,
1722
+ true,
1723
+ 'collections/' + collitem.collectionid,
1724
+ );
1725
+ setopenCnvas(false);
1726
+ }}
1727
+ >
1728
+ <p
1729
+ className={' mb-0 p-0 '}
1730
+ style={{
1731
+ color: sectionproperties.collectionsectiontextcolor,
1732
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
1733
+ textTransform: sectionproperties.collectionsectiontexttransform,
1734
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
1735
+ transition: '.3s',
1736
+ }}
1737
+ >
1738
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1739
+ </p>
1740
+ </div>
1741
+ </div>
1742
+ <div className="col-lg-12 p-0">
1743
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1744
+ </div>
1745
+ </div>
1746
+ </div>
1747
+ );
1748
+ }
1749
+ })}
1750
+ </div>
1751
+ </AccordionItemPanel>
1752
+ </AccordionItem>
1753
+ );
1754
+ }
1755
+ })}
1756
+ </Accordion>
1757
+ )}
1758
+ {sectionproperties.subheaderParentType == 'Collections' &&
1759
+ authdetailsContext?.instinfo?.instcollections?.map((collitem, collindex) => {
1760
+ if (collitem.isshowntocustomers == 1) {
1761
+ return (
1762
+ <div className={' row m-0 p-0 mb-2 w-100 '}>
1763
+ <div
1764
+ className="col-12 p-0 text-start px-3"
1765
+ onClick={() => {
1766
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
1767
+ setopenCnvas(false);
1768
+ }}
1769
+ >
1770
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1771
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1772
+ </p>
1773
+ </div>
1774
+
1775
+ <div className="col-lg-12 p-0">
1776
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1777
+ </div>
1778
+ </div>
1779
+ );
1780
+ }
1781
+ })}
1782
+ </div>
1783
+ )}
1784
+ </div>
1785
+
1786
+ <div className="col-lg-12 p-0 d-flex flex-row allcentered p-3" style={{ background: '#eee' }}>
1787
+ {authdetailsContext?.instinfo?.facebooklink != null && (
1788
+ <div
1789
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1790
+ onClick={() => {
1791
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
1792
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1793
+ }
1794
+ }}
1795
+ >
1796
+ <FaFacebookF size={'20'} color={'#62564b'} />
1797
+ </div>
1798
+ )}
1799
+ {authdetailsContext?.instinfo?.instagramlink != null && (
1800
+ <div
1801
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1802
+ onClick={() => {
1803
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1804
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1805
+ }
1806
+ }}
1807
+ >
1808
+ <AiFillInstagram size={'22'} color={'#62564b'} />
1809
+ </div>
1810
+ )}
1811
+ {authdetailsContext?.instinfo?.tiktoklink != null && (
1812
+ <div
1813
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1814
+ onClick={() => {
1815
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1816
+ window.open(authdetailsContext?.instinfo?.tiktoklink, '_blank');
1817
+ }
1818
+ }}
1819
+ >
1820
+ <IoLogoTiktok size={'20'} color={'#62564b'} />
1821
+ </div>
1822
+ )}
1823
+ {authdetailsContext?.instinfo?.youtubelink != null && (
1824
+ <div
1825
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1826
+ onClick={() => {
1827
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1828
+ window.open(authdetailsContext?.instinfo?.youtubelink, '_blank');
1829
+ }
1830
+ }}
1831
+ >
1832
+ <AiFillYoutube size={'20'} color={'#62564b'} />
1833
+ </div>
1834
+ )}
1835
+ </div>
1836
+ </Offcanvas.Body>
1837
+ </Offcanvas>
1838
+ )}
1839
+ </div>
1840
+ )}
1841
+ </div>
1842
+ );
1843
+ };
1844
+
1845
+ export default HeaderresponsiveStyle2;