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