tabexseriescomponents 0.0.680 → 0.0.682

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 +882 -949
  2. package/dist/index.esm.js +881 -948
  3. package/dist/index.umd.js +883 -951
  4. package/package.json +1 -1
  5. package/{srcoman → srcoriginal}/TabexComponents/Cards/Card23/Card23.jsx +2 -2
  6. package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +2 -2
  7. package/{srcoman → srcoriginal}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +1 -0
  8. package/{srcoman → srcoriginal}/TabexComponents/Cards/MenuCard/MenuCard.jsx +25 -13
  9. package/{srcoman → srcoriginal}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +2 -2
  10. package/srcoriginal/TabexComponents/Footer/Footer1/Footer1.jsx +551 -0
  11. package/{srcoman → srcoriginal}/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +19 -0
  12. package/{srcoman → srcoriginal}/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +19 -0
  13. package/{srcoman → srcoriginal}/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +1 -1
  14. package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +246 -18
  15. package/{srcoman → srcoriginal}/TabexComponents/Headers/Modernheader/Modernheader.jsx +37 -22
  16. package/{srcoman → srcoriginal}/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +28 -3
  17. package/{srcoman → srcoriginal}/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +18 -0
  18. package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +72 -22
  19. package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -1
  20. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1935 -0
  21. package/{srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx → srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx} +1 -13
  22. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +760 -0
  23. package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +1 -1
  24. package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1679 -0
  25. package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +3 -3
  26. package/srcoriginal/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +512 -0
  27. package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter.jsx +447 -252
  28. package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +2 -9
  29. package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +0 -714
  30. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -437
  31. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -1767
  32. package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -790
  33. /package/{srcoman → srcoriginal}/Contexts/LanguageContext.jsx +0 -0
  34. /package/{srcoman → srcoriginal}/Contexts/ProductsCardsSectionContext.jsx +0 -0
  35. /package/{srcoman → srcoriginal}/Imagekitconfig.jsx +0 -0
  36. /package/{srcoman → srcoriginal}/StylesJS/Customstyles.js +0 -0
  37. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -0
  38. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card20/Card20.jsx +0 -0
  39. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card21/Card21.jsx +0 -0
  40. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card22/Card22.jsx +0 -0
  41. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -0
  42. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CardAll/CardAll.jsx +0 -0
  43. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -0
  44. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -0
  45. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -0
  46. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -0
  47. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -0
  48. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -0
  49. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -0
  50. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -0
  51. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
  52. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -0
  53. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -0
  54. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -0
  55. /package/{srcoman → srcoriginal}/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -0
  56. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -0
  57. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -0
  58. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -0
  59. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -0
  60. /package/{srcoman → srcoriginal}/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -0
  61. /package/{srcoman → srcoriginal}/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -0
  62. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -0
  63. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -0
  64. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -0
  65. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -0
  66. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -0
  67. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -0
  68. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -0
  69. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -0
  70. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -0
  71. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -0
  72. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -0
  73. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -0
  74. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -0
  75. /package/{srcoman → srcoriginal}/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -0
  76. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -0
  77. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -0
  78. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -0
  79. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -0
  80. /package/{srcoman → srcoriginal}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -0
  81. /package/{srcoman → srcoriginal}/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -0
  82. /package/{srcoman → srcoriginal}/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -0
  83. /package/{srcoman → srcoriginal}/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -0
  84. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -0
  85. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer2/Footer2.jsx +0 -0
  86. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer3/Footer3.jsx +0 -0
  87. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer4/Footer4.jsx +0 -0
  88. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer5/Footer5.jsx +0 -0
  89. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer6/Footer6.jsx +0 -0
  90. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer7/Footer7.jsx +0 -0
  91. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer8/Footer8.jsx +0 -0
  92. /package/{srcoman → srcoriginal}/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -0
  93. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -0
  94. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -0
  95. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  96. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/noimage.png +0 -0
  97. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  98. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  99. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  100. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  101. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  102. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  103. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  104. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  105. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  106. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/usflag.png +0 -0
  107. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  108. /package/{srcoman → srcoriginal}/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -0
  109. /package/{srcoman → srcoriginal}/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -0
  110. /package/{srcoman → srcoriginal}/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -0
  111. /package/{srcoman → srcoriginal}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -0
  112. /package/{srcoman → srcoriginal}/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -0
  113. /package/{srcoman → srcoriginal}/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -0
  114. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -0
  115. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Header4/Header4.jsx +0 -0
  116. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -0
  117. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Header8/Header8.jsx +0 -0
  118. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -0
  119. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -0
  120. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -0
  121. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -0
  122. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -0
  123. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -0
  124. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -0
  125. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -0
  126. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -0
  127. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -0
  128. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -0
  129. /package/{srcoman → srcoriginal}/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -0
  130. /package/{srcoman → srcoriginal}/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -0
  131. /package/{srcoman → srcoriginal}/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -0
  132. /package/{srcoman → srcoriginal}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -0
  133. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/Subheader.jsx +0 -0
  134. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -0
  135. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -0
  136. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -0
  137. /package/{srcoman → srcoriginal}/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -0
  138. /package/{srcoman → srcoriginal}/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +0 -0
  139. /package/{srcoman → srcoriginal}/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +0 -0
  140. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -0
  141. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -0
  142. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -0
  143. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -0
  144. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
  145. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -0
  146. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -0
  147. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -0
  148. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -0
  149. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -0
  150. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -0
  151. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -0
  152. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -0
  153. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -0
  154. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -0
  155. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -0
  156. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -0
  157. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -0
  158. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +0 -0
  159. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
  160. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -0
  161. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +0 -0
  162. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -0
  163. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -0
  164. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -0
  165. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -0
  166. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -0
  167. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -0
  168. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -0
  169. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -0
  170. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -0
  171. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -0
  172. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -0
  173. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -0
  174. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -0
  175. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -0
  176. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
  177. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
  178. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -0
  179. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -0
  180. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -0
  181. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
  182. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -0
  183. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
  184. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
  185. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -0
  186. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -0
  187. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -0
  188. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -0
  189. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -0
  190. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -0
  191. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -0
  192. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -0
  193. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -0
  194. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -0
  195. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -0
  196. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -0
  197. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -0
  198. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -0
  199. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -0
  200. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -0
  201. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -0
  202. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
  203. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -0
  204. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -0
  205. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -0
  206. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -0
  207. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -0
  208. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -0
  209. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -0
  210. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -0
  211. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -0
  212. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -0
  213. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -0
  214. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -0
  215. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -0
  216. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -0
  217. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -0
  218. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
  219. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
  220. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/Login copy.jsx +0 -0
  221. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
  222. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -0
  223. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -0
  224. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Policies/Policies.jsx +0 -0
  225. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -0
  226. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -0
  227. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -0
  228. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -0
  229. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -0
  230. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -0
  231. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -0
  232. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -0
  233. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -0
  234. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -0
  235. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -0
  236. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -0
  237. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -0
  238. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -0
  239. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -0
  240. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -0
  241. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -0
  242. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -0
  243. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -0
  244. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -0
  245. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -0
  246. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -0
  247. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -0
  248. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -0
  249. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -0
  250. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -0
  251. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -0
  252. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -0
  253. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -0
  254. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -0
  255. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -0
  256. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -0
  257. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -0
  258. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -0
  259. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -0
  260. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -0
  261. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -0
  262. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -0
  263. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -0
  264. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -0
  265. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -0
  266. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -0
  267. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
  268. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -0
  269. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -0
  270. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -0
  271. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -0
  272. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -0
  273. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -0
  274. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -0
  275. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -0
  276. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -0
  277. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -0
  278. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -0
  279. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -0
  280. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -0
  281. /package/{srcoman → srcoriginal}/button.jsx +0 -0
  282. /package/{srcoman → srcoriginal}/index.jsx +0 -0
  283. /package/{srcoman → srcoriginal}/styles/Home.module.css +0 -0
  284. /package/{srcoman → srcoriginal}/styles/cards/Categorcycard_fullimage.module.css +0 -0
  285. /package/{srcoman → srcoriginal}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
  286. /package/{srcoman → srcoriginal}/styles/cards/Categorycard_withshapes.module.css +0 -0
  287. /package/{srcoman → srcoriginal}/styles/cards/ModernCardWithQuantityButton.module.css +0 -0
  288. /package/{srcoman → srcoriginal}/styles/cards/Productcard6.module.css +0 -0
  289. /package/{srcoman → srcoriginal}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
  290. /package/{srcoman → srcoriginal}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
  291. /package/{srcoman → srcoriginal}/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -0
  292. /package/{srcoman → srcoriginal}/styles/cards/card23.module.css +0 -0
  293. /package/{srcoman → srcoriginal}/styles/cards/categorycard.module.css +0 -0
  294. /package/{srcoman → srcoriginal}/styles/cards/categorycard3.module.css +0 -0
  295. /package/{srcoman → srcoriginal}/styles/cards/categorycardwithtext.module.css +0 -0
  296. /package/{srcoman → srcoriginal}/styles/cards/generalCardsStyles.module.css +0 -0
  297. /package/{srcoman → srcoriginal}/styles/cards/productcard_animatedbuttons.module.css +0 -0
  298. /package/{srcoman → srcoriginal}/styles/cards/productcard_with_textonhover.module.css +0 -0
  299. /package/{srcoman → srcoriginal}/styles/cards/productcard_withtextonimage.module.css +0 -0
  300. /package/{srcoman → srcoriginal}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
  301. /package/{srcoman → srcoriginal}/styles/general/bootstrap.css +0 -0
  302. /package/{srcoman → srcoriginal}/styles/general/dropdown.css +0 -0
  303. /package/{srcoman → srcoriginal}/styles/general/editorbardropdown.module.css +0 -0
  304. /package/{srcoman → srcoriginal}/styles/general/filter.module.css +0 -0
  305. /package/{srcoman → srcoriginal}/styles/general/form.module.css +0 -0
  306. /package/{srcoman → srcoriginal}/styles/general/general.module.css +0 -0
  307. /package/{srcoman → srcoriginal}/styles/general/image-gallery.css +0 -0
  308. /package/{srcoman → srcoriginal}/styles/general/react-accessible-accordion.module.css +0 -0
  309. /package/{srcoman → srcoriginal}/styles/general/react-phone-input-2.module.css +0 -0
  310. /package/{srcoman → srcoriginal}/styles/general/scrollbtn.module.css +0 -0
  311. /package/{srcoman → srcoriginal}/styles/general/slick.module.css +0 -0
  312. /package/{srcoman → srcoriginal}/styles/general/tabs.module.css +0 -0
  313. /package/{srcoman → srcoriginal}/styles/general/workplaceeditor.module.css +0 -0
  314. /package/{srcoman → srcoriginal}/styles/globals.css +0 -0
  315. /package/{srcoman → srcoriginal}/styles/headers/CTAHeader.module.css +0 -0
  316. /package/{srcoman → srcoriginal}/styles/headers/CategoryFeaturingHeader.module.css +0 -0
  317. /package/{srcoman → srcoriginal}/styles/headers/Gotoheader.module.css +0 -0
  318. /package/{srcoman → srcoriginal}/styles/headers/Header7.module.css +0 -0
  319. /package/{srcoman → srcoriginal}/styles/headers/HeaderWithAdSlider.module.css +0 -0
  320. /package/{srcoman → srcoriginal}/styles/headers/HeaderWithSearchOnCenter.module.css +0 -0
  321. /package/{srcoman → srcoriginal}/styles/headers/HeaderWithUtilityBar.module.css +0 -0
  322. /package/{srcoman → srcoriginal}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
  323. /package/{srcoman → srcoriginal}/styles/headers/NewHeader.module.css +0 -0
  324. /package/{srcoman → srcoriginal}/styles/headers/SearchFocusedHeader.module.css +0 -0
  325. /package/{srcoman → srcoriginal}/styles/headers/Sideheader.module.css +0 -0
  326. /package/{srcoman → srcoriginal}/styles/headers/Simpleheader.module.css +0 -0
  327. /package/{srcoman → srcoriginal}/styles/headers/classicheader.module.css +0 -0
  328. /package/{srcoman → srcoriginal}/styles/headers/classicheaderstyles.module.css +0 -0
  329. /package/{srcoman → srcoriginal}/styles/headers/dropdown.css +0 -0
  330. /package/{srcoman → srcoriginal}/styles/headers/header4.module.css +0 -0
  331. /package/{srcoman → srcoriginal}/styles/headers/header5.module.css +0 -0
  332. /package/{srcoman → srcoriginal}/styles/headers/header_contactinfo.module.css +0 -0
  333. /package/{srcoman → srcoriginal}/styles/headers/headerresturant.module.css +0 -0
  334. /package/{srcoman → srcoriginal}/styles/headers/modernheader.module.css +0 -0
  335. /package/{srcoman → srcoriginal}/styles/headers/stylishheader.module.css +0 -0
  336. /package/{srcoman → srcoriginal}/styles/headers/subheader.module.css +0 -0
  337. /package/{srcoman → srcoriginal}/styles/headers/threetieredheader.module.css +0 -0
  338. /package/{srcoman → srcoriginal}/styles/sections/BackgroundImageWithTopContent.css +0 -0
  339. /package/{srcoman → srcoriginal}/styles/sections/Backgroundimage1.module.css +0 -0
  340. /package/{srcoman → srcoriginal}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
  341. /package/{srcoman → srcoriginal}/styles/sections/Freetext.module.css +0 -0
  342. /package/{srcoman → srcoriginal}/styles/sections/Section_with_rightbgcont.module.css +0 -0
  343. /package/{srcoman → srcoriginal}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
  344. /package/{srcoman → srcoriginal}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
  345. /package/{srcoman → srcoriginal}/styles/staticpages/accordion.module.css +0 -0
  346. /package/{srcoman → srcoriginal}/styles/staticpages/cart.module.css +0 -0
  347. /package/{srcoman → srcoriginal}/styles/staticpages/dropdown.css +0 -0
  348. /package/{srcoman → srcoriginal}/styles/staticpages/filter.module.css +0 -0
  349. /package/{srcoman → srcoriginal}/styles/staticpages/image-gallery.css +0 -0
  350. /package/{srcoman → srcoriginal}/styles/staticpages/login.module.css +0 -0
  351. /package/{srcoman → srcoriginal}/styles/staticpages/productinfo.module.css +0 -0
  352. /package/{srcoman → srcoriginal}/styles/staticpages/shop.module.css +0 -0
  353. /package/{srcoman → srcoriginal}/styles/staticpages/signup.module.css +0 -0
  354. /package/{srcoman → srcoriginal}/styles/staticpages/staticroutersidenav.module.css +0 -0
  355. /package/{srcoman → srcoriginal}/styles/staticpages/viewcart.module.css +0 -0
  356. /package/{srcoman → srcoriginal}/styles/staticpages/wishlist.module.css +0 -0
@@ -1,1767 +0,0 @@
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 text-md-center '
225
- : sectionproperties.sectiontitlefontfamily == 'Playfair'
226
- ? ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start text-md-center '
227
- : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
228
- ? ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start text-md-center '
229
- : sectionproperties.sectiontitlefontfamily == 'Quicksand'
230
- ? ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start text-md-center '
231
- : sectionproperties.sectiontitlefontfamily == 'Satisfy'
232
- ? ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start text-md-center '
233
- : ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center justify-content-start text-md-center '
234
- }
235
- style={{
236
- color: sectionproperties.sectionTitleColor,
237
- fontWeight: sectionproperties.sectionTitleFontWeight,
238
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
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;