tabexseriescomponents 0.0.71 → 0.0.73
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.
- package/dist/index.cjs.js +420 -218
- package/dist/index.esm.js +421 -219
- package/dist/index.umd.js +420 -218
- package/package.json +1 -1
- package/src-aya/Contexts/LanguageContext.jsx +369 -0
- package/{src1-10 → src-aya}/Contexts/ProductsCardsSectionContext.jsx +0 -0
- package/{src1-10 → src-aya}/StylesJS/Customstyles.js +0 -0
- package/src-aya/TabexComponents/Cards/Card20/Card20.jsx +288 -0
- package/src-aya/TabexComponents/Cards/Card21/Card21.jsx +386 -0
- package/src-aya/TabexComponents/Cards/Card22/Card22.jsx +289 -0
- package/src-aya/TabexComponents/Cards/Card23/Card23.jsx +355 -0
- package/src-aya/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +393 -0
- package/src-aya/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +168 -0
- package/src-aya/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +243 -0
- package/src-aya/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +202 -0
- package/src-aya/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +174 -0
- package/src-aya/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +182 -0
- package/src-aya/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +158 -0
- package/src-aya/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +189 -0
- package/src-aya/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +150 -0
- package/src-aya/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +271 -0
- package/src-aya/TabexComponents/Cards/MenuCard/MenuCard.jsx +538 -0
- package/src-aya/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +491 -0
- package/src-aya/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +469 -0
- package/src-aya/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
- package/src-aya/TabexComponents/Cards/Productcard7/Productcard7.jsx +272 -0
- package/src-aya/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +295 -0
- package/src-aya/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +289 -0
- package/src-aya/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
- package/src-aya/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +288 -0
- package/src-aya/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +328 -0
- package/src-aya/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +509 -0
- package/{src1-10 → src-aya}/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +2 -2
- package/src-aya/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
- package/src-aya/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +133 -0
- package/src-aya/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +125 -0
- package/src-aya/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +292 -0
- package/src-aya/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +336 -0
- package/src-aya/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +429 -0
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer1/Footer1.jsx +21 -23
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer2/Footer2.jsx +6 -6
- package/src-aya/TabexComponents/Footer/Footer3/Footer3.jsx +302 -0
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer4/Footer4.jsx +8 -8
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer5/Footer5.jsx +8 -8
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer6/Footer6.jsx +4 -4
- package/{src1-10 → src-aya}/TabexComponents/Footer/Footer7/Footer7.jsx +5 -5
- package/{src1-10 → src-aya}/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +2 -2
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/src-aya/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +822 -0
- package/src-aya/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +841 -0
- package/src-aya/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +677 -0
- package/src-aya/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +707 -0
- package/{src1-10 → src-aya}/TabexComponents/Headers/Header4/Header4.jsx +0 -0
- package/src-aya/TabexComponents/Headers/Header6/Header6.jsx +631 -0
- package/{src1-10 → src-aya}/TabexComponents/Headers/Header8/Header8.jsx +103 -176
- package/{src1-10 → src-aya}/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +105 -106
- package/{src1-10 → src-aya}/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +99 -98
- package/src-aya/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +669 -0
- package/src-aya/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +919 -0
- package/src-aya/TabexComponents/Headers/Modernheader/Modernheader.jsx +687 -0
- package/src-aya/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +813 -0
- package/src-aya/TabexComponents/Headers/Subheader/Subheader.jsx +248 -0
- package/src-aya/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +926 -0
- package/src-aya/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +168 -0
- package/src-aya/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +346 -0
- package/src-aya/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +304 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -0
- package/src-aya/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +271 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +2 -1
- package/src-aya/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +200 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -0
- package/src-aya/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +768 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +1 -4
- package/src-aya/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.jsx +663 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +0 -0
- package/src-aya/TabexComponents/Sections/Cards/Cardsection10/Arrows.js +94 -0
- package/src-aya/TabexComponents/Sections/Cards/Cardsection10/Cardsection10.js +741 -0
- package/src-aya/TabexComponents/Sections/Cards/Cardsection100/Cardsection10.js +430 -0
- package/src-aya/TabexComponents/Sections/Cards/Cardsection100/burger.jpg +0 -0
- package/src-aya/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +473 -0
- package/src-aya/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +523 -0
- package/src-aya/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +502 -0
- package/src-aya/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +276 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +160 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +176 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1 -1
- package/src-aya/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +140 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +201 -0
- package/src-aya/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +125 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +139 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +215 -0
- package/{src1-10 → src-aya}/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +6 -1
- package/{src1-10 → src-aya}/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +0 -0
- package/src-aya/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +277 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -0
- package/src-aya/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +458 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Filter/Filter.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -0
- package/src-aya/TabexComponents/StaticPages/Login/Login.jsx +283 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Policies/Policies.jsx +0 -0
- package/src-aya/TabexComponents/StaticPages/Productinfo/Iteminfo.js +1287 -0
- package/src-aya/TabexComponents/StaticPages/Productinfo/Productinfo.js +710 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +3 -2
- package/src-aya/TabexComponents/StaticPages/Productinfo/Serviceinfo.js +804 -0
- package/src-aya/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +206 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +15 -0
- package/src-aya/TabexComponents/StaticPages/Signup/Signup.jsx +155 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -6
- package/src-aya/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +1048 -0
- package/{src1-10 → src-aya}/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -0
- package/src-aya/assets/images/appstore.png +0 -0
- package/{src1-10 → src-aya}/assets/images/cod.png +0 -0
- package/{src1-10 → src-aya}/assets/images/egyptflag.png +0 -0
- package/{src1-10 → src-aya}/assets/images/fawry.png +0 -0
- package/src-aya/assets/images/googleplay.png +0 -0
- package/{src1-10 → src-aya}/assets/images/payment.png +0 -0
- package/{src1-10 → src-aya}/assets/images/paymob.png +0 -0
- package/{src1-10 → src-aya}/assets/images/paypal.png +0 -0
- package/{src1-10 → src-aya}/assets/images/shoppingcart.png +0 -0
- package/{src1-10 → src-aya}/assets/images/usflag.png +0 -0
- package/{src1-10 → src-aya}/assets/images/visa.png +0 -0
- package/{src1-10 → src-aya}/assets/images/whatsapp.png +0 -0
- package/{src1-10 → src-aya}/button.jsx +0 -0
- package/src-aya/index.jsx +222 -0
- package/{src1-10 → src-aya}/styles/Home.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/Categorcycard_fullimage.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/Categorycard_slidebgscaled.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/Categorycard_withshapes.module.css +0 -0
- package/src-aya/styles/cards/ModernCardWithQuantityButton.module.css +34 -0
- package/{src1-10 → src-aya}/styles/cards/Productcard6.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/Productcard_with_circularbg.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/Productccard_with_zoominonhover.module.css +0 -0
- package/src-aya/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
- package/src-aya/styles/cards/categorycard.module.css +85 -0
- package/src-aya/styles/cards/categorycard3.module.css +50 -0
- package/{src1-10 → src-aya}/styles/cards/categorycardwithtext.module.css +0 -0
- package/src-aya/styles/cards/productcard_animatedbuttons.module.css +127 -0
- package/{src1-10 → src-aya}/styles/cards/productcard_with_textonhover.module.css +0 -0
- package/{src1-10 → src-aya}/styles/cards/productccard_with_imageontopleft.module.css +0 -0
- package/src-aya/styles/general/bootstrap.css +4562 -0
- package/src-aya/styles/general/dropdown.css +206 -0
- package/{src1-10 → src-aya}/styles/general/editorbardropdown.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/filter.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/form.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/general.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/image-gallery.css +0 -0
- package/{src1-10 → src-aya}/styles/general/react-accessible-accordion.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/react-phone-input-2.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/scrollbtn.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/slick.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/tabs.module.css +0 -0
- package/{src1-10 → src-aya}/styles/general/workplaceeditor.module.css +0 -0
- package/{src1-10 → src-aya}/styles/globals.css +0 -0
- package/src-aya/styles/headers/CTAHeader.module.css +40 -0
- package/src-aya/styles/headers/CategoryFeaturingHeader.module.css +61 -0
- package/{src1-10/styles/headers/Allinoneheader.module.css → src-aya/styles/headers/Gotoheader.module.css} +0 -0
- package/{src1-10 → src-aya}/styles/headers/Header7.module.css +0 -0
- package/src-aya/styles/headers/Header_threesectionslogocentered.module.css +96 -0
- package/{src1-10 → src-aya}/styles/headers/Sideheader.module.css +0 -0
- package/src-aya/styles/headers/classicheader.module.css +16 -0
- package/{src1-10 → src-aya}/styles/headers/classicheaderstyles.module.css +0 -0
- package/{src1-10 → src-aya}/styles/headers/dropdown.css +0 -0
- package/{src1-10 → src-aya}/styles/headers/header4.module.css +0 -0
- package/{src1-10 → src-aya}/styles/headers/header5.module.css +0 -0
- package/src-aya/styles/headers/header6.module.css +102 -0
- package/src-aya/styles/headers/header_contactinfo.module.css +66 -0
- package/{src1-10 → src-aya}/styles/headers/headerresturant.module.css +0 -0
- package/src-aya/styles/headers/modernheader.module.css +72 -0
- package/{src1-10/styles/headers/headerstyles.module.css → src-aya/styles/headers/stylishheader.module.css} +0 -0
- package/{src1-10 → src-aya}/styles/headers/subheader.module.css +0 -0
- package/src-aya/styles/headers/threetieredheader.module.css +91 -0
- package/src-aya/styles/sections/BackgroundImageWithTopContent.css +4 -0
- package/{src1-10 → src-aya}/styles/sections/Backgroundimage1.module.css +0 -0
- package/{src1-10 → src-aya}/styles/sections/Backgroundimage_with_topcircle.module.css +0 -0
- package/{src1-10 → src-aya}/styles/sections/Section_with_rightbgcont.module.css +0 -0
- package/{src1-10 → src-aya}/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -0
- package/{src1-10 → src-aya}/styles/sections/Slideshow_with_squarebg.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/accordion.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/cart.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/dropdown.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/filter.module.css +0 -0
- package/src-aya/styles/staticpages/image-gallery.css +481 -0
- package/src-aya/styles/staticpages/login.module.css +113 -0
- package/{src1-10 → src-aya}/styles/staticpages/productinfo.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/shop.module.css +0 -0
- package/src-aya/styles/staticpages/signup.module.css +206 -0
- package/{src1-10 → src-aya}/styles/staticpages/staticroutersidenav.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/viewcart.module.css +0 -0
- package/{src1-10 → src-aya}/styles/staticpages/wishlist.module.css +0 -0
- package/src-aya/styles.rar +0 -0
- package/{src1-10 → srcOLD}/Contexts/LanguageContext.jsx +0 -0
- package/srcOLD/Contexts/ProductsCardsSectionContext.jsx +28 -0
- package/srcOLD/StylesJS/Customstyles.js +235 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +19 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +8 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +7 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +72 -45
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +15 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/MenuCard/MenuCard.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard6/Productcard6.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard7/Productcard7.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +14 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +17 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +14 -1
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +11 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +10 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +10 -0
- package/srcOLD/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +282 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +12 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +9 -0
- package/{src1-10 → srcOLD}/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +15 -3
- package/{src1-10 → srcOLD}/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +11 -1
- package/srcOLD/TabexComponents/Footer/Footer1/Footer1.jsx +418 -0
- package/srcOLD/TabexComponents/Footer/Footer2/Footer2.jsx +382 -0
- package/{src1-10 → srcOLD}/TabexComponents/Footer/Footer3/Footer3.jsx +6 -14
- package/srcOLD/TabexComponents/Footer/Footer4/Footer4.jsx +438 -0
- package/srcOLD/TabexComponents/Footer/Footer5/Footer5.jsx +495 -0
- package/srcOLD/TabexComponents/Footer/Footer6/Footer6.jsx +295 -0
- package/srcOLD/TabexComponents/Footer/Footer7/Footer7.jsx +373 -0
- package/srcOLD/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +238 -0
- package/srcOLD/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +99 -97
- package/{src1-10 → srcOLD}/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +80 -74
- package/srcOLD/TabexComponents/Headers/Header4/Header4.jsx +632 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Header6/Header6.jsx +76 -73
- package/srcOLD/TabexComponents/Headers/Header8/Header8.jsx +882 -0
- package/srcOLD/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +754 -0
- package/srcOLD/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +798 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +23 -3
- package/{src1-10 → srcOLD}/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +114 -116
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Modernheader/Modernheader.jsx +92 -100
- package/{src1-10 → srcOLD}/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +98 -110
- package/srcOLD/TabexComponents/Headers/Subheader/Subheader copy.jsx +228 -0
- package/{src1-10 → srcOLD}/TabexComponents/Headers/Subheader/Subheader.jsx +22 -10
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +312 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -0
- package/srcOLD/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +138 -0
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +160 -0
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +295 -0
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +784 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +75 -7
- package/srcOLD/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.js +496 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +0 -0
- package/srcOLD/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +419 -0
- package/{src1-10/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx → srcOLD/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.js} +74 -34
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -0
- package/srcOLD/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +284 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +8 -0
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +414 -0
- package/{src1-10 → srcOLD}/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +53 -92
- package/srcOLD/TabexComponents/StaticPages/Aboutus/Aboutus.js +175 -0
- package/srcOLD/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +275 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -0
- package/srcOLD/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.js +146 -0
- package/srcOLD/TabexComponents/StaticPages/Checkout/Checkout.jsx +1220 -0
- package/srcOLD/TabexComponents/StaticPages/Filter/Filter.jsx +542 -0
- package/srcOLD/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +51 -0
- package/srcOLD/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Login/Login.jsx +0 -0
- package/srcOLD/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +192 -0
- package/srcOLD/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1285 -0
- package/srcOLD/TabexComponents/StaticPages/Policies/Policies.jsx +358 -0
- package/srcOLD/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1506 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +16 -0
- package/srcOLD/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +788 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Signup/Signup.jsx +0 -0
- package/srcOLD/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +295 -0
- package/{src1-10 → srcOLD}/TabexComponents/StaticPages/Viewcart/Viewcart.js +0 -0
- package/srcOLD/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +629 -0
- package/srcOLD/assets/images/cod.png +0 -0
- package/srcOLD/assets/images/egyptflag.png +0 -0
- package/srcOLD/assets/images/fawry.png +0 -0
- package/srcOLD/assets/images/payment.png +0 -0
- package/srcOLD/assets/images/paymob.png +0 -0
- package/srcOLD/assets/images/paypal.png +0 -0
- package/srcOLD/assets/images/shoppingcart.png +0 -0
- package/srcOLD/assets/images/usflag.png +0 -0
- package/srcOLD/assets/images/visa.png +0 -0
- package/srcOLD/assets/images/whatsapp.png +0 -0
- package/srcOLD/button.jsx +40 -0
- package/{src1-10 → srcOLD}/index.jsx +2 -6
- package/srcOLD/styles/Home.module.css +129 -0
- package/srcOLD/styles/cards/Categorcycard_fullimage.module.css +10 -0
- package/srcOLD/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
- package/srcOLD/styles/cards/Categorycard_withshapes.module.css +189 -0
- package/srcOLD/styles/cards/Productcard6.module.css +9 -0
- package/srcOLD/styles/cards/Productcard_with_circularbg.module.css +137 -0
- package/srcOLD/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
- package/{src1-10 → srcOLD}/styles/cards/Prouductcard_with_zoomhover.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/categorycard.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/cards/categorycard3.module.css +0 -0
- package/srcOLD/styles/cards/categorycardwithtext.module.css +40 -0
- package/{src1-10 → srcOLD}/styles/cards/productcard_animatedbuttons.module.css +0 -0
- package/srcOLD/styles/cards/productcard_with_textonhover.module.css +12 -0
- package/srcOLD/styles/cards/productccard_with_imageontopleft.module.css +85 -0
- package/{src1-10 → srcOLD}/styles/general/bootstrap.css +73 -68
- package/{src1-10 → srcOLD}/styles/general/dropdown.css +0 -0
- package/srcOLD/styles/general/editorbardropdown.module.css +94 -0
- package/srcOLD/styles/general/filter.module.css +108 -0
- package/srcOLD/styles/general/form.module.css +273 -0
- package/srcOLD/styles/general/general.module.css +709 -0
- package/srcOLD/styles/general/image-gallery.css +481 -0
- package/srcOLD/styles/general/react-accessible-accordion.module.css +52 -0
- package/srcOLD/styles/general/react-phone-input-2.module.css +927 -0
- package/srcOLD/styles/general/scrollbtn.module.css +22 -0
- package/srcOLD/styles/general/slick.module.css +166 -0
- package/srcOLD/styles/general/tabs.module.css +110 -0
- package/srcOLD/styles/general/workplaceeditor.module.css +328 -0
- package/srcOLD/styles/globals.css +26 -0
- package/srcOLD/styles/headers/Allinoneheader.module.css +91 -0
- package/srcOLD/styles/headers/Header7.module.css +50 -0
- package/{src1-10 → srcOLD}/styles/headers/Header_threesectionslogocentered.module.css +0 -0
- package/srcOLD/styles/headers/Sideheader.module.css +108 -0
- package/srcOLD/styles/headers/classicheaderstyles.module.css +16 -0
- package/srcOLD/styles/headers/dropdown.css +0 -0
- package/srcOLD/styles/headers/header4.module.css +175 -0
- package/srcOLD/styles/headers/header5.module.css +30 -0
- package/{src1-10 → srcOLD}/styles/headers/header6.module.css +0 -0
- package/{src1-10 → srcOLD}/styles/headers/header_contactinfo.module.css +0 -0
- package/srcOLD/styles/headers/headerresturant.module.css +89 -0
- package/srcOLD/styles/headers/headerstyles.module.css +24 -0
- package/{src1-10 → srcOLD}/styles/headers/modernheader.module.css +0 -0
- package/srcOLD/styles/headers/subheader.module.css +114 -0
- package/srcOLD/styles/sections/Backgroundimage1.module.css +17 -0
- package/srcOLD/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
- package/srcOLD/styles/sections/Section_with_rightbgcont.module.css +49 -0
- package/srcOLD/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
- package/srcOLD/styles/sections/Slideshow_with_squarebg.module.css +39 -0
- package/srcOLD/styles/staticpages/accordion.module.css +9 -0
- package/srcOLD/styles/staticpages/cart.module.css +108 -0
- package/srcOLD/styles/staticpages/dropdown.css +196 -0
- package/srcOLD/styles/staticpages/filter.module.css +139 -0
- package/{src1-10 → srcOLD}/styles/staticpages/login.module.css +0 -0
- package/srcOLD/styles/staticpages/productinfo.module.css +54 -0
- package/srcOLD/styles/staticpages/shop.module.css +191 -0
- package/{src1-10 → srcOLD}/styles/staticpages/signup.module.css +0 -0
- package/srcOLD/styles/staticpages/staticroutersidenav.module.css +129 -0
- package/srcOLD/styles/staticpages/viewcart.module.css +129 -0
- package/srcOLD/styles/staticpages/wishlist.module.css +29 -0
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
import { css } from 'glamor';
|
|
3
|
+
import '../../../../styles/sections/BackgroundImageWithTopContent.css';
|
|
4
|
+
import Select from 'react-select';
|
|
5
|
+
import { defaultstyles, defaultstylestranslated } from '../../../../StylesJS/Customstyles';
|
|
6
|
+
import { IKImage } from 'imagekitio-react';
|
|
7
|
+
import { IKpublicKey, IKurlEndpoint } from '../../../../../Env';
|
|
8
|
+
|
|
9
|
+
const BackgroundImageWithTopContent = (props) => {
|
|
10
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
11
|
+
const [imagesarray, setimagesarray] = useState([]);
|
|
12
|
+
const lang = props.actions.lang;
|
|
13
|
+
const langdetect = props.actions.langdetect;
|
|
14
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
15
|
+
const routingcountext = props.actions.routingcountext;
|
|
16
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
17
|
+
const sectionindexcontext = props.sectionindexcontext;
|
|
18
|
+
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
if (props.srcfrom == 'addsectionform') {
|
|
21
|
+
var secpropobj = {};
|
|
22
|
+
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
23
|
+
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
24
|
+
});
|
|
25
|
+
setsectionproperties({ ...secpropobj });
|
|
26
|
+
} else {
|
|
27
|
+
var secpropobj = {};
|
|
28
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
29
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
30
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
31
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
setsectionproperties({ ...secpropobj });
|
|
36
|
+
}
|
|
37
|
+
}, [StatePagePropertiesContext]);
|
|
38
|
+
useEffect(() => {
|
|
39
|
+
if (sectionproperties.length != 0) {
|
|
40
|
+
if (sectionproperties.arrayofobjectimagesonly != null) {
|
|
41
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
42
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
43
|
+
setimagesarray([...arrayofobjectimagesonlyparsed]);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}, [sectionproperties]);
|
|
48
|
+
|
|
49
|
+
const sectionstyles = {
|
|
50
|
+
btnstyles: css({
|
|
51
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
52
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
53
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
54
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
55
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
56
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
57
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
58
|
+
border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
|
|
59
|
+
color: sectionproperties.generalbtn_textColor,
|
|
60
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
61
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
62
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
63
|
+
':hover': {
|
|
64
|
+
transition: '.3s',
|
|
65
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
66
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
67
|
+
},
|
|
68
|
+
}),
|
|
69
|
+
form_control: css({
|
|
70
|
+
backgroundImage: 'linear-gradient(to top, #eac435 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px)',
|
|
71
|
+
}),
|
|
72
|
+
input_label_name: css({
|
|
73
|
+
color: sectionproperties.form_labelcolor,
|
|
74
|
+
textTransform: sectionproperties.form_labeltexttransform,
|
|
75
|
+
fontWeight: sectionproperties.form_labelfontweight,
|
|
76
|
+
fontSize: sectionproperties.form_labelfontsize + 'px',
|
|
77
|
+
}),
|
|
78
|
+
|
|
79
|
+
dateInput: css({
|
|
80
|
+
display: 'inline-block',
|
|
81
|
+
outline: 'none',
|
|
82
|
+
background: 'none',
|
|
83
|
+
transition: 'width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000)',
|
|
84
|
+
cursor: 'text',
|
|
85
|
+
Zindex: 2,
|
|
86
|
+
borderBottomStyle: 'solid',
|
|
87
|
+
borderBottomWidth: sectionproperties.inputfieldborderWidth + 'px',
|
|
88
|
+
borderBottomColor: sectionproperties.inputfieldborderColor,
|
|
89
|
+
width: '100%',
|
|
90
|
+
}),
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
const countries = [
|
|
94
|
+
{ value: 'egypt', label: 'Egypt' },
|
|
95
|
+
{ value: 'algeria', label: 'Algeria' },
|
|
96
|
+
{ value: 'georgia', label: 'Georgia' },
|
|
97
|
+
];
|
|
98
|
+
|
|
99
|
+
const states = [
|
|
100
|
+
{ value: 'cairo', label: 'Cairo' },
|
|
101
|
+
{ vlaue: 'giza', label: 'Giza' },
|
|
102
|
+
{ vlaue: 'chlef', label: 'Chlef' },
|
|
103
|
+
{ vlaue: 'alabama', label: 'Alabama' },
|
|
104
|
+
];
|
|
105
|
+
|
|
106
|
+
return (
|
|
107
|
+
<div
|
|
108
|
+
class="allcentered h-sm-auto"
|
|
109
|
+
style={{
|
|
110
|
+
// background: `linearGradient(0deg, rgba(255, 0, 150, 0.3), rgba(255, 0, 150, 0.3))`,
|
|
111
|
+
// backgroundImage: imagesarray.length != 0 ? 'url(' + serverbaselink + imagesarray[0].bgsection_image + ')' : '',
|
|
112
|
+
backgroundSize: sectionproperties.bgcovercontain,
|
|
113
|
+
width: '100%',
|
|
114
|
+
height: sectionproperties.image_height + 'vh',
|
|
115
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
116
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
117
|
+
}}
|
|
118
|
+
>
|
|
119
|
+
<IKImage
|
|
120
|
+
urlEndpoint={IKurlEndpoint}
|
|
121
|
+
publicKey={IKpublicKey}
|
|
122
|
+
path={imagesarray.length != 0 ? (langdetect == 'en' ? imagesarray[0].bgsection_image : imagesarray[0].bgsection_image_ar) : ''}
|
|
123
|
+
class="d-flex d-sm-none"
|
|
124
|
+
style={{
|
|
125
|
+
position: 'absolute',
|
|
126
|
+
top: 0,
|
|
127
|
+
bottom: 0,
|
|
128
|
+
right: 0,
|
|
129
|
+
left: 0,
|
|
130
|
+
width: '100%',
|
|
131
|
+
height: sectionproperties.image_height + 'vh',
|
|
132
|
+
objectFit: sectionproperties.bgcovercontain,
|
|
133
|
+
}}
|
|
134
|
+
/>
|
|
135
|
+
<IKImage
|
|
136
|
+
urlEndpoint={IKurlEndpoint}
|
|
137
|
+
publicKey={IKpublicKey}
|
|
138
|
+
path={imagesarray.length != 0 ? (langdetect == 'en' ? imagesarray[0].bgsection_imageresponsive : imagesarray[0].bgsection_imageresponsive_ar) : ''}
|
|
139
|
+
class="d-none d-sm-flex"
|
|
140
|
+
style={{
|
|
141
|
+
position: 'absolute',
|
|
142
|
+
top: 0,
|
|
143
|
+
bottom: 0,
|
|
144
|
+
right: 0,
|
|
145
|
+
left: 0,
|
|
146
|
+
width: '100%',
|
|
147
|
+
height: sectionproperties.image_height + 'vh',
|
|
148
|
+
objectFit: sectionproperties.bgcovercontainresponsive,
|
|
149
|
+
}}
|
|
150
|
+
/>
|
|
151
|
+
<div class="row m-0 w-100 justify-content-center mt-sm-5 mb-sm-5">
|
|
152
|
+
{/* Text Section */}
|
|
153
|
+
<div class="col-lg-6 col-md-9 col-sm-9 p-0 mt-auto mb-auto text-align-start">
|
|
154
|
+
{sectionproperties.general_showtext == 'Show' && (
|
|
155
|
+
<div
|
|
156
|
+
class="wordbreak"
|
|
157
|
+
style={{
|
|
158
|
+
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
159
|
+
color: sectionproperties.generaltext_fontColor,
|
|
160
|
+
textTransform: sectionproperties.generaltext_textTransform,
|
|
161
|
+
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
162
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
163
|
+
}}
|
|
164
|
+
>
|
|
165
|
+
{langdetect == 'en' ? sectionproperties.general_text_content : sectionproperties.general_text_content_ar}
|
|
166
|
+
</div>
|
|
167
|
+
)}
|
|
168
|
+
{sectionproperties.sectiontitleshow == 'Show' && (
|
|
169
|
+
<div
|
|
170
|
+
class="wordbreak"
|
|
171
|
+
style={{
|
|
172
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
173
|
+
color: sectionproperties.sectionTitleColor,
|
|
174
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
175
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
176
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
177
|
+
}}
|
|
178
|
+
>
|
|
179
|
+
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
180
|
+
</div>
|
|
181
|
+
)}
|
|
182
|
+
{sectionproperties.prodCatShow == 'Show' && (
|
|
183
|
+
<div
|
|
184
|
+
style={{
|
|
185
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
186
|
+
color: sectionproperties.prodCatColor,
|
|
187
|
+
textTransform: sectionproperties.prodCatTextTranform,
|
|
188
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
189
|
+
maxWidth: '500px',
|
|
190
|
+
}}
|
|
191
|
+
>
|
|
192
|
+
{langdetect == 'en' ? sectionproperties.descriptionContentEn : sectionproperties.descriptionContentAr}
|
|
193
|
+
</div>
|
|
194
|
+
)}
|
|
195
|
+
</div>
|
|
196
|
+
{/* Information Section */}
|
|
197
|
+
<div
|
|
198
|
+
class="col-lg-4 col-md-9 col-sm-9 mt-md-2 mt-sm-2"
|
|
199
|
+
style={{
|
|
200
|
+
backgroundColor: sectionproperties.reservation_bgcolor,
|
|
201
|
+
borderRadius: sectionproperties.reservation_borderradius + 'px',
|
|
202
|
+
paddingTop: sectionproperties.reservation_padding_top + 'px',
|
|
203
|
+
paddingBottom: sectionproperties.reservation_padding_bottom + 'px',
|
|
204
|
+
paddingLeft: sectionproperties.reservation_padding_left + 'px',
|
|
205
|
+
paddingRight: sectionproperties.reservation_padding_right + 'px',
|
|
206
|
+
}}
|
|
207
|
+
>
|
|
208
|
+
{sectionproperties.formRightTextShow1 == 'Show' && (
|
|
209
|
+
<div
|
|
210
|
+
class={
|
|
211
|
+
sectionproperties.rightcontainertext1fontfamily == 'Pacifico'
|
|
212
|
+
? ' PacificoFont wordbreak '
|
|
213
|
+
: sectionproperties.rightcontainertext1fontfamily == 'Playfair'
|
|
214
|
+
? ' PlayfairFont wordbreak '
|
|
215
|
+
: sectionproperties.rightcontainertext1fontfamily == 'Great Vibes'
|
|
216
|
+
? ' GreatvibesFont wordbreak '
|
|
217
|
+
: sectionproperties.rightcontainertext1fontfamily == 'Quicksand'
|
|
218
|
+
? ' QuicksandFont wordbreak '
|
|
219
|
+
: ' wordbreak '
|
|
220
|
+
}
|
|
221
|
+
style={{
|
|
222
|
+
fontSize: sectionproperties.formRightTextFontSize1 + 'px',
|
|
223
|
+
color: sectionproperties.formRightTextColor1,
|
|
224
|
+
textTransform: sectionproperties.formRightTextTextTransform1,
|
|
225
|
+
fontWeight: sectionproperties.formRightTextFontWeight1,
|
|
226
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
227
|
+
//
|
|
228
|
+
}}
|
|
229
|
+
>
|
|
230
|
+
{langdetect == 'en' ? sectionproperties.formRightText1 : sectionproperties.formRightText1_ar}
|
|
231
|
+
</div>
|
|
232
|
+
)}
|
|
233
|
+
|
|
234
|
+
{sectionproperties.formRightTextShow2 == 'Show' && (
|
|
235
|
+
<div
|
|
236
|
+
class={
|
|
237
|
+
sectionproperties.rightcontainertext2fontfamily == 'Pacifico'
|
|
238
|
+
? ' PacificoFont wordbreak '
|
|
239
|
+
: sectionproperties.rightcontainertext2fontfamily == 'Playfair'
|
|
240
|
+
? ' PlayfairFont wordbreak '
|
|
241
|
+
: sectionproperties.rightcontainertext2fontfamily == 'Great Vibes'
|
|
242
|
+
? ' GreatvibesFont wordbreak '
|
|
243
|
+
: sectionproperties.rightcontainertext2fontfamily == 'Quicksand'
|
|
244
|
+
? ' QuicksandFont wordbreak '
|
|
245
|
+
: ' wordbreak '
|
|
246
|
+
}
|
|
247
|
+
style={{
|
|
248
|
+
fontSize: sectionproperties.formRightTextFontSize2 + 'px',
|
|
249
|
+
color: sectionproperties.formRightTextColor2,
|
|
250
|
+
textTransform: sectionproperties.formRightTextTextTransform2,
|
|
251
|
+
fontWeight: sectionproperties.formRightTextFontWeight2,
|
|
252
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
253
|
+
}}
|
|
254
|
+
>
|
|
255
|
+
{langdetect == 'en' ? sectionproperties.formRightText2 : sectionproperties.formRightText2_ar}
|
|
256
|
+
</div>
|
|
257
|
+
)}
|
|
258
|
+
|
|
259
|
+
{/* Input Fields */}
|
|
260
|
+
<div class="row m-0 w-100 mt-2">
|
|
261
|
+
{/* Country */}
|
|
262
|
+
<div className={`${langdetect == 'en' ? 'text-left' : 'text-right'}` + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '}>
|
|
263
|
+
<label className={`${sectionstyles.input_label_name}` + ' m-0 '}>{lang.country}</label>
|
|
264
|
+
<Select options={countries} styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated} />
|
|
265
|
+
</div>
|
|
266
|
+
{/* State */}
|
|
267
|
+
<div className={`${langdetect == 'en' ? 'text-left' : 'text-right'}` + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '}>
|
|
268
|
+
<label className={`${sectionstyles.input_label_name}` + ' m-0 '}>{langdetect == 'en' ? 'State' : 'الولاية'}</label>
|
|
269
|
+
<Select options={states} styles={langdetect == 'en' ? defaultstyles : defaultstylestranslated} />
|
|
270
|
+
</div>
|
|
271
|
+
{/* Check in */}
|
|
272
|
+
<div className={`${langdetect == 'en' ? 'text-left' : 'text-right'}` + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '}>
|
|
273
|
+
<label className={`${sectionstyles.input_label_name}` + ' m-0 '}>{langdetect == 'en' ? 'From' : 'من'}</label>
|
|
274
|
+
<div>
|
|
275
|
+
<input className={`${sectionstyles.dateInput}`} type="date" />
|
|
276
|
+
</div>
|
|
277
|
+
</div>
|
|
278
|
+
{/* Check out */}
|
|
279
|
+
<div className={`${langdetect == 'en' ? 'text-left' : 'text-right'}` + ' col-lg-12 col-md-12 col-sm-12 mb-3 p-0 '}>
|
|
280
|
+
<label className={`${sectionstyles.input_label_name}` + ' m-0 '}>{langdetect == 'en' ? 'To' : 'إلى'}</label>
|
|
281
|
+
<div>
|
|
282
|
+
<input className={`${sectionstyles.dateInput}`} type="date" />
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
285
|
+
</div>
|
|
286
|
+
|
|
287
|
+
{sectionproperties.generalbtn_show == 'Show' && (
|
|
288
|
+
<div class="row m-0 w-100 justify-content-center">
|
|
289
|
+
<button
|
|
290
|
+
class={sectionstyles.btnstyles + ' allcentered '}
|
|
291
|
+
// onClick={() => {
|
|
292
|
+
// routingcountext(StaticPagesLinksContext.GeneralProductsComponent);
|
|
293
|
+
// }}
|
|
294
|
+
>
|
|
295
|
+
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
296
|
+
</button>
|
|
297
|
+
</div>
|
|
298
|
+
)}
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
</div>
|
|
302
|
+
);
|
|
303
|
+
};
|
|
304
|
+
export default BackgroundImageWithTopContent;
|
|
File without changes
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
import { css } from 'glamor';
|
|
3
|
+
import { serverbaselink } from '../../../../../Env';
|
|
4
|
+
|
|
5
|
+
const Backgroundimage_with_toppill = (props) => {
|
|
6
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
7
|
+
const [cardsarray, setcardsarray] = useState([]);
|
|
8
|
+
const lang = props.actions.lang;
|
|
9
|
+
const langdetect = props.actions.langdetect;
|
|
10
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
11
|
+
const routingcountext = props.actions.routingcountext;
|
|
12
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
13
|
+
const sectionindexcontext = props.sectionindexcontext;
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
if (props.srcfrom == 'addsectionform') {
|
|
16
|
+
var secpropobj = {};
|
|
17
|
+
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
18
|
+
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
19
|
+
});
|
|
20
|
+
setsectionproperties({ ...secpropobj });
|
|
21
|
+
} else {
|
|
22
|
+
var secpropobj = {};
|
|
23
|
+
|
|
24
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
25
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
26
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
27
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
setsectionproperties({ ...secpropobj });
|
|
32
|
+
}
|
|
33
|
+
}, [StatePagePropertiesContext]);
|
|
34
|
+
useEffect(() => {
|
|
35
|
+
if (sectionproperties.length != 0) {
|
|
36
|
+
if (sectionproperties.bgsection_imagearrayofobjs != null) {
|
|
37
|
+
var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.bgsection_imagearrayofobjs);
|
|
38
|
+
if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
|
|
39
|
+
setcardsarray([...bgsection_imagearrayofobjsparsed]);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}, [sectionproperties]);
|
|
44
|
+
const sectionstyles = {
|
|
45
|
+
general_btn: css({
|
|
46
|
+
height: sectionproperties.generalbtn_height + 'px',
|
|
47
|
+
width: sectionproperties.generalbtn_width + 'px',
|
|
48
|
+
background: sectionproperties.generalbtn_bgColor,
|
|
49
|
+
color: sectionproperties.generalbtn_textColor,
|
|
50
|
+
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
51
|
+
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
52
|
+
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
53
|
+
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
54
|
+
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
55
|
+
lineHeight: sectionproperties.generalbtn_fontsize + 'px',
|
|
56
|
+
textTransform: sectionproperties.generalbtn_texttransform,
|
|
57
|
+
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
58
|
+
marginLeft: sectionproperties.generalbtn_marginLeft + 'px',
|
|
59
|
+
marginRight: sectionproperties.generalbtn_marginRight + 'px',
|
|
60
|
+
marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
|
|
61
|
+
marginTop: sectionproperties.generalbtn_marginTop + 'px',
|
|
62
|
+
transition: '.3s',
|
|
63
|
+
':hover': {
|
|
64
|
+
background: sectionproperties.generalbtn_bgColoronhover,
|
|
65
|
+
color: sectionproperties.generalbtn_textColoronhover,
|
|
66
|
+
},
|
|
67
|
+
}),
|
|
68
|
+
text1styles: css({
|
|
69
|
+
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
70
|
+
color: sectionproperties.slideshowText1ContentColor,
|
|
71
|
+
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
72
|
+
textTransform: sectionproperties.slideshowText1ContentTextTransform,
|
|
73
|
+
marginLeft: sectionproperties.slideshowText1Content_marginLeft + 'px',
|
|
74
|
+
marginRight: sectionproperties.slideshowText1Content_marginRight + 'px',
|
|
75
|
+
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
76
|
+
marginTop: sectionproperties.slideshowText1Content_marginTop + 'px',
|
|
77
|
+
':after': {
|
|
78
|
+
display: 'block',
|
|
79
|
+
content: 's',
|
|
80
|
+
fontSize: '0',
|
|
81
|
+
width: sectionproperties.slideshowText1_lineafterwidth + '%',
|
|
82
|
+
height: '7px',
|
|
83
|
+
background: sectionproperties.slideshowText1_showlineafter == 'Show' ? sectionproperties.slideshowText1ContentColor : 'transparent',
|
|
84
|
+
position: 'absolute',
|
|
85
|
+
bottom: 0,
|
|
86
|
+
left: '10px',
|
|
87
|
+
margin: 'auto',
|
|
88
|
+
borderRadius: '10px',
|
|
89
|
+
},
|
|
90
|
+
}),
|
|
91
|
+
};
|
|
92
|
+
return (
|
|
93
|
+
<div class=" row w-100 m-0 d-flex align-items-center" style={{ position: 'relative' }}>
|
|
94
|
+
<div class="col-lg-5 d-none d-md-flex align-items-center justify-content-center mt-md-4">
|
|
95
|
+
<div
|
|
96
|
+
class={'d-flex d-sm-none align-items-center justify-content-center'}
|
|
97
|
+
style={{
|
|
98
|
+
position: 'relative',
|
|
99
|
+
background: sectionproperties.formRightbgColor,
|
|
100
|
+
borderRadius: '50%',
|
|
101
|
+
height: '35vh',
|
|
102
|
+
width: '35vh',
|
|
103
|
+
}}
|
|
104
|
+
>
|
|
105
|
+
<div
|
|
106
|
+
class={' d-flex justify-content-center align-items-center '}
|
|
107
|
+
style={{
|
|
108
|
+
width: '30vh',
|
|
109
|
+
height: '30vh',
|
|
110
|
+
}}
|
|
111
|
+
>
|
|
112
|
+
<img src={cardsarray.length != 0 ? serverbaselink + cardsarray[0].bgsection_image : ''} style={{ maxWidth: '100%', maxHeight: '100%' }}></img>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
<div
|
|
116
|
+
class={'d-none d-sm-flex align-items-center justify-content-center'}
|
|
117
|
+
style={{
|
|
118
|
+
position: 'relative',
|
|
119
|
+
background: sectionproperties.formRightbgColor,
|
|
120
|
+
borderRadius: '50%',
|
|
121
|
+
height: '30vh',
|
|
122
|
+
width: '30vh',
|
|
123
|
+
}}
|
|
124
|
+
>
|
|
125
|
+
<div
|
|
126
|
+
class={' d-flex justify-content-center align-items-center '}
|
|
127
|
+
style={{
|
|
128
|
+
width: '25vh',
|
|
129
|
+
height: '25vh',
|
|
130
|
+
}}
|
|
131
|
+
>
|
|
132
|
+
<img src={cardsarray.length != 0 ? serverbaselink + cardsarray[0].bgsection_image : ''} style={{ maxWidth: '100%', maxHeight: '100%' }}></img>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
<div class={' col-lg-7 col-md-12 d-none d-md-flex mt-3'}>
|
|
137
|
+
<div class="row m-0 w-100">
|
|
138
|
+
<div class="col-lg-12 d-flex align-items-center justify-content-center mb-3">
|
|
139
|
+
{sectionproperties.slideshowtext1_show == 'Show' && (
|
|
140
|
+
<p
|
|
141
|
+
class="m-0 wordbreak text-center"
|
|
142
|
+
style={{
|
|
143
|
+
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
144
|
+
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
145
|
+
color: sectionproperties.slideshowText1ContentColor,
|
|
146
|
+
textTransform: sectionproperties.slideshowText1ContentTextTransform,
|
|
147
|
+
}}
|
|
148
|
+
>
|
|
149
|
+
{langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar}
|
|
150
|
+
</p>
|
|
151
|
+
)}
|
|
152
|
+
</div>
|
|
153
|
+
<div class="col-lg-12 d-flex align-items-center justify-content-center mb-3">
|
|
154
|
+
{sectionproperties.slideshowtext2_show == 'Show' && (
|
|
155
|
+
<p
|
|
156
|
+
class="m-0 wordbreak text-center"
|
|
157
|
+
style={{
|
|
158
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
159
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
160
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
161
|
+
textTransform: sectionproperties.slideshowText2ContentTextTransform,
|
|
162
|
+
}}
|
|
163
|
+
>
|
|
164
|
+
{langdetect == 'en' ? sectionproperties.slideshowText2Content : sectionproperties.slideshowText2Content_Ar}
|
|
165
|
+
</p>
|
|
166
|
+
)}
|
|
167
|
+
</div>
|
|
168
|
+
{sectionproperties.generalbtn_show == 'Show' && (
|
|
169
|
+
<div class="col-lg-12 d-flex align-items-center justify-content-center">
|
|
170
|
+
<button
|
|
171
|
+
class={`${sectionstyles.general_btn}`}
|
|
172
|
+
onClick={() => {
|
|
173
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
174
|
+
}}
|
|
175
|
+
>
|
|
176
|
+
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
177
|
+
</button>
|
|
178
|
+
</div>
|
|
179
|
+
)}
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
<div class={' col-lg-7 pl-5 d-flex d-md-none d-flex align-items-center pr-5'}>
|
|
183
|
+
<div class="row m-0 w-100 d-flex align-items-center">
|
|
184
|
+
{sectionproperties.slideshowtext1_show == 'Show' && (
|
|
185
|
+
<div
|
|
186
|
+
class="col-lg-12 p-0 d-flex justify-content-start"
|
|
187
|
+
style={{
|
|
188
|
+
marginTop: sectionproperties.slideshowText1Content_marginTop + 'px',
|
|
189
|
+
}}
|
|
190
|
+
>
|
|
191
|
+
<p
|
|
192
|
+
class="m-0 wordbreak"
|
|
193
|
+
style={{
|
|
194
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
195
|
+
fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
|
|
196
|
+
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
197
|
+
color: sectionproperties.slideshowText1ContentColor,
|
|
198
|
+
textTransform: sectionproperties.slideshowText1ContentTextTransform,
|
|
199
|
+
}}
|
|
200
|
+
>
|
|
201
|
+
{langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar}
|
|
202
|
+
</p>
|
|
203
|
+
</div>
|
|
204
|
+
)}
|
|
205
|
+
{sectionproperties.slideshowtext2_show == 'Show' && (
|
|
206
|
+
<div class="col-lg-12 p-0 mb-4 d-flex justify-content-start">
|
|
207
|
+
<p
|
|
208
|
+
className="m-0 wordbreak"
|
|
209
|
+
style={{
|
|
210
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
211
|
+
fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
|
|
212
|
+
fontWeight: sectionproperties.slideshowText2ContentFontWeight,
|
|
213
|
+
color: sectionproperties.slideshowText2ContentColor,
|
|
214
|
+
textTransform: sectionproperties.slideshowText2ContentTextTransform,
|
|
215
|
+
}}
|
|
216
|
+
>
|
|
217
|
+
{langdetect == 'en' ? sectionproperties.slideshowText2Content : sectionproperties.slideshowText2Content_Ar}
|
|
218
|
+
</p>
|
|
219
|
+
</div>
|
|
220
|
+
)}
|
|
221
|
+
{sectionproperties.generalbtn_show == 'Show' && (
|
|
222
|
+
<div class="col-lg-12 p-0 mb-3 d-flex justify-content-start">
|
|
223
|
+
<button
|
|
224
|
+
class={`${sectionstyles.general_btn}`}
|
|
225
|
+
onClick={() => {
|
|
226
|
+
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, false);
|
|
227
|
+
}}
|
|
228
|
+
>
|
|
229
|
+
{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
|
|
230
|
+
</button>
|
|
231
|
+
</div>
|
|
232
|
+
)}
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
235
|
+
|
|
236
|
+
<div class="col-lg-5 d-flex d-md-none align-items-center justify-content-end">
|
|
237
|
+
<div
|
|
238
|
+
class={' d-none d-lg-block d-flex flex-row align-items-center justify-content-end'}
|
|
239
|
+
style={{
|
|
240
|
+
position: 'relative',
|
|
241
|
+
background: sectionproperties.formRightbgColor,
|
|
242
|
+
borderTopRightRadius: sectionproperties.formRight_bordertoprightradius + 'px',
|
|
243
|
+
borderTopLeftRadius: sectionproperties.formRight_bordertopleftradius + 'px',
|
|
244
|
+
borderBottomRightRadius: sectionproperties.formRight_borderbottomrightadius + 'px',
|
|
245
|
+
borderBottomLeftRadius: sectionproperties.formRight_borderbottomleftadius + 'px',
|
|
246
|
+
height: sectionproperties.formRight_height + 'px',
|
|
247
|
+
width: sectionproperties.formRight_width + 'px',
|
|
248
|
+
}}
|
|
249
|
+
>
|
|
250
|
+
<div class={' row w-100 m-0 d-flex flex-row align-items-center '}>
|
|
251
|
+
<div
|
|
252
|
+
class={' d-flex justify-content-center align-items-center '}
|
|
253
|
+
style={{
|
|
254
|
+
position: 'absolute',
|
|
255
|
+
top: sectionproperties.image_topposition + 'px',
|
|
256
|
+
left: 0,
|
|
257
|
+
right: 0,
|
|
258
|
+
margin: 'auto',
|
|
259
|
+
width: sectionproperties.image_Width + 'px',
|
|
260
|
+
height: sectionproperties.image_height + 'px',
|
|
261
|
+
}}
|
|
262
|
+
>
|
|
263
|
+
<img src={cardsarray.length != 0 ? serverbaselink + cardsarray[0].bgsection_image : ''} style={{ maxWidth: '100%', maxHeight: '100%' }}></img>
|
|
264
|
+
</div>
|
|
265
|
+
</div>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
);
|
|
270
|
+
};
|
|
271
|
+
export default Backgroundimage_with_toppill;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
2
|
import { css } from 'glamor';
|
|
3
3
|
import { serverbaselink } from '../../../../../Env';
|
|
4
|
-
import { IKImage } from 'imagekitio-react';
|
|
5
4
|
import { IoIosArrowRoundForward, IoIosArrowRoundBack } from 'react-icons/io';
|
|
6
5
|
const BackgroundimageandTextsection = (props) => {
|
|
7
6
|
const [sectionproperties, setsectionproperties] = useState('');
|
|
@@ -82,6 +81,7 @@ const BackgroundimageandTextsection = (props) => {
|
|
|
82
81
|
fontWeight: sectionproperties.slideshowText1ContentFontWeight,
|
|
83
82
|
color: sectionproperties.slideshowText1ContentColor,
|
|
84
83
|
marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
|
|
84
|
+
marginTop: sectionproperties.slideshowText1Content_marginTop + 'px',
|
|
85
85
|
}}
|
|
86
86
|
>
|
|
87
87
|
{langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar}
|
|
@@ -117,6 +117,7 @@ const BackgroundimageandTextsection = (props) => {
|
|
|
117
117
|
<div
|
|
118
118
|
class="col-lg-6 p-0 d-flex h-sm-50"
|
|
119
119
|
style={{
|
|
120
|
+
backgroundColor: sectionproperties.image_bgcolor,
|
|
120
121
|
backgroundImage: imagesarray.length != 0 ? 'url(' + serverbaselink + imagesarray[0].bgsection_image + ')' : '',
|
|
121
122
|
backgroundSize: sectionproperties.bgcovercontain,
|
|
122
123
|
width: '100%',
|