tabexseriescomponents 0.0.697 → 0.0.698

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. package/dist/index.cjs.js +1007 -1240
  2. package/dist/index.esm.js +1007 -1240
  3. package/dist/index.umd.js +1009 -1243
  4. package/package.json +1 -1
  5. package/{srcoman → srcoriginal}/TabexComponents/Cards/Card23/Card23.jsx +2 -2
  6. package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +2 -2
  7. package/{srcoman → srcoriginal}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +1 -0
  8. package/{srcoman → srcoriginal}/TabexComponents/Cards/MenuCard/MenuCard.jsx +25 -13
  9. package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +1 -0
  10. package/{srcoman → srcoriginal}/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +0 -2
  11. package/{srcoman → srcoriginal}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +2 -2
  12. package/srcoriginal/TabexComponents/Footer/Footer1/Footer1.jsx +551 -0
  13. package/{srcoman → srcoriginal}/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +19 -0
  14. package/{srcoman → srcoriginal}/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +19 -0
  15. package/{srcoman → srcoriginal}/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +1 -1
  16. package/{srcoman → srcoriginal}/TabexComponents/Headers/Header8/Header8.jsx +41 -1
  17. package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +249 -21
  18. package/{srcoman → srcoriginal}/TabexComponents/Headers/Modernheader/Modernheader.jsx +222 -217
  19. package/{srcoman → srcoriginal}/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +49 -12
  20. package/{srcoman → srcoriginal}/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +18 -0
  21. package/{srcoman → srcoriginal}/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +5 -1
  22. package/{srcoman → srcoriginal}/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +12 -9
  23. package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +72 -22
  24. package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +1 -1
  25. package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +4 -5
  26. package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +3 -3
  27. package/srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1936 -0
  28. package/{srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx → srcoriginal/TabexComponents/Sections/Cards/CardsSection/CardsSection21-11beforeform.jsx} +1 -13
  29. package/srcoriginal/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +760 -0
  30. package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +1 -1
  31. package/srcoriginal/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1679 -0
  32. package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +45 -40
  33. package/srcoriginal/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +512 -0
  34. package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +1 -1
  35. package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter.jsx +460 -252
  36. package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1616 -1481
  37. package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +2 -1
  38. package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +0 -780
  39. package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -437
  40. package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -1769
  41. package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -867
  42. /package/{srcoman → srcoriginal}/Contexts/LanguageContext.jsx +0 -0
  43. /package/{srcoman → srcoriginal}/Contexts/ProductsCardsSectionContext.jsx +0 -0
  44. /package/{srcoman → srcoriginal}/Imagekitconfig.jsx +0 -0
  45. /package/{srcoman → srcoriginal}/StylesJS/Customstyles.js +0 -0
  46. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +0 -0
  47. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card20/Card20.jsx +0 -0
  48. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card21/Card21.jsx +0 -0
  49. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card22/Card22.jsx +0 -0
  50. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Card23/Card23 copy.jsx +0 -0
  51. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CardAll/CardAll.jsx +0 -0
  52. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +0 -0
  53. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +0 -0
  54. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +0 -0
  55. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -0
  56. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -0
  57. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -0
  58. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -0
  59. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -0
  60. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
  61. /package/{srcoman → srcoriginal}/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +0 -0
  62. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +0 -0
  63. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +0 -0
  64. /package/{srcoman → srcoriginal}/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +0 -0
  65. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -0
  66. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +0 -0
  67. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -0
  68. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +0 -0
  69. /package/{srcoman → srcoriginal}/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +0 -0
  70. /package/{srcoman → srcoriginal}/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +0 -0
  71. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +0 -0
  72. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -0
  73. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -0
  74. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -0
  75. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -0
  76. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -0
  77. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -0
  78. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +0 -0
  79. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -0
  80. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -0
  81. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -0
  82. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -0
  83. /package/{srcoman → srcoriginal}/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +0 -0
  84. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -0
  85. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +0 -0
  86. /package/{srcoman → srcoriginal}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +0 -0
  87. /package/{srcoman → srcoriginal}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -0
  88. /package/{srcoman → srcoriginal}/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -0
  89. /package/{srcoman → srcoriginal}/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +0 -0
  90. /package/{srcoman → srcoriginal}/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +0 -0
  91. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +0 -0
  92. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer2/Footer2.jsx +0 -0
  93. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer3/Footer3.jsx +0 -0
  94. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer4/Footer4.jsx +0 -0
  95. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer5/Footer5.jsx +0 -0
  96. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer6/Footer6.jsx +0 -0
  97. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer7/Footer7.jsx +0 -0
  98. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Footer8/Footer8.jsx +0 -0
  99. /package/{srcoman → srcoriginal}/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +0 -0
  100. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +0 -0
  101. /package/{srcoman → srcoriginal}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -0
  102. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  103. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/noimage.png +0 -0
  104. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  105. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  106. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  107. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  108. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  109. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  110. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  111. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  112. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  113. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/usflag.png +0 -0
  114. /package/{srcoman → srcoriginal}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  115. /package/{srcoman → srcoriginal}/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +0 -0
  116. /package/{srcoman → srcoriginal}/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +0 -0
  117. /package/{srcoman → srcoriginal}/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +0 -0
  118. /package/{srcoman → srcoriginal}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -0
  119. /package/{srcoman → srcoriginal}/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +0 -0
  120. /package/{srcoman → srcoriginal}/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +0 -0
  121. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +0 -0
  122. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Header4/Header4.jsx +0 -0
  123. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Header8/Header8 copy.jsx +0 -0
  124. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -0
  125. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +0 -0
  126. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +0 -0
  127. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +0 -0
  128. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -0
  129. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -0
  130. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +0 -0
  131. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +0 -0
  132. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +0 -0
  133. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +0 -0
  134. /package/{srcoman → srcoriginal}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -0
  135. /package/{srcoman → srcoriginal}/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +0 -0
  136. /package/{srcoman → srcoriginal}/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +0 -0
  137. /package/{srcoman → srcoriginal}/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +0 -0
  138. /package/{srcoman → srcoriginal}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -0
  139. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/Subheader.jsx +0 -0
  140. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/Subheader13-3.jsx +0 -0
  141. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +0 -0
  142. /package/{srcoman → srcoriginal}/TabexComponents/Headers/Subheader/Subheadernew.jsx +0 -0
  143. /package/{srcoman → srcoriginal}/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +0 -0
  144. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +0 -0
  145. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +0 -0
  146. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +0 -0
  147. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +0 -0
  148. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
  149. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -0
  150. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -0
  151. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +0 -0
  152. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +0 -0
  153. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +0 -0
  154. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +0 -0
  155. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +0 -0
  156. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +0 -0
  157. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +0 -0
  158. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +0 -0
  159. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +0 -0
  160. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +0 -0
  161. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -0
  162. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
  163. /package/{srcoman → srcoriginal}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +0 -0
  164. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +0 -0
  165. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +0 -0
  166. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +0 -0
  167. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +0 -0
  168. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +0 -0
  169. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +0 -0
  170. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +0 -0
  171. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +0 -0
  172. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +0 -0
  173. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +0 -0
  174. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +0 -0
  175. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +0 -0
  176. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +0 -0
  177. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +0 -0
  178. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
  179. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
  180. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +0 -0
  181. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +0 -0
  182. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +0 -0
  183. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
  184. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +0 -0
  185. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
  186. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
  187. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -0
  188. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +0 -0
  189. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -0
  190. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +0 -0
  191. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +0 -0
  192. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +0 -0
  193. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +0 -0
  194. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +0 -0
  195. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +0 -0
  196. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -0
  197. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +0 -0
  198. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +0 -0
  199. /package/{srcoman → srcoriginal}/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +0 -0
  200. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -0
  201. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/AddReview/AddReview.jsx +0 -0
  202. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +0 -0
  203. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
  204. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -0
  205. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +0 -0
  206. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -0
  207. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +0 -0
  208. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +0 -0
  209. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +0 -0
  210. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +0 -0
  211. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +0 -0
  212. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter copy.jsx +0 -0
  213. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter1-5.jsx +0 -0
  214. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter13-11.jsx +0 -0
  215. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter14-8.jsx +0 -0
  216. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/Filter17-9.jsx +0 -0
  217. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Filter/VariantFilter.jsx +0 -0
  218. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +0 -0
  219. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
  220. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
  221. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/Login copy.jsx +0 -0
  222. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
  223. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +0 -0
  224. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -0
  225. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Policies/Policies.jsx +0 -0
  226. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +0 -0
  227. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +0 -0
  228. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +0 -0
  229. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +0 -0
  230. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +0 -0
  231. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +0 -0
  232. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +0 -0
  233. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +0 -0
  234. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +0 -0
  235. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +0 -0
  236. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +0 -0
  237. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +0 -0
  238. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +0 -0
  239. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +0 -0
  240. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +0 -0
  241. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +0 -0
  242. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +0 -0
  243. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +0 -0
  244. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +0 -0
  245. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +0 -0
  246. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +0 -0
  247. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +0 -0
  248. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +0 -0
  249. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +0 -0
  250. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +0 -0
  251. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +0 -0
  252. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +0 -0
  253. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +0 -0
  254. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +0 -0
  255. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +0 -0
  256. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +0 -0
  257. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +0 -0
  258. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +0 -0
  259. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +0 -0
  260. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +0 -0
  261. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +0 -0
  262. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -0
  263. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +0 -0
  264. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +0 -0
  265. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +0 -0
  266. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -0
  267. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
  268. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -0
  269. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +0 -0
  270. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +0 -0
  271. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +0 -0
  272. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +0 -0
  273. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +0 -0
  274. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +0 -0
  275. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +0 -0
  276. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -0
  277. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +0 -0
  278. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +0 -0
  279. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +0 -0
  280. /package/{srcoman → srcoriginal}/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +0 -0
  281. /package/{srcoman → srcoriginal}/button.jsx +0 -0
  282. /package/{srcoman → srcoriginal}/index.jsx +0 -0
  283. /package/{srcoman → srcoriginal}/styles/Home.module.css +0 -0
  284. /package/{srcoman → srcoriginal}/styles/cards/Categorcycard_fullimage.module.css +0 -0
  285. /package/{srcoman → srcoriginal}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
  286. /package/{srcoman → srcoriginal}/styles/cards/Categorycard_withshapes.module.css +0 -0
  287. /package/{srcoman → srcoriginal}/styles/cards/ModernCardWithQuantityButton.module.css +0 -0
  288. /package/{srcoman → srcoriginal}/styles/cards/Productcard6.module.css +0 -0
  289. /package/{srcoman → srcoriginal}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
  290. /package/{srcoman → srcoriginal}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
  291. /package/{srcoman → srcoriginal}/styles/cards/UserCardWithSocialMediaOnHover.module.css +0 -0
  292. /package/{srcoman → srcoriginal}/styles/cards/card23.module.css +0 -0
  293. /package/{srcoman → srcoriginal}/styles/cards/categorycard.module.css +0 -0
  294. /package/{srcoman → srcoriginal}/styles/cards/categorycard3.module.css +0 -0
  295. /package/{srcoman → srcoriginal}/styles/cards/categorycardwithtext.module.css +0 -0
  296. /package/{srcoman → srcoriginal}/styles/cards/generalCardsStyles.module.css +0 -0
  297. /package/{srcoman → srcoriginal}/styles/cards/productcard_animatedbuttons.module.css +0 -0
  298. /package/{srcoman → srcoriginal}/styles/cards/productcard_with_textonhover.module.css +0 -0
  299. /package/{srcoman → srcoriginal}/styles/cards/productcard_withtextonimage.module.css +0 -0
  300. /package/{srcoman → srcoriginal}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
  301. /package/{srcoman → srcoriginal}/styles/general/bootstrap.css +0 -0
  302. /package/{srcoman → srcoriginal}/styles/general/dropdown.css +0 -0
  303. /package/{srcoman → srcoriginal}/styles/general/editorbardropdown.module.css +0 -0
  304. /package/{srcoman → srcoriginal}/styles/general/filter.module.css +0 -0
  305. /package/{srcoman → srcoriginal}/styles/general/form.module.css +0 -0
  306. /package/{srcoman → srcoriginal}/styles/general/general.module.css +0 -0
  307. /package/{srcoman → srcoriginal}/styles/general/image-gallery.css +0 -0
  308. /package/{srcoman → srcoriginal}/styles/general/react-accessible-accordion.module.css +0 -0
  309. /package/{srcoman → srcoriginal}/styles/general/react-phone-input-2.module.css +0 -0
  310. /package/{srcoman → srcoriginal}/styles/general/scrollbtn.module.css +0 -0
  311. /package/{srcoman → srcoriginal}/styles/general/slick.module.css +0 -0
  312. /package/{srcoman → srcoriginal}/styles/general/tabs.module.css +0 -0
  313. /package/{srcoman → srcoriginal}/styles/general/workplaceeditor.module.css +0 -0
  314. /package/{srcoman → srcoriginal}/styles/globals.css +0 -0
  315. /package/{srcoman → srcoriginal}/styles/headers/CTAHeader.module.css +0 -0
  316. /package/{srcoman → srcoriginal}/styles/headers/CategoryFeaturingHeader.module.css +0 -0
  317. /package/{srcoman → srcoriginal}/styles/headers/Gotoheader.module.css +0 -0
  318. /package/{srcoman → srcoriginal}/styles/headers/Header7.module.css +0 -0
  319. /package/{srcoman → srcoriginal}/styles/headers/HeaderWithAdSlider.module.css +0 -0
  320. /package/{srcoman → srcoriginal}/styles/headers/HeaderWithSearchOnCenter.module.css +0 -0
  321. /package/{srcoman → srcoriginal}/styles/headers/HeaderWithUtilityBar.module.css +0 -0
  322. /package/{srcoman → srcoriginal}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
  323. /package/{srcoman → srcoriginal}/styles/headers/NewHeader.module.css +0 -0
  324. /package/{srcoman → srcoriginal}/styles/headers/SearchFocusedHeader.module.css +0 -0
  325. /package/{srcoman → srcoriginal}/styles/headers/Sideheader.module.css +0 -0
  326. /package/{srcoman → srcoriginal}/styles/headers/Simpleheader.module.css +0 -0
  327. /package/{srcoman → srcoriginal}/styles/headers/classicheader.module.css +0 -0
  328. /package/{srcoman → srcoriginal}/styles/headers/classicheaderstyles.module.css +0 -0
  329. /package/{srcoman → srcoriginal}/styles/headers/dropdown.css +0 -0
  330. /package/{srcoman → srcoriginal}/styles/headers/header4.module.css +0 -0
  331. /package/{srcoman → srcoriginal}/styles/headers/header5.module.css +0 -0
  332. /package/{srcoman → srcoriginal}/styles/headers/header_contactinfo.module.css +0 -0
  333. /package/{srcoman → srcoriginal}/styles/headers/headerresturant.module.css +0 -0
  334. /package/{srcoman → srcoriginal}/styles/headers/modernheader.module.css +0 -0
  335. /package/{srcoman → srcoriginal}/styles/headers/stylishheader.module.css +0 -0
  336. /package/{srcoman → srcoriginal}/styles/headers/subheader.module.css +0 -0
  337. /package/{srcoman → srcoriginal}/styles/headers/threetieredheader.module.css +0 -0
  338. /package/{srcoman → srcoriginal}/styles/sections/BackgroundImageWithTopContent.css +0 -0
  339. /package/{srcoman → srcoriginal}/styles/sections/Backgroundimage1.module.css +0 -0
  340. /package/{srcoman → srcoriginal}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
  341. /package/{srcoman → srcoriginal}/styles/sections/Freetext.module.css +0 -0
  342. /package/{srcoman → srcoriginal}/styles/sections/Section_with_rightbgcont.module.css +0 -0
  343. /package/{srcoman → srcoriginal}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
  344. /package/{srcoman → srcoriginal}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
  345. /package/{srcoman → srcoriginal}/styles/staticpages/accordion.module.css +0 -0
  346. /package/{srcoman → srcoriginal}/styles/staticpages/cart.module.css +0 -0
  347. /package/{srcoman → srcoriginal}/styles/staticpages/dropdown.css +0 -0
  348. /package/{srcoman → srcoriginal}/styles/staticpages/filter.module.css +0 -0
  349. /package/{srcoman → srcoriginal}/styles/staticpages/image-gallery.css +0 -0
  350. /package/{srcoman → srcoriginal}/styles/staticpages/login.module.css +0 -0
  351. /package/{srcoman → srcoriginal}/styles/staticpages/productinfo.module.css +0 -0
  352. /package/{srcoman → srcoriginal}/styles/staticpages/shop.module.css +0 -0
  353. /package/{srcoman → srcoriginal}/styles/staticpages/signup.module.css +0 -0
  354. /package/{srcoman → srcoriginal}/styles/staticpages/staticroutersidenav.module.css +0 -0
  355. /package/{srcoman → srcoriginal}/styles/staticpages/viewcart.module.css +0 -0
  356. /package/{srcoman → srcoriginal}/styles/staticpages/wishlist.module.css +0 -0
