tabexseriescomponents 0.0.667 → 0.0.669

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 (356) hide show
  1. package/dist/index.cjs.js +682 -807
  2. package/dist/index.esm.js +681 -806
  3. package/dist/index.umd.js +685 -809
  4. package/package.json +1 -1
  5. package/{srcoriginal → srcoman}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +2 -2
  6. package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +714 -0
  7. package/{srcoriginal → srcoman}/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +0 -19
  8. package/{srcoriginal → srcoman}/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +0 -19
  9. package/{srcoriginal → srcoman}/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +1 -1
  10. package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +18 -246
  11. package/{srcoriginal → srcoman}/TabexComponents/Headers/Modernheader/Modernheader.jsx +4 -19
  12. package/{srcoriginal → srcoman}/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +3 -28
  13. package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +1 -1
  14. package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +1 -1
  15. package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +1 -1
  16. package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +1 -1
  17. package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +83 -80
  18. package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +1 -1
  19. package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +1 -1
  20. package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +1 -0
  21. package/{srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx → srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx} +13 -1
  22. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +437 -0
  23. package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +1 -1
  24. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1767 -0
  25. package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +3 -3
  26. package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +790 -0
  27. package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +1 -1
  28. package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Checkout/Checkout.jsx +1 -1
  29. package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +1 -1
  30. package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter.jsx +1 -1
  31. package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1 -1
  32. package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +9 -2
  33. package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1 -1
  34. package/srcoriginal/TabexComponents/Footer/Footer1/Footer1.jsx +0 -551
  35. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -1935
  36. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -760
  37. package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -1679
  38. package/srcoriginal/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -512
  39. /package/{srcoriginal → srcoman}/Contexts/LanguageContext.jsx +0 -0
  40. /package/{srcoriginal → srcoman}/Contexts/ProductsCardsSectionContext.jsx +0 -0
  41. /package/{srcoriginal → srcoman}/Imagekitconfig.jsx +0 -0
  42. /package/{srcoriginal → srcoman}/StylesJS/Customstyles.js +0 -0
  43. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -0
  44. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Card20/Card20.jsx +0 -0
  45. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Card21/Card21.jsx +0 -0
  46. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Card22/Card22.jsx +0 -0
  47. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -0
  48. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Card23/Card23.jsx +0 -0
  49. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CardAll/CardAll.jsx +0 -0
  50. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -0
  51. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -0
  52. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -0
  53. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -0
  54. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -0
  55. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -0
  56. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -0
  57. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -0
  58. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
  59. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -0
  60. /package/{srcoriginal → srcoman}/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -0
  61. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -0
  62. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -0
  63. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -0
  64. /package/{srcoriginal → srcoman}/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -0
  65. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -0
  66. /package/{srcoriginal → srcoman}/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -0
  67. /package/{srcoriginal → srcoman}/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -0
  68. /package/{srcoriginal → srcoman}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -0
  69. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -0
  70. /package/{srcoriginal → srcoman}/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -0
  71. /package/{srcoriginal → srcoman}/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -0
  72. /package/{srcoriginal → srcoman}/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -0
  73. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -0
  74. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -0
  75. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -0
  76. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -0
  77. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -0
  78. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -0
  79. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -0
  80. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -0
  81. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -0
  82. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -0
  83. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -0
  84. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -0
  85. /package/{srcoriginal → srcoman}/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -0
  86. /package/{srcoriginal → srcoman}/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -0
  87. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -0
  88. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -0
  89. /package/{srcoriginal → srcoman}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -0
  90. /package/{srcoriginal → srcoman}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -0
  91. /package/{srcoriginal → srcoman}/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -0
  92. /package/{srcoriginal → srcoman}/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -0
  93. /package/{srcoriginal → srcoman}/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -0
  94. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -0
  95. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer2/Footer2.jsx +0 -0
  96. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer3/Footer3.jsx +0 -0
  97. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer4/Footer4.jsx +0 -0
  98. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer5/Footer5.jsx +0 -0
  99. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer6/Footer6.jsx +0 -0
  100. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer7/Footer7.jsx +0 -0
  101. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Footer8/Footer8.jsx +0 -0
  102. /package/{srcoriginal → srcoman}/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -0
  103. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -0
  104. /package/{srcoriginal → srcoman}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -0
  105. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  106. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/noimage.png +0 -0
  107. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  108. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  109. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  110. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  111. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  112. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  113. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  114. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  115. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  116. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/usflag.png +0 -0
  117. /package/{srcoriginal → srcoman}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  118. /package/{srcoriginal → srcoman}/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -0
  119. /package/{srcoriginal → srcoman}/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -0
  120. /package/{srcoriginal → srcoman}/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -0
  121. /package/{srcoriginal → srcoman}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -0
  122. /package/{srcoriginal → srcoman}/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -0
  123. /package/{srcoriginal → srcoman}/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -0
  124. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -0
  125. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Header4/Header4.jsx +0 -0
  126. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -0
  127. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Header8/Header8.jsx +0 -0
  128. /package/{srcoriginal → srcoman}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -0
  129. /package/{srcoriginal → srcoman}/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -0
  130. /package/{srcoriginal → srcoman}/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -0
  131. /package/{srcoriginal → srcoman}/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -0
  132. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -0
  133. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -0
  134. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -0
  135. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -0
  136. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -0
  137. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -0
  138. /package/{srcoriginal → srcoman}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -0
  139. /package/{srcoriginal → srcoman}/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -0
  140. /package/{srcoriginal → srcoman}/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -0
  141. /package/{srcoriginal → srcoman}/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -0
  142. /package/{srcoriginal → srcoman}/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +0 -0
  143. /package/{srcoriginal → srcoman}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -0
  144. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Subheader/Subheader.jsx +0 -0
  145. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -0
  146. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -0
  147. /package/{srcoriginal → srcoman}/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -0
  148. /package/{srcoriginal → srcoman}/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -0
  149. /package/{srcoriginal → srcoman}/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -0
  150. /package/{srcoriginal → srcoman}/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -0
  151. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -0
  152. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -0
  153. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -0
  154. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
  155. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -0
  156. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -0
  157. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -0
  158. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -0
  159. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -0
  160. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -0
  161. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -0
  162. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -0
  163. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -0
  164. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
  165. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -0
  166. /package/{srcoriginal → srcoman}/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -0
  167. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -0
  168. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -0
  169. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -0
  170. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -0
  171. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -0
  172. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -0
  173. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -0
  174. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -0
  175. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -0
  176. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -0
  177. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -0
  178. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -0
  179. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -0
  180. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -0
  181. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
  182. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
  183. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -0
  184. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -0
  185. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -0
  186. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
  187. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -0
  188. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
  189. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
  190. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -0
  191. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -0
  192. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -0
  193. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -0
  194. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -0
  195. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -0
  196. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -0
  197. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -0
  198. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -0
  199. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -0
  200. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -0
  201. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -0
  202. /package/{srcoriginal → srcoman}/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -0
  203. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -0
  204. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -0
  205. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -0
  206. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
  207. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -0
  208. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -0
  209. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -0
  210. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -0
  211. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -0
  212. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -0
  213. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -0
  214. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -0
  215. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -0
  216. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -0
  217. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -0
  218. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -0
  219. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
  220. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
  221. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Login/Login copy.jsx +0 -0
  222. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
  223. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -0
  224. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -0
  225. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Policies/Policies.jsx +0 -0
  226. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -0
  227. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -0
  228. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -0
  229. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -0
  230. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -0
  231. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -0
  232. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -0
  233. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -0
  234. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -0
  235. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -0
  236. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -0
  237. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -0
  238. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -0
  239. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -0
  240. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -0
  241. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -0
  242. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -0
  243. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -0
  244. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -0
  245. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -0
  246. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -0
  247. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -0
  248. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -0
  249. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -0
  250. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -0
  251. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -0
  252. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -0
  253. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -0
  254. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -0
  255. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -0
  256. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -0
  257. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -0
  258. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -0
  259. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -0
  260. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -0
  261. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -0
  262. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -0
  263. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -0
  264. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -0
  265. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -0
  266. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -0
  267. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
  268. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -0
  269. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -0
  270. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -0
  271. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -0
  272. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -0
  273. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -0
  274. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -0
  275. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -0
  276. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -0
  277. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -0
  278. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -0
  279. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -0
  280. /package/{srcoriginal → srcoman}/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -0
  281. /package/{srcoriginal → srcoman}/button.jsx +0 -0
  282. /package/{srcoriginal → srcoman}/index.jsx +0 -0
  283. /package/{srcoriginal → srcoman}/styles/Home.module.css +0 -0
  284. /package/{srcoriginal → srcoman}/styles/cards/Categorcycard_fullimage.module.css +0 -0
  285. /package/{srcoriginal → srcoman}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
  286. /package/{srcoriginal → srcoman}/styles/cards/Categorycard_withshapes.module.css +0 -0
  287. /package/{srcoriginal → srcoman}/styles/cards/ModernCardWithQuantityButton.module.css +0 -0
  288. /package/{srcoriginal → srcoman}/styles/cards/Productcard6.module.css +0 -0
  289. /package/{srcoriginal → srcoman}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
  290. /package/{srcoriginal → srcoman}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
  291. /package/{srcoriginal → srcoman}/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -0
  292. /package/{srcoriginal → srcoman}/styles/cards/card23.module.css +0 -0
  293. /package/{srcoriginal → srcoman}/styles/cards/categorycard.module.css +0 -0
  294. /package/{srcoriginal → srcoman}/styles/cards/categorycard3.module.css +0 -0
  295. /package/{srcoriginal → srcoman}/styles/cards/categorycardwithtext.module.css +0 -0
  296. /package/{srcoriginal → srcoman}/styles/cards/generalCardsStyles.module.css +0 -0
  297. /package/{srcoriginal → srcoman}/styles/cards/productcard_animatedbuttons.module.css +0 -0
  298. /package/{srcoriginal → srcoman}/styles/cards/productcard_with_textonhover.module.css +0 -0
  299. /package/{srcoriginal → srcoman}/styles/cards/productcard_withtextonimage.module.css +0 -0
  300. /package/{srcoriginal → srcoman}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
  301. /package/{srcoriginal → srcoman}/styles/general/bootstrap.css +0 -0
  302. /package/{srcoriginal → srcoman}/styles/general/dropdown.css +0 -0
  303. /package/{srcoriginal → srcoman}/styles/general/editorbardropdown.module.css +0 -0
  304. /package/{srcoriginal → srcoman}/styles/general/filter.module.css +0 -0
  305. /package/{srcoriginal → srcoman}/styles/general/form.module.css +0 -0
  306. /package/{srcoriginal → srcoman}/styles/general/general.module.css +0 -0
  307. /package/{srcoriginal → srcoman}/styles/general/image-gallery.css +0 -0
  308. /package/{srcoriginal → srcoman}/styles/general/react-accessible-accordion.module.css +0 -0
  309. /package/{srcoriginal → srcoman}/styles/general/react-phone-input-2.module.css +0 -0
  310. /package/{srcoriginal → srcoman}/styles/general/scrollbtn.module.css +0 -0
  311. /package/{srcoriginal → srcoman}/styles/general/slick.module.css +0 -0
  312. /package/{srcoriginal → srcoman}/styles/general/tabs.module.css +0 -0
  313. /package/{srcoriginal → srcoman}/styles/general/workplaceeditor.module.css +0 -0
  314. /package/{srcoriginal → srcoman}/styles/globals.css +0 -0
  315. /package/{srcoriginal → srcoman}/styles/headers/CTAHeader.module.css +0 -0
  316. /package/{srcoriginal → srcoman}/styles/headers/CategoryFeaturingHeader.module.css +0 -0
  317. /package/{srcoriginal → srcoman}/styles/headers/Gotoheader.module.css +0 -0
  318. /package/{srcoriginal → srcoman}/styles/headers/Header7.module.css +0 -0
  319. /package/{srcoriginal → srcoman}/styles/headers/HeaderWithAdSlider.module.css +0 -0
  320. /package/{srcoriginal → srcoman}/styles/headers/HeaderWithSearchOnCenter.module.css +0 -0
  321. /package/{srcoriginal → srcoman}/styles/headers/HeaderWithUtilityBar.module.css +0 -0
  322. /package/{srcoriginal → srcoman}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
  323. /package/{srcoriginal → srcoman}/styles/headers/NewHeader.module.css +0 -0
  324. /package/{srcoriginal → srcoman}/styles/headers/SearchFocusedHeader.module.css +0 -0
  325. /package/{srcoriginal → srcoman}/styles/headers/Sideheader.module.css +0 -0
  326. /package/{srcoriginal → srcoman}/styles/headers/Simpleheader.module.css +0 -0
  327. /package/{srcoriginal → srcoman}/styles/headers/classicheader.module.css +0 -0
  328. /package/{srcoriginal → srcoman}/styles/headers/classicheaderstyles.module.css +0 -0
  329. /package/{srcoriginal → srcoman}/styles/headers/dropdown.css +0 -0
  330. /package/{srcoriginal → srcoman}/styles/headers/header4.module.css +0 -0
  331. /package/{srcoriginal → srcoman}/styles/headers/header5.module.css +0 -0
  332. /package/{srcoriginal → srcoman}/styles/headers/header_contactinfo.module.css +0 -0
  333. /package/{srcoriginal → srcoman}/styles/headers/headerresturant.module.css +0 -0
  334. /package/{srcoriginal → srcoman}/styles/headers/modernheader.module.css +0 -0
  335. /package/{srcoriginal → srcoman}/styles/headers/stylishheader.module.css +0 -0
  336. /package/{srcoriginal → srcoman}/styles/headers/subheader.module.css +0 -0
  337. /package/{srcoriginal → srcoman}/styles/headers/threetieredheader.module.css +0 -0
  338. /package/{srcoriginal → srcoman}/styles/sections/BackgroundImageWithTopContent.css +0 -0
  339. /package/{srcoriginal → srcoman}/styles/sections/Backgroundimage1.module.css +0 -0
  340. /package/{srcoriginal → srcoman}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
  341. /package/{srcoriginal → srcoman}/styles/sections/Freetext.module.css +0 -0
  342. /package/{srcoriginal → srcoman}/styles/sections/Section_with_rightbgcont.module.css +0 -0
  343. /package/{srcoriginal → srcoman}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
  344. /package/{srcoriginal → srcoman}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
  345. /package/{srcoriginal → srcoman}/styles/staticpages/accordion.module.css +0 -0
  346. /package/{srcoriginal → srcoman}/styles/staticpages/cart.module.css +0 -0
  347. /package/{srcoriginal → srcoman}/styles/staticpages/dropdown.css +0 -0
  348. /package/{srcoriginal → srcoman}/styles/staticpages/filter.module.css +0 -0
  349. /package/{srcoriginal → srcoman}/styles/staticpages/image-gallery.css +0 -0
  350. /package/{srcoriginal → srcoman}/styles/staticpages/login.module.css +0 -0
  351. /package/{srcoriginal → srcoman}/styles/staticpages/productinfo.module.css +0 -0
  352. /package/{srcoriginal → srcoman}/styles/staticpages/shop.module.css +0 -0
  353. /package/{srcoriginal → srcoman}/styles/staticpages/signup.module.css +0 -0
  354. /package/{srcoriginal → srcoman}/styles/staticpages/staticroutersidenav.module.css +0 -0
  355. /package/{srcoriginal → srcoman}/styles/staticpages/viewcart.module.css +0 -0
  356. /package/{srcoriginal → srcoman}/styles/staticpages/wishlist.module.css +0 -0
