tabexseriescomponents 0.2.1280 → 0.2.1281

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 (389) hide show
  1. package/dist/index.cjs.js +27 -0
  2. package/dist/index.esm.js +27 -0
  3. package/dist/index.umd.js +27 -0
  4. package/package.json +1 -1
  5. package/srcbefore27-11/Contexts/LanguageContext.jsx +0 -408
  6. package/srcbefore27-11/Contexts/ProductsCardsSectionContext.jsx +0 -36
  7. package/srcbefore27-11/Imagekitconfig copy.jsx +0 -46
  8. package/srcbefore27-11/Imagekitconfig.jsx +0 -178
  9. package/srcbefore27-11/StylesJS/Customstyles.js +0 -456
  10. package/srcbefore27-11/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -538
  11. package/srcbefore27-11/TabexComponents/Cards/Card20/Card20.jsx +0 -299
  12. package/srcbefore27-11/TabexComponents/Cards/Card21/Card21.jsx +0 -388
  13. package/srcbefore27-11/TabexComponents/Cards/Card22/Card22.jsx +0 -288
  14. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -1630
  15. package/srcbefore27-11/TabexComponents/Cards/Card23/Card23.jsx +0 -733
  16. package/srcbefore27-11/TabexComponents/Cards/CardAll/CardAll.jsx +0 -453
  17. package/srcbefore27-11/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -394
  18. package/srcbefore27-11/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -70
  19. package/srcbefore27-11/TabexComponents/Cards/Cardwithdetailsshowonhover/Cardwithdetailsshowonhover.jsx +0 -1074
  20. package/srcbefore27-11/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -211
  21. package/srcbefore27-11/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -293
  22. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover/Categorycard_details_onhover.jsx +0 -512
  23. package/srcbefore27-11/TabexComponents/Cards/Categorycard_details_onhover copy/Categorycard_details_onhover.jsx +0 -513
  24. package/srcbefore27-11/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -235
  25. package/srcbefore27-11/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -199
  26. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -182
  27. package/srcbefore27-11/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -184
  28. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -161
  29. package/srcbefore27-11/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -208
  30. package/srcbefore27-11/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -560
  31. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -145
  32. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -145
  33. package/srcbefore27-11/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -142
  34. package/srcbefore27-11/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -193
  35. package/srcbefore27-11/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -605
  36. package/srcbefore27-11/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -817
  37. package/srcbefore27-11/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -468
  38. package/srcbefore27-11/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -593
  39. package/srcbefore27-11/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -208
  40. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -497
  41. package/srcbefore27-11/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -512
  42. package/srcbefore27-11/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -304
  43. package/srcbefore27-11/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -257
  44. package/srcbefore27-11/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -277
  45. package/srcbefore27-11/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -352
  46. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -291
  47. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -315
  48. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -327
  49. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -408
  50. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -528
  51. package/srcbefore27-11/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -731
  52. package/srcbefore27-11/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -275
  53. package/srcbefore27-11/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -286
  54. package/srcbefore27-11/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -138
  55. package/srcbefore27-11/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -611
  56. package/srcbefore27-11/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -600
  57. package/srcbefore27-11/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -225
  58. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -525
  59. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -2321
  60. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -1311
  61. package/srcbefore27-11/TabexComponents/Cards/Simpleproductcard/Simpleproductcardlastversion15-9.jsx +0 -1292
  62. package/srcbefore27-11/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -337
  63. package/srcbefore27-11/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -347
  64. package/srcbefore27-11/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -605
  65. package/srcbefore27-11/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -185
  66. package/srcbefore27-11/TabexComponents/Cards/Variants_J_Cards/Variants_J_Cards.jsx +0 -660
  67. package/srcbefore27-11/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -759
  68. package/srcbefore27-11/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  69. package/srcbefore27-11/TabexComponents/Footer/Footer2/Footer2.jsx +0 -731
  70. package/srcbefore27-11/TabexComponents/Footer/Footer3/Footer3.jsx +0 -414
  71. package/srcbefore27-11/TabexComponents/Footer/Footer4/Footer4.jsx +0 -466
  72. package/srcbefore27-11/TabexComponents/Footer/Footer5/Footer5.jsx +0 -776
  73. package/srcbefore27-11/TabexComponents/Footer/Footer6/Footer6.jsx +0 -290
  74. package/srcbefore27-11/TabexComponents/Footer/Footer7/Footer7.jsx +0 -430
  75. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8 copy.jsx +0 -1970
  76. package/srcbefore27-11/TabexComponents/Footer/Footer8/Footer8.jsx +0 -2015
  77. package/srcbefore27-11/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -330
  78. package/srcbefore27-11/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -582
  79. package/srcbefore27-11/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -1165
  80. package/srcbefore27-11/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -646
  81. package/srcbefore27-11/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +0 -110
  82. package/srcbefore27-11/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -332
  83. package/srcbefore27-11/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  84. package/srcbefore27-11/TabexComponents/Generalfiles/images/noimage.png +0 -0
  85. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  86. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  87. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  88. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  89. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  90. package/srcbefore27-11/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  91. package/srcbefore27-11/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  92. package/srcbefore27-11/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  93. package/srcbefore27-11/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  94. package/srcbefore27-11/TabexComponents/Generalfiles/images/usflag.png +0 -0
  95. package/srcbefore27-11/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  96. package/srcbefore27-11/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -1264
  97. package/srcbefore27-11/TabexComponents/Headers/CategoriesComponent/CategoriesComponent.jsx +0 -375
  98. package/srcbefore27-11/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -1056
  99. package/srcbefore27-11/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -1498
  100. package/srcbefore27-11/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -1289
  101. package/srcbefore27-11/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -76
  102. package/srcbefore27-11/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -907
  103. package/srcbefore27-11/TabexComponents/Headers/FloatingIcons/FloatingIcons.jsx +0 -358
  104. package/srcbefore27-11/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -875
  105. package/srcbefore27-11/TabexComponents/Headers/Header4/Header4.jsx +0 -622
  106. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -1026
  107. package/srcbefore27-11/TabexComponents/Headers/Header8/Header8.jsx +0 -3414
  108. package/srcbefore27-11/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -777
  109. package/srcbefore27-11/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -933
  110. package/srcbefore27-11/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -710
  111. package/srcbefore27-11/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -902
  112. package/srcbefore27-11/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -1347
  113. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -1566
  114. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -1201
  115. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -990
  116. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -1639
  117. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +0 -7163
  118. package/srcbefore27-11/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -1327
  119. package/srcbefore27-11/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -941
  120. package/srcbefore27-11/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -80
  121. package/srcbefore27-11/TabexComponents/Headers/Minimalheader/Minimalheader.jsx +0 -846
  122. package/srcbefore27-11/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -1198
  123. package/srcbefore27-11/TabexComponents/Headers/ParentCollectionsComponent/ParentCollectionsComponent.jsx +0 -385
  124. package/srcbefore27-11/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -784
  125. package/srcbefore27-11/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -1186
  126. package/srcbefore27-11/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +0 -3692
  127. package/srcbefore27-11/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -266
  128. package/srcbefore27-11/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -860
  129. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -950
  130. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader.jsx +0 -1052
  131. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -685
  132. package/srcbefore27-11/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -517
  133. package/srcbefore27-11/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -555
  134. package/srcbefore27-11/TabexComponents/Headers/SubheaderDropdown/SubheaderDropdown.jsx +0 -610
  135. package/srcbefore27-11/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -1049
  136. package/srcbefore27-11/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -1095
  137. package/srcbefore27-11/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -979
  138. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -533
  139. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -338
  140. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -872
  141. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContentrecent.jsx +0 -895
  142. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -302
  143. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -314
  144. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -318
  145. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -179
  146. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -201
  147. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -421
  148. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -583
  149. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -291
  150. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +0 -822
  151. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm19-8beforeattach.jsx +0 -789
  152. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm22-7.jsx +0 -787
  153. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -348
  154. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -387
  155. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -268
  156. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -295
  157. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/PopupCountryComponent/PopupCountryComponent.jsx +0 -120
  158. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -119
  159. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -99
  160. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -146
  161. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -489
  162. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -296
  163. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -396
  164. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -633
  165. package/srcbefore27-11/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -509
  166. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -1399
  167. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -1656
  168. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -1540
  169. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -2323
  170. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -1596
  171. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -1872
  172. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx +0 -1891
  173. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -1880
  174. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection/CardsSectionwithanomation12-1.jsx +0 -2065
  175. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -726
  176. package/srcbefore27-11/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -719
  177. package/srcbefore27-11/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -406
  178. package/srcbefore27-11/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -966
  179. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -646
  180. package/srcbefore27-11/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -1577
  181. package/srcbefore27-11/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -596
  182. package/srcbefore27-11/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -383
  183. package/srcbefore27-11/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -342
  184. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -161
  185. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -394
  186. package/srcbefore27-11/TabexComponents/Sections/Slideshow/CountDownSection/CountDownSection.jsx +0 -174
  187. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -382
  188. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -651
  189. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +0 -757
  190. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection20-2.jsx +0 -1017
  191. package/srcbefore27-11/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -346
  192. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -3027
  193. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -141
  194. package/srcbefore27-11/TabexComponents/Sections/Slideshow/MarqueeSection/MarqueeSection.jsx +0 -103
  195. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Preloaderone/Preloaderone.jsx +0 -49
  196. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -376
  197. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -384
  198. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards copy.jsx +0 -1576
  199. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -1989
  200. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -226
  201. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -149
  202. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -143
  203. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -634
  204. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -474
  205. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -527
  206. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -665
  207. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -477
  208. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -1217
  209. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -614
  210. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -91
  211. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -380
  212. package/srcbefore27-11/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -741
  213. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TableSection/TableSection.jsx +0 -423
  214. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -284
  215. package/srcbefore27-11/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -636
  216. package/srcbefore27-11/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -402
  217. package/srcbefore27-11/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -234
  218. package/srcbefore27-11/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -306
  219. package/srcbefore27-11/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -364
  220. package/srcbefore27-11/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -1000
  221. package/srcbefore27-11/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -460
  222. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -1306
  223. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -2506
  224. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -1633
  225. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout12-12beforeextras.jsx +0 -1999
  226. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -1593
  227. package/srcbefore27-11/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -1574
  228. package/srcbefore27-11/TabexComponents/StaticPages/Compare/Compare.jsx +0 -79
  229. package/srcbefore27-11/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -245
  230. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -2888
  231. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -1450
  232. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter.jsx +0 -3459
  233. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -2624
  234. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -2758
  235. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -2753
  236. package/srcbefore27-11/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -1495
  237. package/srcbefore27-11/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -1271
  238. package/srcbefore27-11/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -62
  239. package/srcbefore27-11/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -50
  240. package/srcbefore27-11/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  241. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login copy.jsx +0 -1060
  242. package/srcbefore27-11/TabexComponents/StaticPages/Login/Login.jsx +0 -616
  243. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -693
  244. package/srcbefore27-11/TabexComponents/StaticPages/OrderSuccess/OrderSuccess2.jsx +0 -173
  245. package/srcbefore27-11/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1831
  246. package/srcbefore27-11/TabexComponents/StaticPages/Policies/Policies.jsx +0 -291
  247. package/srcbefore27-11/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -194
  248. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -183
  249. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -128
  250. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -268
  251. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -190
  252. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -225
  253. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -224
  254. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductFileUploader.jsx +0 -136
  255. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -347
  256. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -262
  257. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +0 -5566
  258. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -1554
  259. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -1827
  260. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -1351
  261. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -1566
  262. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Product_itemtypeeuro.jsx +0 -3101
  263. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -3047
  264. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo13-5.jsx +0 -2103
  265. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfo_28_6.jsx +0 -2189
  266. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Productinfotoday.jsx +0 -2166
  267. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.js +0 -2714
  268. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -2206
  269. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Service_itemtypetill28-4-2025.jsx +0 -1158
  270. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -1117
  271. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabs4-5.jsx +0 -1043
  272. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Serviceinfotabstill28-4-2025.jsx +0 -1040
  273. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -905
  274. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -324
  275. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -145
  276. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -183
  277. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -128
  278. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -140
  279. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -225
  280. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -310
  281. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -235
  282. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -1672
  283. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -1554
  284. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -1351
  285. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -1566
  286. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -1804
  287. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -560
  288. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -928
  289. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -597
  290. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -324
  291. package/srcbefore27-11/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -145
  292. package/srcbefore27-11/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -194
  293. package/srcbefore27-11/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -346
  294. package/srcbefore27-11/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -367
  295. package/srcbefore27-11/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -222
  296. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -277
  297. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -1135
  298. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -1505
  299. package/srcbefore27-11/TabexComponents/StaticPages/Signup/CustomerInformationForm12-5beforeemailrequired.jsx +0 -1476
  300. package/srcbefore27-11/TabexComponents/StaticPages/Signup/Signup.jsx +0 -199
  301. package/srcbefore27-11/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -292
  302. package/srcbefore27-11/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -219
  303. package/srcbefore27-11/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -162
  304. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -765
  305. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -786
  306. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -786
  307. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -786
  308. package/srcbefore27-11/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -1425
  309. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -844
  310. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -555
  311. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -555
  312. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -555
  313. package/srcbefore27-11/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -815
  314. package/srcbefore27-11/button.jsx +0 -40
  315. package/srcbefore27-11/index.jsx +0 -353
  316. package/srcbefore27-11/styles/Home.module.css +0 -129
  317. package/srcbefore27-11/styles/cards/Categorcycard_fullimage.module.css +0 -14
  318. package/srcbefore27-11/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  319. package/srcbefore27-11/styles/cards/Categorycard_withshapes.module.css +0 -189
  320. package/srcbefore27-11/styles/cards/ModernCardWithQuantityButton.module.css +0 -30
  321. package/srcbefore27-11/styles/cards/Productcard6.module.css +0 -9
  322. package/srcbefore27-11/styles/cards/Productccard_with_zoominonhover.module.css +0 -94
  323. package/srcbefore27-11/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  324. package/srcbefore27-11/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -65
  325. package/srcbefore27-11/styles/cards/card23.module.css +0 -60
  326. package/srcbefore27-11/styles/cards/categorycard.module.css +0 -84
  327. package/srcbefore27-11/styles/cards/categorycard3.module.css +0 -50
  328. package/srcbefore27-11/styles/cards/categorycardwithtext.module.css +0 -40
  329. package/srcbefore27-11/styles/cards/generalCardsStyles.module.css +0 -79
  330. package/srcbefore27-11/styles/cards/productcard_animatedbuttons.module.css +0 -139
  331. package/srcbefore27-11/styles/cards/productcard_with_textonhover.module.css +0 -18
  332. package/srcbefore27-11/styles/cards/productcard_withtextonimage.module.css +0 -0
  333. package/srcbefore27-11/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  334. package/srcbefore27-11/styles/general/bootstrap.css +0 -4763
  335. package/srcbefore27-11/styles/general/dropdown.css +0 -206
  336. package/srcbefore27-11/styles/general/editorbardropdown.module.css +0 -94
  337. package/srcbefore27-11/styles/general/filter.module.css +0 -108
  338. package/srcbefore27-11/styles/general/form.module.css +0 -255
  339. package/srcbefore27-11/styles/general/general.module.css +0 -872
  340. package/srcbefore27-11/styles/general/image-gallery.css +0 -531
  341. package/srcbefore27-11/styles/general/react-accessible-accordion.module.css +0 -52
  342. package/srcbefore27-11/styles/general/react-phone-input-2.module.css +0 -927
  343. package/srcbefore27-11/styles/general/scrollbtn.module.css +0 -22
  344. package/srcbefore27-11/styles/general/slick.module.css +0 -166
  345. package/srcbefore27-11/styles/general/tabs.module.css +0 -119
  346. package/srcbefore27-11/styles/general/workplaceeditor.module.css +0 -328
  347. package/srcbefore27-11/styles/globals.css +0 -26
  348. package/srcbefore27-11/styles/headers/CTAHeader.module.css +0 -40
  349. package/srcbefore27-11/styles/headers/CategoryFeaturingHeader.module.css +0 -61
  350. package/srcbefore27-11/styles/headers/Gotoheader.module.css +0 -87
  351. package/srcbefore27-11/styles/headers/Header7.module.css +0 -50
  352. package/srcbefore27-11/styles/headers/HeaderWithAdSlider.module.css +0 -86
  353. package/srcbefore27-11/styles/headers/HeaderWithSearchOnCenter.module.css +0 -101
  354. package/srcbefore27-11/styles/headers/HeaderWithUtilityBar.module.css +0 -46
  355. package/srcbefore27-11/styles/headers/Header_threesectionslogocentered.module.css +0 -84
  356. package/srcbefore27-11/styles/headers/NewHeader.module.css +0 -101
  357. package/srcbefore27-11/styles/headers/SearchFocusedHeader.module.css +0 -62
  358. package/srcbefore27-11/styles/headers/Sideheader.module.css +0 -108
  359. package/srcbefore27-11/styles/headers/Simpleheader.module.css +0 -102
  360. package/srcbefore27-11/styles/headers/classicheader.module.css +0 -16
  361. package/srcbefore27-11/styles/headers/classicheaderstyles.module.css +0 -9
  362. package/srcbefore27-11/styles/headers/dropdown.css +0 -0
  363. package/srcbefore27-11/styles/headers/header4.module.css +0 -175
  364. package/srcbefore27-11/styles/headers/header5.module.css +0 -30
  365. package/srcbefore27-11/styles/headers/header_contactinfo.module.css +0 -53
  366. package/srcbefore27-11/styles/headers/headerresturant.module.css +0 -89
  367. package/srcbefore27-11/styles/headers/modernheader.module.css +0 -45
  368. package/srcbefore27-11/styles/headers/stylishheader.module.css +0 -24
  369. package/srcbefore27-11/styles/headers/subheader.module.css +0 -114
  370. package/srcbefore27-11/styles/headers/threetieredheader.module.css +0 -91
  371. package/srcbefore27-11/styles/sections/BackgroundImageWithTopContent.css +0 -4
  372. package/srcbefore27-11/styles/sections/Backgroundimage1.module.css +0 -17
  373. package/srcbefore27-11/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  374. package/srcbefore27-11/styles/sections/Freetext.module.css +0 -18
  375. package/srcbefore27-11/styles/sections/Section_with_rightbgcont.module.css +0 -49
  376. package/srcbefore27-11/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  377. package/srcbefore27-11/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  378. package/srcbefore27-11/styles/staticpages/accordion.module.css +0 -9
  379. package/srcbefore27-11/styles/staticpages/cart.module.css +0 -108
  380. package/srcbefore27-11/styles/staticpages/dropdown.css +0 -196
  381. package/srcbefore27-11/styles/staticpages/filter.module.css +0 -139
  382. package/srcbefore27-11/styles/staticpages/image-gallery.css +0 -481
  383. package/srcbefore27-11/styles/staticpages/login.module.css +0 -155
  384. package/srcbefore27-11/styles/staticpages/productinfo.module.css +0 -54
  385. package/srcbefore27-11/styles/staticpages/shop.module.css +0 -191
  386. package/srcbefore27-11/styles/staticpages/signup.module.css +0 -250
  387. package/srcbefore27-11/styles/staticpages/staticroutersidenav.module.css +0 -129
  388. package/srcbefore27-11/styles/staticpages/viewcart.module.css +0 -129
  389. package/srcbefore27-11/styles/staticpages/wishlist.module.css +0 -29
