tabexseriescomponents 0.0.666 → 0.0.667

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