tabexseriescomponents 0.0.80 → 0.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +41 -13
- package/dist/index.esm.js +41 -13
- package/dist/index.umd.js +41 -13
- package/package.json +1 -1
- package/componentssrc.rar +0 -0
- package/srcOLD/Contexts/LanguageContext.jsx +0 -347
- package/srcOLD/Contexts/ProductsCardsSectionContext.jsx +0 -28
- package/srcOLD/StylesJS/Customstyles.js +0 -235
- package/srcOLD/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -214
- package/srcOLD/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -258
- package/srcOLD/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -206
- package/srcOLD/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -176
- package/srcOLD/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -207
- package/srcOLD/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -162
- package/srcOLD/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -193
- package/srcOLD/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -158
- package/srcOLD/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -286
- package/srcOLD/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -558
- package/srcOLD/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -486
- package/srcOLD/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -300
- package/srcOLD/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -288
- package/srcOLD/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -307
- package/srcOLD/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -295
- package/srcOLD/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -325
- package/srcOLD/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -290
- package/srcOLD/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -303
- package/srcOLD/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -466
- package/srcOLD/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -282
- package/srcOLD/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -298
- package/srcOLD/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -139
- package/srcOLD/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -135
- package/srcOLD/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -304
- package/srcOLD/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -291
- package/srcOLD/TabexComponents/Footer/Footer1/Footer1.jsx +0 -418
- package/srcOLD/TabexComponents/Footer/Footer2/Footer2.jsx +0 -382
- package/srcOLD/TabexComponents/Footer/Footer3/Footer3.jsx +0 -308
- package/srcOLD/TabexComponents/Footer/Footer4/Footer4.jsx +0 -438
- package/srcOLD/TabexComponents/Footer/Footer5/Footer5.jsx +0 -495
- package/srcOLD/TabexComponents/Footer/Footer6/Footer6.jsx +0 -295
- package/srcOLD/TabexComponents/Footer/Footer7/Footer7.jsx +0 -373
- package/srcOLD/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -238
- package/srcOLD/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/noimage.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/usflag.png +0 -0
- package/srcOLD/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
- package/srcOLD/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +0 -724
- package/srcOLD/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -687
- package/srcOLD/TabexComponents/Headers/Header4/Header4.jsx +0 -632
- package/srcOLD/TabexComponents/Headers/Header6/Header6.jsx +0 -669
- package/srcOLD/TabexComponents/Headers/Header8/Header8.jsx +0 -882
- package/srcOLD/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -754
- package/srcOLD/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -798
- package/srcOLD/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -686
- package/srcOLD/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -938
- package/srcOLD/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -706
- package/srcOLD/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -821
- package/srcOLD/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -228
- package/srcOLD/TabexComponents/Headers/Subheader/Subheader.jsx +0 -251
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -312
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -278
- package/srcOLD/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -138
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -160
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -295
- package/srcOLD/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -784
- package/srcOLD/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -861
- package/srcOLD/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.js +0 -496
- package/srcOLD/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +0 -888
- package/srcOLD/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +0 -419
- package/srcOLD/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.js +0 -552
- package/srcOLD/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -281
- package/srcOLD/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -166
- package/srcOLD/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -152
- package/srcOLD/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -284
- package/srcOLD/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -146
- package/srcOLD/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -209
- package/srcOLD/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -145
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -252
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -175
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -154
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -201
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -414
- package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -270
- package/srcOLD/TabexComponents/StaticPages/Aboutus/Aboutus.js +0 -175
- package/srcOLD/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -275
- package/srcOLD/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -459
- package/srcOLD/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.js +0 -146
- package/srcOLD/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1220
- package/srcOLD/TabexComponents/StaticPages/Filter/Filter.jsx +0 -542
- package/srcOLD/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -51
- package/srcOLD/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
- package/srcOLD/TabexComponents/StaticPages/Login/Login.jsx +0 -299
- package/srcOLD/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +0 -192
- package/srcOLD/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1285
- package/srcOLD/TabexComponents/StaticPages/Policies/Policies.jsx +0 -358
- package/srcOLD/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1506
- package/srcOLD/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -225
- package/srcOLD/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -788
- package/srcOLD/TabexComponents/StaticPages/Signup/Signup.jsx +0 -157
- package/srcOLD/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -295
- package/srcOLD/TabexComponents/StaticPages/Viewcart/Viewcart.js +0 -1090
- package/srcOLD/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -629
- package/srcOLD/assets/images/cod.png +0 -0
- package/srcOLD/assets/images/egyptflag.png +0 -0
- package/srcOLD/assets/images/fawry.png +0 -0
- package/srcOLD/assets/images/payment.png +0 -0
- package/srcOLD/assets/images/paymob.png +0 -0
- package/srcOLD/assets/images/paypal.png +0 -0
- package/srcOLD/assets/images/shoppingcart.png +0 -0
- package/srcOLD/assets/images/usflag.png +0 -0
- package/srcOLD/assets/images/visa.png +0 -0
- package/srcOLD/assets/images/whatsapp.png +0 -0
- package/srcOLD/button.jsx +0 -40
- package/srcOLD/index.jsx +0 -175
- package/srcOLD/styles/Home.module.css +0 -129
- package/srcOLD/styles/cards/Categorcycard_fullimage.module.css +0 -10
- package/srcOLD/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
- package/srcOLD/styles/cards/Categorycard_withshapes.module.css +0 -189
- package/srcOLD/styles/cards/Productcard6.module.css +0 -9
- package/srcOLD/styles/cards/Productcard_with_circularbg.module.css +0 -137
- package/srcOLD/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
- package/srcOLD/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
- package/srcOLD/styles/cards/categorycard.module.css +0 -102
- package/srcOLD/styles/cards/categorycard3.module.css +0 -51
- package/srcOLD/styles/cards/categorycardwithtext.module.css +0 -40
- package/srcOLD/styles/cards/productcard_animatedbuttons.module.css +0 -104
- package/srcOLD/styles/cards/productcard_with_textonhover.module.css +0 -12
- package/srcOLD/styles/cards/productccard_with_imageontopleft.module.css +0 -85
- package/srcOLD/styles/general/bootstrap.css +0 -4420
- package/srcOLD/styles/general/dropdown.css +0 -199
- package/srcOLD/styles/general/editorbardropdown.module.css +0 -94
- package/srcOLD/styles/general/filter.module.css +0 -108
- package/srcOLD/styles/general/form.module.css +0 -273
- package/srcOLD/styles/general/general.module.css +0 -709
- package/srcOLD/styles/general/image-gallery.css +0 -481
- package/srcOLD/styles/general/react-accessible-accordion.module.css +0 -52
- package/srcOLD/styles/general/react-phone-input-2.module.css +0 -927
- package/srcOLD/styles/general/scrollbtn.module.css +0 -22
- package/srcOLD/styles/general/slick.module.css +0 -166
- package/srcOLD/styles/general/tabs.module.css +0 -110
- package/srcOLD/styles/general/workplaceeditor.module.css +0 -328
- package/srcOLD/styles/globals.css +0 -26
- package/srcOLD/styles/headers/Allinoneheader.module.css +0 -91
- package/srcOLD/styles/headers/Header7.module.css +0 -50
- package/srcOLD/styles/headers/Header_threesectionslogocentered.module.css +0 -97
- package/srcOLD/styles/headers/Sideheader.module.css +0 -108
- package/srcOLD/styles/headers/classicheaderstyles.module.css +0 -16
- package/srcOLD/styles/headers/dropdown.css +0 -0
- package/srcOLD/styles/headers/header4.module.css +0 -175
- package/srcOLD/styles/headers/header5.module.css +0 -30
- package/srcOLD/styles/headers/header6.module.css +0 -117
- package/srcOLD/styles/headers/header_contactinfo.module.css +0 -78
- package/srcOLD/styles/headers/headerresturant.module.css +0 -89
- package/srcOLD/styles/headers/headerstyles.module.css +0 -24
- package/srcOLD/styles/headers/modernheader.module.css +0 -78
- package/srcOLD/styles/headers/subheader.module.css +0 -114
- package/srcOLD/styles/sections/Backgroundimage1.module.css +0 -17
- package/srcOLD/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
- package/srcOLD/styles/sections/Section_with_rightbgcont.module.css +0 -49
- package/srcOLD/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
- package/srcOLD/styles/sections/Slideshow_with_squarebg.module.css +0 -39
- package/srcOLD/styles/staticpages/accordion.module.css +0 -9
- package/srcOLD/styles/staticpages/cart.module.css +0 -108
- package/srcOLD/styles/staticpages/dropdown.css +0 -196
- package/srcOLD/styles/staticpages/filter.module.css +0 -139
- package/srcOLD/styles/staticpages/login.module.css +0 -146
- package/srcOLD/styles/staticpages/productinfo.module.css +0 -54
- package/srcOLD/styles/staticpages/shop.module.css +0 -191
- package/srcOLD/styles/staticpages/signup.module.css +0 -206
- package/srcOLD/styles/staticpages/staticroutersidenav.module.css +0 -129
- package/srcOLD/styles/staticpages/viewcart.module.css +0 -129
- package/srcOLD/styles/staticpages/wishlist.module.css +0 -29
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { serverbaselink } from '../../../Env_Variables';
|
|
3
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
4
|
-
import { css } from 'glamor';
|
|
5
|
-
import cardstyles from '../../../styles/cards/Categorycard_withshapes.module.css';
|
|
6
|
-
|
|
7
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
8
|
-
import { IKImage } from 'imagekitio-react';
|
|
9
|
-
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
10
|
-
|
|
11
|
-
const Categorycard_withshapes = (props) => {
|
|
12
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = React.useContext(WebsiteDesignWorkPlaceContext);
|
|
13
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
14
|
-
const [sectionproperties, setsectionproperties] = useState('');
|
|
15
|
-
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
16
|
-
const [index, setindex] = useState(props.cardinfoindexprops);
|
|
17
|
-
|
|
18
|
-
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
19
|
-
const lang = props.actions.lang;
|
|
20
|
-
const langdetect = props.actions.langdetect;
|
|
21
|
-
const routingcountext = props.actions.routingcountext;
|
|
22
|
-
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
23
|
-
useEffect(() => {
|
|
24
|
-
if (props.srcfrom == 'addsectionform') {
|
|
25
|
-
var secpropobj = {};
|
|
26
|
-
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
27
|
-
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
setsectionproperties({ ...secpropobj });
|
|
31
|
-
} else {
|
|
32
|
-
var secpropobj = {};
|
|
33
|
-
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
34
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
35
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
36
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
setsectionproperties({ ...secpropobj });
|
|
41
|
-
}
|
|
42
|
-
}, [StatePagePropertiesContext]);
|
|
43
|
-
const card_cssstyles = {
|
|
44
|
-
categoryCard: css({
|
|
45
|
-
background: sectionproperties.backgroundColortransparent == 'Transparent' ? sectionproperties.backgroundColor : '',
|
|
46
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
47
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
48
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
49
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
50
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
51
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
52
|
-
marginLeft: sectionproperties.card_marginLeft + 'px',
|
|
53
|
-
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
54
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
55
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
56
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
57
|
-
height: sectionproperties.height + 'px',
|
|
58
|
-
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : '',
|
|
59
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
60
|
-
transition: '0.3s',
|
|
61
|
-
cursor: 'pointer',
|
|
62
|
-
opacity: sectionproperties.cardbg_opacity,
|
|
63
|
-
overflow: 'hidden',
|
|
64
|
-
cursor: 'pointer',
|
|
65
|
-
backgroundSize: 'cover',
|
|
66
|
-
backgroundRepeat: 'no-repeat',
|
|
67
|
-
backgroundPosition: 'center',
|
|
68
|
-
transition: '0.3s',
|
|
69
|
-
':after': {
|
|
70
|
-
backgroundColor: sectionproperties.transitionbg_color,
|
|
71
|
-
},
|
|
72
|
-
}),
|
|
73
|
-
|
|
74
|
-
categorycardtext: css({
|
|
75
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
76
|
-
color: sectionproperties.generaltext_fontColor,
|
|
77
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
78
|
-
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
79
|
-
}),
|
|
80
|
-
shadow1: css({
|
|
81
|
-
background: sectionproperties.firstcolor,
|
|
82
|
-
// primary
|
|
83
|
-
}),
|
|
84
|
-
shadow2: css({
|
|
85
|
-
background: sectionproperties.secondcolor,
|
|
86
|
-
// primary
|
|
87
|
-
}),
|
|
88
|
-
cards_three__rect2: css({
|
|
89
|
-
':before': {
|
|
90
|
-
background: sectionproperties.secondcolor,
|
|
91
|
-
},
|
|
92
|
-
':after': {
|
|
93
|
-
background: sectionproperties.firstcolor,
|
|
94
|
-
},
|
|
95
|
-
}),
|
|
96
|
-
cards_three__circle: css({
|
|
97
|
-
':before': {
|
|
98
|
-
background: sectionproperties.firstcolor,
|
|
99
|
-
},
|
|
100
|
-
}),
|
|
101
|
-
};
|
|
102
|
-
return (
|
|
103
|
-
<div
|
|
104
|
-
class={`${cardstyles.card__collection} ${card_cssstyles.categoryCard}`}
|
|
105
|
-
onClick={() => {
|
|
106
|
-
if (props.fetchingtypeprops == 'collections') {
|
|
107
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
|
|
108
|
-
}
|
|
109
|
-
}}
|
|
110
|
-
>
|
|
111
|
-
<div
|
|
112
|
-
class={`${cardstyles.cards} ${cardstyles.cards_three}`}
|
|
113
|
-
style={{
|
|
114
|
-
// backgroundImage: `url(${serverbaselink + item.image})`,
|
|
115
|
-
backgroundPosition: 'center center',
|
|
116
|
-
backgroundRepeat: 'no-repeat',
|
|
117
|
-
backgroundSize: 'cover',
|
|
118
|
-
}}
|
|
119
|
-
>
|
|
120
|
-
<IKImage
|
|
121
|
-
urlEndpoint={IKurlEndpoint}
|
|
122
|
-
publicKey={IKpublicKey}
|
|
123
|
-
path={item.image}
|
|
124
|
-
style={{
|
|
125
|
-
width: '100%',
|
|
126
|
-
height: '100%',
|
|
127
|
-
objectFit: 'cover',
|
|
128
|
-
}}
|
|
129
|
-
loading="lazy"
|
|
130
|
-
/>
|
|
131
|
-
<span class={`${cardstyles.cards_three__rect1}`}>
|
|
132
|
-
<span class={`${cardstyles.shadow1} ${card_cssstyles.shadow1}`}></span>
|
|
133
|
-
|
|
134
|
-
{sectionproperties.general_showtext == 'Show' && (
|
|
135
|
-
<div class={' row m-0 w-100 '}>
|
|
136
|
-
<div class="col-lg-12 p-0">
|
|
137
|
-
<p class={`${card_cssstyles.categorycardtext}` + ' m-0 p-0 '}>{item.name}</p>
|
|
138
|
-
</div>
|
|
139
|
-
</div>
|
|
140
|
-
)}
|
|
141
|
-
</span>
|
|
142
|
-
<span class={`${cardstyles.cards_three__rect2} ${card_cssstyles.cards_three__rect2}`}>
|
|
143
|
-
<span class={`${cardstyles.shadow2} ${card_cssstyles.shadow2}`}></span>
|
|
144
|
-
</span>
|
|
145
|
-
<span class={`${cardstyles.cards_three__circle} ${card_cssstyles.cards_three__circle}`}></span>
|
|
146
|
-
{sectionproperties.generalbtn_show == 'Show' && (
|
|
147
|
-
<div
|
|
148
|
-
class={`${cardstyles.cards_three__list}`}
|
|
149
|
-
onClick={() => {
|
|
150
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
|
|
151
|
-
}}
|
|
152
|
-
>
|
|
153
|
-
<div class={`${cardstyles.btncont} ` + ' row m-0 w-100'}>
|
|
154
|
-
<p style={{ zIndex: 1000 }}>More Items</p>
|
|
155
|
-
</div>
|
|
156
|
-
</div>
|
|
157
|
-
)}
|
|
158
|
-
</div>
|
|
159
|
-
</div>
|
|
160
|
-
);
|
|
161
|
-
};
|
|
162
|
-
export default Categorycard_withshapes;
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { serverbaselink } from '../../../Env_Variables';
|
|
3
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
4
|
-
import { css } from 'glamor';
|
|
5
|
-
import cardstyles from '../../../styles/cards/categorycardwithtext.module.css';
|
|
6
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
7
|
-
import { IKImage } from 'imagekitio-react';
|
|
8
|
-
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
9
|
-
|
|
10
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
11
|
-
|
|
12
|
-
const Categorycard_withtext = (props) => {
|
|
13
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
14
|
-
// const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = React.useContext(WebsiteDesignWorkPlaceContext);
|
|
15
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
16
|
-
const [sectionproperties, setsectionproperties] = useState('');
|
|
17
|
-
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
18
|
-
const [index, setindex] = useState(props.cardinfoindexprops);
|
|
19
|
-
|
|
20
|
-
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
21
|
-
const lang = props.actions.lang;
|
|
22
|
-
const langdetect = props.actions.langdetect;
|
|
23
|
-
const routingcountext = props.actions.routingcountext;
|
|
24
|
-
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
25
|
-
useEffect(() => {
|
|
26
|
-
if (props.srcfrom == 'addsectionform') {
|
|
27
|
-
var secpropobj = {};
|
|
28
|
-
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
29
|
-
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
setsectionproperties({ ...secpropobj });
|
|
33
|
-
} else {
|
|
34
|
-
var secpropobj = {};
|
|
35
|
-
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
36
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
37
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
38
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
setsectionproperties({ ...secpropobj });
|
|
43
|
-
}
|
|
44
|
-
}, [StatePagePropertiesContext]);
|
|
45
|
-
const categorycard_cssstyles = {
|
|
46
|
-
categorycard: css({
|
|
47
|
-
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
48
|
-
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
49
|
-
height: sectionproperties.height + 'px',
|
|
50
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
51
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
52
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
53
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
54
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
55
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
56
|
-
transition: '0.3s',
|
|
57
|
-
cursor: 'pointer',
|
|
58
|
-
opacity: sectionproperties.cardbg_opacity,
|
|
59
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
60
|
-
':hover': {
|
|
61
|
-
opacity: sectionproperties.bgopacityonhover,
|
|
62
|
-
},
|
|
63
|
-
':before': {
|
|
64
|
-
content: 's',
|
|
65
|
-
position: 'absolute',
|
|
66
|
-
left: '35px',
|
|
67
|
-
top: '30px',
|
|
68
|
-
border: sectionproperties.bordertransitionbg_colorwidth + 'px solid ' + sectionproperties.bordertransitionbg_color,
|
|
69
|
-
width: 'calc(100% - 70px)',
|
|
70
|
-
height: 'calc(100% - 60px)',
|
|
71
|
-
transform: 'scale(0)',
|
|
72
|
-
transition: 'all 0.3s',
|
|
73
|
-
fontSize: 0,
|
|
74
|
-
},
|
|
75
|
-
':hover:before': {
|
|
76
|
-
opacity: sectionproperties.bordertransitionopacityonhover,
|
|
77
|
-
transform: 'scale(1)',
|
|
78
|
-
},
|
|
79
|
-
':after': {
|
|
80
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
81
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
82
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
83
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + '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
|
-
zIndex: 1,
|
|
93
|
-
transition: ' 0.3s',
|
|
94
|
-
background: sectionproperties.transitionbg_color,
|
|
95
|
-
opacity: sectionproperties.cardtransition_opacity,
|
|
96
|
-
},
|
|
97
|
-
':hover:after': {
|
|
98
|
-
opacity: sectionproperties.cardtransitionbgopacityonhover,
|
|
99
|
-
},
|
|
100
|
-
}),
|
|
101
|
-
categorycardtext: css({
|
|
102
|
-
color: sectionproperties.generaltext_fontColor,
|
|
103
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
104
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
105
|
-
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
106
|
-
transition: '.3s',
|
|
107
|
-
cursor: 'pointer',
|
|
108
|
-
zIndex: 1000,
|
|
109
|
-
':hover': {
|
|
110
|
-
color: sectionproperties.text_secondarycolor,
|
|
111
|
-
},
|
|
112
|
-
}),
|
|
113
|
-
cardbtn: css({
|
|
114
|
-
fontWeight: sectionproperties.generalbtn_fontweight,
|
|
115
|
-
backgroundColor: sectionproperties.generalbtn_bgColor,
|
|
116
|
-
borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
|
|
117
|
-
borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
|
|
118
|
-
borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
|
|
119
|
-
borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
|
|
120
|
-
height: sectionproperties.generalbtn_height + 'px',
|
|
121
|
-
width: sectionproperties.generalbtn_width + 'px',
|
|
122
|
-
fontSize: sectionproperties.generalbtn_fontsize + 'px',
|
|
123
|
-
color: sectionproperties.generalbtn_textColor,
|
|
124
|
-
textTransform: sectionproperties.generalbtn_texttransform,
|
|
125
|
-
opacity: sectionproperties.generalbtn_showonhover == 'Show On Hover' ? 0 : 1,
|
|
126
|
-
top: sectionproperties.generalbtn_showonhover == 'Show On Hover' ? '100px' : 0,
|
|
127
|
-
zIndex: 1000,
|
|
128
|
-
':hover': {
|
|
129
|
-
backgroundColor: sectionproperties.generalbtn_bgColoronhover,
|
|
130
|
-
color: sectionproperties.generalbtn_textColoronhover,
|
|
131
|
-
top: sectionproperties.generalbtn_showonhover == 'Show On Hover' ? 0 : '100px',
|
|
132
|
-
},
|
|
133
|
-
}),
|
|
134
|
-
};
|
|
135
|
-
return (
|
|
136
|
-
<div
|
|
137
|
-
class="row m-0 w-100"
|
|
138
|
-
style={{
|
|
139
|
-
paddingLeft: sectionproperties.card_marginLeft + 'px',
|
|
140
|
-
paddingRight: sectionproperties.card_marginRight + 'px',
|
|
141
|
-
}}
|
|
142
|
-
>
|
|
143
|
-
<div
|
|
144
|
-
class={`${categorycard_cssstyles.categorycard} ${cardstyles.categorycard}` + ' col-lg-12 p-0 w-100 '}
|
|
145
|
-
onClick={() => {
|
|
146
|
-
if (props.fetchingtypeprops == 'collections') {
|
|
147
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
|
|
148
|
-
} else {
|
|
149
|
-
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
150
|
-
}
|
|
151
|
-
}}
|
|
152
|
-
style={{
|
|
153
|
-
width: '100%',
|
|
154
|
-
}}
|
|
155
|
-
>
|
|
156
|
-
<IKImage
|
|
157
|
-
urlEndpoint={IKurlEndpoint}
|
|
158
|
-
publicKey={IKpublicKey}
|
|
159
|
-
path={item.image}
|
|
160
|
-
loading="lazy"
|
|
161
|
-
style={{
|
|
162
|
-
width: '100%',
|
|
163
|
-
height: '100%',
|
|
164
|
-
objectFit: 'cover',
|
|
165
|
-
}}
|
|
166
|
-
/>
|
|
167
|
-
<div class={`${categorycard_cssstyles.categorycardtext} ${cardstyles.categorycardtext}` + ' row m-0 w-100 '}>
|
|
168
|
-
<div class="col-lg-12 d-flex justify-content-center align-items-center flex-column">
|
|
169
|
-
{sectionproperties.general_showtext == 'Show' && <p class={'m-0 p-0 font-md-20 font-sm-15 text-center'}>{item.name}</p>}
|
|
170
|
-
{sectionproperties.generalbtn_show == 'Show' && (
|
|
171
|
-
<div>
|
|
172
|
-
<button
|
|
173
|
-
class={`${categorycard_cssstyles.cardbtn} ${cardstyles.cardbtn}` + ' font-md-13 '}
|
|
174
|
-
onClick={(e) => {
|
|
175
|
-
e.stopPropagation();
|
|
176
|
-
if (props.fetchingtypeprops == 'collections') {
|
|
177
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
|
|
178
|
-
} else {
|
|
179
|
-
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
180
|
-
}
|
|
181
|
-
}}
|
|
182
|
-
>
|
|
183
|
-
{langdetect == 'en' ? sectionproperties.slideshow_btn_text : sectionproperties.slideshow_btn_text_ar}
|
|
184
|
-
</button>
|
|
185
|
-
</div>
|
|
186
|
-
)}
|
|
187
|
-
</div>
|
|
188
|
-
</div>
|
|
189
|
-
</div>
|
|
190
|
-
</div>
|
|
191
|
-
);
|
|
192
|
-
};
|
|
193
|
-
export default Categorycard_withtext;
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import React, { useEffect, useState, useContext } from 'react';
|
|
2
|
-
// import { LanguageContext } from '../../../LanguageContext';
|
|
3
|
-
// import { FetchingContext } from '../../../FetchingContext';
|
|
4
|
-
// import { WebsiteDesignWorkPlaceContext } from '../../../../WebsiteDesignWorkPlaceContext';
|
|
5
|
-
import productcardsstyles from '../../../styles/cards/productcard_with_textonhover.module.css';
|
|
6
|
-
|
|
7
|
-
import { css } from 'glamor';
|
|
8
|
-
// import { TemplateRoutingContext } from '../../../TemplateRoutingContext';
|
|
9
|
-
import { IKImage } from 'imagekitio-react';
|
|
10
|
-
import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
|
|
11
|
-
|
|
12
|
-
const Classiccategorycard = (props) => {
|
|
13
|
-
// const { lang, langdetect } = useContext(LanguageContext);
|
|
14
|
-
// const { StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
|
|
15
|
-
// const { routingcountext, StaticPagesLinksContext } = useContext(TemplateRoutingContext);
|
|
16
|
-
const [sectionproperties, setsectionproperties] = useState('');
|
|
17
|
-
const [item, setitem] = useState(props.cardinfoitemprops);
|
|
18
|
-
|
|
19
|
-
const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
|
|
20
|
-
const lang = props.actions.lang;
|
|
21
|
-
const langdetect = props.actions.langdetect;
|
|
22
|
-
const routingcountext = props.actions.routingcountext;
|
|
23
|
-
const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
|
|
24
|
-
useEffect(() => {
|
|
25
|
-
if (props.srcfrom == 'addsectionform') {
|
|
26
|
-
var secpropobj = {};
|
|
27
|
-
props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
|
|
28
|
-
secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
setsectionproperties({ ...secpropobj });
|
|
32
|
-
} else {
|
|
33
|
-
var secpropobj = {};
|
|
34
|
-
StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
|
|
35
|
-
if (sectionitem.sectionid == props.sectionidprops) {
|
|
36
|
-
sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
|
|
37
|
-
secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
setsectionproperties({ ...secpropobj });
|
|
42
|
-
}
|
|
43
|
-
}, [StatePagePropertiesContext]);
|
|
44
|
-
const card_cssstyles = {
|
|
45
|
-
productcard: css({
|
|
46
|
-
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
47
|
-
height: sectionproperties.height + 'px',
|
|
48
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
49
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
50
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
51
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
52
|
-
marginTop: sectionproperties.marginTop + 'px',
|
|
53
|
-
marginBottom: sectionproperties.marginBottom + 'px',
|
|
54
|
-
paddingLeft: sectionproperties.paddingLeft + 'px',
|
|
55
|
-
paddingRight: sectionproperties.paddingRight + 'px',
|
|
56
|
-
paddingTop: sectionproperties.paddingTop + 'px',
|
|
57
|
-
paddingBottom: sectionproperties.paddingBottom + 'px',
|
|
58
|
-
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
59
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
60
|
-
opacity: sectionproperties.cardbg_opacity,
|
|
61
|
-
transition: '.3s',
|
|
62
|
-
color: sectionproperties.generaltext_fontColor,
|
|
63
|
-
':hover': {
|
|
64
|
-
opacity: sectionproperties.bgopacityonhover,
|
|
65
|
-
opacity: sectionproperties.bgopacityonhover,
|
|
66
|
-
color: sectionproperties.text_secondarycolor,
|
|
67
|
-
},
|
|
68
|
-
}),
|
|
69
|
-
productNameStyles: css({
|
|
70
|
-
fontSize: sectionproperties.generaltext_fontSize + 'px',
|
|
71
|
-
textTransform: sectionproperties.generaltext_textTransform,
|
|
72
|
-
fontWeight: sectionproperties.generaltext_fontWeight,
|
|
73
|
-
}),
|
|
74
|
-
productcard_text_container: css({
|
|
75
|
-
background: sectionproperties.textcontainer_bgcolor,
|
|
76
|
-
borderRadius: sectionproperties.textcontainer_borderBottomLeftRadius + 'px',
|
|
77
|
-
border: sectionproperties.textcontainer_borderwidth + 'px solid ' + sectionproperties.textcontainer_bordercolor,
|
|
78
|
-
opacity: sectionproperties.textcontainer_opacity,
|
|
79
|
-
paddingLeft: '18px',
|
|
80
|
-
paddingRight: '18px',
|
|
81
|
-
paddingTop: '8px',
|
|
82
|
-
paddingBottom: '8px',
|
|
83
|
-
transition: '.3s',
|
|
84
|
-
':hover': {
|
|
85
|
-
opacity: sectionproperties.textcontainer_opacityonhover,
|
|
86
|
-
},
|
|
87
|
-
}),
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
return (
|
|
91
|
-
<div
|
|
92
|
-
class="row m-0 w-100"
|
|
93
|
-
style={{
|
|
94
|
-
paddingLeft: sectionproperties.card_marginLeft + 'px',
|
|
95
|
-
paddingRight: sectionproperties.card_marginRight + 'px',
|
|
96
|
-
}}
|
|
97
|
-
>
|
|
98
|
-
{sectionproperties.length != 0 && (
|
|
99
|
-
<div
|
|
100
|
-
class={`${productcardsstyles.productcard} ${card_cssstyles.productcard}` + ' col-lg-12 p-0 '}
|
|
101
|
-
onClick={() => {
|
|
102
|
-
if (props.fetchingtypeprops == 'collections') {
|
|
103
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
|
|
104
|
-
} else {
|
|
105
|
-
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
106
|
-
}
|
|
107
|
-
}}
|
|
108
|
-
>
|
|
109
|
-
<IKImage
|
|
110
|
-
urlEndpoint={IKurlEndpoint}
|
|
111
|
-
publicKey={IKpublicKey}
|
|
112
|
-
path={item.image}
|
|
113
|
-
style={{
|
|
114
|
-
width: '100%',
|
|
115
|
-
objectFit: 'cover',
|
|
116
|
-
background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
|
|
117
|
-
height: sectionproperties.height + 'px',
|
|
118
|
-
borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
|
|
119
|
-
borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
|
|
120
|
-
borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
|
|
121
|
-
borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
|
|
122
|
-
boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
|
|
123
|
-
border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
|
|
124
|
-
color: sectionproperties.prodNameColor,
|
|
125
|
-
opacity: sectionproperties.cardbg_opacity,
|
|
126
|
-
transition: '.3s',
|
|
127
|
-
':hover': {
|
|
128
|
-
opacity: sectionproperties.bgopacityonhover,
|
|
129
|
-
color: sectionproperties.prodNameColorOnHover,
|
|
130
|
-
opacity: sectionproperties.bgopacityonhover,
|
|
131
|
-
position: 'relative',
|
|
132
|
-
},
|
|
133
|
-
}}
|
|
134
|
-
loading="lazy"
|
|
135
|
-
/>
|
|
136
|
-
<div class={`${productcardsstyles.productcard_text_container}` + ' row m-0 w-100 text-center pl-5 pr-5 justify-content-center '}>
|
|
137
|
-
<div class={`${card_cssstyles.productcard_text_container} ` + ' ps-0 '}>
|
|
138
|
-
<p
|
|
139
|
-
onClick={(e) => {
|
|
140
|
-
e.stopPropagation();
|
|
141
|
-
if (props.fetchingtypeprops == 'collections') {
|
|
142
|
-
routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
|
|
143
|
-
} else {
|
|
144
|
-
routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
|
|
145
|
-
}
|
|
146
|
-
}}
|
|
147
|
-
class={`${card_cssstyles.productNameStyles}` + ' m-0 wordbrek '}
|
|
148
|
-
>
|
|
149
|
-
{item.name}
|
|
150
|
-
</p>
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
</div>
|
|
154
|
-
)}
|
|
155
|
-
</div>
|
|
156
|
-
);
|
|
157
|
-
};
|
|
158
|
-
export default Classiccategorycard;
|