tabexseriescomponents 0.2.1279 → 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 +277 -0
  2. package/dist/index.esm.js +277 -0
  3. package/dist/index.umd.js +277 -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,3027 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import { css } from 'glamor';
3
- import { Imagekitimagecomp } from '../../../../Imagekitconfig.jsx';
4
- import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
5
- import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
6
- import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
7
- import { TypeAnimation } from 'react-type-animation';
8
-
9
- const Image_with_leftwords = (props) => {
10
- const [sectionproperties, setsectionproperties] = useState('');
11
- const [imagesarray, setimagesarray] = useState([]);
12
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
13
- const lang = props.actions.lang;
14
- const langdetect = props.actions.langdetect;
15
- const authdetailsContext = props.actions.authdetailsContext;
16
- const routingcountext = props.actions.routingcountext;
17
- const ikimagecredcontext = props.actions.ikimagecredcontext;
18
-
19
- useEffect(() => {
20
- var secpropobj = {};
21
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
22
- if (sectionitem.sectionid == props.sectionidprops) {
23
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
24
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
25
- });
26
- }
27
- });
28
- setsectionproperties({ ...secpropobj });
29
- }, [StatePagePropertiesContext]);
30
- useEffect(() => {
31
- if (sectionproperties.length != 0) {
32
- if (sectionproperties.arrayofobjectimagesonly != null) {
33
- var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
34
- if (Array.isArray(arrayofobjectimagesonlyparsed)) {
35
- setimagesarray([...arrayofobjectimagesonlyparsed]);
36
- }
37
- }
38
- }
39
- }, [sectionproperties]);
40
- const section_styles = {
41
- sectioncintainer: css({
42
- // paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
43
- paddingTop: sectionproperties.paddingTop,
44
- // paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 :0,
45
- paddingBottom: sectionproperties.paddingBottom,
46
- '@media (max-width: 800px)': {
47
- paddingTop: sectionproperties.paddingverticalresponsive + 'px',
48
- paddingBottom: sectionproperties.paddingverticalresponsive + 'px',
49
- },
50
- }),
51
- btn: css({
52
- width: sectionproperties.generalbtn_width + 'px',
53
- height: sectionproperties.generalbtn_height + 'px',
54
- backgroundColor: sectionproperties.generalbtn_bgColor,
55
- color: sectionproperties.generalbtn_textColor,
56
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
57
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
58
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
59
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
60
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
61
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
62
- fontWeight: sectionproperties.generalbtn_fontweight,
63
- marginTop: sectionproperties.generalbtn_marginTop + 'px',
64
- marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
65
- transition: '.3s',
66
- cursor: 'pointer',
67
- ':hover': {
68
- backgroundColor: sectionproperties.generalbtn_bgColoronhover,
69
- color: sectionproperties.generalbtn_textColoronhover,
70
- },
71
- }),
72
- sectiontitlespan: css({
73
- paddingLeft:
74
- sectionproperties.sectiontitleborderradius == 0 ? (langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px') : 0,
75
- paddingRight:
76
- sectionproperties.sectiontitleborderradius == 0 ? (langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px') : 0,
77
- ':after': {
78
- position: 'absolute',
79
- bottom: 0,
80
- right: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : '',
81
- left: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : '',
82
- content: 's',
83
- fontSize: '0',
84
- height: '3px',
85
- width: sectionproperties.sectitle_lineafterwidth + '%',
86
- display: 'block',
87
- backgroundColor: sectionproperties.linebgcolor,
88
- borderRadius: '6px',
89
- },
90
- }),
91
- facebook_btn: css({
92
- cursor: 'pointer',
93
- background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
94
- width: sectionproperties.facebkbtnnWidth + 'px',
95
- height: sectionproperties.facebkbtnnHeight + 'px',
96
- borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
97
- color: sectionproperties.facebkbtnnTextcolor,
98
- border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
99
- transition: '.3s',
100
- ':hover': {
101
- background: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'Transparent' : sectionproperties.facebkbtnnbgColoronhover,
102
- color: sectionproperties.facebkbtnnTextcoloronhover,
103
- borderColor: sectionproperties.facebkbtnnTextcoloronhover,
104
- },
105
- }),
106
- youtube_btn: css({
107
- cursor: 'pointer',
108
- background: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
109
- width: sectionproperties.youtubebtnWidth + 'px',
110
- height: sectionproperties.youtubebtnHeight + 'px',
111
- borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
112
- color: sectionproperties.youtubebtnTextcolor,
113
- border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
114
- transition: '.3s',
115
- ':hover': {
116
- background: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
117
- color: sectionproperties.youtubebtnTextcoloronhover,
118
- borderColor: sectionproperties.youtubebtnTextcoloronhover,
119
- },
120
- }),
121
- instgram_btn: css({
122
- cursor: 'pointer',
123
- background: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
124
- width: sectionproperties.instgrambtnWidth + 'px',
125
- height: sectionproperties.instgrambtnHeight + 'px',
126
- borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
127
- color: sectionproperties.instgrambtnTextcolor,
128
- border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
129
- transition: '.3s',
130
- ':hover': {
131
- background: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
132
- color: sectionproperties.instgrambtnTextcoloronhover,
133
- borderColor: sectionproperties.instgrambtnTextcoloronhover,
134
- },
135
- }),
136
- sectiontitlespan2: css({
137
- ':after': {
138
- position: 'absolute',
139
- content: 's',
140
- fontSize: '0',
141
- bottom: 0,
142
- right: 0,
143
- left: 0,
144
- display: 'block',
145
- height: '100%',
146
- width: sectionproperties.sectitle_lineafterwidth + '%',
147
- backgroundColor: sectionproperties.linebgcolor,
148
- borderRadius: '5px',
149
- },
150
- }),
151
- imageimage: css({
152
- width: sectionproperties.image_width + '%',
153
- height: sectionproperties.percentagepixel != 'Percentage' ? (sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px') : sectionproperties.image_height + '%',
154
- // height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
155
- margin: 0,
156
- padding: 0,
157
- objectFit: sectionproperties.bgcovercontain,
158
- borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
159
- borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
160
- borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
161
- borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
162
- '@media (max-width: 800px)': {
163
- height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + '%',
164
- width: authdetailsContext?.instinfo?.contactinfo.instid == '68527dfef348b' ? sectionproperties.image_width_resp + '%' : '',
165
- },
166
- }),
167
- editortext: css({
168
- textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
169
- color: sectionproperties.slideshowText2ContentColor,
170
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
171
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
172
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
173
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
174
- '@media (max-width: 800px)': {
175
- fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px',
176
- textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
177
- },
178
- }),
179
- cont1: css({
180
- width: sectionproperties.width + 'vw',
181
- '@media (max-width: 800px)': {
182
- width: sectionproperties.widthresponsive + 'vw',
183
- },
184
- }),
185
- rightinnercont: css({
186
- background: sectionproperties.reservation_bgcolor,
187
- borderRadius: sectionproperties.reservation_borderradius + 'px',
188
- paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
189
- paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
190
- '@media (max-width: 800px)': {
191
- paddingLeft: sectionproperties.innersectionpaddinghorizontalresp + 'px',
192
- paddingRight: sectionproperties.innersectionpaddinghorizontalresp + 'px',
193
- },
194
- }),
195
- };
196
- const SectionTitle = () => {
197
- return (
198
- <p
199
- class={
200
- sectionproperties.sectiontitlefontfamily == 'Pacifico'
201
- ? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
202
- : sectionproperties.sectiontitlefontfamily == 'Playfair'
203
- ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
204
- : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
205
- ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
206
- : sectionproperties.sectiontitlefontfamily == 'Quicksand'
207
- ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
208
- : sectionproperties.sectiontitlefontfamily == 'Satisfy'
209
- ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
210
- : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
211
- }
212
- style={{
213
- color: sectionproperties.sectionTitleColor,
214
- fontWeight: sectionproperties.sectionTitleFontWeight,
215
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
216
- }}
217
- >
218
- {sectionproperties.sectiontitlestyle == 'Line Under Text' && (
219
- <span class={`${section_styles.sectiontitlespan}` + ' pl-md-2 pr-md-2 left-md-0 '}>
220
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
221
- </span>
222
- )}
223
-
224
- {sectionproperties.sectiontitlestyle == 'Line Before Text' && (
225
- <span class={`${section_styles.sectiontitlespan2}` + ' pl-3 pr-3 pl-md-2 pr-md-2 '}>
226
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
227
- </span>
228
- )}
229
- </p>
230
- );
231
- };
232
- const SectionDescription = () => {
233
- return (
234
- <p
235
- class={
236
- sectionproperties.descFontFamily == 'Pacifico'
237
- ? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
238
- : sectionproperties.descFontFamily == 'Playfair'
239
- ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
240
- : sectionproperties.descFontFamily == 'Great Vibes'
241
- ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
242
- : sectionproperties.descFontFamily == 'Quicksand'
243
- ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
244
- : sectionproperties.descFontFamily == 'Satisfy'
245
- ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
246
- : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
247
- }
248
- style={{
249
- color: sectionproperties.prodCatColor,
250
- fontWeight: sectionproperties.prodCatFontWeight,
251
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
252
- }}
253
- >
254
- {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
255
- </p>
256
- );
257
- };
258
-
259
- const Content = () => {
260
- return (
261
- <div
262
- class={
263
- sectionproperties.image_show == 'show'
264
- ? ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center p-md-0'
265
- : ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center p-md-0'
266
- }
267
- style={{
268
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
269
- paddingLeft: sectionproperties.marginhorizontal + 'px',
270
- paddingRight: sectionproperties.marginhorizontal + 'px',
271
- borderRadius: sectionproperties.reservation_borderradius + 'px',
272
- }}
273
- >
274
- <div
275
- class={
276
- sectionproperties.justifyContentCenter == 'Centered' ? section_styles.rightinnercont + ' row m-0 w-100 h-100 ' : section_styles.rightinnercont + ' row m-0 w-100 mb-auto h-100 '
277
- }
278
- style={{}}
279
- >
280
- {sectionproperties.sectionTitleFontSize != 0 && (
281
- <div
282
- class={sectionproperties.sectionstyleresponsive == 'Image above text' ? 'col-lg-12 pl-0 pr-0 d-flex mt-md-4' : 'col-lg-12 pl-0 pr-0 d-flex '}
283
- style={{
284
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
285
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
286
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
287
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
288
- }}
289
- >
290
- <div
291
- class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
292
- style={{
293
- position: 'relative',
294
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
295
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
296
- backgroundColor: sectionproperties.sectiontitlebgcolor,
297
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
298
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
299
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
300
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
301
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
302
- marginLeft:
303
- sectionproperties.sectiontitleborderradius != 0
304
- ? langdetect == 'en'
305
- ? sectionproperties.sectionTitleMarginLeft + 'px'
306
- : sectionproperties.sectionTitleMarginRight + 'px'
307
- : 0,
308
- marginRight:
309
- sectionproperties.sectiontitleborderradius != 0
310
- ? langdetect == 'en'
311
- ? sectionproperties.sectionTitleMarginRight + 'px'
312
- : sectionproperties.sectionTitleMarginLeft + 'px'
313
- : 0,
314
- }}
315
- >
316
- {SectionTitle()}
317
- </div>
318
- <div
319
- class={'d-none align-items-center flex-row d-sm-flex mt-sm-2 mx-md-2'}
320
- style={{
321
- position: 'relative',
322
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
323
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
324
- backgroundColor: sectionproperties.sectiontitlebgcolor,
325
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
326
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
327
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
328
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
329
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
330
- marginLeft:
331
- sectionproperties.sectiontitleborderradius != 0
332
- ? langdetect == 'en'
333
- ? sectionproperties.sectionTitleMarginLeft + 'px'
334
- : sectionproperties.sectionTitleMarginRight + 'px'
335
- : 0,
336
- marginRight:
337
- sectionproperties.sectiontitleborderradius != 0
338
- ? langdetect == 'en'
339
- ? sectionproperties.sectionTitleMarginRight + 'px'
340
- : sectionproperties.sectionTitleMarginLeft + 'px'
341
- : 0,
342
- }}
343
- >
344
- {SectionTitle()}
345
- </div>
346
- </div>
347
- )}
348
- {sectionproperties.prodCatShow == 'Show' && (
349
- <div
350
- class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
351
- style={{
352
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
353
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
354
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
355
- }}
356
- >
357
- <div
358
- class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
359
- style={{
360
- position: 'relative',
361
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
362
- fontSize: sectionproperties.prodCatFontSize + 'px',
363
- marginLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
364
- marginRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
365
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
366
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
367
- }}
368
- >
369
- {SectionDescription()}
370
- </div>
371
- <div
372
- class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
373
- style={{
374
- position: 'relative',
375
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
376
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
377
- }}
378
- >
379
- {SectionDescription()}
380
- </div>
381
- </div>
382
- )}
383
- <div
384
- class="col-lg-12 p-0 d-flex justify-content-md-center"
385
- style={{
386
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
387
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
388
- }}
389
- >
390
- <p
391
- class={
392
- sectionproperties.text2centered == 'Justify'
393
- ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
394
- : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
395
- }
396
- style={{}}
397
- dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
398
- ></p>
399
- </div>
400
- {sectionproperties.generalbtn_show == 'Show' && (
401
- <div class={sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start'}>
402
- <button
403
- class={`${section_styles.btn}` + ' m-md-0 '}
404
- onClick={() => {
405
- if (sectionproperties.btntype == 'WhatsApp') {
406
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
407
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
408
- }
409
- } else if (sectionproperties.btntype == 'App/Web Page') {
410
- // window.open(sectionproperties.btnlink, '_target');
411
- routingcountext(sectionproperties.btnlink, false, '');
412
- } else {
413
- window.open(sectionproperties.btnlink, '_blank');
414
- }
415
- }}
416
- style={{
417
- marginLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
418
- marginRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
419
- }}
420
- >
421
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
422
- </button>
423
- </div>
424
- )}
425
- <div
426
- class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
427
- style={{
428
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
429
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
430
- display: sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide' ? 'none' : 'flex',
431
- }}
432
- >
433
- {sectionproperties.fbbtn_show == 'Show' && (
434
- <div
435
- class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
436
- onClick={() => {
437
- if (authdetailsContext?.instinfo?.facebooklink != null) {
438
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
439
- }
440
- }}
441
- >
442
- <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
443
- </div>
444
- )}
445
- {sectionproperties.instbtn_show == 'Show' && (
446
- <div
447
- class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
448
- onClick={() => {
449
- if (authdetailsContext?.instinfo?.instagramlink != null) {
450
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
451
- }
452
- }}
453
- >
454
- <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
455
- </div>
456
- )}
457
- {sectionproperties.youtbtn_show == 'Show' && (
458
- <div
459
- class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
460
- onClick={() => {
461
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
462
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
463
- }
464
- }}
465
- >
466
- <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
467
- </div>
468
- )}
469
- </div>
470
- </div>
471
- </div>
472
- );
473
- };
474
- const Image = () => {
475
- return (
476
- <div
477
- class={
478
- sectionproperties.image_height == 0
479
- ? sectionproperties.sectionstyle == 'Image on right'
480
- ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0'
481
- : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0'
482
- : sectionproperties.sectionstyle == 'Image on left'
483
- ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0'
484
- : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0'
485
- }
486
- style={{
487
- paddingLeft: sectionproperties.marginhorizontal + 'px',
488
- paddingRight: sectionproperties.marginhorizontal + 'px',
489
- cursor: imagesarray[0]?.IsClickableimg == 'Yes' ? 'pointer' : 'default',
490
- background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
491
- }}
492
- onClick={() => {
493
- if (imagesarray[0]?.IsClickableimg == 'Yes') {
494
- if (imagesarray[0]?.clickableimg_page_route != undefined && imagesarray[0]?.clickableimg_page_route.length != 0) {
495
- routingcountext(imagesarray[0]?.clickableimg_page_route, false, '');
496
- } else {
497
- routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + imagesarray[0]?.Clickableimg_getcoection);
498
- }
499
- }
500
- }}
501
- >
502
- {imagesarray.length != 0 && (
503
- <Imagekitimagecomp
504
- class={section_styles.imageimage}
505
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
506
- publicKey={ikimagecredcontext?.ikimagepublickey}
507
- path={
508
- langdetect == 'en'
509
- ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0]?.bgsection_image
510
- : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0]?.bgsection_image_ar
511
- }
512
- style={{}}
513
- />
514
- )}
515
- </div>
516
- );
517
- };
518
-
519
- return (
520
- <div
521
- class={' row ml-0 mr-0 d-flex justify-content-between align-items-center w-100 '}
522
- style={{
523
- marginTop: sectionproperties.marginTop + 'px',
524
- marginBottom: sectionproperties.marginBottom + 'px',
525
- background: sectionproperties.backgroundColor,
526
- }}
527
- >
528
- {sectionproperties.showanimation == 'Yes' && (
529
- <div class="row m-0 w-100" data-aos={'fade-up'}>
530
- {sectionproperties.cardstyletype == 'Style 1' && (
531
- <div
532
- class={
533
- sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0
534
- ? sectionproperties.width != 100
535
- ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-90 mx-auto'
536
- : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto'
537
- : sectionproperties.width != 100
538
- ? 'd-flex justify-content-between align-items-center w-md-90 mx-auto'
539
- : 'd-flex justify-content-between align-items-center w-md-100 mx-auto'
540
- }
541
- style={{
542
- paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
543
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
544
- width: sectionproperties.width + 'vw',
545
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
546
- borderRadius: sectionproperties.sectioncardborderradius + 'px',
547
- }}
548
- >
549
- <div
550
- class={
551
- // sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
552
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
553
- // : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
554
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
555
- // : sectionproperties.paddingLeft != 0
556
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
557
- // : sectionproperties.paddingRight != 0
558
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
559
- // : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
560
- sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
561
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
562
- : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
563
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
564
- : sectionproperties.paddingLeft != 0
565
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
566
- : sectionproperties.paddingRight != 0
567
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
568
- : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
569
- }
570
- style={{
571
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
572
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
573
- // paddingTop: sectionproperties.paddingTop + 'px',
574
- // paddingBottom: sectionproperties.paddingBottom + 'px',
575
- marginTop: sectionproperties.marginTop + 'px',
576
- marginBottom: sectionproperties.marginBottom + 'px',
577
- }}
578
- >
579
- {/* langdetect == 'en' && */}
580
- {sectionproperties.sectionstyle == 'Image on right' && (
581
- <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
582
- <div
583
- class="row m-0 w-100 d-flex justify-content-between"
584
- style={{
585
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
586
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
587
- }}
588
- >
589
- <div
590
- class={
591
- sectionproperties.image_show == 'show'
592
- ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
593
- : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
594
- }
595
- style={{
596
- background: sectionproperties.reservation_bgcolor,
597
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
598
- }}
599
- >
600
- <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'}>
601
- {sectionproperties.sectionTitleFontSize != 0 && (
602
- <div
603
- class={
604
- sectionproperties.sectionstyleresponsive == 'Image above text'
605
- ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
606
- : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
607
- }
608
- style={{
609
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
610
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
611
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
612
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
613
- }}
614
- >
615
- <div
616
- class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
617
- style={{
618
- position: 'relative',
619
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
620
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
621
- backgroundColor: sectionproperties.sectiontitlebgcolor,
622
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
623
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
624
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
625
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
626
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
627
- marginLeft:
628
- sectionproperties.sectiontitleborderradius != 0
629
- ? langdetect == 'en'
630
- ? sectionproperties.sectionTitleMarginLeft + 'px'
631
- : sectionproperties.sectionTitleMarginRight + 'px'
632
- : 0,
633
- marginRight:
634
- sectionproperties.sectiontitleborderradius != 0
635
- ? langdetect == 'en'
636
- ? sectionproperties.sectionTitleMarginRight + 'px'
637
- : sectionproperties.sectionTitleMarginLeft + 'px'
638
- : 0,
639
- }}
640
- >
641
- {SectionTitle()}
642
- </div>
643
- <div
644
- class={'d-none align-items-center flex-row d-sm-flex mt-sm-2 mx-md-2'}
645
- style={{
646
- position: 'relative',
647
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
648
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
649
- backgroundColor: sectionproperties.sectiontitlebgcolor,
650
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
651
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
652
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
653
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
654
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
655
- marginLeft:
656
- sectionproperties.sectiontitleborderradius != 0
657
- ? langdetect == 'en'
658
- ? sectionproperties.sectionTitleMarginLeft + 'px'
659
- : sectionproperties.sectionTitleMarginRight + 'px'
660
- : 0,
661
- marginRight:
662
- sectionproperties.sectiontitleborderradius != 0
663
- ? langdetect == 'en'
664
- ? sectionproperties.sectionTitleMarginRight + 'px'
665
- : sectionproperties.sectionTitleMarginLeft + 'px'
666
- : 0,
667
- }}
668
- >
669
- {SectionTitle()}
670
- </div>
671
- </div>
672
- )}
673
- {sectionproperties.prodCatShow == 'Show' && (
674
- <div
675
- class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
676
- style={{
677
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
678
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
679
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
680
- }}
681
- >
682
- <div
683
- class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
684
- style={{
685
- position: 'relative',
686
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
687
- fontSize: sectionproperties.prodCatFontSize + 'px',
688
- paddingLeft:
689
- langdetect == 'en'
690
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
691
- : sectionproperties.slideshowText2Content_marginRight + 'px',
692
- paddingRight:
693
- langdetect == 'en'
694
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
695
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
696
- }}
697
- >
698
- {SectionDescription()}
699
- </div>
700
- <div
701
- class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
702
- style={{
703
- position: 'relative',
704
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
705
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
706
- }}
707
- >
708
- {SectionDescription()}
709
- </div>
710
- </div>
711
- )}
712
- <div
713
- class="col-lg-12 p-0 d-flex justify-content-md-center"
714
- style={{
715
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
716
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
717
- }}
718
- >
719
- <p
720
- class={
721
- sectionproperties.text2centered == 'Justify'
722
- ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
723
- : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
724
- }
725
- style={{}}
726
- dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
727
- ></p>
728
- </div>
729
- {sectionproperties.generalbtn_show == 'Show' && (
730
- <div
731
- class={
732
- sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
733
- }
734
- >
735
- <button
736
- class={`${section_styles.btn}` + ' m-md-0 '}
737
- onClick={() => {
738
- if (sectionproperties.btntype == 'WhatsApp') {
739
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
740
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
741
- }
742
- } else if (sectionproperties.btntype == 'App/Web Page') {
743
- // window.open(sectionproperties.btnlink, '_target');
744
- routingcountext(sectionproperties.btnlink, false, '');
745
- } else {
746
- window.open(sectionproperties.btnlink, '_blank');
747
- }
748
- }}
749
- style={{
750
- marginLeft:
751
- langdetect == 'en'
752
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
753
- : sectionproperties.slideshowText2Content_marginRight + 'px',
754
- marginRight:
755
- langdetect == 'en'
756
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
757
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
758
- }}
759
- >
760
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
761
- </button>
762
- </div>
763
- )}
764
- <div
765
- class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
766
- style={{
767
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
768
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
769
- display:
770
- sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
771
- ? 'none'
772
- : 'flex',
773
- }}
774
- >
775
- {sectionproperties.fbbtn_show == 'Show' && (
776
- <div
777
- class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
778
- onClick={() => {
779
- if (authdetailsContext?.instinfo?.facebooklink != null) {
780
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
781
- }
782
- }}
783
- >
784
- <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
785
- </div>
786
- )}
787
- {sectionproperties.instbtn_show == 'Show' && (
788
- <div
789
- class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
790
- onClick={() => {
791
- if (authdetailsContext?.instinfo?.instagramlink != null) {
792
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
793
- }
794
- }}
795
- >
796
- <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
797
- </div>
798
- )}
799
- {sectionproperties.youtbtn_show == 'Show' && (
800
- <div
801
- class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
802
- onClick={() => {
803
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
804
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
805
- }
806
- }}
807
- >
808
- <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
809
- </div>
810
- )}
811
- </div>
812
- </div>
813
- </div>
814
- {sectionproperties.image_show == 'show' && Image()}
815
- </div>
816
- </div>
817
- )}
818
- {sectionproperties.sectionstyleresponsive == 'Image below text' && (
819
- <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
820
- <div
821
- class="row m-0 w-100 d-flex justify-content-between"
822
- style={{
823
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
824
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
825
- }}
826
- >
827
- <div
828
- class={
829
- sectionproperties.image_show == 'show'
830
- ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
831
- : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
832
- }
833
- style={{
834
- background: sectionproperties.reservation_bgcolor,
835
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
836
- }}
837
- >
838
- <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'}>
839
- {sectionproperties.sectionTitleFontSize != 0 && (
840
- <div
841
- class={
842
- sectionproperties.sectionstyleresponsive == 'Image above text'
843
- ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
844
- : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
845
- }
846
- style={{
847
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
848
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
849
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
850
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
851
- }}
852
- >
853
- <div
854
- class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
855
- style={{
856
- position: 'relative',
857
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
858
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
859
- backgroundColor: sectionproperties.sectiontitlebgcolor,
860
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
861
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
862
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
863
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
864
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
865
- marginLeft:
866
- sectionproperties.sectiontitleborderradius != 0
867
- ? langdetect == 'en'
868
- ? sectionproperties.sectionTitleMarginLeft + 'px'
869
- : sectionproperties.sectionTitleMarginRight + 'px'
870
- : 0,
871
- marginRight:
872
- sectionproperties.sectiontitleborderradius != 0
873
- ? langdetect == 'en'
874
- ? sectionproperties.sectionTitleMarginRight + 'px'
875
- : sectionproperties.sectionTitleMarginLeft + 'px'
876
- : 0,
877
- }}
878
- >
879
- {SectionTitle()}
880
- </div>
881
- <div
882
- class={'d-none align-items-center flex-row d-sm-flex mt-sm-2 mx-md-2'}
883
- style={{
884
- position: 'relative',
885
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
886
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
887
- backgroundColor: sectionproperties.sectiontitlebgcolor,
888
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
889
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
890
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
891
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
892
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
893
- marginLeft:
894
- sectionproperties.sectiontitleborderradius != 0
895
- ? langdetect == 'en'
896
- ? sectionproperties.sectionTitleMarginLeft + 'px'
897
- : sectionproperties.sectionTitleMarginRight + 'px'
898
- : 0,
899
- marginRight:
900
- sectionproperties.sectiontitleborderradius != 0
901
- ? langdetect == 'en'
902
- ? sectionproperties.sectionTitleMarginRight + 'px'
903
- : sectionproperties.sectionTitleMarginLeft + 'px'
904
- : 0,
905
- }}
906
- >
907
- {SectionTitle()}
908
- </div>
909
- </div>
910
- )}
911
- {sectionproperties.prodCatShow == 'Show' && (
912
- <div
913
- class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
914
- style={{
915
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
916
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
917
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
918
- }}
919
- >
920
- <div
921
- class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
922
- style={{
923
- position: 'relative',
924
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
925
- fontSize: sectionproperties.prodCatFontSize + 'px',
926
- paddingLeft:
927
- langdetect == 'en'
928
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
929
- : sectionproperties.slideshowText2Content_marginRight + 'px',
930
- paddingRight:
931
- langdetect == 'en'
932
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
933
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
934
- }}
935
- >
936
- {SectionDescription()}
937
- </div>
938
- <div
939
- class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
940
- style={{
941
- position: 'relative',
942
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
943
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
944
- }}
945
- >
946
- {SectionDescription()}
947
- </div>
948
- </div>
949
- )}
950
- <div
951
- class="col-lg-12 p-0 d-flex justify-content-md-center"
952
- style={{
953
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
954
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
955
- }}
956
- >
957
- <p
958
- class={
959
- sectionproperties.text2centered == 'Justify'
960
- ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
961
- : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
962
- }
963
- style={{}}
964
- dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
965
- ></p>
966
- </div>
967
- {sectionproperties.generalbtn_show == 'Show' && (
968
- <div
969
- class={
970
- sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
971
- }
972
- >
973
- <button
974
- class={`${section_styles.btn}` + ' m-md-0 '}
975
- onClick={() => {
976
- if (sectionproperties.btntype == 'WhatsApp') {
977
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
978
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
979
- }
980
- } else if (sectionproperties.btntype == 'App/Web Page') {
981
- // window.open(sectionproperties.btnlink, '_target');
982
- routingcountext(sectionproperties.btnlink, false, '');
983
- } else {
984
- window.open(sectionproperties.btnlink, '_blank');
985
- }
986
- }}
987
- style={{
988
- marginLeft:
989
- langdetect == 'en'
990
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
991
- : sectionproperties.slideshowText2Content_marginRight + 'px',
992
- marginRight:
993
- langdetect == 'en'
994
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
995
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
996
- }}
997
- >
998
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
999
- </button>
1000
- </div>
1001
- )}
1002
- <div
1003
- class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
1004
- style={{
1005
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1006
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1007
- display:
1008
- sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
1009
- ? 'none'
1010
- : 'flex',
1011
- }}
1012
- >
1013
- {sectionproperties.fbbtn_show == 'Show' && (
1014
- <div
1015
- class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1016
- onClick={() => {
1017
- if (authdetailsContext?.instinfo?.facebooklink != null) {
1018
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1019
- }
1020
- }}
1021
- >
1022
- <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
1023
- </div>
1024
- )}
1025
- {sectionproperties.instbtn_show == 'Show' && (
1026
- <div
1027
- class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1028
- onClick={() => {
1029
- if (authdetailsContext?.instinfo?.instagramlink != null) {
1030
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1031
- }
1032
- }}
1033
- >
1034
- <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
1035
- </div>
1036
- )}
1037
- {sectionproperties.youtbtn_show == 'Show' && (
1038
- <div
1039
- class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1040
- onClick={() => {
1041
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1042
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1043
- }
1044
- }}
1045
- >
1046
- <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
1047
- </div>
1048
- )}
1049
- </div>
1050
- </div>
1051
- </div>
1052
- {sectionproperties.image_show == 'show' && Image()}
1053
- </div>
1054
- </div>
1055
- )}
1056
-
1057
- {sectionproperties.sectionstyle == 'Image on left' && (
1058
- <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
1059
- <div
1060
- class="row m-0 w-100 d-flex justify-content-between"
1061
- style={{
1062
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1063
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1064
- }}
1065
- >
1066
- {sectionproperties.image_show == 'show' && Image()}
1067
- <div
1068
- class={
1069
- sectionproperties.image_show == 'show'
1070
- ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
1071
- : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
1072
- }
1073
- style={{
1074
- background: sectionproperties.reservation_bgcolor,
1075
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1076
- }}
1077
- >
1078
- <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'}>
1079
- {sectionproperties.sectionTitleFontSize != 0 && (
1080
- <div
1081
- class={
1082
- sectionproperties.sectionstyleresponsive == 'Image above text'
1083
- ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
1084
- : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
1085
- }
1086
- style={{
1087
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1088
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
1089
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
1090
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1091
- }}
1092
- >
1093
- <div
1094
- class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
1095
- style={{
1096
- position: 'relative',
1097
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1098
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
1099
- backgroundColor: sectionproperties.sectiontitlebgcolor,
1100
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
1101
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1102
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1103
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
1104
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
1105
- marginLeft:
1106
- sectionproperties.sectiontitleborderradius != 0
1107
- ? langdetect == 'en'
1108
- ? sectionproperties.sectionTitleMarginLeft + 'px'
1109
- : sectionproperties.sectionTitleMarginRight + 'px'
1110
- : 0,
1111
- marginRight:
1112
- sectionproperties.sectiontitleborderradius != 0
1113
- ? langdetect == 'en'
1114
- ? sectionproperties.sectionTitleMarginRight + 'px'
1115
- : sectionproperties.sectionTitleMarginLeft + 'px'
1116
- : 0,
1117
- }}
1118
- >
1119
- {SectionTitle()}
1120
- </div>
1121
- <div
1122
- class={'d-none align-items-center flex-row d-sm-flex mt-sm-2 mx-md-2'}
1123
- style={{
1124
- position: 'relative',
1125
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1126
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
1127
- backgroundColor: sectionproperties.sectiontitlebgcolor,
1128
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
1129
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1130
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1131
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
1132
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
1133
- marginLeft:
1134
- sectionproperties.sectiontitleborderradius != 0
1135
- ? langdetect == 'en'
1136
- ? sectionproperties.sectionTitleMarginLeft + 'px'
1137
- : sectionproperties.sectionTitleMarginRight + 'px'
1138
- : 0,
1139
- marginRight:
1140
- sectionproperties.sectiontitleborderradius != 0
1141
- ? langdetect == 'en'
1142
- ? sectionproperties.sectionTitleMarginRight + 'px'
1143
- : sectionproperties.sectionTitleMarginLeft + 'px'
1144
- : 0,
1145
- }}
1146
- >
1147
- {SectionTitle()}
1148
- </div>
1149
- </div>
1150
- )}
1151
- {sectionproperties.prodCatShow == 'Show' && (
1152
- <div
1153
- class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
1154
- style={{
1155
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1156
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
1157
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1158
- }}
1159
- >
1160
- <div
1161
- class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
1162
- style={{
1163
- position: 'relative',
1164
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1165
- fontSize: sectionproperties.prodCatFontSize + 'px',
1166
- paddingLeft:
1167
- langdetect == 'en'
1168
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1169
- : sectionproperties.slideshowText2Content_marginRight + 'px',
1170
- paddingRight:
1171
- langdetect == 'en'
1172
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
1173
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
1174
- }}
1175
- >
1176
- {SectionDescription()}
1177
- </div>
1178
- <div
1179
- class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
1180
- style={{
1181
- position: 'relative',
1182
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1183
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
1184
- }}
1185
- >
1186
- {SectionDescription()}
1187
- </div>
1188
- </div>
1189
- )}
1190
- <div
1191
- class="col-lg-12 p-0 d-flex justify-content-md-center"
1192
- style={{
1193
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
1194
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
1195
- }}
1196
- >
1197
- <p
1198
- class={
1199
- sectionproperties.text2centered == 'Justify'
1200
- ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
1201
- : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
1202
- }
1203
- style={{}}
1204
- dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
1205
- ></p>
1206
- </div>
1207
- {sectionproperties.generalbtn_show == 'Show' && (
1208
- <div
1209
- class={
1210
- sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
1211
- }
1212
- >
1213
- <button
1214
- class={`${section_styles.btn}` + ' m-md-0 '}
1215
- onClick={() => {
1216
- if (sectionproperties.btntype == 'WhatsApp') {
1217
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1218
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1219
- }
1220
- } else if (sectionproperties.btntype == 'App/Web Page') {
1221
- // window.open(sectionproperties.btnlink, '_target');
1222
- routingcountext(sectionproperties.btnlink, false, '');
1223
- } else {
1224
- window.open(sectionproperties.btnlink, '_blank');
1225
- }
1226
- }}
1227
- style={{
1228
- marginLeft:
1229
- langdetect == 'en'
1230
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1231
- : sectionproperties.slideshowText2Content_marginRight + 'px',
1232
- marginRight:
1233
- langdetect == 'en'
1234
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
1235
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
1236
- }}
1237
- >
1238
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1239
- </button>
1240
- </div>
1241
- )}
1242
- <div
1243
- class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
1244
- style={{
1245
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1246
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1247
- display:
1248
- sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
1249
- ? 'none'
1250
- : 'flex',
1251
- }}
1252
- >
1253
- {sectionproperties.fbbtn_show == 'Show' && (
1254
- <div
1255
- class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1256
- onClick={() => {
1257
- if (authdetailsContext?.instinfo?.facebooklink != null) {
1258
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1259
- }
1260
- }}
1261
- >
1262
- <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
1263
- </div>
1264
- )}
1265
- {sectionproperties.instbtn_show == 'Show' && (
1266
- <div
1267
- class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1268
- onClick={() => {
1269
- if (authdetailsContext?.instinfo?.instagramlink != null) {
1270
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1271
- }
1272
- }}
1273
- >
1274
- <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
1275
- </div>
1276
- )}
1277
- {sectionproperties.youtbtn_show == 'Show' && (
1278
- <div
1279
- class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1280
- onClick={() => {
1281
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1282
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1283
- }
1284
- }}
1285
- >
1286
- <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
1287
- </div>
1288
- )}
1289
- </div>
1290
- </div>
1291
- </div>
1292
- </div>
1293
- </div>
1294
- )}
1295
- {sectionproperties.sectionstyleresponsive == 'Image above text' && (
1296
- <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
1297
- <div
1298
- class="row m-0 w-100 d-flex justify-content-between"
1299
- style={{
1300
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1301
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1302
- }}
1303
- >
1304
- {sectionproperties.image_show == 'show' && Image()}
1305
- <div
1306
- class={
1307
- sectionproperties.image_show == 'show'
1308
- ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
1309
- : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
1310
- }
1311
- style={{
1312
- background: sectionproperties.reservation_bgcolor,
1313
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1314
- }}
1315
- >
1316
- <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'}>
1317
- {sectionproperties.sectionTitleFontSize != 0 && (
1318
- <div
1319
- class={
1320
- sectionproperties.sectionstyleresponsive == 'Image above text'
1321
- ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
1322
- : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
1323
- }
1324
- style={{
1325
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1326
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
1327
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
1328
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1329
- }}
1330
- >
1331
- <div
1332
- class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
1333
- style={{
1334
- position: 'relative',
1335
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1336
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
1337
- backgroundColor: sectionproperties.sectiontitlebgcolor,
1338
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
1339
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1340
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1341
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
1342
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
1343
- marginLeft:
1344
- sectionproperties.sectiontitleborderradius != 0
1345
- ? langdetect == 'en'
1346
- ? sectionproperties.sectionTitleMarginLeft + 'px'
1347
- : sectionproperties.sectionTitleMarginRight + 'px'
1348
- : 0,
1349
- marginRight:
1350
- sectionproperties.sectiontitleborderradius != 0
1351
- ? langdetect == 'en'
1352
- ? sectionproperties.sectionTitleMarginRight + 'px'
1353
- : sectionproperties.sectionTitleMarginLeft + 'px'
1354
- : 0,
1355
- }}
1356
- >
1357
- {SectionTitle()}
1358
- </div>
1359
- <div
1360
- class={'d-none align-items-center flex-row d-sm-flex mt-sm-2 mx-md-2'}
1361
- style={{
1362
- position: 'relative',
1363
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1364
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
1365
- backgroundColor: sectionproperties.sectiontitlebgcolor,
1366
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
1367
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1368
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1369
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
1370
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
1371
- marginLeft:
1372
- sectionproperties.sectiontitleborderradius != 0
1373
- ? langdetect == 'en'
1374
- ? sectionproperties.sectionTitleMarginLeft + 'px'
1375
- : sectionproperties.sectionTitleMarginRight + 'px'
1376
- : 0,
1377
- marginRight:
1378
- sectionproperties.sectiontitleborderradius != 0
1379
- ? langdetect == 'en'
1380
- ? sectionproperties.sectionTitleMarginRight + 'px'
1381
- : sectionproperties.sectionTitleMarginLeft + 'px'
1382
- : 0,
1383
- }}
1384
- >
1385
- {SectionTitle()}
1386
- </div>
1387
- </div>
1388
- )}
1389
- {sectionproperties.prodCatShow == 'Show' && (
1390
- <div
1391
- class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
1392
- style={{
1393
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1394
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
1395
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1396
- }}
1397
- >
1398
- <div
1399
- class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
1400
- style={{
1401
- position: 'relative',
1402
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1403
- fontSize: sectionproperties.prodCatFontSize + 'px',
1404
- paddingLeft:
1405
- langdetect == 'en'
1406
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1407
- : sectionproperties.slideshowText2Content_marginRight + 'px',
1408
- paddingRight:
1409
- langdetect == 'en'
1410
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
1411
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
1412
- }}
1413
- >
1414
- {SectionDescription()}
1415
- </div>
1416
- <div
1417
- class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
1418
- style={{
1419
- position: 'relative',
1420
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1421
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
1422
- }}
1423
- >
1424
- {SectionDescription()}
1425
- </div>
1426
- </div>
1427
- )}
1428
- <div
1429
- class="col-lg-12 p-0 d-flex justify-content-md-center"
1430
- style={{
1431
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
1432
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
1433
- }}
1434
- >
1435
- <p
1436
- class={
1437
- sectionproperties.text2centered == 'Justify'
1438
- ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
1439
- : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
1440
- }
1441
- style={{}}
1442
- dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
1443
- ></p>
1444
- </div>
1445
- {sectionproperties.generalbtn_show == 'Show' && (
1446
- <div
1447
- class={
1448
- sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
1449
- }
1450
- >
1451
- <button
1452
- class={`${section_styles.btn}` + ' m-md-0 '}
1453
- onClick={() => {
1454
- if (sectionproperties.btntype == 'WhatsApp') {
1455
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1456
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1457
- }
1458
- } else if (sectionproperties.btntype == 'App/Web Page') {
1459
- // window.open(sectionproperties.btnlink, '_target');
1460
- routingcountext(sectionproperties.btnlink, false, '');
1461
- } else {
1462
- window.open(sectionproperties.btnlink, '_blank');
1463
- }
1464
- }}
1465
- style={{
1466
- marginLeft:
1467
- langdetect == 'en'
1468
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1469
- : sectionproperties.slideshowText2Content_marginRight + 'px',
1470
- marginRight:
1471
- langdetect == 'en'
1472
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
1473
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
1474
- }}
1475
- >
1476
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1477
- </button>
1478
- </div>
1479
- )}
1480
- <div
1481
- class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
1482
- style={{
1483
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1484
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1485
- display:
1486
- sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
1487
- ? 'none'
1488
- : 'flex',
1489
- }}
1490
- >
1491
- {sectionproperties.fbbtn_show == 'Show' && (
1492
- <div
1493
- class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1494
- onClick={() => {
1495
- if (authdetailsContext?.instinfo?.facebooklink != null) {
1496
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1497
- }
1498
- }}
1499
- >
1500
- <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
1501
- </div>
1502
- )}
1503
- {sectionproperties.instbtn_show == 'Show' && (
1504
- <div
1505
- class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1506
- onClick={() => {
1507
- if (authdetailsContext?.instinfo?.instagramlink != null) {
1508
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1509
- }
1510
- }}
1511
- >
1512
- <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
1513
- </div>
1514
- )}
1515
- {sectionproperties.youtbtn_show == 'Show' && (
1516
- <div
1517
- class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1518
- onClick={() => {
1519
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1520
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1521
- }
1522
- }}
1523
- >
1524
- <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
1525
- </div>
1526
- )}
1527
- </div>
1528
- </div>
1529
- </div>
1530
- </div>
1531
- </div>
1532
- )}
1533
- {/* {sectionproperties.sectionstyle == 'Image on left' && langdetect == 'ar' && (
1534
- <div class="col-lg-12 p-0 d-flex justify-content-between">
1535
- <div
1536
- class="row m-0 w-100 d-flex justify-content-between"
1537
- style={{
1538
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1539
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1540
- }}
1541
- >
1542
- {Content()}
1543
- {Image()}
1544
- </div>
1545
- </div>
1546
- )} */}
1547
- </div>
1548
- </div>
1549
- )}
1550
- {sectionproperties.cardstyletype == 'Style 2' && (
1551
- <div
1552
- class={
1553
- sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0
1554
- ? sectionproperties.width != 100
1555
- ? section_styles.cont1 + ' d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 mx-auto '
1556
- : section_styles.cont1 + ' d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 mx-auto '
1557
- : sectionproperties.width != 100
1558
- ? section_styles.cont1 + ' d-flex justify-content-between align-items-center mx-auto '
1559
- : section_styles.cont1 + ' d-flex justify-content-between align-items-center mx-auto '
1560
- }
1561
- style={{
1562
- paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
1563
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
1564
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
1565
- borderRadius: sectionproperties.sectioncardborderradius + 'px',
1566
- }}
1567
- >
1568
- <div
1569
- class={
1570
- // sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
1571
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1572
- // : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
1573
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
1574
- // : sectionproperties.paddingLeft != 0
1575
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
1576
- // : sectionproperties.paddingRight != 0
1577
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
1578
- // : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
1579
- sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
1580
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1581
- : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
1582
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
1583
- : sectionproperties.paddingLeft != 0
1584
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1585
- : sectionproperties.paddingRight != 0
1586
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1587
- : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
1588
- }
1589
- style={{
1590
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
1591
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
1592
- // paddingTop: sectionproperties.paddingTop + 'px',
1593
- // paddingBottom: sectionproperties.paddingBottom + 'px',
1594
- marginTop: sectionproperties.marginTop + 'px',
1595
- marginBottom: sectionproperties.marginBottom + 'px',
1596
- }}
1597
- >
1598
- {/* langdetect == 'en' && */}
1599
- {sectionproperties.sectionstyle == 'Image on right' && (
1600
- <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
1601
- <div
1602
- class="row m-0 w-100 d-flex justify-content-between"
1603
- style={{
1604
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1605
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1606
- }}
1607
- >
1608
- {Content()}
1609
- {sectionproperties.image_show == 'show' && Image()}
1610
- </div>
1611
- </div>
1612
- )}
1613
- {sectionproperties.sectionstyleresponsive == 'Image below text' && (
1614
- <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
1615
- <div
1616
- class="row m-0 w-100 d-flex justify-content-between"
1617
- style={{
1618
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1619
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1620
- }}
1621
- >
1622
- {Content()}
1623
- {sectionproperties.image_show == 'show' && Image()}
1624
- </div>
1625
- </div>
1626
- )}
1627
- {/* */}
1628
- {/**/}
1629
- {/* */}
1630
- {/* {sectionproperties.sectionstyle == 'Image on right' && langdetect == 'ar' && (
1631
- <div class="col-lg-12 p-0 d-flex justify-content-between">
1632
- <div
1633
- class="row m-0 w-100 d-flex justify-content-between"
1634
- style={{
1635
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1636
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1637
- }}
1638
- >
1639
- {Image()}
1640
- {Content()}
1641
- </div>
1642
- </div>
1643
- )} */}
1644
- {/* langdetect == 'en' && */}
1645
- {sectionproperties.sectionstyle == 'Image on left' && (
1646
- <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
1647
- <div
1648
- class="row m-0 w-100 d-flex justify-content-between"
1649
- style={{
1650
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1651
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1652
- }}
1653
- >
1654
- {sectionproperties.image_show == 'show' && Image()}
1655
- {Content()}
1656
- </div>
1657
- </div>
1658
- )}
1659
- {sectionproperties.sectionstyleresponsive == 'Image above text' && (
1660
- <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
1661
- <div
1662
- class="row m-0 w-100 d-flex justify-content-between"
1663
- style={{
1664
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1665
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1666
- }}
1667
- >
1668
- {sectionproperties.image_show == 'show' && <div class="w-100 mb-md-3"> {Image()}</div>}
1669
- {Content()}
1670
- </div>
1671
- </div>
1672
- )}
1673
- {/* {sectionproperties.sectionstyle == 'Image on left' && langdetect == 'ar' && (
1674
- <div class="col-lg-12 p-0 d-flex justify-content-between">
1675
- <div
1676
- class="row m-0 w-100 d-flex justify-content-between"
1677
- style={{
1678
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1679
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1680
- }}
1681
- >
1682
- {Content()}
1683
- {Image()}
1684
- </div>
1685
- </div>
1686
- )} */}
1687
- </div>
1688
- </div>
1689
- )}
1690
- </div>
1691
- )}
1692
- {sectionproperties.showanimation != 'Yes' && (
1693
- <div class="row m-0 w-100">
1694
- {sectionproperties.cardstyletype == 'Style 1' && (
1695
- <div
1696
- class={
1697
- sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0
1698
- ? sectionproperties.width != 100
1699
- ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-90 mx-auto'
1700
- : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-md-100 mx-auto'
1701
- : sectionproperties.width != 100
1702
- ? 'd-flex justify-content-between align-items-center w-md-90 mx-auto'
1703
- : 'd-flex justify-content-between align-items-center w-md-100 mx-auto'
1704
- }
1705
- style={{
1706
- paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
1707
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
1708
- width: sectionproperties.width + 'vw',
1709
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
1710
- borderRadius: sectionproperties.sectioncardborderradius + 'px',
1711
- }}
1712
- >
1713
- <div
1714
- class={
1715
- // sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
1716
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1717
- // : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
1718
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
1719
- // : sectionproperties.paddingLeft != 0
1720
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
1721
- // : sectionproperties.paddingRight != 0
1722
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
1723
- // : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
1724
- sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
1725
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1726
- : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
1727
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
1728
- : sectionproperties.paddingLeft != 0
1729
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1730
- : sectionproperties.paddingRight != 0
1731
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1732
- : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
1733
- }
1734
- style={{
1735
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
1736
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
1737
- // paddingTop: sectionproperties.paddingTop + 'px',
1738
- // paddingBottom: sectionproperties.paddingBottom + 'px',
1739
- marginTop: sectionproperties.marginTop + 'px',
1740
- marginBottom: sectionproperties.marginBottom + 'px',
1741
- }}
1742
- >
1743
- {/* langdetect == 'en' && */}
1744
- {sectionproperties.sectionstyle == 'Image on right' && (
1745
- <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
1746
- <div
1747
- class="row m-0 w-100 d-flex justify-content-between"
1748
- style={{
1749
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1750
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1751
- }}
1752
- >
1753
- <div
1754
- class={
1755
- sectionproperties.image_show == 'show'
1756
- ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center '
1757
- : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center '
1758
- }
1759
- style={{
1760
- background: sectionproperties.reservation_bgcolor,
1761
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1762
- paddingLeft: authdetailsContext?.instinfo?.instid == '68319d088f13e' ? '1.5rem' : '',
1763
- paddingRight: authdetailsContext?.instinfo?.instid == '68319d088f13e' ? '1.5rem' : '',
1764
- }}
1765
- >
1766
- <div
1767
- class={
1768
- authdetailsContext?.instinfo?.instid == '68319d088f13e'
1769
- ? 'row m-0 w-100 h-100 p-4'
1770
- : sectionproperties.justifyContentCenter == 'Centered'
1771
- ? 'row m-0 w-100'
1772
- : 'row m-0 w-100 mb-auto'
1773
- }
1774
- style={{
1775
- border: authdetailsContext?.instinfo?.instid == '68319d088f13e' ? '1px solid white' : 0,
1776
- }}
1777
- >
1778
- {sectionproperties.sectionTitleFontSize != 0 && (
1779
- <div
1780
- class={
1781
- sectionproperties.sectionstyleresponsive == 'Image above text'
1782
- ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
1783
- : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
1784
- }
1785
- style={{
1786
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1787
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
1788
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
1789
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1790
- }}
1791
- >
1792
- <div
1793
- class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
1794
- style={{
1795
- position: 'relative',
1796
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1797
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
1798
- backgroundColor: sectionproperties.sectiontitlebgcolor,
1799
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
1800
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1801
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1802
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
1803
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
1804
- marginLeft:
1805
- sectionproperties.sectiontitleborderradius != 0
1806
- ? langdetect == 'en'
1807
- ? sectionproperties.sectionTitleMarginLeft + 'px'
1808
- : sectionproperties.sectionTitleMarginRight + 'px'
1809
- : 0,
1810
- marginRight:
1811
- sectionproperties.sectiontitleborderradius != 0
1812
- ? langdetect == 'en'
1813
- ? sectionproperties.sectionTitleMarginRight + 'px'
1814
- : sectionproperties.sectionTitleMarginLeft + 'px'
1815
- : 0,
1816
- }}
1817
- >
1818
- {SectionTitle()}
1819
- </div>
1820
- <div
1821
- class={'d-none align-items-center flex-row d-sm-flex mt-sm-2 mx-md-2'}
1822
- style={{
1823
- position: 'relative',
1824
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1825
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
1826
- backgroundColor: sectionproperties.sectiontitlebgcolor,
1827
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
1828
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1829
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1830
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
1831
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
1832
- marginLeft:
1833
- sectionproperties.sectiontitleborderradius != 0
1834
- ? langdetect == 'en'
1835
- ? sectionproperties.sectionTitleMarginLeft + 'px'
1836
- : sectionproperties.sectionTitleMarginRight + 'px'
1837
- : 0,
1838
- marginRight:
1839
- sectionproperties.sectiontitleborderradius != 0
1840
- ? langdetect == 'en'
1841
- ? sectionproperties.sectionTitleMarginRight + 'px'
1842
- : sectionproperties.sectionTitleMarginLeft + 'px'
1843
- : 0,
1844
- }}
1845
- >
1846
- {SectionTitle()}
1847
- </div>
1848
- </div>
1849
- )}
1850
- {sectionproperties.prodCatShow == 'Show' && (
1851
- <div
1852
- class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
1853
- style={{
1854
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1855
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
1856
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1857
- }}
1858
- >
1859
- <div
1860
- class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
1861
- style={{
1862
- position: 'relative',
1863
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1864
- fontSize: sectionproperties.prodCatFontSize + 'px',
1865
- paddingLeft:
1866
- langdetect == 'en'
1867
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1868
- : sectionproperties.slideshowText2Content_marginRight + 'px',
1869
- paddingRight:
1870
- langdetect == 'en'
1871
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
1872
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
1873
- }}
1874
- >
1875
- {SectionDescription()}
1876
- </div>
1877
- <div
1878
- class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
1879
- style={{
1880
- position: 'relative',
1881
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1882
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
1883
- }}
1884
- >
1885
- {SectionDescription()}
1886
- </div>
1887
- </div>
1888
- )}
1889
- {langdetect == 'ar' && authdetailsContext?.instinfo?.instid == '67b1bb900a541' && (
1890
- <div
1891
- class="w-100 "
1892
- style={{
1893
- textAlign: 'right',
1894
- color: '#fcfaf3',
1895
- }}
1896
- >
1897
- <TypeAnimation
1898
- sequence={[
1899
- // Same substring at the start will only be typed out once, initially
1900
- 'الخبرة القانونية في كافة المجالات',
1901
- 1000, // wait 1s before replacing "Mice" with "Hamsters"
1902
- 'نغطي كافة أنحاء الجمهورية الدول العربية والعالم',
1903
- 1000,
1904
- 'سابقة أعمال لا تُقارن',
1905
- 1000,
1906
- 'لا ندرج الخدمة الا ونحن قادرون علي تقديمها',
1907
- 1000,
1908
- 'نقدم الخدمة الصحيحة في الوقت المثالي',
1909
- 1000,
1910
- ]}
1911
- wrapper="span"
1912
- speed={50}
1913
- style={{ fontSize: '3em', display: 'inline-block', color: '#fcfaf3' }}
1914
- repeat={Infinity}
1915
- />
1916
- </div>
1917
- )}
1918
- {langdetect == 'en' && authdetailsContext?.instinfo?.instid == '67b1bb900a541' && (
1919
- <div
1920
- class="w-100 "
1921
- style={{
1922
- textAlign: 'left',
1923
- color: '#fcfaf3',
1924
- }}
1925
- >
1926
- <TypeAnimation
1927
- sequence={[
1928
- // Same substring at the start will only be typed out once, initially
1929
- 'Legal expertise in all fields',
1930
- 1000, // wait 1s before replacing "Mice" with "Hamsters"
1931
- 'We cover all parts of the Republic, Arab countries and the world',
1932
- 1000,
1933
- 'Unparalleled track record',
1934
- 1000,
1935
- 'We only list services if we are able to provide them.',
1936
- 1000,
1937
- 'We provide the right service at the right time.',
1938
- 1000,
1939
- ]}
1940
- wrapper="span"
1941
- speed={50}
1942
- style={{ fontSize: '3em', display: 'inline-block', color: '#fcfaf3' }}
1943
- repeat={Infinity}
1944
- />
1945
- </div>
1946
- )}
1947
-
1948
- <div
1949
- class="col-lg-12 p-0 d-flex justify-content-md-center"
1950
- style={{
1951
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
1952
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
1953
- }}
1954
- >
1955
- <p
1956
- class={
1957
- sectionproperties.text2centered == 'Justify'
1958
- ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
1959
- : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
1960
- }
1961
- style={{}}
1962
- dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
1963
- ></p>
1964
- </div>
1965
- {sectionproperties.generalbtn_show == 'Show' && (
1966
- <div
1967
- class={
1968
- sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
1969
- }
1970
- >
1971
- <button
1972
- class={`${section_styles.btn}` + ' m-md-0 '}
1973
- onClick={() => {
1974
- if (sectionproperties.btntype == 'WhatsApp') {
1975
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1976
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1977
- }
1978
- } else if (sectionproperties.btntype == 'App/Web Page') {
1979
- // window.open(sectionproperties.btnlink, '_target');
1980
- routingcountext(sectionproperties.btnlink, false, '');
1981
- } else {
1982
- window.open(sectionproperties.btnlink, '_blank');
1983
- }
1984
- }}
1985
- style={{
1986
- marginLeft:
1987
- langdetect == 'en'
1988
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1989
- : sectionproperties.slideshowText2Content_marginRight + 'px',
1990
- marginRight:
1991
- langdetect == 'en'
1992
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
1993
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
1994
- }}
1995
- >
1996
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1997
- </button>
1998
- </div>
1999
- )}
2000
- <div
2001
- class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
2002
- style={{
2003
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2004
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2005
- display:
2006
- sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
2007
- ? 'none'
2008
- : 'flex',
2009
- }}
2010
- >
2011
- {sectionproperties.fbbtn_show == 'Show' && (
2012
- <div
2013
- class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2014
- onClick={() => {
2015
- if (authdetailsContext?.instinfo?.facebooklink != null) {
2016
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
2017
- }
2018
- }}
2019
- >
2020
- <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
2021
- </div>
2022
- )}
2023
- {sectionproperties.instbtn_show == 'Show' && (
2024
- <div
2025
- class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2026
- onClick={() => {
2027
- if (authdetailsContext?.instinfo?.instagramlink != null) {
2028
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
2029
- }
2030
- }}
2031
- >
2032
- <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
2033
- </div>
2034
- )}
2035
- {sectionproperties.youtbtn_show == 'Show' && (
2036
- <div
2037
- class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2038
- onClick={() => {
2039
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
2040
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
2041
- }
2042
- }}
2043
- >
2044
- <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
2045
- </div>
2046
- )}
2047
- </div>
2048
- </div>
2049
- </div>
2050
- {sectionproperties.image_show == 'show' && Image()}
2051
- </div>
2052
- </div>
2053
- )}
2054
- {sectionproperties.sectionstyleresponsive == 'Image below text' && (
2055
- <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
2056
- <div
2057
- class="row m-0 w-100 d-flex justify-content-between"
2058
- style={{
2059
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2060
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
2061
- }}
2062
- >
2063
- <div
2064
- class={
2065
- sectionproperties.image_show == 'show'
2066
- ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
2067
- : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
2068
- }
2069
- style={{
2070
- background: sectionproperties.reservation_bgcolor,
2071
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2072
- }}
2073
- >
2074
- <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'}>
2075
- {sectionproperties.sectionTitleFontSize != 0 && (
2076
- <div
2077
- class={
2078
- sectionproperties.sectionstyleresponsive == 'Image above text'
2079
- ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
2080
- : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
2081
- }
2082
- style={{
2083
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2084
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
2085
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
2086
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2087
- }}
2088
- >
2089
- <div
2090
- class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
2091
- style={{
2092
- position: 'relative',
2093
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2094
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
2095
- backgroundColor: sectionproperties.sectiontitlebgcolor,
2096
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
2097
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2098
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2099
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
2100
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
2101
- marginLeft:
2102
- sectionproperties.sectiontitleborderradius != 0
2103
- ? langdetect == 'en'
2104
- ? sectionproperties.sectionTitleMarginLeft + 'px'
2105
- : sectionproperties.sectionTitleMarginRight + 'px'
2106
- : 0,
2107
- marginRight:
2108
- sectionproperties.sectiontitleborderradius != 0
2109
- ? langdetect == 'en'
2110
- ? sectionproperties.sectionTitleMarginRight + 'px'
2111
- : sectionproperties.sectionTitleMarginLeft + 'px'
2112
- : 0,
2113
- }}
2114
- >
2115
- {SectionTitle()}
2116
- </div>
2117
- <div
2118
- class={'d-none align-items-center flex-row d-sm-flex mt-sm-2 mx-md-2'}
2119
- style={{
2120
- position: 'relative',
2121
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2122
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
2123
- backgroundColor: sectionproperties.sectiontitlebgcolor,
2124
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
2125
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2126
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2127
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
2128
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
2129
- marginLeft:
2130
- sectionproperties.sectiontitleborderradius != 0
2131
- ? langdetect == 'en'
2132
- ? sectionproperties.sectionTitleMarginLeft + 'px'
2133
- : sectionproperties.sectionTitleMarginRight + 'px'
2134
- : 0,
2135
- marginRight:
2136
- sectionproperties.sectiontitleborderradius != 0
2137
- ? langdetect == 'en'
2138
- ? sectionproperties.sectionTitleMarginRight + 'px'
2139
- : sectionproperties.sectionTitleMarginLeft + 'px'
2140
- : 0,
2141
- }}
2142
- >
2143
- {SectionTitle()}
2144
- </div>
2145
- </div>
2146
- )}
2147
- {sectionproperties.prodCatShow == 'Show' && (
2148
- <div
2149
- class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
2150
- style={{
2151
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2152
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
2153
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2154
- }}
2155
- >
2156
- <div
2157
- class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
2158
- style={{
2159
- position: 'relative',
2160
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2161
- fontSize: sectionproperties.prodCatFontSize + 'px',
2162
- paddingLeft:
2163
- langdetect == 'en'
2164
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
2165
- : sectionproperties.slideshowText2Content_marginRight + 'px',
2166
- paddingRight:
2167
- langdetect == 'en'
2168
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
2169
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
2170
- }}
2171
- >
2172
- {SectionDescription()}
2173
- </div>
2174
- <div
2175
- class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
2176
- style={{
2177
- position: 'relative',
2178
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2179
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
2180
- }}
2181
- >
2182
- {SectionDescription()}
2183
- </div>
2184
- </div>
2185
- )}
2186
- {langdetect == 'ar' && authdetailsContext?.instinfo?.instid == '67b1bb900a541' && (
2187
- <div
2188
- class="w-100 "
2189
- style={{
2190
- textAlign: 'right',
2191
- color: '#fcfaf3',
2192
- }}
2193
- >
2194
- <TypeAnimation
2195
- sequence={[
2196
- // Same substring at the start will only be typed out once, initially
2197
- 'الخبرة القانونية في كافة المجالات',
2198
- 1000, // wait 1s before replacing "Mice" with "Hamsters"
2199
- 'نغطي كافة أنحاء الجمهورية الدول العربية والعالم',
2200
- 1000,
2201
- 'سابقة أعمال لا تُقارن',
2202
- 1000,
2203
- 'لا ندرج الخدمة الا ونحن قادرون علي تقديمها',
2204
- 1000,
2205
- 'نقدم الخدمة الصحيحة في الوقت المثالي',
2206
- 1000,
2207
- ]}
2208
- wrapper="span"
2209
- speed={50}
2210
- style={{ fontSize: '3em', display: 'inline-block', color: '#fcfaf3' }}
2211
- repeat={Infinity}
2212
- />
2213
- </div>
2214
- )}
2215
- {langdetect == 'en' && authdetailsContext?.instinfo?.instid == '67b1bb900a541' && (
2216
- <div
2217
- class="w-100 "
2218
- style={{
2219
- textAlign: 'left',
2220
- color: '#fcfaf3',
2221
- }}
2222
- >
2223
- <TypeAnimation
2224
- sequence={[
2225
- // Same substring at the start will only be typed out once, initially
2226
- 'Legal expertise in all fields',
2227
- 1000, // wait 1s before replacing "Mice" with "Hamsters"
2228
- 'We cover all parts of the Republic, Arab countries and the world',
2229
- 1000,
2230
- 'Unparalleled track record',
2231
- 1000,
2232
- 'We only list services if we are able to provide them.',
2233
- 1000,
2234
- 'We provide the right service at the right time.',
2235
- 1000,
2236
- ]}
2237
- wrapper="span"
2238
- speed={50}
2239
- style={{ fontSize: '3em', display: 'inline-block', color: '#fcfaf3' }}
2240
- repeat={Infinity}
2241
- />
2242
- </div>
2243
- )}
2244
- <div
2245
- class="col-lg-12 p-0 d-flex justify-content-md-center"
2246
- style={{
2247
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
2248
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
2249
- }}
2250
- >
2251
- <p
2252
- class={
2253
- sectionproperties.text2centered == 'Justify'
2254
- ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
2255
- : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
2256
- }
2257
- style={{}}
2258
- dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
2259
- ></p>
2260
- </div>
2261
- {sectionproperties.generalbtn_show == 'Show' && (
2262
- <div
2263
- class={
2264
- sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
2265
- }
2266
- >
2267
- <button
2268
- class={`${section_styles.btn}` + ' m-md-0 '}
2269
- onClick={() => {
2270
- if (sectionproperties.btntype == 'WhatsApp') {
2271
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
2272
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
2273
- }
2274
- } else if (sectionproperties.btntype == 'App/Web Page') {
2275
- // window.open(sectionproperties.btnlink, '_target');
2276
- routingcountext(sectionproperties.btnlink, false, '');
2277
- } else {
2278
- window.open(sectionproperties.btnlink, '_blank');
2279
- }
2280
- }}
2281
- style={{
2282
- marginLeft:
2283
- langdetect == 'en'
2284
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
2285
- : sectionproperties.slideshowText2Content_marginRight + 'px',
2286
- marginRight:
2287
- langdetect == 'en'
2288
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
2289
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
2290
- }}
2291
- >
2292
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
2293
- </button>
2294
- </div>
2295
- )}
2296
- <div
2297
- class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
2298
- style={{
2299
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2300
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2301
- display:
2302
- sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
2303
- ? 'none'
2304
- : 'flex',
2305
- }}
2306
- >
2307
- {sectionproperties.fbbtn_show == 'Show' && (
2308
- <div
2309
- class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2310
- onClick={() => {
2311
- if (authdetailsContext?.instinfo?.facebooklink != null) {
2312
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
2313
- }
2314
- }}
2315
- >
2316
- <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
2317
- </div>
2318
- )}
2319
- {sectionproperties.instbtn_show == 'Show' && (
2320
- <div
2321
- class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2322
- onClick={() => {
2323
- if (authdetailsContext?.instinfo?.instagramlink != null) {
2324
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
2325
- }
2326
- }}
2327
- >
2328
- <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
2329
- </div>
2330
- )}
2331
- {sectionproperties.youtbtn_show == 'Show' && (
2332
- <div
2333
- class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2334
- onClick={() => {
2335
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
2336
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
2337
- }
2338
- }}
2339
- >
2340
- <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
2341
- </div>
2342
- )}
2343
- </div>
2344
- </div>
2345
- </div>
2346
- {sectionproperties.image_show == 'show' && Image()}
2347
- </div>
2348
- </div>
2349
- )}
2350
- {/* */}
2351
- {/**/}
2352
- {/* */}
2353
- {/* {sectionproperties.sectionstyle == 'Image on right' && langdetect == 'ar' && (
2354
- <div class="col-lg-12 p-0 d-flex justify-content-between">
2355
- <div
2356
- class="row m-0 w-100 d-flex justify-content-between"
2357
- style={{
2358
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2359
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
2360
- }}
2361
- >
2362
- {Image()}
2363
- {Content()}
2364
- </div>
2365
- </div>
2366
- )} */}
2367
- {/* langdetect == 'en' && */}
2368
- {sectionproperties.sectionstyle == 'Image on left' && (
2369
- <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
2370
- <div
2371
- class="row m-0 w-100 d-flex justify-content-between"
2372
- style={{
2373
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2374
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
2375
- }}
2376
- >
2377
- {sectionproperties.image_show == 'show' && Image()}
2378
-
2379
- <div
2380
- class={
2381
- sectionproperties.image_show == 'show'
2382
- ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center '
2383
- : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center '
2384
- }
2385
- style={{
2386
- background: sectionproperties.reservation_bgcolor,
2387
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2388
- paddingLeft: authdetailsContext?.instinfo?.instid == '68319d088f13e' ? '1.5rem' : '',
2389
- paddingRight: authdetailsContext?.instinfo?.instid == '68319d088f13e' ? '1.5rem' : '',
2390
- }}
2391
- >
2392
- <div
2393
- class={
2394
- authdetailsContext?.instinfo?.instid == '68319d088f13e'
2395
- ? 'row m-0 w-100 h-100 p-4'
2396
- : sectionproperties.justifyContentCenter == 'Centered'
2397
- ? 'row m-0 w-100'
2398
- : 'row m-0 w-100 mb-auto'
2399
- }
2400
- style={{
2401
- border: authdetailsContext?.instinfo?.instid == '68319d088f13e' ? '1px solid white' : 0,
2402
- }}
2403
- >
2404
- {sectionproperties.sectionTitleFontSize != 0 && (
2405
- <div
2406
- class={
2407
- sectionproperties.sectionstyleresponsive == 'Image above text'
2408
- ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
2409
- : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
2410
- }
2411
- style={{
2412
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2413
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
2414
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
2415
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2416
- }}
2417
- >
2418
- <div
2419
- class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
2420
- style={{
2421
- position: 'relative',
2422
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2423
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
2424
- backgroundColor: sectionproperties.sectiontitlebgcolor,
2425
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
2426
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2427
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2428
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
2429
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
2430
- marginLeft:
2431
- sectionproperties.sectiontitleborderradius != 0
2432
- ? langdetect == 'en'
2433
- ? sectionproperties.sectionTitleMarginLeft + 'px'
2434
- : sectionproperties.sectionTitleMarginRight + 'px'
2435
- : 0,
2436
- marginRight:
2437
- sectionproperties.sectiontitleborderradius != 0
2438
- ? langdetect == 'en'
2439
- ? sectionproperties.sectionTitleMarginRight + 'px'
2440
- : sectionproperties.sectionTitleMarginLeft + 'px'
2441
- : 0,
2442
- }}
2443
- >
2444
- {SectionTitle()}
2445
- </div>
2446
- <div
2447
- class={'d-none align-items-center flex-row d-sm-flex mt-sm-2 mx-md-2'}
2448
- style={{
2449
- position: 'relative',
2450
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2451
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
2452
- backgroundColor: sectionproperties.sectiontitlebgcolor,
2453
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
2454
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2455
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2456
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
2457
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
2458
- marginLeft:
2459
- sectionproperties.sectiontitleborderradius != 0
2460
- ? langdetect == 'en'
2461
- ? sectionproperties.sectionTitleMarginLeft + 'px'
2462
- : sectionproperties.sectionTitleMarginRight + 'px'
2463
- : 0,
2464
- marginRight:
2465
- sectionproperties.sectiontitleborderradius != 0
2466
- ? langdetect == 'en'
2467
- ? sectionproperties.sectionTitleMarginRight + 'px'
2468
- : sectionproperties.sectionTitleMarginLeft + 'px'
2469
- : 0,
2470
- }}
2471
- >
2472
- {SectionTitle()}
2473
- </div>
2474
- </div>
2475
- )}
2476
- {sectionproperties.prodCatShow == 'Show' && (
2477
- <div
2478
- class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
2479
- style={{
2480
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2481
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
2482
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2483
- }}
2484
- >
2485
- <div
2486
- class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
2487
- style={{
2488
- position: 'relative',
2489
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2490
- fontSize: sectionproperties.prodCatFontSize + 'px',
2491
- paddingLeft:
2492
- langdetect == 'en'
2493
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
2494
- : sectionproperties.slideshowText2Content_marginRight + 'px',
2495
- paddingRight:
2496
- langdetect == 'en'
2497
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
2498
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
2499
- }}
2500
- >
2501
- {SectionDescription()}
2502
- </div>
2503
- <div
2504
- class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
2505
- style={{
2506
- position: 'relative',
2507
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2508
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
2509
- }}
2510
- >
2511
- {SectionDescription()}
2512
- </div>
2513
- </div>
2514
- )}
2515
- <div
2516
- class="col-lg-12 p-0 d-flex justify-content-md-center"
2517
- style={{
2518
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
2519
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
2520
- }}
2521
- >
2522
- <p
2523
- class={
2524
- sectionproperties.text2centered == 'Justify'
2525
- ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
2526
- : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
2527
- }
2528
- style={{}}
2529
- dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
2530
- ></p>
2531
- </div>
2532
- {sectionproperties.generalbtn_show == 'Show' && (
2533
- <div
2534
- class={
2535
- sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
2536
- }
2537
- >
2538
- <button
2539
- class={`${section_styles.btn}` + ' m-md-0 '}
2540
- onClick={() => {
2541
- if (sectionproperties.btntype == 'WhatsApp') {
2542
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
2543
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
2544
- }
2545
- } else if (sectionproperties.btntype == 'App/Web Page') {
2546
- // window.open(sectionproperties.btnlink, '_target');
2547
- routingcountext(sectionproperties.btnlink, false, '');
2548
- } else {
2549
- window.open(sectionproperties.btnlink, '_blank');
2550
- }
2551
- }}
2552
- style={{
2553
- marginLeft:
2554
- langdetect == 'en'
2555
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
2556
- : sectionproperties.slideshowText2Content_marginRight + 'px',
2557
- marginRight:
2558
- langdetect == 'en'
2559
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
2560
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
2561
- }}
2562
- >
2563
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
2564
- </button>
2565
- </div>
2566
- )}
2567
- <div
2568
- class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
2569
- style={{
2570
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2571
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2572
- display:
2573
- sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
2574
- ? 'none'
2575
- : 'flex',
2576
- }}
2577
- >
2578
- {sectionproperties.fbbtn_show == 'Show' && (
2579
- <div
2580
- class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2581
- onClick={() => {
2582
- if (authdetailsContext?.instinfo?.facebooklink != null) {
2583
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
2584
- }
2585
- }}
2586
- >
2587
- <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
2588
- </div>
2589
- )}
2590
- {sectionproperties.instbtn_show == 'Show' && (
2591
- <div
2592
- class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2593
- onClick={() => {
2594
- if (authdetailsContext?.instinfo?.instagramlink != null) {
2595
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
2596
- }
2597
- }}
2598
- >
2599
- <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
2600
- </div>
2601
- )}
2602
- {sectionproperties.youtbtn_show == 'Show' && (
2603
- <div
2604
- class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2605
- onClick={() => {
2606
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
2607
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
2608
- }
2609
- }}
2610
- >
2611
- <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
2612
- </div>
2613
- )}
2614
- </div>
2615
- </div>
2616
- </div>
2617
- </div>
2618
- </div>
2619
- )}
2620
- {sectionproperties.sectionstyleresponsive == 'Image above text' && (
2621
- <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
2622
- <div
2623
- class="row m-0 w-100 d-flex justify-content-between"
2624
- style={{
2625
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2626
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
2627
- }}
2628
- >
2629
- {sectionproperties.image_show == 'show' && Image()}
2630
- <div
2631
- class={
2632
- sectionproperties.image_show == 'show'
2633
- ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
2634
- : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center pl-0 pr-0 '
2635
- }
2636
- style={{
2637
- background: sectionproperties.reservation_bgcolor,
2638
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2639
- }}
2640
- >
2641
- <div
2642
- class={sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'}
2643
- style={{
2644
- padding: authdetailsContext?.instinfo?.instid == '68319d088f13e' ? '0.5rem' : 0,
2645
- }}
2646
- >
2647
- {sectionproperties.sectionTitleFontSize != 0 && (
2648
- <div
2649
- class={
2650
- sectionproperties.sectionstyleresponsive == 'Image above text'
2651
- ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
2652
- : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
2653
- }
2654
- style={{
2655
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2656
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
2657
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
2658
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2659
- }}
2660
- >
2661
- <div
2662
- class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
2663
- style={{
2664
- position: 'relative',
2665
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2666
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
2667
- backgroundColor: sectionproperties.sectiontitlebgcolor,
2668
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
2669
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2670
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2671
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
2672
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
2673
- marginLeft:
2674
- sectionproperties.sectiontitleborderradius != 0
2675
- ? langdetect == 'en'
2676
- ? sectionproperties.sectionTitleMarginLeft + 'px'
2677
- : sectionproperties.sectionTitleMarginRight + 'px'
2678
- : 0,
2679
- marginRight:
2680
- sectionproperties.sectiontitleborderradius != 0
2681
- ? langdetect == 'en'
2682
- ? sectionproperties.sectionTitleMarginRight + 'px'
2683
- : sectionproperties.sectionTitleMarginLeft + 'px'
2684
- : 0,
2685
- }}
2686
- >
2687
- {SectionTitle()}
2688
- </div>
2689
- <div
2690
- class={'d-none align-items-center flex-row d-sm-flex mt-sm-2 mx-md-2'}
2691
- style={{
2692
- position: 'relative',
2693
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2694
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
2695
- backgroundColor: sectionproperties.sectiontitlebgcolor,
2696
- borderRadius: sectionproperties.sectiontitleborderradius + 'px',
2697
- paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2698
- paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
2699
- paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
2700
- paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
2701
- marginLeft:
2702
- sectionproperties.sectiontitleborderradius != 0
2703
- ? langdetect == 'en'
2704
- ? sectionproperties.sectionTitleMarginLeft + 'px'
2705
- : sectionproperties.sectionTitleMarginRight + 'px'
2706
- : 0,
2707
- marginRight:
2708
- sectionproperties.sectiontitleborderradius != 0
2709
- ? langdetect == 'en'
2710
- ? sectionproperties.sectionTitleMarginRight + 'px'
2711
- : sectionproperties.sectionTitleMarginLeft + 'px'
2712
- : 0,
2713
- }}
2714
- >
2715
- {SectionTitle()}
2716
- </div>
2717
- </div>
2718
- )}
2719
- {sectionproperties.prodCatShow == 'Show' && (
2720
- <div
2721
- class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
2722
- style={{
2723
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2724
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
2725
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2726
- }}
2727
- >
2728
- <div
2729
- class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
2730
- style={{
2731
- position: 'relative',
2732
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2733
- fontSize: sectionproperties.prodCatFontSize + 'px',
2734
- paddingLeft:
2735
- langdetect == 'en'
2736
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
2737
- : sectionproperties.slideshowText2Content_marginRight + 'px',
2738
- paddingRight:
2739
- langdetect == 'en'
2740
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
2741
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
2742
- }}
2743
- >
2744
- {SectionDescription()}
2745
- </div>
2746
- <div
2747
- class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
2748
- style={{
2749
- position: 'relative',
2750
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2751
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
2752
- }}
2753
- >
2754
- {SectionDescription()}
2755
- </div>
2756
- </div>
2757
- )}
2758
- <div
2759
- class="col-lg-12 p-0 d-flex justify-content-md-center"
2760
- style={{
2761
- justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
2762
- marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
2763
- border: authdetailsContext?.instinfo?.instid == '68319d088f13e' ? '1px solid white' : 0,
2764
- padding: authdetailsContext?.instinfo?.instid == '68319d088f13e' ? '1rem 3rem' : 0,
2765
- }}
2766
- >
2767
- <p
2768
- class={
2769
- sectionproperties.text2centered == 'Justify'
2770
- ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
2771
- : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
2772
- }
2773
- style={{}}
2774
- dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
2775
- ></p>
2776
- </div>
2777
- {sectionproperties.generalbtn_show == 'Show' && (
2778
- <div
2779
- class={
2780
- sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'
2781
- }
2782
- >
2783
- <button
2784
- class={`${section_styles.btn}` + ' m-md-0 '}
2785
- onClick={() => {
2786
- if (sectionproperties.btntype == 'WhatsApp') {
2787
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
2788
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
2789
- }
2790
- } else if (sectionproperties.btntype == 'App/Web Page') {
2791
- // window.open(sectionproperties.btnlink, '_target');
2792
- routingcountext(sectionproperties.btnlink, false, '');
2793
- } else {
2794
- window.open(sectionproperties.btnlink, '_blank');
2795
- }
2796
- }}
2797
- style={{
2798
- marginLeft:
2799
- langdetect == 'en'
2800
- ? sectionproperties.slideshowText2Content_marginLeft + 'px'
2801
- : sectionproperties.slideshowText2Content_marginRight + 'px',
2802
- marginRight:
2803
- langdetect == 'en'
2804
- ? sectionproperties.slideshowText2Content_marginRight + 'px'
2805
- : sectionproperties.slideshowText2Content_marginLeft + 'px',
2806
- }}
2807
- >
2808
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
2809
- </button>
2810
- </div>
2811
- )}
2812
- <div
2813
- class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
2814
- style={{
2815
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
2816
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2817
- display:
2818
- sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
2819
- ? 'none'
2820
- : 'flex',
2821
- }}
2822
- >
2823
- {sectionproperties.fbbtn_show == 'Show' && (
2824
- <div
2825
- class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2826
- onClick={() => {
2827
- if (authdetailsContext?.instinfo?.facebooklink != null) {
2828
- window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
2829
- }
2830
- }}
2831
- >
2832
- <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
2833
- </div>
2834
- )}
2835
- {sectionproperties.instbtn_show == 'Show' && (
2836
- <div
2837
- class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2838
- onClick={() => {
2839
- if (authdetailsContext?.instinfo?.instagramlink != null) {
2840
- window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
2841
- }
2842
- }}
2843
- >
2844
- <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
2845
- </div>
2846
- )}
2847
- {sectionproperties.youtbtn_show == 'Show' && (
2848
- <div
2849
- class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
2850
- onClick={() => {
2851
- if (authdetailsContext?.instinfo?.whatsappnumber != null) {
2852
- window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
2853
- }
2854
- }}
2855
- >
2856
- <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
2857
- </div>
2858
- )}
2859
- </div>
2860
- </div>
2861
- </div>
2862
- </div>
2863
- </div>
2864
- )}
2865
- {/* {sectionproperties.sectionstyle == 'Image on left' && langdetect == 'ar' && (
2866
- <div class="col-lg-12 p-0 d-flex justify-content-between">
2867
- <div
2868
- class="row m-0 w-100 d-flex justify-content-between"
2869
- style={{
2870
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2871
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
2872
- }}
2873
- >
2874
- {Content()}
2875
- {Image()}
2876
- </div>
2877
- </div>
2878
- )} */}
2879
- </div>
2880
- </div>
2881
- )}
2882
- {sectionproperties.cardstyletype == 'Style 2' && (
2883
- <div
2884
- class={
2885
- sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0
2886
- ? sectionproperties.width != 100
2887
- ? section_styles.cont1 + ' d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 mx-auto '
2888
- : section_styles.cont1 + ' d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 mx-auto '
2889
- : sectionproperties.width != 100
2890
- ? section_styles.cont1 + ' d-flex justify-content-between align-items-center mx-auto '
2891
- : section_styles.cont1 + ' d-flex justify-content-between align-items-center mx-auto '
2892
- }
2893
- style={{
2894
- paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
2895
- paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
2896
- border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
2897
- borderRadius: sectionproperties.sectioncardborderradius + 'px',
2898
- }}
2899
- >
2900
- <div
2901
- class={
2902
- // sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
2903
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
2904
- // : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
2905
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
2906
- // : sectionproperties.paddingLeft != 0
2907
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
2908
- // : sectionproperties.paddingRight != 0
2909
- // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
2910
- // : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
2911
- sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
2912
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
2913
- : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
2914
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
2915
- : sectionproperties.paddingLeft != 0
2916
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
2917
- : sectionproperties.paddingRight != 0
2918
- ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
2919
- : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
2920
- }
2921
- style={{
2922
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
2923
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
2924
- // paddingTop: sectionproperties.paddingTop + 'px',
2925
- // paddingBottom: sectionproperties.paddingBottom + 'px',
2926
- marginTop: sectionproperties.marginTop + 'px',
2927
- marginBottom: sectionproperties.marginBottom + 'px',
2928
- }}
2929
- >
2930
- {/* langdetect == 'en' && */}
2931
- {sectionproperties.sectionstyle == 'Image on right' && (
2932
- <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
2933
- <div
2934
- class="row m-0 w-100 d-flex justify-content-between"
2935
- style={{
2936
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2937
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
2938
- }}
2939
- >
2940
- {Content()}
2941
- {sectionproperties.image_show == 'show' && Image()}
2942
- </div>
2943
- </div>
2944
- )}
2945
- {sectionproperties.sectionstyleresponsive == 'Image below text' && (
2946
- <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
2947
- <div
2948
- class="row m-0 w-100 d-flex justify-content-between"
2949
- style={{
2950
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2951
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
2952
- }}
2953
- >
2954
- {Content()}
2955
- {sectionproperties.image_show == 'show' && Image()}
2956
- </div>
2957
- </div>
2958
- )}
2959
- {/* */}
2960
- {/**/}
2961
- {/* */}
2962
- {/* {sectionproperties.sectionstyle == 'Image on right' && langdetect == 'ar' && (
2963
- <div class="col-lg-12 p-0 d-flex justify-content-between">
2964
- <div
2965
- class="row m-0 w-100 d-flex justify-content-between"
2966
- style={{
2967
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2968
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
2969
- }}
2970
- >
2971
- {Image()}
2972
- {Content()}
2973
- </div>
2974
- </div>
2975
- )} */}
2976
- {/* langdetect == 'en' && */}
2977
- {sectionproperties.sectionstyle == 'Image on left' && (
2978
- <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
2979
- <div
2980
- class="row m-0 w-100 d-flex justify-content-between"
2981
- style={{
2982
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2983
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
2984
- }}
2985
- >
2986
- {sectionproperties.image_show == 'show' && Image()}
2987
- {Content()}
2988
- </div>
2989
- </div>
2990
- )}
2991
- {sectionproperties.sectionstyleresponsive == 'Image above text' && (
2992
- <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
2993
- <div
2994
- class="row m-0 w-100 d-flex justify-content-between"
2995
- style={{
2996
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
2997
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
2998
- }}
2999
- >
3000
- {sectionproperties.image_show == 'show' && <div class="w-100 mb-md-3"> {Image()}</div>}
3001
- {Content()}
3002
- </div>
3003
- </div>
3004
- )}
3005
- {/* {sectionproperties.sectionstyle == 'Image on left' && langdetect == 'ar' && (
3006
- <div class="col-lg-12 p-0 d-flex justify-content-between">
3007
- <div
3008
- class="row m-0 w-100 d-flex justify-content-between"
3009
- style={{
3010
- alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
3011
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
3012
- }}
3013
- >
3014
- {Content()}
3015
- {Image()}
3016
- </div>
3017
- </div>
3018
- )} */}
3019
- </div>
3020
- </div>
3021
- )}
3022
- </div>
3023
- )}
3024
- </div>
3025
- );
3026
- };
3027
- export default Image_with_leftwords;