tabexseriescomponents 0.0.705 → 0.0.707

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/dist/index.cjs.js +1070 -1797
  2. package/dist/index.esm.js +1070 -1797
  3. package/dist/index.umd.js +1070 -1798
  4. package/package.json +1 -1
  5. package/srcoriginal/Contexts/LanguageContext.jsx +408 -0
  6. package/srcoriginal/Contexts/ProductsCardsSectionContext.jsx +36 -0
  7. package/srcoriginal/Imagekitconfig.jsx +46 -0
  8. package/srcoriginal/StylesJS/Customstyles.js +345 -0
  9. package/srcoriginal/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
  10. package/srcoriginal/TabexComponents/Cards/Card20/Card20.jsx +298 -0
  11. package/srcoriginal/TabexComponents/Cards/Card21/Card21.jsx +388 -0
  12. package/srcoriginal/TabexComponents/Cards/Card22/Card22.jsx +288 -0
  13. package/srcoriginal/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
  14. package/srcoriginal/TabexComponents/Cards/Card23/Card23.jsx +733 -0
  15. package/srcoriginal/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
  16. package/srcoriginal/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
  17. package/srcoriginal/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
  18. package/srcoriginal/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
  19. package/srcoriginal/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
  20. package/srcoriginal/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
  21. package/srcoriginal/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
  22. package/srcoriginal/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
  23. package/srcoriginal/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
  24. package/srcoriginal/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
  25. package/srcoriginal/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
  26. package/srcoriginal/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
  27. package/srcoriginal/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
  28. package/srcoriginal/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +147 -0
  29. package/srcoriginal/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
  30. package/srcoriginal/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
  31. package/srcoriginal/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
  32. package/srcoriginal/TabexComponents/Cards/MenuCard/MenuCard.jsx +744 -0
  33. package/srcoriginal/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
  34. package/srcoriginal/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
  35. package/srcoriginal/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
  36. package/srcoriginal/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
  37. package/srcoriginal/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
  38. package/srcoriginal/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
  39. package/srcoriginal/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
  40. package/srcoriginal/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
  41. package/srcoriginal/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
  42. package/srcoriginal/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
  43. package/srcoriginal/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
  44. package/srcoriginal/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
  45. package/srcoriginal/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
  46. package/srcoriginal/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
  47. package/srcoriginal/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +600 -0
  48. package/srcoriginal/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
  49. package/srcoriginal/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  50. package/srcoriginal/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
  51. package/srcoriginal/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +611 -0
  52. package/srcoriginal/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
  53. package/srcoriginal/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
  54. package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
  55. package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
  56. package/srcoriginal/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
  57. package/srcoriginal/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
  58. package/srcoriginal/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
  59. package/srcoriginal/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
  60. package/srcoriginal/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
  61. package/srcoriginal/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
  62. package/srcoriginal/TabexComponents/Footer/Footer1/Footer1.jsx +551 -0
  63. package/srcoriginal/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
  64. package/srcoriginal/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
  65. package/srcoriginal/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
  66. package/srcoriginal/TabexComponents/Footer/Footer5/Footer5.jsx +751 -0
  67. package/srcoriginal/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
  68. package/srcoriginal/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
  69. package/srcoriginal/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
  70. package/srcoriginal/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
  71. package/srcoriginal/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +581 -0
  72. package/srcoriginal/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +884 -0
  73. package/srcoriginal/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
  74. package/srcoriginal/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
  75. package/srcoriginal/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
  76. package/srcoriginal/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  77. package/srcoriginal/TabexComponents/Generalfiles/images/noimage.png +0 -0
  78. package/srcoriginal/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  79. package/srcoriginal/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  80. package/srcoriginal/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  81. package/srcoriginal/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  82. package/srcoriginal/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  83. package/srcoriginal/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  84. package/srcoriginal/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  85. package/srcoriginal/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  86. package/srcoriginal/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  87. package/srcoriginal/TabexComponents/Generalfiles/images/usflag.png +0 -0
  88. package/srcoriginal/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  89. package/srcoriginal/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
  90. package/srcoriginal/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
  91. package/srcoriginal/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
  92. package/srcoriginal/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1268 -0
  93. package/srcoriginal/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
  94. package/srcoriginal/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
  95. package/srcoriginal/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
  96. package/srcoriginal/TabexComponents/Headers/Header4/Header4.jsx +622 -0
  97. package/srcoriginal/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
  98. package/srcoriginal/TabexComponents/Headers/Header8/Header8.jsx +2016 -0
  99. package/srcoriginal/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
  100. package/srcoriginal/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
  101. package/srcoriginal/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
  102. package/srcoriginal/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
  103. package/srcoriginal/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +1228 -0
  104. package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
  105. package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
  106. package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
  107. package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
  108. package/srcoriginal/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1846 -0
  109. package/srcoriginal/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
  110. package/srcoriginal/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
  111. package/srcoriginal/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
  112. package/srcoriginal/TabexComponents/Headers/Modernheader/Modernheader.jsx +977 -0
  113. package/srcoriginal/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
  114. package/srcoriginal/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
  115. package/srcoriginal/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1110 -0
  116. package/srcoriginal/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +151 -0
  117. package/srcoriginal/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
  118. package/srcoriginal/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
  119. package/srcoriginal/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
  120. package/srcoriginal/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
  121. package/srcoriginal/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
  122. package/srcoriginal/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
  123. package/srcoriginal/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1093 -0
  124. package/srcoriginal/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +938 -0
  125. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
  126. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
  127. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
  128. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
  129. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
  130. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
  131. package/srcoriginal/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
  132. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
  133. package/srcoriginal/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
  134. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
  135. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
  136. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +677 -0
  137. package/srcoriginal/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
  138. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
  139. package/srcoriginal/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
  140. package/srcoriginal/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
  141. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
  142. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
  143. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
  144. package/srcoriginal/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
  145. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
  146. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
  147. package/srcoriginal/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +616 -0
  148. package/srcoriginal/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
  149. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
  150. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
  151. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
  152. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1938 -0
  153. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
  154. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
  155. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +1891 -0
  156. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
  157. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
  158. package/srcoriginal/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
  159. package/srcoriginal/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
  160. package/srcoriginal/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
  161. package/srcoriginal/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
  162. package/srcoriginal/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +1238 -0
  163. package/srcoriginal/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
  164. package/srcoriginal/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
  165. package/srcoriginal/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
  166. package/srcoriginal/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
  167. package/srcoriginal/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
  168. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
  169. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +760 -0
  170. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
  171. package/srcoriginal/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
  172. package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1679 -0
  173. package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
  174. package/srcoriginal/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
  175. package/srcoriginal/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +385 -0
  176. package/srcoriginal/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +512 -0
  177. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
  178. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
  179. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
  180. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
  181. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
  182. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
  183. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
  184. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
  185. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
  186. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
  187. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
  188. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
  189. package/srcoriginal/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
  190. package/srcoriginal/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
  191. package/srcoriginal/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
  192. package/srcoriginal/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
  193. package/srcoriginal/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
  194. package/srcoriginal/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
  195. package/srcoriginal/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
  196. package/srcoriginal/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
  197. package/srcoriginal/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
  198. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
  199. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout.jsx +1911 -0
  200. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
  201. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
  202. package/srcoriginal/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
  203. package/srcoriginal/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
  204. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
  205. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
  206. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter.jsx +2979 -0
  207. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
  208. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
  209. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
  210. package/srcoriginal/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
  211. package/srcoriginal/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
  212. package/srcoriginal/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
  213. package/srcoriginal/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
  214. package/srcoriginal/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  215. package/srcoriginal/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
  216. package/srcoriginal/TabexComponents/StaticPages/Login/Login.jsx +610 -0
  217. package/srcoriginal/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
  218. package/srcoriginal/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
  219. package/srcoriginal/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
  220. package/srcoriginal/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
  221. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
  222. package/srcoriginal/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
  223. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
  224. package/srcoriginal/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
  225. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
  226. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
  227. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
  228. package/srcoriginal/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
  229. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +2118 -0
  230. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
  231. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
  232. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
  233. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
  234. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1947 -0
  235. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
  236. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
  237. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
  238. package/srcoriginal/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
  239. package/srcoriginal/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
  240. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
  241. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
  242. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
  243. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
  244. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
  245. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
  246. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
  247. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
  248. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
  249. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
  250. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
  251. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
  252. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
  253. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
  254. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
  255. package/srcoriginal/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
  256. package/srcoriginal/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
  257. package/srcoriginal/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
  258. package/srcoriginal/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
  259. package/srcoriginal/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
  260. package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
  261. package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
  262. package/srcoriginal/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
  263. package/srcoriginal/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
  264. package/srcoriginal/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
  265. package/srcoriginal/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
  266. package/srcoriginal/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
  267. package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
  268. package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
  269. package/srcoriginal/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
  270. package/srcoriginal/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
  271. package/srcoriginal/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
  272. package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
  273. package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
  274. package/srcoriginal/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
  275. package/srcoriginal/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
  276. package/srcoriginal/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
  277. package/srcoriginal/button.jsx +40 -0
  278. package/srcoriginal/index.jsx +334 -0
  279. package/srcoriginal/styles/Home.module.css +129 -0
  280. package/srcoriginal/styles/cards/Categorcycard_fullimage.module.css +14 -0
  281. package/srcoriginal/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  282. package/srcoriginal/styles/cards/Categorycard_withshapes.module.css +189 -0
  283. package/srcoriginal/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
  284. package/srcoriginal/styles/cards/Productcard6.module.css +9 -0
  285. package/srcoriginal/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  286. package/srcoriginal/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  287. package/srcoriginal/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
  288. package/srcoriginal/styles/cards/card23.module.css +60 -0
  289. package/srcoriginal/styles/cards/categorycard.module.css +84 -0
  290. package/srcoriginal/styles/cards/categorycard3.module.css +50 -0
  291. package/srcoriginal/styles/cards/categorycardwithtext.module.css +40 -0
  292. package/srcoriginal/styles/cards/generalCardsStyles.module.css +79 -0
  293. package/srcoriginal/styles/cards/productcard_animatedbuttons.module.css +139 -0
  294. package/srcoriginal/styles/cards/productcard_with_textonhover.module.css +18 -0
  295. package/srcoriginal/styles/cards/productcard_withtextonimage.module.css +0 -0
  296. package/srcoriginal/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  297. package/srcoriginal/styles/general/bootstrap.css +4763 -0
  298. package/srcoriginal/styles/general/dropdown.css +206 -0
  299. package/srcoriginal/styles/general/editorbardropdown.module.css +94 -0
  300. package/srcoriginal/styles/general/filter.module.css +108 -0
  301. package/srcoriginal/styles/general/form.module.css +255 -0
  302. package/srcoriginal/styles/general/general.module.css +872 -0
  303. package/srcoriginal/styles/general/image-gallery.css +531 -0
  304. package/srcoriginal/styles/general/react-accessible-accordion.module.css +52 -0
  305. package/srcoriginal/styles/general/react-phone-input-2.module.css +927 -0
  306. package/srcoriginal/styles/general/scrollbtn.module.css +22 -0
  307. package/srcoriginal/styles/general/slick.module.css +166 -0
  308. package/srcoriginal/styles/general/tabs.module.css +119 -0
  309. package/srcoriginal/styles/general/workplaceeditor.module.css +328 -0
  310. package/srcoriginal/styles/globals.css +26 -0
  311. package/srcoriginal/styles/headers/CTAHeader.module.css +40 -0
  312. package/srcoriginal/styles/headers/CategoryFeaturingHeader.module.css +61 -0
  313. package/srcoriginal/styles/headers/Gotoheader.module.css +87 -0
  314. package/srcoriginal/styles/headers/Header7.module.css +50 -0
  315. package/srcoriginal/styles/headers/HeaderWithAdSlider.module.css +86 -0
  316. package/srcoriginal/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
  317. package/srcoriginal/styles/headers/HeaderWithUtilityBar.module.css +46 -0
  318. package/srcoriginal/styles/headers/Header_threesectionslogocentered.module.css +84 -0
  319. package/srcoriginal/styles/headers/NewHeader.module.css +101 -0
  320. package/srcoriginal/styles/headers/SearchFocusedHeader.module.css +62 -0
  321. package/srcoriginal/styles/headers/Sideheader.module.css +108 -0
  322. package/srcoriginal/styles/headers/Simpleheader.module.css +102 -0
  323. package/srcoriginal/styles/headers/classicheader.module.css +16 -0
  324. package/srcoriginal/styles/headers/classicheaderstyles.module.css +9 -0
  325. package/srcoriginal/styles/headers/dropdown.css +0 -0
  326. package/srcoriginal/styles/headers/header4.module.css +175 -0
  327. package/srcoriginal/styles/headers/header5.module.css +30 -0
  328. package/srcoriginal/styles/headers/header_contactinfo.module.css +53 -0
  329. package/srcoriginal/styles/headers/headerresturant.module.css +89 -0
  330. package/srcoriginal/styles/headers/modernheader.module.css +45 -0
  331. package/srcoriginal/styles/headers/stylishheader.module.css +24 -0
  332. package/srcoriginal/styles/headers/subheader.module.css +114 -0
  333. package/srcoriginal/styles/headers/threetieredheader.module.css +91 -0
  334. package/srcoriginal/styles/sections/BackgroundImageWithTopContent.css +4 -0
  335. package/srcoriginal/styles/sections/Backgroundimage1.module.css +17 -0
  336. package/srcoriginal/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  337. package/srcoriginal/styles/sections/Freetext.module.css +18 -0
  338. package/srcoriginal/styles/sections/Section_with_rightbgcont.module.css +49 -0
  339. package/srcoriginal/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  340. package/srcoriginal/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  341. package/srcoriginal/styles/staticpages/accordion.module.css +9 -0
  342. package/srcoriginal/styles/staticpages/cart.module.css +108 -0
  343. package/srcoriginal/styles/staticpages/dropdown.css +196 -0
  344. package/srcoriginal/styles/staticpages/filter.module.css +139 -0
  345. package/srcoriginal/styles/staticpages/image-gallery.css +481 -0
  346. package/srcoriginal/styles/staticpages/login.module.css +155 -0
  347. package/srcoriginal/styles/staticpages/productinfo.module.css +54 -0
  348. package/srcoriginal/styles/staticpages/shop.module.css +191 -0
  349. package/srcoriginal/styles/staticpages/signup.module.css +250 -0
  350. package/srcoriginal/styles/staticpages/staticroutersidenav.module.css +129 -0
  351. package/srcoriginal/styles/staticpages/viewcart.module.css +129 -0
  352. package/srcoriginal/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,1238 @@
