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
package/srcoman/TabexComponents/Cards/ProductCardWithTextOnImage/ProductCardWithTextOnImage.jsx
ADDED
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import React, { Image, useEffect, useState, useContext } from 'react';
|
|
2
|
+
import { css } from 'glamor';
|
|
3
|
+
import cardStyles from '../../../styles/cards/productcard_withtextonimage.module.css';
|
|
4
|
+
import { Imagekitimagecomp } from '../../../Imagekitconfig.jsx';
|
|
5
|
+
|
|
6
|
+
import { FiShoppingCart } from '@react-icons/all-files/fi/FiShoppingCart';
|
|
7
|
+
import { FiShoppingBag } from '@react-icons/all-files/fi/FiShoppingBag';
|
|
8
|
+
import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
|
|
9
|
+
import { FaHeart } from '@react-icons/all-files/fa/FaHeart';
|
|
10
|
+
import { CgShoppingBag } from '@react-icons/all-files/cg/CgShoppingBag';
|
|
11
|
+
import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
|
|
12
|
+
import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
|
|
13
|
+
import { MdAddShoppingCart } from '@react-icons/all-files/md/MdAddShoppingCart';
|
|
14
|
+
import { BsBag } from '@react-icons/all-files/bs/BsBag';
|
|
15
|
+
import { RiHandbagLine } from '@react-icons/all-files/ri/RiHandbagLine';
|
|
16
|
+
|
|
17
|
+
const ProductCardWithTextOnImage = (props) => {
|
|
18
|
+
const lang = props.actions.lang;
|
|
19
|
+
const langdetect = props.actions.langdetect;
|
|
20
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
21
|
+
const templateproperties_context = props.actions.StatePagePropertiesContext;
|
|
22
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
23
|
+
const routingcountext = props.actions.routingcountext;
|
|
24
|
+
const addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
25
|
+
const setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
26
|
+
const setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
27
|
+
const cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
28
|
+
const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
29
|
+
|
|
30
|
+
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
31
|
+
|
|
32
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
33
|
+
const [arrayofobjectimagesonly, setarrayofobjectimagesonly] = useState([]);
|
|
34
|
+
const [logoarrayofobjects, setlogoarrayofobjects] = useState([]);
|
|
35
|
+
|
|
36
|
+
useEffect(() => {
|
|
37
|
+
if (props.srcfrom == 'addsectionform') {
|
|
38
|
+
var secpropobj = {};
|
|
39
|
+
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
40
|
+
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
41
|
+
});
|
|
42
|
+
setsectionproperties({ ...secpropobj });
|
|
43
|
+
} else {
|
|
44
|
+
var secpropobj = {};
|
|
45
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
46
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
47
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
48
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
setsectionproperties({ ...secpropobj });
|
|
53
|
+
}
|
|
54
|
+
}, [StatePagePropertiesContext]);
|
|
55
|
+
useEffect(() => {
|
|
56
|
+
setitem(props.cardinfoitemprops);
|
|
57
|
+
}, [props.cardinfoitemprops]);
|
|
58
|
+
useEffect(() => {
|
|
59
|
+
if (sectionproperties.length != 0 && sectionproperties.arrayofobjectimagesonly != undefined) {
|
|
60
|
+
var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
|
|
61
|
+
if (Array.isArray(arrayofobjectimagesonlyparsed)) {
|
|
62
|
+
setarrayofobjectimagesonly([...arrayofobjectimagesonlyparsed]);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}, [sectionproperties]);
|
|
66
|
+
useEffect(() => {
|
|
67
|
+
if (templateproperties_context.length != 0 && templateproperties_context.logoarrayofobjects != undefined) {
|
|
68
|
+
var logoarrayofobjectsparsed = JSON.parse(templateproperties_context.logoarrayofobjects);
|
|
69
|
+
if (Array.isArray(logoarrayofobjectsparsed)) {
|
|
70
|
+
setlogoarrayofobjects([...logoarrayofobjectsparsed]);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}, [templateproperties_context]);
|
|
74
|
+
useEffect(() => {
|
|
75
|
+
if (props.cardinfoitemprops != undefined) {
|
|
76
|
+
setitem(props.cardinfoitemprops);
|
|
77
|
+
}
|
|
78
|
+
}, [props.cardinfoitemprops]);
|
|
79
|
+
|
|
80
|
+
const plainString = (html) => {
|
|
81
|
+
var divContainer = document.createElement('div');
|
|
82
|
+
divContainer.innerHTML = html;
|
|
83
|
+
return divContainer.textContent || divContainer.innerText || '';
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
const productStyles = {
|
|
87
|
+
cardContainer: css({
|
|
88
|
+
position: 'relative',
|
|
89
|
+
backgroundColor: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
90
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
91
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
92
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
93
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
94
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
95
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
96
|
+
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
97
|
+
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
98
|
+
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
99
|
+
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
100
|
+
}),
|
|
101
|
+
cart_btn: css({
|
|
102
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
103
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
104
|
+
background: sectionproperties.cartBtnbgColor,
|
|
105
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
106
|
+
color: sectionproperties.cart_iconcolor,
|
|
107
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
108
|
+
textTransform: sectionproperties.cartBtnTexttransform,
|
|
109
|
+
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
110
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
111
|
+
top: sectionproperties.cartbtn_marginTop + 'px',
|
|
112
|
+
right: langdetect == 'en' ? sectionproperties.cartbtn_marginRight + 'px' : '',
|
|
113
|
+
left: langdetect == 'en' ? '' : sectionproperties.cartbtn_marginRight + 'px',
|
|
114
|
+
transition: '.3s',
|
|
115
|
+
':hover': {
|
|
116
|
+
background: sectionproperties.cartBtnbgColoronhover,
|
|
117
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
118
|
+
},
|
|
119
|
+
}),
|
|
120
|
+
wishlist_btn: css({
|
|
121
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
122
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
123
|
+
backgroundColor: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
124
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
125
|
+
color: sectionproperties.favBtniconcolor,
|
|
126
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
127
|
+
transition: '.3s',
|
|
128
|
+
':hover': {
|
|
129
|
+
backgroundColor: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
130
|
+
color: sectionproperties.favBtnTextcoloronhover,
|
|
131
|
+
},
|
|
132
|
+
}),
|
|
133
|
+
image_container: css({
|
|
134
|
+
height: sectionproperties.image_height + 'px',
|
|
135
|
+
background: sectionproperties.image_bgtransparent == 'Transparent' ? '' : sectionproperties.image_bgcolor,
|
|
136
|
+
border: sectionproperties.image_borderwidth + 'px solid ' + sectionproperties.image_bordercolor,
|
|
137
|
+
borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
138
|
+
borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
|
|
139
|
+
borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
|
|
140
|
+
borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
|
|
141
|
+
transition: '.3s',
|
|
142
|
+
}),
|
|
143
|
+
productNameStyles: css({
|
|
144
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
145
|
+
fontWeight: sectionproperties.prodNameFontWeight,
|
|
146
|
+
color: sectionproperties.prodNameColor,
|
|
147
|
+
textTransform: sectionproperties.prodNameTextTranform,
|
|
148
|
+
transition: '.3s',
|
|
149
|
+
cursor: 'pointer',
|
|
150
|
+
':hover': {
|
|
151
|
+
color: sectionproperties.prodNameColorOnHover,
|
|
152
|
+
},
|
|
153
|
+
}),
|
|
154
|
+
productPricestyles: css({
|
|
155
|
+
color: sectionproperties.prodPriceColor,
|
|
156
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
157
|
+
fontWeight: sectionproperties.prodPriceFontWeight,
|
|
158
|
+
}),
|
|
159
|
+
productSalePricestyles: css({
|
|
160
|
+
color: sectionproperties.prodsalePriceColor,
|
|
161
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
162
|
+
fontWeight: sectionproperties.prodsalePriceFontWeight,
|
|
163
|
+
}),
|
|
164
|
+
productDescStyles: css({
|
|
165
|
+
color: sectionproperties.prodCatColor,
|
|
166
|
+
fontSize: sectionproperties.prodCatFontSize + 'px',
|
|
167
|
+
textTransform: sectionproperties.prodCatTextTranform,
|
|
168
|
+
fontWeight: sectionproperties.prodCatFontWeight,
|
|
169
|
+
transition: '.3s',
|
|
170
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.description_marginLeft + 'px' : sectionproperties.description_marginRight + 'px',
|
|
171
|
+
paddingRight: langdetect == 'en' ? sectionproperties.description_marginRight + 'px' : sectionproperties.description_marginLeft + 'px',
|
|
172
|
+
marginBottom: sectionproperties.descriptionMarginBottom + 'px',
|
|
173
|
+
}),
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
return (
|
|
177
|
+
<div
|
|
178
|
+
class="row m-0 w-100 justify-content-center align-items-center"
|
|
179
|
+
style={{
|
|
180
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
181
|
+
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
182
|
+
}}
|
|
183
|
+
>
|
|
184
|
+
<div class={`${cardStyles.cardContainer}` + ' col-lg-12 '}>
|
|
185
|
+
<div class={`${productStyles.image_container} ${cardStyles.image_container}` + ' row m-0 w-100 '} style={{ position: 'relative' }}>
|
|
186
|
+
<Imagekitimagecomp
|
|
187
|
+
urlEndpoint={ikimagecredcontext?.ikimageendpoint}
|
|
188
|
+
publicKey={ikimagecredcontext?.ikimagepublickey}
|
|
189
|
+
path={'/tr:w-105,h-105/' + item.image}
|
|
190
|
+
loading="lazy"
|
|
191
|
+
style={{
|
|
192
|
+
width: '100%',
|
|
193
|
+
height: '100%',
|
|
194
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.image_borderBottomLeftRadius + 'px' : sectionproperties.image_borderBottomRightRadius + 'px',
|
|
195
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.image_borderBottomRightRadius + 'px' : sectionproperties.image_borderBottomLeftRadius + 'px',
|
|
196
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.image_borderTopLeftRadius + 'px' : sectionproperties.image_borderTopRightRadius + 'px',
|
|
197
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.image_borderTopRightRadius + 'px' : sectionproperties.image_borderTopLeftRadius + 'px',
|
|
198
|
+
objectFit: 'contain',
|
|
199
|
+
}}
|
|
200
|
+
/>
|
|
201
|
+
|
|
202
|
+
<ul class={`${cardStyles.buttons_container1}` + ' m-0 p-0 '}>
|
|
203
|
+
{sectionproperties.cartBtnShow == 'Show' && (
|
|
204
|
+
<li
|
|
205
|
+
class={langdetect == 'en' ? 'mr-3 cursor-pointer ' : 'ml-3 cursor-pointer '}
|
|
206
|
+
onClick={() => {
|
|
207
|
+
setShowProductInfoModalContext(true);
|
|
208
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
209
|
+
}}
|
|
210
|
+
>
|
|
211
|
+
<span class={`${productStyles.cart_btn}`}>
|
|
212
|
+
<i class="h-100 d-flex align-items-center justify-content-center">
|
|
213
|
+
{sectionproperties.carticonstyle == 'Shopping bag 1' && <FiShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
214
|
+
{sectionproperties.carticonstyle == 'Shopping bag 2' && <CgShoppingBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
215
|
+
{sectionproperties.carticonstyle == 'Shopping bag 3' && <BsBag class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
216
|
+
{sectionproperties.carticonstyle == 'Shopping bag 4' && <RiHandbagLine size={sectionproperties.cartBtn_iconFontSize} />}
|
|
217
|
+
{sectionproperties.carticonstyle == 'Shopping cart 1' && <FiShoppingCart class="" size={sectionproperties.cartBtn_iconFontSize} />}
|
|
218
|
+
{sectionproperties.carticonstyle == 'Shopping cart 2' && <MdAddShoppingCart size={sectionproperties.cartBtn_iconFontSize} />}
|
|
219
|
+
</i>
|
|
220
|
+
</span>
|
|
221
|
+
</li>
|
|
222
|
+
)}
|
|
223
|
+
{sectionproperties.favBtnShow == 'Show' && (
|
|
224
|
+
<li
|
|
225
|
+
class={' cursor-pointer '}
|
|
226
|
+
onClick={() => {
|
|
227
|
+
addtofavoritescontext(item.productid);
|
|
228
|
+
}}
|
|
229
|
+
>
|
|
230
|
+
<span
|
|
231
|
+
class={`${productStyles.wishlist_btn}`}
|
|
232
|
+
style={{
|
|
233
|
+
background: item.IsFavExists == true ? sectionproperties.activebgcolor : '',
|
|
234
|
+
}}
|
|
235
|
+
>
|
|
236
|
+
<i class="h-100 d-flex align-items-center justify-content-center">
|
|
237
|
+
{item.IsFavExists && (
|
|
238
|
+
<i class="h-100 d-flex align-items-center justify-content-center">
|
|
239
|
+
{sectionproperties.faviconshape == 'Star Shape' && (
|
|
240
|
+
<AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
|
|
241
|
+
)}
|
|
242
|
+
{sectionproperties.faviconshape == 'Heart Shape' && (
|
|
243
|
+
<FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
|
|
244
|
+
)}
|
|
245
|
+
</i>
|
|
246
|
+
)}
|
|
247
|
+
{!item.IsFavExists && (
|
|
248
|
+
<i class="h-100 d-flex align-items-center justify-content-center">
|
|
249
|
+
{sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
|
|
250
|
+
{sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
|
|
251
|
+
</i>
|
|
252
|
+
)}
|
|
253
|
+
</i>
|
|
254
|
+
</span>
|
|
255
|
+
</li>
|
|
256
|
+
)}
|
|
257
|
+
</ul>
|
|
258
|
+
</div>
|
|
259
|
+
|
|
260
|
+
<div class="row m-0 w-100">
|
|
261
|
+
{sectionproperties.prodNameShow == 'Show' && (
|
|
262
|
+
<div
|
|
263
|
+
class={' col-lg-8 pl-3 pr-3 d-flex align-items-center ' + `${productStyles.productNameStyles}`}
|
|
264
|
+
style={{
|
|
265
|
+
backgroundColor: sectionproperties.prodNameBackgroundColor,
|
|
266
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
267
|
+
}}
|
|
268
|
+
>
|
|
269
|
+
{item.name}
|
|
270
|
+
</div>
|
|
271
|
+
)}
|
|
272
|
+
{sectionproperties.prodPriceShow == 'Show' && (
|
|
273
|
+
<div
|
|
274
|
+
class="col-lg-4 p-0 pt-3 pb-3 d-flex justify-content-center align-items-center"
|
|
275
|
+
style={{
|
|
276
|
+
backgroundColor: sectionproperties.prodPriceBackgroundColor,
|
|
277
|
+
textAlign: langdetect == 'en' ? 'left' : 'right',
|
|
278
|
+
}}
|
|
279
|
+
>
|
|
280
|
+
<div class={`${productStyles.productPricestyles}`}>
|
|
281
|
+
{langdetect == 'en' ? 'EGP' : ''} {item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
|
|
282
|
+
{sectionproperties.prodsalePriceshow && (
|
|
283
|
+
<sub class={' linethrough ' + `${productStyles.productSalePricestyles}`}>
|
|
284
|
+
{langdetect == 'en' ? 'EGP' : ''} {item.defaultsaleprice} {langdetect == 'en' ? '' : 'ج.م'}
|
|
285
|
+
</sub>
|
|
286
|
+
)}
|
|
287
|
+
</div>
|
|
288
|
+
</div>
|
|
289
|
+
)}
|
|
290
|
+
</div>
|
|
291
|
+
|
|
292
|
+
{sectionproperties.prodCatShow && (
|
|
293
|
+
<div class="row m-0 w-100">
|
|
294
|
+
<p class={' mt-3 ' + `${productStyles.productDescStyles}`} style={{ textAlign: langdetect == 'en' ? 'left' : 'right' }}>
|
|
295
|
+
{plainString(langdetect == 'en' ? item.description_en : item.description_ar)}
|
|
296
|
+
</p>
|
|
297
|
+
</div>
|
|
298
|
+
)}
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
);
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
export default ProductCardWithTextOnImage;
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
+
import { serverbaselink } from '../../../../Env';
|
|
3
|
+
|
|
4
|
+
import cardsstyles from '../../../styles/cards/Productcard6.module.css';
|
|
5
|
+
import { css } from 'glamor';
|
|
6
|
+
|
|
7
|
+
import { FaRegHeart } from '@react-icons/all-files/fa/FaRegHeart';
|
|
8
|
+
import { FaHeart } from '@react-icons/all-files/fa/FaHeart';
|
|
9
|
+
import { AiFillStar } from '@react-icons/all-files/ai/AiFillStar';
|
|
10
|
+
import { AiOutlineStar } from '@react-icons/all-files/ai/AiOutlineStar';
|
|
11
|
+
|
|
12
|
+
const Productcard6 = (props) => {
|
|
13
|
+
const [sectionproperties, setsectionproperties] = useState('');
|
|
14
|
+
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
15
|
+
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
16
|
+
const lang = props.actions.lang;
|
|
17
|
+
const langdetect = props.actions.langdetect;
|
|
18
|
+
const setShowProductInfoModalContext = props.actions.setShowProductInfoModalContext;
|
|
19
|
+
const addtofavoritescontext = props.actions.addtofavoritescontext;
|
|
20
|
+
const setProductIdProdutInfoModalContext = props.actions.setProductIdProdutInfoModalContext;
|
|
21
|
+
const AddtoCartContext = props.actions.AddtoCartContext;
|
|
22
|
+
const AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
23
|
+
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
24
|
+
const routingcountext = props.actions.routingcountext;
|
|
25
|
+
const cardonclickfunctionContext = props.actions.cardonclickfunctionContext;
|
|
26
|
+
const ikimagecredcontext = props.actions.ikimagecredcontext;
|
|
27
|
+
|
|
28
|
+
const NotificationManager = NotificationManager;
|
|
29
|
+
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
if (props.srcfrom == 'addsectionform') {
|
|
32
|
+
var secpropobj = {};
|
|
33
|
+
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
34
|
+
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
setsectionproperties({ ...secpropobj });
|
|
38
|
+
} else {
|
|
39
|
+
var secpropobj = {};
|
|
40
|
+
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
41
|
+
if (sectionitem.sectionid == props.sectionidprops) {
|
|
42
|
+
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
43
|
+
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
setsectionproperties({ ...secpropobj });
|
|
48
|
+
}
|
|
49
|
+
}, [StatePagePropertiesContext]);
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
setitem(props.cardinfoitemprops);
|
|
52
|
+
}, [props.cardinfoitemprops]);
|
|
53
|
+
const card_cssstyles = {
|
|
54
|
+
productcard: css({
|
|
55
|
+
position: 'relative',
|
|
56
|
+
background: sectionproperties.backgroundColortransparent == 'Transparent' ? sectionproperties.backgroundColor : '',
|
|
57
|
+
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
58
|
+
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
59
|
+
height: sectionproperties.height + 'px',
|
|
60
|
+
width: '100%',
|
|
61
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
62
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
63
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
64
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
65
|
+
marginTop: sectionproperties.marginTop + 'px',
|
|
66
|
+
marginBottom: sectionproperties.marginBottom + 'px',
|
|
67
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
|
|
68
|
+
paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
|
|
69
|
+
paddingTop: sectionproperties.paddingTop + 'px',
|
|
70
|
+
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
71
|
+
transition: '0.3s',
|
|
72
|
+
cursor: 'pointer',
|
|
73
|
+
opacity: sectionproperties.cardbg_opacity,
|
|
74
|
+
border: sectionproperties.imgcontainer_borderwidth + 'px solid ' + sectionproperties.imgcontainer_bordercolor,
|
|
75
|
+
|
|
76
|
+
':hover': {
|
|
77
|
+
opacity: sectionproperties.bgopacityonhover,
|
|
78
|
+
},
|
|
79
|
+
':after': {
|
|
80
|
+
borderBottomLeftRadius: langdetect == 'en' ? sectionproperties.borderBottomLeftRadius + 'px' : sectionproperties.borderBottomRightRadius + 'px',
|
|
81
|
+
borderBottomRightRadius: langdetect == 'en' ? sectionproperties.borderBottomRightRadius + 'px' : sectionproperties.borderBottomLeftRadius + 'px',
|
|
82
|
+
borderTopLeftRadius: langdetect == 'en' ? sectionproperties.borderTopLeftRadius + 'px' : sectionproperties.borderTopRightRadius + 'px',
|
|
83
|
+
borderTopRightRadius: langdetect == 'en' ? sectionproperties.borderTopRightRadius + 'px' : sectionproperties.borderTopLeftRadius + 'px',
|
|
84
|
+
content: 's',
|
|
85
|
+
fontSize: 0,
|
|
86
|
+
position: 'absolute',
|
|
87
|
+
top: 0,
|
|
88
|
+
bottom: 0,
|
|
89
|
+
left: 0,
|
|
90
|
+
width: '100%',
|
|
91
|
+
height: '100%',
|
|
92
|
+
transition: ' 0.3s',
|
|
93
|
+
background: sectionproperties.transitionbg_color,
|
|
94
|
+
opacity: sectionproperties.cardtransition_opacity,
|
|
95
|
+
},
|
|
96
|
+
':hover:after': {
|
|
97
|
+
opacity: sectionproperties.cardtransitionbgopacityonhover,
|
|
98
|
+
},
|
|
99
|
+
}),
|
|
100
|
+
productNameStyles: css({
|
|
101
|
+
color: sectionproperties.prodNameColor,
|
|
102
|
+
fontSize: sectionproperties.prodNameFontSize + 'px',
|
|
103
|
+
textTransform: sectionproperties.prodNameTextTranform,
|
|
104
|
+
fontWeight: sectionproperties.prodNameFontWeight,
|
|
105
|
+
transition: '.3s',
|
|
106
|
+
cursor: 'pointer',
|
|
107
|
+
position: 'absolute',
|
|
108
|
+
zIndex: '10',
|
|
109
|
+
}),
|
|
110
|
+
productPricestyles: css({
|
|
111
|
+
color: sectionproperties.prodPriceColor,
|
|
112
|
+
fontSize: sectionproperties.prodpriceFontSize + 'px',
|
|
113
|
+
fontWeight: sectionproperties.prodPriceFontWeight,
|
|
114
|
+
zIndex: '10',
|
|
115
|
+
}),
|
|
116
|
+
productSalePricestyles: css({
|
|
117
|
+
color: sectionproperties.prodsalePriceColor,
|
|
118
|
+
fontSize: sectionproperties.prodsalepriceFontSize + 'px',
|
|
119
|
+
fontWeight: sectionproperties.prodsalePriceFontWeight,
|
|
120
|
+
zIndex: '10',
|
|
121
|
+
}),
|
|
122
|
+
wishlist_btn: css({
|
|
123
|
+
width: sectionproperties.favBtnWidth + 'px',
|
|
124
|
+
height: sectionproperties.favBtnHeight + 'px',
|
|
125
|
+
background: sectionproperties.favbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColor,
|
|
126
|
+
borderRadius: sectionproperties.fav_btn_borderBottomLeftRadius + 'px',
|
|
127
|
+
color: sectionproperties.favBtnTextcolor,
|
|
128
|
+
fontSize: sectionproperties.favBtnIconfontsize + 'px',
|
|
129
|
+
textTransform: sectionproperties.favBtnTexttransform,
|
|
130
|
+
fontWeight: sectionproperties.favBtnTextfontweight,
|
|
131
|
+
transition: '.3s',
|
|
132
|
+
border: sectionproperties.favbtnborderwidth + 'px solid ' + sectionproperties.favbtnbordercolor,
|
|
133
|
+
':hover': {
|
|
134
|
+
background: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.favBtnbgColoronhover,
|
|
135
|
+
color: sectionproperties.favBtnTextcoloronhover,
|
|
136
|
+
borderColor: sectionproperties.favbtn_transparentbgcoloronhover == 'Transparent' ? sectionproperties.favBtnTextcoloronhover : sectionproperties.favBtnbgColoronhover,
|
|
137
|
+
},
|
|
138
|
+
}),
|
|
139
|
+
cart_btn: css({
|
|
140
|
+
width: sectionproperties.cartBtnWidth + 'px',
|
|
141
|
+
height: sectionproperties.cartBtnHeight + 'px',
|
|
142
|
+
background: sectionproperties.cartbtn_bgtransparent == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColor,
|
|
143
|
+
borderRadius: sectionproperties.cart_btn_borderBottomLeftRadius + 'px',
|
|
144
|
+
color: sectionproperties.cartBtnTextcolor,
|
|
145
|
+
fontSize: sectionproperties.cartBtnTextfontsize + 'px',
|
|
146
|
+
// fontSize: sectionproperties.cartBtn_iconFontSize + 'px',
|
|
147
|
+
textTransform: sectionproperties.cartBtnTexttransform,
|
|
148
|
+
fontWeight: sectionproperties.cartBtnTextfontweight,
|
|
149
|
+
border: sectionproperties.cartbtnborderwidth + 'px solid ' + sectionproperties.cartbtnbordercolor,
|
|
150
|
+
transition: '.3s',
|
|
151
|
+
':hover': {
|
|
152
|
+
background: sectionproperties.cartbtn_transparentbgcoloronhover == 'Transparent' ? 'transparent' : sectionproperties.cartBtnbgColoronhover,
|
|
153
|
+
color: sectionproperties.cartBtnTextcoloronhover,
|
|
154
|
+
},
|
|
155
|
+
zIndex: '10',
|
|
156
|
+
}),
|
|
157
|
+
};
|
|
158
|
+
return (
|
|
159
|
+
<div
|
|
160
|
+
class="row m-0 w-100"
|
|
161
|
+
style={{
|
|
162
|
+
paddingLeft: langdetect == 'en' ? sectionproperties.card_marginLeft + 'px' : sectionproperties.card_marginRight + 'px',
|
|
163
|
+
paddingRight: langdetect == 'en' ? sectionproperties.card_marginRight + 'px' : sectionproperties.card_marginLeft + 'px',
|
|
164
|
+
}}
|
|
165
|
+
>
|
|
166
|
+
{sectionproperties.length != 0 && (
|
|
167
|
+
<div
|
|
168
|
+
class={`${card_cssstyles.productcard} ${cardsstyles.productcard}` + ' w-100 '}
|
|
169
|
+
style={{
|
|
170
|
+
backgroundImage: `url(${serverbaselink + item.image})`,
|
|
171
|
+
backgroundRepeat: 'no-repeat',
|
|
172
|
+
// backgroundSize: 'cover',
|
|
173
|
+
backgroundPosition: 'center',
|
|
174
|
+
}}
|
|
175
|
+
onClick={() => {
|
|
176
|
+
cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
177
|
+
}}
|
|
178
|
+
>
|
|
179
|
+
{sectionproperties.prodNameShow == 'Show' && (
|
|
180
|
+
<div class="col-lg-12 d-flex flex-row justify-content-start p-0" style={{}}>
|
|
181
|
+
<p
|
|
182
|
+
onClick={(e) => {
|
|
183
|
+
e.stopPropagation();
|
|
184
|
+
cardonclickfunctionContext(sectionproperties?.onClickRoute, item.productid, props.fetchingtypeprops, item.collectionid);
|
|
185
|
+
}}
|
|
186
|
+
class={`${card_cssstyles.productNameStyles}` + ' d-flex flex-row justify-content-start m-0 wordbreak wordbreak2 '}
|
|
187
|
+
>
|
|
188
|
+
{item.name}
|
|
189
|
+
</p>
|
|
190
|
+
</div>
|
|
191
|
+
)}
|
|
192
|
+
<div class="col-lg-12 d-flex justify-content-start p-0" style={{ height: '50%', zIndex: 100, position: 'absolute', bottom: 10 }}>
|
|
193
|
+
<div class="row w-100 ml-0 mr-0 mt-auto">
|
|
194
|
+
<div class="col-lg-12 p-0 d-flex flex-row justify-content-start align-items-center mt-auto">
|
|
195
|
+
{sectionproperties.prodPriceShow == 'Show' && (
|
|
196
|
+
<p class={`${card_cssstyles.productPricestyles}` + ' m-0 '}>
|
|
197
|
+
{langdetect == 'en' ? 'EGP' : ''} {item.hassale == 1 ? item.defaultsaleprice : item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
|
|
198
|
+
</p>
|
|
199
|
+
)}
|
|
200
|
+
{sectionproperties.prodsalePriceshow == 'Show' && (
|
|
201
|
+
<>
|
|
202
|
+
{item.hassale == 1 && (
|
|
203
|
+
<p class={`${card_cssstyles.productSalePricestyles}` + ' linethrough m-0 mr-2 ml-2 '}>
|
|
204
|
+
{langdetect == 'en' ? 'EGP' : ''} {item.defaultprice} {langdetect == 'en' ? '' : 'ج.م'}
|
|
205
|
+
</p>
|
|
206
|
+
)}
|
|
207
|
+
</>
|
|
208
|
+
)}
|
|
209
|
+
</div>
|
|
210
|
+
<div class="col-lg-12 p-0 d-flex">
|
|
211
|
+
{sectionproperties.cartBtnShow == 'Show' && (
|
|
212
|
+
<button
|
|
213
|
+
class={`${card_cssstyles.cart_btn}` + ' mr-3 '}
|
|
214
|
+
onClick={(e) => {
|
|
215
|
+
e.stopPropagation();
|
|
216
|
+
setShowProductInfoModalContext(true);
|
|
217
|
+
setProductIdProdutInfoModalContext(item.productid);
|
|
218
|
+
}}
|
|
219
|
+
>
|
|
220
|
+
{lang.addtocart}
|
|
221
|
+
</button>
|
|
222
|
+
)}
|
|
223
|
+
{sectionproperties.favBtnShow == 'Show' && (
|
|
224
|
+
<button
|
|
225
|
+
class={`${card_cssstyles.wishlist_btn}` + ' d-flex align-items-center justify-content-center '}
|
|
226
|
+
onClick={(e) => {
|
|
227
|
+
e.stopPropagation();
|
|
228
|
+
addtofavoritescontext(item.productid);
|
|
229
|
+
}}
|
|
230
|
+
>
|
|
231
|
+
{item.IsFavExists && (
|
|
232
|
+
<i class="h-100 d-flex align-items-center justify-content-center">
|
|
233
|
+
{sectionproperties.faviconshape == 'Star Shape' && (
|
|
234
|
+
<AiFillStar size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
|
|
235
|
+
)}
|
|
236
|
+
{sectionproperties.faviconshape == 'Heart Shape' && (
|
|
237
|
+
<FaHeart size={sectionproperties.favBtnIconfontsize} style={{ color: sectionproperties.activefaviconcolor }} />
|
|
238
|
+
)}
|
|
239
|
+
</i>
|
|
240
|
+
)}
|
|
241
|
+
{!item.IsFavExists && (
|
|
242
|
+
<i class="h-100 d-flex align-items-center justify-content-center">
|
|
243
|
+
{sectionproperties.faviconshape == 'Star Shape' && <AiOutlineStar size={sectionproperties.favBtnIconfontsize} />}
|
|
244
|
+
{sectionproperties.faviconshape == 'Heart Shape' && <FaRegHeart size={sectionproperties.favBtnIconfontsize} />}
|
|
245
|
+
</i>
|
|
246
|
+
)}
|
|
247
|
+
</button>
|
|
248
|
+
)}
|
|
249
|
+
</div>
|
|
250
|
+
</div>
|
|
251
|
+
</div>
|
|
252
|
+
</div>
|
|
253
|
+
)}
|
|
254
|
+
</div>
|
|
255
|
+
);
|
|
256
|
+
};
|
|
257
|
+
export default Productcard6;
|