@@ -1,1576 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import { css } from 'glamor';
3
- import { Imagekitimagecomp } from '../../../../Imagekitconfig.jsx';
4
- import generalstyles from '../../../../styles/general/general.module.css';
5
- import ReactStars from 'react-rating-stars-component';
6
- import { GoStar } from '@react-icons/all-files/go/GoStar';
7
- import { IoIosStar } from '@react-icons/all-files/io/IoIosStar';
8
- import { fontSize, width } from '@mui/system';
9
-
10
- const ServicesectionCenteredcards = (props) => {
11
- const [sectionproperties, setsectionproperties] = useState('');
12
- const [cardsarray, setcardsarray] = useState([]);
13
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
14
- const lang = props.actions.lang;
15
- const langdetect = props.actions.langdetect;
16
- const ikimagecredcontext = props.actions.ikimagecredcontext;
17
- const routingcountext = props.actions.routingcountext;
18
- const authdetailsContext = props.actions.authdetailsContext;
19
-
20
- useEffect(() => {
21
- var secpropobj = {};
22
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
23
- if (sectionitem.sectionid == props.sectionidprops) {
24
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
25
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
26
- });
27
- }
28
- });
29
- setsectionproperties({ ...secpropobj });
30
- }, [StatePagePropertiesContext]);
31
- useEffect(() => {
32
- if (sectionproperties.length != 0) {
33
- if (sectionproperties.card_arrayofobjects != null) {
34
- var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.card_arrayofobjects);
35
- if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
36
- setcardsarray([...bgsection_imagearrayofobjsparsed]);
37
- }
38
- }
39
- }
40
- }, [sectionproperties]);
41
- const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
42
- useEffect(() => {
43
- if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
44
- var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
45
- if (Array.isArray(maincontainerarrayofobjsparsed)) {
46
- setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
47
- }
48
- }
49
- }, [sectionproperties]);
50
- const sectionStyles = {
51
- containerrrr: css({
52
- marginTop: sectionproperties.marginTop + 'px',
53
- marginBottom: sectionproperties.marginBottom + 'px',
54
- paddingLeft: sectionproperties.paddingLeft + 'px',
55
- paddingRight: sectionproperties.paddingRight + 'px',
56
- paddingTop: sectionproperties.paddingTop + 'px',
57
- paddingBottom: sectionproperties.paddingBottom + 'px',
58
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
59
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
60
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
61
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
62
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
63
- border: sectionproperties.borderType == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
64
- borderTop: sectionproperties.borderType == 'Vertical' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
65
- borderBottom: sectionproperties.borderType == 'Vertical' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
66
- borderLeftWidth: 0,
67
- borderRightWidth: 0,
68
- '@media (max-width: 800px)': {
69
- marginTop: sectionproperties.marginTopResp + 'px',
70
- },
71
- }),
72
- imgcontainer: css({
73
- ':before': {
74
- width: '100%',
75
- height: '100%',
76
- background: 'rgba(0,0,0,' + sectionproperties.cardbgcont_opacity + ')',
77
-
78
- zIndex: 1,
79
- position: 'absolute',
80
- content: 's',
81
- fontSize: 0,
82
- left: 0,
83
- right: 0,
84
- top: 0,
85
- bottom: 0,
86
- },
87
- }),
88
- sectiontitlespan: css({
89
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
90
- color: sectionproperties.sectionTitleColor,
91
- fontWeight: sectionproperties.sectionTitleFontWeight,
92
- paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
93
- paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
94
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
95
- ':after': {
96
- height: '5px',
97
- width: sectionproperties.sectitle_lineafterwidth + '%',
98
- backgroundColor: sectionproperties.linebgcolor,
99
- },
100
- '@media (max-width: 800px)': {
101
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
102
- },
103
- }),
104
- line_left: css({
105
- height: '1px',
106
- position: 'relative',
107
- flex: '1 1 auto',
108
- minWidth: '10%',
109
- background: sectionproperties.linebgcolor,
110
- }),
111
- line_right: css({
112
- height: '1px',
113
- position: 'relative',
114
- flex: '1 1 auto',
115
- minWidth: '10%',
116
- background: sectionproperties.linebgcolor,
117
- }),
118
- text1Styles: css({
119
- // color: sectionproperties.slideshowText1ContentColor,
120
- fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
121
- fontWeight: sectionproperties.slideshowText1ContentFontWeight,
122
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
123
- ':hover': {
124
- transition: '.3s',
125
- color: sectionproperties.text1secondarycolor,
126
- },
127
- }),
128
- imageContainer: css({
129
- width: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.image_width + '%' : sectionproperties.image_width + 'px',
130
- height: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.image_height + '%' : sectionproperties.image_height + 'px',
131
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
132
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
133
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
134
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
135
- background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
136
- justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center',
137
- // opacity: 0.4,
138
- // opacity:sectionproperties.darknessopacity,
139
- ':hover': {
140
- transition: '.3s',
141
- backgroundColor: sectionproperties.activedotcolor,
142
- },
143
- ':before': {
144
- // backgroundColor: 'rgba(0,0,0,0.5)',
145
- background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
146
-
147
- width: '100%',
148
- height: '100%',
149
- zIndex: 1,
150
- position: 'absolute',
151
- content: 's',
152
- fontSize: 0,
153
- left: 0,
154
- right: 0,
155
- top: 0,
156
- bottom: 0,
157
- },
158
- '@media (max-width: 800px)': {
159
- width: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.image_width_resp + '%' : sectionproperties.image_width_resp + 'px',
160
- height: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.height_responsive + '%' : sectionproperties.height_responsive + 'px',
161
- },
162
- }),
163
- cardContainer: css({
164
- ':hover .imageContainer': {
165
- transition: '.3s',
166
- backgroundColor: sectionproperties.activedotcolor,
167
- },
168
- ':hover .text1Styles': {
169
- transition: '.3s',
170
- color: sectionproperties.text1secondarycolor,
171
- },
172
- }),
173
- btnstyles: css({
174
- width: sectionproperties.generalbtn_width + 'px',
175
- height: sectionproperties.generalbtn_height + 'px',
176
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
177
- color: sectionproperties.generalbtn_textColor,
178
- fontWeight: sectionproperties.generalbtn_fontweight,
179
- textDecoration: sectionproperties.textdecoration == 'None' ? 'none' : 'underline',
180
- backgroundColor: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
181
- borderRadius: sectionproperties.generalbtnborderradius,
182
- ':hover': {
183
- color: sectionproperties.generalbtn_textColoronhover,
184
- backgroundColor: sectionproperties.generalbtn_bgColortransparentonhover == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColoronhover,
185
- transition: '.3s',
186
- },
187
- }),
188
- outercontainer: css({
189
- position: 'relative',
190
- width: sectionproperties.width + '%',
191
- background: sectionproperties.outerbgcolor,
192
- '@media (max-width: 800px)': {
193
- width: sectionproperties.widthresponsive + '%',
194
- },
195
- }),
196
- descriptioncont: css({
197
- color: sectionproperties.prodCatColor,
198
- fontWeight: sectionproperties.prodCatFontWeight,
199
- textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
200
- fontSize: sectionproperties.prodCatFontSize + 'px',
201
- '@media (max-width: 800px)': {
202
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
203
- },
204
- }),
205
- icontxtcont: css({
206
- position: sectionproperties.textonimage == 'Yes' ? 'absolute' : 'relative',
207
- bottom: sectionproperties.textonimage == 'Yes' ? 60 : 0,
208
- // top: authdetailsContext?.instinfo?.contactinfo.instid == '6790ae890234e' ? '60%' : '',
209
- '@media (max-width: 1025px)': {
210
- // top: authdetailsContext?.instinfo?.contactinfo.instid == '6790ae890234e' ? '40%' : '',
211
- },
212
- }),
213
- };
214
-
215
- return (
216
- <div
217
- class={' row ml-0 mr-0 w-md-100 d-flex align-items-center w-100 '}
218
- style={{
219
- background: sectionproperties.outerbgcolor,
220
- zIndex: 20,
221
- justifyContent: sectionproperties.innersectionposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
222
- }}
223
- >
224
- {sectionproperties.showanimation == 'Yes' && (
225
- <div class={sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center '} style={{}} data-aos={'fade-up'}>
226
- {maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && (
227
- <div class={sectionStyles.imgcontainer}>
228
- <Imagekitimagecomp
229
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
230
- publicKey={ikimagecredcontext?.ikimagepublickey}
231
- path={maincontainerarrayofobjs[0]?.back_bgimage}
232
- style={{
233
- height: '100%',
234
- width: '100%',
235
- objectFit: 'cover',
236
- margin: 0,
237
- padding: 0,
238
- position: 'absolute',
239
- top: 0,
240
- bottom: 0,
241
- right: 0,
242
- left: 0,
243
- }}
244
- />
245
- </div>
246
- )}
247
- <div class={sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 '} style={{}}>
248
- {sectionproperties.sectiontitleshow == 'Show' && (
249
- <div class="col-lg-12 allcentered p-0" style={{ zIndex: 1 }}>
250
- <div
251
- class={`${generalstyles.sectiontitlecont}` + ' col-lg-12 plr-1025-0 pl-md-3 pr-md-3 d-flex '}
252
- style={{
253
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
254
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
255
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
256
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
257
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
258
- }}
259
- >
260
- <div
261
- class="d-flex align-items-center flex-row "
262
- style={{
263
- position: 'relative',
264
- width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
265
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
266
- }}
267
- >
268
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={sectionStyles.line_left}></span>}
269
- <p
270
- class={
271
- sectionproperties.sectiontitlefontfamily == 'Pacifico'
272
- ? `${sectionStyles.sectiontitlespan}` + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
273
- : sectionproperties.sectiontitlefontfamily == 'Playfair'
274
- ? `${sectionStyles.sectiontitlespan}` + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
275
- : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
276
- ? `${sectionStyles.sectiontitlespan}` + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
277
- : sectionproperties.sectiontitlefontfamily == 'Quicksand'
278
- ? `${sectionStyles.sectiontitlespan}` + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
279
- : sectionproperties.sectiontitlefontfamily == 'Satisfy'
280
- ? `${sectionStyles.sectiontitlespan}` + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
281
- : `${sectionStyles.sectiontitlespan}` + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
282
- }
283
- style={{}}
284
- >
285
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
286
- </p>
287
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={sectionStyles.line_right}></span>}
288
- </div>
289
- </div>
290
- </div>
291
- )}
292
- {sectionproperties.prodCatShow == 'Show' && (
293
- <div
294
- class={' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center px-sm-3'}
295
- style={{
296
- justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
297
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
298
- paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
299
- paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
300
- }}
301
- >
302
- <p
303
- class={
304
- sectionproperties.descFontFamily == 'Pacifico'
305
- ? sectionStyles.descriptioncont + ' PacificoFont m-0 p-0 wordbreak '
306
- : sectionproperties.descFontFamily == 'Playfair'
307
- ? sectionStyles.descriptioncont + ' PlayfairFont m-0 p-0 wordbreak '
308
- : sectionproperties.descFontFamily == 'Great Vibes'
309
- ? sectionStyles.descriptioncont + ' GreatvibesFont m-0 p-0 wordbreak '
310
- : sectionproperties.descFontFamily == 'Quicksand'
311
- ? sectionStyles.descriptioncont + ' QuicksandFont m-0 p-0 wordbreak'
312
- : sectionStyles.descriptioncont + ' m-0 p-0 wordbreak'
313
- }
314
- style={{}}
315
- >
316
- {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
317
- </p>
318
- </div>
319
- )}
320
- {/* {sectionproperties.view_as_slider_vertical == 'Vertical' && (
321
- <div
322
- class="row m-0 w-100 d-flex "
323
- style={{
324
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
325
- }}
326
- > */}
327
- {/* sectionproperties.flippingcards == 'No' && */}
328
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
329
- return (
330
- <div
331
- // class={
332
- // sectionproperties.numofcols == '2'
333
- // ? ' col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' +
334
- // sectionproperties.numberOfColsverticalresp
335
- // : sectionproperties.numofcols == '3'
336
- // ? ' col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' +
337
- // sectionproperties.numberOfColsverticalresp
338
- // : ' col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' +
339
- // sectionproperties.numberOfColsverticalresp
340
- // }
341
- class={
342
- sectionproperties.numofcols == '2'
343
- ? ' h-100 col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp
344
- : sectionproperties.numofcols == '3'
345
- ? ' h-100 col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp
346
- : sectionproperties.numofcols == '6'
347
- ? ' h-100 col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp
348
- : ' h-100 col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' + sectionproperties.numberOfColsverticalresp
349
- }
350
- style={{
351
- zIndex: 2,
352
- marginBottom: sectionproperties.innersectionmarginbottom + 'px',
353
- paddingLeft: sectionproperties.marginhorizontal + 'px',
354
- paddingRight: sectionproperties.marginhorizontal + 'px',
355
- }}
356
- >
357
- <div
358
- // class={
359
- // sectionproperties.innersectionbordertype != 'All'
360
- // ? sectionStyles.cardContainer + ' row m-0 w-100 mb-auto border-md-none '
361
- // : sectionStyles.cardContainer + ' row m-0 w-100 mb-auto '
362
- // }
363
- class={
364
- sectionproperties.innersectionbordertype != 'All'
365
- ? sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto border-md-none '
366
- : sectionStyles.cardContainer + ' h-100 row m-0 w-100 mb-auto '
367
- }
368
- style={{
369
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
370
- // background: sectionproperties.reservation_bgcolor,
371
- background: cardinfoitem.cardbgcolorfromarray,
372
- paddingTop: sectionproperties.reservation_padding_top + 'px',
373
- paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
374
- paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
375
- paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
376
- borderRadius: sectionproperties.reservation_borderradius + 'px',
377
- border:
378
- sectionproperties.innersectionbordertype == 'All'
379
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
380
- : cardinfoindex != cardsarray.length - 1
381
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
382
- : '',
383
- // cardinfoindex != cardsarray.length - 1
384
- // ? sectionproperties.innersectionbordertype == 'All'
385
- // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
386
- // : ''
387
- // : '',
388
- borderRight:
389
- cardinfoindex != cardsarray.length - 1
390
- ? sectionproperties.innersectionbordertype == 'Right'
391
- ? langdetect == 'en'
392
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
393
- : ''
394
- : ''
395
- : '',
396
- borderLeft:
397
- sectionproperties.innersectionbordertype == 'Right'
398
- ? langdetect == 'ar'
399
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
400
- : ''
401
- : '',
402
- boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
403
- height: authdetailsContext?.instinfo?.contactinfo.instid == '66b4a0338cb14' ? '100%' : '',
404
- position: 'relative',
405
- }}
406
- onClick={() => {
407
- // if (cardinfoitem.iscardclickable == 'Yes') {
408
- // window.open(cardinfoitem.btnlink, '_blank');
409
- // }
410
- if (cardinfoitem.btntype == 'Web Product Link' || cardinfoitem.btntype == 'App/Web Page') {
411
- routingcountext(cardinfoitem.btnlink, false, '');
412
- } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab' && cardinfoitem.btntype != 'Web Product Link') {
413
- // window.open(cardinfoitem.btnlink, '_target');
414
- routingcountext(cardinfoitem.btnlink, false, '');
415
- } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
416
- window.open(cardinfoitem.btnlink, '_blank');
417
- }
418
- }}
419
- >
420
- {sectionproperties.imageposition == 'Top' && sectionproperties.image_width != 0 && (
421
- <div
422
- class="col-lg-12 d-flex align-items-center p-0 w-100"
423
- // class="col-lg-12 d-flex align-items-center p-0 w-100 h-100"
424
- style={{
425
- marginBottom: sectionproperties.image_mb + 'px',
426
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
427
- }}
428
- >
429
- <div
430
- class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '}
431
- style={{ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start' }}
432
- >
433
- <Imagekitimagecomp
434
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
435
- publicKey={ikimagecredcontext?.ikimagepublickey}
436
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
437
- style={{
438
- maxHeight: sectionproperties.iconcontainerwidth + '%',
439
- maxWidth: sectionproperties.iconcontainerwidth + '%',
440
- objectFit: 'contain',
441
- }}
442
- />
443
- </div>
444
- </div>
445
- )}
446
- <div class={sectionStyles.icontxtcont + ' row m-0 w-100 allcentered px-5 '} style={{}}>
447
- {/* */}
448
-
449
- {sectionproperties.showrating == 'Show' && cardinfoitem.ratingnumber != null && (
450
- <div class="col-lg-12 allcentered p-0 mb-1">
451
- <ReactStars
452
- count={5}
453
- value={parseFloat(cardinfoitem.ratingnumber)}
454
- edit={false}
455
- size={18}
456
- emptyIcon={
457
- <i class="h-100 allcentered">
458
- <GoStar style={{ color: '#ccc' }} />
459
- </i>
460
- }
461
- halfIcon={
462
- <i class="h-100 allcentered">
463
- <IoIosStar style={{ color: sectionproperties.generalbtn_textColor }} />
464
- </i>
465
- }
466
- filledIcon={
467
- <i class="h-100 allcentered">
468
- <IoIosStar style={{ color: sectionproperties.generalbtn_textColor }} />
469
- </i>
470
- }
471
- activeColor={sectionproperties.generalbtn_textColor}
472
- />
473
- </div>
474
- )}
475
- <div
476
- class="col-lg-12 d-flex p-0"
477
- style={{
478
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
479
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
480
- }}
481
- >
482
- <p
483
- class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
484
- style={{
485
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
486
- color: cardinfoitem.text1colorfromarray,
487
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
488
- }}
489
- >
490
- {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
491
- </p>
492
- </div>
493
- <div
494
- class="col-lg-12 d-flex p-0"
495
- style={{
496
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
497
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
498
- marginBottom: '30px',
499
- }}
500
- >
501
- {sectionproperties.slideshowtext2_show && (
502
- <p
503
- class="m-0 wordbreak"
504
- style={{
505
- // color: sectionproperties.slideshowText2ContentColor,
506
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
507
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
508
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
509
- color: cardinfoitem.text2colorfromarray,
510
- }}
511
- >
512
- {langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar}
513
- </p>
514
- )}
515
- </div>
516
- {sectionproperties.generalbtn_show == 'Show' && cardinfoitem.iscardclickable == 'Yes' && (
517
- <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'}>
518
- <button
519
- class={`${sectionStyles.btnstyles}`}
520
- onClick={() => {
521
- if (cardinfoitem.btntype == 'Web Product Link') {
522
- routingcountext(cardinfoitem.btnlink, false, '');
523
- } else if (
524
- cardinfoitem.iscardclickable == 'Yes' &&
525
- cardinfoitem.clickabletabtype == 'Same Tab' &&
526
- cardinfoitem.btntype != 'Web Product Link'
527
- ) {
528
- window.open(cardinfoitem.btnlink, '_target');
529
- } else if (
530
- cardinfoitem.iscardclickable == 'Yes' &&
531
- cardinfoitem.clickabletabtype == 'New Tab' &&
532
- cardinfoitem.btntype != 'Web Product Link'
533
- ) {
534
- window.open(cardinfoitem.btnlink, '_blank');
535
- } else if (sectionproperties.btntype == 'App/Web Page') {
536
- // window.open(sectionproperties.btnlink, '_target');
537
- routingcountext(cardinfoitem.btnlink, false, '');
538
- }
539
- }}
540
- >
541
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
542
- </button>
543
- </div>
544
- )}
545
- </div>
546
- {sectionproperties.imageposition == 'Bottom' && sectionproperties.image_width != 0 && (
547
- <div
548
- class="col-lg-12 d-flex align-items-center p-0"
549
- style={{
550
- marginTop: sectionproperties.image_mb + 'px',
551
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
552
- }}
553
- >
554
- <div class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '} style={{}}>
555
- <Imagekitimagecomp
556
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
557
- publicKey={ikimagecredcontext?.ikimagepublickey}
558
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
559
- style={{
560
- maxHeight: sectionproperties.iconcontainerwidth + '%',
561
- maxWidth: sectionproperties.iconcontainerwidth + '%',
562
- objectFit: 'contain',
563
- }}
564
- />
565
- </div>
566
- </div>
567
- )}
568
- </div>
569
- </div>
570
- );
571
- })}
572
- {/* {sectionproperties.flippingcards == 'Yes' && sectionproperties.showcountdown != 'Yes' && (
573
- <div class="row m-0 w-100 d-flex justify-content-center">
574
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
575
- // alert(JSON.stringify(cardsarray[7]));
576
- return (
577
- <div
578
- class={
579
- cardinfoitem?.cardobj_descripen == undefined
580
- ? sectionproperties.numofcols == '2'
581
- ? ' flip-card flip-cardnonhover h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
582
- sectionproperties.numberOfColsverticalresp
583
- : sectionproperties.numofcols == '3'
584
- ? ' flip-card flip-cardnonhover h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
585
- sectionproperties.numberOfColsverticalresp
586
- : sectionproperties.numofcols == '6'
587
- ? ' flip-card flip-cardnonhover h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
588
- sectionproperties.numberOfColsverticalresp
589
- : ' flip-card flip-cardnonhover h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
590
- sectionproperties.numberOfColsverticalresp
591
- : sectionproperties.numofcols == '2'
592
- ? ' flip-card h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
593
- sectionproperties.numberOfColsverticalresp
594
- : sectionproperties.numofcols == '3'
595
- ? ' flip-card h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
596
- sectionproperties.numberOfColsverticalresp
597
- : sectionproperties.numofcols == '6'
598
- ? ' flip-card h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
599
- sectionproperties.numberOfColsverticalresp
600
- : ' flip-card h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
601
- sectionproperties.numberOfColsverticalresp
602
- }
603
- style={{
604
- zIndex: 2,
605
- paddingLeft: sectionproperties.marginhorizontal + 'px',
606
- paddingRight: sectionproperties.marginhorizontal + 'px',
607
- marginBottom: sectionproperties.innersectionmarginbottom + 'px',
608
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : '',
609
- }}
610
- onClick={() => {
611
- if (cardinfoitem.iscardclickable == 'Yes') {
612
- if (cardinfoitem.btntype == 'Web Product Link') {
613
- routingcountext(cardinfoitem.btnlink, false, '');
614
- } else if (
615
- cardinfoitem.iscardclickable == 'Yes' &&
616
- cardinfoitem.clickabletabtype == 'Same Tab' &&
617
- cardinfoitem.btntype != 'Web Product Link'
618
- ) {
619
- window.open(cardinfoitem.btnlink, '_self');
620
- } else if (
621
- cardinfoitem.iscardclickable == 'Yes' &&
622
- cardinfoitem.clickabletabtype == 'New Tab' &&
623
- cardinfoitem.btntype != 'Web Product Link'
624
- ) {
625
- window.open(cardinfoitem.btnlink, '_blank');
626
- } else if (sectionproperties.btntype == 'App/Web Page') {
627
- // window.open(sectionproperties.btnlink, '_target');
628
- routingcountext(cardinfoitem.btnlink, false, '');
629
- }
630
- }
631
- }}
632
- >
633
- <div
634
- class="flip-card-inner"
635
- style={{
636
- background: cardinfoitem.cardbgcolorfromarray,
637
- borderRadius: sectionproperties.reservation_borderradius + 'px',
638
- border:
639
- sectionproperties.innersectionbordertype == 'All'
640
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
641
- : cardinfoindex != cardsarray.length - 1
642
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
643
- : '',
644
- }}
645
- >
646
- <div class={cardinfoitem.cardobj_descripen != '' ? 'flip-card-front d-flex align-items-center' : 'd-flex align-items-center'}>
647
- <div class="row m-0 w-100">
648
- <div
649
- class="col-lg-12 d-flex align-items-center p-0"
650
- style={{
651
- marginBottom: sectionproperties.image_mb + 'px',
652
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
653
- }}
654
- >
655
- <div
656
- class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '}
657
- style={{
658
- background: 'transparent',
659
- }}
660
- >
661
- <Imagekitimagecomp
662
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
663
- publicKey={ikimagecredcontext?.ikimagepublickey}
664
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
665
- style={{
666
- maxHeight: sectionproperties.iconcontainerwidth + '%',
667
- maxWidth: sectionproperties.iconcontainerwidth + '%',
668
- objectFit: 'contain',
669
- }}
670
- />
671
- </div>
672
- </div>
673
- <div
674
- class="col-lg-12 d-flex p-0"
675
- style={{
676
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
677
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
678
- }}
679
- >
680
- <p
681
- class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
682
- style={{
683
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
684
- color: cardinfoitem.text1colorfromarray,
685
- }}
686
- >
687
- {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
688
- </p>
689
- </div>
690
-
691
-
692
- </div>
693
- </div>
694
- {cardinfoitem.cardobj_descripen != '' && (
695
- <div class="flip-card-back allcentered">
696
- <div class="row m-0 w-100 allcentered">
697
- {sectionproperties.showimagewhenflip == 'Show' && (
698
- <div
699
- class="col-lg-12 d-flex align-items-center p-0"
700
- style={{
701
- marginBottom: sectionproperties.image_mb + 'px',
702
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
703
- }}
704
- >
705
- <div
706
- class={' d-flex align-items-center '}
707
- style={{
708
- width: '30%',
709
- height: '30%',
710
- justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center',
711
- }}
712
- >
713
- <Imagekitimagecomp
714
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
715
- publicKey={ikimagecredcontext?.ikimagepublickey}
716
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
717
- style={{
718
- maxHeight: '100%',
719
- maxWidth: '100%',
720
- objectFit: 'contain',
721
- }}
722
- />
723
- </div>
724
- </div>
725
- )}
726
- <div
727
- class="col-lg-12 d-flex p-0"
728
- style={{
729
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
730
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
731
- }}
732
- >
733
- <p
734
- class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
735
- style={{
736
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
737
- color: cardinfoitem.text1colorfromarray,
738
- }}
739
- >
740
- {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
741
- </p>
742
- </div>
743
- <div
744
- class="col-lg-12 d-flex p-0"
745
- style={{
746
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
747
- }}
748
- >
749
- {sectionproperties.slideshowtext2_show && (
750
- <p
751
- class="m-0 wordbreak"
752
- style={{
753
- // color: sectionproperties.slideshowText2ContentColor,
754
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
755
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
756
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
757
- color: cardinfoitem.text2colorfromarray,
758
- }}
759
- >
760
- {langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar}
761
- </p>
762
- )}
763
- </div>
764
- </div>
765
- </div>
766
- )}
767
- </div>
768
- </div>
769
- );
770
- })}
771
- </div>
772
- )} */}
773
- {/* </div>
774
- )} */}
775
- </div>
776
- </div>
777
- )}
778
- {sectionproperties.showanimation != 'Yes' && (
779
- <div class={sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center '} style={{}}>
780
- {maincontainerarrayofobjs != undefined && maincontainerarrayofobjs.length != 0 && (
781
- <div class={sectionStyles.imgcontainer}>
782
- <Imagekitimagecomp
783
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
784
- publicKey={ikimagecredcontext?.ikimagepublickey}
785
- path={maincontainerarrayofobjs[0]?.back_bgimage}
786
- style={{
787
- height: '100%',
788
- width: '100%',
789
- objectFit: 'cover',
790
- margin: 0,
791
- padding: 0,
792
- position: 'absolute',
793
- top: 0,
794
- bottom: 0,
795
- right: 0,
796
- left: 0,
797
- }}
798
- />
799
- </div>
800
- )}
801
- <div class={sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 '} style={{}}>
802
- {sectionproperties.sectiontitleshow == 'Show' && (
803
- <div class="col-lg-12 allcentered p-0" style={{ zIndex: 1 }}>
804
- <div
805
- class={`${generalstyles.sectiontitlecont}` + ' col-lg-12 plr-1025-0 pl-md-3 pr-md-3 d-flex '}
806
- style={{
807
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
808
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
809
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
810
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
811
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
812
- }}
813
- >
814
- <div
815
- class="d-flex align-items-center flex-row "
816
- style={{
817
- position: 'relative',
818
- width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
819
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
820
- }}
821
- >
822
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={sectionStyles.line_left}></span>}
823
- <p
824
- class={
825
- sectionproperties.sectiontitlefontfamily == 'Pacifico'
826
- ? `${sectionStyles.sectiontitlespan}` + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
827
- : sectionproperties.sectiontitlefontfamily == 'Playfair'
828
- ? `${sectionStyles.sectiontitlespan}` + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
829
- : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
830
- ? `${sectionStyles.sectiontitlespan}` + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
831
- : sectionproperties.sectiontitlefontfamily == 'Quicksand'
832
- ? `${sectionStyles.sectiontitlespan}` + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
833
- : sectionproperties.sectiontitlefontfamily == 'Satisfy'
834
- ? `${sectionStyles.sectiontitlespan}` + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
835
- : `${sectionStyles.sectiontitlespan}` + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
836
- }
837
- style={{}}
838
- >
839
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
840
- </p>
841
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={sectionStyles.line_right}></span>}
842
- </div>
843
- </div>
844
- </div>
845
- )}
846
- {sectionproperties.prodCatShow == 'Show' && (
847
- <div
848
- class={' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center px-sm-3'}
849
- style={{
850
- justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
851
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
852
- paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
853
- paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
854
- zIndex: 1,
855
- }}
856
- >
857
- <p
858
- class={
859
- sectionproperties.descFontFamily == 'Pacifico'
860
- ? sectionStyles.descriptioncont + ' PacificoFont m-0 p-0 wordbreak '
861
- : sectionproperties.descFontFamily == 'Playfair'
862
- ? sectionStyles.descriptioncont + ' PlayfairFont m-0 p-0 wordbreak '
863
- : sectionproperties.descFontFamily == 'Great Vibes'
864
- ? sectionStyles.descriptioncont + ' GreatvibesFont m-0 p-0 wordbreak '
865
- : sectionproperties.descFontFamily == 'Quicksand'
866
- ? sectionStyles.descriptioncont + ' QuicksandFont m-0 p-0 wordbreak'
867
- : sectionStyles.descriptioncont + ' m-0 p-0 wordbreak'
868
- }
869
- style={{}}
870
- >
871
- {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
872
- </p>
873
- </div>
874
- )}
875
- {sectionproperties.view_as_slider_vertical != 'Vertical' && (
876
- <div class={' scrollhorizontal w-100 align-items-center justify-content- '}>
877
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
878
- return (
879
- <div
880
- class={'w-sm-85 scrollhorizontalcard d-flex align-items-center justify-content-center justify-content-md-start '}
881
- style={{
882
- zIndex: 2,
883
- paddingLeft: sectionproperties.marginhorizontal + 'px',
884
- paddingRight: sectionproperties.marginhorizontal + 'px',
885
- marginBottom: sectionproperties.innersectionmarginbottom + 'px',
886
- width: '20%',
887
- }}
888
- >
889
- <div
890
- class={
891
- sectionproperties.innersectionbordertype != 'All'
892
- ? sectionStyles.cardContainer + ' row m-0 w-100 mb-auto border-md-none '
893
- : sectionStyles.cardContainer + ' row m-0 w-100 mb-auto '
894
- }
895
- style={{
896
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
897
- // background: sectionproperties.reservation_bgcolor,
898
- background: cardinfoitem.cardbgcolorfromarray,
899
- paddingTop: sectionproperties.reservation_padding_top + 'px',
900
- paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
901
- paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
902
- paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
903
- borderRadius: sectionproperties.reservation_borderradius + 'px',
904
- border:
905
- sectionproperties.innersectionbordertype == 'All'
906
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
907
- : cardinfoindex != cardsarray.length - 1
908
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
909
- : '',
910
- // cardinfoindex != cardsarray.length - 1
911
- // ? sectionproperties.innersectionbordertype == 'All'
912
- // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
913
- // : ''
914
- // : '',
915
- borderRight:
916
- cardinfoindex != cardsarray.length - 1
917
- ? sectionproperties.innersectionbordertype == 'Right'
918
- ? langdetect == 'en'
919
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
920
- : ''
921
- : ''
922
- : '',
923
- borderLeft:
924
- sectionproperties.innersectionbordertype == 'Right'
925
- ? langdetect == 'ar'
926
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
927
- : ''
928
- : '',
929
- boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
930
- height: authdetailsContext?.instinfo?.contactinfo.instid == '66b4a0338cb14' ? '100%' : '',
931
- }}
932
- onClick={() => {
933
- // if (cardinfoitem.iscardclickable == 'Yes') {
934
- // window.open(cardinfoitem.btnlink, '_blank');
935
- // }
936
- if (cardinfoitem.btntype == 'Web Product Link' || cardinfoitem.btntype == 'App/Web Page') {
937
- routingcountext(cardinfoitem.btnlink, false, '');
938
- } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab' && cardinfoitem.btntype != 'Web Product Link') {
939
- // window.open(cardinfoitem.btnlink, '_target');
940
- routingcountext(cardinfoitem.btnlink, false, '');
941
- } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
942
- window.open(cardinfoitem.btnlink, '_blank');
943
- }
944
- }}
945
- >
946
- {sectionproperties.imageposition == 'Top' && sectionproperties.image_width != 0 && (
947
- <div
948
- class="col-lg-12 d-flex align-items-center p-0 w-100 h-100 "
949
- style={{
950
- marginBottom: sectionproperties.image_mb + 'px',
951
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
952
- }}
953
- >
954
- <div
955
- class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '}
956
- style={{ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start' }}
957
- >
958
- <Imagekitimagecomp
959
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
960
- publicKey={ikimagecredcontext?.ikimagepublickey}
961
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
962
- style={{
963
- maxHeight: sectionproperties.iconcontainerwidth + '%',
964
- maxWidth: sectionproperties.iconcontainerwidth + '%',
965
- objectFit: 'contain',
966
- }}
967
- />
968
- </div>
969
- </div>
970
- )}
971
- {sectionproperties.showrating == 'Show' && cardinfoitem.ratingnumber != null && (
972
- <div class="col-lg-12 allcentered p-0 mb-1">
973
- <ReactStars
974
- count={5}
975
- value={parseFloat(cardinfoitem.ratingnumber)}
976
- edit={false}
977
- size={18}
978
- emptyIcon={
979
- <i class="h-100 allcentered">
980
- <GoStar style={{ color: '#ccc' }} />
981
- </i>
982
- }
983
- halfIcon={
984
- <i class="h-100 allcentered">
985
- <IoIosStar style={{ color: sectionproperties.generalbtn_textColor }} />
986
- </i>
987
- }
988
- filledIcon={
989
- <i class="h-100 allcentered">
990
- <IoIosStar style={{ color: sectionproperties.generalbtn_textColor }} />
991
- </i>
992
- }
993
- activeColor={sectionproperties.generalbtn_textColor}
994
- />
995
- </div>
996
- )}
997
- <div
998
- class="col-lg-12 d-flex p-0"
999
- style={{
1000
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
1001
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1002
- }}
1003
- >
1004
- <p
1005
- class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
1006
- style={{
1007
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
1008
- color: cardinfoitem.text1colorfromarray,
1009
- textWrap: 'wrap',
1010
- }}
1011
- >
1012
- {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
1013
- </p>
1014
- </div>
1015
- <div
1016
- class="col-lg-12 d-flex p-0"
1017
- style={{
1018
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1019
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
1020
- }}
1021
- >
1022
- {sectionproperties.slideshowtext2_show && (
1023
- <p
1024
- class="m-0 wordbreak"
1025
- style={{
1026
- // color: sectionproperties.slideshowText2ContentColor,
1027
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
1028
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
1029
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1030
- color: cardinfoitem.text2colorfromarray,
1031
- textWrap: 'wrap',
1032
- }}
1033
- >
1034
- {langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar}
1035
- </p>
1036
- )}
1037
- </div>
1038
- {sectionproperties.imageposition == 'Bottom' && sectionproperties.image_width != 0 && (
1039
- <div
1040
- class="col-lg-12 d-flex align-items-center p-0"
1041
- style={{
1042
- marginTop: sectionproperties.image_mb + 'px',
1043
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1044
- }}
1045
- >
1046
- <div class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '} style={{}}>
1047
- <Imagekitimagecomp
1048
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1049
- publicKey={ikimagecredcontext?.ikimagepublickey}
1050
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
1051
- style={{
1052
- maxHeight: sectionproperties.iconcontainerwidth + '%',
1053
- maxWidth: sectionproperties.iconcontainerwidth + '%',
1054
- objectFit: 'contain',
1055
- }}
1056
- />
1057
- </div>
1058
- </div>
1059
- )}
1060
- {sectionproperties.generalbtn_show == 'Show' && cardinfoitem.iscardclickable == 'Yes' && (
1061
- <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'}>
1062
- <button
1063
- class={`${sectionStyles.btnstyles}`}
1064
- onClick={() => {
1065
- if (cardinfoitem.btntype == 'Web Product Link') {
1066
- routingcountext(cardinfoitem.btnlink, false, '');
1067
- } else if (
1068
- cardinfoitem.iscardclickable == 'Yes' &&
1069
- cardinfoitem.clickabletabtype == 'Same Tab' &&
1070
- cardinfoitem.btntype != 'Web Product Link'
1071
- ) {
1072
- window.open(cardinfoitem.btnlink, '_target');
1073
- } else if (
1074
- cardinfoitem.iscardclickable == 'Yes' &&
1075
- cardinfoitem.clickabletabtype == 'New Tab' &&
1076
- cardinfoitem.btntype != 'Web Product Link'
1077
- ) {
1078
- window.open(cardinfoitem.btnlink, '_blank');
1079
- } else if (sectionproperties.btntype == 'App/Web Page') {
1080
- // window.open(sectionproperties.btnlink, '_target');
1081
- routingcountext(cardinfoitem.btnlink, false, '');
1082
- }
1083
- }}
1084
- >
1085
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1086
- </button>
1087
- </div>
1088
- )}
1089
- </div>
1090
- </div>
1091
- );
1092
- })}
1093
- </div>
1094
- )}
1095
- {sectionproperties.view_as_slider_vertical == 'Vertical' && (
1096
- <div
1097
- class="row m-0 w-100 d-flex "
1098
- style={{
1099
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1100
- }}
1101
- >
1102
- {sectionproperties.flippingcards == 'No' &&
1103
- cardsarray.map((cardinfoitem, cardinfoindex) => {
1104
- return (
1105
- <div
1106
- // class={
1107
- // sectionproperties.numofcols == '2'
1108
- // ? ' col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' +
1109
- // sectionproperties.numberOfColsverticalresp
1110
- // : sectionproperties.numofcols == '3'
1111
- // ? ' col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' +
1112
- // sectionproperties.numberOfColsverticalresp
1113
- // : ' col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 col-sm-' +
1114
- // sectionproperties.numberOfColsverticalresp
1115
- // }
1116
- class={
1117
- // sectionproperties.evencards
1118
- authdetailsContext?.instinfo?.instid == '6762e6ec9e9f8'
1119
- ? sectionproperties.numofcols == '2'
1120
- ? ' h-100 h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1121
- sectionproperties.numberOfColsverticalresp
1122
- : sectionproperties.numofcols == '3'
1123
- ? ' h-100 h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1124
- sectionproperties.numberOfColsverticalresp
1125
- : sectionproperties.numofcols == '6'
1126
- ? ' h-100 h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1127
- sectionproperties.numberOfColsverticalresp
1128
- : ' h-100 h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1129
- sectionproperties.numberOfColsverticalresp
1130
- : sectionproperties.numofcols == '2'
1131
- ? ' h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1132
- sectionproperties.numberOfColsverticalresp
1133
- : sectionproperties.numofcols == '3'
1134
- ? ' h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1135
- sectionproperties.numberOfColsverticalresp
1136
- : sectionproperties.numofcols == '6'
1137
- ? ' h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1138
- sectionproperties.numberOfColsverticalresp
1139
- : ' h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1140
- sectionproperties.numberOfColsverticalresp
1141
- }
1142
- style={{
1143
- zIndex: 2,
1144
-
1145
- paddingLeft: sectionproperties.marginhorizontal + 'px',
1146
- paddingRight: sectionproperties.marginhorizontal + 'px',
1147
- marginBottom: sectionproperties.innersectionmarginbottom + 'px',
1148
- }}
1149
- >
1150
- <div
1151
- // class={
1152
- // sectionproperties.innersectionbordertype != 'All'
1153
- // ? sectionStyles.cardContainer + ' row m-0 w-100 mb-auto border-md-none '
1154
- // : sectionStyles.cardContainer + ' row m-0 w-100 mb-auto '
1155
- // }
1156
- class={
1157
- sectionproperties.innersectionbordertype != 'All'
1158
- ? sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto border-md-none '
1159
- : sectionStyles.cardContainer + ' h-100 h-md-auto row m-0 w-100 mb-auto '
1160
- }
1161
- style={{
1162
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
1163
- // background: sectionproperties.reservation_bgcolor,
1164
- background: cardinfoitem.cardbgcolorfromarray,
1165
- paddingTop: sectionproperties.reservation_padding_top + 'px',
1166
- paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
1167
- paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
1168
- paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
1169
- borderRadius: sectionproperties.reservation_borderradius + 'px',
1170
- border:
1171
- sectionproperties.innersectionbordertype == 'All'
1172
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
1173
- : cardinfoindex != cardsarray.length - 1
1174
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
1175
- : '',
1176
- // cardinfoindex != cardsarray.length - 1
1177
- // ? sectionproperties.innersectionbordertype == 'All'
1178
- // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
1179
- // : ''
1180
- // : '',
1181
- borderRight:
1182
- cardinfoindex != cardsarray.length - 1
1183
- ? sectionproperties.innersectionbordertype == 'Right'
1184
- ? langdetect == 'en'
1185
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
1186
- : ''
1187
- : ''
1188
- : '',
1189
- borderLeft:
1190
- sectionproperties.innersectionbordertype == 'Right'
1191
- ? langdetect == 'ar'
1192
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
1193
- : ''
1194
- : '',
1195
- boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
1196
- height: authdetailsContext?.instinfo?.contactinfo.instid == '66b4a0338cb14' ? '100%' : '',
1197
- }}
1198
- onClick={() => {
1199
- // if (cardinfoitem.iscardclickable == 'Yes') {
1200
- // window.open(cardinfoitem.btnlink, '_blank');
1201
- // }
1202
- if (cardinfoitem.btntype == 'Web Product Link' || cardinfoitem.btntype == 'App/Web Page') {
1203
- routingcountext(cardinfoitem.btnlink, false, '');
1204
- } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab' && cardinfoitem.btntype != 'Web Product Link') {
1205
- // window.open(cardinfoitem.btnlink, '_target');
1206
- routingcountext(cardinfoitem.btnlink, false, '');
1207
- } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
1208
- window.open(cardinfoitem.btnlink, '_blank');
1209
- }
1210
- }}
1211
- >
1212
- {sectionproperties.imageposition == 'Top' && sectionproperties.image_width != 0 && (
1213
- <div
1214
- class="col-lg-12 d-flex align-items-center p-0 w-100 h-md-100"
1215
- // class="col-lg-12 d-flex align-items-center p-0 w-100 h-100"
1216
- style={{
1217
- marginBottom: sectionproperties.image_mb + 'px',
1218
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1219
- }}
1220
- >
1221
- <div
1222
- class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '}
1223
- style={{ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start' }}
1224
- >
1225
- <Imagekitimagecomp
1226
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1227
- publicKey={ikimagecredcontext?.ikimagepublickey}
1228
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
1229
- style={{
1230
- maxHeight: sectionproperties.iconcontainerwidth + '%',
1231
- maxWidth: sectionproperties.iconcontainerwidth + '%',
1232
- objectFit: 'contain',
1233
- }}
1234
- />
1235
- </div>
1236
- </div>
1237
- )}
1238
- {sectionproperties.showrating == 'Show' && cardinfoitem.ratingnumber != null && (
1239
- <div class="col-lg-12 allcentered p-0 mb-1">
1240
- <ReactStars
1241
- count={5}
1242
- value={parseFloat(cardinfoitem.ratingnumber)}
1243
- edit={false}
1244
- size={18}
1245
- emptyIcon={
1246
- <i class="h-100 allcentered">
1247
- <GoStar style={{ color: '#ccc' }} />
1248
- </i>
1249
- }
1250
- halfIcon={
1251
- <i class="h-100 allcentered">
1252
- <IoIosStar style={{ color: sectionproperties.generalbtn_textColor }} />
1253
- </i>
1254
- }
1255
- filledIcon={
1256
- <i class="h-100 allcentered">
1257
- <IoIosStar style={{ color: sectionproperties.generalbtn_textColor }} />
1258
- </i>
1259
- }
1260
- activeColor={sectionproperties.generalbtn_textColor}
1261
- />
1262
- </div>
1263
- )}
1264
- <div
1265
- class="col-lg-12 d-flex p-0"
1266
- style={{
1267
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
1268
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1269
- }}
1270
- >
1271
- <p
1272
- class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
1273
- style={{
1274
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
1275
- color: cardinfoitem.text1colorfromarray,
1276
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
1277
- }}
1278
- >
1279
- {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
1280
- </p>
1281
- </div>
1282
- <div
1283
- class="col-lg-12 d-flex p-0"
1284
- style={{
1285
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1286
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
1287
- }}
1288
- >
1289
- {sectionproperties.slideshowtext2_show && (
1290
- <p
1291
- class="m-0 wordbreak"
1292
- style={{
1293
- // color: sectionproperties.slideshowText2ContentColor,
1294
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
1295
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
1296
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
1297
- color: cardinfoitem.text2colorfromarray,
1298
- }}
1299
- >
1300
- {langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar}
1301
- </p>
1302
- )}
1303
- </div>
1304
- {sectionproperties.imageposition == 'Bottom' && sectionproperties.image_width != 0 && (
1305
- <div
1306
- class="col-lg-12 d-flex align-items-center p-0"
1307
- style={{
1308
- marginTop: sectionproperties.image_mb + 'px',
1309
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1310
- }}
1311
- >
1312
- <div class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '} style={{}}>
1313
- <Imagekitimagecomp
1314
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1315
- publicKey={ikimagecredcontext?.ikimagepublickey}
1316
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
1317
- style={{
1318
- maxHeight: sectionproperties.iconcontainerwidth + '%',
1319
- maxWidth: sectionproperties.iconcontainerwidth + '%',
1320
- objectFit: 'contain',
1321
- }}
1322
- />
1323
- </div>
1324
- </div>
1325
- )}
1326
- {sectionproperties.generalbtn_show == 'Show' && cardinfoitem.iscardclickable == 'Yes' && (
1327
- <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'}>
1328
- <button
1329
- class={`${sectionStyles.btnstyles}`}
1330
- onClick={() => {
1331
- if (cardinfoitem.btntype == 'Web Product Link') {
1332
- routingcountext(cardinfoitem.btnlink, false, '');
1333
- } else if (
1334
- cardinfoitem.iscardclickable == 'Yes' &&
1335
- cardinfoitem.clickabletabtype == 'Same Tab' &&
1336
- cardinfoitem.btntype != 'Web Product Link'
1337
- ) {
1338
- window.open(cardinfoitem.btnlink, '_target');
1339
- } else if (
1340
- cardinfoitem.iscardclickable == 'Yes' &&
1341
- cardinfoitem.clickabletabtype == 'New Tab' &&
1342
- cardinfoitem.btntype != 'Web Product Link'
1343
- ) {
1344
- window.open(cardinfoitem.btnlink, '_blank');
1345
- } else if (sectionproperties.btntype == 'App/Web Page') {
1346
- // window.open(sectionproperties.btnlink, '_target');
1347
- routingcountext(cardinfoitem.btnlink, false, '');
1348
- }
1349
- }}
1350
- >
1351
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1352
- </button>
1353
- </div>
1354
- )}
1355
- </div>
1356
- </div>
1357
- );
1358
- })}
1359
- {sectionproperties.flippingcards == 'Yes' && sectionproperties.showcountdown != 'Yes' && (
1360
- <div class="row m-0 w-100 d-flex justify-content-center">
1361
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
1362
- // alert(JSON.stringify(cardsarray[7]));
1363
- return (
1364
- <div
1365
- class={
1366
- cardinfoitem?.cardobj_descripen == undefined
1367
- ? sectionproperties.numofcols == '2'
1368
- ? ' flip-card flip-cardnonhover h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1369
- sectionproperties.numberOfColsverticalresp
1370
- : sectionproperties.numofcols == '3'
1371
- ? ' flip-card flip-cardnonhover h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1372
- sectionproperties.numberOfColsverticalresp
1373
- : sectionproperties.numofcols == '6'
1374
- ? ' flip-card flip-cardnonhover h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1375
- sectionproperties.numberOfColsverticalresp
1376
- : ' flip-card flip-cardnonhover h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1377
- sectionproperties.numberOfColsverticalresp
1378
- : sectionproperties.numofcols == '2'
1379
- ? ' flip-card h-md-auto col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1380
- sectionproperties.numberOfColsverticalresp
1381
- : sectionproperties.numofcols == '3'
1382
- ? ' flip-card h-md-auto col-lg-4 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1383
- sectionproperties.numberOfColsverticalresp
1384
- : sectionproperties.numofcols == '6'
1385
- ? ' flip-card h-md-auto col-lg-2 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1386
- sectionproperties.numberOfColsverticalresp
1387
- : ' flip-card h-md-auto col-lg-3 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start col-sm-' +
1388
- sectionproperties.numberOfColsverticalresp
1389
- }
1390
- style={{
1391
- zIndex: 2,
1392
- paddingLeft: sectionproperties.marginhorizontal + 'px',
1393
- paddingRight: sectionproperties.marginhorizontal + 'px',
1394
- marginBottom: sectionproperties.innersectionmarginbottom + 'px',
1395
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : '',
1396
- }}
1397
- onClick={() => {
1398
- if (cardinfoitem.iscardclickable == 'Yes') {
1399
- if (cardinfoitem.btntype == 'Web Product Link') {
1400
- routingcountext(cardinfoitem.btnlink, false, '');
1401
- } else if (
1402
- cardinfoitem.iscardclickable == 'Yes' &&
1403
- cardinfoitem.clickabletabtype == 'Same Tab' &&
1404
- cardinfoitem.btntype != 'Web Product Link'
1405
- ) {
1406
- window.open(cardinfoitem.btnlink, '_self');
1407
- } else if (
1408
- cardinfoitem.iscardclickable == 'Yes' &&
1409
- cardinfoitem.clickabletabtype == 'New Tab' &&
1410
- cardinfoitem.btntype != 'Web Product Link'
1411
- ) {
1412
- window.open(cardinfoitem.btnlink, '_blank');
1413
- } else if (sectionproperties.btntype == 'App/Web Page') {
1414
- // window.open(sectionproperties.btnlink, '_target');
1415
- routingcountext(cardinfoitem.btnlink, false, '');
1416
- }
1417
- }
1418
- }}
1419
- >
1420
- <div
1421
- class="flip-card-inner"
1422
- style={{
1423
- background: cardinfoitem.cardbgcolorfromarray,
1424
- borderRadius: sectionproperties.reservation_borderradius + 'px',
1425
- border:
1426
- sectionproperties.innersectionbordertype == 'All'
1427
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
1428
- : cardinfoindex != cardsarray.length - 1
1429
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
1430
- : '',
1431
- }}
1432
- >
1433
- <div class={cardinfoitem.cardobj_descripen != '' ? 'flip-card-front d-flex align-items-center' : 'd-flex align-items-center'}>
1434
- <div class="row m-0 w-100">
1435
- <div
1436
- class="col-lg-12 d-flex align-items-center p-0"
1437
- style={{
1438
- marginBottom: sectionproperties.image_mb + 'px',
1439
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1440
- }}
1441
- >
1442
- <div
1443
- class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '}
1444
- style={{
1445
- background: 'transparent',
1446
- }}
1447
- >
1448
- <Imagekitimagecomp
1449
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1450
- publicKey={ikimagecredcontext?.ikimagepublickey}
1451
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
1452
- style={{
1453
- maxHeight: sectionproperties.iconcontainerwidth + '%',
1454
- maxWidth: sectionproperties.iconcontainerwidth + '%',
1455
- objectFit: 'contain',
1456
- }}
1457
- />
1458
- </div>
1459
- </div>
1460
- <div
1461
- class="col-lg-12 d-flex p-0"
1462
- style={{
1463
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
1464
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1465
- }}
1466
- >
1467
- <p
1468
- class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
1469
- style={{
1470
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
1471
- color: cardinfoitem.text1colorfromarray,
1472
- }}
1473
- >
1474
- {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
1475
- </p>
1476
- </div>
1477
-
1478
- {/*
1479
- {sectionproperties.generalbtn_show == 'Show' && cardinfoitem.iscardclickable == 'Yes' && (
1480
- <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'}>
1481
- <button class={`${sectionStyles.btnstyles}`}>
1482
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1483
- </button>
1484
- </div>
1485
- )}
1486
- */}
1487
- </div>
1488
- </div>
1489
- {cardinfoitem.cardobj_descripen != '' && (
1490
- <div class="flip-card-back allcentered">
1491
- <div class="row m-0 w-100 allcentered">
1492
- {sectionproperties.showimagewhenflip == 'Show' && (
1493
- <div
1494
- class="col-lg-12 d-flex align-items-center p-0"
1495
- style={{
1496
- marginBottom: sectionproperties.image_mb + 'px',
1497
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1498
- }}
1499
- >
1500
- <div
1501
- class={' d-flex align-items-center '}
1502
- style={{
1503
- width: '30%',
1504
- height: '30%',
1505
- justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center',
1506
- }}
1507
- >
1508
- <Imagekitimagecomp
1509
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
1510
- publicKey={ikimagecredcontext?.ikimagepublickey}
1511
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
1512
- style={{
1513
- maxHeight: '100%',
1514
- maxWidth: '100%',
1515
- objectFit: 'contain',
1516
- }}
1517
- />
1518
- </div>
1519
- </div>
1520
- )}
1521
- <div
1522
- class="col-lg-12 d-flex p-0"
1523
- style={{
1524
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
1525
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1526
- }}
1527
- >
1528
- <p
1529
- class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
1530
- style={{
1531
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
1532
- color: cardinfoitem.text1colorfromarray,
1533
- }}
1534
- >
1535
- {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
1536
- </p>
1537
- </div>
1538
- <div
1539
- class="col-lg-12 d-flex p-0"
1540
- style={{
1541
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1542
- }}
1543
- >
1544
- {sectionproperties.slideshowtext2_show && (
1545
- <p
1546
- class="m-0 wordbreak"
1547
- style={{
1548
- // color: sectionproperties.slideshowText2ContentColor,
1549
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
1550
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
1551
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1552
- color: cardinfoitem.text2colorfromarray,
1553
- }}
1554
- >
1555
- {langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar}
1556
- </p>
1557
- )}
1558
- </div>
1559
- </div>
1560
- </div>
1561
- )}
1562
- </div>
1563
- </div>
1564
- );
1565
- })}
1566
- </div>
1567
- )}
1568
- </div>
1569
- )}
1570
- </div>
1571
- </div>
1572
- )}
1573
- </div>
1574
- );
1575
- };
1576
- export default ServicesectionCenteredcards;