@@ -0,0 +1,1767 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import { Imagekitimagecomp } from '../../../../Imagekitconfig.jsx';
4
+
5
+ import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
6
+ import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
7
+ import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
8
+ import { borderColor } from '@mui/system';
9
+
10
+ const Image_with_leftwords = (props) => {
11
+ const [sectionproperties, setsectionproperties] = useState('');
12
+ const [imagesarray, setimagesarray] = useState([]);
13
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
14
+ const lang = props.actions.lang;
15
+ const langdetect = props.actions.langdetect;
16
+ const authdetailsContext = props.actions.authdetailsContext;
17
+ const routingcountext = props.actions.routingcountext;
18
+ const ikimagecredcontext = props.actions.ikimagecredcontext;
19
+
20
+ useEffect(() => {
21
+ var secpropobj = {};
22
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
23
+ if (sectionitem.sectionid == props.sectionidprops) {
24
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
25
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
26
+ });
27
+ }
28
+ });
29
+ setsectionproperties({ ...secpropobj });
30
+ }, [StatePagePropertiesContext]);
31
+ useEffect(() => {
32
+ if (sectionproperties.length != 0) {
33
+ if (sectionproperties.arrayofobjectimagesonly != null) {
34
+ var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
35
+ if (Array.isArray(arrayofobjectimagesonlyparsed)) {
36
+ setimagesarray([...arrayofobjectimagesonlyparsed]);
37
+ }
38
+ }
39
+ }
40
+ }, [sectionproperties]);
41
+ const section_styles = {
42
+ sectioncintainer: css({
43
+ // paddingTop: sectionproperties.sectiontitleposition == 'Centered' ? 50 : 0,
44
+ paddingTop: sectionproperties.paddingTop,
45
+ // paddingBottom: sectionproperties.sectiontitleposition == 'Centered' ? 50 :0,
46
+ paddingBottom: sectionproperties.paddingBottom,
47
+ '@media (max-width: 800px)': {
48
+ paddingTop: sectionproperties.paddingverticalresponsive + 'px',
49
+ paddingBottom: sectionproperties.paddingverticalresponsive + 'px',
50
+ },
51
+ }),
52
+ btn: css({
53
+ width: sectionproperties.generalbtn_width + 'px',
54
+ height: sectionproperties.generalbtn_height + 'px',
55
+ backgroundColor: sectionproperties.generalbtn_bgColor,
56
+ color: sectionproperties.generalbtn_textColor,
57
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
58
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
59
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
60
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
61
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
62
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
63
+ fontWeight: sectionproperties.generalbtn_fontweight,
64
+ marginTop: sectionproperties.generalbtn_marginTop + 'px',
65
+ marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
66
+ transition: '.3s',
67
+ cursor: 'pointer',
68
+ ':hover': {
69
+ backgroundColor: sectionproperties.generalbtn_bgColoronhover,
70
+ color: sectionproperties.generalbtn_textColoronhover,
71
+ },
72
+ }),
73
+ btn2: css({
74
+ width: sectionproperties.generalbtn_width + 'px',
75
+ height: sectionproperties.generalbtn_height + 'px',
76
+ // backgroundColor: sectionproperties.generalbtn_bgColor,
77
+ color: sectionproperties.generalbtn_bgColoronhover,
78
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertopleftradius + 'px' : sectionproperties.generalbtn_bordertoprightradius + 'px',
79
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_bordertoprightradius + 'px' : sectionproperties.generalbtn_bordertopleftradius + 'px',
80
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomleftradius + 'px' : sectionproperties.generalbtn_borderbottomrightradius + 'px',
81
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.generalbtn_borderbottomrightradius + 'px' : sectionproperties.generalbtn_borderbottomleftradius + 'px',
82
+ border: '1px solid ' + sectionproperties.generalbtn_bgColoronhover,
83
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
84
+ fontWeight: sectionproperties.generalbtn_fontweight,
85
+ marginTop: sectionproperties.generalbtn_marginTop + 'px',
86
+ marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
87
+ transition: '.3s',
88
+ cursor: 'pointer',
89
+ ':hover': {
90
+ // backgroundColor: sectionproperties.generalbtn_bgColoronhover,
91
+ color: sectionproperties.sectionproperties,
92
+ borderColor: sectionproperties.sectionproperties,
93
+ },
94
+ }),
95
+ sectiontitlespan: css({
96
+ paddingLeft:
97
+ sectionproperties.sectiontitleborderradius == 0 ? (langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px') : 0,
98
+ paddingRight:
99
+ sectionproperties.sectiontitleborderradius == 0 ? (langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px') : 0,
100
+ ':after': {
101
+ position: 'absolute',
102
+ bottom: 0,
103
+ right: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : '',
104
+ left: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : '',
105
+ content: 's',
106
+ fontSize: '0',
107
+ height: '3px',
108
+ width: sectionproperties.sectitle_lineafterwidth + '%',
109
+ display: 'block',
110
+ backgroundColor: sectionproperties.linebgcolor,
111
+ borderRadius: '6px',
112
+ marginTop: 15,
113
+ },
114
+ }),
115
+ facebook_btn: css({
116
+ cursor: 'pointer',
117
+ background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
118
+ width: sectionproperties.facebkbtnnWidth + 'px',
119
+ height: sectionproperties.facebkbtnnHeight + 'px',
120
+ borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
121
+ color: sectionproperties.facebkbtnnTextcolor,
122
+ border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
123
+ transition: '.3s',
124
+ ':hover': {
125
+ background: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? 'Transparent' : sectionproperties.facebkbtnnbgColoronhover,
126
+ color: sectionproperties.facebkbtnnTextcoloronhover,
127
+ borderColor: sectionproperties.facebkbtnnTextcoloronhover,
128
+ },
129
+ }),
130
+ youtube_btn: css({
131
+ cursor: 'pointer',
132
+ background: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
133
+ width: sectionproperties.youtubebtnWidth + 'px',
134
+ height: sectionproperties.youtubebtnHeight + 'px',
135
+ borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
136
+ color: sectionproperties.youtubebtnTextcolor,
137
+ border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
138
+ transition: '.3s',
139
+ ':hover': {
140
+ background: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
141
+ color: sectionproperties.youtubebtnTextcoloronhover,
142
+ borderColor: sectionproperties.youtubebtnTextcoloronhover,
143
+ },
144
+ }),
145
+ instgram_btn: css({
146
+ cursor: 'pointer',
147
+ background: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
148
+ width: sectionproperties.instgrambtnWidth + 'px',
149
+ height: sectionproperties.instgrambtnHeight + 'px',
150
+ borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
151
+ color: sectionproperties.instgrambtnTextcolor,
152
+ border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
153
+ transition: '.3s',
154
+ ':hover': {
155
+ background: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
156
+ color: sectionproperties.instgrambtnTextcoloronhover,
157
+ borderColor: sectionproperties.instgrambtnTextcoloronhover,
158
+ },
159
+ }),
160
+ sectiontitlespan2: css({
161
+ ':after': {
162
+ position: 'absolute',
163
+ content: 's',
164
+ fontSize: '0',
165
+ bottom: 0,
166
+ right: 0,
167
+ left: 0,
168
+ display: 'block',
169
+ height: '100%',
170
+ width: sectionproperties.sectitle_lineafterwidth + '%',
171
+ backgroundColor: sectionproperties.linebgcolor,
172
+ borderRadius: '5px',
173
+ },
174
+ }),
175
+ imageimage: css({
176
+ width: sectionproperties.image_width + '%',
177
+ height: sectionproperties.percentagepixel != 'Percentage' ? (sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px') : sectionproperties.image_height + '%',
178
+ // height: sectionproperties.image_height == 0 ? 'auto' : sectionproperties.image_height + 'px',
179
+ margin: 0,
180
+ padding: 0,
181
+ objectFit: sectionproperties.bgcovercontain,
182
+ borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_bordertopleftradius + 'px' : sectionproperties.image_bordertoprightradius + 'px',
183
+ borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_bordertoprightradius + 'px' : sectionproperties.image_bordertopleftradius + 'px',
184
+ borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
185
+ borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
186
+ '@media (max-width: 800px)': {
187
+ height: sectionproperties.height_responsive == 0 ? 'auto' : sectionproperties.height_responsive + '%',
188
+ },
189
+ }),
190
+ editortext: css({
191
+ textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
192
+ color: sectionproperties.slideshowText2ContentColor,
193
+ fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
194
+ fontWeight: sectionproperties.slideshowText2ContentFontWeight,
195
+ paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
196
+ paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
197
+ '@media (max-width: 800px)': {
198
+ fontSize: sectionproperties.slideshowText2ContentFontSize_resp + 'px',
199
+ textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : sectionproperties.text2centered == 'Justify' ? 'justify' : 'start',
200
+ },
201
+ }),
202
+ cont1: css({
203
+ width: sectionproperties.width + 'vw',
204
+ '@media (max-width: 800px)': {
205
+ width: sectionproperties.widthresponsive + 'vw',
206
+ },
207
+ }),
208
+ rightinnercont: css({
209
+ background: sectionproperties.reservation_bgcolor,
210
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
211
+ paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
212
+ paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
213
+ '@media (max-width: 800px)': {
214
+ paddingLeft: sectionproperties.innersectionpaddinghorizontalresp + 'px',
215
+ paddingRight: sectionproperties.innersectionpaddinghorizontalresp + 'px',
216
+ },
217
+ }),
218
+ };
219
+ const SectionTitle = () => {
220
+ return (
221
+ <p
222
+ class={
223
+ sectionproperties.sectiontitlefontfamily == 'Pacifico'
224
+ ? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
225
+ : sectionproperties.sectiontitlefontfamily == 'Playfair'
226
+ ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
227
+ : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
228
+ ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
229
+ : sectionproperties.sectiontitlefontfamily == 'Quicksand'
230
+ ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
231
+ : sectionproperties.sectiontitlefontfamily == 'Satisfy'
232
+ ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
233
+ : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
234
+ }
235
+ style={{
236
+ color: sectionproperties.sectionTitleColor,
237
+ fontWeight: sectionproperties.sectionTitleFontWeight,
238
+ textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
239
+ }}
240
+ >
241
+ {sectionproperties.sectiontitlestyle == 'Line Under Text' && (
242
+ <span class={`${section_styles.sectiontitlespan}` + ' pl-md-2 pr-md-2 left-md-0 '}>
243
+ {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
244
+ </span>
245
+ )}
246
+
247
+ {sectionproperties.sectiontitlestyle == 'Line Before Text' && (
248
+ <span class={`${section_styles.sectiontitlespan2}` + ' pl-3 pr-3 pl-md-2 pr-md-2 '}>
249
+ {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
250
+ </span>
251
+ )}
252
+ </p>
253
+ );
254
+ };
255
+ const SectionDescription = () => {
256
+ return (
257
+ <p
258
+ class={
259
+ sectionproperties.descFontFamily == 'Pacifico'
260
+ ? ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
261
+ : sectionproperties.descFontFamily == 'Playfair'
262
+ ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
263
+ : sectionproperties.descFontFamily == 'Great Vibes'
264
+ ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
265
+ : sectionproperties.descFontFamily == 'Quicksand'
266
+ ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
267
+ : sectionproperties.descFontFamily == 'Satisfy'
268
+ ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
269
+ : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start '
270
+ }
271
+ style={{
272
+ color: sectionproperties.prodCatColor,
273
+ fontWeight: sectionproperties.prodCatFontWeight,
274
+ textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : '',
275
+ }}
276
+ >
277
+ {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
278
+ </p>
279
+ );
280
+ };
281
+
282
+ const Content = () => {
283
+ return (
284
+ <div
285
+ class={
286
+ sectionproperties.image_show == 'show'
287
+ ? ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center p-md-0'
288
+ : ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center p-md-0'
289
+ }
290
+ style={{
291
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
292
+ paddingLeft: sectionproperties.marginhorizontal + 'px',
293
+ paddingRight: sectionproperties.marginhorizontal + 'px',
294
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
295
+ }}
296
+ >
297
+ <div
298
+ class={
299
+ sectionproperties.justifyContentCenter == 'Centered'
300
+ ? section_styles.rightinnercont + ' row m-0 w-100 h-100 '
301
+ : section_styles.rightinnercont + ' row m-0 w-100 mb-auto h-100 py-md-4 '
302
+ }
303
+ style={
304
+ {
305
+ // padding: 20,
306
+ }
307
+ }
308
+ >
309
+ <div
310
+ 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 '}
311
+ style={{
312
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
313
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
314
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
315
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
316
+ }}
317
+ >
318
+ <div
319
+ class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
320
+ style={{
321
+ position: 'relative',
322
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
323
+ fontSize: sectionproperties.sectionTitleFontSize + '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
+ class={'d-none align-items-center flex-row d-sm-flex mt-sm-2'}
348
+ style={{
349
+ position: 'relative',
350
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
351
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
352
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
353
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
354
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
355
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
356
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
357
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
358
+ marginLeft:
359
+ sectionproperties.sectiontitleborderradius != 0
360
+ ? langdetect == 'en'
361
+ ? sectionproperties.sectionTitleMarginLeft + 'px'
362
+ : sectionproperties.sectionTitleMarginRight + 'px'
363
+ : 0,
364
+ marginRight:
365
+ sectionproperties.sectiontitleborderradius != 0
366
+ ? langdetect == 'en'
367
+ ? sectionproperties.sectionTitleMarginRight + 'px'
368
+ : sectionproperties.sectionTitleMarginLeft + 'px'
369
+ : 0,
370
+ }}
371
+ >
372
+ {SectionTitle()}
373
+ </div>
374
+ </div>
375
+ {sectionproperties.prodCatShow == 'Show' && (
376
+ <div
377
+ class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
378
+ style={{
379
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
380
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
381
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
382
+ }}
383
+ >
384
+ <div
385
+ class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
386
+ style={{
387
+ position: 'relative',
388
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
389
+ fontSize: sectionproperties.prodCatFontSize + 'px',
390
+ paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
391
+ paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
392
+ }}
393
+ >
394
+ {SectionDescription()}
395
+ </div>
396
+ <div
397
+ class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
398
+ style={{
399
+ position: 'relative',
400
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
401
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px',
402
+ }}
403
+ >
404
+ {SectionDescription()}
405
+ </div>
406
+ </div>
407
+ )}
408
+ <div
409
+ class="col-lg-12 p-0 d-flex justify-content-md-center"
410
+ style={{
411
+ justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
412
+ marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
413
+ }}
414
+ >
415
+ <p
416
+ class={
417
+ sectionproperties.text2centered == 'Justify'
418
+ ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
419
+ : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
420
+ }
421
+ style={{}}
422
+ dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
423
+ ></p>
424
+ </div>
425
+ {sectionproperties.generalbtn_show == 'Show' && (
426
+ <div class={sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start'}>
427
+ <button
428
+ class={`${section_styles.btn}` + ' m-md-0 '}
429
+ onClick={() => {
430
+ if (sectionproperties.btntype == 'WhatsApp') {
431
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
432
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
433
+ }
434
+ } else if (sectionproperties.btntype == 'App/Web Page') {
435
+ // window.open(sectionproperties.btnlink, '_target');
436
+ routingcountext(sectionproperties.btnlink, false, '');
437
+ } else {
438
+ window.open(sectionproperties.btnlink, '_blank');
439
+ }
440
+ }}
441
+ style={{
442
+ marginLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
443
+ marginRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
444
+ }}
445
+ >
446
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
447
+ </button>
448
+ </div>
449
+ )}
450
+ <div
451
+ class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
452
+ style={{
453
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
454
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
455
+ display: sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide' ? 'none' : 'flex',
456
+ }}
457
+ >
458
+ {sectionproperties.fbbtn_show == 'Show' && (
459
+ <div
460
+ class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
461
+ onClick={() => {
462
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
463
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
464
+ }
465
+ }}
466
+ >
467
+ <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
468
+ </div>
469
+ )}
470
+ {sectionproperties.instbtn_show == 'Show' && (
471
+ <div
472
+ class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
473
+ onClick={() => {
474
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
475
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
476
+ }
477
+ }}
478
+ >
479
+ <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
480
+ </div>
481
+ )}
482
+ {sectionproperties.youtbtn_show == 'Show' && (
483
+ <div
484
+ class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
485
+ onClick={() => {
486
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
487
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
488
+ }
489
+ }}
490
+ >
491
+ <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
492
+ </div>
493
+ )}
494
+ </div>
495
+ </div>
496
+ </div>
497
+ );
498
+ };
499
+ const Image = () => {
500
+ return (
501
+ <div
502
+ class={
503
+ sectionproperties.image_height == 0
504
+ ? sectionproperties.sectionstyle == 'Image on right'
505
+ ? 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0'
506
+ : 'col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center h-auto p-md-0'
507
+ : sectionproperties.sectionstyle == 'Image on left'
508
+ ? 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0'
509
+ : 'col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center p-md-0'
510
+ }
511
+ style={{
512
+ paddingLeft: sectionproperties.marginhorizontal + 'px',
513
+ paddingRight: sectionproperties.marginhorizontal + 'px',
514
+ cursor: imagesarray[0]?.IsClickableimg == 'Yes' ? 'pointer' : 'default',
515
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
516
+ }}
517
+ onClick={() => {
518
+ if (imagesarray[0]?.IsClickableimg == 'Yes') {
519
+ if (imagesarray[0]?.clickableimg_page_route != undefined && imagesarray[0]?.clickableimg_page_route.length != 0) {
520
+ routingcountext(imagesarray[0]?.clickableimg_page_route, false, '');
521
+ } else {
522
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, 'collections/' + imagesarray[0]?.Clickableimg_getcoection);
523
+ }
524
+ }
525
+ }}
526
+ >
527
+ <div class="col-lg-12 p-0 d-flex d-md-none justify-content-center align-items-center">
528
+ {imagesarray.length != 0 && (
529
+ <Imagekitimagecomp
530
+ class={section_styles.imageimage}
531
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
532
+ publicKey={ikimagecredcontext?.ikimagepublickey}
533
+ path={
534
+ langdetect == 'en'
535
+ ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0]?.bgsection_image
536
+ : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0]?.bgsection_image_ar
537
+ }
538
+ style={{}}
539
+ />
540
+ )}
541
+ </div>
542
+ <div class="col-lg-12 p-0 d-none d-md-flex justify-content-center align-items-center">
543
+ {imagesarray.length != 0 && (
544
+ <Imagekitimagecomp
545
+ class={section_styles.imageimage}
546
+ urlEndpoint={ikimagecredcontext?.ikimageendpoint}
547
+ publicKey={ikimagecredcontext?.ikimagepublickey}
548
+ path={
549
+ langdetect == 'en'
550
+ ? '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0]?.bgsection_imageresponsive
551
+ : '/tr:w-' + sectionproperties.imagetr_w + ',h-' + sectionproperties.imagetr_h + '/' + imagesarray[0]?.bgsection_imageresponsive_ar
552
+ }
553
+ style={{}}
554
+ />
555
+ )}
556
+ </div>
557
+ </div>
558
+ );
559
+ };
560
+
561
+ return (
562
+ <div class="row m-0 w-100 allcentered">
563
+ <div
564
+ class={' row ml-0 mr-0 d-flex justify-content-between align-items-center '}
565
+ style={{
566
+ marginTop: sectionproperties.marginTop + 'px',
567
+ marginBottom: sectionproperties.marginBottom + 'px',
568
+ background: sectionproperties.backgroundColor,
569
+ width: sectionproperties.width + 'vw',
570
+ borderRadius: sectionproperties.sectioncardborderradius + 'px',
571
+ }}
572
+ >
573
+ {sectionproperties.cardstyletype == 'Style 1' && (
574
+ <div
575
+ class={
576
+ sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0
577
+ ? sectionproperties.width != 100
578
+ ? 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-100 w-md-90 mx-auto'
579
+ : 'd-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 w-100 w-md-100 mx-auto'
580
+ : sectionproperties.width != 100
581
+ ? 'd-flex justify-content-between align-items-center w-100 w-md-90 mx-auto'
582
+ : 'd-flex justify-content-between align-items-center w-100 w-md-100 mx-auto'
583
+ }
584
+ style={{
585
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
586
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
587
+ // width: sectionproperties.width + 'vw',
588
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
589
+ // borderRadius: sectionproperties.sectioncardborderradius + 'px',
590
+ }}
591
+ >
592
+ <div
593
+ class={
594
+ // sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
595
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
596
+ // : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
597
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
598
+ // : sectionproperties.paddingLeft != 0
599
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
600
+ // : sectionproperties.paddingRight != 0
601
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
602
+ // : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
603
+ sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
604
+ ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
605
+ : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
606
+ ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
607
+ : sectionproperties.paddingLeft != 0
608
+ ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
609
+ : sectionproperties.paddingRight != 0
610
+ ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
611
+ : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
612
+ }
613
+ style={{
614
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
615
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
616
+ // paddingTop: sectionproperties.paddingTop + 'px',
617
+ // paddingBottom: sectionproperties.paddingBottom + 'px',
618
+ marginTop: sectionproperties.marginTop + 'px',
619
+ marginBottom: sectionproperties.marginBottom + 'px',
620
+ }}
621
+ >
622
+ {/* langdetect == 'en' && */}
623
+ {sectionproperties.sectionstyle == 'Image on right' && (
624
+ <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
625
+ <div
626
+ class="row m-0 w-100 d-flex justify-content-between"
627
+ style={{
628
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
629
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
630
+ }}
631
+ >
632
+ <div
633
+ class={
634
+ sectionproperties.image_show == 'show'
635
+ ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center px-md-0 '
636
+ : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center px-md-0 '
637
+ }
638
+ style={{
639
+ background: sectionproperties.reservation_bgcolor,
640
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
641
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
642
+ paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
643
+ paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
644
+ }}
645
+ >
646
+ <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'}>
647
+ <div
648
+ class={
649
+ sectionproperties.sectionstyleresponsive == 'Image above text'
650
+ ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
651
+ : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
652
+ }
653
+ style={{
654
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
655
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
656
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
657
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
658
+ }}
659
+ >
660
+ <div
661
+ class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
662
+ style={{
663
+ position: 'relative',
664
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
665
+ textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
666
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
667
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
668
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
669
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
670
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
671
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
672
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
673
+ marginLeft:
674
+ sectionproperties.sectiontitleborderradius != 0
675
+ ? langdetect == 'en'
676
+ ? sectionproperties.sectionTitleMarginLeft + 'px'
677
+ : sectionproperties.sectionTitleMarginRight + 'px'
678
+ : 0,
679
+ marginRight:
680
+ sectionproperties.sectiontitleborderradius != 0
681
+ ? langdetect == 'en'
682
+ ? sectionproperties.sectionTitleMarginRight + 'px'
683
+ : sectionproperties.sectionTitleMarginLeft + 'px'
684
+ : 0,
685
+ }}
686
+ >
687
+ {SectionTitle()}
688
+ </div>
689
+ <div
690
+ class={'d-none align-items-center flex-row d-sm-flex mt-sm-2'}
691
+ style={{
692
+ position: 'relative',
693
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
694
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
695
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
696
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
697
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
698
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
699
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
700
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
701
+ marginLeft:
702
+ sectionproperties.sectiontitleborderradius != 0
703
+ ? langdetect == 'en'
704
+ ? sectionproperties.sectionTitleMarginLeft + 'px'
705
+ : sectionproperties.sectionTitleMarginRight + 'px'
706
+ : 0,
707
+ marginRight:
708
+ sectionproperties.sectiontitleborderradius != 0
709
+ ? langdetect == 'en'
710
+ ? sectionproperties.sectionTitleMarginRight + 'px'
711
+ : sectionproperties.sectionTitleMarginLeft + 'px'
712
+ : 0,
713
+ }}
714
+ >
715
+ {SectionTitle()}
716
+ </div>
717
+ </div>
718
+ {sectionproperties.prodCatShow == 'Show' && (
719
+ <div
720
+ class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
721
+ style={{
722
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
723
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
724
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
725
+ }}
726
+ >
727
+ <div
728
+ class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
729
+ style={{
730
+ position: 'relative',
731
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
732
+ fontSize: sectionproperties.prodCatFontSize + 'px',
733
+ paddingLeft:
734
+ langdetect == 'en'
735
+ ? sectionproperties.slideshowText2Content_marginLeft + 'px'
736
+ : sectionproperties.slideshowText2Content_marginRight + 'px',
737
+ paddingRight:
738
+ langdetect == 'en'
739
+ ? sectionproperties.slideshowText2Content_marginRight + 'px'
740
+ : sectionproperties.slideshowText2Content_marginLeft + 'px',
741
+ }}
742
+ >
743
+ {SectionDescription()}
744
+ </div>
745
+ <div
746
+ class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
747
+ style={{
748
+ position: 'relative',
749
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
750
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px',
751
+ }}
752
+ >
753
+ {SectionDescription()}
754
+ </div>
755
+ </div>
756
+ )}
757
+ <div
758
+ class="col-lg-12 p-0 d-flex justify-content-md-center"
759
+ style={{
760
+ justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
761
+ marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
762
+ }}
763
+ >
764
+ <p
765
+ class={
766
+ sectionproperties.text2centered == 'Justify'
767
+ ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
768
+ : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
769
+ }
770
+ style={{}}
771
+ dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
772
+ ></p>
773
+ </div>
774
+ {sectionproperties.generalbtn_show == 'Show' && (
775
+ <div
776
+ class={sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'}
777
+ >
778
+ <button
779
+ class={`${section_styles.btn2}` + ' m-md-0 '}
780
+ onClick={() => {
781
+ if (sectionproperties.btntype == 'WhatsApp') {
782
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
783
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
784
+ }
785
+ } else if (sectionproperties.btntype == 'App/Web Page') {
786
+ // window.open(sectionproperties.btnlink, '_target');
787
+ routingcountext(sectionproperties.btnlink, false, '');
788
+ } else {
789
+ window.open(sectionproperties.btnlink, '_blank');
790
+ }
791
+ }}
792
+ style={{
793
+ marginLeft:
794
+ langdetect == 'en'
795
+ ? sectionproperties.slideshowText2Content_marginLeft + 'px'
796
+ : sectionproperties.slideshowText2Content_marginRight + 'px',
797
+ marginRight:
798
+ langdetect == 'en'
799
+ ? sectionproperties.slideshowText2Content_marginRight + 'px'
800
+ : sectionproperties.slideshowText2Content_marginLeft + 'px',
801
+ }}
802
+ >
803
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
804
+ </button>
805
+ <button
806
+ class={`${section_styles.btn}` + ' mx-1 '}
807
+ onClick={() => {
808
+ if (sectionproperties.btntype == 'WhatsApp') {
809
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
810
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
811
+ }
812
+ } else if (sectionproperties.btntype == 'App/Web Page') {
813
+ // window.open(sectionproperties.btnlink, '_target');
814
+ routingcountext(sectionproperties.btnlink2, false, '');
815
+ } else {
816
+ window.open(sectionproperties.btnlink2, '_blank');
817
+ }
818
+ }}
819
+ style={{
820
+ marginLeft:
821
+ langdetect == 'en'
822
+ ? sectionproperties.slideshowText2Content_marginLeft + 'px'
823
+ : sectionproperties.slideshowText2Content_marginRight + 'px',
824
+ marginRight:
825
+ langdetect == 'en'
826
+ ? sectionproperties.slideshowText2Content_marginRight + 'px'
827
+ : sectionproperties.slideshowText2Content_marginLeft + 'px',
828
+ }}
829
+ >
830
+ {langdetect == 'en' ? 'Subscribe' : 'اشترك الان'}
831
+ </button>
832
+ </div>
833
+ )}
834
+ <div
835
+ class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
836
+ style={{
837
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
838
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
839
+ display:
840
+ sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
841
+ ? 'none'
842
+ : 'flex',
843
+ }}
844
+ >
845
+ {sectionproperties.fbbtn_show == 'Show' && (
846
+ <div
847
+ class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
848
+ onClick={() => {
849
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
850
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
851
+ }
852
+ }}
853
+ >
854
+ <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
855
+ </div>
856
+ )}
857
+ {sectionproperties.instbtn_show == 'Show' && (
858
+ <div
859
+ class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
860
+ onClick={() => {
861
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
862
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
863
+ }
864
+ }}
865
+ >
866
+ <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
867
+ </div>
868
+ )}
869
+ {sectionproperties.youtbtn_show == 'Show' && (
870
+ <div
871
+ class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
872
+ onClick={() => {
873
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
874
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
875
+ }
876
+ }}
877
+ >
878
+ <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
879
+ </div>
880
+ )}
881
+ </div>
882
+ </div>
883
+ </div>
884
+ {sectionproperties.image_show == 'show' && Image()}
885
+ </div>
886
+ </div>
887
+ )}
888
+ {sectionproperties.sectionstyleresponsive == 'Image below text' && (
889
+ <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
890
+ <div
891
+ class="row m-0 w-100 d-flex justify-content-between"
892
+ style={{
893
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
894
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
895
+ }}
896
+ >
897
+ <div
898
+ class={
899
+ sectionproperties.image_show == 'show'
900
+ ? 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 mb-md-3 '
901
+ : 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 mb-md-3 '
902
+ }
903
+ style={{
904
+ background: sectionproperties.reservation_bgcolor,
905
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
906
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
907
+ }}
908
+ >
909
+ <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'}>
910
+ <div
911
+ class={
912
+ sectionproperties.sectionstyleresponsive == 'Image above text'
913
+ ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
914
+ : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
915
+ }
916
+ style={{
917
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
918
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
919
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
920
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
921
+ }}
922
+ >
923
+ <div
924
+ class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
925
+ style={{
926
+ position: 'relative',
927
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
928
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
929
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
930
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
931
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
932
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
933
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
934
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
935
+ marginLeft:
936
+ sectionproperties.sectiontitleborderradius != 0
937
+ ? langdetect == 'en'
938
+ ? sectionproperties.sectionTitleMarginLeft + 'px'
939
+ : sectionproperties.sectionTitleMarginRight + 'px'
940
+ : 0,
941
+ marginRight:
942
+ sectionproperties.sectiontitleborderradius != 0
943
+ ? langdetect == 'en'
944
+ ? sectionproperties.sectionTitleMarginRight + 'px'
945
+ : sectionproperties.sectionTitleMarginLeft + 'px'
946
+ : 0,
947
+ }}
948
+ >
949
+ {SectionTitle()}
950
+ </div>
951
+ <div
952
+ class={'d-none align-items-center flex-row d-sm-flex mt-sm-2'}
953
+ style={{
954
+ position: 'relative',
955
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
956
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
957
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
958
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
959
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
960
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
961
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
962
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
963
+ marginLeft:
964
+ sectionproperties.sectiontitleborderradius != 0
965
+ ? langdetect == 'en'
966
+ ? sectionproperties.sectionTitleMarginLeft + 'px'
967
+ : sectionproperties.sectionTitleMarginRight + 'px'
968
+ : 0,
969
+ marginRight:
970
+ sectionproperties.sectiontitleborderradius != 0
971
+ ? langdetect == 'en'
972
+ ? sectionproperties.sectionTitleMarginRight + 'px'
973
+ : sectionproperties.sectionTitleMarginLeft + 'px'
974
+ : 0,
975
+ }}
976
+ >
977
+ {SectionTitle()}
978
+ </div>
979
+ </div>
980
+ {sectionproperties.prodCatShow == 'Show' && (
981
+ <div
982
+ class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
983
+ style={{
984
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
985
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
986
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
987
+ }}
988
+ >
989
+ <div
990
+ class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
991
+ style={{
992
+ position: 'relative',
993
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
994
+ fontSize: sectionproperties.prodCatFontSize + 'px',
995
+ paddingLeft:
996
+ langdetect == 'en'
997
+ ? sectionproperties.slideshowText2Content_marginLeft + 'px'
998
+ : sectionproperties.slideshowText2Content_marginRight + 'px',
999
+ paddingRight:
1000
+ langdetect == 'en'
1001
+ ? sectionproperties.slideshowText2Content_marginRight + 'px'
1002
+ : sectionproperties.slideshowText2Content_marginLeft + 'px',
1003
+ }}
1004
+ >
1005
+ {SectionDescription()}
1006
+ </div>
1007
+ <div
1008
+ class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
1009
+ style={{
1010
+ position: 'relative',
1011
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1012
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px',
1013
+ }}
1014
+ >
1015
+ {SectionDescription()}
1016
+ </div>
1017
+ </div>
1018
+ )}
1019
+ <div
1020
+ class="col-lg-12 p-0 d-flex justify-content-md-center"
1021
+ style={{
1022
+ justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
1023
+ marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
1024
+ }}
1025
+ >
1026
+ <p
1027
+ class={
1028
+ sectionproperties.text2centered == 'Justify'
1029
+ ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
1030
+ : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
1031
+ }
1032
+ style={{}}
1033
+ dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
1034
+ ></p>
1035
+ </div>
1036
+ {sectionproperties.generalbtn_show == 'Show' && (
1037
+ <div
1038
+ class={sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'}
1039
+ >
1040
+ <button
1041
+ class={`${section_styles.btn}` + ' m-md-0 '}
1042
+ onClick={() => {
1043
+ if (sectionproperties.btntype == 'WhatsApp') {
1044
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1045
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1046
+ }
1047
+ } else if (sectionproperties.btntype == 'App/Web Page') {
1048
+ // window.open(sectionproperties.btnlink, '_target');
1049
+ routingcountext(sectionproperties.btnlink, false, '');
1050
+ } else {
1051
+ window.open(sectionproperties.btnlink, '_blank');
1052
+ }
1053
+ }}
1054
+ style={{
1055
+ marginLeft:
1056
+ langdetect == 'en'
1057
+ ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1058
+ : sectionproperties.slideshowText2Content_marginRight + 'px',
1059
+ marginRight:
1060
+ langdetect == 'en'
1061
+ ? sectionproperties.slideshowText2Content_marginRight + 'px'
1062
+ : sectionproperties.slideshowText2Content_marginLeft + 'px',
1063
+ }}
1064
+ >
1065
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1066
+ </button>
1067
+ </div>
1068
+ )}
1069
+ <div
1070
+ class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
1071
+ style={{
1072
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1073
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1074
+ display:
1075
+ sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
1076
+ ? 'none'
1077
+ : 'flex',
1078
+ }}
1079
+ >
1080
+ {sectionproperties.fbbtn_show == 'Show' && (
1081
+ <div
1082
+ class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1083
+ onClick={() => {
1084
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
1085
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1086
+ }
1087
+ }}
1088
+ >
1089
+ <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
1090
+ </div>
1091
+ )}
1092
+ {sectionproperties.instbtn_show == 'Show' && (
1093
+ <div
1094
+ class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1095
+ onClick={() => {
1096
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1097
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1098
+ }
1099
+ }}
1100
+ >
1101
+ <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
1102
+ </div>
1103
+ )}
1104
+ {sectionproperties.youtbtn_show == 'Show' && (
1105
+ <div
1106
+ class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1107
+ onClick={() => {
1108
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1109
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1110
+ }
1111
+ }}
1112
+ >
1113
+ <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
1114
+ </div>
1115
+ )}
1116
+ </div>
1117
+ </div>
1118
+ </div>
1119
+ {sectionproperties.image_show == 'show' && Image()}
1120
+ </div>
1121
+ </div>
1122
+ )}
1123
+ {/* langdetect == 'en' && */}
1124
+ {sectionproperties.sectionstyle == 'Image on left' && (
1125
+ <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
1126
+ <div
1127
+ class="row m-0 w-100 d-flex justify-content-between"
1128
+ style={{
1129
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1130
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1131
+ }}
1132
+ >
1133
+ {sectionproperties.image_show == 'show' && Image()}
1134
+ <div
1135
+ class={
1136
+ sectionproperties.image_show == 'show'
1137
+ ? section_styles.sectioncintainer + ' col-lg-6 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center px-md-0 '
1138
+ : section_styles.sectioncintainer + ' col-lg-12 col-md-12 d-flex justify-content-start h-100 h-md-auto justify-content-md-center px-md-0 '
1139
+ }
1140
+ style={{
1141
+ background: sectionproperties.reservation_bgcolor,
1142
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1143
+ borderRadius: sectionproperties.reservation_borderradius + 'px',
1144
+ paddingLeft: sectionproperties.innersectionpaddinghorizontal + 'px',
1145
+ paddingRight: sectionproperties.innersectionpaddinghorizontal + 'px',
1146
+ }}
1147
+ >
1148
+ <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'}>
1149
+ <div
1150
+ class={
1151
+ sectionproperties.sectionstyleresponsive == 'Image above text'
1152
+ ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
1153
+ : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
1154
+ }
1155
+ style={{
1156
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1157
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
1158
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
1159
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1160
+ }}
1161
+ >
1162
+ <div
1163
+ class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
1164
+ style={{
1165
+ position: 'relative',
1166
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1167
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
1168
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
1169
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
1170
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1171
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1172
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
1173
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
1174
+ marginLeft:
1175
+ sectionproperties.sectiontitleborderradius != 0
1176
+ ? langdetect == 'en'
1177
+ ? sectionproperties.sectionTitleMarginLeft + 'px'
1178
+ : sectionproperties.sectionTitleMarginRight + 'px'
1179
+ : 0,
1180
+ marginRight:
1181
+ sectionproperties.sectiontitleborderradius != 0
1182
+ ? langdetect == 'en'
1183
+ ? sectionproperties.sectionTitleMarginRight + 'px'
1184
+ : sectionproperties.sectionTitleMarginLeft + 'px'
1185
+ : 0,
1186
+ }}
1187
+ >
1188
+ {SectionTitle()}
1189
+ </div>
1190
+ <div
1191
+ class={'d-none align-items-center flex-row d-sm-flex mt-sm-2'}
1192
+ style={{
1193
+ position: 'relative',
1194
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1195
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
1196
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
1197
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
1198
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1199
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1200
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
1201
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
1202
+ marginLeft:
1203
+ sectionproperties.sectiontitleborderradius != 0
1204
+ ? langdetect == 'en'
1205
+ ? sectionproperties.sectionTitleMarginLeft + 'px'
1206
+ : sectionproperties.sectionTitleMarginRight + 'px'
1207
+ : 0,
1208
+ marginRight:
1209
+ sectionproperties.sectiontitleborderradius != 0
1210
+ ? langdetect == 'en'
1211
+ ? sectionproperties.sectionTitleMarginRight + 'px'
1212
+ : sectionproperties.sectionTitleMarginLeft + 'px'
1213
+ : 0,
1214
+ }}
1215
+ >
1216
+ {SectionTitle()}
1217
+ </div>
1218
+ </div>
1219
+ {sectionproperties.prodCatShow == 'Show' && (
1220
+ <div
1221
+ class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
1222
+ style={{
1223
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1224
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
1225
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1226
+ }}
1227
+ >
1228
+ <div
1229
+ class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
1230
+ style={{
1231
+ position: 'relative',
1232
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1233
+ fontSize: sectionproperties.prodCatFontSize + 'px',
1234
+ paddingLeft:
1235
+ langdetect == 'en'
1236
+ ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1237
+ : sectionproperties.slideshowText2Content_marginRight + 'px',
1238
+ paddingRight:
1239
+ langdetect == 'en'
1240
+ ? sectionproperties.slideshowText2Content_marginRight + 'px'
1241
+ : sectionproperties.slideshowText2Content_marginLeft + 'px',
1242
+ }}
1243
+ >
1244
+ {SectionDescription()}
1245
+ </div>
1246
+ <div
1247
+ class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
1248
+ style={{
1249
+ position: 'relative',
1250
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1251
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px',
1252
+ }}
1253
+ >
1254
+ {SectionDescription()}
1255
+ </div>
1256
+ </div>
1257
+ )}
1258
+ <div
1259
+ class="col-lg-12 p-0 d-flex justify-content-md-center"
1260
+ style={{
1261
+ justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
1262
+ marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
1263
+ }}
1264
+ >
1265
+ <p
1266
+ class={
1267
+ sectionproperties.text2centered == 'Justify'
1268
+ ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
1269
+ : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
1270
+ }
1271
+ style={{}}
1272
+ dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
1273
+ ></p>
1274
+ </div>
1275
+ {sectionproperties.generalbtn_show == 'Show' && (
1276
+ <div
1277
+ class={sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'}
1278
+ >
1279
+ <button
1280
+ class={`${section_styles.btn2}` + ' m-md-0 '}
1281
+ onClick={() => {
1282
+ if (sectionproperties.btntype == 'WhatsApp') {
1283
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1284
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1285
+ }
1286
+ } else if (sectionproperties.btntype == 'App/Web Page') {
1287
+ // window.open(sectionproperties.btnlink, '_target');
1288
+ routingcountext(sectionproperties.btnlink, false, '');
1289
+ } else {
1290
+ window.open(sectionproperties.btnlink, '_blank');
1291
+ }
1292
+ }}
1293
+ style={{
1294
+ marginLeft:
1295
+ langdetect == 'en'
1296
+ ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1297
+ : sectionproperties.slideshowText2Content_marginRight + 'px',
1298
+ marginRight:
1299
+ langdetect == 'en'
1300
+ ? sectionproperties.slideshowText2Content_marginRight + 'px'
1301
+ : sectionproperties.slideshowText2Content_marginLeft + 'px',
1302
+ }}
1303
+ >
1304
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1305
+ </button>
1306
+ <button
1307
+ class={`${section_styles.btn}` + ' mx-1 '}
1308
+ onClick={() => {
1309
+ if (sectionproperties.btntype == 'WhatsApp') {
1310
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1311
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1312
+ }
1313
+ } else if (sectionproperties.btntype == 'App/Web Page') {
1314
+ // window.open(sectionproperties.btnlink, '_target');
1315
+ routingcountext(sectionproperties.btnlink2, false, '');
1316
+ } else {
1317
+ window.open(sectionproperties.btnlink2, '_blank');
1318
+ }
1319
+ }}
1320
+ style={{
1321
+ marginLeft:
1322
+ langdetect == 'en'
1323
+ ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1324
+ : sectionproperties.slideshowText2Content_marginRight + 'px',
1325
+ marginRight:
1326
+ langdetect == 'en'
1327
+ ? sectionproperties.slideshowText2Content_marginRight + 'px'
1328
+ : sectionproperties.slideshowText2Content_marginLeft + 'px',
1329
+ }}
1330
+ >
1331
+ {langdetect == 'en' ? 'Subscribe' : 'اشترك الان'}
1332
+ </button>
1333
+ </div>
1334
+ )}
1335
+ <div
1336
+ class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
1337
+ style={{
1338
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1339
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1340
+ display:
1341
+ sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
1342
+ ? 'none'
1343
+ : 'flex',
1344
+ }}
1345
+ >
1346
+ {sectionproperties.fbbtn_show == 'Show' && (
1347
+ <div
1348
+ class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1349
+ onClick={() => {
1350
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
1351
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1352
+ }
1353
+ }}
1354
+ >
1355
+ <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
1356
+ </div>
1357
+ )}
1358
+ {sectionproperties.instbtn_show == 'Show' && (
1359
+ <div
1360
+ class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1361
+ onClick={() => {
1362
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1363
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1364
+ }
1365
+ }}
1366
+ >
1367
+ <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
1368
+ </div>
1369
+ )}
1370
+ {sectionproperties.youtbtn_show == 'Show' && (
1371
+ <div
1372
+ class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1373
+ onClick={() => {
1374
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1375
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1376
+ }
1377
+ }}
1378
+ >
1379
+ <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
1380
+ </div>
1381
+ )}
1382
+ </div>
1383
+ </div>
1384
+ </div>
1385
+ </div>
1386
+ </div>
1387
+ )}
1388
+ {sectionproperties.sectionstyleresponsive == 'Image above text' && (
1389
+ <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
1390
+ <div
1391
+ class="row m-0 w-100 d-flex justify-content-between"
1392
+ style={{
1393
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1394
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1395
+ }}
1396
+ >
1397
+ {sectionproperties.image_show == 'show' && Image()}
1398
+ <div
1399
+ class={
1400
+ sectionproperties.image_show == 'show'
1401
+ ? 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 '
1402
+ : 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 '
1403
+ }
1404
+ style={{
1405
+ background: sectionproperties.reservation_bgcolor,
1406
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1407
+ }}
1408
+ >
1409
+ <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'row m-0 w-100' : 'row m-0 w-100 mb-auto'}>
1410
+ <div
1411
+ class={
1412
+ sectionproperties.sectionstyleresponsive == 'Image above text'
1413
+ ? 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center mt-md-4'
1414
+ : 'col-lg-12 pl-0 pr-0 d-flex justify-content-md-center'
1415
+ }
1416
+ style={{
1417
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1418
+ marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
1419
+ marginTop: sectionproperties.sectionTitleMarginTop + 'px',
1420
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1421
+ }}
1422
+ >
1423
+ <div
1424
+ class={'d-flex align-items-center flex-row d-sm-none mt-sm-2 '}
1425
+ style={{
1426
+ position: 'relative',
1427
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1428
+ fontSize: sectionproperties.sectionTitleFontSize + 'px',
1429
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
1430
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
1431
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1432
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1433
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
1434
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
1435
+ marginLeft:
1436
+ sectionproperties.sectiontitleborderradius != 0
1437
+ ? langdetect == 'en'
1438
+ ? sectionproperties.sectionTitleMarginLeft + 'px'
1439
+ : sectionproperties.sectionTitleMarginRight + 'px'
1440
+ : 0,
1441
+ marginRight:
1442
+ sectionproperties.sectiontitleborderradius != 0
1443
+ ? langdetect == 'en'
1444
+ ? sectionproperties.sectionTitleMarginRight + 'px'
1445
+ : sectionproperties.sectionTitleMarginLeft + 'px'
1446
+ : 0,
1447
+ }}
1448
+ >
1449
+ {SectionTitle()}
1450
+ </div>
1451
+ <div
1452
+ class={'d-none align-items-center flex-row d-sm-flex mt-sm-2'}
1453
+ style={{
1454
+ position: 'relative',
1455
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1456
+ fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
1457
+ backgroundColor: sectionproperties.sectiontitlebgcolor,
1458
+ borderRadius: sectionproperties.sectiontitleborderradius + 'px',
1459
+ paddingLeft: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1460
+ paddingRight: sectionproperties.sectiontitlepaddinghorizontal + 'px',
1461
+ paddingTop: sectionproperties.sectiontitlepaddingvertical + 'px',
1462
+ paddingBottom: sectionproperties.sectiontitlepaddingvertical + 'px',
1463
+ marginLeft:
1464
+ sectionproperties.sectiontitleborderradius != 0
1465
+ ? langdetect == 'en'
1466
+ ? sectionproperties.sectionTitleMarginLeft + 'px'
1467
+ : sectionproperties.sectionTitleMarginRight + 'px'
1468
+ : 0,
1469
+ marginRight:
1470
+ sectionproperties.sectiontitleborderradius != 0
1471
+ ? langdetect == 'en'
1472
+ ? sectionproperties.sectionTitleMarginRight + 'px'
1473
+ : sectionproperties.sectionTitleMarginLeft + 'px'
1474
+ : 0,
1475
+ }}
1476
+ >
1477
+ {SectionTitle()}
1478
+ </div>
1479
+ </div>
1480
+ {sectionproperties.prodCatShow == 'Show' && (
1481
+ <div
1482
+ class="col-lg-12 pl-0 pr-0 d-flex justify-content-md-center"
1483
+ style={{
1484
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1485
+ marginBottom: sectionproperties.descriptionMarginBottom + 'px',
1486
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1487
+ }}
1488
+ >
1489
+ <div
1490
+ class="d-flex align-items-center flex-row d-sm-none mt-sm-2"
1491
+ style={{
1492
+ position: 'relative',
1493
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1494
+ fontSize: sectionproperties.prodCatFontSize + 'px',
1495
+ paddingLeft:
1496
+ langdetect == 'en'
1497
+ ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1498
+ : sectionproperties.slideshowText2Content_marginRight + 'px',
1499
+ paddingRight:
1500
+ langdetect == 'en'
1501
+ ? sectionproperties.slideshowText2Content_marginRight + 'px'
1502
+ : sectionproperties.slideshowText2Content_marginLeft + 'px',
1503
+ }}
1504
+ >
1505
+ {SectionDescription()}
1506
+ </div>
1507
+ <div
1508
+ class="d-none align-items-center flex-row d-sm-flex mt-sm-2"
1509
+ style={{
1510
+ position: 'relative',
1511
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1512
+ fontSize: sectionproperties.prodCatFontSizeResp + 'px',
1513
+ }}
1514
+ >
1515
+ {SectionDescription()}
1516
+ </div>
1517
+ </div>
1518
+ )}
1519
+ <div
1520
+ class="col-lg-12 p-0 d-flex justify-content-md-center"
1521
+ style={{
1522
+ justifyContent: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
1523
+ marginBottom: sectionproperties.slideshowText2Content_marginBottom + 'px',
1524
+ }}
1525
+ >
1526
+ <p
1527
+ class={
1528
+ sectionproperties.text2centered == 'Justify'
1529
+ ? section_styles.editortext + ' pb-0 pl-md-2 pr-md-2 '
1530
+ : section_styles.editortext + ' pb-0 text-md-center pl-md-2 pr-md-2 '
1531
+ }
1532
+ style={{}}
1533
+ dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.text2editortextar }}
1534
+ ></p>
1535
+ </div>
1536
+ {sectionproperties.generalbtn_show == 'Show' && (
1537
+ <div
1538
+ class={sectionproperties.generalbtn_position == 'Centered' ? 'col-lg-12 p-0 allcentered' : 'col-lg-12 p-0 text-start justify-content-md-center'}
1539
+ >
1540
+ <button
1541
+ class={`${section_styles.btn}` + ' m-md-0 '}
1542
+ onClick={() => {
1543
+ if (sectionproperties.btntype == 'WhatsApp') {
1544
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1545
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1546
+ }
1547
+ } else if (sectionproperties.btntype == 'App/Web Page') {
1548
+ // window.open(sectionproperties.btnlink, '_target');
1549
+ routingcountext(sectionproperties.btnlink, false, '');
1550
+ } else {
1551
+ window.open(sectionproperties.btnlink, '_blank');
1552
+ }
1553
+ }}
1554
+ style={{
1555
+ marginLeft:
1556
+ langdetect == 'en'
1557
+ ? sectionproperties.slideshowText2Content_marginLeft + 'px'
1558
+ : sectionproperties.slideshowText2Content_marginRight + 'px',
1559
+ marginRight:
1560
+ langdetect == 'en'
1561
+ ? sectionproperties.slideshowText2Content_marginRight + 'px'
1562
+ : sectionproperties.slideshowText2Content_marginLeft + 'px',
1563
+ }}
1564
+ >
1565
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
1566
+ </button>
1567
+ </div>
1568
+ )}
1569
+ <div
1570
+ class="col-lg-12 p-0 justify-content-sm-center mb-sm-4 align-items-center"
1571
+ style={{
1572
+ justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
1573
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1574
+ display:
1575
+ sectionproperties.fbbtn_show == 'Hide' && sectionproperties.instbtn_show == 'Hide' && sectionproperties.youtbtn_show == 'Hide'
1576
+ ? 'none'
1577
+ : 'flex',
1578
+ }}
1579
+ >
1580
+ {sectionproperties.fbbtn_show == 'Show' && (
1581
+ <div
1582
+ class={`${section_styles.facebook_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1583
+ onClick={() => {
1584
+ if (authdetailsContext?.instinfo?.facebooklink != null) {
1585
+ window.open(authdetailsContext?.instinfo?.facebooklink, '_blank');
1586
+ }
1587
+ }}
1588
+ >
1589
+ <FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
1590
+ </div>
1591
+ )}
1592
+ {sectionproperties.instbtn_show == 'Show' && (
1593
+ <div
1594
+ class={`${section_styles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1595
+ onClick={() => {
1596
+ if (authdetailsContext?.instinfo?.instagramlink != null) {
1597
+ window.open(authdetailsContext?.instinfo?.instagramlink, '_blank');
1598
+ }
1599
+ }}
1600
+ >
1601
+ <AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
1602
+ </div>
1603
+ )}
1604
+ {sectionproperties.youtbtn_show == 'Show' && (
1605
+ <div
1606
+ class={`${section_styles.youtube_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}
1607
+ onClick={() => {
1608
+ if (authdetailsContext?.instinfo?.whatsappnumber != null) {
1609
+ window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.whatsappnumber, '_blank');
1610
+ }
1611
+ }}
1612
+ >
1613
+ <FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
1614
+ </div>
1615
+ )}
1616
+ </div>
1617
+ </div>
1618
+ </div>
1619
+ </div>
1620
+ </div>
1621
+ )}
1622
+ {/* {sectionproperties.sectionstyle == 'Image on left' && langdetect == 'ar' && (
1623
+ <div class="col-lg-12 p-0 d-flex justify-content-between">
1624
+ <div
1625
+ class="row m-0 w-100 d-flex justify-content-between"
1626
+ style={{
1627
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1628
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1629
+ }}
1630
+ >
1631
+ {Content()}
1632
+ {Image()}
1633
+ </div>
1634
+ </div>
1635
+ )} */}
1636
+ </div>
1637
+ </div>
1638
+ )}
1639
+ {sectionproperties.cardstyletype == 'Style 2' && (
1640
+ <div
1641
+ class={
1642
+ sectionproperties.card_marginRight != 0 && sectionproperties.card_marginLeft != 0
1643
+ ? sectionproperties.width != 100
1644
+ ? section_styles.cont1 + ' d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 mx-auto '
1645
+ : section_styles.cont1 + ' d-flex justify-content-between align-items-center px-1025-1 pl-md-3 pr-md-3 mx-auto '
1646
+ : sectionproperties.width != 100
1647
+ ? section_styles.cont1 + ' d-flex justify-content-between align-items-center mx-auto '
1648
+ : section_styles.cont1 + ' d-flex justify-content-between align-items-center mx-auto '
1649
+ }
1650
+ style={{
1651
+ paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
1652
+ paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
1653
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
1654
+ borderRadius: sectionproperties.sectioncardborderradius + 'px',
1655
+ }}
1656
+ >
1657
+ <div
1658
+ class={
1659
+ // sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
1660
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1661
+ // : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
1662
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
1663
+ // : sectionproperties.paddingLeft != 0
1664
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
1665
+ // : sectionproperties.paddingRight != 0
1666
+ // ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between pr-1025-1 px-md-3 '
1667
+ // : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between '
1668
+ sectionproperties.paddingLeft != 0 && sectionproperties.paddingRight != 0
1669
+ ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1670
+ : sectionproperties.paddingLeft == 0 && sectionproperties.paddingRight == 0
1671
+ ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
1672
+ : sectionproperties.paddingLeft != 0
1673
+ ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1674
+ : sectionproperties.paddingRight != 0
1675
+ ? section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between plr-1025-1 pr-md-3 pl-md-3 '
1676
+ : section_styles.sectioncintainer + ' row m-0 w-100 d-flex justify-content-between px-md-0 '
1677
+ }
1678
+ style={{
1679
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
1680
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
1681
+ // paddingTop: sectionproperties.paddingTop + 'px',
1682
+ // paddingBottom: sectionproperties.paddingBottom + 'px',
1683
+ marginTop: sectionproperties.marginTop + 'px',
1684
+ marginBottom: sectionproperties.marginBottom + 'px',
1685
+ }}
1686
+ >
1687
+ {/* langdetect == 'en' && */}
1688
+ {sectionproperties.sectionstyle == 'Image on right' && (
1689
+ <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
1690
+ <div
1691
+ class="row m-0 w-100 d-flex justify-content-between"
1692
+ style={{
1693
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1694
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1695
+ }}
1696
+ >
1697
+ {Content()}
1698
+ {sectionproperties.image_show == 'show' && Image()}
1699
+ </div>
1700
+ </div>
1701
+ )}
1702
+ {sectionproperties.sectionstyleresponsive == 'Image below text' && (
1703
+ <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
1704
+ <div
1705
+ class="row m-0 w-100 d-flex justify-content-between"
1706
+ style={{
1707
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1708
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1709
+ }}
1710
+ >
1711
+ {Content()}
1712
+ {sectionproperties.image_show == 'show' && Image()}
1713
+ </div>
1714
+ </div>
1715
+ )}
1716
+
1717
+ {/* langdetect == 'en' && */}
1718
+ {sectionproperties.sectionstyle == 'Image on left' && (
1719
+ <div class="col-lg-12 p-0 d-flex justify-content-between d-md-none">
1720
+ <div
1721
+ class="row m-0 w-100 d-flex justify-content-between"
1722
+ style={{
1723
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1724
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1725
+ }}
1726
+ >
1727
+ {sectionproperties.image_show == 'show' && Image()}
1728
+ {Content()}
1729
+ </div>
1730
+ </div>
1731
+ )}
1732
+ {sectionproperties.sectionstyleresponsive == 'Image above text' && (
1733
+ <div class="col-lg-12 p-0 d-none d-md-flex justify-content-between">
1734
+ <div
1735
+ class="row m-0 w-100 d-flex justify-content-between"
1736
+ style={{
1737
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1738
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1739
+ }}
1740
+ >
1741
+ {sectionproperties.image_show == 'show' && <div class="w-100 mb-md-3"> {Image()}</div>}
1742
+ {Content()}
1743
+ </div>
1744
+ </div>
1745
+ )}
1746
+ {/* {sectionproperties.sectionstyle == 'Image on left' && langdetect == 'ar' && (
1747
+ <div class="col-lg-12 p-0 d-flex justify-content-between">
1748
+ <div
1749
+ class="row m-0 w-100 d-flex justify-content-between"
1750
+ style={{
1751
+ alignItems: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
1752
+ justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
1753
+ }}
1754
+ >
1755
+ {Content()}
1756
+ {Image()}
1757
+ </div>
1758
+ </div>
1759
+ )} */}
1760
+ </div>
1761
+ </div>
1762
+ )}
1763
+ </div>
1764
+ </div>
1765
+ );
1766
+ };
1767
+ export default Image_with_leftwords;