tabexseriescomponents 0.0.706 → 0.0.708

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