@@ -1,867 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- import { css } from 'glamor';
3
- import { Imagekitimagecomp } from '../../../../Imagekitconfig.jsx';
4
- import generalstyles from '../../../../styles/general/general.module.css';
5
- import ReactStars from 'react-rating-stars-component';
6
- import { GoStar } from '@react-icons/all-files/go/GoStar';
7
- import { IoIosStar } from '@react-icons/all-files/io/IoIosStar';
8
- import { fontSize, width } from '@mui/system';
9
- import { CountdownCircleTimer } from 'react-countdown-circle-timer';
10
- // const minuteSeconds = 60;
11
- // const hourSeconds = 3600;
12
- // const daySeconds = 86400;
13
-
14
- // const timerProps = {
15
- // isPlaying: true,
16
- // size: 120,
17
- // strokeWidth: 6,
18
- // };
19
-
20
- const formatTime = (time) => {
21
- const days = Math.floor(time / (60 * 60 * 24));
22
- const hours = Math.floor((time % (60 * 60 * 24)) / (60 * 60));
23
- const minutes = Math.floor((time % (60 * 60)) / 60);
24
- const seconds = time % 60;
25
-
26
- return { days, hours, minutes, seconds };
27
- };
28
- // const renderTime = (dimension, time) => {
29
- // return (
30
- // <div className="time-wrapper">
31
- // <div className="time">{time}</div>
32
- // <div>{dimension}</div>
33
- // </div>
34
- // );
35
- // };
36
-
37
- // const getTimeSeconds = (time) => (minuteSeconds - time) | 0;
38
- // const getTimeMinutes = (time) => ((time % hourSeconds) / minuteSeconds) | 0;
39
- // const getTimeHours = (time) => ((time % daySeconds) / hourSeconds) | 0;
40
- // const getTimeDays = (time) => (time / daySeconds) | 0;
41
-
42
- const ServicesectionCenteredcards = (props) => {
43
- const targetStartDate = new Date('2024-12-16T12:00:00');
44
- const [remainingTimeInSeconds, setRemainingTimeInSeconds] = useState(0);
45
-
46
- const [sectionproperties, setsectionproperties] = useState('');
47
- const [cardsarray, setcardsarray] = useState([]);
48
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
49
- const lang = props.actions.lang;
50
- const langdetect = props.actions.langdetect;
51
- const ikimagecredcontext = props.actions.ikimagecredcontext;
52
- const routingcountext = props.actions.routingcountext;
53
- const authdetailsContext = props.actions.authdetailsContext;
54
- const stratTime = Date.now() / 1000; // use UNIX timestamp in seconds
55
- const endTime = stratTime + 243248; // use UNIX timestamp in seconds
56
-
57
- // const remainingTime = endTime - stratTime;
58
- // // const days = Math.ceil(remainingTime / daySeconds);
59
- // const daysDuration = days * daySeconds;
60
- useEffect(() => {
61
- const interval = setInterval(() => {
62
- const currentTime = new Date();
63
- const differenceInSeconds = Math.max(Math.floor((targetStartDate - currentTime) / 1000), 0);
64
- setRemainingTimeInSeconds(differenceInSeconds);
65
- }, 1000); // Update every second
66
-
67
- return () => clearInterval(interval); // Cleanup interval on unmount
68
- }, [targetStartDate]);
69
-
70
- // Format the remaining time into days, hours, minutes, and seconds
71
- const { days, hours, minutes, seconds } = formatTime(remainingTimeInSeconds);
72
- const [maincontainerarrayofobjs, setmaincontainerarrayofobjs] = useState([]);
73
-
74
- useEffect(() => {
75
- var secpropobj = {};
76
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
77
- if (sectionitem.sectionid == props.sectionidprops) {
78
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
79
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
80
- });
81
- }
82
- });
83
- setsectionproperties({ ...secpropobj });
84
- }, [StatePagePropertiesContext]);
85
- useEffect(() => {
86
- if (sectionproperties.length != 0) {
87
- if (sectionproperties.card_arrayofobjects != null) {
88
- var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.card_arrayofobjects);
89
- if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
90
- setcardsarray([...bgsection_imagearrayofobjsparsed]);
91
- }
92
- }
93
- }
94
- }, [sectionproperties]);
95
- useEffect(() => {
96
- if (sectionproperties.length != 0 && sectionproperties.maincontainerarrayofobjs != undefined) {
97
- var maincontainerarrayofobjsparsed = JSON.parse(sectionproperties.maincontainerarrayofobjs);
98
- if (Array.isArray(maincontainerarrayofobjsparsed)) {
99
- setmaincontainerarrayofobjs([...maincontainerarrayofobjsparsed]);
100
- }
101
- }
102
- }, [sectionproperties]);
103
- const sectionStyles = {
104
- containerrrr: css({
105
- marginTop: sectionproperties.marginTop + 'px',
106
- marginBottom: sectionproperties.marginBottom + 'px',
107
- paddingLeft: sectionproperties.paddingLeft + 'px',
108
- paddingRight: sectionproperties.paddingRight + 'px',
109
- paddingTop: sectionproperties.paddingTop + 'px',
110
- paddingBottom: sectionproperties.paddingBottom + 'px',
111
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
112
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
113
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
114
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
115
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
116
- border: sectionproperties.borderType == 'All' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
117
- borderTop: sectionproperties.borderType == 'Vertical' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
118
- borderBottom: sectionproperties.borderType == 'Vertical' ? sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor : '',
119
- borderLeftWidth: 0,
120
- borderRightWidth: 0,
121
- '@media (max-width: 800px)': {
122
- marginTop: sectionproperties.marginTopResp + 'px',
123
- },
124
- }),
125
- imgcontainer: css({
126
- ':before': {
127
- width: '100%',
128
- height: '100%',
129
- background: 'rgba(0,0,0,' + sectionproperties.cardbg_opacity + ')',
130
-
131
- zIndex: 1,
132
- position: 'absolute',
133
- content: 's',
134
- fontSize: 0,
135
- left: 0,
136
- right: 0,
137
- top: 0,
138
- bottom: 0,
139
- },
140
- }),
141
- sectiontitlespan: css({
142
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
143
- color: sectionproperties.sectionTitleColor,
144
- fontWeight: sectionproperties.sectionTitleFontWeight,
145
- paddingLeft: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
146
- paddingRight: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '12px' : 0,
147
- textAlign: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
148
- ':after': {
149
- height: '5px',
150
- width: sectionproperties.sectitle_lineafterwidth + '%',
151
- backgroundColor: sectionproperties.linebgcolor,
152
- },
153
- '@media (max-width: 800px)': {
154
- fontSize: sectionproperties.sectionTitleFontSizeresp + 'px',
155
- },
156
- }),
157
- line_left: css({
158
- height: '1px',
159
- position: 'relative',
160
- flex: '1 1 auto',
161
- minWidth: '10%',
162
- background: sectionproperties.linebgcolor,
163
- }),
164
- line_right: css({
165
- height: '1px',
166
- position: 'relative',
167
- flex: '1 1 auto',
168
- minWidth: '10%',
169
- background: sectionproperties.linebgcolor,
170
- }),
171
- text1Styles: css({
172
- color: sectionproperties.slideshowText1ContentColor,
173
- fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
174
- fontWeight: sectionproperties.slideshowText1ContentFontWeight,
175
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
176
- ':hover': {
177
- transition: '.3s',
178
- color: sectionproperties.text1secondarycolor,
179
- },
180
- }),
181
- imageContainer: css({
182
- width: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.image_width + '%' : sectionproperties.image_width + 'px',
183
- height: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.image_height + '%' : sectionproperties.image_height + 'px',
184
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
185
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
186
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
187
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
188
- background: sectionproperties.image_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.image_bgcolor,
189
- justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center',
190
- ':hover': {
191
- transition: '.3s',
192
- backgroundColor: sectionproperties.activedotcolor,
193
- },
194
- '@media (max-width: 800px)': {
195
- width: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.innerwidthheightresp + '%' : sectionproperties.innerwidthheightresp + 'px',
196
- height: sectionproperties.percentagepixel == 'Percentage' ? sectionproperties.innerwidthheightresp + '%' : sectionproperties.innerwidthheightresp + 'px',
197
- },
198
- }),
199
- cardContainer: css({
200
- background: sectionproperties.reservation_bgcolor,
201
-
202
- ':hover .imageContainer': {
203
- transition: '.3s',
204
- backgroundColor: sectionproperties.activedotcolor,
205
- },
206
- ':hover .text1Styles': {
207
- transition: '.3s',
208
- color: sectionproperties.text1secondarycolor,
209
- },
210
- ':hover': {
211
- background: sectionproperties.innersectionbgcolorhover,
212
- },
213
- }),
214
- btnstyles: css({
215
- width: sectionproperties.generalbtn_width + 'px',
216
- height: sectionproperties.generalbtn_height + 'px',
217
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
218
- color: sectionproperties.generalbtn_textColor,
219
- fontWeight: sectionproperties.generalbtn_fontweight,
220
- // textDecoration: sectionproperties.textdecoration == 'None' ? 'none' : 'underline',
221
- backgroundColor: sectionproperties.generalbtn_bgColor,
222
- borderRadius: sectionproperties.generalbtnborderradius,
223
- ':hover': {
224
- color: sectionproperties.generalbtn_textColoronhover,
225
- backgroundColor: sectionproperties.generalbtn_bgColoronhover,
226
- transition: '.3s',
227
- },
228
- }),
229
- outercontainer: css({
230
- position: 'relative',
231
- width: sectionproperties.width + '%',
232
- background: sectionproperties.outerbgcolor,
233
- '@media (max-width: 800px)': {
234
- width: sectionproperties.widthresponsive + '%',
235
- },
236
- }),
237
- descriptioncont: css({
238
- color: sectionproperties.prodCatColor,
239
- fontWeight: sectionproperties.prodCatFontWeight,
240
- textAlign: sectionproperties.descriptionCentered == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
241
- fontSize: sectionproperties.prodCatFontSize + 'px',
242
- '@media (max-width: 800px)': {
243
- fontSize: sectionproperties.prodCatFontSizeResp + 'px',
244
- },
245
- }),
246
- };
247
-
248
- return (
249
- <div
250
- class={' row ml-0 mr-0 w-md-100 d-flex align-items-center w-100 '}
251
- style={{
252
- background: sectionproperties.outerbgcolor,
253
- zIndex: 20,
254
- justifyContent: sectionproperties.innersectionposition == 'Centered' ? 'center' : langdetect == 'en' ? 'left' : 'right',
255
- }}
256
- >
257
- <div class={sectionStyles.outercontainer + ' row ml-0 mr-0 align-items-center '} style={{}}>
258
- {sectionproperties.maincontainerarrayofobjs != undefined && sectionproperties.maincontainerarrayofobjs.length != 0 && (
259
- <div class={sectionStyles.imgcontainer}>
260
- <Imagekitimagecomp
261
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
262
- publicKey={ikimagecredcontext?.ikimagepublickey}
263
- path={maincontainerarrayofobjs[0]?.back_bgimage}
264
- style={{
265
- height: '100%',
266
- width: '100%',
267
- objectFit: 'cover',
268
- margin: 0,
269
- padding: 0,
270
- position: 'absolute',
271
- top: 0,
272
- bottom: 0,
273
- right: 0,
274
- left: 0,
275
- }}
276
- />
277
- </div>
278
- )}
279
- <div class={sectionStyles.containerrrr + ' row ml-0 mr-0 w-100 d-flex justify-content-center pl-md-3 pr-md-3 px-2015-3 '} style={{}}>
280
- {sectionproperties.sectiontitleshow == 'Show' && (
281
- <div class="col-lg-12 allcentered p-0" style={{ zIndex: 1 }}>
282
- <div
283
- class={`${generalstyles.sectiontitlecont}` + ' col-lg-12 allcentered plr-1025-0 pl-md-3 pr-md-3 '}
284
- style={{
285
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
286
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
287
- paddingLeft: langdetect == 'en' ? sectionproperties.sectionTitleMarginLeft + 'px' : sectionproperties.sectionTitleMarginRight + 'px',
288
- paddingRight: langdetect == 'en' ? sectionproperties.sectionTitleMarginRight + 'px' : sectionproperties.sectionTitleMarginLeft + 'px',
289
- }}
290
- >
291
- <div
292
- class="d-flex align-items-center flex-column allcentered"
293
- style={{
294
- position: 'relative',
295
- width: sectionproperties.sectiontitlestyle == 'Line Before Text' ? '100%' : '',
296
- }}
297
- >
298
- {/* {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={sectionStyles.line_left}></span>} */}
299
- <p
300
- class={
301
- sectionproperties.sectiontitlefontfamily == 'Pacifico'
302
- ? `${sectionStyles.sectiontitlespan}` + ' PacificoFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
303
- : sectionproperties.sectiontitlefontfamily == 'Playfair'
304
- ? `${sectionStyles.sectiontitlespan}` + ' PlayfairFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
305
- : sectionproperties.sectiontitlefontfamily == 'Great Vibes'
306
- ? `${sectionStyles.sectiontitlespan}` + ' GreatvibesFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
307
- : sectionproperties.sectiontitlefontfamily == 'Quicksand'
308
- ? `${sectionStyles.sectiontitlespan}` + ' QuicksandFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
309
- : sectionproperties.sectiontitlefontfamily == 'Satisfy'
310
- ? `${sectionStyles.sectiontitlespan}` + ' SatisfyFont mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
311
- : `${sectionStyles.sectiontitlespan}` + ' mb-auto mb-0 pb-0 wordbreak d-flex align-items-center '
312
- }
313
- style={{}}
314
- >
315
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
316
- </p>
317
- {/* {sectionproperties.sectiontitlestyle == 'Line Before Text' && <span class={sectionStyles.line_right}></span>} */}
318
- {sectionproperties.sectiontitlestyle == 'Line Under Text' && (
319
- <span
320
- style={{
321
- width: '50%',
322
- background: sectionproperties.linebgcolor,
323
- height: 3,
324
- borderRadius: 10,
325
- marginTop: 5,
326
- }}
327
- ></span>
328
- )}
329
- </div>
330
- </div>
331
- </div>
332
- )}
333
- {sectionproperties.prodCatShow == 'Show' && (
334
- <div
335
- class={' col-lg-12 col-md-12 col-sm-12 d-flex align-items-center px-sm-3'}
336
- style={{
337
- justifyContent: sectionproperties.descriptionCentered == 'Centered' ? 'center' : 'start',
338
- marginBottom: sectionproperties.descriptionMarginBottom + 'px',
339
- paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
340
- paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
341
- }}
342
- >
343
- <p
344
- class={
345
- sectionproperties.descFontFamily == 'Pacifico'
346
- ? sectionStyles.descriptioncont + ' PacificoFont m-0 p-0 wordbreak '
347
- : sectionproperties.descFontFamily == 'Playfair'
348
- ? sectionStyles.descriptioncont + ' PlayfairFont m-0 p-0 wordbreak '
349
- : sectionproperties.descFontFamily == 'Great Vibes'
350
- ? sectionStyles.descriptioncont + ' GreatvibesFont m-0 p-0 wordbreak '
351
- : sectionproperties.descFontFamily == 'Quicksand'
352
- ? sectionStyles.descriptioncont + ' QuicksandFont m-0 p-0 wordbreak'
353
- : sectionStyles.descriptioncont + ' m-0 p-0 wordbreak'
354
- }
355
- style={{}}
356
- >
357
- {langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
358
- </p>
359
- </div>
360
- )}
361
- {/* showimagewhenflip show */}
362
- {/* innersectionbgcolorhover */}
363
- {sectionproperties.showcountdown == 'Yes' && (
364
- <div class="row m-0 w-100 allcentered">
365
- {/* <CountdownCircleTimer isPlaying duration={remainingTimeInSeconds} colors="#4e9af1" strokeWidth={8} size={120} initialRemainingTime={remainingTimeInSeconds}>
366
- {() => (
367
- <div style={{ fontSize: '20px', textAlign: 'center' }}>
368
- <div>{days}d</div>
369
- <div>{hours}h</div>
370
- <div>{minutes}m</div>
371
- <div>{seconds}s</div>
372
- </div>
373
- )}
374
- </CountdownCircleTimer> */}
375
- <div className="col-3 col-sm-6 allcentered mb-md-3">
376
- <CountdownCircleTimer isPlaying duration={remainingTimeInSeconds} colors="#013c48" strokeWidth={8} size={120} initialRemainingTime={remainingTimeInSeconds}>
377
- {({ elapsedTime, color }) => (
378
- <span style={{ color: '#bea04b', fontSize: 23, fontWeight: 600 }} class="allcentered">
379
- {/* {renderTime('يوم', '18')} */}
380
- <div className="time-wrapper allcentered flex-column">
381
- <div className="time">{days}</div>
382
- <div>يوم</div>
383
- </div>
384
- </span>
385
- )}
386
- </CountdownCircleTimer>
387
- </div>
388
- <div className="col-3 col-sm-6 allcentered mb-md-3">
389
- <CountdownCircleTimer isPlaying duration={remainingTimeInSeconds} colors="#013c48" strokeWidth={8} size={120} initialRemainingTime={remainingTimeInSeconds}>
390
- {({ elapsedTime, color }) => (
391
- <span style={{ color: '#bea04b', fontSize: 23, fontWeight: 600 }} class="allcentered">
392
- {/* {renderTime('يوم', '18')} */}
393
- <div className="time-wrapper allcentered flex-column">
394
- <div className="time">{hours}</div>
395
- <div>ساعة</div>
396
- </div>
397
- </span>
398
- )}
399
- </CountdownCircleTimer>
400
- </div>
401
- <div className="col-3 col-sm-6 allcentered mb-md-3">
402
- <CountdownCircleTimer isPlaying duration={remainingTimeInSeconds} colors="#013c48" strokeWidth={8} size={120} initialRemainingTime={remainingTimeInSeconds}>
403
- {({ elapsedTime, color }) => (
404
- <span style={{ color: '#bea04b', fontSize: 23, fontWeight: 600 }} class="allcentered">
405
- {/* {renderTime('يوم', '18')} */}
406
- <div className="time-wrapper allcentered flex-column">
407
- <div className="time">{minutes}</div>
408
- <div>دقيقة</div>
409
- </div>
410
- </span>
411
- )}
412
- </CountdownCircleTimer>
413
- </div>
414
- <div className="col-3 col-sm-6 allcentered mb-md-3">
415
- <CountdownCircleTimer isPlaying duration={remainingTimeInSeconds} colors="#013c48" strokeWidth={8} size={120} initialRemainingTime={remainingTimeInSeconds}>
416
- {({ elapsedTime, color }) => (
417
- <span style={{ color: '#bea04b', fontSize: 23, fontWeight: 600 }} class="allcentered">
418
- {/* {renderTime('يوم', '18')} */}
419
- <div className="time-wrapper allcentered flex-column">
420
- <div className="time">{seconds}</div>
421
- <div>ثانية</div>
422
- </div>
423
- </span>
424
- )}
425
- </CountdownCircleTimer>
426
- </div>
427
- {/* <div className="col-3 col-sm-6 allcentered mb-md-3">
428
- <CountdownCircleTimer
429
- {...timerProps}
430
- colors="#013c48"
431
- duration={daySeconds}
432
- initialRemainingTime={remainingTime % daySeconds}
433
- onComplete={(totalElapsedTime) => ({
434
- shouldRepeat: remainingTime - totalElapsedTime > hourSeconds,
435
- })}
436
- >
437
- {({ elapsedTime, color }) => (
438
- <span style={{ color: '#bea04b', fontSize: 23, fontWeight: 600 }} class="allcentered">
439
- {renderTime('ساعة', getTimeHours(daySeconds - elapsedTime))}
440
- </span>
441
- )}
442
- </CountdownCircleTimer>
443
- </div>
444
-
445
- <div className="col-3 col-sm-6 allcentered mb-md-3">
446
- <CountdownCircleTimer
447
- {...timerProps}
448
- colors="#013c48"
449
- duration={hourSeconds}
450
- initialRemainingTime={remainingTime % hourSeconds}
451
- onComplete={(totalElapsedTime) => ({
452
- shouldRepeat: remainingTime - totalElapsedTime > minuteSeconds,
453
- })}
454
- >
455
- {({ elapsedTime, color }) => (
456
- <span style={{ color: '#bea04b', fontSize: 23, fontWeight: 600 }} class="allcentered">
457
- {renderTime('دقيقة', getTimeMinutes(hourSeconds - elapsedTime))}
458
- </span>
459
- )}
460
- </CountdownCircleTimer>
461
- </div>
462
-
463
- <div className="col-3 col-sm-6 allcentered mb-md-3">
464
- <CountdownCircleTimer
465
- {...timerProps}
466
- colors="#013c48"
467
- duration={minuteSeconds}
468
- initialRemainingTime={remainingTime % minuteSeconds}
469
- onComplete={(totalElapsedTime) => ({
470
- shouldRepeat: remainingTime - totalElapsedTime > 0,
471
- })}
472
- >
473
- {({ elapsedTime, color }) => (
474
- <span style={{ color: '#bea04b', fontSize: 23, fontWeight: 600 }} class="allcentered">
475
- {renderTime('ثانية', getTimeSeconds(elapsedTime))}
476
- </span>
477
- )}
478
- </CountdownCircleTimer>
479
- </div> */}
480
- </div>
481
- )}
482
- {sectionproperties.flippingcards == 'Yes' && sectionproperties.showcountdown != 'Yes' && (
483
- <div class="row m-0 w-100 d-flex justify-content-center">
484
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
485
- return (
486
- <div
487
- class={'flip-card d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 '}
488
- style={{
489
- zIndex: 2,
490
-
491
- paddingLeft: sectionproperties.marginhorizontal + 'px',
492
- paddingRight: sectionproperties.marginhorizontal + 'px',
493
- }}
494
- >
495
- <div
496
- class="flip-card-inner"
497
- style={{
498
- background: sectionproperties.reservation_bgcolor,
499
- borderRadius: sectionproperties.reservation_borderradius + 'px',
500
- border:
501
- sectionproperties.innersectionbordertype == 'All'
502
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
503
- : cardinfoindex != cardsarray.length - 1
504
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
505
- : '',
506
- }}
507
- >
508
- <div class="flip-card-front">
509
- <div class="row m-0 w-100">
510
- <div
511
- class="col-lg-12 d-flex align-items-center p-0"
512
- style={{
513
- marginBottom: sectionproperties.image_mb + 'px',
514
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
515
- }}
516
- >
517
- <div
518
- class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '}
519
- style={{
520
- background: 'transparent',
521
- }}
522
- >
523
- <Imagekitimagecomp
524
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
525
- publicKey={ikimagecredcontext?.ikimagepublickey}
526
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
527
- style={{
528
- maxHeight: sectionproperties.iconcontainerwidth + '%',
529
- maxWidth: sectionproperties.iconcontainerwidth + '%',
530
- objectFit: 'contain',
531
- }}
532
- />
533
- </div>
534
- </div>
535
- <div
536
- class="col-lg-12 d-flex p-0"
537
- style={{
538
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
539
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
540
- }}
541
- >
542
- <p
543
- class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
544
- style={{
545
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
546
- }}
547
- >
548
- {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
549
- </p>
550
- </div>
551
-
552
- {/*
553
- {sectionproperties.generalbtn_show == 'Show' && cardinfoitem.iscardclickable == 'Yes' && (
554
- <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'}>
555
- <button class={`${sectionStyles.btnstyles}`}>
556
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
557
- </button>
558
- </div>
559
- )}
560
- */}
561
- </div>
562
- </div>
563
- <div class="flip-card-back allcentered">
564
- <div class="row m-0 w-100 allcentered">
565
- {sectionproperties.showimagewhenflip == 'Show' && (
566
- <div
567
- class="col-lg-12 d-flex align-items-center p-0"
568
- style={{
569
- marginBottom: sectionproperties.image_mb + 'px',
570
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
571
- }}
572
- >
573
- <div
574
- class={' d-flex align-items-center '}
575
- style={{
576
- width: '30%',
577
- height: '30%',
578
- justifyContent: sectionproperties.iconcontainerheight == '0' ? 'start' : 'center',
579
- }}
580
- >
581
- <Imagekitimagecomp
582
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
583
- publicKey={ikimagecredcontext?.ikimagepublickey}
584
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
585
- style={{
586
- maxHeight: '100%',
587
- maxWidth: '100%',
588
- objectFit: 'contain',
589
- }}
590
- />
591
- </div>
592
- </div>
593
- )}
594
- <div
595
- class="col-lg-12 d-flex p-0"
596
- style={{
597
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
598
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
599
- }}
600
- >
601
- <p
602
- class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
603
- style={{
604
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
605
- color: ' #FFECB5',
606
- fontSize: 14,
607
- }}
608
- >
609
- {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
610
- </p>
611
- </div>
612
- <div
613
- class="col-lg-12 d-flex p-0"
614
- style={{
615
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
616
- }}
617
- >
618
- {sectionproperties.slideshowtext2_show && (
619
- <p
620
- class="m-0 wordbreak"
621
- style={{
622
- color: sectionproperties.slideshowText2ContentColor,
623
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
624
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
625
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
626
- }}
627
- >
628
- {langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar}
629
- </p>
630
- )}
631
- </div>
632
- </div>
633
- </div>
634
- </div>
635
- </div>
636
- );
637
- })}
638
- </div>
639
- )}
640
- {sectionproperties.flippingcards == 'No' && sectionproperties.showcountdown != 'Yes' && (
641
- <div class="row m-0 w-100">
642
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
643
- return (
644
- <div
645
- class={
646
- 'col-lg-6 col-md-6 d-flex align-items-center justify-content-center justify-content-md-start mb-3 mb-md-4 omancard col-sm-' +
647
- sectionproperties.numberOfColsverticalresp
648
- }
649
- style={{
650
- zIndex: 2,
651
- paddingLeft: sectionproperties.marginhorizontal + 'px',
652
- paddingRight: sectionproperties.marginhorizontal + 'px',
653
- }}
654
- >
655
- <div
656
- class={
657
- sectionproperties.innersectionbordertype != 'All'
658
- ? sectionStyles.cardContainer + ' row m-0 w-100 mb-auto border-md-none '
659
- : sectionStyles.cardContainer + ' row m-0 w-100 mb-auto '
660
- }
661
- style={{
662
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
663
- paddingTop: sectionproperties.reservation_padding_top + 'px',
664
- paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
665
- paddingLeft: langdetect == 'en' ? sectionproperties.reservation_padding_left + 'px' : sectionproperties.reservation_padding_right + 'px',
666
- paddingRight: langdetect == 'en' ? sectionproperties.reservation_padding_right + 'px' : sectionproperties.reservation_padding_left + 'px',
667
- borderRadius: sectionproperties.reservation_borderradius + 'px',
668
- border:
669
- sectionproperties.innersectionbordertype == 'All'
670
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
671
- : '',
672
- // sectionproperties.innersectionbordertype == 'All'
673
- // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
674
- // : cardinfoindex != cardsarray.length - 1
675
- // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
676
- // : '',
677
- // cardinfoindex != cardsarray.length - 1
678
- // ? sectionproperties.innersectionbordertype == 'All'
679
- // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
680
- // : ''
681
- // : '',
682
- // borderRight:
683
- // cardinfoindex != cardsarray.length - 1
684
- // ? sectionproperties.innersectionbordertype == 'Right'
685
- // ? langdetect == 'en'
686
- // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
687
- // : ''
688
- // : ''
689
- // : '',
690
- // borderLeft:
691
- // sectionproperties.innersectionbordertype == 'Right'
692
- // ? langdetect == 'ar'
693
- // ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
694
- // : ''
695
- // : '',
696
- borderRight:
697
- sectionproperties.innersectionbordertype != 'All' && cardinfoindex != cardsarray.length - 1
698
- ? langdetect == 'en'
699
- ? sectionproperties.innersectionborderWidth + 'px solid ' + sectionproperties.innersectionborderColor
700
- : ''
701
- : '',
702
- boxShadow: ' 0 0 10px ' + sectionproperties.innerSectionShadowColor,
703
- height: authdetailsContext?.instinfo?.contactinfo.instid == '66b4a0338cb14' ? '100%' : '',
704
- }}
705
- onClick={() => {
706
- // if (cardinfoitem.iscardclickable == 'Yes') {
707
- // window.open(cardinfoitem.btnlink, '_blank');
708
- // }
709
- if (cardinfoitem.btntype == 'Web Product Link' || cardinfoitem.btntype == 'App/Web Page') {
710
- routingcountext(cardinfoitem.btnlink, false, '');
711
- } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'Same Tab' && cardinfoitem.btntype != 'Web Product Link') {
712
- // window.open(cardinfoitem.btnlink, '_target');
713
- routingcountext(cardinfoitem.btnlink, false, '');
714
- } else if (cardinfoitem.iscardclickable == 'Yes' && cardinfoitem.clickabletabtype == 'New Tab' && cardinfoitem.btntype != 'Web Product Link') {
715
- window.open(cardinfoitem.btnlink, '_blank');
716
- }
717
- }}
718
- >
719
- {sectionproperties.imageposition == 'Top' && (
720
- <div
721
- class="col-lg-12 d-flex align-items-center p-0"
722
- style={{
723
- marginBottom: sectionproperties.image_mb + 'px',
724
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
725
- }}
726
- >
727
- <div class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '} style={{}}>
728
- <Imagekitimagecomp
729
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
730
- publicKey={ikimagecredcontext?.ikimagepublickey}
731
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
732
- style={{
733
- maxHeight: sectionproperties.iconcontainerwidth + '%',
734
- maxWidth: sectionproperties.iconcontainerwidth + '%',
735
- objectFit: 'contain',
736
- }}
737
- />
738
- </div>
739
- </div>
740
- )}
741
- {sectionproperties.showrating == 'Show' && cardinfoitem.ratingnumber != null && (
742
- <div class="col-lg-12 allcentered p-0 mb-1">
743
- <ReactStars
744
- count={5}
745
- value={parseFloat(cardinfoitem.ratingnumber)}
746
- edit={false}
747
- size={18}
748
- emptyIcon={
749
- <i class="h-100 allcentered">
750
- <GoStar style={{ color: '#ccc' }} />
751
- </i>
752
- }
753
- halfIcon={
754
- <i class="h-100 allcentered">
755
- <IoIosStar style={{ color: sectionproperties.generalbtn_textColor }} />
756
- </i>
757
- }
758
- filledIcon={
759
- <i class="h-100 allcentered">
760
- <IoIosStar style={{ color: sectionproperties.generalbtn_textColor }} />
761
- </i>
762
- }
763
- activeColor={sectionproperties.generalbtn_textColor}
764
- />
765
- </div>
766
- )}
767
- <div
768
- class="col-lg-12 d-flex p-0"
769
- style={{
770
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
771
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
772
- }}
773
- >
774
- <p
775
- class={sectionStyles.text1Styles + ' p-0 m-0 wordbreak wordbreak-noellipsis text1Styles '}
776
- style={{
777
- cursor: cardinfoitem.iscardclickable == 'Yes' ? 'pointer' : 'default',
778
- }}
779
- >
780
- {langdetect == 'en' ? cardinfoitem.cardobj_titleen : cardinfoitem.cardobj_titlear}
781
- </p>
782
- </div>
783
- <div
784
- class="col-lg-12 d-flex p-0"
785
- style={{
786
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
787
- }}
788
- >
789
- {sectionproperties.slideshowtext2_show && (
790
- <p
791
- class="m-0 wordbreak"
792
- style={{
793
- color: sectionproperties.slideshowText2ContentColor,
794
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
795
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
796
- textAlign: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : '',
797
- }}
798
- >
799
- {langdetect == 'en' ? cardinfoitem.cardobj_descripen : cardinfoitem.cardobj_descripar}
800
- </p>
801
- )}
802
- </div>
803
- {sectionproperties.imageposition == 'Bottom' && (
804
- <div
805
- class="col-lg-12 d-flex align-items-center p-0"
806
- style={{
807
- marginTop: sectionproperties.image_mb + 'px',
808
- justifyContent: sectionproperties.justifyContentCenter == 'Centered' ? 'center' : 'start',
809
- }}
810
- >
811
- <div class={sectionStyles.imageContainer + ' d-flex align-items-center imageContainer '} style={{}}>
812
- <Imagekitimagecomp
813
- urlEndpoint={ikimagecredcontext?.ikimageendpoint}
814
- publicKey={ikimagecredcontext?.ikimagepublickey}
815
- path={cardsarray.length != 0 ? cardinfoitem.cardobj_img : ''}
816
- style={{
817
- maxHeight: sectionproperties.iconcontainerwidth + '%',
818
- maxWidth: sectionproperties.iconcontainerwidth + '%',
819
- objectFit: 'contain',
820
- }}
821
- />
822
- </div>
823
- </div>
824
- )}
825
- {
826
- (sectionproperties.generalbtn_show = 'Show' && cardinfoitem.iscardclickable == 'Yes' && (
827
- <div class={sectionproperties.justifyContentCenter == 'Centered' ? 'col-lg-12 mt-2 allcentered' : 'col-lg-12 mt-2 text-start p-0'}>
828
- <button
829
- class={`${sectionStyles.btnstyles}`}
830
- onClick={() => {
831
- if (cardinfoitem.btntype == 'Web Product Link') {
832
- routingcountext(cardinfoitem.btnlink, false, '');
833
- } else if (
834
- cardinfoitem.iscardclickable == 'Yes' &&
835
- cardinfoitem.clickabletabtype == 'Same Tab' &&
836
- cardinfoitem.btntype != 'Web Product Link'
837
- ) {
838
- window.open(cardinfoitem.btnlink, '_target');
839
- } else if (
840
- cardinfoitem.iscardclickable == 'Yes' &&
841
- cardinfoitem.clickabletabtype == 'New Tab' &&
842
- cardinfoitem.btntype != 'Web Product Link'
843
- ) {
844
- window.open(cardinfoitem.btnlink, '_blank');
845
- } else if (sectionproperties.btntype == 'App/Web Page') {
846
- // window.open(sectionproperties.btnlink, '_target');
847
- routingcountext(cardinfoitem.btnlink, false, '');
848
- }
849
- }}
850
- >
851
- {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
852
- </button>
853
- </div>
854
- ))
855
- }
856
- </div>
857
- </div>
858
- );
859
- })}
860
- </div>
861
- )}
862
- </div>
863
- </div>
864
- </div>
865
- );
866
- };
867
- export default ServicesectionCenteredcards;