1
+ // All take sectionidprops & sectionindexprops
2
+ import React, { useEffect, useState, useContext } from 'react';
3
+ import generalstyles from '../../../../styles/general/general.module.css';
4
+ import { css } from 'glamor';
5
+
6
+ import { useInView } from 'react-intersection-observer';
7
+ import { FaArrowAltCircleRight } from '@react-icons/all-files/fa/FaArrowAltCircleRight';
8
+ import { FaArrowAltCircleLeft } from '@react-icons/all-files/fa/FaArrowAltCircleLeft';
9
+ import { FiLayers } from '@react-icons/all-files/fi/FiLayers';
10
+ import { Imagekitimagecomp } from '../../../../Imagekitconfig.jsx';
11
+ const RandomlyStructuredCollectionCards = (props) => {
12
+ const authdetailsContext = props.actions.authdetailsContext;
13
+
14
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
15
+ const lang = props.actions.lang;
16
+ const langdetect = props.actions.langdetect;
17
+ const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
18
+ const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
19
+ const routingcountext = props.actions.routingcountext;
20
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
21
+ const ProductFilterObjContext = props.actions.ProductFilterObjContext;
22
+ const setProductFilterObjContext = props.actions.setProductFilterObjContext;
23
+ const TabexSectionsComponentsContext = props.actions.TabexSectionsComponentsContext;
24
+ const FetchQueriesEngineContext = props.actions.FetchQueriesEngineContext;
25
+ const setFetchQueriesEngineContext = props.actions.setFetchQueriesEngineContext;
26
+ const fetchProductsQuery = props.actions.fetchProductsQuery;
27
+ const fetchcollectionsQueryContext = props.actions.fetchcollectionsQueryContext;
28
+ const setParentCollectionsForCollectionQueryArr = props.actions.setParentCollectionsForCollectionQueryArr;
29
+ const ParentCollectionsForCollectionQueryArr = props.actions.ParentCollectionsForCollectionQueryArr;
30
+ const setfetchingtype = props.actions.setfetchingtype;
31
+ const fetchingtype = props.actions.fetchingtype;
32
+ const addtofavoritescontext = props.actions.addtofavoritescontext;
33
+ const fetchAuthorizationQueryContext = props.actions.fetchAuthorizationQueryContext;
34
+ const FetchVendorsQuery = props.actions.FetchVendorsQuery;
35
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
36
+ const [openFilterSlider, setopenFilterSlider] = useState(false);
37
+ const actions = props.actions;
38
+ const [sectionproperties, setsectionproperties] = useState('');
39
+ const [cardsarray, setcardsarray] = useState([]);
40
+ const [sectionitem, setsectionitem] = useState('');
41
+ const [ProductsFetchingTypeSectionObj, setProductsFetchingTypeSectionObj] = useState({ productfetchingtype: 'Random', collectionid: '', grouptype: '' });
42
+ const fetchCategoriesQueryContext = props.actions.fetchCategoriesQueryContext;
43
+
44
+ useEffect(() => {
45
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
46
+ if (sectionitem.sectionid == props.sectionidprops) {
47
+ var secpropobj = {};
48
+ setsectionitem(sectionitem);
49
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
50
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
51
+ });
52
+ setsectionproperties({ ...secpropobj });
53
+
54
+ if (props.srcfromprops == 'GeneralProductsComponent') {
55
+ setfetchingtype('products');
56
+ var lcproductfetchingtype = 'Random';
57
+
58
+ if (productfilerobjtemp.ProductFetchingType != undefined && productfilerobjtemp.ProductFetchingType != null && productfilerobjtemp.ProductFetchingType.length != 0) {
59
+ lcproductfetchingtype = productfilerobjtemp.ProductFetchingType;
60
+ }
61
+ setProductsFetchingTypeSectionObj({
62
+ productfetchingtype: lcproductfetchingtype,
63
+ collectionid: props.collectionidprops,
64
+ grouptype: props.grouptypeprops,
65
+ grouptyperefid: props.grouptyperefidprops,
66
+ });
67
+ } else if (props.srcfromprops == 'InnerGroups' || props.srcfromprops == 'InnerCategory' || props.srcfromprops == 'InnerParentCollection') {
68
+ setfetchingtype(props.grouptypeprops);
69
+ } else if (props.srcfromprops == 'Innervendor') {
70
+ setfetchingtype('vendors');
71
+ } else {
72
+ setfetchingtype(sectionitem.fetchingtype);
73
+ setProductsFetchingTypeSectionObj({
74
+ productfetchingtype: sectionitem.productsfetchingtype,
75
+ collectionid: sectionitem.productsfetchingtypeCollectioncollectionid,
76
+ grouptype: props.grouptypeprops,
77
+ grouptyperefid: props.grouptyperefidprops,
78
+ });
79
+ }
80
+ }
81
+ });
82
+ }, [StatePagePropertiesContext]);
83
+ useEffect(() => {
84
+ if (sectionproperties.length != 0) {
85
+ if (cardsarray.length == 0) {
86
+ if (fetchingtype == 'collections') {
87
+ if (fetchcollectionsQueryContext.isSuccess) {
88
+ cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
89
+ }
90
+ } else if (fetchingtype == 'products') {
91
+ if (fetchProductsQuery.isSuccess) {
92
+ var allpagesarr = [];
93
+ fetchProductsQuery?.data?.data?.products?.forEach((item) => {
94
+ allpagesarr.push(item);
95
+ });
96
+ cardobjassigner(allpagesarr);
97
+ }
98
+ } else if (fetchingtype == 'vendors') {
99
+ if (FetchVendorsQuery.isSuccess) {
100
+ cardobjassigner(FetchVendorsQuery?.data?.data?.vendors);
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }, [sectionproperties]);
106
+ useEffect(() => {
107
+ if (fetchingtype?.length != 0) {
108
+ var tempFetchQueriesEngineContext = FetchQueriesEngineContext;
109
+ if (fetchingtype == 'collections') {
110
+ if (ProductsFetchingTypeSectionObj.collectionid == 'all' || ProductsFetchingTypeSectionObj.collectionid == null || ProductsFetchingTypeSectionObj.collectionid == undefined) {
111
+ setParentCollectionsForCollectionQueryArr('all');
112
+ } else {
113
+ setParentCollectionsForCollectionQueryArr([ProductsFetchingTypeSectionObj.collectionid]);
114
+ }
115
+ }
116
+ if (fetchingtype == 'products') {
117
+ var tempfetchproductsfilerobjcontext = ProductFilterObjContext;
118
+ tempfetchproductsfilerobjcontext.ProductFetchingType = ProductsFetchingTypeSectionObj.productfetchingtype;
119
+ if (
120
+ ProductsFetchingTypeSectionObj.grouptype == 'collections' ||
121
+ ProductsFetchingTypeSectionObj.grouptype == 'categories' ||
122
+ ProductsFetchingTypeSectionObj.grouptype == 'parentcollections'
123
+ ) {
124
+ } else {
125
+ if (tempfetchproductsfilerobjcontext.collections != undefined) {
126
+ tempfetchproductsfilerobjcontext.collections.push(ProductsFetchingTypeSectionObj.collectionid);
127
+ }
128
+ }
129
+ tempfetchproductsfilerobjcontext.grouptype = ProductsFetchingTypeSectionObj.grouptype;
130
+ tempfetchproductsfilerobjcontext.grouptyperefid = ProductsFetchingTypeSectionObj.grouptyperefid;
131
+ setProductFilterObjContext({ ...tempfetchproductsfilerobjcontext });
132
+ }
133
+
134
+ setFetchQueriesEngineContext({ ...tempFetchQueriesEngineContext });
135
+ }
136
+ }, [fetchingtype, ProductsFetchingTypeSectionObj]);
137
+
138
+ useEffect(() => {
139
+ if (fetchingtype?.length != 0) {
140
+ if (fetchingtype == 'categories') {
141
+ var categories = [];
142
+ if (fetchCategoriesQueryContext?.isSuccess) {
143
+ categories = fetchCategoriesQueryContext?.data?.data?.categories;
144
+ }
145
+ cardobjassigner(categories);
146
+ }
147
+
148
+ if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
149
+ var categories = [];
150
+ if (fetchCategoriesQueryContext?.isSuccess) {
151
+ categories = fetchCategoriesQueryContext?.data?.data?.categories;
152
+ }
153
+ // if (fetchAuthorizationQueryContext?.isSuccess) {
154
+ // var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
155
+ // alert(JSON.stringify(categories));
156
+ var parentcollections = [];
157
+ categories?.forEach(function (catitem, catindex) {
158
+ catitem?.parentcolletions.forEach(function (parentcolitem) {
159
+ if (parentcolitem.isshowntocustomers == 1) {
160
+ parentcolitem.categoryid = catitem.categoryid;
161
+ parentcollections.push(parentcolitem);
162
+ }
163
+ });
164
+ });
165
+ if (fetchingtype == 'parentcollections') {
166
+ if (
167
+ sectionitem?.productsfetchingtypeparentcollectioncategoryid != null &&
168
+ sectionitem?.productsfetchingtypeparentcollectioncategoryid != undefined &&
169
+ sectionitem?.productsfetchingtypeparentcollectioncategoryid != 'all'
170
+ ) {
171
+ var arrafterfilter = [];
172
+ parentcollections.forEach(function (parentcolitem, parcolindex) {
173
+ if (parentcolitem.categoryid == sectionitem?.productsfetchingtypeparentcollectioncategoryid) {
174
+ arrafterfilter.push(parentcolitem);
175
+ }
176
+ });
177
+ parentcollections = arrafterfilter;
178
+ }
179
+ if (props.collectionidprops != null && props.collectionidprops != undefined && props.collectionidprops != 'all') {
180
+ var arrafterfilter = [];
181
+ parentcollections.forEach(function (parentcolitem, parcolindex) {
182
+ if (parentcolitem.categoryid == props.collectionidprops) {
183
+ arrafterfilter.push(parentcolitem);
184
+ }
185
+ });
186
+ parentcollections = arrafterfilter;
187
+ }
188
+ }
189
+
190
+ if (fetchingtype == 'innercategories') {
191
+ var arrafterfilter = [];
192
+ parentcollections.forEach(function (parentcolitem, parcolindex) {
193
+ if (parentcolitem.categoryid == props.collectionidprops) {
194
+ arrafterfilter.push(parentcolitem);
195
+ }
196
+ });
197
+ parentcollections = arrafterfilter;
198
+ }
199
+
200
+ cardobjassigner(parentcollections);
201
+ // }
202
+ } else if (fetchingtype == 'innerparentcollections') {
203
+ var categories = [];
204
+ if (fetchCategoriesQueryContext?.isSuccess) {
205
+ categories = fetchCategoriesQueryContext?.data?.data?.categories;
206
+ }
207
+ // if (fetchAuthorizationQueryContext?.isSuccess) {
208
+ // var categories = fetchAuthorizationQueryContext.data.data.instinfo.instcategories;
209
+ var collections = [];
210
+ categories?.forEach(function (catitem, catindex) {
211
+ catitem?.parentcolletions.forEach(function (parentcolitem) {
212
+ parentcolitem.categoryid = catitem.categoryid;
213
+ parentcolitem?.collections?.forEach(function (collitem, colindex) {
214
+ if (collitem.isshowntocustomers == 1) {
215
+ collitem.parentcollectionid = parentcolitem.parentcollectionid;
216
+ collections.push(collitem);
217
+ }
218
+ });
219
+ });
220
+ });
221
+ if (fetchingtype == 'innerparentcollections') {
222
+ var collectionsafterfilter = [];
223
+ collections.forEach(function (colitem, colindex) {
224
+ if (colitem.parentcollectionid == props.collectionidprops) {
225
+ var iscollexists = false;
226
+ collectionsafterfilter.forEach(function (existcolitem) {
227
+ if (colitem.collectionid == existcolitem.collectionid) {
228
+ iscollexists = true;
229
+ }
230
+ });
231
+ if (iscollexists == false) {
232
+ collectionsafterfilter.push(colitem);
233
+ }
234
+ }
235
+ });
236
+ collections = collectionsafterfilter;
237
+ }
238
+ cardobjassigner(collections);
239
+ // }
240
+ }
241
+ }
242
+ }, [fetchingtype, ProductsFetchingTypeSectionObj, fetchCategoriesQueryContext.isSuccess]);
243
+ useEffect(() => {
244
+ if (fetchingtype == 'products') {
245
+ if (fetchProductsQuery.isSuccess && fetchcustomercartQueryContext.isSuccess) {
246
+ var allpagesarr = [];
247
+ fetchProductsQuery?.data?.data?.products?.forEach((item) => {
248
+ allpagesarr.push(item);
249
+ });
250
+
251
+ cardobjassigner(allpagesarr);
252
+ }
253
+ }
254
+ }, [fetchProductsQuery?.isSuccess, fetchProductsQuery?.dataUpdatedAt, fetchProductsQuery?.data, fetchcustomercartQueryContext?.dataUpdatedAt]);
255
+ useEffect(() => {
256
+ if (fetchingtype == 'collections') {
257
+ if (fetchcollectionsQueryContext.isSuccess) {
258
+ cardobjassigner(fetchcollectionsQueryContext.data.data.collections);
259
+ }
260
+ }
261
+ }, [fetchcollectionsQueryContext?.isSuccess, fetchcollectionsQueryContext.data]);
262
+ useEffect(() => {
263
+ if (fetchingtype == 'vendors') {
264
+ if (FetchVendorsQuery.isSuccess) {
265
+ if (FetchVendorsQuery.data.data.vendors != undefined && FetchVendorsQuery.data.data.vendors.length != 0) {
266
+ cardobjassigner(FetchVendorsQuery?.data?.data?.vendors);
267
+ }
268
+ }
269
+ }
270
+ }, [FetchVendorsQuery.isSuccess]);
271
+ useEffect(() => {
272
+ favassigner();
273
+ }, [favoriteprojectscountContext]);
274
+
275
+ const favassigner = () => {
276
+ if (fetchingtype == 'products') {
277
+ if (cardsarray.length != 0) {
278
+ if (favoriteprojectscountContext != undefined && Array.isArray(favoriteprojectscountContext)) {
279
+ var tempcardsarray = [...cardsarray];
280
+ tempcardsarray.forEach(function (arrayItem, arrayindex) {
281
+ arrayItem.IsFavExists = false;
282
+ });
283
+ tempcardsarray.forEach(function (arrayItem, arrayindex) {
284
+ favoriteprojectscountContext.forEach(function (favitem, favindex) {
285
+ if (arrayItem.productid == favitem) {
286
+ arrayItem.IsFavExists = true;
287
+ }
288
+ });
289
+ });
290
+ setcardsarray([...tempcardsarray]);
291
+ }
292
+ }
293
+ }
294
+ };
295
+ const cardobjassigner = (fetchedarray) => {
296
+ var temparray = [];
297
+
298
+ fetchedarray.forEach(function (arrayItem, arrayindex) {
299
+ var cardobj = {
300
+ name: '',
301
+ image: '',
302
+ };
303
+ if (fetchingtype == 'products') {
304
+ var itemquantity = 0;
305
+ if (langdetect == 'en') {
306
+ cardobj.name = arrayItem.productinfo.name_en;
307
+ cardobj.name_en = arrayItem.productinfo.name_en;
308
+ } else {
309
+ cardobj.name = arrayItem.productinfo.name_ar;
310
+ cardobj.name_ar = arrayItem.productinfo.name_ar;
311
+ }
312
+ if (langdetect == 'en') {
313
+ cardobj.description = arrayItem.productinfo.description_en;
314
+ } else {
315
+ cardobj.description = arrayItem.productinfo.description_ar;
316
+ }
317
+ if (langdetect == 'en') {
318
+ cardobj.shortdescription = arrayItem.short_description_en;
319
+ } else {
320
+ cardobj.shortdescription = arrayItem.short_description_ar;
321
+ }
322
+
323
+ if (arrayItem.productinfo.hasvariants == 0) {
324
+ fetchcustomercartQueryContext.data.data.customercart.cartitems.forEach(function (cartitem, cartindex) {
325
+ if (cartitem.productid == arrayItem.productinfo.productid) {
326
+ itemquantity = cartitem.quantity;
327
+ }
328
+ });
329
+ }
330
+ cardobj.image = arrayItem.productinfo.productmainimage;
331
+ cardobj.producttags = arrayItem.tags;
332
+ if (langdetect == 'en') {
333
+ cardobj.productfeature = arrayItem?.features?.value_en;
334
+ } else {
335
+ cardobj.productfeature = arrayItem?.features?.value_ar;
336
+ }
337
+ cardobj.productfeatureid = arrayItem?.features?.featureid;
338
+
339
+ cardobj.productendpointurl = arrayItem.productinfo.productendpointurl;
340
+ cardobj.hassale = arrayItem.productinfo.hassale;
341
+ cardobj.productid = arrayItem.productinfo.productid;
342
+ cardobj.hasvariants = arrayItem.productinfo.hasvariants;
343
+ cardobj.description_en = arrayItem.productinfo.description_en;
344
+ cardobj.description_ar = arrayItem.productinfo.description_ar;
345
+ cardobj.defaultprice = arrayItem.productinfo.defaultprice;
346
+ cardobj.defaultsaleprice = arrayItem.productinfo.defaultsaleprice;
347
+ cardobj.productimages = arrayItem.productinfo.productimages;
348
+ cardobj.quantity = itemquantity;
349
+ // cardobj.currentquantity = currentquantity;
350
+ cardobj.timestamp = arrayItem.productinfo.timestamp;
351
+ cardobj.productquantity = arrayItem.productinfo.productquantity;
352
+ cardobj.currentquantity = arrayItem.productinfo.currentquantity;
353
+ cardobj.quantavailtype = arrayItem.productinfo.quantavailtype;
354
+ cardobj.isproducttobesold = arrayItem.productinfo.isproducttobesold;
355
+ cardobj.measurmentunit = arrayItem.productinfo.measurmentunit;
356
+ cardobj.prodaffpercentprofit = arrayItem.productinfo.prodaffpercentprofit;
357
+ cardobj.productcashbackvalue = arrayItem.productinfo.productcashbackvalue;
358
+ cardobj.product_phonenumber = arrayItem.productinfo.product_phonenumber;
359
+ cardobj.productcanrate = arrayItem.productinfo.productcanrate;
360
+ cardobj.sku = arrayItem.productinfo.sku;
361
+
362
+ if (langdetect == 'en') {
363
+ cardobj.currencyname = fetchAuthorizationQueryContext?.data?.data?.currencyname_en;
364
+ } else {
365
+ cardobj.currencyname = fetchAuthorizationQueryContext?.data?.data?.currencyname_ar;
366
+ }
367
+ if (favoriteprojectscountContext != undefined && favoriteprojectscountContext.length != 0) {
368
+ favoriteprojectscountContext.forEach(function (favitem, favindex) {
369
+ if (arrayItem.productinfo.productid == favitem) {
370
+ cardobj.IsFavExists = true;
371
+ }
372
+ });
373
+ }
374
+ } else if (fetchingtype == 'collections' || fetchingtype == 'innerparentcollections') {
375
+ cardobj.collectionid = arrayItem.collectionid;
376
+ cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
377
+ if (langdetect == 'en') {
378
+ cardobj.name = arrayItem.title_en;
379
+ cardobj.name_en = arrayItem.title_en;
380
+ cardobj.description = arrayItem.description_en;
381
+ } else if (langdetect == 'ar') {
382
+ cardobj.name = arrayItem.title_en;
383
+ cardobj.name_ar = arrayItem.title_ar;
384
+ cardobj.description = arrayItem.description_ar;
385
+ }
386
+ cardobj.image = arrayItem.collectionlogo;
387
+ cardobj.producttags = [];
388
+ cardobj.productfeatures = [];
389
+ } else if (fetchingtype == 'categories') {
390
+ cardobj.collectionid = arrayItem.categoryid;
391
+ cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
392
+ if (langdetect == 'en') {
393
+ cardobj.name = arrayItem.title_en;
394
+ cardobj.name_en = arrayItem.title_en;
395
+ cardobj.description = arrayItem.description_en;
396
+ } else if (langdetect == 'ar') {
397
+ cardobj.name = arrayItem.title_ar;
398
+ cardobj.name_ar = arrayItem.title_ar;
399
+ cardobj.description = arrayItem.description_ar;
400
+ }
401
+ cardobj.image = arrayItem.categorylogo;
402
+ cardobj.producttags = [];
403
+ cardobj.productfeatures = [];
404
+ } else if (fetchingtype == 'parentcollections' || fetchingtype == 'innercategories') {
405
+ cardobj.collectionid = arrayItem.parentcollectionid;
406
+ cardobj.skiplayeronclick = arrayItem?.skiplayeronclick;
407
+ if (langdetect == 'en') {
408
+ cardobj.name = arrayItem.title_en;
409
+ cardobj.name_en = arrayItem.title_en;
410
+ cardobj.description = arrayItem.description_en;
411
+ } else if (langdetect == 'ar') {
412
+ cardobj.name = arrayItem.title_ar;
413
+ cardobj.name_ar = arrayItem.title_ar;
414
+ cardobj.description = arrayItem.description_ar;
415
+ }
416
+ cardobj.image = arrayItem.parentcollectionlogo;
417
+ cardobj.producttags = [];
418
+ cardobj.productfeatures = [];
419
+ } else if (fetchingtype == 'custom') {
420
+ cardobj.producttags = [];
421
+ cardobj.productfeatures = [];
422
+ } else if (fetchingtype == 'vendors') {
423
+ cardobj.name = arrayItem.vendorname;
424
+ cardobj.collectionid = arrayItem.vendorid;
425
+ cardobj.image = arrayItem.vendorlogourl;
426
+ cardobj.producttags = [];
427
+ cardobj.productfeatures = [];
428
+ }
429
+ temparray.push(cardobj);
430
+ });
431
+
432
+ setcardsarray([...temparray]);
433
+ };
434
+ const section_cssstyles = {
435
+ sectiontitlespan: css({
436
+ ':after': {
437
+ height: '5px',
438
+ width: sectionproperties.sectitle_lineafterwidth + '%',
439
+ backgroundColor: sectionproperties.linebgcolor,
440
+ },
441
+ }),
442
+ line_left: css({
443
+ height: '1px',
444
+ position: 'relative',
445
+ flex: '1 1 auto',
446
+ minWidth: '10%',
447
+ background: sectionproperties.linebgcolor,
448
+ }),
449
+ line_right: css({
450
+ height: '1px',
451
+ position: 'relative',
452
+ flex: '1 1 auto',
453
+ minWidth: '10%',
454
+ background: sectionproperties.linebgcolor,
455
+ }),
456
+ cards_sections: css({
457
+ marginTop: sectionproperties.marginTop + 'px',
458
+ marginBottom: sectionproperties.marginBottom + 'px',
459
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
460
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
461
+ paddingTop: sectionproperties.paddingTop + 'px',
462
+ paddingBottom: sectionproperties.paddingBottom + 'px',
463
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
464
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
465
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
466
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
467
+ borderColor: sectionproperties.sectioncardbordercolor,
468
+ border: sectionproperties.sectioncardborderwidth + 'px solid',
469
+ '@media (max-width: 800px)': {
470
+ paddingTop: sectionproperties.paddingverticalresponsive + 'px',
471
+ paddingBottom: sectionproperties.paddingverticalresponsive + 'px',
472
+ },
473
+ }),
474
+ viewmorebtn: css({
475
+ width: sectionproperties.viewmorebtn_Width + 'px',
476
+ height: sectionproperties.viewmorebtn_Height + 'px',
477
+ background: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColor,
478
+ borderRadius: sectionproperties.viewmorebtn_borderBottomLeftRadius + 'px',
479
+ color: sectionproperties.viewmorebtn_Textcolor,
480
+ fontSize: sectionproperties.viewmorebtn_fontSize + 'px',
481
+ fontWeight: sectionproperties.viewmorebtn_fontWeight,
482
+ textDecoration: sectionproperties.viewmorebtn_bgtransparent == 'Transparent' ? 'underline' : 'none',
483
+ transition: '.3s',
484
+ ':hover': {
485
+ background: sectionproperties.viewmorebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.viewmorebtn_bgColoronhover,
486
+ color: sectionproperties.viewmorebtn_Textcoloronhover,
487
+ },
488
+ }),
489
+ collectionname: css({
490
+ fontSize: sectionproperties.generaltext_fontSize + 'px',
491
+ color: sectionproperties.generaltext_fontColor,
492
+ textTransform: sectionproperties.generaltext_textTransform,
493
+ fontWeight: sectionproperties.generaltext_fontWeight,
494
+ }),
495
+ collectioncardbutton: css({
496
+ width: sectionproperties.generalbtn_width + 'px',
497
+ height: sectionproperties.generalbtn_height + 'px',
498
+ background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
499
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
500
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
501
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
502
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
503
+ fontWeight: sectionproperties.generalbtn_fontweight,
504
+ color: sectionproperties.generalbtn_textColor,
505
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
506
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
507
+ cursor: 'pointer',
508
+ transition: '.3s',
509
+ ':hover': {
510
+ background: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
511
+ color: sectionproperties.generalbtn_textColoronhover,
512
+ },
513
+ }),
514
+ cardcont: css({
515
+ ':hover .collectioncardbutton': {
516
+ color: sectionproperties.generalbtn_textColoronhover,
517
+ },
518
+ }),
519
+ bgcontainer: css({
520
+ ':before': {
521
+ content: 's',
522
+ position: 'absolute',
523
+ top: 0,
524
+ right: 0,
525
+ bottom: 0,
526
+ left: 0,
527
+ fontSize: 0,
528
+ width: '100%',
529
+ height: '100%',
530
+ backgroundColor: 'rgba(0,0,0,' + sectionproperties.darknessopacity + ')',
531
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
532
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
533
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
534
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
535
+ },
536
+ }),
537
+ imageoutercont: css({
538
+ height: sectionproperties.image_height == 0 ? '100%' : sectionproperties.image_height + 'vh',
539
+ '@media (max-width: 800px)': {
540
+ height: '30vh',
541
+ },
542
+ }),
543
+ imageoutercont2: css({
544
+ height: sectionproperties.image_height2 == 0 ? '100%' : sectionproperties.image_height2 + 'vh',
545
+ '@media (max-width: 800px)': {
546
+ height: '25vh',
547
+ },
548
+ }),
549
+ };
550
+ const cardsrender = () => {
551
+ return (
552
+ <div class={'row m-0 w-100'}>
553
+ {!fetchProductsQuery.isFetching && cardsarray.length == 0 && (
554
+ <div class="row m-0 w-100 d-flex align-items-center" style={{ height: '45vh' }}>
555
+ <div className="col-lg-12 text-light d-flex align-items-center justify-content-center flex-column">
556
+ <FiLayers
557
+ style={{
558
+ fontSize: sectionproperties.noprod_iconfontSize + 'px',
559
+ color: sectionproperties.noprod_iconcolor,
560
+ }}
561
+ />
562
+ <p
563
+ style={{
564
+ fontSize: sectionproperties.noprod_fontSize + 'px',
565
+ fontWeight: sectionproperties.noprod_fontWeight,
566
+ textTransform: sectionproperties.noprod_textTransform,
567
+ color: sectionproperties.noprod_color,
568
+ }}
569
+ >
570
+ {langdetect == 'en' ? 'No Collections Found' : 'لا توجد مجموعات'}
571
+ </p>
572
+ </div>
573
+ </div>
574
+ )}
575
+ {cardsarray.length != 0 && sectionproperties.length != 0 && (
576
+ <div class="row m-0 w-100 d-flex align-items-center p-sm-0">
577
+ <div
578
+ class="row ml-0 mr-0 w-100 pl-md-1 pr-md-1 pl-sm-2 pr-sm-2"
579
+ style={{
580
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
581
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
582
+ paddingLeft: sectionproperties.sectionTitleMarginLeft + 'px',
583
+ paddingRight: sectionproperties.sectionTitleMarginRight + 'px',
584
+ }}
585
+ >
586
+ {sectionproperties.sectiontitleshow == 'Show' && (
587
+ <div
588
+ class={
589
+ sectionproperties.viewmorebtnshow == 'Show'
590
+ ? ' col-lg-6 col-md-6 col-sm-6 d-flex align-items-center p-0 '
591
+ : ' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0 '
592
+ }
593
+ >
594
+ <div
595
+ class={`${generalstyles.sectiontitlecont}` + ' col-lg-12 p-0 d-flex align-items-center mb-auto '}
596
+ style={{
597
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
598
+ }}
599
+ >
600
+ <div
601
+ class="d-flex align-items-center flex-row"
602
+ style={{
603
+ position: 'relative',
604
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
605
+ width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
606
+ }}
607
+ >
608
+ {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_left + ' d-sm-none '}></span>}
609
+ <p
610
+ class={`${section_cssstyles.sectiontitlespan}` + ' mb-auto mb-0 pb-0 font-sm-18 font-md-20 wordbreak d-flex align-items-center justify-content-start '}
611
+ style={{
612
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
613
+ color: sectionproperties.sectionTitleColor,
614
+ fontWeight: sectionproperties.sectionTitleFontWeight,
615
+ paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
616
+ paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
617
+ }}
618
+ >
619
+ {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
620
+ </p>
621
+ {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={section_cssstyles.line_right + ' d-sm-none '}></span>}
622
+ </div>
623
+ </div>
624
+ </div>
625
+ )}
626
+
627
+ {sectionproperties.showseparator == 'Show' && (
628
+ <div class="col-lg-12 p-0">
629
+ <hr class="mt-2 mb-2" style={{ borderColor: sectionproperties.upperseparatorbgcolor }} />
630
+ </div>
631
+ )}
632
+ </div>
633
+ <div
634
+ class={
635
+ sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
636
+ ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 pr-md-2 '
637
+ : sectionproperties.paddingRight != 0
638
+ ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pr-md-2 '
639
+ : sectionproperties.paddingLeft != 0
640
+ ? section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center pl-md-2 '
641
+ : section_cssstyles.cards_sections + ' row ml-0 mr-0 d-flex w-100 justify-content-center align-items-center '
642
+ }
643
+ >
644
+ {authdetailsContext?.instinfo?.contactinfo.instid != '672258d7826b4' && (
645
+ <div class="row m-0 w-100 ">
646
+ <div
647
+ class={
648
+ sectionproperties.imagepadding == 0
649
+ ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer '
650
+ : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer '
651
+ }
652
+ style={{
653
+ paddingLeft: sectionproperties.imagepadding + 'px',
654
+ paddingRight: sectionproperties.imagepadding + 'px',
655
+ }}
656
+ onClick={() => {
657
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[0]?.collectionid);
658
+ }}
659
+ >
660
+ <div
661
+ class="row m-0 w-100"
662
+ style={{
663
+ width: '100%',
664
+ height: sectionproperties.image_height == 0 ? '100%' : sectionproperties.image_height + 'vh',
665
+ }}
666
+ >
667
+ <div
668
+ class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
669
+ style={{
670
+ width: '100%',
671
+ height: '100%',
672
+ }}
673
+ >
674
+ <Imagekitimagecomp
675
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
676
+ publicKey={ikimagecredcontext?.ikimagepublickey}
677
+ path={cardsarray[0]?.image}
678
+ loading="lazy"
679
+ style={{
680
+ width: '100%',
681
+ height: '100%',
682
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
683
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
684
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
685
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
686
+ objectFit: 'cover',
687
+ zIndex: 1,
688
+ }}
689
+ />
690
+ </div>
691
+ <div style={{ position: 'absolute', zIndex: 1000, height: '100%', width: '100%', zIndex: 5 }}>
692
+ <div class="row m-0 w-100 p-3">
693
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
694
+ <p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{langdetect == 'en' ? cardsarray[0]?.name_en : cardsarray[0]?.name_ar}</p>
695
+ </div>
696
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
697
+ <p class={section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '}>
698
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
699
+ </p>
700
+ </div>
701
+ </div>
702
+ </div>
703
+ </div>
704
+ </div>
705
+ <div class={'col-lg-6 pl-0 pr-0'}>
706
+ <div class="row m-0 w-100">
707
+ <div
708
+ class={
709
+ sectionproperties.imagepadding == 0
710
+ ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer '
711
+ : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer '
712
+ }
713
+ onClick={() => {
714
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[1]?.collectionid);
715
+ }}
716
+ style={{
717
+ paddingLeft: sectionproperties.imagepadding + 'px',
718
+ paddingRight: sectionproperties.imagepadding + 'px',
719
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem',
720
+ }}
721
+ >
722
+ <div
723
+ class="row m-0 w-100"
724
+ style={{
725
+ width: '100%',
726
+ height: sectionproperties.image2_height == 0 ? '100%' : sectionproperties.image2_height + 'vh',
727
+ }}
728
+ >
729
+ <div
730
+ class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
731
+ style={{
732
+ width: '100%',
733
+ height: '100%',
734
+ }}
735
+ >
736
+ <Imagekitimagecomp
737
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
738
+ publicKey={ikimagecredcontext?.ikimagepublickey}
739
+ path={cardsarray[1]?.image}
740
+ loading="lazy"
741
+ style={{
742
+ width: '100%',
743
+ height: '100%',
744
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
745
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
746
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
747
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
748
+ objectFit: 'cover',
749
+ zIndex: 1,
750
+ }}
751
+ />
752
+ </div>
753
+ <div style={{ position: 'absolute', zIndex: 1000, bottom: 20, left: 0, right: 0, margin: 'auto', zIndex: 5 }}>
754
+ <div class="row m-0 w-100 p-3 mt-auto">
755
+ <div class="col-lg-12 p-0 d-flex justify-content-center">
756
+ <p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{langdetect == 'en' ? cardsarray[1]?.name_en : cardsarray[1]?.name_ar}</p>
757
+ </div>
758
+ <div class="col-lg-12 p-0 d-flex justify-content-center">
759
+ <p class={section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '}>
760
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
761
+ </p>
762
+ </div>
763
+ </div>
764
+ </div>
765
+ </div>
766
+ </div>
767
+ <div
768
+ class={
769
+ sectionproperties.imagepadding == 0
770
+ ? section_cssstyles.cardcont + ' col-lg-6 p-md-0 cursor-pointer '
771
+ : section_cssstyles.cardcont + ' col-lg-6 p-md-0 mb-md-3 cursor-pointer '
772
+ }
773
+ style={{
774
+ paddingLeft: sectionproperties.imagepadding + 'px',
775
+ paddingRight: sectionproperties.imagepadding + 'px',
776
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem',
777
+ }}
778
+ onClick={() => {
779
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[2]?.collectionid);
780
+ }}
781
+ >
782
+ <div
783
+ class="row m-0 w-100"
784
+ style={{
785
+ width: '100%',
786
+ height: sectionproperties.image2_height == 0 ? '100%' : sectionproperties.image2_height + 'vh',
787
+ }}
788
+ >
789
+ <div
790
+ class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
791
+ style={{
792
+ width: '100%',
793
+ height: '100%',
794
+ }}
795
+ >
796
+ <Imagekitimagecomp
797
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
798
+ publicKey={ikimagecredcontext?.ikimagepublickey}
799
+ path={cardsarray[2]?.image}
800
+ loading="lazy"
801
+ style={{
802
+ width: '100%',
803
+ height: '100%',
804
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
805
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
806
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
807
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
808
+ objectFit: 'cover',
809
+ zIndex: 1,
810
+ }}
811
+ />
812
+ </div>
813
+ <div style={{ position: 'absolute', zIndex: 1000, bottom: 20, left: 0, right: 0, margin: 'auto', zIndex: 5 }}>
814
+ <div class="row m-0 w-100 p-3 mt-auto">
815
+ <div class="col-lg-12 p-0 d-flex justify-content-center">
816
+ <p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{langdetect == 'en' ? cardsarray[2]?.name_en : cardsarray[2]?.name_ar}</p>
817
+ </div>
818
+ <div class="col-lg-12 p-0 d-flex justify-content-center">
819
+ <p class={section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '}>
820
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
821
+ </p>
822
+ </div>
823
+ </div>
824
+ </div>
825
+ </div>
826
+ </div>
827
+ <div
828
+ class={
829
+ sectionproperties.imagepadding == 0
830
+ ? section_cssstyles.cardcont + ' col-lg-7 p-md-0 cursor-pointer '
831
+ : section_cssstyles.cardcont + ' col-lg-7 p-md-0 mb-md-3 cursor-pointer '
832
+ }
833
+ onClick={() => {
834
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[3]?.collectionid);
835
+ }}
836
+ style={{
837
+ paddingLeft: sectionproperties.imagepadding + 'px',
838
+ paddingRight: sectionproperties.imagepadding + 'px',
839
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem',
840
+ }}
841
+ >
842
+ <div
843
+ class="row m-0 w-100"
844
+ style={{
845
+ width: '100%',
846
+ height: sectionproperties.image2_height == 0 ? '100%' : sectionproperties.image2_height + 'vh',
847
+ }}
848
+ >
849
+ <div
850
+ class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
851
+ style={{
852
+ width: '100%',
853
+ height: '100%',
854
+ }}
855
+ >
856
+ <Imagekitimagecomp
857
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
858
+ publicKey={ikimagecredcontext?.ikimagepublickey}
859
+ path={cardsarray[3]?.image}
860
+ loading="lazy"
861
+ style={{
862
+ width: '100%',
863
+ height: '100%',
864
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
865
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
866
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
867
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
868
+ objectFit: 'cover',
869
+ zIndex: 1,
870
+ }}
871
+ />
872
+ </div>
873
+ <div
874
+ class="allcentered"
875
+ style={{
876
+ position: 'absolute',
877
+ zIndex: 1000,
878
+ height: '100%',
879
+ width: '100%',
880
+ bottom: 0,
881
+ top: 0,
882
+ left: 0,
883
+ right: 0,
884
+ margin: 'auto',
885
+ zIndex: 5,
886
+ }}
887
+ >
888
+ <div class="row m-0 w-100 p-3 mt-auto mb-auto">
889
+ <div class="col-lg-12 p-0 d-flex justify-content-center">
890
+ <p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{langdetect == 'en' ? cardsarray[3]?.name_en : cardsarray[3]?.name_ar}</p>
891
+ </div>
892
+ <div class="col-lg-12 p-0 d-flex justify-content-center">
893
+ <p class={section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '}>
894
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
895
+ </p>
896
+ </div>
897
+ </div>
898
+ </div>
899
+ </div>
900
+ </div>
901
+ <div
902
+ class={section_cssstyles.cardcont + ' col-lg-5 p-md-0 mb-md-3 cursor-pointer '}
903
+ style={{
904
+ paddingLeft: sectionproperties.imagepadding + 'px',
905
+ paddingRight: sectionproperties.imagepadding + 'px',
906
+ }}
907
+ onClick={() => {
908
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[4]?.collectionid);
909
+ }}
910
+ >
911
+ <div
912
+ class="row m-0 w-100"
913
+ style={{
914
+ width: '100%',
915
+ height: sectionproperties.image2_height == 0 ? '100%' : sectionproperties.image2_height + 'vh',
916
+ }}
917
+ >
918
+ <div
919
+ class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
920
+ style={{
921
+ width: '100%',
922
+ height: '100%',
923
+ }}
924
+ >
925
+ <Imagekitimagecomp
926
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
927
+ publicKey={ikimagecredcontext?.ikimagepublickey}
928
+ path={cardsarray[4]?.image}
929
+ loading="lazy"
930
+ style={{
931
+ width: '100%',
932
+ height: '100%',
933
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
934
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
935
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
936
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
937
+ objectFit: 'cover',
938
+ zIndex: 1,
939
+ }}
940
+ />
941
+ </div>
942
+ <div style={{ position: 'absolute', zIndex: 1000, width: '100%', bottom: 10, zIndex: 5 }}>
943
+ <div class="row m-0 w-100 p-3 d-flex justify-content-end">
944
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
945
+ <p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{langdetect == 'en' ? cardsarray[4]?.name_en : cardsarray[4]?.name_ar}</p>
946
+ </div>
947
+ <div class="col-lg-12 p-0 d-flex justify-content-start">
948
+ <p class={section_cssstyles.collectioncardbutton + ' m-0 p-0 allcentered collectioncardbutton '}>
949
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
950
+ </p>
951
+ </div>
952
+ </div>
953
+ </div>
954
+ </div>
955
+ </div>
956
+ </div>
957
+ </div>
958
+ </div>
959
+ )}
960
+ {authdetailsContext?.instinfo?.contactinfo.instid == '672258d7826b4' && (
961
+ <div class="row m-0 w-100 ">
962
+ <div
963
+ class={
964
+ sectionproperties.imagepadding == 0
965
+ ? section_cssstyles.cardcont + ' col-6 p-md-0 cursor-pointer '
966
+ : section_cssstyles.cardcont + ' col-6 p-md-0 mb-md-3 cursor-pointer '
967
+ }
968
+ >
969
+ <div class="row m-0 w-100">
970
+ <div
971
+ class="col-12 cursor-pointer"
972
+ onClick={() => {
973
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[0]?.collectionid);
974
+ }}
975
+ style={{
976
+ paddingLeft: sectionproperties.imagepadding + 'px',
977
+ paddingRight: sectionproperties.imagepadding + 'px',
978
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem',
979
+ }}
980
+ >
981
+ <div
982
+ class={section_cssstyles.imageoutercont + ' row m-0 w-100 '}
983
+ style={{
984
+ width: '100%',
985
+ }}
986
+ >
987
+ <div
988
+ class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
989
+ style={{
990
+ width: '100%',
991
+ height: '100%',
992
+ }}
993
+ >
994
+ <Imagekitimagecomp
995
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
996
+ publicKey={ikimagecredcontext?.ikimagepublickey}
997
+ path={cardsarray[0]?.image}
998
+ loading="lazy"
999
+ style={{
1000
+ width: '100%',
1001
+ height: '100%',
1002
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
1003
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
1004
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
1005
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
1006
+ objectFit: 'cover',
1007
+ zIndex: 1,
1008
+ }}
1009
+ />
1010
+ </div>
1011
+ <div
1012
+ class={section_cssstyles.imageoutercont}
1013
+ style={{
1014
+ position: 'absolute',
1015
+ zIndex: 1000,
1016
+ // height: sectionproperties.image_height == 0 ? '100%' : sectionproperties.image_height + 'vh',
1017
+ width: '100%',
1018
+ zIndex: 5,
1019
+ left: 0,
1020
+ }}
1021
+ >
1022
+ <div class="row m-0 w-100 p-3 w-100 h-100 allcentered">
1023
+ <div class="col-lg-12 p-0 d-flex allcentered h-100">
1024
+ <p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{langdetect == 'en' ? cardsarray[0]?.name_en : cardsarray[0]?.name_ar}</p>
1025
+ </div>
1026
+ {/* <div class="col-lg-12 p-0 d-flex justify-content-start">
1027
+ <p class={section_cssstyles.collectioncardbutton + ' collectioncardbutton m-0 p-0 allcentered '}>
1028
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1029
+ </p>
1030
+ </div> */}
1031
+ </div>
1032
+ </div>
1033
+ </div>
1034
+ </div>
1035
+ <div
1036
+ class="col-12 cursor-pointer"
1037
+ onClick={() => {
1038
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[2]?.collectionid);
1039
+ }}
1040
+ style={{
1041
+ paddingLeft: sectionproperties.imagepadding + 'px',
1042
+ paddingRight: sectionproperties.imagepadding + 'px',
1043
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem',
1044
+ }}
1045
+ >
1046
+ <div
1047
+ class={section_cssstyles.imageoutercont2 + ' row m-0 w-100 '}
1048
+ style={{
1049
+ width: '100%',
1050
+ }}
1051
+ >
1052
+ <div
1053
+ class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
1054
+ style={{
1055
+ width: '100%',
1056
+ height: '100%',
1057
+ }}
1058
+ >
1059
+ <Imagekitimagecomp
1060
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1061
+ publicKey={ikimagecredcontext?.ikimagepublickey}
1062
+ path={cardsarray[2]?.image}
1063
+ loading="lazy"
1064
+ style={{
1065
+ width: '100%',
1066
+ height: '100%',
1067
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
1068
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
1069
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
1070
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
1071
+ objectFit: 'cover',
1072
+ zIndex: 1,
1073
+ }}
1074
+ />
1075
+ </div>
1076
+ <div
1077
+ class={section_cssstyles.imageoutercont2}
1078
+ style={{
1079
+ position: 'absolute',
1080
+ zIndex: 1000,
1081
+ width: '100%',
1082
+ zIndex: 5,
1083
+ left: 0,
1084
+ }}
1085
+ >
1086
+ <div class="row m-0 w-100 p-3 w-100 h-100 allcentered">
1087
+ <div class="col-lg-12 p-0 d-flex allcentered h-100">
1088
+ <p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{langdetect == 'en' ? cardsarray[2]?.name_en : cardsarray[2]?.name_ar}</p>
1089
+ </div>
1090
+ </div>
1091
+ </div>
1092
+ </div>
1093
+ </div>
1094
+ </div>
1095
+ </div>
1096
+ <div class={'col-6 pl-0 pr-0'}>
1097
+ <div class="row m-0 w-100">
1098
+ <div
1099
+ class="col-12 cursor-pointer"
1100
+ onClick={() => {
1101
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[1]?.collectionid);
1102
+ }}
1103
+ style={{
1104
+ paddingLeft: sectionproperties.imagepadding + 'px',
1105
+ paddingRight: sectionproperties.imagepadding + 'px',
1106
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem',
1107
+ }}
1108
+ >
1109
+ <div
1110
+ class={section_cssstyles.imageoutercont2 + ' row m-0 w-100 '}
1111
+ style={{
1112
+ width: '100%',
1113
+ }}
1114
+ >
1115
+ <div
1116
+ class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
1117
+ style={{
1118
+ width: '100%',
1119
+ height: '100%',
1120
+ }}
1121
+ >
1122
+ <Imagekitimagecomp
1123
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1124
+ publicKey={ikimagecredcontext?.ikimagepublickey}
1125
+ path={cardsarray[1]?.image}
1126
+ loading="lazy"
1127
+ style={{
1128
+ width: '100%',
1129
+ height: '100%',
1130
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
1131
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
1132
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
1133
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
1134
+ objectFit: 'cover',
1135
+ zIndex: 1,
1136
+ }}
1137
+ />
1138
+ </div>
1139
+ <div
1140
+ class={section_cssstyles.imageoutercont2}
1141
+ style={{
1142
+ position: 'absolute',
1143
+ zIndex: 1000,
1144
+ width: '100%',
1145
+ zIndex: 5,
1146
+ left: 0,
1147
+ }}
1148
+ >
1149
+ <div class="row m-0 w-100 p-3 w-100 h-100 allcentered">
1150
+ <div class="col-lg-12 p-0 d-flex allcentered h-100">
1151
+ <p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{langdetect == 'en' ? cardsarray[1]?.name_en : cardsarray[1]?.name_ar}</p>
1152
+ </div>
1153
+ </div>
1154
+ </div>
1155
+ </div>
1156
+ </div>
1157
+ <div
1158
+ class="col-12 cursor-pointer"
1159
+ onClick={() => {
1160
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + cardsarray[3]?.collectionid);
1161
+ }}
1162
+ style={{
1163
+ paddingLeft: sectionproperties.imagepadding + 'px',
1164
+ paddingRight: sectionproperties.imagepadding + 'px',
1165
+ marginBottom: sectionproperties.imagepadding == 0 ? 0 : '1rem',
1166
+ }}
1167
+ >
1168
+ <div
1169
+ class={section_cssstyles.imageoutercont + ' row m-0 w-100 '}
1170
+ style={{
1171
+ width: '100%',
1172
+ }}
1173
+ >
1174
+ <div
1175
+ class={section_cssstyles.bgcontainer + ' col-lg-12 p-0 '}
1176
+ style={{
1177
+ width: '100%',
1178
+ height: '100%',
1179
+ }}
1180
+ >
1181
+ <Imagekitimagecomp
1182
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1183
+ publicKey={ikimagecredcontext?.ikimagepublickey}
1184
+ path={cardsarray[3]?.image}
1185
+ loading="lazy"
1186
+ style={{
1187
+ width: '100%',
1188
+ height: '100%',
1189
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
1190
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
1191
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
1192
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
1193
+ objectFit: 'cover',
1194
+ zIndex: 1,
1195
+ }}
1196
+ />
1197
+ </div>
1198
+ <div
1199
+ class={section_cssstyles.imageoutercont}
1200
+ style={{
1201
+ position: 'absolute',
1202
+ zIndex: 1000,
1203
+ width: '100%',
1204
+ zIndex: 5,
1205
+ left: 0,
1206
+ }}
1207
+ >
1208
+ <div class="row m-0 w-100 p-3 w-100 h-100 allcentered">
1209
+ <div class="col-lg-12 p-0 d-flex allcentered h-100">
1210
+ <p class={section_cssstyles.collectionname + ' m-0 p-0 '}>{langdetect == 'en' ? cardsarray[3]?.name_en : cardsarray[3]?.name_ar}</p>
1211
+ </div>
1212
+ </div>
1213
+ </div>
1214
+ </div>
1215
+ </div>
1216
+ </div>
1217
+ </div>
1218
+ </div>
1219
+ )}
1220
+ </div>
1221
+ </div>
1222
+ )}
1223
+ </div>
1224
+ );
1225
+ };
1226
+ return (
1227
+ <div
1228
+ class="row m-0 d-flex w-100 justify-content-center"
1229
+ style={{
1230
+ zIndex: 2,
1231
+ background: sectionproperties.backgroundColor,
1232
+ }}
1233
+ >
1234
+ {sectionproperties.length != 0 && <div class={' row ml-0 mr-0 d-flex justify-content-center w-md-100 h-md-100 w-100 '}>{cardsrender()}</div>}
1235
+ </div>
1236
+ );
1237
+ };
1238
+ export default RandomlyStructuredCollectionCards;