tabexseriescomponents 0.0.706 → 0.0.708
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/srcoman/Contexts/LanguageContext.jsx +408 -0
- package/srcoman/Contexts/ProductsCardsSectionContext.jsx +36 -0
- package/srcoman/Imagekitconfig.jsx +46 -0
- package/srcoman/StylesJS/Customstyles.js +345 -0
- package/srcoman/TabexComponents/Cards/CTAProductCard/CTAProductCard.jsx +376 -0
- package/srcoman/TabexComponents/Cards/Card20/Card20.jsx +298 -0
- package/srcoman/TabexComponents/Cards/Card21/Card21.jsx +388 -0
- package/srcoman/TabexComponents/Cards/Card22/Card22.jsx +288 -0
- package/srcoman/TabexComponents/Cards/Card23/Card23 copy.jsx +1630 -0
- package/srcoman/TabexComponents/Cards/Card23/Card23.jsx +742 -0
- package/srcoman/TabexComponents/Cards/CardAll/CardAll.jsx +453 -0
- package/srcoman/TabexComponents/Cards/CardBadgeSlideFromTop/CardBadgeSlideFromTop.jsx +394 -0
- package/srcoman/TabexComponents/Cards/CardWithTextOnly/CardWithTextOnly.jsx +70 -0
- package/srcoman/TabexComponents/Cards/CategoryCardTextOnImage/CategoryCardTextOnImage.jsx +211 -0
- package/srcoman/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +255 -0
- package/srcoman/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +235 -0
- package/srcoman/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +199 -0
- package/srcoman/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +182 -0
- package/srcoman/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +181 -0
- package/srcoman/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +161 -0
- package/srcoman/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
- package/srcoman/TabexComponents/Cards/CircleCardWithVariants/CircleCardWithVariants.jsx +560 -0
- package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard copy.jsx +145 -0
- package/srcoman/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +146 -0
- package/srcoman/TabexComponents/Cards/Classiccategorycard/ClassiccategorycardOriginal.jsx +142 -0
- package/srcoman/TabexComponents/Cards/HorizontalCategoryCard/HorizontalCategoryCard.jsx +193 -0
- package/srcoman/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +409 -0
- package/srcoman/TabexComponents/Cards/MenuCard/MenuCard.jsx +732 -0
- package/srcoman/TabexComponents/Cards/ModernCardWithQuantityButton/ModernCardWithQuantityButton.jsx +468 -0
- package/srcoman/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +593 -0
- package/srcoman/TabexComponents/Cards/Moderncategorycard/Moderncategorycard.jsx +208 -0
- package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard copy.jsx +497 -0
- package/srcoman/TabexComponents/Cards/NewProductcard/NewProductcard.jsx +512 -0
- package/srcoman/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx +304 -0
- package/srcoman/TabexComponents/Cards/Productcard6/Productcard6.jsx +257 -0
- package/srcoman/TabexComponents/Cards/Productcard7/Productcard7.jsx +277 -0
- package/srcoman/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +352 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +291 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +315 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +327 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants copy.jsx +408 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +528 -0
- package/srcoman/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +558 -0
- package/srcoman/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +275 -0
- package/srcoman/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
- package/srcoman/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +137 -0
- package/srcoman/TabexComponents/Cards/QuantityButtonBasedProductCard/QuantityButtonBasedProductCard.jsx +613 -0
- package/srcoman/TabexComponents/Cards/ServiceCard/ServiceCard.jsx +413 -0
- package/srcoman/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +225 -0
- package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy 2.jsx +525 -0
- package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard copy.jsx +455 -0
- package/srcoman/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +905 -0
- package/srcoman/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +337 -0
- package/srcoman/TabexComponents/Cards/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +347 -0
- package/srcoman/TabexComponents/Cards/UpSlideEffectCard/UpSlideEffectCard.jsx +605 -0
- package/srcoman/TabexComponents/Cards/UserCardWithSocialMediaOnHover/UserCardWithSocialMediaOnHover.jsx +185 -0
- package/srcoman/TabexComponents/Footer/Allinonefooter/Allinonefooter.jsx +528 -0
- package/srcoman/TabexComponents/Footer/Footer1/Footer1.jsx +780 -0
- package/srcoman/TabexComponents/Footer/Footer2/Footer2.jsx +527 -0
- package/srcoman/TabexComponents/Footer/Footer3/Footer3.jsx +411 -0
- package/srcoman/TabexComponents/Footer/Footer4/Footer4.jsx +466 -0
- package/srcoman/TabexComponents/Footer/Footer5/Footer5.jsx +714 -0
- package/srcoman/TabexComponents/Footer/Footer6/Footer6.jsx +290 -0
- package/srcoman/TabexComponents/Footer/Footer7/Footer7.jsx +428 -0
- package/srcoman/TabexComponents/Footer/Footer8/Footer8.jsx +533 -0
- package/srcoman/TabexComponents/Footer/FooterWithThreeColumns/FooterWithThreeColumns.jsx +330 -0
- package/srcoman/TabexComponents/Footer/ModernFooter/ModernFooter.jsx +562 -0
- package/srcoman/TabexComponents/Footer/Newsletterfooter/Newsletterfooter.jsx +865 -0
- package/srcoman/TabexComponents/Footer/Newsletterincenter/Newsletterincenter.jsx +647 -0
- package/srcoman/TabexComponents/Footer/PrivacyPolicy/PrivacyPolicy.jsx +110 -0
- package/srcoman/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +316 -0
- package/srcoman/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcoman/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/srcoman/TabexComponents/Headers/CTAHeader/CTAHeader.jsx +1259 -0
- package/srcoman/TabexComponents/Headers/CategoryFeaturingHeader/CategoryFeaturingHeader.jsx +1049 -0
- package/srcoman/TabexComponents/Headers/CenteredLogoHeaderWithSlider/CenteredLogoHeaderWithSlider.jsx +1040 -0
- package/srcoman/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +1263 -0
- package/srcoman/TabexComponents/Headers/DownloadApp/DownloadApp.jsx +76 -0
- package/srcoman/TabexComponents/Headers/ElegantHeader/ElegantHeader.jsx +894 -0
- package/srcoman/TabexComponents/Headers/Gotoheader/Gotoheader.jsx +831 -0
- package/srcoman/TabexComponents/Headers/Header4/Header4.jsx +622 -0
- package/srcoman/TabexComponents/Headers/Header8/Header8 copy.jsx +1026 -0
- package/srcoman/TabexComponents/Headers/Header8/Header8.jsx +1976 -0
- package/srcoman/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +776 -0
- package/srcoman/TabexComponents/Headers/HeaderWithAdSlider/HeaderWithAdSlider.jsx +927 -0
- package/srcoman/TabexComponents/Headers/HeaderWithSearchOnCenter/HeaderWithSearchOnCenter.jsx +704 -0
- package/srcoman/TabexComponents/Headers/HeaderWithUtilityBar/HeaderWithUtilityBar.jsx +902 -0
- package/srcoman/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +953 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +1562 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsive11-1.jsx +1201 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveOriginal.jsx +990 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2 copy.jsx +1639 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/HeaderresponsiveStyle2.jsx +1610 -0
- package/srcoman/TabexComponents/Headers/Headerresponsive/Headerresponsivenew.jsx +1327 -0
- package/srcoman/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +934 -0
- package/srcoman/TabexComponents/Headers/MarqueeHeader/MarqueeHeader.jsx +78 -0
- package/srcoman/TabexComponents/Headers/Modernheader/Modernheader.jsx +972 -0
- package/srcoman/TabexComponents/Headers/SearchCenteredHeader/SearchCenteredHeader.jsx +778 -0
- package/srcoman/TabexComponents/Headers/SearchFocusedHeader/SearchFocusedHeader.jsx +1159 -0
- package/srcoman/TabexComponents/Headers/Simpleheader/Simpleheader.jsx +1073 -0
- package/srcoman/TabexComponents/Headers/SocialMediaSection/SocialMediaSection.jsx +133 -0
- package/srcoman/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +854 -0
- package/srcoman/TabexComponents/Headers/Subheader/Subheader.jsx +863 -0
- package/srcoman/TabexComponents/Headers/Subheader/Subheader13-3.jsx +685 -0
- package/srcoman/TabexComponents/Headers/Subheader/SubheaderOriginal.jsx +517 -0
- package/srcoman/TabexComponents/Headers/Subheader/Subheadernew.jsx +555 -0
- package/srcoman/TabexComponents/Headers/ThreeTieredHeader/ThreeTieredHeader.jsx +1042 -0
- package/srcoman/TabexComponents/Headers/TwoTieredHeader/TwoTieredHeader.jsx +1089 -0
- package/srcoman/TabexComponents/Headers/TwoTieredWithCenteredLogoHeader/TwoTieredWithCenteredLogoHeader.jsx +936 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BacgroundThreeImageWithCategories/BacgroundThreeImageWithCategories.jsx +533 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundFiveImageStructure/BackgroundFiveImageStructure.jsx +338 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundImageWithTopContent/BackgroundImageWithTopContent.jsx +870 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundSectionWithServicesCards/BackgroundSectionWithServicesCards.jsx +302 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +314 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +318 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +179 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Bgimagewithsearchbar/Bgimagewithsearchbar.jsx +201 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/CollapsableSection/CollapsableSection.jsx +393 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy 2.jsx +583 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm copy.jsx +291 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/DynamicForm.jsx +627 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/DynamicForm/habal +348 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Filterwithcategoriespcoll/Filterwithcategoriespcoll.jsx +387 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/FullVideoSection/FullVideoSection.jsx +268 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/MapsSection/MapsSection.jsx +288 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Popupcomponent/Popupcomponent.jsx +117 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Searchcomponent/Searchcomponent.jsx +99 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +146 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/TextSectionConnectToWA/TextSectionConnectToWA.jsx +462 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +296 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages copy.jsx +396 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +617 -0
- package/srcoman/TabexComponents/Sections/BackgroundImages/VideosSection/VideosSection.jsx +408 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 2.jsx +1399 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy 3.jsx +1656 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection copy.jsx +1540 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +1898 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection13-3.jsx +1596 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection21-10.jsx +1872 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection/CardsSection_cosmoandmore.jsx +1880 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +726 -0
- package/srcoman/TabexComponents/Sections/Cards/CardsSectionwithfilter/CardsSectionwithfilter.jsx +719 -0
- package/srcoman/TabexComponents/Sections/Cards/ElegantCategoriesCardSection/ElegantCategoriesCardSection.jsx +406 -0
- package/srcoman/TabexComponents/Sections/Cards/ModernCardsSection/ModernCardsSection.jsx +929 -0
- package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards copy.jsx +646 -0
- package/srcoman/TabexComponents/Sections/Cards/RandomlyStructuredCollectionCards/RandomlyStructuredCollectionCards.jsx +962 -0
- package/srcoman/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +582 -0
- package/srcoman/TabexComponents/Sections/Cards/UsersCardsSection/UsersCardsSection.jsx +383 -0
- package/srcoman/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +342 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +161 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ContactUsSection/ContactUsSection.jsx +257 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection copy.jsx +382 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +437 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection19-11.jsx +757 -0
- package/srcoman/TabexComponents/Sections/Slideshow/HorizontalContactUsSection/HorizontalContactUsSection.jsx +346 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +1769 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +141 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ServiceSectionWithImage/ServiceSectionWithImage.jsx +376 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +380 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +867 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +226 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +149 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +143 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade copy.jsx +634 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +520 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide copy.jsx +527 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +643 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideOriginal.jsx +477 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/SlideshowslideRecent.jsx +1217 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslideoriginal8-5.jsx +614 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.jsx +91 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom copy.jsx +380 -0
- package/srcoman/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +619 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow copy.jsx +284 -0
- package/srcoman/TabexComponents/Sections/Slideshow/ThreeSectionsWithSlideshow/ThreeSectionsWithSlideshow.jsx +614 -0
- package/srcoman/TabexComponents/Sections/Slideshow/TwoWayServiceSectionWithImage/TwoWayServiceSectionWithImage.jsx +402 -0
- package/srcoman/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +199 -0
- package/srcoman/TabexComponents/StaticPages/AddReview/AddReview.jsx +304 -0
- package/srcoman/TabexComponents/StaticPages/Afiiliatesignup/Afiiliatesignup.jsx +321 -0
- package/srcoman/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +797 -0
- package/srcoman/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +460 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout copy.jsx +1306 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout.jsx +1892 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout10-1.jsx +1633 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout26-9.jsx +1593 -0
- package/srcoman/TabexComponents/StaticPages/Checkout/Checkout9-9.jsx +1574 -0
- package/srcoman/TabexComponents/StaticPages/Filter/CollectionsFilterHorizontal.jsx +245 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter copy 2.jsx +2888 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter copy.jsx +1450 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter.jsx +2771 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter1-5.jsx +2624 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter13-11.jsx +2758 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter14-8.jsx +2753 -0
- package/srcoman/TabexComponents/StaticPages/Filter/Filter17-9.jsx +1495 -0
- package/srcoman/TabexComponents/StaticPages/Filter/VariantFilter.jsx +1271 -0
- package/srcoman/TabexComponents/StaticPages/InnerGroups/InnerGroups.jsx +62 -0
- package/srcoman/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +50 -0
- package/srcoman/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
- package/srcoman/TabexComponents/StaticPages/Login/Login copy.jsx +1060 -0
- package/srcoman/TabexComponents/StaticPages/Login/Login.jsx +610 -0
- package/srcoman/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.jsx +172 -0
- package/srcoman/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1584 -0
- package/srcoman/TabexComponents/StaticPages/Policies/Policies.jsx +291 -0
- package/srcoman/TabexComponents/StaticPages/PrivacyPolicy/PrivacyPolicy.jsx +194 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Addreviewform.jsx +183 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/AddreviewformOriginal.jsx +128 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Article_itemtype.jsx +255 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/DescriptionContent.jsx +176 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtraFields.jsx +225 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductExtras.jsx +92 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductHeaderPricing.jsx +312 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/ProductReviews.jsx +235 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype.jsx +1983 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype10-1.jsx +1554 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype3-11.jsx +1827 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtype31-3.jsx +1351 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Product_itemtypeUpdated.jsx +1566 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1946 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Service_itemtype.jsx +1037 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Serviceinfotabs.jsx +966 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions.jsx +632 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/Variantoptions21-9.jsx +324 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo/staticroutersidenav.module.css +145 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Addreviewform.jsx +183 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/AddreviewformOriginal.jsx +128 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/DescriptionContent.jsx +140 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductExtraFields.jsx +225 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductHeaderPricing.jsx +310 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/ProductReviews.jsx +235 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype.jsx +1672 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype10-1.jsx +1554 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtype31-3.jsx +1351 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Product_itemtypeUpdated.jsx +1566 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Productinfo.jsx +1804 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Service_itemtype.jsx +560 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Serviceinfotabs.jsx +919 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions.jsx +597 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/Variantoptions21-9.jsx +324 -0
- package/srcoman/TabexComponents/StaticPages/Productinfo4-4/staticroutersidenav.module.css +145 -0
- package/srcoman/TabexComponents/StaticPages/RefundPolicy/RefundPolicy.jsx +194 -0
- package/srcoman/TabexComponents/StaticPages/Resetpassword/Resetpassword.jsx +338 -0
- package/srcoman/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +359 -0
- package/srcoman/TabexComponents/StaticPages/ShippingPolicy/ShippingPolicy.jsx +113 -0
- package/srcoman/TabexComponents/StaticPages/Signup/CustomerAddressForm.jsx +277 -0
- package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm copy.jsx +1135 -0
- package/srcoman/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +1364 -0
- package/srcoman/TabexComponents/StaticPages/Signup/Signup.jsx +199 -0
- package/srcoman/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +292 -0
- package/srcoman/TabexComponents/StaticPages/TermsConditions/TermsConditions.jsx +113 -0
- package/srcoman/TabexComponents/StaticPages/VendorPage/VendorPage.jsx +162 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart 10-10.jsx +765 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart.jsx +786 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/Viewcart26-9.jsx +786 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartOriginal.jsx +786 -0
- package/srcoman/TabexComponents/StaticPages/Viewcart/ViewcartUpdated.jsx +1425 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +844 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist25-4.jsx +555 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/Wishlist26-9.jsx +555 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistOriginal.jsx +555 -0
- package/srcoman/TabexComponents/StaticPages/Wishlist/WishlistUpdated.jsx +815 -0
- package/srcoman/button.jsx +40 -0
- package/srcoman/index.jsx +334 -0
- package/srcoman/styles/Home.module.css +129 -0
- package/srcoman/styles/cards/Categorcycard_fullimage.module.css +14 -0
- package/srcoman/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
- package/srcoman/styles/cards/Categorycard_withshapes.module.css +189 -0
- package/srcoman/styles/cards/ModernCardWithQuantityButton.module.css +30 -0
- package/srcoman/styles/cards/Productcard6.module.css +9 -0
- package/srcoman/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
- package/srcoman/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
- package/srcoman/styles/cards/UserCardWithSocialMediaOnHover.module.css +65 -0
- package/srcoman/styles/cards/card23.module.css +60 -0
- package/srcoman/styles/cards/categorycard.module.css +84 -0
- package/srcoman/styles/cards/categorycard3.module.css +50 -0
- package/srcoman/styles/cards/categorycardwithtext.module.css +40 -0
- package/srcoman/styles/cards/generalCardsStyles.module.css +79 -0
- package/srcoman/styles/cards/productcard_animatedbuttons.module.css +139 -0
- package/srcoman/styles/cards/productcard_with_textonhover.module.css +18 -0
- package/srcoman/styles/cards/productcard_withtextonimage.module.css +0 -0
- package/srcoman/styles/cards/productccard_with_imageontopleft.module.css +85 -0
- package/srcoman/styles/general/bootstrap.css +4763 -0
- package/srcoman/styles/general/dropdown.css +206 -0
- package/srcoman/styles/general/editorbardropdown.module.css +94 -0
- package/srcoman/styles/general/filter.module.css +108 -0
- package/srcoman/styles/general/form.module.css +255 -0
- package/srcoman/styles/general/general.module.css +872 -0
- package/srcoman/styles/general/image-gallery.css +531 -0
- package/srcoman/styles/general/react-accessible-accordion.module.css +52 -0
- package/srcoman/styles/general/react-phone-input-2.module.css +927 -0
- package/srcoman/styles/general/scrollbtn.module.css +22 -0
- package/srcoman/styles/general/slick.module.css +166 -0
- package/srcoman/styles/general/tabs.module.css +119 -0
- package/srcoman/styles/general/workplaceeditor.module.css +328 -0
- package/srcoman/styles/globals.css +26 -0
- package/srcoman/styles/headers/CTAHeader.module.css +40 -0
- package/srcoman/styles/headers/CategoryFeaturingHeader.module.css +61 -0
- package/srcoman/styles/headers/Gotoheader.module.css +87 -0
- package/srcoman/styles/headers/Header7.module.css +50 -0
- package/srcoman/styles/headers/HeaderWithAdSlider.module.css +86 -0
- package/srcoman/styles/headers/HeaderWithSearchOnCenter.module.css +101 -0
- package/srcoman/styles/headers/HeaderWithUtilityBar.module.css +46 -0
- package/srcoman/styles/headers/Header_threesectionslogocentered.module.css +84 -0
- package/srcoman/styles/headers/NewHeader.module.css +101 -0
- package/srcoman/styles/headers/SearchFocusedHeader.module.css +62 -0
- package/srcoman/styles/headers/Sideheader.module.css +108 -0
- package/srcoman/styles/headers/Simpleheader.module.css +102 -0
- package/srcoman/styles/headers/classicheader.module.css +16 -0
- package/srcoman/styles/headers/classicheaderstyles.module.css +9 -0
- package/srcoman/styles/headers/dropdown.css +0 -0
- package/srcoman/styles/headers/header4.module.css +175 -0
- package/srcoman/styles/headers/header5.module.css +30 -0
- package/srcoman/styles/headers/header_contactinfo.module.css +53 -0
- package/srcoman/styles/headers/headerresturant.module.css +89 -0
- package/srcoman/styles/headers/modernheader.module.css +45 -0
- package/srcoman/styles/headers/stylishheader.module.css +24 -0
- package/srcoman/styles/headers/subheader.module.css +114 -0
- package/srcoman/styles/headers/threetieredheader.module.css +91 -0
- package/srcoman/styles/sections/BackgroundImageWithTopContent.css +4 -0
- package/srcoman/styles/sections/Backgroundimage1.module.css +17 -0
- package/srcoman/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
- package/srcoman/styles/sections/Freetext.module.css +18 -0
- package/srcoman/styles/sections/Section_with_rightbgcont.module.css +49 -0
- package/srcoman/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
- package/srcoman/styles/sections/Slideshow_with_squarebg.module.css +39 -0
- package/srcoman/styles/staticpages/accordion.module.css +9 -0
- package/srcoman/styles/staticpages/cart.module.css +108 -0
- package/srcoman/styles/staticpages/dropdown.css +196 -0
- package/srcoman/styles/staticpages/filter.module.css +139 -0
- package/srcoman/styles/staticpages/image-gallery.css +481 -0
- package/srcoman/styles/staticpages/login.module.css +155 -0
- package/srcoman/styles/staticpages/productinfo.module.css +54 -0
- package/srcoman/styles/staticpages/shop.module.css +191 -0
- package/srcoman/styles/staticpages/signup.module.css +250 -0
- package/srcoman/styles/staticpages/staticroutersidenav.module.css +129 -0
- package/srcoman/styles/staticpages/viewcart.module.css +129 -0
- package/srcoman/styles/staticpages/wishlist.module.css +29 -0
|
@@ -0,0 +1,776 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
import Dropdown from 'react-bootstrap/Dropdown';
|
|
3
|
+
import headerstyles from '../../../styles/headers/headerresturant.module.css';
|
|
4
|
+
import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
|
|
5
|
+
import { css } from 'glamor';
|
|
6
|
+
import Headerresponsive from '../Headerresponsive/Headerresponsive.jsx';
|
|
7
|
+
import HeaderresponsiveStyle2 from '../Headerresponsive/HeaderresponsiveStyle2.jsx';
|
|
8
|
+
|
|
9
|
+
import Subheader from '../Subheader/Subheader.jsx';
|
|
10
|
+
import { BiLogOutCircle } from '@react-icons/all-files/bi/BiLogOutCircle';
|
|
11
|
+
import { AiOutlineSecurityScan } from '@react-icons/all-files/ai/AiOutlineSecurityScan';
|
|
12
|
+
import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
|
|
13
|
+
import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
|
|
14
|
+
import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
|
|
15
|
+
import { BsInfoCircle } from '@react-icons/all-files/bs/BsInfoCircle';
|
|
16
|
+
import { HiOutlineShoppingBag } from '@react-icons/all-files/hi/HiOutlineShoppingBag';
|
|
17
|
+
import { BsBag } from '@react-icons/all-files/bs/BsBag';
|
|
18
|
+
import { FaWhatsapp } from '@react-icons/all-files/fa/FaWhatsapp';
|
|
19
|
+
import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
|
|
20
|
+
import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
|
|
21
|
+
import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
|
|
22
|
+
import { FiUser } from '@react-icons/all-files/fi/FiUser';
|
|
23
|
+
import { FaFacebookF } from '@react-icons/all-files/fa/FaFacebookF';
|
|
24
|
+
import { AiFillInstagram } from '@react-icons/all-files/ai/AiFillInstagram';
|
|
25
|
+
import { AiOutlineLogin } from '@react-icons/all-files/ai/AiOutlineLogin';
|
|
26
|
+
import { AiOutlineUserAdd } from '@react-icons/all-files/ai/AiOutlineUserAdd';
|
|
27
|
+
import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
|
|
28
|
+
import { AiOutlineHeart } from '@react-icons/all-files/ai/AiOutlineHeart';
|
|
29
|
+
import { FiCalendar } from '@react-icons/all-files/fi/FiCalendar';
|
|
30
|
+
|
|
31
|
+
const HeaderRestaurant = (props) => {
|
|
32
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
33
|
+
const LogoutMutationContext = props.actions.LogoutMutationContext;
|
|
34
|
+
const fetchcustomercartQueryContext = props.actions.fetchcustomercartQueryContext;
|
|
35
|
+
const setsidecartnavshowcontext = props.actions.setsidecartnavshowcontext;
|
|
36
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
37
|
+
const lang = props.actions.lang;
|
|
38
|
+
const langdetect = props.actions.langdetect;
|
|
39
|
+
const setlang = props.actions.setlang;
|
|
40
|
+
const templatepropcontext = props.actions.templatepropcontext;
|
|
41
|
+
const authdetailsContext = props.actions.authdetailsContext;
|
|
42
|
+
const templateproperties_context = props.actions.templateproperties_context;
|
|
43
|
+
const favoriteprojectscountContext = props.actions.favoriteprojectscountContext;
|
|
44
|
+
const routingcountext = props.actions.routingcountext;
|
|
45
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
46
|
+
const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
47
|
+
const actions = props.actions;
|
|
48
|
+
useEffect(() => {
|
|
49
|
+
var secpropobj = {};
|
|
50
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
51
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
52
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
53
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
if (Object.keys(secpropobj).length === 0) {
|
|
58
|
+
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
59
|
+
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
setsectionproperties({ ...secpropobj });
|
|
63
|
+
}, [StatePagePropertiesContext]);
|
|
64
|
+
const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
67
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
68
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
69
|
+
setlogoarrayofobjects([...logoarrayofobjectsparsed]);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}, [templateproperties_context]);
|
|
73
|
+
const header_cssstyles = {
|
|
74
|
+
header_logo: css({
|
|
75
|
+
width: templateproperties_context.logo_width + 'px',
|
|
76
|
+
height: templateproperties_context.logo_height + 'px',
|
|
77
|
+
}),
|
|
78
|
+
header_innercontainer: css({
|
|
79
|
+
justifyContent: 'center',
|
|
80
|
+
marginTop: sectionproperties.header_marginTop + 'px',
|
|
81
|
+
marginBottom: sectionproperties.header_marginBottom + 'px',
|
|
82
|
+
width: '100vw',
|
|
83
|
+
position: sectionproperties.headerstyles_position,
|
|
84
|
+
zIndex: 11000,
|
|
85
|
+
backgroundColor: sectionproperties.headerstyles_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.header_backgroundColor,
|
|
86
|
+
borderRadius: sectionproperties.header_borderBottomLeftRadius + 'px',
|
|
87
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.header_paddingLeft + 'px' : sectionproperties.header_paddingRight + 'px',
|
|
88
|
+
paddingRight: langdetect == 'en' ? sectionproperties.header_paddingRight + 'px' : sectionproperties.header_paddingLeft + 'px',
|
|
89
|
+
paddingTop: sectionproperties.header_paddingTop + 'px',
|
|
90
|
+
paddingBottom: sectionproperties.header_paddingBottom + 'px',
|
|
91
|
+
}),
|
|
92
|
+
navbar_item_text: css({
|
|
93
|
+
color: sectionproperties.header_fontColor,
|
|
94
|
+
fontSize: sectionproperties.header_fontSize + 'px',
|
|
95
|
+
textTransform: sectionproperties.header_textTransform,
|
|
96
|
+
fontWeight: sectionproperties.header_textfontweight,
|
|
97
|
+
':after': {
|
|
98
|
+
background: sectionproperties.header_fontColoronhover,
|
|
99
|
+
},
|
|
100
|
+
':hover': {
|
|
101
|
+
color: sectionproperties.header_fontColoronhover,
|
|
102
|
+
},
|
|
103
|
+
}),
|
|
104
|
+
cart_btn: css({
|
|
105
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
106
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
107
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
108
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
109
|
+
color: sectionproperties.cart_iconcolor,
|
|
110
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
111
|
+
transition: '.3s',
|
|
112
|
+
':hover': {
|
|
113
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
114
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
115
|
+
},
|
|
116
|
+
}),
|
|
117
|
+
badge_counter_header_notifications: css({
|
|
118
|
+
background: sectionproperties.badge_bgcolor,
|
|
119
|
+
width: sectionproperties.badge_width + 'px',
|
|
120
|
+
height: sectionproperties.badge_height + 'px',
|
|
121
|
+
color: sectionproperties.badge_color,
|
|
122
|
+
borderRadius: sectionproperties.badge_borderradius + 'px',
|
|
123
|
+
fontSize: sectionproperties.badge_fontsize + 'px',
|
|
124
|
+
}),
|
|
125
|
+
infoiconcontainer: css({
|
|
126
|
+
width: sectionproperties.iconcontainerwidth + 'px',
|
|
127
|
+
height: sectionproperties.iconcontainerheight + 'px',
|
|
128
|
+
borderBottomLeftRadius: sectionproperties.iconcontainerborderbl + 'px',
|
|
129
|
+
borderBottomRightRadius: sectionproperties.iconcontainerborderbr + 'px',
|
|
130
|
+
borderTopLeftRadius: sectionproperties.iconcontainerbordertl + 'px',
|
|
131
|
+
borderTopRightRadius: sectionproperties.iconcontainerbordertr + 'px',
|
|
132
|
+
backgroundColor: sectionproperties.iconcontainerbg,
|
|
133
|
+
color: sectionproperties.iconcontainercolor,
|
|
134
|
+
':hover': {
|
|
135
|
+
transition: '.3s',
|
|
136
|
+
background: sectionproperties.iconcontainerbgonhover,
|
|
137
|
+
color: sectionproperties.iconcontainercoloronhover,
|
|
138
|
+
},
|
|
139
|
+
}),
|
|
140
|
+
facebook_btn: css({
|
|
141
|
+
cursor: 'pointer',
|
|
142
|
+
background: sectionproperties.facebkbtnn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.facebkbtnnbgColor,
|
|
143
|
+
width: sectionproperties.facebkbtnnWidth + 'px',
|
|
144
|
+
height: sectionproperties.facebkbtnnHeight + 'px',
|
|
145
|
+
borderRadius: sectionproperties.facebkbtnn_borderRadius + 'px',
|
|
146
|
+
color: sectionproperties.facebkbtnnTextcolor,
|
|
147
|
+
border: sectionproperties.facebkbtnnborderwidth + 'px solid ' + sectionproperties.facebkbtnnbordercolor,
|
|
148
|
+
transition: '.3s',
|
|
149
|
+
':hover': {
|
|
150
|
+
background: sectionproperties.facebkbtnntransparentbgcoloronhover == 'transparent' ? 'Transparent' : sectionproperties.facebkbtnnbgColoronhover,
|
|
151
|
+
color: sectionproperties.facebkbtnnTextcoloronhover,
|
|
152
|
+
borderColor: sectionproperties.facebkbtnntransparentbgcoloronhover == 'Transparent' ? sectionproperties.facebkbtnnTextcoloronhover : sectionproperties.facebkbtnnbgColoronhover,
|
|
153
|
+
},
|
|
154
|
+
}),
|
|
155
|
+
youtube_btn: css({
|
|
156
|
+
cursor: 'pointer',
|
|
157
|
+
background: sectionproperties.youtubebtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColor,
|
|
158
|
+
width: sectionproperties.youtubebtnWidth + 'px',
|
|
159
|
+
height: sectionproperties.youtubebtnHeight + 'px',
|
|
160
|
+
borderRadius: sectionproperties.youtubebtn_borderRadius + 'px',
|
|
161
|
+
color: sectionproperties.youtubebtnTextcolor,
|
|
162
|
+
border: sectionproperties.youtubebtnborderwidth + 'px solid ' + sectionproperties.youtubebtnbordercolor,
|
|
163
|
+
transition: '.3s',
|
|
164
|
+
':hover': {
|
|
165
|
+
background: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.youtubebtnbgColoronhover,
|
|
166
|
+
color: sectionproperties.youtubebtnTextcoloronhover,
|
|
167
|
+
borderColor: sectionproperties.youtubebtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.youtubebtnTextcoloronhover : sectionproperties.youtubebtnbgColoronhover,
|
|
168
|
+
},
|
|
169
|
+
}),
|
|
170
|
+
instgram_btn: css({
|
|
171
|
+
cursor: 'pointer',
|
|
172
|
+
background: sectionproperties.instgrambtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColor,
|
|
173
|
+
width: sectionproperties.instgrambtnWidth + 'px',
|
|
174
|
+
height: sectionproperties.instgrambtnHeight + 'px',
|
|
175
|
+
borderRadius: sectionproperties.instgrambtn_borderRadius + 'px',
|
|
176
|
+
color: sectionproperties.instgrambtnTextcolor,
|
|
177
|
+
border: sectionproperties.instgrambtnborderwidth + 'px solid ' + sectionproperties.instgrambtnbordercolor,
|
|
178
|
+
transition: '.3s',
|
|
179
|
+
':hover': {
|
|
180
|
+
background: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.instgrambtnbgColoronhover,
|
|
181
|
+
color: sectionproperties.instgrambtnTextcoloronhover,
|
|
182
|
+
borderColor: sectionproperties.instgrambtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.instgrambtnTextcoloronhover : sectionproperties.instgrambtnbgColoronhover,
|
|
183
|
+
},
|
|
184
|
+
}),
|
|
185
|
+
user_btn: css({
|
|
186
|
+
background: sectionproperties.userbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColor,
|
|
187
|
+
width: sectionproperties.userBtnWidth + 'px',
|
|
188
|
+
height: sectionproperties.userBtnHeight + 'px',
|
|
189
|
+
borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
|
|
190
|
+
color: sectionproperties.userBtniconcolor,
|
|
191
|
+
fontSize: sectionproperties.userBtniconfontsize + 'px',
|
|
192
|
+
border: sectionproperties.userbtnborderwidth + 'px solid ' + sectionproperties.userbtnbordercolor,
|
|
193
|
+
cursor: 'pointer',
|
|
194
|
+
transition: '.3s',
|
|
195
|
+
':hover': {
|
|
196
|
+
color: sectionproperties.userBtnTextcoloronhover,
|
|
197
|
+
background: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.userBtnbgColoronhover,
|
|
198
|
+
borderColor: sectionproperties.userbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.userBtnTextcoloronhover : sectionproperties.userBtnbgColoronhover,
|
|
199
|
+
},
|
|
200
|
+
}),
|
|
201
|
+
loggedinusername: css({
|
|
202
|
+
fontWeight: sectionproperties.userBtnTextfontweight,
|
|
203
|
+
textTransform: sectionproperties.userBtnTexttransform,
|
|
204
|
+
color: sectionproperties.userBtnTextcolor,
|
|
205
|
+
fontSize: sectionproperties.userBtntextfontsize + 'px',
|
|
206
|
+
lineHeight: sectionproperties.userBtntextfontsize + 'px',
|
|
207
|
+
transition: '.3s',
|
|
208
|
+
maxWidth: '40px',
|
|
209
|
+
}),
|
|
210
|
+
greetingstyles: css({
|
|
211
|
+
color: sectionproperties.greetingtextcolor,
|
|
212
|
+
fontSize: sectionproperties.greetingtextfontsize + 'px',
|
|
213
|
+
lineHeight: sectionproperties.greetingtextfontsize + 'px',
|
|
214
|
+
fontWeight: 400,
|
|
215
|
+
}),
|
|
216
|
+
loggedinuserbtn: css({
|
|
217
|
+
width: sectionproperties.loggedinuserbtn_width + 'px',
|
|
218
|
+
height: sectionproperties.loggedinuserbtn_height + 'px',
|
|
219
|
+
border: sectionproperties.userlogginbtnborderwidth + 'px solid ' + sectionproperties.userlogginbtnbordercolor,
|
|
220
|
+
borderRadius: sectionproperties.userbtn_borderBottomLeftRadius + 'px',
|
|
221
|
+
background: sectionproperties.userBtnbgColor_loggedin,
|
|
222
|
+
color: sectionproperties.userBtniconcolor_loggedin,
|
|
223
|
+
transition: '.3s',
|
|
224
|
+
':hover': {
|
|
225
|
+
backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
|
|
226
|
+
},
|
|
227
|
+
}),
|
|
228
|
+
userBtnLoggedinContainer: css({
|
|
229
|
+
transition: '.3s',
|
|
230
|
+
':hover .loggedinuserbtn': {
|
|
231
|
+
transition: '.3s',
|
|
232
|
+
color: sectionproperties.userBtnTextcoloronhover_loggedin,
|
|
233
|
+
borderColor: sectionproperties.userbtn_loggedin_iconcoloronhover,
|
|
234
|
+
},
|
|
235
|
+
':hover .loggedinuserbtnbg': {
|
|
236
|
+
backgroundColor: sectionproperties.userBtnbgColoronhover_loggedin,
|
|
237
|
+
color: sectionproperties.userbtn_loggedin_iconcoloronhover,
|
|
238
|
+
},
|
|
239
|
+
}),
|
|
240
|
+
dropdownitemcontainer: css({
|
|
241
|
+
zIndex: 11000000000,
|
|
242
|
+
fontSize: sectionproperties.dropdown_fontsize + 'px',
|
|
243
|
+
color: sectionproperties.dropdown_color,
|
|
244
|
+
fontWeight: sectionproperties.dropdown_fontweight,
|
|
245
|
+
textTransform: sectionproperties.dropdown_texttransform,
|
|
246
|
+
padding: '0.3rem 0.8rem',
|
|
247
|
+
display: 'flex',
|
|
248
|
+
alignItems: 'center',
|
|
249
|
+
transition: '.3s',
|
|
250
|
+
':hover': {
|
|
251
|
+
color: sectionproperties.dropdown_hovercolor,
|
|
252
|
+
},
|
|
253
|
+
}),
|
|
254
|
+
informationtitle: css({
|
|
255
|
+
color: sectionproperties.userinfo_titlecolor,
|
|
256
|
+
fontSize: sectionproperties.userinfo_titlefontsize + 'px',
|
|
257
|
+
fontWeight: sectionproperties.userinfo_titlefontweight,
|
|
258
|
+
}),
|
|
259
|
+
infotext: css({
|
|
260
|
+
color: sectionproperties.userinfo_color,
|
|
261
|
+
fontSize: sectionproperties.userinfo_fontsize + 'px',
|
|
262
|
+
fontWeight: sectionproperties.userinfo_fontweight,
|
|
263
|
+
}),
|
|
264
|
+
language_container: css({
|
|
265
|
+
zIndex: 11000000000,
|
|
266
|
+
background: sectionproperties.language_container_bgcolor,
|
|
267
|
+
width: sectionproperties.language_container_width + 'px',
|
|
268
|
+
height: sectionproperties.language_container_height + 'px',
|
|
269
|
+
color: sectionproperties.language_container_color,
|
|
270
|
+
borderRadius: sectionproperties.language_container_borderRadius + 'px',
|
|
271
|
+
fontSize: sectionproperties.language_container_fontsize + 'px',
|
|
272
|
+
lineHeight: sectionproperties.language_container_fontsize + 'px',
|
|
273
|
+
':hover': {
|
|
274
|
+
color: sectionproperties.language_container_coloronhover,
|
|
275
|
+
background: sectionproperties.language_container_bgcoloronhover,
|
|
276
|
+
},
|
|
277
|
+
}),
|
|
278
|
+
wishlist_btn: css({
|
|
279
|
+
position: 'relative',
|
|
280
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
281
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
282
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
283
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
284
|
+
color: sectionproperties.favBtniconcolor,
|
|
285
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
286
|
+
marginRight: langdetect == 'en' ? '15px' : 0,
|
|
287
|
+
marginLeft: langdetect == 'en' ? 0 : '15px',
|
|
288
|
+
cursor: 'pointer',
|
|
289
|
+
transition: '.3s',
|
|
290
|
+
':hover': {
|
|
291
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
292
|
+
borderColor: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.favBtnTextcoloronhover : sectionproperties.favBtnbgColoronhover,
|
|
293
|
+
color: sectionproperties.favBtnTextcoloronhover,
|
|
294
|
+
},
|
|
295
|
+
}),
|
|
296
|
+
wishlistbadge: css({
|
|
297
|
+
top: sectionproperties.wishlistbadgetop + 'px',
|
|
298
|
+
right: sectionproperties.wishlistbadgeright + 'px',
|
|
299
|
+
}),
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
return (
|
|
303
|
+
<div class={' row ml-0 mr-0 w-100 d-flex justify-content-center position-md-relative '} style={{ position: sectionproperties.headerstyles_position }}>
|
|
304
|
+
<div class="col-lg-12 p-0">
|
|
305
|
+
<div class={`${headerstyles.header_innercontainer} ${header_cssstyles.header_innercontainer}` + ' row m-0 w-100 d-flex d-md-none align-items-center px-1025-1 '}>
|
|
306
|
+
<div class="col-lg-2 p-0 d-flex align-items-center">
|
|
307
|
+
<div
|
|
308
|
+
class={`${header_cssstyles.header_logo}` + ' d-flex align-items-center justify-content-center '}
|
|
309
|
+
style={{ cursor: 'pointer' }}
|
|
310
|
+
onClick={() => {
|
|
311
|
+
routingcountext('home');
|
|
312
|
+
}}
|
|
313
|
+
>
|
|
314
|
+
<Imagekitimagecomp
|
|
315
|
+
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
316
|
+
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
317
|
+
path={langdetect == 'en' ? logoarrayofobjects[0]?.englishlogo : logoarrayofobjects[0]?.arabiclogo}
|
|
318
|
+
style={{
|
|
319
|
+
maxWidth: '100%',
|
|
320
|
+
maxHeight: '100%',
|
|
321
|
+
}}
|
|
322
|
+
/>
|
|
323
|
+
</div>
|
|
324
|
+
</div>
|
|
325
|
+
<div
|
|
326
|
+
class={
|
|
327
|
+
sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.icontextfontsize == 0
|
|
328
|
+
? 'col-lg-9 p-0 d-flex align-items-center justify-content-center'
|
|
329
|
+
: 'col-lg-7 p-0 d-flex align-items-center justify-content-center'
|
|
330
|
+
}
|
|
331
|
+
>
|
|
332
|
+
<div
|
|
333
|
+
class="scrollhorizontal w-100 align-items-center justify-content-center"
|
|
334
|
+
style={{
|
|
335
|
+
display: sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' ? 'none' : 'flex',
|
|
336
|
+
}}
|
|
337
|
+
>
|
|
338
|
+
{templatepropcontext.pagesnprop.map((item, index) => {
|
|
339
|
+
var activeclass = '';
|
|
340
|
+
var pagedisabled = '';
|
|
341
|
+
if (item.isselected) {
|
|
342
|
+
activeclass = headerstyles.navbar_item_active;
|
|
343
|
+
}
|
|
344
|
+
if (item.isnavigation == 1 && item.isactive == 1) {
|
|
345
|
+
return (
|
|
346
|
+
<div
|
|
347
|
+
class="allcentered cursor-pointer"
|
|
348
|
+
style={{ paddingLeft: '25px', paddingRight: '25px' }}
|
|
349
|
+
onClick={() => {
|
|
350
|
+
routingcountext(item.navigationroute, false, '');
|
|
351
|
+
}}
|
|
352
|
+
>
|
|
353
|
+
<div class={`${headerstyles.navbar_item} ${activeclass}`}>
|
|
354
|
+
<span class={`${headerstyles.navbar_item_text} ${header_cssstyles.navbar_item_text}`}>{langdetect == 'en' ? item.pagename : item.pagename_ar}</span>
|
|
355
|
+
</div>
|
|
356
|
+
</div>
|
|
357
|
+
);
|
|
358
|
+
}
|
|
359
|
+
})}
|
|
360
|
+
</div>
|
|
361
|
+
{sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Besides Top Navigation' && (
|
|
362
|
+
<Subheader
|
|
363
|
+
sectionpropertiesprops={sectionproperties}
|
|
364
|
+
actions={actions}
|
|
365
|
+
subheaderpropertiesprops={{
|
|
366
|
+
subheaderpositionprops: 'in nav',
|
|
367
|
+
paddingLeftprops: '15px',
|
|
368
|
+
paddingRightprops: '15px',
|
|
369
|
+
subheadercontentpositionprops: 'center',
|
|
370
|
+
}}
|
|
371
|
+
/>
|
|
372
|
+
)}
|
|
373
|
+
</div>
|
|
374
|
+
<div
|
|
375
|
+
class={
|
|
376
|
+
sectionproperties.favBtnShow == 'Hide' && sectionproperties.cartBtnShow == 'Hide' && sectionproperties.icontextfontsize == 0
|
|
377
|
+
? 'col-lg-1 p-0 d-flex align-items-center justify-content-end'
|
|
378
|
+
: 'col-lg-3 p-0 d-flex align-items-center justify-content-end'
|
|
379
|
+
}
|
|
380
|
+
>
|
|
381
|
+
<Dropdown
|
|
382
|
+
style={{
|
|
383
|
+
marginRight: langdetect == 'en' ? '30px' : 0,
|
|
384
|
+
marginLeft: langdetect == 'ar' ? '30px' : 0,
|
|
385
|
+
}}
|
|
386
|
+
>
|
|
387
|
+
<Dropdown.Toggle>
|
|
388
|
+
<div class={' d-flex align-items-center justify-content-center '}>
|
|
389
|
+
{!authdetailsContext.loggedin && (
|
|
390
|
+
<span class={`${header_cssstyles.user_btn}` + ' d-flex justify-content-center align-items-center '}>
|
|
391
|
+
<FiUser size={sectionproperties.userBtniconfontsize} />
|
|
392
|
+
</span>
|
|
393
|
+
)}
|
|
394
|
+
{authdetailsContext.loggedin && (
|
|
395
|
+
<div class={header_cssstyles.userBtnLoggedinContainer + ' allcentered '} sytle={{ position: 'relative' }}>
|
|
396
|
+
<div class={header_cssstyles.loggedinuserbtn + ' loggedinuserbtn loggedinuserbtnbg ml-2 mr-2 '}>
|
|
397
|
+
<i class={' h-100 allcentered '}>
|
|
398
|
+
<FiUser size={sectionproperties.loggedinusericonfontsize} />
|
|
399
|
+
</i>
|
|
400
|
+
</div>
|
|
401
|
+
<div
|
|
402
|
+
class="m-0 p-0 loggedinuserbtn flex-column"
|
|
403
|
+
style={{
|
|
404
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
405
|
+
}}
|
|
406
|
+
>
|
|
407
|
+
<p class={header_cssstyles.greetingstyles + ' m-0 p-0 '}>
|
|
408
|
+
{lang.hello}
|
|
409
|
+
{langdetect == 'en' ? ',' : '،'}
|
|
410
|
+
</p>
|
|
411
|
+
<p class={header_cssstyles.loggedinusername + ' loggedinuserbtn text-overflow m-0 p-0 '}>{authdetailsContext.customerinfo.name}</p>
|
|
412
|
+
</div>
|
|
413
|
+
</div>
|
|
414
|
+
)}
|
|
415
|
+
</div>
|
|
416
|
+
</Dropdown.Toggle>
|
|
417
|
+
{!authdetailsContext.loggedin && (
|
|
418
|
+
<Dropdown.Menu>
|
|
419
|
+
<Dropdown.Item
|
|
420
|
+
onClick={() => {
|
|
421
|
+
routingcountext(StaticPagesLinksContext.Login);
|
|
422
|
+
}}
|
|
423
|
+
>
|
|
424
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
425
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
426
|
+
<AiOutlineLogin class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
427
|
+
<span>{lang.login}</span>
|
|
428
|
+
</p>
|
|
429
|
+
</div>
|
|
430
|
+
</Dropdown.Item>
|
|
431
|
+
<Dropdown.Divider></Dropdown.Divider>
|
|
432
|
+
<Dropdown.Item
|
|
433
|
+
onClick={() => {
|
|
434
|
+
routingcountext(StaticPagesLinksContext.Signup);
|
|
435
|
+
}}
|
|
436
|
+
>
|
|
437
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
438
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
439
|
+
<AiOutlineUserAdd class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
440
|
+
<span class="text-transform-none">{lang.signup}</span>
|
|
441
|
+
</p>
|
|
442
|
+
</div>
|
|
443
|
+
</Dropdown.Item>
|
|
444
|
+
</Dropdown.Menu>
|
|
445
|
+
)}
|
|
446
|
+
{authdetailsContext.loggedin && (
|
|
447
|
+
<Dropdown.Menu style={{ minWidth: '200px' }}>
|
|
448
|
+
<Dropdown.Item
|
|
449
|
+
onClick={() => {
|
|
450
|
+
routingcountext(StaticPagesLinksContext.Ordershistory);
|
|
451
|
+
}}
|
|
452
|
+
>
|
|
453
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
454
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
455
|
+
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
456
|
+
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
457
|
+
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
458
|
+
{sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
459
|
+
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
460
|
+
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
461
|
+
{sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
462
|
+
|
|
463
|
+
<span>{lang.orderhistory}</span>
|
|
464
|
+
</p>
|
|
465
|
+
</div>
|
|
466
|
+
</Dropdown.Item>
|
|
467
|
+
<Dropdown.Divider></Dropdown.Divider>
|
|
468
|
+
<Dropdown.Item
|
|
469
|
+
onClick={() => {
|
|
470
|
+
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
471
|
+
}}
|
|
472
|
+
>
|
|
473
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
474
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
475
|
+
{sectionproperties.faviconshape == 'Heart Shape' && <AiOutlineHeart class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
476
|
+
{sectionproperties.faviconshape == 'Star Shape' && <AiFillStar class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />}
|
|
477
|
+
<span>{lang.wishlist}</span>
|
|
478
|
+
</p>
|
|
479
|
+
</div>
|
|
480
|
+
</Dropdown.Item>
|
|
481
|
+
<Dropdown.Divider></Dropdown.Divider>
|
|
482
|
+
<Dropdown.Item
|
|
483
|
+
onClick={() => {
|
|
484
|
+
routingcountext(StaticPagesLinksContext.Policies);
|
|
485
|
+
}}
|
|
486
|
+
>
|
|
487
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
488
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
489
|
+
<AiOutlineSecurityScan class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
490
|
+
<span>{lang.policies}</span>
|
|
491
|
+
</p>
|
|
492
|
+
</div>
|
|
493
|
+
</Dropdown.Item>
|
|
494
|
+
<Dropdown.Divider></Dropdown.Divider>
|
|
495
|
+
<Dropdown.Item
|
|
496
|
+
onClick={() => {
|
|
497
|
+
LogoutMutationContext.mutate();
|
|
498
|
+
}}
|
|
499
|
+
>
|
|
500
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
501
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
502
|
+
<BiLogOutCircle class={langdetect == 'en' ? 'mr-2' : 'ml-2'} />
|
|
503
|
+
<span>{lang.logout}</span>
|
|
504
|
+
</p>
|
|
505
|
+
</div>
|
|
506
|
+
</Dropdown.Item>
|
|
507
|
+
</Dropdown.Menu>
|
|
508
|
+
)}
|
|
509
|
+
</Dropdown>
|
|
510
|
+
{sectionproperties.favBtnShow == 'Show' && (
|
|
511
|
+
<div
|
|
512
|
+
class={`${header_cssstyles.wishlist_btn}` + ' d-flex justify-content-center align-items-center '}
|
|
513
|
+
onClick={() => {
|
|
514
|
+
routingcountext(StaticPagesLinksContext.Wishlist);
|
|
515
|
+
}}
|
|
516
|
+
>
|
|
517
|
+
<span style={{ position: 'relative' }}>
|
|
518
|
+
<i class={' h-100 d-flex align-items-center '}>
|
|
519
|
+
{sectionproperties.faviconshape == 'Heart Shape' && (
|
|
520
|
+
<FaRegHeart
|
|
521
|
+
style={{
|
|
522
|
+
fontSize: sectionproperties.favBtnIconfontsize + 'px',
|
|
523
|
+
}}
|
|
524
|
+
/>
|
|
525
|
+
)}
|
|
526
|
+
{sectionproperties.faviconshape == 'Star Shape' && (
|
|
527
|
+
<AiOutlineStar
|
|
528
|
+
style={{
|
|
529
|
+
fontSize: sectionproperties.favBtnIconfontsize + 'px',
|
|
530
|
+
}}
|
|
531
|
+
/>
|
|
532
|
+
)}
|
|
533
|
+
</i>
|
|
534
|
+
<div
|
|
535
|
+
class={
|
|
536
|
+
`${headerstyles.badge_counter_header_notifications} ${header_cssstyles.badge_counter_header_notifications} ${header_cssstyles.wishlistbadge}` +
|
|
537
|
+
' d-flex justify-content-center text-center '
|
|
538
|
+
}
|
|
539
|
+
>
|
|
540
|
+
<span> {favoriteprojectscountContext.length >= 10 ? '+9' : favoriteprojectscountContext.length}</span>
|
|
541
|
+
</div>
|
|
542
|
+
</span>
|
|
543
|
+
</div>
|
|
544
|
+
)}
|
|
545
|
+
{sectionproperties.cartBtnShow == 'Show' && (
|
|
546
|
+
<div
|
|
547
|
+
class={
|
|
548
|
+
!authdetailsContext.loggedin
|
|
549
|
+
? langdetect == 'en'
|
|
550
|
+
? `${header_cssstyles.cart_btn}` + ' cursor-pointer allcentered ml-3 mr-4 '
|
|
551
|
+
: `${header_cssstyles.cart_btn}` + ' cursor-pointer allcentered ml-4 mr-3 '
|
|
552
|
+
: `${header_cssstyles.cart_btn}` + ' cursor-pointer allcentered '
|
|
553
|
+
}
|
|
554
|
+
onClick={() => {
|
|
555
|
+
setsidecartnavshowcontext(true);
|
|
556
|
+
}}
|
|
557
|
+
style={{
|
|
558
|
+
marginRight: langdetect == 'en' ? '28px' : '15px',
|
|
559
|
+
marginLeft: langdetect == 'en' ? '15px' : '25px',
|
|
560
|
+
}}
|
|
561
|
+
>
|
|
562
|
+
<span style={{ position: 'relative' }}>
|
|
563
|
+
<i class={' allcentered '}>
|
|
564
|
+
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
565
|
+
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
566
|
+
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
567
|
+
{sectionproperties.carticonstyle == 'Shopping bag 4' && <HiOutlineShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
568
|
+
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
569
|
+
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
570
|
+
{sectionproperties.carticonstyle == 'Calendar 1' && <FiCalendar size={sectionproperties.cartBtn_iconFontSize} />}
|
|
571
|
+
</i>
|
|
572
|
+
<div
|
|
573
|
+
className={
|
|
574
|
+
`${headerstyles.badge_counter_header_notifications} ${header_cssstyles.badge_counter_header_notifications}` + ' d-flex justify-content-center text-center '
|
|
575
|
+
}
|
|
576
|
+
style={{
|
|
577
|
+
top: sectionproperties.cartbadgetop + 'px',
|
|
578
|
+
right: sectionproperties.cartbadgeright + 'px',
|
|
579
|
+
}}
|
|
580
|
+
>
|
|
581
|
+
{fetchcustomercartQueryContext?.data?.data?.customercart != null
|
|
582
|
+
? fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length >= 10
|
|
583
|
+
? '+9'
|
|
584
|
+
: fetchcustomercartQueryContext?.data?.data?.customercart?.cartitems?.length
|
|
585
|
+
: 0}
|
|
586
|
+
</div>
|
|
587
|
+
</span>
|
|
588
|
+
</div>
|
|
589
|
+
)}
|
|
590
|
+
{sectionproperties.icontextfontsize != 0 && (
|
|
591
|
+
<div class={langdetect == 'en' ? 'informationdropdown informationdropdown_en' : 'informationdropdown informationdropdown_ar'}>
|
|
592
|
+
<Dropdown>
|
|
593
|
+
<Dropdown.Toggle>
|
|
594
|
+
<i class={header_cssstyles.infoiconcontainer + ' allcentered '}>
|
|
595
|
+
<BsInfoCircle size={sectionproperties.icontextfontsize} />
|
|
596
|
+
</i>
|
|
597
|
+
</Dropdown.Toggle>
|
|
598
|
+
<Dropdown.Menu>
|
|
599
|
+
<Dropdown.Header
|
|
600
|
+
style={{
|
|
601
|
+
color: sectionproperties.sectionTitleColor,
|
|
602
|
+
fontSize: sectionproperties.sectionTitleFontSize + 'px',
|
|
603
|
+
textTransform: sectionproperties.sectionTitleTextTransform,
|
|
604
|
+
fontWeight: sectionproperties.sectionTitleFontWeight,
|
|
605
|
+
}}
|
|
606
|
+
>
|
|
607
|
+
{langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
|
|
608
|
+
</Dropdown.Header>
|
|
609
|
+
<Dropdown.Divider />
|
|
610
|
+
<Dropdown.Item>
|
|
611
|
+
<div class="row m-0 w-100">
|
|
612
|
+
<div class="col-lg-3 p-0 d-flex align-items-center justify-content-start">
|
|
613
|
+
<p class={header_cssstyles.informationtitle + ' p-0 m-0 '}>{lang.address}:</p>
|
|
614
|
+
</div>
|
|
615
|
+
<div class="col-lg-9 d-flex align-items-center justify-content-start">
|
|
616
|
+
<p class={header_cssstyles.infotext + ' p-0 m-0 '}>{authdetailsContext?.instinfo?.address_en}</p>
|
|
617
|
+
</div>
|
|
618
|
+
</div>
|
|
619
|
+
</Dropdown.Item>
|
|
620
|
+
<Dropdown.Divider />
|
|
621
|
+
<Dropdown.Item>
|
|
622
|
+
<div class="row m-0 w-100">
|
|
623
|
+
<div class="col-lg-3 p-0 d-flex align-items-center justify-content-start">
|
|
624
|
+
<p class={header_cssstyles.informationtitle + ' p-0 m-0 '}>{langdetect == 'en' ? 'Phone' : 'التليفون'}:</p>
|
|
625
|
+
</div>
|
|
626
|
+
<div class="col-lg-9 d-flex align-items-center justify-content-start">
|
|
627
|
+
<p class={header_cssstyles.infotext + ' p-0 m-0 '}>{authdetailsContext?.instinfo?.contactinfo?.mobile}</p>
|
|
628
|
+
</div>
|
|
629
|
+
</div>
|
|
630
|
+
</Dropdown.Item>
|
|
631
|
+
<Dropdown.Divider />
|
|
632
|
+
<Dropdown.Item>
|
|
633
|
+
<div class="row m-0 w-100">
|
|
634
|
+
<div class="col-lg-3 p-0 d-flex align-items-center justify-content-start">
|
|
635
|
+
<p class={header_cssstyles.informationtitle + ' p-0 m-0 '}>{lang.email}:</p>
|
|
636
|
+
</div>
|
|
637
|
+
<div class="col-lg-9 d-flex align-items-center justify-content-start">
|
|
638
|
+
<p class={header_cssstyles.infotext + ' p-0 m-0 '}>{authdetailsContext?.instinfo?.contactinfo?.email}</p>
|
|
639
|
+
</div>
|
|
640
|
+
</div>
|
|
641
|
+
</Dropdown.Item>
|
|
642
|
+
<Dropdown.Divider />
|
|
643
|
+
<Dropdown.Item>
|
|
644
|
+
<div class="col-lg-12 col-sm-12 mb-sm-2 p-3 d-flex justify-content-center">
|
|
645
|
+
<div class=" col-lg-12 d-flex flex-row align-items-center justify-content-center ">
|
|
646
|
+
{sectionproperties.fbbtn_show == 'Show' && (
|
|
647
|
+
<div class={`${header_cssstyles.facebook_btn}` + ' d-flex align-items-center justify-content-center '}>
|
|
648
|
+
<FaFacebookF size={sectionproperties.facebkbtnniconfontsize} />
|
|
649
|
+
</div>
|
|
650
|
+
)}
|
|
651
|
+
{sectionproperties.instbtn_show == 'Show' && (
|
|
652
|
+
<div class={`${header_cssstyles.instgram_btn}` + ' d-flex align-items-center justify-content-center ml-3 mr-3 '}>
|
|
653
|
+
<AiFillInstagram size={sectionproperties.instgrambtniconfontsize} />
|
|
654
|
+
</div>
|
|
655
|
+
)}
|
|
656
|
+
{sectionproperties.youtbtn_show == 'Show' && (
|
|
657
|
+
<div class={`${header_cssstyles.youtube_btn}` + ' d-flex align-items-center justify-content-center '}>
|
|
658
|
+
<FaWhatsapp size={sectionproperties.youtubebtniconfontsize} />
|
|
659
|
+
</div>
|
|
660
|
+
)}
|
|
661
|
+
</div>
|
|
662
|
+
</div>
|
|
663
|
+
</Dropdown.Item>
|
|
664
|
+
</Dropdown.Menu>
|
|
665
|
+
</Dropdown>
|
|
666
|
+
</div>
|
|
667
|
+
)}
|
|
668
|
+
<div class={langdetect == 'en' ? 'headerdropdownml' : 'headerdropdownmr'}>
|
|
669
|
+
{/* <Dropdown
|
|
670
|
+
style={{
|
|
671
|
+
marginLeft: langdetect == 'en' ? '25px' : 0,
|
|
672
|
+
marginRight: langdetect == 'ar' ? '25px' : 0,
|
|
673
|
+
}}
|
|
674
|
+
>
|
|
675
|
+
<Dropdown.Toggle>
|
|
676
|
+
<li class={' d-flex align-items-center justify-content-center '}>
|
|
677
|
+
{langdetect == 'en' && (
|
|
678
|
+
<div class={`${header_cssstyles.language_container}` + ' row m-0 allcentered '}>
|
|
679
|
+
<img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
680
|
+
<div style={{ height: '20px', width: '1.5px', background: '#e6e6e6' }} class="ml-2 mr-2"></div>
|
|
681
|
+
<p class="m-0 p-0">ع</p>
|
|
682
|
+
</div>
|
|
683
|
+
)}
|
|
684
|
+
{langdetect == 'ar' && (
|
|
685
|
+
<div class={`${header_cssstyles.language_container}` + ' row m-0 allcentered '}>
|
|
686
|
+
<img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
687
|
+
<div style={{ height: '20px', width: '1.5px', background: '#e6e6e6' }} class="ml-2 mr-2"></div>
|
|
688
|
+
<p class="m-0 p-0">En</p>
|
|
689
|
+
</div>
|
|
690
|
+
)}
|
|
691
|
+
</li>
|
|
692
|
+
</Dropdown.Toggle>
|
|
693
|
+
<Dropdown.Menu>
|
|
694
|
+
<Dropdown.Item
|
|
695
|
+
onClick={() => {
|
|
696
|
+
setlang('ar');
|
|
697
|
+
}}
|
|
698
|
+
>
|
|
699
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
700
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
701
|
+
<img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
702
|
+
<span class="ml-2 mr-2">{lang.arabic}</span>
|
|
703
|
+
</p>
|
|
704
|
+
</div>
|
|
705
|
+
</Dropdown.Item>
|
|
706
|
+
<Dropdown.Divider></Dropdown.Divider>
|
|
707
|
+
<Dropdown.Item
|
|
708
|
+
onClick={() => {
|
|
709
|
+
setlang('en');
|
|
710
|
+
}}
|
|
711
|
+
>
|
|
712
|
+
<div class={`${header_cssstyles.dropdownitemcontainer}` + ' m-0 p-0 d-flex align-items-center '}>
|
|
713
|
+
<p class={' d-flex align-items-center m-0 p-0 '}>
|
|
714
|
+
<img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
715
|
+
<span class="ml-2 mr-2">{lang.english}</span>
|
|
716
|
+
</p>
|
|
717
|
+
</div>
|
|
718
|
+
</Dropdown.Item>
|
|
719
|
+
</Dropdown.Menu>
|
|
720
|
+
</Dropdown> */}
|
|
721
|
+
<li class={' d-flex align-items-center justify-content-center '}>
|
|
722
|
+
{langdetect == 'en' && (
|
|
723
|
+
<div
|
|
724
|
+
class={`${header_cssstyles.language_container}` + ' row m-0 allcentered '}
|
|
725
|
+
onClick={() => {
|
|
726
|
+
setlang('ar');
|
|
727
|
+
}}
|
|
728
|
+
>
|
|
729
|
+
<img src={'https://tabex-co.com/storage/StaticImages/egyptflag.png'} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
730
|
+
<div style={{ height: '20px', width: '1.5px', background: '#e6e6e6' }} class="ml-2 mr-2"></div>
|
|
731
|
+
<p class="m-0 p-0">ع</p>
|
|
732
|
+
</div>
|
|
733
|
+
)}
|
|
734
|
+
{langdetect == 'ar' && (
|
|
735
|
+
<div
|
|
736
|
+
class={`${header_cssstyles.language_container}` + ' row m-0 allcentered '}
|
|
737
|
+
onClick={() => {
|
|
738
|
+
setlang('en');
|
|
739
|
+
}}
|
|
740
|
+
>
|
|
741
|
+
<img src={'https://tabex-co.com/storage/StaticImages/usflag.png'} style={{ maxWidth: '2.5vh', maxHeight: '2.5vh' }} />
|
|
742
|
+
<div style={{ height: '20px', width: '1.5px', background: '#e6e6e6' }} class="ml-2 mr-2"></div>
|
|
743
|
+
<p class="m-0 p-0">En</p>
|
|
744
|
+
</div>
|
|
745
|
+
)}
|
|
746
|
+
</li>
|
|
747
|
+
</div>
|
|
748
|
+
</div>
|
|
749
|
+
<div class="col-lg-12 p-0">
|
|
750
|
+
{sectionproperties.showhidesubheader == 'Show' && sectionproperties.subheaderposition == 'Full Width' && (
|
|
751
|
+
<Subheader
|
|
752
|
+
sectionpropertiesprops={sectionproperties}
|
|
753
|
+
actions={actions}
|
|
754
|
+
subheaderpropertiesprops={{
|
|
755
|
+
subheaderpositionprops: 'Full Width',
|
|
756
|
+
paddingLeftprops: '35px',
|
|
757
|
+
paddingRightprops: '35px',
|
|
758
|
+
subheadercontentpositionprops: 'center',
|
|
759
|
+
}}
|
|
760
|
+
/>
|
|
761
|
+
)}
|
|
762
|
+
</div>
|
|
763
|
+
</div>
|
|
764
|
+
<div class="col-lg-12 p-0">
|
|
765
|
+
{sectionproperties.responsiveheaderstyle == 'Style 1' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
|
|
766
|
+
{sectionproperties.responsiveheaderstyle == 'Style 1 With Canvas' && <Headerresponsive sectionpropertiesprops={sectionproperties} actions={actions} />}
|
|
767
|
+
|
|
768
|
+
{sectionproperties.responsiveheaderstyle == 'Style 2' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
|
|
769
|
+
{sectionproperties.responsiveheaderstyle == 'Style 2 With Subheader' && <HeaderresponsiveStyle2 sectionpropertiesprops={sectionproperties} actions={actions} />}
|
|
770
|
+
</div>
|
|
771
|
+
</div>
|
|
772
|
+
</div>
|
|
773
|
+
);
|
|
774
|
+
};
|
|
775
|
+
|
|
776
|
+
export default HeaderRestaurant;
|