tabexseriescomponents 0.0.706 → 0.0.708

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/package.json +1 -1
  2. package/srcoman/Contexts/LanguageContext.jsx +408 -0
  3. package/srcoman/Contexts/ProductsCardsSectionContext.jsx +36 -0
  4. package/srcoman/Imagekitconfig.jsx +46 -0
  5. package/srcoman/StylesJS/Customstyles.js +345 -0
  6. package/srcoman/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
  7. package/srcoman/TabexComponents/Cards/Card20/Card20.jsx +298 -0
  8. package/srcoman/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  9. package/srcoman/TabexComponents/Cards/Card22/Card22.jsx +288 -0
  10. package/srcoman/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
  11. package/srcoman/TabexComponents/Cards/Card23/Card23.jsx +742 -0
  12. package/srcoman/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
  13. package/srcoman/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
  14. package/srcoman/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  15. package/srcoman/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  16. package/srcoman/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
  17. package/srcoman/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
  18. package/srcoman/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
  19. package/srcoman/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
  20. package/srcoman/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  21. package/srcoman/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  22. package/srcoman/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
  23. package/srcoman/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
  24. package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
  25. package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +146 -0
  26. package/srcoman/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
  27. package/srcoman/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
  28. package/srcoman/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
  29. package/srcoman/TabexComponents/Cards/MenuCard/MenuCard.jsx +732 -0
  30. package/srcoman/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
  31. package/srcoman/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
  32. package/srcoman/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
  33. package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
  34. package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
  35. package/srcoman/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  36. package/srcoman/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
  37. package/srcoman/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
  38. package/srcoman/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
  39. package/srcoman/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
  40. package/srcoman/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  41. package/srcoman/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
  42. package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
  43. package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
  44. package/srcoman/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +558 -0
  45. package/srcoman/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  46. package/srcoman/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  47. package/srcoman/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
  48. package/srcoman/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +613 -0
  49. package/srcoman/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
  50. package/srcoman/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
  51. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
  52. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
  53. package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
  54. package/srcoman/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
  55. package/srcoman/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
  56. package/srcoman/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
  57. package/srcoman/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
  58. package/srcoman/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
  59. package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +780 -0
  60. package/srcoman/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
  61. package/srcoman/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
  62. package/srcoman/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
  63. package/srcoman/TabexComponents/Footer/Footer5/Footer5.jsx +714 -0
  64. package/srcoman/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
  65. package/srcoman/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
  66. package/srcoman/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
  67. package/srcoman/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
  68. package/srcoman/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +562 -0
  69. package/srcoman/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +865 -0
  70. package/srcoman/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
  71. package/srcoman/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
  72. package/srcoman/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
  73. package/srcoman/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  74. package/srcoman/TabexComponents/Generalfiles/images/noimage.png +0 -0
  75. package/srcoman/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  76. package/srcoman/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  77. package/srcoman/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  78. package/srcoman/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  79. package/srcoman/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  80. package/srcoman/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  81. package/srcoman/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  82. package/srcoman/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  83. package/srcoman/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  84. package/srcoman/TabexComponents/Generalfiles/images/usflag.png +0 -0
  85. package/srcoman/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  86. package/srcoman/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
  87. package/srcoman/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
  88. package/srcoman/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
  89. package/srcoman/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1263 -0
  90. package/srcoman/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
  91. package/srcoman/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
  92. package/srcoman/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
  93. package/srcoman/TabexComponents/Headers/Header4/Header4.jsx +622 -0
  94. package/srcoman/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
  95. package/srcoman/TabexComponents/Headers/Header8/Header8.jsx +1976 -0
  96. package/srcoman/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
  97. package/srcoman/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
  98. package/srcoman/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
  99. package/srcoman/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
  100. package/srcoman/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +953 -0
  101. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
  102. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
  103. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
  104. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
  105. package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1610 -0
  106. package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
  107. package/srcoman/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
  108. package/srcoman/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
  109. package/srcoman/TabexComponents/Headers/Modernheader/Modernheader.jsx +972 -0
  110. package/srcoman/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
  111. package/srcoman/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
  112. package/srcoman/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1073 -0
  113. package/srcoman/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +133 -0
  114. package/srcoman/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
  115. package/srcoman/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
  116. package/srcoman/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
  117. package/srcoman/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
  118. package/srcoman/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
  119. package/srcoman/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
  120. package/srcoman/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1089 -0
  121. package/srcoman/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +936 -0
  122. package/srcoman/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
  123. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
  124. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
  125. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
  126. package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
  127. package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
  128. package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
  129. package/srcoman/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
  130. package/srcoman/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
  131. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
  132. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
  133. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +627 -0
  134. package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
  135. package/srcoman/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
  136. package/srcoman/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
  137. package/srcoman/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
  138. package/srcoman/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
  139. package/srcoman/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
  140. package/srcoman/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
  141. package/srcoman/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
  142. package/srcoman/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
  143. package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
  144. package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +617 -0
  145. package/srcoman/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
  146. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
  147. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
  148. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
  149. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1898 -0
  150. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
  151. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
  152. package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
  153. package/srcoman/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
  154. package/srcoman/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
  155. package/srcoman/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  156. package/srcoman/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
  157. package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
  158. package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +962 -0
  159. package/srcoman/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
  160. package/srcoman/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  161. package/srcoman/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
  162. package/srcoman/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
  163. package/srcoman/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
  164. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
  165. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +437 -0
  166. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
  167. package/srcoman/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
  168. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1769 -0
  169. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
  170. package/srcoman/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
  171. package/srcoman/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +380 -0
  172. package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +867 -0
  173. package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
  174. package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
  175. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
  176. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  177. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
  178. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
  179. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
  180. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
  181. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
  182. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
  183. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
  184. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
  185. package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
  186. package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
  187. package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
  188. package/srcoman/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
  189. package/srcoman/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
  190. package/srcoman/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
  191. package/srcoman/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
  192. package/srcoman/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
  193. package/srcoman/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
  194. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
  195. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout.jsx +1892 -0
  196. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
  197. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
  198. package/srcoman/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
  199. package/srcoman/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
  200. package/srcoman/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
  201. package/srcoman/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
  202. package/srcoman/TabexComponents/StaticPages/Filter/Filter.jsx +2771 -0
  203. package/srcoman/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
  204. package/srcoman/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
  205. package/srcoman/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
  206. package/srcoman/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
  207. package/srcoman/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
  208. package/srcoman/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
  209. package/srcoman/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  210. package/srcoman/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  211. package/srcoman/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
  212. package/srcoman/TabexComponents/StaticPages/Login/Login.jsx +610 -0
  213. package/srcoman/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
  214. package/srcoman/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
  215. package/srcoman/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
  216. package/srcoman/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
  217. package/srcoman/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
  218. package/srcoman/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
  219. package/srcoman/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
  220. package/srcoman/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
  221. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
  222. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
  223. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
  224. package/srcoman/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
  225. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1983 -0
  226. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
  227. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
  228. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
  229. package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
  230. package/srcoman/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1946 -0
  231. package/srcoman/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
  232. package/srcoman/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
  233. package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
  234. package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
  235. package/srcoman/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  236. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
  237. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
  238. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
  239. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
  240. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
  241. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
  242. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
  243. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
  244. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
  245. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
  246. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
  247. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
  248. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
  249. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
  250. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
  251. package/srcoman/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
  252. package/srcoman/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
  253. package/srcoman/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
  254. package/srcoman/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
  255. package/srcoman/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
  256. package/srcoman/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
  257. package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
  258. package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
  259. package/srcoman/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
  260. package/srcoman/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
  261. package/srcoman/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
  262. package/srcoman/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
  263. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
  264. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
  265. package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
  266. package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
  267. package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
  268. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
  269. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
  270. package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
  271. package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
  272. package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
  273. package/srcoman/button.jsx +40 -0
  274. package/srcoman/index.jsx +334 -0
  275. package/srcoman/styles/Home.module.css +129 -0
  276. package/srcoman/styles/cards/Categorcycard_fullimage.module.css +14 -0
  277. package/srcoman/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  278. package/srcoman/styles/cards/Categorycard_withshapes.module.css +189 -0
  279. package/srcoman/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  280. package/srcoman/styles/cards/Productcard6.module.css +9 -0
  281. package/srcoman/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  282. package/srcoman/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  283. package/srcoman/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  284. package/srcoman/styles/cards/card23.module.css +60 -0
  285. package/srcoman/styles/cards/categorycard.module.css +84 -0
  286. package/srcoman/styles/cards/categorycard3.module.css +50 -0
  287. package/srcoman/styles/cards/categorycardwithtext.module.css +40 -0
  288. package/srcoman/styles/cards/generalCardsStyles.module.css +79 -0
  289. package/srcoman/styles/cards/productcard_animatedbuttons.module.css +139 -0
  290. package/srcoman/styles/cards/productcard_with_textonhover.module.css +18 -0
  291. package/srcoman/styles/cards/productcard_withtextonimage.module.css +0 -0
  292. package/srcoman/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  293. package/srcoman/styles/general/bootstrap.css +4763 -0
  294. package/srcoman/styles/general/dropdown.css +206 -0
  295. package/srcoman/styles/general/editorbardropdown.module.css +94 -0
  296. package/srcoman/styles/general/filter.module.css +108 -0
  297. package/srcoman/styles/general/form.module.css +255 -0
  298. package/srcoman/styles/general/general.module.css +872 -0
  299. package/srcoman/styles/general/image-gallery.css +531 -0
  300. package/srcoman/styles/general/react-accessible-accordion.module.css +52 -0
  301. package/srcoman/styles/general/react-phone-input-2.module.css +927 -0
  302. package/srcoman/styles/general/scrollbtn.module.css +22 -0
  303. package/srcoman/styles/general/slick.module.css +166 -0
  304. package/srcoman/styles/general/tabs.module.css +119 -0
  305. package/srcoman/styles/general/workplaceeditor.module.css +328 -0
  306. package/srcoman/styles/globals.css +26 -0
  307. package/srcoman/styles/headers/CTAHeader.module.css +40 -0
  308. package/srcoman/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  309. package/srcoman/styles/headers/Gotoheader.module.css +87 -0
  310. package/srcoman/styles/headers/Header7.module.css +50 -0
  311. package/srcoman/styles/headers/HeaderWithAdSlider.module.css +86 -0
  312. package/srcoman/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  313. package/srcoman/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  314. package/srcoman/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  315. package/srcoman/styles/headers/NewHeader.module.css +101 -0
  316. package/srcoman/styles/headers/SearchFocusedHeader.module.css +62 -0
  317. package/srcoman/styles/headers/Sideheader.module.css +108 -0
  318. package/srcoman/styles/headers/Simpleheader.module.css +102 -0
  319. package/srcoman/styles/headers/classicheader.module.css +16 -0
  320. package/srcoman/styles/headers/classicheaderstyles.module.css +9 -0
  321. package/srcoman/styles/headers/dropdown.css +0 -0
  322. package/srcoman/styles/headers/header4.module.css +175 -0
  323. package/srcoman/styles/headers/header5.module.css +30 -0
  324. package/srcoman/styles/headers/header_contactinfo.module.css +53 -0
  325. package/srcoman/styles/headers/headerresturant.module.css +89 -0
  326. package/srcoman/styles/headers/modernheader.module.css +45 -0
  327. package/srcoman/styles/headers/stylishheader.module.css +24 -0
  328. package/srcoman/styles/headers/subheader.module.css +114 -0
  329. package/srcoman/styles/headers/threetieredheader.module.css +91 -0
  330. package/srcoman/styles/sections/BackgroundImageWithTopContent.css +4 -0
  331. package/srcoman/styles/sections/Backgroundimage1.module.css +17 -0
  332. package/srcoman/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  333. package/srcoman/styles/sections/Freetext.module.css +18 -0
  334. package/srcoman/styles/sections/Section_with_rightbgcont.module.css +49 -0
  335. package/srcoman/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  336. package/srcoman/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  337. package/srcoman/styles/staticpages/accordion.module.css +9 -0
  338. package/srcoman/styles/staticpages/cart.module.css +108 -0
  339. package/srcoman/styles/staticpages/dropdown.css +196 -0
  340. package/srcoman/styles/staticpages/filter.module.css +139 -0
  341. package/srcoman/styles/staticpages/image-gallery.css +481 -0
  342. package/srcoman/styles/staticpages/login.module.css +155 -0
  343. package/srcoman/styles/staticpages/productinfo.module.css +54 -0
  344. package/srcoman/styles/staticpages/shop.module.css +191 -0
  345. package/srcoman/styles/staticpages/signup.module.css +250 -0
  346. package/srcoman/styles/staticpages/staticroutersidenav.module.css +129 -0
  347. package/srcoman/styles/staticpages/viewcart.module.css +129 -0
  348. package/srcoman/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,1610 @@
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 { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
9
+ import { BiUser } from '@react-icons/all-files/bi/BiUser';
10
+ import { Offcanvas } from 'react-bootstrap';
11
+ import { FiChevronUp } from '@react-icons/all-files/fi/FiChevronUp';
12
+ import { Accordion, AccordionItem, AccordionItemHeading, AccordionItemButton, AccordionItemPanel, AccordionItemState } from 'react-accessible-accordion';
13
+ import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
14
+ import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
15
+ import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
16
+ import { BsBag } from '@react-icons/all-files/bs/BsBag';
17
+ import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
18
+ import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
19
+ import { IoClose } from '@react-icons/all-files/io5/IoClose';
20
+ import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
21
+ import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
22
+ import { IoLogoTiktok } from '@react-icons/all-files/io5/IoLogoTiktok';
23
+ import { AiFillYoutube } from '@react-icons/all-files/ai/AiFillYoutube';
24
+ import { IoMdClose } from '@react-icons/all-files/io/IoMdClose';
25
+ import { FiChevronDown } from '@react-icons/all-files/fi/FiChevronDown';
26
+
27
+ const HeaderresponsiveStyle2 = (props) => {
28
+ const actions = props.actions;
29
+ const LogoutMutationContext = props.actions.LogoutMutationContext;
30
+ const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
31
+ const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
32
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
33
+ const lang = props.actions.lang;
34
+ const langdetect = props.actions.langdetect;
35
+ const setlang = props.actions.setlang;
36
+ const templatepropcontext = props.actions.templatepropcontext;
37
+ const authdetailsContext = props.actions.authdetailsContext;
38
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
39
+ const templateproperties_context = props.actions.templateproperties_context;
40
+ const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
41
+ const routingcountext = props.actions.routingcountext;
42
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
43
+ const setcurrencyfunccontext = props.actions.setcurrencyfunccontext;
44
+ const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
45
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
46
+ const [sectionproperties, setsectionproperties] = useState('');
47
+ const [Choosenindex, setChoosenindex] = useState('');
48
+ const [menuactive, setmenuactive] = useState(false);
49
+ const [openSearch, setopenSearch] = useState(false);
50
+ const scrollYposittionprops = props.actions.scrollYposittionprops;
51
+
52
+ useEffect(() => {
53
+ if (props.sectionpropertiesprops != undefined) {
54
+ setsectionproperties({ ...props.sectionpropertiesprops });
55
+ }
56
+ }, [props.sectionpropertiesprops]);
57
+ const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
58
+ const [openCnvas, setopenCnvas] = useState(false);
59
+ const [activeTab, setactiveTab] = useState('');
60
+ useEffect(() => {
61
+ if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
62
+ var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
63
+ if (Array.isArray(logoarrayofobjectsparsed)) {
64
+ setlogoarrayofobjects([...logoarrayofobjectsparsed]);
65
+ }
66
+ }
67
+ // alert(JSON.stringify(templateproperties_context));
68
+ }, [templateproperties_context]);
69
+ const header_cssstyles = {
70
+ header_logo: css({
71
+ width: sectionproperties.logo_width + 'px',
72
+ height: sectionproperties.logo_height + 'px',
73
+ }),
74
+ navbar_item_text_responsive: css({
75
+ fontSize: sectionproperties.header_fontSizeresponsive + 'px',
76
+ color: sectionproperties.header_fontColorresponsive,
77
+ textTransform: sectionproperties.header_textTransformresponsive,
78
+ fontWeight: sectionproperties.header_textfontweight_responsive,
79
+ transition: '.3s',
80
+ ':hover': {
81
+ color: sectionproperties.header_fontColorresponsive_onhover,
82
+ },
83
+ }),
84
+ badge_counter_header_notifications: css({
85
+ display: 'flex',
86
+ justifyContent: 'center',
87
+ alignItems: 'center',
88
+ position: 'absolute',
89
+ background: sectionproperties.badge_bgcolor,
90
+ width: '45px',
91
+ height: '45px',
92
+ color: sectionproperties.badge_color,
93
+ borderRadius: sectionproperties.badge_borderradius + 'px',
94
+ fontSize: sectionproperties.badgefontsizeresp + 'px',
95
+ transform: 'scale(0.3)',
96
+ transformOrigin: 'top right',
97
+ fontWeight: sectionproperties.badgefontweight,
98
+ fontFamily: 'Poppins-Medium',
99
+ }),
100
+ wishlistbtn: css({
101
+ width: sectionproperties.wishlistbtnresp_width + 'px',
102
+ height: sectionproperties.wishlistbtnresp_height + 'px',
103
+ borderRadius: sectionproperties.wishlistbtnresp_borderRadius + 'px',
104
+ border: sectionproperties.wishlistbtnresp_borderWidth + 'px solid ' + sectionproperties.wishlistbtnresp_borderColor,
105
+ background: sectionproperties.wishlistbtnresp_bgColor,
106
+ fontSize: sectionproperties.wishlistresponsivefontsize + 'px',
107
+ color: sectionproperties.wishlistresponsivecolor,
108
+ position: 'relative',
109
+ }),
110
+ addtocartbtn_resp: css({
111
+ position: 'relative',
112
+ cursor: 'pointer',
113
+ display: 'flex',
114
+ alignItems: 'center',
115
+ color: sectionproperties.cart_BtnTextcolor_resp,
116
+ background: sectionproperties.responsiveheadertransparentbg == 'Transparent' ? 'transparent' : sectionproperties.cart_BtnbgColor_resp,
117
+ width: sectionproperties.cart_BtnWidth_resp + 'px',
118
+ height: sectionproperties.cart_BtnHeight_resp + 'px',
119
+ borderRadius: sectionproperties.cart_BtnborderRadius_resp + 'px',
120
+ border: sectionproperties.cartBtnresp_borderWidth + 'px solid ' + sectionproperties.cartBtnresp_borderColor,
121
+ transition: '.3s',
122
+ }),
123
+ searchbarcont: css({
124
+ position: 'relative',
125
+ transition: '.3s',
126
+ position: 'relative',
127
+ width: '100%',
128
+ height: '70px',
129
+ // border: '1px solid #000',
130
+ transition: '.3s',
131
+ }),
132
+ searchbar_icon_cont: css({
133
+ display: 'flex',
134
+ justifyContent: 'center',
135
+ alignItems: 'center',
136
+ textAlign: 'center',
137
+ color: sectionproperties.searchbaricon_color_resp,
138
+ transition: '0.3s ease',
139
+ position: 'absolute',
140
+ left: langdetect == 'en' ? 5 : '',
141
+ right: langdetect == 'en' ? '' : 5,
142
+ bottom: 4,
143
+ top: 0,
144
+ margin: 'auto',
145
+ }),
146
+ searchbarcont_input: css({
147
+ width: '100%',
148
+ background: 'transparent',
149
+ color: '#000',
150
+ fontWeight: 500,
151
+ fontSize: '14px',
152
+ borderRadius: 0,
153
+ borderBottom: '1px solid #000',
154
+ paddingLeft: '15px',
155
+ paddingRight: '15px',
156
+ outline: 'none',
157
+ transition: '0.3s',
158
+ marginTop: '40px',
159
+ }),
160
+ languagecontainer: css({
161
+ color: sectionproperties.language_container_color_resp,
162
+ cursor: 'pointer',
163
+ transition: '.3s',
164
+ ':hover': {
165
+ color: sectionproperties.language_container_coloronhover,
166
+ },
167
+ }),
168
+ dropdownitemcontainer: css({
169
+ fontSize: '13px',
170
+ color: sectionproperties.dropdown_color,
171
+ fontWeight: sectionproperties.dropdown_fontweight,
172
+ textTransform: sectionproperties.dropdown_texttransform,
173
+ padding: '0.3rem 0.8rem',
174
+ display: 'flex',
175
+ alignItems: 'center',
176
+ transition: '.3s',
177
+ ':hover': {
178
+ color: sectionproperties.dropdown_hovercolor,
179
+ },
180
+ }),
181
+ userbtnLoggedin_icon: css({
182
+ fontSize: sectionproperties.userBtniconresp_size,
183
+ color: sectionproperties.userBtnTextresp_color,
184
+ }),
185
+ userbtn_respContainer: css({
186
+ position: 'relative',
187
+ cursor: 'pointer',
188
+ display: 'flex',
189
+ alignItems: 'center',
190
+ color: sectionproperties.userBtnTextresp_color,
191
+ fontSize: sectionproperties.userBtntextfontresp_size + 'px',
192
+ fontWeight: 400,
193
+ transition: '.3s',
194
+ ':hover .userbtn_resp': {
195
+ color: sectionproperties.userbtnresp_Coloronhover,
196
+ },
197
+ }),
198
+ userbtnloggedin: css({
199
+ width: sectionproperties.userBtnWidth_resp + 'px',
200
+ height: sectionproperties.userBtnHeight_resp + 'px',
201
+ backgroundColor: sectionproperties.userBtnbgColor_resp,
202
+ color: sectionproperties.userBtnTextcolor_resp, //aywa da icon color
203
+ fontSize: sectionproperties.userBtniconresp_size + 'px',
204
+ borderRadius: sectionproperties.userBtnResp_BorderRadius + 'px',
205
+ border: sectionproperties.userBtnResp_BorderWidth + 'px solid ' + sectionproperties.userBtnResp_BorderColor,
206
+ transition: '.3s',
207
+ ':hover': {
208
+ color: sectionproperties.userbtnresp_IconColoronhover,
209
+ },
210
+ }),
211
+ loggedintext: css({
212
+ color: sectionproperties.userbtnresp_loggedincolor,
213
+ fontSize: sectionproperties.userBtntextfontresp_size + 'px',
214
+ fontWeight: 400,
215
+ width: '250px',
216
+ transition: '.3s',
217
+ textTransform: 'capitalize',
218
+ }),
219
+ userbtnloggedincontainer: css({
220
+ ':hover .loggedintext': {
221
+ color: sectionproperties.userbtnresp_loggedincoloronhover,
222
+ },
223
+ ':hover .userbtnloggedin': {
224
+ color: sectionproperties.userbtnresp_IconColoronhover,
225
+ borderColor: sectionproperties.userbtnresp_IconColoronhover,
226
+ backgroundColor: sectionproperties.userbtnresp_bgColoronhover,
227
+ },
228
+ }),
229
+ storeimage: css({
230
+ '@media (max-width: 800px)': {
231
+ maxWidth: '120px',
232
+ maxHeight: '110px',
233
+ objectFit: 'contain',
234
+ },
235
+ }),
236
+ };
237
+ const returnpolicyobj = (policytype) => {
238
+ var policyobj = {};
239
+ authdetailsContext?.instinfo?.instpolicies?.forEach(function (item, index) {
240
+ if (item.policytype == policytype) {
241
+ policyobj = item;
242
+ }
243
+ });
244
+ return policyobj;
245
+ };
246
+ const CartButton = () => {
247
+ return (
248
+ <div
249
+ class="d-flex align-items-center"
250
+ style={{
251
+ position: 'relative',
252
+ }}
253
+ >
254
+ <button
255
+ className={`${header_cssstyles.addtocartbtn_resp}` + ' d-flex align-items-center justify-content-center p-0 '}
256
+ onClick={() => {
257
+ if (fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length > 7) {
258
+ routingcountext(StaticPagesLinksContext.viewcart);
259
+ } else {
260
+ setsidecartnavshowcontext(true);
261
+ }
262
+ }}
263
+ >
264
+ <i className={' h-100 d-flex align-items-center justify-content-center '}>
265
+ {sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtniconresp_size} />}
266
+ {sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtniconresp_size} />}
267
+ {sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag size={sectionproperties.cartBtniconresp_size} />}
268
+ {sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtniconresp_size} />}
269
+ {sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtniconresp_size} />}
270
+ {sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtniconresp_size} />}
271
+ {sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtniconresp_size} />}
272
+ </i>
273
+ </button>
274
+ <div
275
+ className={`${header_cssstyles.badge_counter_header_notifications}`}
276
+ style={{
277
+ top: sectionproperties.cartbadgefromtop + 'px',
278
+ right: sectionproperties.cartbadgefromright + 'px',
279
+ }}
280
+ >
281
+ {fetchcustomercartQueryContext?.data?.data?.customercart != null ? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length : 0}
282
+ </div>
283
+ </div>
284
+ );
285
+ };
286
+ const [openmenuCanvas, setopenmenuCanvas] = useState(false);
287
+ const [pcollarray, setpcollarray] = useState([]);
288
+ useEffect(() => {
289
+ if (fetchCategoriesQueryContext.isSuccess == true && fetchCategoriesQueryContext.data.data.status == true) {
290
+ var temppcollarray = [...pcollarray];
291
+ fetchCategoriesQueryContext?.data?.data?.categories.forEach(function (arrayItem) {
292
+ if (arrayItem.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
293
+ arrayItem?.parentcolletions.forEach(function (item) {
294
+ if (item.isshowntocustomers == 1 && arrayItem.isinftiler == 1) {
295
+ temppcollarray.push(item);
296
+ }
297
+ });
298
+ }
299
+ });
300
+ setpcollarray([...temppcollarray]);
301
+ }
302
+ // alert(JSON.stringify(pcollarray));
303
+ }, [fetchCategoriesQueryContext.isSuccess]);
304
+ const InstLogoContainer = () => {
305
+ return (
306
+ <div
307
+ className={header_cssstyles.header_logo + ' d-flex align-items-center justify-content-start '}
308
+ style={{ cursor: 'pointer' }}
309
+ onClick={() => {
310
+ routingcountext(sectionproperties.logoonclickroute);
311
+ }}
312
+ >
313
+ <Imagekitimagecomp
314
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
315
+ publicKey={ikimagecredcontext?.ikimagepublickey}
316
+ path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
317
+ style={{
318
+ maxWidth: '100%',
319
+ maxHeight: '100%',
320
+ }}
321
+ />
322
+ </div>
323
+ );
324
+ };
325
+ return (
326
+ <div
327
+ className="row m-0 w-100 d-none d-md-block"
328
+ style={{
329
+ position: sectionproperties.respheaderposition,
330
+ // position: window.location.pathname == '/home' ? sectionproperties.respheaderposition : 'relative',
331
+ zIndex: 10000,
332
+ top: sectionproperties.respheaderposition == 'absolute' || sectionproperties.respheaderposition == 'fixed' ? '50px' : 0,
333
+ }}
334
+ >
335
+ {templateproperties_context.showtextslider == 'Show' && (
336
+ <div class="col-lg-12 p-0">
337
+ <MarqueeHeader sectionpropertiesprops={sectionproperties} templateproperties_contextprops={templateproperties_context} actions={actions} />
338
+ </div>
339
+ )}
340
+ {sectionproperties.length != 0 && (
341
+ <div className="col-lg-12 p-0">
342
+ {openSearch == false && (
343
+ <div className={' row m-0 w-100 d-none d-md-flex p-0 '}>
344
+ {/* {templateproperties_context.showtextslider == 'Show' && <MarqueeHeader sectionpropertiesprops={sectionproperties} actions={actions} />} */}
345
+ <div
346
+ className="col-lg-12 p-0"
347
+ style={{
348
+ background:
349
+ sectionproperties.responsiveheadertransparentbg == 'Transparent' && window.location.pathname == '/home'
350
+ ? scrollYposittionprops > 300
351
+ ? sectionproperties.resposive_bgcolor
352
+ : 'transparent'
353
+ : sectionproperties.resposive_bgcolor,
354
+ // sectionproperties.responsiveheadertransparentbg == 'Transparent' && window.location.pathname == '/home' ? 'transparent' : sectionproperties.resposive_bgcolor,
355
+ }}
356
+ >
357
+ <div
358
+ className="row m-0 w-100 p-0 pl-2 pr-2"
359
+ style={{
360
+ position: 'relative',
361
+ }}
362
+ >
363
+ <div className="col-md-6 col-sm-8 d-flex filter align-items-center p-0">{InstLogoContainer()}</div>
364
+ <div className="col-md-6 col-sm-4 text-end p-0">
365
+ <div style={{}}>
366
+ <i
367
+ class={' h-100 allcentered '}
368
+ style={{
369
+ color: sectionproperties.resp_sidenav_color,
370
+ }}
371
+ onClick={() => {
372
+ if (sectionproperties.responsiveheaderstyle == 'Style 2') {
373
+ if (menuactive == true) {
374
+ setmenuactive(false);
375
+ } else {
376
+ setmenuactive(true);
377
+ }
378
+ } else {
379
+ setopenmenuCanvas(true);
380
+ setactiveTab('menu');
381
+ }
382
+ }}
383
+ >
384
+ {menuactive == false && <FiMenu size={sectionproperties.resp_sidenav_size} color={sectionproperties.resp_sidenav_color} />}
385
+ {menuactive == true && <AiOutlineClose size={sectionproperties.resp_sidenav_size} color={sectionproperties.resp_sidenav_color} />}
386
+ </i>
387
+ </div>
388
+ </div>
389
+
390
+ {menuactive == true && (
391
+ <div
392
+ class="px-4 py-4 scrollvertical"
393
+ style={{
394
+ position: 'fixed',
395
+ top: '0px',
396
+ left: 0,
397
+ right: 0,
398
+ width: '100%',
399
+ background: sectionproperties.resposive_bgcolor,
400
+ height: '100%',
401
+ zIndex: 10000,
402
+ overflow: 'scroll',
403
+ }}
404
+ >
405
+ {/* {sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && (
406
+ <div className="row m-0 w-100 mb-5" style={{ borderBottom: '1px solid #eee' }}>
407
+ <div
408
+ className={'col-6 allcentered py-3'}
409
+ onClick={() => {
410
+ setactiveTab('menu');
411
+ }}
412
+ style={{
413
+ background: activeTab == 'menu' ? 'white' : '#eee',
414
+ }}
415
+ >
416
+ <p
417
+ className="m-0 p-0"
418
+ style={{
419
+ textTransform: 'uppercase',
420
+ fontWeight: 500,
421
+ fontSize: '15px',
422
+ transition: '.3s',
423
+ color: '#000',
424
+ }}
425
+ >
426
+ {langdetect == 'en' ? 'MENU' : 'القائمة'}
427
+ </p>
428
+ </div>
429
+ <div
430
+ className={'col-6 allcentered py-3'}
431
+ onClick={() => {
432
+ setactiveTab('categories');
433
+ }}
434
+ style={{
435
+ background: activeTab == 'categories' ? 'white' : '#eee',
436
+ }}
437
+ >
438
+ <p
439
+ className="m-0 p-0"
440
+ style={{
441
+ textTransform: 'uppercase',
442
+ fontWeight: 500,
443
+ fontSize: '15px',
444
+ transition: '.3s',
445
+ color: '#000',
446
+ }}
447
+ >
448
+ {langdetect == 'en' ? 'SHOP' : 'تسوق'}
449
+ </p>
450
+ </div>
451
+ </div>
452
+ )} */}
453
+ {/* {sectionproperties.responsiveheaderstyle != 'Style 2 With Subheader' && ( */}
454
+ <div class="col-lg-12 text-end anim">
455
+ <i
456
+ class={' h-100 allcentered '}
457
+ style={{
458
+ color: sectionproperties.cart_BtnTextcolor_resp,
459
+ }}
460
+ onClick={() => {
461
+ if (menuactive == true) {
462
+ setmenuactive(false);
463
+ } else {
464
+ setmenuactive(true);
465
+ }
466
+ }}
467
+ >
468
+ {menuactive == false && <FiMenu size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
469
+ {menuactive == true && <AiOutlineClose size={20} color={sectionproperties.cart_BtnTextcolor_resp} />}
470
+ </i>
471
+ </div>
472
+ {/* )} */}
473
+ {templatepropcontext.pagesnprop.map((item, index) => {
474
+ if (item.isnavigation == 1 && item.isactive == 1) {
475
+ return (
476
+ <div className="row m-0 w-100 anim">
477
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
478
+ <div
479
+ onClick={() => {
480
+ routingcountext(item.navigationroute, false, '');
481
+ setmenuactive(false);
482
+ }}
483
+ >
484
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
485
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
486
+ </p>
487
+ </div>
488
+ </div>
489
+ <div className="col-lg-12 p-0">
490
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
491
+ </div>
492
+ </div>
493
+ );
494
+ }
495
+ })}
496
+ {templateproperties_context.showfavorites == 'Show' && (
497
+ <div className="row m-0 w-100 anim">
498
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
499
+ <div
500
+ onClick={() => {
501
+ routingcountext(StaticPagesLinksContext.Wishlist);
502
+ setmenuactive(false);
503
+ }}
504
+ >
505
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.wishlist}</p>
506
+ </div>
507
+ </div>
508
+ <div className="col-lg-12 p-0">
509
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
510
+ </div>
511
+ </div>
512
+ )}
513
+ {templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && (
514
+ <div className="row m-0 w-100 anim">
515
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
516
+ <div
517
+ onClick={() => {
518
+ routingcountext(StaticPagesLinksContext.Policies);
519
+ setmenuactive(false);
520
+ }}
521
+ >
522
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>{lang.policies}</p>
523
+ </div>
524
+ </div>
525
+ <div className="col-lg-12 p-0">
526
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
527
+ </div>
528
+ </div>
529
+ )}
530
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
531
+ <div className="row m-0 w-100 anim">
532
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
533
+ <div
534
+ onClick={() => {
535
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
536
+ setmenuactive(false);
537
+ }}
538
+ >
539
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
540
+ {langdetect == 'en' ? returnpolicyobj('Privacy Policy')?.policypagename_en : returnpolicyobj('Privacy Policy')?.policypagename_ar}
541
+ </p>
542
+ </div>
543
+ </div>
544
+ <div className="col-lg-12 p-0">
545
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
546
+ </div>
547
+ </div>
548
+ )}
549
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
550
+ <div className="row m-0 w-100 anim">
551
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
552
+ <div
553
+ onClick={() => {
554
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
555
+ setmenuactive(false);
556
+ }}
557
+ >
558
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
559
+ {langdetect == 'en' ? returnpolicyobj('Shipping Policy')?.policypagename_en : returnpolicyobj('Shipping Policy')?.policypagename_ar}
560
+ </p>
561
+ </div>
562
+ </div>
563
+ <div className="col-lg-12 p-0">
564
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
565
+ </div>
566
+ </div>
567
+ )}
568
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
569
+ <div className="row m-0 w-100 anim">
570
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
571
+ <div
572
+ onClick={() => {
573
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
574
+ setmenuactive(false);
575
+ }}
576
+ >
577
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
578
+ {langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar}
579
+ </p>
580
+ </div>
581
+ </div>
582
+ <div className="col-lg-12 p-0">
583
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
584
+ </div>
585
+ </div>
586
+ )}
587
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
588
+ <div className="row m-0 w-100 anim">
589
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
590
+ <div
591
+ onClick={() => {
592
+ routingcountext(StaticPagesLinksContext.TermsConditions);
593
+ setmenuactive(false);
594
+ }}
595
+ >
596
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
597
+ {langdetect == 'en'
598
+ ? returnpolicyobj('Terms & Conditions')?.policypagename_en
599
+ : returnpolicyobj('Terms & Conditions')?.policypagename_ar}
600
+ </p>
601
+ </div>
602
+ </div>
603
+ <div className="col-lg-12 p-0">
604
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
605
+ </div>
606
+ </div>
607
+ )}
608
+ {authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && (
609
+ <div className="row m-0 w-100 anim">
610
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start my-1">
611
+ <div
612
+ onClick={() => {
613
+ routingcountext(StaticPagesLinksContext.Ordershistory);
614
+ setmenuactive(false);
615
+ }}
616
+ >
617
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
618
+ {langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear}
619
+
620
+ {/* {langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear} */}
621
+ </p>
622
+ </div>
623
+ </div>
624
+ <div className="col-lg-12 p-0">
625
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
626
+ </div>
627
+ </div>
628
+ )}
629
+ {sectionproperties.showlanuagecontainer == 'Show' && (
630
+ <div className="row m-0 w-100 anim">
631
+ <div class={header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '} style={{}}>
632
+ <p
633
+ class={`${header_cssstyles.navbar_item_text_responsive}` + ' m-0 p-0 '}
634
+ style={{
635
+ cursor: 'default',
636
+ }}
637
+ >
638
+ {langdetect == 'en' ? 'Language' : 'اللغة'}
639
+ </p>
640
+ </div>
641
+ <div class="col-lg-12 p-0 d-flex align-items-center justify-content-start my-1">
642
+ <div
643
+ class="row m-0 w-100"
644
+ style={{
645
+ background: sectionproperties.langcontainerbgresp,
646
+ borderRadius: 5,
647
+ }}
648
+ >
649
+ <div
650
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
651
+ onClick={() => {
652
+ setlang('en');
653
+ setmenuactive(false);
654
+ }}
655
+ >
656
+ <p
657
+ class="m-0 p-0 w-100 allcentered py-3"
658
+ style={{
659
+ background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
660
+ borderRadius: 5,
661
+ fontSize: 15,
662
+ color: sectionproperties.language_container_color_resp,
663
+ }}
664
+ >
665
+ English
666
+ </p>
667
+ </div>
668
+ <div
669
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
670
+ onClick={() => {
671
+ setlang('ar');
672
+ setmenuactive(false);
673
+ }}
674
+ >
675
+ <p
676
+ class="m-0 p-0 w-100 allcentered py-3"
677
+ style={{
678
+ borderRadius: 5,
679
+ background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
680
+ fontSize: 15,
681
+ color: sectionproperties.language_container_color_resp,
682
+ }}
683
+ >
684
+ لغة عربية
685
+ </p>
686
+ </div>
687
+ </div>
688
+ </div>
689
+ </div>
690
+ )}
691
+ {sectionproperties.ShowUserBtn == 'Show' && (
692
+ <div class="row m-0 w-100 mt-5">
693
+ {!authdetailsContext.loggedin && (
694
+ <button
695
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
696
+ onClick={() => {
697
+ routingcountext(StaticPagesLinksContext.Login);
698
+ setmenuactive(false);
699
+ }}
700
+ >
701
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
702
+ <BiUser />
703
+ </i>
704
+ <span class="userbtn_resp mx-2">{langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب'}</span>
705
+ </button>
706
+ )}
707
+ {authdetailsContext.loggedin && (
708
+ <button
709
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
710
+ onClick={() => {
711
+ routingcountext(StaticPagesLinksContext.accountinfo);
712
+ setmenuactive(false);
713
+ }}
714
+ >
715
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
716
+ <BiUser />
717
+ </i>
718
+ <span class={header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '}>
719
+ {authdetailsContext.customerinfo.name}
720
+ </span>
721
+ </button>
722
+ )}
723
+ </div>
724
+ )}
725
+ {authdetailsContext.loggedin && (
726
+ <div class="row m-0 w-100 mt-5 allcentered anim">
727
+ <button
728
+ class={' d-flex align-items-center justify-content-center p-0 m-0 '}
729
+ onClick={() => {
730
+ LogoutMutationContext.mutate();
731
+ setmenuactive(false);
732
+ }}
733
+ style={{
734
+ width: '90%',
735
+ height: 40,
736
+ background: 'white',
737
+ color: '#000',
738
+ fontSize: 16,
739
+ }}
740
+ >
741
+ {lang.logout}
742
+ </button>
743
+ </div>
744
+ )}
745
+ </div>
746
+ )}
747
+ </div>
748
+ </div>
749
+ {/* {sectionproperties.showhidesubheader == 'Show' && (
750
+ <div className="col-lg-12 p-0 h-100" id="subheader">
751
+ <div className="row m-0 w-100 h-100">
752
+ <div className="col-lg-12 p-0 h-100">
753
+ <Subheader sectionpropertiesprops={sectionproperties} actions={actions} />
754
+ </div>
755
+ </div>
756
+ </div>
757
+ )} */}
758
+ </div>
759
+ )}
760
+ {openSearch == true && (
761
+ <div class="col-12 d-flex align-items-center">
762
+ <button
763
+ style={{
764
+ width: 40,
765
+ height: 40,
766
+ position: 'absolute',
767
+ top: 10,
768
+ right: 10,
769
+ zIndex: 10000,
770
+ }}
771
+ class="allcentered"
772
+ onClick={() => {
773
+ setopenSearch(false);
774
+ setSearchHeaderInputContext('');
775
+ }}
776
+ >
777
+ <IoClose
778
+ style={{
779
+ fontSize: 20,
780
+ color: '#000',
781
+ }}
782
+ />
783
+ </button>
784
+ <div class={header_cssstyles.searchbarcont}>
785
+ <input
786
+ type="text"
787
+ placeholder={langdetect == 'en' ? sectionproperties.search_placeholder_en : sectionproperties.search_placeholder_ar}
788
+ class={`${header_cssstyles.searchbarcont_input}` + ' pb-1 '}
789
+ onChange={(event) => {
790
+ setSearchHeaderInputContext(event.target.value);
791
+ }}
792
+ />
793
+
794
+ <Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'fullheader'} actions={actions} />
795
+ </div>
796
+ </div>
797
+ )}
798
+ {sectionproperties.length != 0 && sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && (
799
+ <Offcanvas
800
+ show={openmenuCanvas}
801
+ onHide={() => {
802
+ setopenmenuCanvas(false);
803
+ }}
804
+ placement={langdetect == 'en' ? 'start' : 'end'}
805
+ scroll={true}
806
+ style={{
807
+ width: '90%',
808
+ backgroundColor: 'white',
809
+ }}
810
+ backdrop={true}
811
+ >
812
+ <Offcanvas.Header>
813
+ <Offcanvas.Title>
814
+ {langdetect == 'en' && (
815
+ <div
816
+ class="allcentered"
817
+ style={{
818
+ position: 'absolute',
819
+ right: -34,
820
+ top: 5,
821
+ width: 30,
822
+ height: 30,
823
+ background: '#000',
824
+ }}
825
+ onClick={() => {
826
+ setopenmenuCanvas(false);
827
+ }}
828
+ >
829
+ <IoMdClose color={'#fff'} size={16} />
830
+ </div>
831
+ )}
832
+ {langdetect == 'ar' && (
833
+ <div
834
+ class="allcentered"
835
+ style={{
836
+ position: 'absolute',
837
+ left: -34,
838
+ top: 5,
839
+ width: 30,
840
+ height: 30,
841
+ background: '#000',
842
+ }}
843
+ onClick={() => {
844
+ setopenCnvas(false);
845
+ }}
846
+ >
847
+ <IoMdClose color={'#fff'} size={16} />
848
+ </div>
849
+ )}
850
+ <div className="row m-0 w-100 mb-5" style={{ borderBottom: '1px solid #eee' }}>
851
+ <div
852
+ className={'col-6 allcentered py-3'}
853
+ onClick={() => {
854
+ setactiveTab('menu');
855
+ }}
856
+ style={{
857
+ background: activeTab == 'menu' ? 'white' : '#eee',
858
+ }}
859
+ >
860
+ <p
861
+ className="m-0 p-0"
862
+ style={{
863
+ textTransform: 'uppercase',
864
+ fontWeight: 500,
865
+ fontSize: '15px',
866
+ transition: '.3s',
867
+ color: sectionproperties.header_fontColorresponsive,
868
+ }}
869
+ >
870
+ {langdetect == 'en' ? 'MENU' : 'القائمة'}
871
+ </p>
872
+ </div>
873
+ <div
874
+ className={'col-6 allcentered py-3'}
875
+ onClick={() => {
876
+ setactiveTab('categories');
877
+ }}
878
+ style={{
879
+ background: activeTab == 'categories' ? 'white' : '#eee',
880
+ }}
881
+ >
882
+ <p
883
+ className="m-0 p-0"
884
+ style={{
885
+ textTransform: 'uppercase',
886
+ fontWeight: 500,
887
+ fontSize: '15px',
888
+ transition: '.3s',
889
+ color: sectionproperties.header_fontColorresponsive,
890
+ }}
891
+ >
892
+ {langdetect == 'en' ? 'SHOP' : 'تسوق'}
893
+ </p>
894
+ </div>
895
+ </div>
896
+ </Offcanvas.Title>
897
+ </Offcanvas.Header>
898
+ <Offcanvas.Body>
899
+ <div style={{ minHeight: '80vh' }}>
900
+ {activeTab == 'menu' && (
901
+ <div className={' row m-0 w-100 anim '}>
902
+ <div className="col-lg-12 p-0">
903
+ <ul className={' d-flex justify-content-center flex-column p-0 '}>
904
+ {templatepropcontext.pagesnprop.map((item, index) => {
905
+ if (item.isnavigation == 1 && item.isactive == 1) {
906
+ return (
907
+ <div className="row m-0 w-100">
908
+ <div className="col-lg-12 d-flex justify-content-start pl-3 pr-3" style={{ paddingTop: index == 0 ? 5 : 0 }}>
909
+ <div
910
+ onClick={() => {
911
+ routingcountext(item.navigationroute, false, '');
912
+ setopenCnvas(false);
913
+ }}
914
+ >
915
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
916
+ {langdetect == 'en' ? item.pagename : item.pagename_ar}
917
+ </p>
918
+ </div>
919
+ </div>
920
+ <div className="col-lg-12 p-0">
921
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
922
+ </div>
923
+ </div>
924
+ );
925
+ }
926
+ })}
927
+ {authdetailsContext.loggedin == true && sectionproperties.ShowUserBtn == 'Show' && (
928
+ <div className="row m-0 w-100">
929
+ <div
930
+ className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
931
+ onClick={() => {
932
+ routingcountext(StaticPagesLinksContext.Ordershistory);
933
+ setopenCnvas(false);
934
+ }}
935
+ >
936
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.orderhistory}</p>
937
+ </div>
938
+ <div className="col-lg-12 p-0">
939
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
940
+ </div>
941
+ </div>
942
+ )}
943
+ {templateproperties_context.showfavorites == 'Show' && (
944
+ <div className="row m-0 w-100">
945
+ <div
946
+ className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
947
+ onClick={() => {
948
+ routingcountext(StaticPagesLinksContext.Wishlist);
949
+ setopenCnvas(false);
950
+ }}
951
+ >
952
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.wishlist}</p>
953
+ </div>
954
+ <div className="col-lg-12 p-0">
955
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
956
+ </div>
957
+ </div>
958
+ )}
959
+
960
+ {templateproperties_context.separatepolicies == 'No' && templateproperties_context.showpolicies == 'Yes' && (
961
+ <div className="row m-0 w-100">
962
+ <div
963
+ className="col-lg-12 d-flex justify-content-start pl-3 pr-3"
964
+ onClick={() => {
965
+ routingcountext(StaticPagesLinksContext.Policies);
966
+ setmenuactive(false);
967
+ }}
968
+ >
969
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 d-flex justify-content-start '}>{lang.policies}</p>
970
+ </div>
971
+ <div className="col-lg-12 p-0">
972
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
973
+ </div>
974
+ </div>
975
+ )}
976
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
977
+ <div className="row m-0 w-100">
978
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
979
+ <div
980
+ onClick={() => {
981
+ routingcountext(StaticPagesLinksContext.PrivacyPolicy);
982
+ setmenuactive(false);
983
+ }}
984
+ >
985
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
986
+ {langdetect == 'en'
987
+ ? returnpolicyobj('Privacy Policy')?.policypagename_en
988
+ : returnpolicyobj('Privacy Policy')?.policypagename_ar}
989
+ </p>
990
+ </div>
991
+ </div>
992
+ <div className="col-lg-12 p-0">
993
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
994
+ </div>
995
+ </div>
996
+ )}
997
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
998
+ <div className="row m-0 w-100">
999
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1000
+ <div
1001
+ onClick={() => {
1002
+ routingcountext(StaticPagesLinksContext.ShippingPolicy);
1003
+ setmenuactive(false);
1004
+ }}
1005
+ >
1006
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1007
+ {langdetect == 'en'
1008
+ ? returnpolicyobj('Shipping Policy')?.policypagename_en
1009
+ : returnpolicyobj('Shipping Policy')?.policypagename_ar}
1010
+ </p>
1011
+ </div>
1012
+ </div>
1013
+ <div className="col-lg-12 p-0">
1014
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1015
+ </div>
1016
+ </div>
1017
+ )}
1018
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1019
+ <div className="row m-0 w-100">
1020
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1021
+ <div
1022
+ onClick={() => {
1023
+ routingcountext(StaticPagesLinksContext.RefundPolicy);
1024
+ setmenuactive(false);
1025
+ }}
1026
+ >
1027
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1028
+ {langdetect == 'en' ? returnpolicyobj('Refund Policy')?.policypagename_en : returnpolicyobj('Refund Policy')?.policypagename_ar}
1029
+ </p>
1030
+ </div>
1031
+ </div>
1032
+ <div className="col-lg-12 p-0">
1033
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1034
+ </div>
1035
+ </div>
1036
+ )}
1037
+ {templateproperties_context.separatepolicies == 'Yes' && templateproperties_context.showpolicies == 'Yes' && (
1038
+ <div className="row m-0 w-100">
1039
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1040
+ <div
1041
+ onClick={() => {
1042
+ routingcountext(StaticPagesLinksContext.TermsConditions);
1043
+ setmenuactive(false);
1044
+ }}
1045
+ >
1046
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1047
+ {langdetect == 'en'
1048
+ ? returnpolicyobj('Terms & Conditions')?.policypagename_en
1049
+ : returnpolicyobj('Terms & Conditions')?.policypagename_ar}
1050
+ </p>
1051
+ </div>
1052
+ </div>
1053
+ <div className="col-lg-12 p-0">
1054
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1055
+ </div>
1056
+ </div>
1057
+ )}
1058
+ {authdetailsContext.loggedin == true && templateproperties_context.showprevorder == 'Show' && (
1059
+ <div className="row m-0 w-100">
1060
+ <div className="col-lg-12 pl-0 pr-0 d-flex justify-content-start pl-3 pr-3">
1061
+ <div
1062
+ onClick={() => {
1063
+ routingcountext(StaticPagesLinksContext.Ordershistory);
1064
+ setmenuactive(false);
1065
+ }}
1066
+ >
1067
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1068
+ {langdetect == 'en' ? templateproperties_context.previousorders_titleen : templateproperties_context.previousorders_titlear}
1069
+
1070
+ {/* {langdetect == 'en' ? sectionproperties.previousorders_titleen : sectionproperties.previousorders_titlear} */}
1071
+ </p>
1072
+ </div>
1073
+ </div>
1074
+ <div className="col-lg-12 p-0">
1075
+ <hr className="mt-3 mb-3" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1076
+ </div>
1077
+ </div>
1078
+ )}
1079
+ {sectionproperties.showlanuagecontainer == 'Show' && (
1080
+ <div className="row m-0 w-100 pl-3 pr-3">
1081
+ <div class={header_cssstyles.navbarItem + ' col-lg-12 p-0 d-flex align-items-center justify-content-start mb-2 '} style={{}}>
1082
+ <p
1083
+ class={`${header_cssstyles.navbar_item_text_responsive}` + ' m-0 p-0 '}
1084
+ style={{
1085
+ cursor: 'default',
1086
+ }}
1087
+ >
1088
+ {langdetect == 'en' ? 'Language' : 'اللغة'}
1089
+ </p>
1090
+ </div>
1091
+ <div class="col-lg-12 p-0 d-flex align-items-center justify-content-start my-1">
1092
+ <div
1093
+ class="row m-0 w-100"
1094
+ style={{
1095
+ background: sectionproperties.langcontainerbgresp,
1096
+ borderRadius: 5,
1097
+ }}
1098
+ >
1099
+ <div
1100
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
1101
+ onClick={() => {
1102
+ setlang('en');
1103
+ setmenuactive(false);
1104
+ }}
1105
+ >
1106
+ <p
1107
+ class="m-0 p-0 w-100 allcentered py-3"
1108
+ style={{
1109
+ background: langdetect == 'en' ? sectionproperties.langcontainerbgresp_active : 'transparent',
1110
+ borderRadius: 5,
1111
+ fontSize: 15,
1112
+ color: sectionproperties.language_container_color_resp,
1113
+ }}
1114
+ >
1115
+ English
1116
+ </p>
1117
+ </div>
1118
+ <div
1119
+ class={header_cssstyles.navbarItem + ' col-6 p-0 allcentered py-2 px-2 cursor-pointer '}
1120
+ onClick={() => {
1121
+ setlang('ar');
1122
+ setmenuactive(false);
1123
+ }}
1124
+ >
1125
+ <p
1126
+ class="m-0 p-0 w-100 allcentered py-3"
1127
+ style={{
1128
+ borderRadius: 5,
1129
+ background: langdetect == 'ar' ? sectionproperties.langcontainerbgresp_active : 'transparent',
1130
+ fontSize: 15,
1131
+ color: sectionproperties.language_container_color_resp,
1132
+ }}
1133
+ >
1134
+ لغة عربية
1135
+ </p>
1136
+ </div>
1137
+ </div>
1138
+ </div>
1139
+ </div>
1140
+ )}
1141
+ {sectionproperties.ShowUserBtn == 'Show' && (
1142
+ <div className="row m-0 w-100 pl-3 pr-3 mt-5">
1143
+ {!authdetailsContext.loggedin && (
1144
+ <button
1145
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
1146
+ onClick={() => {
1147
+ routingcountext(StaticPagesLinksContext.Login);
1148
+ setmenuactive(false);
1149
+ }}
1150
+ >
1151
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
1152
+ <BiUser />
1153
+ </i>
1154
+ <span class="userbtn_resp mx-2">{langdetect == 'en' ? 'Login/Register' : 'تسجيل دخول/إنشاء حساب'}</span>
1155
+ </button>
1156
+ )}
1157
+ {authdetailsContext.loggedin && (
1158
+ <button
1159
+ class={`${header_cssstyles.userbtn_respContainer}` + ' anim d-flex align-items-center justify-content-start p-0 m-0 '}
1160
+ onClick={() => {
1161
+ routingcountext(StaticPagesLinksContext.accountinfo);
1162
+ setmenuactive(false);
1163
+ }}
1164
+ >
1165
+ <i class={`${header_cssstyles.userbtnLoggedin_icon}` + ' h-100 allcentered userbtn_resp m-0 p-0 p-0 '}>
1166
+ <BiUser />
1167
+ </i>
1168
+ <span class={header_cssstyles.loggedintext + ' text-start text-overflow d-block loggedintext mx-2 '}>
1169
+ {authdetailsContext.customerinfo.name}
1170
+ </span>
1171
+ </button>
1172
+ )}
1173
+ </div>
1174
+ )}
1175
+ {authdetailsContext.loggedin && (
1176
+ <div className="row m-0 w-100">
1177
+ <button
1178
+ class={' d-flex align-items-center justify-content-center p-0 m-0 '}
1179
+ onClick={() => {
1180
+ LogoutMutationContext.mutate();
1181
+ setmenuactive(false);
1182
+ }}
1183
+ style={{
1184
+ width: '90%',
1185
+ height: 40,
1186
+ background: 'white',
1187
+ color: '#000',
1188
+ fontSize: 16,
1189
+ }}
1190
+ >
1191
+ {lang.logout}
1192
+ </button>
1193
+ </div>
1194
+ )}
1195
+ </ul>
1196
+ </div>
1197
+ </div>
1198
+ )}
1199
+ {activeTab == 'categories' && (
1200
+ <div className={' row m-0 w-100 accordionContainer anim'}>
1201
+ {sectionproperties.subheaderParentType == 'Categories' && (
1202
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1203
+ {fetchCategoriesQueryContext?.data?.data?.categories.map((item, index) => {
1204
+ if (item.isshowntocustomers == 1) {
1205
+ return (
1206
+ <AccordionItem uuid={index}>
1207
+ <AccordionItemHeading
1208
+ onClick={() => {
1209
+ setChoosenindex(index);
1210
+ }}
1211
+ >
1212
+ <AccordionItemButton>
1213
+ <div className={' row m-0 p-0 mb-2 '}>
1214
+ <div className={' row m-0 w-100 px-3 '}>
1215
+ <div
1216
+ className="col-10 p-0 text-start"
1217
+ // onClick={() => {
1218
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1219
+ // }}
1220
+ >
1221
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1222
+ {langdetect == 'en' ? item.title_en : item.title_ar}
1223
+ </p>
1224
+ </div>
1225
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1226
+ <AccordionItemState>
1227
+ {(state) => {
1228
+ if (state.expanded == true) {
1229
+ return (
1230
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1231
+ <FiChevronDown
1232
+ style={{
1233
+ color: '#000',
1234
+ fontSize: 15,
1235
+ }}
1236
+ />
1237
+ </i>
1238
+ );
1239
+ } else {
1240
+ return (
1241
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1242
+ <FiChevronUp
1243
+ style={{
1244
+ color: '#000',
1245
+ fontSize: 15,
1246
+ }}
1247
+ />
1248
+ </i>
1249
+ );
1250
+ }
1251
+ }}
1252
+ </AccordionItemState>
1253
+ </div>
1254
+ </div>
1255
+ <div className="col-lg-12 p-0">
1256
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1257
+ </div>
1258
+ </div>
1259
+ </AccordionItemButton>
1260
+ </AccordionItemHeading>
1261
+ <AccordionItemPanel className="p-0">
1262
+ <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1263
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1264
+ {Choosenindex.length != 0 &&
1265
+ fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions?.length != 0 &&
1266
+ fetchCategoriesQueryContext?.data?.data?.categories[Choosenindex]?.parentcolletions.map((pitem, pindex) => {
1267
+ if (pitem.isshowntocustomers == 1) {
1268
+ return (
1269
+ <AccordionItem uuid={pindex}>
1270
+ <AccordionItemHeading>
1271
+ <AccordionItemButton>
1272
+ <div className={' row m-0 p-0 mb-2 '}>
1273
+ <div className={' row m-0 w-100 px-4 '}>
1274
+ <div
1275
+ className="col-10 p-0 text-start"
1276
+ onClick={() => {
1277
+ // routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'categories/' + item.categoryid);
1278
+ }}
1279
+ >
1280
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1281
+ {langdetect == 'en' ? pitem.title_en : pitem.title_ar}
1282
+ </p>
1283
+ </div>
1284
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1285
+ <AccordionItemState>
1286
+ {(state) => {
1287
+ if (state.expanded == true) {
1288
+ return (
1289
+ <i
1290
+ className={
1291
+ ' collapsetitle h-100 d-flex align-items-center justify-content-end '
1292
+ }
1293
+ >
1294
+ <FiChevronDown
1295
+ style={{
1296
+ color: '#000',
1297
+ fontSize: 15,
1298
+ }}
1299
+ />
1300
+ </i>
1301
+ );
1302
+ } else {
1303
+ return (
1304
+ <i
1305
+ className={
1306
+ ' collapsetitle h-100 d-flex align-items-center justify-content-end '
1307
+ }
1308
+ >
1309
+ <FiChevronUp
1310
+ style={{
1311
+ color: '#000',
1312
+ fontSize: 15,
1313
+ }}
1314
+ />
1315
+ </i>
1316
+ );
1317
+ }
1318
+ }}
1319
+ </AccordionItemState>
1320
+ </div>
1321
+ </div>
1322
+ <div className="col-lg-12 p-0">
1323
+ <hr
1324
+ className="mt-4 mb-4"
1325
+ style={{ borderColor: sectionproperties.resp_header_separatorbg }}
1326
+ />
1327
+ </div>
1328
+ </div>
1329
+ </AccordionItemButton>
1330
+ </AccordionItemHeading>
1331
+ <AccordionItemPanel className="p-0">
1332
+ {pitem.collections.length != 0 &&
1333
+ pitem.collections.map((collitem, collindex) => {
1334
+ if (collitem.isshowntocustomers == 1) {
1335
+ return (
1336
+ <div className={' row m-0 p-0 mb-2 '}>
1337
+ <div className={' row m-0 w-100 px-5 '}>
1338
+ <div
1339
+ className="col-10 p-0 text-start"
1340
+ onClick={() => {
1341
+ routingcountext(
1342
+ StaticPagesLinksContext.GeneralProductsComponent,
1343
+ true,
1344
+ 'collections/' + collitem.collectionid,
1345
+ );
1346
+ setopenCnvas(false);
1347
+ }}
1348
+ >
1349
+ <p
1350
+ className={
1351
+ `${header_cssstyles.navbar_item_text_responsive}` +
1352
+ ' mb-0 p-0 '
1353
+ }
1354
+ >
1355
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1356
+ </p>
1357
+ </div>
1358
+ </div>
1359
+ <div className="col-lg-12 p-0">
1360
+ <hr
1361
+ className="mt-4 mb-4"
1362
+ style={{ borderColor: sectionproperties.resp_header_separatorbg }}
1363
+ />
1364
+ </div>
1365
+ </div>
1366
+ );
1367
+ }
1368
+ })}
1369
+ </AccordionItemPanel>
1370
+ </AccordionItem>
1371
+ );
1372
+ }
1373
+ })}
1374
+ </Accordion>
1375
+ </div>
1376
+ </AccordionItemPanel>
1377
+ </AccordionItem>
1378
+ );
1379
+ }
1380
+ })}
1381
+ </Accordion>
1382
+ )}
1383
+ {sectionproperties.subheaderParentType == 'Parent Collections' && (
1384
+ <Accordion allowMultipleExpanded={true} allowZeroExpanded={true}>
1385
+ {pcollarray.map((item, index) => {
1386
+ if (item.isshowntocustomers == 1) {
1387
+ return (
1388
+ <AccordionItem uuid={index}>
1389
+ <AccordionItemHeading
1390
+ onClick={() => {
1391
+ setChoosenindex(index);
1392
+ }}
1393
+ >
1394
+ <AccordionItemButton>
1395
+ <div className={' row m-0 p-0 mb-2 '}>
1396
+ <div className={' row m-0 w-100 px-3 '}>
1397
+ <div className="col-10 p-0 text-start">
1398
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1399
+ {langdetect == 'en' ? item.title_en : item.title_ar}
1400
+ </p>
1401
+ </div>
1402
+ <div className="col-lg-2 col-md-2 col-sm-2 p-0 text-end">
1403
+ <AccordionItemState>
1404
+ {(state) => {
1405
+ if (state.expanded == true) {
1406
+ return (
1407
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1408
+ <FiChevronDown
1409
+ style={{
1410
+ color: '#000',
1411
+ fontSize: 15,
1412
+ }}
1413
+ />
1414
+ </i>
1415
+ );
1416
+ } else {
1417
+ return (
1418
+ <i className={' collapsetitle h-100 d-flex align-items-center justify-content-end '}>
1419
+ <FiChevronUp
1420
+ style={{
1421
+ color: '#000',
1422
+ fontSize: 15,
1423
+ }}
1424
+ />
1425
+ </i>
1426
+ );
1427
+ }
1428
+ }}
1429
+ </AccordionItemState>
1430
+ </div>
1431
+ </div>
1432
+ <div className="col-lg-12 p-0">
1433
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1434
+ </div>
1435
+ </div>
1436
+ </AccordionItemButton>
1437
+ </AccordionItemHeading>
1438
+ <AccordionItemPanel className="p-0">
1439
+ <div className="row mt-0 mb-2 ml-0 mr-0 d-lg-flex">
1440
+ <div class="col-lg-12 p-0">
1441
+ <div className={' row m-0 p-0 mb-2 '}>
1442
+ <div className={' row m-0 w-100 px-5 '}>
1443
+ <div
1444
+ className="col-10 p-0 text-start"
1445
+ onClick={() => {
1446
+ routingcountext(
1447
+ StaticPagesLinksContext.GeneralProductsComponent,
1448
+ true,
1449
+ 'parentcollections/' + item.parentcollectionid,
1450
+ );
1451
+
1452
+ setopenCnvas(false);
1453
+ }}
1454
+ >
1455
+ <p
1456
+ className={' mb-0 p-0 '}
1457
+ style={{
1458
+ color: sectionproperties.collectionsectiontextcolor,
1459
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
1460
+ textTransform: sectionproperties.collectionsectiontexttransform,
1461
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
1462
+ transition: '.3s',
1463
+ }}
1464
+ >
1465
+ {langdetect == 'en' ? 'SHOP' : 'تسوق'} {langdetect == 'en' ? item.title_en : item.title_ar}
1466
+ </p>
1467
+ </div>
1468
+ </div>
1469
+ <div className="col-lg-12 p-0">
1470
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1471
+ </div>
1472
+ </div>
1473
+ </div>
1474
+ {Choosenindex.length != 0 &&
1475
+ item?.collections.length != 0 &&
1476
+ item?.collections?.map((collitem, collindex) => {
1477
+ if (collitem.isshowntocustomers == 1) {
1478
+ return (
1479
+ <div class="col-lg-12 p-0">
1480
+ <div className={' row m-0 p-0 mb-2 '}>
1481
+ <div className={' row m-0 w-100 px-5 '}>
1482
+ <div
1483
+ className="col-10 p-0 text-start"
1484
+ onClick={() => {
1485
+ routingcountext(
1486
+ StaticPagesLinksContext.GeneralProductsComponent,
1487
+ true,
1488
+ 'collections/' + collitem.collectionid,
1489
+ );
1490
+ setopenCnvas(false);
1491
+ }}
1492
+ >
1493
+ <p
1494
+ className={' mb-0 p-0 '}
1495
+ style={{
1496
+ color: sectionproperties.collectionsectiontextcolor,
1497
+ fontSize: sectionproperties.collectionsectiontextfontsize + 'px',
1498
+ textTransform: sectionproperties.collectionsectiontexttransform,
1499
+ fontWeight: sectionproperties.collectionsectiontextfontweight,
1500
+ transition: '.3s',
1501
+ }}
1502
+ >
1503
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1504
+ </p>
1505
+ </div>
1506
+ </div>
1507
+ <div className="col-lg-12 p-0">
1508
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1509
+ </div>
1510
+ </div>
1511
+ </div>
1512
+ );
1513
+ }
1514
+ })}
1515
+ </div>
1516
+ </AccordionItemPanel>
1517
+ </AccordionItem>
1518
+ );
1519
+ }
1520
+ })}
1521
+ </Accordion>
1522
+ )}
1523
+ {sectionproperties.subheaderParentType == 'Collections' &&
1524
+ authdetailsContext?.instinfo?.instcollections?.map((collitem, collindex) => {
1525
+ if (collitem.isshowntocustomers == 1) {
1526
+ return (
1527
+ <div className={' row m-0 p-0 mb-2 w-100 '}>
1528
+ <div
1529
+ className="col-12 p-0 text-start px-3"
1530
+ onClick={() => {
1531
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + collitem.collectionid);
1532
+ setopenCnvas(false);
1533
+ }}
1534
+ >
1535
+ <p className={`${header_cssstyles.navbar_item_text_responsive}` + ' mb-0 p-0 '}>
1536
+ {langdetect == 'en' ? collitem.title_en : collitem.title_ar}
1537
+ </p>
1538
+ </div>
1539
+
1540
+ <div className="col-lg-12 p-0">
1541
+ <hr className="mt-4 mb-4" style={{ borderColor: sectionproperties.resp_header_separatorbg }} />
1542
+ </div>
1543
+ </div>
1544
+ );
1545
+ }
1546
+ })}
1547
+ </div>
1548
+ )}
1549
+ </div>
1550
+
1551
+ <div className="col-lg-12 p-0 d-flex flex-row allcentered p-3" style={{ background: '#eee' }}>
1552
+ {authdetailsContext?.instinfo?.facebooklink != null && (
1553
+ <div
1554
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1555
+ onClick={() => {
1556
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
1557
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1558
+ }
1559
+ }}
1560
+ >
1561
+ <FaFacebookF size={'20'} color={'#62564b'} />
1562
+ </div>
1563
+ )}
1564
+ {authdetailsContext?.instinfo?.instagramlink != null && (
1565
+ <div
1566
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1567
+ onClick={() => {
1568
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1569
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1570
+ }
1571
+ }}
1572
+ >
1573
+ <AiFillInstagram size={'22'} color={'#62564b'} />
1574
+ </div>
1575
+ )}
1576
+ {authdetailsContext?.instinfo?.tiktoklink != null && (
1577
+ <div
1578
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1579
+ onClick={() => {
1580
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1581
+ window.open(authdetailsContext?.instinfo?.tiktoklink, '_blank');
1582
+ }
1583
+ }}
1584
+ >
1585
+ <IoLogoTiktok size={'20'} color={'#62564b'} />
1586
+ </div>
1587
+ )}
1588
+ {authdetailsContext?.instinfo?.youtubelink != null && (
1589
+ <div
1590
+ class={' d-flex align-items-center justify-content-center mx-2 '}
1591
+ onClick={() => {
1592
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1593
+ window.open(authdetailsContext?.instinfo?.youtubelink, '_blank');
1594
+ }
1595
+ }}
1596
+ >
1597
+ <AiFillYoutube size={'20'} color={'#62564b'} />
1598
+ </div>
1599
+ )}
1600
+ </div>
1601
+ </Offcanvas.Body>
1602
+ </Offcanvas>
1603
+ )}
1604
+ </div>
1605
+ )}
1606
+ </div>
1607
+ );
1608
+ };
1609
+
1610
+ export default HeaderresponsiveStyle2;