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
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { Link } from 'react-router-dom';
|
|
3
|
-
// import { LanguageContext } from '../../../../../../../Contexts/LanguageContext';
|
|
4
|
-
// import { FetchingContext } from '../../../../../../../Contexts/FetchingContext';
|
|
5
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../../../../Contexts/WebsiteDesignWorkPlaceContext';
|
|
6
|
-
// import { TemplateRoutingContext } from '../../../../../../../Contexts/TemplateRoutingContext';
|
|
7
2
|
import { css } from 'glamor';
|
|
8
3
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
9
|
-
|
|
10
4
|
import Searchlist from '../../StaticPages/Searchlist/Searchlist.jsx';
|
|
11
5
|
import egyptflag from '../../../assets/images/egyptflag.png';
|
|
12
6
|
import usflag from '../../../assets/images/usflag.png';
|
|
@@ -19,29 +13,13 @@ import { FiShoppingCart, FiShoppingBag } from 'react-icons/fi';
|
|
|
19
13
|
import { MdOutlinePolicy, MdOutlineShoppingCart } from 'react-icons/md';
|
|
20
14
|
import { IKImage } from 'imagekitio-react';
|
|
21
15
|
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
22
|
-
|
|
23
16
|
import { BsSearch, BsHandbag, BsBag, BsTelephone } from 'react-icons/bs';
|
|
24
17
|
import { AiOutlineHeart } from 'react-icons/ai';
|
|
25
18
|
import { BiUser } from 'react-icons/bi';
|
|
26
19
|
import { HiMenuAlt4 } from 'react-icons/hi';
|
|
27
20
|
import whatsappicon from '../../../assets/images/whatsapp.png';
|
|
28
21
|
|
|
29
|
-
// import { Contexthandlerscontext } from '../../../../../../../Contexts/Contexthandlerscontext';
|
|
30
22
|
const Header8 = (props) => {
|
|
31
|
-
// const { lang, setlang, langdetect } = useContext(LanguageContext);
|
|
32
|
-
// const { templatepropcontext } = useContext(Contexthandlerscontext);
|
|
33
|
-
// const { StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
34
|
-
// const {
|
|
35
|
-
// setSearchHeaderInputContext,
|
|
36
|
-
// fetchcustomercartQueryContext,
|
|
37
|
-
// fetchAuthorizationQueryContext,
|
|
38
|
-
// setsidecartnavshowcontext,
|
|
39
|
-
// LogoutMutationContext,
|
|
40
|
-
// favoriteprojectscountContext,
|
|
41
|
-
// templateproperties_context,
|
|
42
|
-
// } = useContext(FetchingContext);
|
|
43
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
44
|
-
|
|
45
23
|
const LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
46
24
|
const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
47
25
|
const setSearchHeaderInputContext = props.actions.setSearchHeaderInputContext;
|
|
@@ -78,7 +56,7 @@ const Header8 = (props) => {
|
|
|
78
56
|
}, [StatePagePropertiesContext]);
|
|
79
57
|
const header_cssstyles = {
|
|
80
58
|
headercontainer: css({
|
|
81
|
-
position: sectionproperties.headerstyles_position
|
|
59
|
+
position: sectionproperties.headerstyles_position,
|
|
82
60
|
width: sectionproperties.header_width + 'vw',
|
|
83
61
|
background: sectionproperties.uppersection_bgcolor,
|
|
84
62
|
zIndex: 1000,
|
|
@@ -90,19 +68,19 @@ const Header8 = (props) => {
|
|
|
90
68
|
paddingRight: langdetect == 'en' ? sectionproperties.uppersection_paddingright + 'px' : sectionproperties.uppersection_paddingleft + 'px',
|
|
91
69
|
paddingTop: sectionproperties.uppersection_paddingtop + 'px',
|
|
92
70
|
paddingBottom: sectionproperties.uppersection_paddingbottom + 'px',
|
|
93
|
-
borderTopLeftRadius: sectionproperties.uppersection_btlradius + 'px',
|
|
94
|
-
borderTopRightRadius: sectionproperties.uppersection_btrradius + 'px',
|
|
95
|
-
borderBottomLeftRadius: sectionproperties.uppersection_bblradius + 'px',
|
|
96
|
-
borderBottomRightRadius: sectionproperties.uppersection_bbrradius + 'px',
|
|
71
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.uppersection_btlradius + 'px' : sectionproperties.uppersection_btrradius + 'px',
|
|
72
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.uppersection_btrradius + 'px' : sectionproperties.uppersection_btlradius + 'px',
|
|
73
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.uppersection_bblradius + 'px' : sectionproperties.uppersection_bbrradius + 'px',
|
|
74
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.uppersection_bbrradius + 'px' : sectionproperties.uppersection_bblradius + 'px',
|
|
97
75
|
}),
|
|
98
76
|
lowerheadercontainer: css({
|
|
99
77
|
backgroundColor: sectionproperties.lowersection_bgcolortransparent == 'Transparent' ? 'transparent' : sectionproperties.lowersection_backgroundColor,
|
|
100
|
-
borderBottomLeftRadius: sectionproperties.lowersection_borderBottomLeftRadius + 'px',
|
|
101
|
-
borderBottomRightRadius: sectionproperties.lowersection_BorderBottomRightRadius + 'px',
|
|
102
|
-
borderTopLeftRadius: sectionproperties.lowersection_borderTopLeftRadius + 'px',
|
|
103
|
-
borderTopRightRadius: sectionproperties.lowersection_borderTopRightRadius + 'px',
|
|
104
|
-
paddingLeft: '
|
|
105
|
-
paddingRight: '
|
|
78
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderBottomLeftRadius + 'px' : sectionproperties.lowersection_BorderBottomRightRadius + 'px',
|
|
79
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.lowersection_BorderBottomRightRadius + 'px' : sectionproperties.lowersection_borderBottomLeftRadius + 'px',
|
|
80
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopLeftRadius + 'px' : sectionproperties.lowersection_borderTopRightRadius + 'px',
|
|
81
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.lowersection_borderTopRightRadius + 'px' : sectionproperties.lowersection_borderTopLeftRadius + 'px',
|
|
82
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.lowersection_paddingleft + 'px' : sectionproperties.lowersection_paddingright + 'px',
|
|
83
|
+
paddingRight: langdetect == 'en' ? sectionproperties.lowersection_paddingright + 'px' : sectionproperties.lowersection_paddingleft + 'px',
|
|
106
84
|
paddingTop: sectionproperties.lowersection_paddingtop + 'px',
|
|
107
85
|
paddingBottom: sectionproperties.lowersection_paddingbottom + 'px',
|
|
108
86
|
}),
|
|
@@ -132,9 +110,6 @@ const Header8 = (props) => {
|
|
|
132
110
|
fontWeight: sectionproperties.dropdown_fontweight,
|
|
133
111
|
textTransform: sectionproperties.dropdown_texttransform,
|
|
134
112
|
}),
|
|
135
|
-
dropdownicon: css({
|
|
136
|
-
color: sectionproperties.dropdowniconcolor,
|
|
137
|
-
}),
|
|
138
113
|
dropdownitemcontainer: css({
|
|
139
114
|
':hover .dropdownitem': { color: sectionproperties.dropdown_hovercolor },
|
|
140
115
|
}),
|
|
@@ -339,7 +314,7 @@ const Header8 = (props) => {
|
|
|
339
314
|
}, [templateproperties_context]);
|
|
340
315
|
return (
|
|
341
316
|
<div
|
|
342
|
-
|
|
317
|
+
class="row w-100 ml-0 mr-0 d-flex justify-content-center"
|
|
343
318
|
style={{
|
|
344
319
|
marginTop: sectionproperties.header_marginTop + 'px',
|
|
345
320
|
marginBottom: sectionproperties.header_marginBottom + 'px',
|
|
@@ -348,16 +323,16 @@ const Header8 = (props) => {
|
|
|
348
323
|
{sectionproperties.youtbtn_show == 'Show' && (
|
|
349
324
|
<>
|
|
350
325
|
<a
|
|
351
|
-
href={'tel:' + authdetailsContext
|
|
326
|
+
href={'tel:' + authdetailsContext?.instinfo?.contactinfo?.mobile}
|
|
352
327
|
target={'_self'}
|
|
353
328
|
style={{ position: 'fixed', bottom: 60, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}
|
|
354
329
|
>
|
|
355
|
-
<i
|
|
330
|
+
<i class={langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'}>
|
|
356
331
|
<BsTelephone size={30} color={sectionproperties.uppersection_iconcolor} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
|
|
357
332
|
</i>
|
|
358
333
|
</a>
|
|
359
334
|
<a
|
|
360
|
-
href={'https://api.whatsapp.com/send?phone=' + authdetailsContext
|
|
335
|
+
href={'https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.contactinfo?.mobile}
|
|
361
336
|
target={'_blank'}
|
|
362
337
|
style={{ position: 'fixed', bottom: 10, right: 10, zIndex: 999999, transition: 'all 0.3s ease-out' }}
|
|
363
338
|
>
|
|
@@ -366,17 +341,18 @@ const Header8 = (props) => {
|
|
|
366
341
|
</>
|
|
367
342
|
)}
|
|
368
343
|
<div
|
|
369
|
-
|
|
344
|
+
class={`${header_cssstyles.headercontainer}` + ' row ml-0 mr-0 d-flex d-md-none align-items-center '}
|
|
370
345
|
style={{
|
|
371
346
|
position: sectionproperties.headerstyles_position,
|
|
347
|
+
top: 0,
|
|
372
348
|
}}
|
|
373
349
|
>
|
|
374
350
|
{/* Upper Header */}
|
|
375
|
-
<div
|
|
376
|
-
<div
|
|
377
|
-
<div
|
|
351
|
+
<div class={' col-lg-12 p-0 '}>
|
|
352
|
+
<div class={header_cssstyles.upperheadersection + ' row w-100 m-0 align-items-center '}>
|
|
353
|
+
<div class="col-lg-2 p-0">
|
|
378
354
|
<div
|
|
379
|
-
|
|
355
|
+
class={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
|
|
380
356
|
style={{ cursor: 'pointer' }}
|
|
381
357
|
onClick={() => {
|
|
382
358
|
routingcountext('home');
|
|
@@ -392,54 +368,38 @@ const Header8 = (props) => {
|
|
|
392
368
|
}}
|
|
393
369
|
/>
|
|
394
370
|
</div>
|
|
395
|
-
{/* <div
|
|
396
|
-
className={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
|
|
397
|
-
style={{ cursor: 'pointer', width: '70px', height: '70px' }}
|
|
398
|
-
onClick={() => {
|
|
399
|
-
routingcountext('home');
|
|
400
|
-
}}
|
|
401
|
-
>
|
|
402
|
-
<img
|
|
403
|
-
src={logo}
|
|
404
|
-
style={{
|
|
405
|
-
maxWidth: '100%',
|
|
406
|
-
maxHeight: '100%',
|
|
407
|
-
}}
|
|
408
|
-
/>
|
|
409
|
-
</div> */}
|
|
410
371
|
</div>
|
|
411
|
-
<div
|
|
412
|
-
<div
|
|
372
|
+
<div class="col-lg-4 p-0">
|
|
373
|
+
<div class={header_cssstyles.searchbarcont} style={{ position: 'relative' }}>
|
|
413
374
|
<input
|
|
414
375
|
type="text"
|
|
415
376
|
placeholder={lang.searchproducts}
|
|
416
|
-
|
|
377
|
+
class={`${header_cssstyles.searchbarcont_input}`}
|
|
417
378
|
onChange={(event) => {
|
|
418
379
|
setSearchHeaderInputContext(event.target.value);
|
|
419
380
|
}}
|
|
420
381
|
/>
|
|
421
|
-
<button
|
|
382
|
+
<button class={` ${header_cssstyles.searchbar_icon_cont}` + ' d-flex align-items-center justify-content-center '}>
|
|
422
383
|
<BsSearch color={sectionproperties.searchbaricon_color} size={sectionproperties.searchbaricon_fontsize} />
|
|
423
384
|
</button>
|
|
424
|
-
<Searchlist sectionpropertiesprops={sectionproperties}
|
|
385
|
+
<Searchlist sectionpropertiesprops={sectionproperties} srcfromprops={'headerfullwidth'} actions={actions} />
|
|
425
386
|
</div>
|
|
426
387
|
</div>
|
|
427
|
-
|
|
428
|
-
<div className="col-lg-3 d-flex flex-column align-items-center justfiy-content-center">
|
|
388
|
+
<div class="col-lg-3 d-flex flex-column align-items-center justfiy-content-center">
|
|
429
389
|
{sectionproperties.showcontactinfo == 'Show' && (
|
|
430
|
-
<div
|
|
431
|
-
<i
|
|
390
|
+
<div class="row m-0 w-100 d-flex align-items-center justify-content-center">
|
|
391
|
+
<i class={langdetect == 'en' ? 'h-100 d-flex align-items-center justify-content-center mr-2' : 'h-100 d-flex align-items-center justify-content-center ml-2'}>
|
|
432
392
|
<BsTelephone size={30} color={sectionproperties.uppersection_iconcolor} style={{ transform: langdetect == 'en' ? 'scaleX(1)' : 'scaleX(-1)' }} />
|
|
433
393
|
</i>
|
|
434
394
|
<div
|
|
435
|
-
|
|
395
|
+
class="d-flex align-items-center flex-column"
|
|
436
396
|
onClick={() => {
|
|
437
|
-
window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext
|
|
397
|
+
window.open('https://api.whatsapp.com/send?phone=' + authdetailsContext?.instinfo?.contactinfo?.mobile, '_blank');
|
|
438
398
|
}}
|
|
439
399
|
style={{ cursor: 'pointer' }}
|
|
440
400
|
>
|
|
441
401
|
<p
|
|
442
|
-
|
|
402
|
+
class="m-0"
|
|
443
403
|
style={{
|
|
444
404
|
color: sectionproperties.uppersection_infocolor,
|
|
445
405
|
fontSize: sectionproperties.uppersection_infofontsize + 'px',
|
|
@@ -447,16 +407,14 @@ const Header8 = (props) => {
|
|
|
447
407
|
letterSpacing: '2px',
|
|
448
408
|
}}
|
|
449
409
|
>
|
|
450
|
-
{authdetailsContext
|
|
410
|
+
{authdetailsContext?.instinfo?.contactinfo?.mobile}
|
|
451
411
|
</p>
|
|
452
412
|
<p
|
|
453
|
-
|
|
413
|
+
class="mb-0 w-100"
|
|
454
414
|
style={{
|
|
455
415
|
textAlign: langdetect == 'en' ? 'right' : 'left',
|
|
456
|
-
// color: '#a3a3a3',
|
|
457
416
|
color: sectionproperties.uppersection_titlecolor,
|
|
458
417
|
fontSize: sectionproperties.uppersection_titlefontsize + 'px',
|
|
459
|
-
// fontSize: '12px',
|
|
460
418
|
fontWeight: sectionproperties.uppersection_titlefontweight,
|
|
461
419
|
textTransform: sectionproperties.uppersection_titletextransform,
|
|
462
420
|
}}
|
|
@@ -467,10 +425,9 @@ const Header8 = (props) => {
|
|
|
467
425
|
</div>
|
|
468
426
|
)}
|
|
469
427
|
</div>
|
|
470
|
-
|
|
471
|
-
<div className={langdetect == 'en' ? 'col-lg-3 d-flex align-items-center p-0 pl-0' : 'col-lg-3 d-flex align-items-center p-0 pr-0'}>
|
|
428
|
+
<div class={langdetect == 'en' ? 'col-lg-3 d-flex align-items-center p-0 pl-0' : 'col-lg-3 d-flex align-items-center p-0 pr-0'}>
|
|
472
429
|
<div
|
|
473
|
-
|
|
430
|
+
class={'row w-100 m-0 align-items-center justify-content-between '}
|
|
474
431
|
style={{
|
|
475
432
|
paddingLeft: langdetect == 'en' ? (authdetailsContext.loggedin == true ? '.3rem' : '3rem') : 0,
|
|
476
433
|
paddingRight: langdetect == 'en' ? 0 : authdetailsContext.loggedin == true ? '1rem' : '3rem',
|
|
@@ -479,12 +436,12 @@ const Header8 = (props) => {
|
|
|
479
436
|
<Dropdown>
|
|
480
437
|
<Dropdown.Toggle>
|
|
481
438
|
{!authdetailsContext.loggedin && (
|
|
482
|
-
<div
|
|
483
|
-
<div
|
|
439
|
+
<div class={header_cssstyles.user_btnContainer + ' d-flex align-items-center justify-content-end p-0 cursor-pointer pt-1 '}>
|
|
440
|
+
<div class={header_cssstyles.user_btn + ' user_btnbg allcentered p-0 '}>
|
|
484
441
|
<BiUser size={sectionproperties.userBtniconfontsize} />
|
|
485
442
|
</div>
|
|
486
443
|
<p
|
|
487
|
-
|
|
444
|
+
class={header_cssstyles.loggedinusername + ' user_btn mb-0 p-0 '}
|
|
488
445
|
style={{ marginLeft: langdetect == 'en' ? '3px' : 0, marginRight: langdetect == 'en' ? 0 : '3px' }}
|
|
489
446
|
>
|
|
490
447
|
{lang.login}
|
|
@@ -492,20 +449,20 @@ const Header8 = (props) => {
|
|
|
492
449
|
</div>
|
|
493
450
|
)}
|
|
494
451
|
{authdetailsContext.loggedin && (
|
|
495
|
-
<div
|
|
496
|
-
<div
|
|
497
|
-
<i
|
|
452
|
+
<div class={header_cssstyles.loggedinuserbtnContainer + ' allcentered '} sytle={{ position: 'relative' }}>
|
|
453
|
+
<div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
|
|
454
|
+
<i class={' h-100 allcentered '}>
|
|
498
455
|
<BiUser size={sectionproperties.loggedinusericonfontsize} />
|
|
499
456
|
</i>
|
|
500
457
|
</div>
|
|
501
458
|
<div
|
|
502
|
-
|
|
459
|
+
class="m-0 p-0"
|
|
503
460
|
style={{
|
|
504
461
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
505
462
|
}}
|
|
506
463
|
>
|
|
507
464
|
<p
|
|
508
|
-
|
|
465
|
+
class="m-0 p-0"
|
|
509
466
|
style={{
|
|
510
467
|
color: sectionproperties.greetingtextcolor,
|
|
511
468
|
fontSize: sectionproperties.greetingtextfontsize + 'px',
|
|
@@ -516,8 +473,8 @@ const Header8 = (props) => {
|
|
|
516
473
|
{lang.hello}
|
|
517
474
|
{langdetect == 'en' ? ',' : '،'}
|
|
518
475
|
</p>
|
|
519
|
-
<p
|
|
520
|
-
{authdetailsContext
|
|
476
|
+
<p class={header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '} style={{ maxWidth: '100px' }}>
|
|
477
|
+
{authdetailsContext?.customerinfo?.name}
|
|
521
478
|
</p>
|
|
522
479
|
</div>
|
|
523
480
|
</div>
|
|
@@ -530,10 +487,10 @@ const Header8 = (props) => {
|
|
|
530
487
|
routingcountext(StaticPagesLinksContext.Login);
|
|
531
488
|
}}
|
|
532
489
|
>
|
|
533
|
-
<div
|
|
534
|
-
<p
|
|
490
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
|
|
491
|
+
<p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
|
|
535
492
|
<AiOutlineLogin />
|
|
536
|
-
<span
|
|
493
|
+
<span class="ml-2 mr-2">{lang.login}</span>
|
|
537
494
|
</p>
|
|
538
495
|
</div>
|
|
539
496
|
</Dropdown.Item>
|
|
@@ -543,10 +500,10 @@ const Header8 = (props) => {
|
|
|
543
500
|
routingcountext(StaticPagesLinksContext.Signup);
|
|
544
501
|
}}
|
|
545
502
|
>
|
|
546
|
-
<div
|
|
547
|
-
<p
|
|
503
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
|
|
504
|
+
<p class={`${header_cssstyles.dropdownitem}` + ' d-flex align-items-center dropdownitem m-0 p-0 '}>
|
|
548
505
|
<AiOutlineUserAdd />
|
|
549
|
-
<span
|
|
506
|
+
<span class="ml-2 mr-2">{lang.signup}</span>
|
|
550
507
|
</p>
|
|
551
508
|
</div>
|
|
552
509
|
</Dropdown.Item>
|
|
@@ -555,7 +512,7 @@ const Header8 = (props) => {
|
|
|
555
512
|
{authdetailsContext.loggedin && (
|
|
556
513
|
<Dropdown.Menu style={{ minWidth: '200px' }}>
|
|
557
514
|
<Dropdown.Item>
|
|
558
|
-
<div
|
|
515
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' d-flex align-items-center m-0 p-0 '}>
|
|
559
516
|
<span
|
|
560
517
|
style={{
|
|
561
518
|
color: sectionproperties.greetingtextcolor,
|
|
@@ -567,13 +524,13 @@ const Header8 = (props) => {
|
|
|
567
524
|
{lang.hello},
|
|
568
525
|
</span>
|
|
569
526
|
<p
|
|
570
|
-
|
|
527
|
+
class={`${header_cssstyles.dropdownitem}` + ' font-weight-600 ml-1 mr-1 text-overflow text-capitalize dropdownitem m-0 p-0 '}
|
|
571
528
|
style={{ maxWidth: '120px' }}
|
|
572
529
|
onClick={() => {
|
|
573
530
|
routingcountext(StaticPagesLinksContext.accountinfo);
|
|
574
531
|
}}
|
|
575
532
|
>
|
|
576
|
-
{authdetailsContext
|
|
533
|
+
{authdetailsContext?.customerinfo?.name}
|
|
577
534
|
</p>
|
|
578
535
|
</div>
|
|
579
536
|
</Dropdown.Item>
|
|
@@ -583,15 +540,15 @@ const Header8 = (props) => {
|
|
|
583
540
|
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
584
541
|
}}
|
|
585
542
|
>
|
|
586
|
-
<div
|
|
587
|
-
<p
|
|
543
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
544
|
+
<p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
588
545
|
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag />}
|
|
589
546
|
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag />}
|
|
590
547
|
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag />}
|
|
591
548
|
{sectionproperties.carticonstyle == 'Shopping bag 4' && <BsHandbag />}
|
|
592
549
|
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart />}
|
|
593
550
|
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart />}
|
|
594
|
-
<span
|
|
551
|
+
<span class="ml-2 mr-2">{lang.orderhistory}</span>
|
|
595
552
|
</p>
|
|
596
553
|
</div>
|
|
597
554
|
</Dropdown.Item>
|
|
@@ -601,11 +558,11 @@ const Header8 = (props) => {
|
|
|
601
558
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
602
559
|
}}
|
|
603
560
|
>
|
|
604
|
-
<div
|
|
605
|
-
<p
|
|
561
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
562
|
+
<p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
606
563
|
{sectionproperties.faviconshape == 'Heart Shape' && <AiOutlineHeart />}
|
|
607
564
|
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar />}
|
|
608
|
-
<span
|
|
565
|
+
<span class="ml-2 mr-2">{lang.wishlist}</span>
|
|
609
566
|
</p>
|
|
610
567
|
</div>
|
|
611
568
|
</Dropdown.Item>
|
|
@@ -615,10 +572,10 @@ const Header8 = (props) => {
|
|
|
615
572
|
routingcountext(StaticPagesLinksContext.Policies);
|
|
616
573
|
}}
|
|
617
574
|
>
|
|
618
|
-
<div
|
|
619
|
-
<p
|
|
575
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
576
|
+
<p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
620
577
|
<MdOutlinePolicy />
|
|
621
|
-
<span
|
|
578
|
+
<span class="ml-2 mr-2">{lang.policies}</span>
|
|
622
579
|
</p>
|
|
623
580
|
</div>
|
|
624
581
|
</Dropdown.Item>
|
|
@@ -628,27 +585,27 @@ const Header8 = (props) => {
|
|
|
628
585
|
LogoutMutationContext.mutate();
|
|
629
586
|
}}
|
|
630
587
|
>
|
|
631
|
-
<div
|
|
632
|
-
<p
|
|
588
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
589
|
+
<p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem d-flex align-items-center m-0 p-0 '}>
|
|
633
590
|
<BiLogOutCircle />
|
|
634
|
-
<span
|
|
591
|
+
<span class="ml-2 mr-2">{lang.logout}</span>
|
|
635
592
|
</p>
|
|
636
593
|
</div>
|
|
637
594
|
</Dropdown.Item>
|
|
638
595
|
</Dropdown.Menu>
|
|
639
596
|
)}
|
|
640
597
|
</Dropdown>
|
|
641
|
-
<div
|
|
598
|
+
<div class="d-flex flex-row p-0 align-items-center">
|
|
642
599
|
<div
|
|
643
600
|
style={{ position: 'relative' }}
|
|
644
|
-
|
|
601
|
+
class="cursor-pointer d-flex d-flex align-items-center"
|
|
645
602
|
onClick={() => {
|
|
646
603
|
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
647
604
|
}}
|
|
648
605
|
>
|
|
649
606
|
{sectionproperties.faviconshape == 'Heart Shape' && (
|
|
650
607
|
<AiOutlineHeart
|
|
651
|
-
|
|
608
|
+
class={`${header_cssstyles.wishlist_btn}`}
|
|
652
609
|
size={sectionproperties.favBtnIconfontsize}
|
|
653
610
|
style={{
|
|
654
611
|
position: 'relative',
|
|
@@ -657,21 +614,21 @@ const Header8 = (props) => {
|
|
|
657
614
|
)}
|
|
658
615
|
{sectionproperties.faviconshape == 'Star Shape' && (
|
|
659
616
|
<AiFillStar
|
|
660
|
-
|
|
617
|
+
class={`${header_cssstyles.wishlist_btn}`}
|
|
661
618
|
size={sectionproperties.favBtnIconfontsize}
|
|
662
619
|
style={{
|
|
663
620
|
position: 'relative',
|
|
664
621
|
}}
|
|
665
622
|
/>
|
|
666
623
|
)}
|
|
667
|
-
<div
|
|
624
|
+
<div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}`}>
|
|
668
625
|
<span> {favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}</span>
|
|
669
626
|
</div>
|
|
670
627
|
</div>
|
|
671
628
|
</div>
|
|
672
|
-
<div
|
|
629
|
+
<div class=" d-flex flex-row justify-content-end align-items-center">
|
|
673
630
|
<div
|
|
674
|
-
|
|
631
|
+
class="row w-100 m-0 align-items-center d-flex flex-row justify-content-end"
|
|
675
632
|
style={{
|
|
676
633
|
position: 'relative',
|
|
677
634
|
}}
|
|
@@ -679,9 +636,9 @@ const Header8 = (props) => {
|
|
|
679
636
|
setsidecartnavshowcontext(true);
|
|
680
637
|
}}
|
|
681
638
|
>
|
|
682
|
-
<div style={{ position: 'relative' }}
|
|
683
|
-
<div
|
|
684
|
-
{fetchcustomercartQueryContext
|
|
639
|
+
<div style={{ position: 'relative' }} class={`${header_cssstyles.cart_btn}` + ' cursor-pointer d-flex align-items-center justify-content-center '}>
|
|
640
|
+
<div class={`${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.cartbadge}`}>
|
|
641
|
+
{fetchcustomercartQueryContext.data.data.customercart != null ? fetchcustomercartQueryContext.data.data.customercart.cartitems.length : 0}
|
|
685
642
|
</div>
|
|
686
643
|
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
687
644
|
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag size={sectionproperties.cartBtn_iconFontSize} />}
|
|
@@ -690,10 +647,10 @@ const Header8 = (props) => {
|
|
|
690
647
|
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
691
648
|
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdOutlineShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
692
649
|
</div>
|
|
693
|
-
<div
|
|
694
|
-
<div
|
|
650
|
+
<div class={langdetect == 'en' ? 'ml-2' : 'mr-2'}>
|
|
651
|
+
<div class="row m-0 w-100 d-flex align-items-center flex-column justify-content-start">
|
|
695
652
|
<p
|
|
696
|
-
|
|
653
|
+
class="m-0 p-0 w-100"
|
|
697
654
|
style={{
|
|
698
655
|
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
699
656
|
color: sectionproperties.cartBtnTextcolor,
|
|
@@ -707,7 +664,7 @@ const Header8 = (props) => {
|
|
|
707
664
|
{lang.cart}
|
|
708
665
|
</p>
|
|
709
666
|
<p
|
|
710
|
-
|
|
667
|
+
class="m-0 text-left"
|
|
711
668
|
style={{
|
|
712
669
|
color: sectionproperties.card_secondarycolor,
|
|
713
670
|
fontSize: sectionproperties.secondaryfontsize + 'px',
|
|
@@ -722,7 +679,7 @@ const Header8 = (props) => {
|
|
|
722
679
|
</div>
|
|
723
680
|
</div>
|
|
724
681
|
<div
|
|
725
|
-
|
|
682
|
+
class="d-flex flex-row justify-content-end align-items-center"
|
|
726
683
|
onClick={() => {
|
|
727
684
|
if (langdetect == 'en') {
|
|
728
685
|
setlang('ar');
|
|
@@ -732,12 +689,12 @@ const Header8 = (props) => {
|
|
|
732
689
|
}}
|
|
733
690
|
>
|
|
734
691
|
{langdetect == 'en' && (
|
|
735
|
-
<div
|
|
692
|
+
<div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
736
693
|
<img src={egyptflag} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
737
694
|
</div>
|
|
738
695
|
)}
|
|
739
696
|
{langdetect == 'ar' && (
|
|
740
|
-
<div
|
|
697
|
+
<div class={`${header_cssstyles.languagecontainer}` + ' row m-0 w-100 d-flex align-items-center '}>
|
|
741
698
|
<img src={usflag} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
742
699
|
</div>
|
|
743
700
|
)}
|
|
@@ -747,25 +704,25 @@ const Header8 = (props) => {
|
|
|
747
704
|
</div>
|
|
748
705
|
</div>
|
|
749
706
|
{/* Lower Header */}
|
|
750
|
-
<div
|
|
751
|
-
<div
|
|
707
|
+
<div class="col-lg-12 p-0 d-flex justify-content-center" style={{ background: sectionproperties.vl_bg }}>
|
|
708
|
+
<div class={`${header_cssstyles.divider}` + ' '}></div>
|
|
752
709
|
</div>
|
|
753
|
-
<div
|
|
710
|
+
<div class={`${header_cssstyles.lowerheadercontainer}` + ' row w-100 m-0 align-items-center '}>
|
|
754
711
|
<div
|
|
755
|
-
|
|
712
|
+
class={' col-lg-2 d-flex align-items-center '}
|
|
756
713
|
style={{}}
|
|
757
714
|
onClick={() => {
|
|
758
715
|
setdropdownselect(!dropdownselect);
|
|
759
716
|
}}
|
|
760
717
|
>
|
|
761
|
-
<div
|
|
762
|
-
<Dropdown
|
|
763
|
-
<Dropdown.Toggle
|
|
764
|
-
<div
|
|
765
|
-
<i
|
|
718
|
+
<div class={`${header_cssstyles.categorybtn}` + ' categoriesdropdown transformedDropdown d-flex align-items-center justify-content-center '}>
|
|
719
|
+
<Dropdown class="d-flex align-items-center justify-content-center">
|
|
720
|
+
<Dropdown.Toggle class="d-flex align-items-center justify-content-center">
|
|
721
|
+
<div class={`${header_cssstyles.btntextcontainer}` + ' row w-100 m-0 align-items-center '} style={{ paddingTop: '7px' }}>
|
|
722
|
+
<i class="h-100 d-flex align-items-center justify-content-center">
|
|
766
723
|
<HiMenuAlt4 size={25} color="white" />
|
|
767
724
|
</i>
|
|
768
|
-
<p
|
|
725
|
+
<p class={langdetect == 'en' ? ' m-0 p-0 ml-2' : ' m-0 p-0 mr-2 '}>{lang.shopbycategory}</p>
|
|
769
726
|
</div>
|
|
770
727
|
</Dropdown.Toggle>
|
|
771
728
|
<Dropdown.Menu style={{ minWidth: '250px', marginLeft: '-20px' }}>
|
|
@@ -776,11 +733,9 @@ const Header8 = (props) => {
|
|
|
776
733
|
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
|
|
777
734
|
}}
|
|
778
735
|
>
|
|
779
|
-
<div
|
|
780
|
-
<div
|
|
781
|
-
<p
|
|
782
|
-
{langdetect == 'en' ? item.title_en : item.title_ar}
|
|
783
|
-
</p>
|
|
736
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' row m-0 w-100 '}>
|
|
737
|
+
<div class={' col-lg-12 col-md-12 col-sm-12 p-0 d-flex justify-content-start align-items-center '}>
|
|
738
|
+
<p class={`${header_cssstyles.dropdownitem}` + ' dropdownitem text-overflow m-0 p-0 '}>{langdetect == 'en' ? item.title_en : item.title_ar}</p>
|
|
784
739
|
</div>
|
|
785
740
|
</div>
|
|
786
741
|
</Dropdown.Item>
|
|
@@ -791,14 +746,9 @@ const Header8 = (props) => {
|
|
|
791
746
|
</Dropdown>
|
|
792
747
|
</div>
|
|
793
748
|
</div>
|
|
794
|
-
<div
|
|
795
|
-
className="col-lg-10 flex-row align-items-center justify-content-start"
|
|
796
|
-
style={{
|
|
797
|
-
display: sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'block' : 'flex',
|
|
798
|
-
}}
|
|
799
|
-
>
|
|
749
|
+
<div class="col-lg-10 flex-row d-flex align-items-center justify-content-start">
|
|
800
750
|
<ul
|
|
801
|
-
|
|
751
|
+
class={' mb-0 pb-0 mt-0 flex-row justify-content-start '}
|
|
802
752
|
style={{
|
|
803
753
|
display: sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
|
|
804
754
|
}}
|
|
@@ -811,43 +761,20 @@ const Header8 = (props) => {
|
|
|
811
761
|
}
|
|
812
762
|
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
813
763
|
return (
|
|
814
|
-
// <div
|
|
815
|
-
// onClick={() => {
|
|
816
|
-
// history.push(item.navigationroute);
|
|
817
|
-
// }}
|
|
818
|
-
// >
|
|
819
|
-
// <li
|
|
820
|
-
// onClick={() => {
|
|
821
|
-
// history.push(item.navigationroute);
|
|
822
|
-
// }}
|
|
823
|
-
// className={`${activeclass}`}
|
|
824
|
-
// style={{
|
|
825
|
-
// marginRight: langdetect == 'en' ? '25px' : 0,
|
|
826
|
-
// marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
827
|
-
// }}
|
|
828
|
-
// >
|
|
829
|
-
// <div className={`${header_cssstyles.navbar_item_text}`}> {langdetect == 'en' ? item.pagename : item.pagename_ar}</div>
|
|
830
|
-
// </li>
|
|
831
|
-
// </div>
|
|
832
764
|
<div
|
|
833
765
|
style={{ cursor: 'pointer' }}
|
|
834
766
|
onClick={() => {
|
|
835
767
|
routingcountext(item.navigationroute);
|
|
836
|
-
|
|
837
|
-
// alert(item.navigationroute);
|
|
838
|
-
// history.push(item.navigationroute);
|
|
839
768
|
}}
|
|
840
769
|
>
|
|
841
770
|
<li
|
|
842
|
-
|
|
771
|
+
class={`${activeclass}`}
|
|
843
772
|
style={{
|
|
844
773
|
marginRight: langdetect == 'en' ? '25px' : 0,
|
|
845
774
|
marginLeft: langdetect == 'en' ? 0 : '25px',
|
|
846
775
|
}}
|
|
847
776
|
>
|
|
848
|
-
<div
|
|
849
|
-
<span>{langdetect == 'en' ? item.pagename : item.pagename_ar}</span>
|
|
850
|
-
</div>
|
|
777
|
+
<div class={`${header_cssstyles.navbar_item_text}`}> {langdetect == 'en' ? item.pagename : item.pagename_ar}</div>
|
|
851
778
|
</li>
|
|
852
779
|
</div>
|
|
853
780
|
);
|
|
@@ -868,10 +795,10 @@ const Header8 = (props) => {
|
|
|
868
795
|
</div>
|
|
869
796
|
</div>
|
|
870
797
|
{sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
|
|
871
|
-
<div
|
|
798
|
+
<div class="col-lg-12 p-0">
|
|
872
799
|
<Subheader
|
|
873
|
-
sectionpropertiesprops={sectionproperties}
|
|
874
800
|
actions={actions}
|
|
801
|
+
sectionpropertiesprops={sectionproperties}
|
|
875
802
|
subheaderpropertiesprops={{
|
|
876
803
|
subheaderpositionprops: 'Full Width',
|
|
877
804
|
paddingLeftprops: '25px',
|