tabexseriescomponents 0.0.64 → 0.0.66

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.
Files changed (178) hide show
  1. package/dist/index.cjs.js +25023 -16634
  2. package/dist/index.esm.js +25033 -16645
  3. package/dist/index.umd.js +24824 -16437
  4. package/package.json +1 -1
  5. package/src1-10/Contexts/LanguageContext.jsx +347 -0
  6. package/src1-10/Contexts/ProductsCardsSectionContext.jsx +28 -0
  7. package/src1-10/StylesJS/Customstyles.js +235 -0
  8. package/src1-10/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +205 -0
  9. package/src1-10/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +239 -0
  10. package/src1-10/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +198 -0
  11. package/src1-10/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +169 -0
  12. package/src1-10/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +180 -0
  13. package/src1-10/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +162 -0
  14. package/src1-10/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +184 -0
  15. package/src1-10/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +149 -0
  16. package/src1-10/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +271 -0
  17. package/src1-10/TabexComponents/Cards/MenuCard/MenuCard.jsx +546 -0
  18. package/src1-10/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +474 -0
  19. package/src1-10/TabexComponents/Cards/Productcard6/Productcard6.jsx +290 -0
  20. package/src1-10/TabexComponents/Cards/Productcard7/Productcard7.jsx +278 -0
  21. package/src1-10/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +293 -0
  22. package/src1-10/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +278 -0
  23. package/src1-10/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +312 -0
  24. package/src1-10/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +279 -0
  25. package/src1-10/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +293 -0
  26. package/src1-10/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +456 -0
  27. package/src1-10/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +272 -0
  28. package/src1-10/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +286 -0
  29. package/src1-10/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +127 -0
  30. package/src1-10/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +126 -0
  31. package/src1-10/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +292 -0
  32. package/src1-10/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +281 -0
  33. package/src1-10/TabexComponents/Footer/Footer1/Footer1.jsx +418 -0
  34. package/src1-10/TabexComponents/Footer/Footer2/Footer2.jsx +381 -0
  35. package/src1-10/TabexComponents/Footer/Footer3/Footer3.jsx +316 -0
  36. package/src1-10/TabexComponents/Footer/Footer4/Footer4.jsx +437 -0
  37. package/src1-10/TabexComponents/Footer/Footer5/Footer5.jsx +488 -0
  38. package/src1-10/TabexComponents/Footer/Footer6/Footer6.jsx +286 -0
  39. package/src1-10/TabexComponents/Footer/Footer7/Footer7.jsx +370 -0
  40. package/src1-10/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +231 -0
  41. package/src1-10/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  42. package/src1-10/TabexComponents/Generalfiles/images/noimage.png +0 -0
  43. package/src1-10/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  44. package/src1-10/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  45. package/src1-10/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  46. package/src1-10/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  47. package/src1-10/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  48. package/src1-10/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  49. package/src1-10/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  50. package/src1-10/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  51. package/src1-10/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  52. package/src1-10/TabexComponents/Generalfiles/images/usflag.png +0 -0
  53. package/src1-10/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  54. package/src1-10/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +722 -0
  55. package/src1-10/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +681 -0
  56. package/src1-10/TabexComponents/Headers/Header4/Header4.jsx +614 -0
  57. package/src1-10/TabexComponents/Headers/Header6/Header6.jsx +666 -0
  58. package/src1-10/TabexComponents/Headers/Header8/Header8.jsx +888 -0
  59. package/src1-10/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +710 -0
  60. package/src1-10/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +769 -0
  61. package/src1-10/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +666 -0
  62. package/src1-10/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +940 -0
  63. package/src1-10/TabexComponents/Headers/Modernheader/Modernheader.jsx +714 -0
  64. package/src1-10/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +833 -0
  65. package/src1-10/TabexComponents/Headers/Subheader/Subheader.jsx +239 -0
  66. package/src1-10/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +312 -0
  67. package/src1-10/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +278 -0
  68. package/src1-10/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +129 -0
  69. package/src1-10/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +153 -0
  70. package/src1-10/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +295 -0
  71. package/src1-10/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +409 -0
  72. package/src1-10/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +793 -0
  73. package/src1-10/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.jsx +486 -0
  74. package/src1-10/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +888 -0
  75. package/src1-10/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +419 -0
  76. package/src1-10/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.jsx +512 -0
  77. package/src1-10/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +281 -0
  78. package/src1-10/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +166 -0
  79. package/src1-10/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +152 -0
  80. package/src1-10/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +139 -0
  81. package/src1-10/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +146 -0
  82. package/src1-10/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +209 -0
  83. package/src1-10/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +145 -0
  84. package/src1-10/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +252 -0
  85. package/src1-10/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +175 -0
  86. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +154 -0
  87. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +193 -0
  88. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +197 -0
  89. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowzoom/Arrow.js +91 -0
  90. package/src1-10/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +309 -0
  91. package/src1-10/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +260 -0
  92. package/src1-10/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +459 -0
  93. package/src1-10/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.jsx +216 -0
  94. package/src1-10/TabexComponents/StaticPages/Checkout/Checkout.jsx +1220 -0
  95. package/src1-10/TabexComponents/StaticPages/Filter/Filter.jsx +542 -0
  96. package/src1-10/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +51 -0
  97. package/src1-10/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +35 -0
  98. package/src1-10/TabexComponents/StaticPages/Login/Login.jsx +299 -0
  99. package/src1-10/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +192 -0
  100. package/src1-10/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +1271 -0
  101. package/src1-10/TabexComponents/StaticPages/Policies/Policies.jsx +353 -0
  102. package/src1-10/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +1456 -0
  103. package/src1-10/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +209 -0
  104. package/src1-10/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +776 -0
  105. package/src1-10/TabexComponents/StaticPages/Signup/Signup.jsx +157 -0
  106. package/src1-10/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +285 -0
  107. package/src1-10/TabexComponents/StaticPages/Viewcart/Viewcart.js +1090 -0
  108. package/src1-10/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +606 -0
  109. package/src1-10/assets/images/cod.png +0 -0
  110. package/src1-10/assets/images/egyptflag.png +0 -0
  111. package/src1-10/assets/images/fawry.png +0 -0
  112. package/src1-10/assets/images/payment.png +0 -0
  113. package/src1-10/assets/images/paymob.png +0 -0
  114. package/src1-10/assets/images/paypal.png +0 -0
  115. package/src1-10/assets/images/shoppingcart.png +0 -0
  116. package/src1-10/assets/images/usflag.png +0 -0
  117. package/src1-10/assets/images/visa.png +0 -0
  118. package/src1-10/assets/images/whatsapp.png +0 -0
  119. package/src1-10/button.jsx +40 -0
  120. package/src1-10/index.jsx +179 -0
  121. package/src1-10/styles/Home.module.css +129 -0
  122. package/src1-10/styles/cards/Categorcycard_fullimage.module.css +10 -0
  123. package/src1-10/styles/cards/Categorycard_slidebgscaled.module.css +73 -0
  124. package/src1-10/styles/cards/Categorycard_withshapes.module.css +189 -0
  125. package/src1-10/styles/cards/Productcard6.module.css +9 -0
  126. package/src1-10/styles/cards/Productcard_with_circularbg.module.css +137 -0
  127. package/src1-10/styles/cards/Productccard_with_zoominonhover.module.css +51 -0
  128. package/src1-10/styles/cards/Prouductcard_with_zoomhover.module.css +61 -0
  129. package/src1-10/styles/cards/categorycard.module.css +102 -0
  130. package/src1-10/styles/cards/categorycard3.module.css +51 -0
  131. package/src1-10/styles/cards/categorycardwithtext.module.css +40 -0
  132. package/src1-10/styles/cards/productcard_animatedbuttons.module.css +104 -0
  133. package/src1-10/styles/cards/productcard_with_textonhover.module.css +12 -0
  134. package/src1-10/styles/cards/productccard_with_imageontopleft.module.css +85 -0
  135. package/src1-10/styles/general/bootstrap.css +4415 -0
  136. package/src1-10/styles/general/dropdown.css +199 -0
  137. package/src1-10/styles/general/editorbardropdown.module.css +94 -0
  138. package/src1-10/styles/general/filter.module.css +108 -0
  139. package/src1-10/styles/general/form.module.css +273 -0
  140. package/src1-10/styles/general/general.module.css +861 -0
  141. package/src1-10/styles/general/image-gallery.css +481 -0
  142. package/src1-10/styles/general/react-accessible-accordion.module.css +52 -0
  143. package/src1-10/styles/general/react-phone-input-2.module.css +927 -0
  144. package/src1-10/styles/general/scrollbtn.module.css +22 -0
  145. package/src1-10/styles/general/slick.module.css +166 -0
  146. package/src1-10/styles/general/tabs.module.css +110 -0
  147. package/src1-10/styles/general/workplaceeditor.module.css +328 -0
  148. package/src1-10/styles/globals.css +26 -0
  149. package/src1-10/styles/headers/Allinoneheader.module.css +91 -0
  150. package/src1-10/styles/headers/Header7.module.css +50 -0
  151. package/src1-10/styles/headers/Header_threesectionslogocentered.module.css +97 -0
  152. package/src1-10/styles/headers/Sideheader.module.css +108 -0
  153. package/src1-10/styles/headers/classicheaderstyles.module.css +16 -0
  154. package/src1-10/styles/headers/dropdown.css +0 -0
  155. package/src1-10/styles/headers/header4.module.css +175 -0
  156. package/src1-10/styles/headers/header5.module.css +30 -0
  157. package/src1-10/styles/headers/header6.module.css +117 -0
  158. package/src1-10/styles/headers/header_contactinfo.module.css +78 -0
  159. package/src1-10/styles/headers/headerresturant.module.css +89 -0
  160. package/src1-10/styles/headers/headerstyles.module.css +24 -0
  161. package/src1-10/styles/headers/modernheader.module.css +78 -0
  162. package/src1-10/styles/headers/subheader.module.css +114 -0
  163. package/src1-10/styles/sections/Backgroundimage1.module.css +17 -0
  164. package/src1-10/styles/sections/Backgroundimage_with_topcircle.module.css +28 -0
  165. package/src1-10/styles/sections/Section_with_rightbgcont.module.css +49 -0
  166. package/src1-10/styles/sections/Slideshow_with_rotatedsquare.module.css +35 -0
  167. package/src1-10/styles/sections/Slideshow_with_squarebg.module.css +39 -0
  168. package/src1-10/styles/staticpages/accordion.module.css +9 -0
  169. package/src1-10/styles/staticpages/cart.module.css +108 -0
  170. package/src1-10/styles/staticpages/dropdown.css +196 -0
  171. package/src1-10/styles/staticpages/filter.module.css +139 -0
  172. package/src1-10/styles/staticpages/login.module.css +146 -0
  173. package/src1-10/styles/staticpages/productinfo.module.css +54 -0
  174. package/src1-10/styles/staticpages/shop.module.css +191 -0
  175. package/src1-10/styles/staticpages/signup.module.css +206 -0
  176. package/src1-10/styles/staticpages/staticroutersidenav.module.css +129 -0
  177. package/src1-10/styles/staticpages/viewcart.module.css +129 -0
  178. package/src1-10/styles/staticpages/wishlist.module.css +29 -0
@@ -0,0 +1,205 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import cardstyles from '../../../styles/cards/categorycard.module.css';
4
+ import { IKImage } from 'imagekitio-react';
5
+ import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
6
+ import { BsArrowLeft, BsArrowRight } from 'react-icons/bs';
7
+ const CategoryCardwithhoveraction = (props) => {
8
+ const [sectionproperties, setsectionproperties] = useState('');
9
+ const [item, setitem] = useState(props.cardinfoitemprops);
10
+ const [index, setindex] = useState(props.cardinfoindexprops);
11
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
12
+ const lang = props.actions.lang;
13
+ const langdetect = props.actions.langdetect;
14
+ const routingcountext = props.actions.routingcountext;
15
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
16
+ useEffect(() => {
17
+ if (props.srcfrom == 'addsectionform') {
18
+ var secpropobj = {};
19
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
20
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
21
+ });
22
+
23
+ setsectionproperties({ ...secpropobj });
24
+ } else {
25
+ var secpropobj = {};
26
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
27
+ if (sectionitem.sectionid == props.sectionidprops) {
28
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
29
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
30
+ });
31
+ }
32
+ });
33
+ setsectionproperties({ ...secpropobj });
34
+ }
35
+ }, [StatePagePropertiesContext]);
36
+
37
+ const card_cssstyles = {
38
+ cardbtn: css({
39
+ fontWeight: sectionproperties.generalbtn_fontweight,
40
+ background: sectionproperties.generalbtn_bgColortransparent == 'Transparent' ? 'transparent' : sectionproperties.generalbtn_bgColor,
41
+ backgroundColor: sectionproperties.generalbtn_bgColor,
42
+ border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
43
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
44
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
45
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
46
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
47
+ height: sectionproperties.generalbtn_height + 'px',
48
+ width: sectionproperties.generalbtn_width + 'px',
49
+ color: sectionproperties.generalbtn_textColor,
50
+ cursor: 'pointer',
51
+ transition: '0.3s',
52
+ zIndex: 1000,
53
+ ':hover': {
54
+ backgroundColor: sectionproperties.generalbtn_bgColoronhover,
55
+ color: sectionproperties.generalbtn_textColoronhover,
56
+ },
57
+ }),
58
+ cart_btntxt: css({
59
+ height: sectionproperties.generalbtn_height + 'px',
60
+ width: sectionproperties.generalbtn_width + 'px',
61
+ fontWeight: sectionproperties.generalbtn_fontweight,
62
+ color: sectionproperties.generalbtn_textColor,
63
+ fontSize: sectionproperties.generalbtn_fontsize,
64
+ ':hover': {
65
+ color: sectionproperties.generalbtn_textColoronhover,
66
+ },
67
+ }),
68
+ cardcontainer: css({
69
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
70
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
71
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
72
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
73
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
74
+ marginTop: sectionproperties.marginTop + 'px',
75
+ marginBottom: sectionproperties.marginBottom + 'px',
76
+ paddingLeft: sectionproperties.paddingLeft + 'px',
77
+ paddingRight: sectionproperties.paddingRight + 'px',
78
+ paddingTop: sectionproperties.paddingTop + 'px',
79
+ paddingBottom: sectionproperties.paddingBottom + 'px',
80
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
81
+ color: sectionproperties.generaltext_fontColor,
82
+ transition: 'all .4s ease',
83
+ cursor: 'pointer',
84
+ ':hover .categoryname': {
85
+ color: sectionproperties.text_secondarycolor,
86
+ },
87
+ }),
88
+ imagecontainer: css({
89
+ overflow: 'hidden',
90
+ background: sectionproperties.image_bgtransparent == 'Transparent' ? 'Transparent' : sectionproperties.image_bgcolor,
91
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
92
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
93
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
94
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
95
+ height: sectionproperties.image_height + 'px',
96
+ ':after': {
97
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
98
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
99
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
100
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
101
+ content: 's',
102
+ fontSize: 0,
103
+ position: 'absolute',
104
+ top: 0,
105
+ bottom: 0,
106
+ left: 0,
107
+ width: '100%',
108
+ height: '100%',
109
+ zIndex: 1,
110
+ transition: ' 0.3s',
111
+ background: sectionproperties.transitionbg_color,
112
+ opacity: sectionproperties.cardtransition_opacity,
113
+ },
114
+ ':hover:after': {
115
+ opacity: sectionproperties.cardtransitionbgopacityonhover,
116
+ },
117
+ }),
118
+ categoryname: css({
119
+ color: sectionproperties.generaltext_fontColor,
120
+ textTransform: sectionproperties.generaltext_textTransform,
121
+ fontSize: sectionproperties.generaltext_fontSize + 'px',
122
+ fontWeight: sectionproperties.generaltext_fontWeight,
123
+ transition: 'all .4s ease',
124
+ ':hover': {
125
+ color: sectionproperties.text_secondarycolor,
126
+ },
127
+ ':hover .imagecont:after ': {
128
+ opacity: sectionproperties.cardtransitionbgopacityonhover,
129
+ },
130
+ }),
131
+ };
132
+
133
+ return (
134
+ <div
135
+ class={cardstyles.container + ' row m-0 w-100 '}
136
+ style={{
137
+ paddingLeft: sectionproperties.card_marginLeft + 'px',
138
+ paddingRight: sectionproperties.card_marginRight + 'px',
139
+ }}
140
+ >
141
+ {sectionproperties.length != 0 && (
142
+ <div
143
+ class={card_cssstyles.cardcontainer + ' col-lg-12 '}
144
+ onClick={() => {
145
+ if (props.fetchingtypeprops == 'collections') {
146
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
147
+ } else {
148
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
149
+ }
150
+ }}
151
+ >
152
+ <div class=" row m-0 w-100 ">
153
+ <div class={card_cssstyles.imagecontainer + ' col-lg-12 p-0 mb-2 imagecont '}>
154
+ <IKImage
155
+ urlEndpoint={IKurlEndpoint}
156
+ publicKey={IKpublicKey}
157
+ class={cardstyles.img}
158
+ path={'/tr:w-600,h-620/' + item.image}
159
+ // path={item.image}
160
+
161
+ loading="lazy"
162
+ ></IKImage>
163
+ </div>
164
+ <ul class={`${cardstyles.text}` + ' m-0 p-0 '}>
165
+ <li style={{ zIndex: 10000 }} class={langdetect == 'en' ? 'ml-3 cursor-pointer ' : 'mr-3 cursor-pointer '}>
166
+ <span>
167
+ <i class="h-100 d-flex align-items-center justify-content-center">
168
+ <p class={card_cssstyles.categoryname + ' m-0 p-0 wordbreak '}>{item.name}</p>
169
+ </i>
170
+ </span>
171
+ </li>
172
+ </ul>
173
+ <ul class={`${cardstyles.buttons_container}` + ' m-0 p-0 '}>
174
+ <li
175
+ style={{ zIndex: 10000 }}
176
+ class={langdetect == 'en' ? 'ml-4 cursor-pointer ' : 'mr-4 cursor-pointer '}
177
+ onClick={(e) => {
178
+ e.stopPropagation();
179
+ if (props.fetchingtypeprops == 'collections') {
180
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
181
+ } else {
182
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
183
+ }
184
+ }}
185
+ >
186
+ <span class={card_cssstyles.cardbtn + ' allcentered '}>
187
+ <i class="h-100 d-flex align-items-center justify-content-center">
188
+ <p class={card_cssstyles.cart_btntxt + ' p-0 m-0 '}>{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}</p>
189
+ </i>
190
+ </span>
191
+ </li>
192
+ </ul>
193
+ {/* <div class="col-lg-9 d-flex justify-content-start ">
194
+ <div class='row w-100 m-0'>
195
+ <p class={ langdetect == 'en' ? cardstyles.text + ' p-0 m-0 ml-1 mr-1 ' : cardstyles.textar + ' p-0 m-0 ml-1 mr-1 '}>{index + 1}</p>
196
+ <p class={cardstyles.text1 + ' m-0 p-0 wordbreak '}>{item.name}</p>
197
+ </div>
198
+ </div> */}
199
+ </div>
200
+ </div>
201
+ )}
202
+ </div>
203
+ );
204
+ };
205
+ export default CategoryCardwithhoveraction;
@@ -0,0 +1,239 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import cardstyles from '../../../styles/cards/Categorcycard_fullimage.module.css';
3
+ import { css } from 'glamor';
4
+ import { IKImage } from 'imagekitio-react';
5
+ import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
6
+
7
+ const Categorycard_fullimage = (props) => {
8
+ const [sectionproperties, setsectionproperties] = useState('');
9
+ const [item, setitem] = useState(props.cardinfoitemprops);
10
+ const [index, setindex] = useState(props.cardinfoindexprops);
11
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
12
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
13
+ const routingcountext = props.actions.routingcountext;
14
+
15
+ useEffect(() => {
16
+ if (props.srcfrom == 'addsectionform') {
17
+ var secpropobj = {};
18
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
19
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
20
+ });
21
+
22
+ setsectionproperties({ ...secpropobj });
23
+ } else {
24
+ var secpropobj = {};
25
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
26
+ if (sectionitem.sectionid == props.sectionidprops) {
27
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
28
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
29
+ });
30
+ }
31
+ });
32
+ setsectionproperties({ ...secpropobj });
33
+ }
34
+ }, [StatePagePropertiesContext]);
35
+
36
+ const card_cssstyles = {
37
+ productcard: css({
38
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
39
+ opacity: sectionproperties.cardbg_opacity,
40
+ height: sectionproperties.height + 'px',
41
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
42
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
43
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
44
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
45
+ marginTop: sectionproperties.marginTop + 'px',
46
+ marginBottom: sectionproperties.marginBottom + 'px',
47
+ paddingLeft: sectionproperties.paddingLeft + 'px',
48
+ paddingRight: sectionproperties.paddingRight + 'px',
49
+ paddingTop: sectionproperties.paddingTop + 'px',
50
+ paddingBottom: sectionproperties.paddingBottom + 'px',
51
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
52
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
53
+ transition: '.3s',
54
+ color: sectionproperties.prodNameColor,
55
+ ':hover': {
56
+ opacity: sectionproperties.bgopacityonhover,
57
+ },
58
+ ':hover .nameStyle': {
59
+ color: sectionproperties.prodNameColorOnHover,
60
+ },
61
+ ':after': {
62
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
63
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
64
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
65
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
66
+ content: 's',
67
+ fontSize: 0,
68
+ position: 'absolute',
69
+ top: 0,
70
+ bottom: 0,
71
+ left: 0,
72
+ width: '100%',
73
+ height: '100%',
74
+ zIndex: 1,
75
+ transition: ' 0.3s',
76
+ background: sectionproperties.transitionbg_color,
77
+ opacity: sectionproperties.cardtransition_opacity,
78
+ },
79
+ ':hover:after': {
80
+ opacity: sectionproperties.cardtransitionbgopacityonhover,
81
+ },
82
+ }),
83
+ productcardimagecont: css({
84
+ position: 'relative',
85
+ overflow: 'hidden',
86
+ }),
87
+ productNameStyles: css({
88
+ fontSize: sectionproperties.prodNameFontSize + 'px',
89
+ textTransform: sectionproperties.prodNameTextTranform,
90
+ fontWeight: sectionproperties.prodNameFontWeight,
91
+ marginBottom: sectionproperties.prodname_marginBottom + 'px',
92
+ margintop: sectionproperties.prodname_marginTop + 'px',
93
+ color: sectionproperties.prodNameColor,
94
+ transition: '.3s',
95
+ cursor: 'pointer',
96
+ }),
97
+ cardbtn: css({
98
+ fontWeight: sectionproperties.generalbtn_fontweight,
99
+ backgroundColor: sectionproperties.generalbtn_bgColor,
100
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
101
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
102
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
103
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
104
+ height: sectionproperties.generalbtn_height + 'px',
105
+ width: sectionproperties.generalbtn_width + 'px',
106
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
107
+ color: sectionproperties.generalbtn_textColor,
108
+ cursor: 'pointer',
109
+ transition: '0.3s',
110
+ zIndex: 1000,
111
+ ':hover': {
112
+ backgroundColor: sectionproperties.generalbtn_bgColoronhover,
113
+ color: sectionproperties.generalbtn_textColoronhover,
114
+ },
115
+ }),
116
+ categorycardtext: css({
117
+ color: sectionproperties.generaltext_fontColor,
118
+ textTransform: sectionproperties.generaltext_textTransform,
119
+ fontSize: sectionproperties.generaltext_fontSize + 'px',
120
+ fontWeight: sectionproperties.generaltext_fontWeight,
121
+ zIndex: 1000,
122
+ }),
123
+ };
124
+
125
+ return (
126
+ <div
127
+ class="row m-0 w-100"
128
+ style={{
129
+ paddingLeft: sectionproperties.card_marginLeft + 'px',
130
+ paddingRight: sectionproperties.card_marginRight + 'px',
131
+ }}
132
+ >
133
+ {sectionproperties.length != 0 && (
134
+ <div class="row w-100 m-0 ">
135
+ {index % 2 == 0 && (
136
+ <div class="col-lg-12 p-0">
137
+ <div
138
+ class={`${card_cssstyles.productcard}` + ' cursor-pointer col-lg-12 p-0 w-100 '}
139
+ onClick={() => {
140
+ if (props.fetchingtypeprops == 'collections') {
141
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
142
+ } else {
143
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
144
+ }
145
+ }}
146
+ >
147
+ <div
148
+ class={`${card_cssstyles.productcardimagecont}` + ' col-lg-12 p-0 mb-2 '}
149
+ style={{
150
+ height: '100%',
151
+ }}
152
+ >
153
+ <IKImage
154
+ urlEndpoint={IKurlEndpoint}
155
+ publicKey={IKpublicKey}
156
+ path={item.image}
157
+ style={{
158
+ width: '100%',
159
+ height: '100%',
160
+ objectFit: 'cover',
161
+ }}
162
+ loading="lazy"
163
+ ></IKImage>
164
+ <div class={`${card_cssstyles.categorycardtext} ${cardstyles.categorycardtext}` + ' row m-0 w-100 '}>
165
+ <div class="col-lg-12 d-flex justify-content-center align-items-center flex-column">
166
+ {sectionproperties.prodNameShow == 'Show' && (
167
+ <p class={`${card_cssstyles.productNameStyles}` + ' nameStyle m-0 p-0 font-md-20 font-sm-15 mb-1 wordbreak wordbreak2 text-center '}>{item.name}</p>
168
+ )}
169
+ {sectionproperties.generalbtn_show == 'Show' && (
170
+ <p
171
+ class={`${card_cssstyles.cardbtn}` + ' cardbtn font-md-13 m-0 p-0 d-flex align-items-center justify-content-center '}
172
+ onClick={(e) => {
173
+ e.stopPropagation();
174
+ if (props.fetchingtypeprops == 'collections') {
175
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
176
+ } else {
177
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
178
+ }
179
+ }}
180
+ >
181
+ {sectionproperties.generalbtn_content}
182
+ </p>
183
+ )}
184
+ </div>
185
+ </div>
186
+ </div>
187
+ </div>
188
+ </div>
189
+ )}
190
+ {!(index % 2 == 0) && (
191
+ <div class="col-lg-12 p-0">
192
+ <div class={`${card_cssstyles.productcard}` + ' cursor-pointer col-lg-12 p-0 w-100 allcentered '}>
193
+ <div class="row m-0 w-100 ">
194
+ {sectionproperties.prodNameShow == 'Show' && (
195
+ <div class="col-lg-12 p-0 d-flex justify-content-center align-items-center">
196
+ <p
197
+ onClick={(e) => {
198
+ e.stopPropagation();
199
+ if (props.fetchingtypeprops == 'collections') {
200
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
201
+ } else {
202
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
203
+ }
204
+ }}
205
+ class={
206
+ `${card_cssstyles.productNameStyles}` +
207
+ ' nameStyle font-md-15 module line-clamp d-flex justify-content-center align-items-center m-0 mb-1 wordbreak wordbreak2 text-center '
208
+ }
209
+ >
210
+ {item.name}
211
+ </p>
212
+ </div>
213
+ )}
214
+ <div class="col-lg-12 d-flex align-items-center justify-content-center p-0 ">
215
+ {sectionproperties.generalbtn_show == 'Show' && (
216
+ <p
217
+ class={`${card_cssstyles.cardbtn}` + ' cardbtn font-md-13 m-0 p-0 d-flex align-items-center justify-content-center '}
218
+ onClick={() => {
219
+ if (props.fetchingtypeprops == 'collections') {
220
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
221
+ } else {
222
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
223
+ }
224
+ }}
225
+ >
226
+ {sectionproperties.generalbtn_content}
227
+ </p>
228
+ )}
229
+ </div>
230
+ </div>
231
+ </div>
232
+ </div>
233
+ )}
234
+ </div>
235
+ )}
236
+ </div>
237
+ );
238
+ };
239
+ export default Categorycard_fullimage;
@@ -0,0 +1,198 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import cardstyles from '../../../styles/cards/Categorycard_slidebgscaled.module.css';
4
+ import { IKImage } from 'imagekitio-react';
5
+ import { IKpublicKey, IKurlEndpoint } from '../../../../Env';
6
+
7
+ const Categorycard_slidebgscaled = (props) => {
8
+ const [sectionproperties, setsectionproperties] = useState('');
9
+ const [item, setitem] = useState(props.cardinfoitemprops);
10
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
11
+ const langdetect = props.actions.langdetect;
12
+ const routingcountext = props.actions.routingcountext;
13
+ const StaticPagesLinksContext = props.actions.StaticPagesLinksContext;
14
+
15
+ useEffect(() => {
16
+ if (props.srcfrom == 'addsectionform') {
17
+ var secpropobj = {};
18
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
19
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
20
+ });
21
+
22
+ setsectionproperties({ ...secpropobj });
23
+ } else {
24
+ var secpropobj = {};
25
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
26
+ if (sectionitem.sectionid == props.sectionidprops) {
27
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
28
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
29
+ });
30
+ }
31
+ });
32
+ setsectionproperties({ ...secpropobj });
33
+ }
34
+ }, [StatePagePropertiesContext]);
35
+
36
+ const categorycard_cssstyles = {
37
+ categoryCard: css({
38
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? sectionproperties.backgroundColor : '',
39
+ boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
40
+ height: sectionproperties.height + 'px',
41
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
42
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
43
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
44
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
45
+ marginTop: sectionproperties.marginTop + 'px',
46
+ marginBottom: sectionproperties.marginBottom + 'px',
47
+ paddingLeft: sectionproperties.paddingLeft + 'px',
48
+ paddingRight: sectionproperties.paddingRight + 'px',
49
+ paddingTop: sectionproperties.paddingTop + 'px',
50
+ paddingBottom: sectionproperties.paddingBottom + 'px',
51
+ transition: '0.3s',
52
+ cursor: 'pointer',
53
+ opacity: sectionproperties.cardbg_opacity,
54
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
55
+ ':hover': {
56
+ opacity: sectionproperties.bgopacityonhover,
57
+ },
58
+ ':after': {
59
+ backgroundColor: sectionproperties.transitionbg_color,
60
+ },
61
+ ':hover:after': {
62
+ backgroundColor: sectionproperties.cardtransitionbgopacityonhover,
63
+ },
64
+ ':before': {
65
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
66
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
67
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
68
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
69
+ content: 's',
70
+ fontSize: 0,
71
+ position: 'absolute',
72
+ top: 0,
73
+ bottom: 0,
74
+ left: 0,
75
+ width: '100%',
76
+ height: '100%',
77
+ zIndex: 1,
78
+ transition: ' 0.3s',
79
+ background: sectionproperties.transitionbg_color,
80
+ opacity: sectionproperties.cardtransition_opacity,
81
+ },
82
+ ':hover:before': {
83
+ opacity: sectionproperties.cardtransitionbgopacityonhover,
84
+ },
85
+ }),
86
+
87
+ categorycardtext: css({
88
+ fontSize: sectionproperties.generaltext_fontSize + 'px',
89
+ color: sectionproperties.generaltext_fontColor,
90
+ textTransform: sectionproperties.generaltext_textTransform,
91
+ fontWeight: sectionproperties.generaltext_fontWeight,
92
+ }),
93
+ cardbtn: css({
94
+ fontWeight: sectionproperties.generalbtn_fontweight,
95
+ backgroundColor: sectionproperties.generalbtn_bgColor,
96
+ borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
97
+ borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
98
+ borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
99
+ borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
100
+ height: sectionproperties.generalbtn_height + 'px',
101
+ fontSize: sectionproperties.generalbtn_fontsize + 'px',
102
+ color: sectionproperties.generalbtn_textColor,
103
+ textTransform: sectionproperties.generalbtn_texttransform,
104
+ opacity: sectionproperties.generalbtn_showonhover == 'Show On Hover' ? 0 : 1,
105
+ top: sectionproperties.generalbtn_showonhover == 'Show On Hover' ? '100px' : 0,
106
+ zIndex: 1000,
107
+ ':hover': {
108
+ backgroundColor: sectionproperties.generalbtn_bgColoronhover,
109
+ color: sectionproperties.generalbtn_textColoronhover,
110
+ top: sectionproperties.generalbtn_showonhover == 'Show On Hover' ? 0 : '100px',
111
+ },
112
+ }),
113
+ };
114
+ return (
115
+ <div
116
+ class="row m-0 w-100"
117
+ style={{
118
+ paddingLeft: sectionproperties.card_marginLeft + 'px',
119
+ paddingRight: sectionproperties.card_marginRight + 'px',
120
+ }}
121
+ >
122
+ <div
123
+ class={`${cardstyles.categoryCard} ${categorycard_cssstyles.categoryCard}` + ' col-lg-12 p-0 '}
124
+ style={{
125
+ width: '100%',
126
+ }}
127
+ onClick={() => {
128
+ if (props.fetchingtypeprops == 'collections') {
129
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
130
+ } else {
131
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
132
+ }
133
+ }}
134
+ >
135
+ <IKImage
136
+ urlEndpoint={IKurlEndpoint}
137
+ publicKey={IKpublicKey}
138
+ path={'/tr:w-375,h-400/' + item.image}
139
+ loading="lazy"
140
+ style={{
141
+ width: '100%',
142
+ height: '100%',
143
+ objectFit: 'cover',
144
+ }}
145
+ />
146
+ <figcaption class={' row w-100 m-0 d-flex align-items-center justify-content-center '}>
147
+ <div class={`${categorycard_cssstyles.categorycardtext}` + ' row m-0 w-100 '}>
148
+ <div class="col-lg-7 m-auto d-flex justify-content-center align-items-center flex-column">
149
+ {sectionproperties.general_showtext == 'Show' && <p class="m-0 p-0">{item.name}</p>}
150
+ {sectionproperties.generalbtn_show == 'Show' && (
151
+ <div className="d-flex d-md-none">
152
+ <button
153
+ class={`${categorycard_cssstyles.cardbtn} ${cardstyles.cardbtn}`}
154
+ style={{
155
+ width: sectionproperties.generalbtn_width + 'px',
156
+ }}
157
+ onClick={(e) => {
158
+ e.stopPropagation();
159
+ if (props.fetchingtypeprops == 'collections') {
160
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
161
+ } else {
162
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
163
+ }
164
+ }}
165
+ >
166
+ {langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}
167
+ </button>
168
+ </div>
169
+ )}
170
+ {sectionproperties.generalbtn_show == 'Show' && (
171
+ <div className="d-none d-md-flex">
172
+ <button
173
+ class={`${categorycard_cssstyles.cardbtn} ${cardstyles.cardbtn}`}
174
+ style={{
175
+ width: sectionproperties.generalbtn_width + 'px',
176
+ opacity: 1,
177
+ }}
178
+ onClick={(e) => {
179
+ e.stopPropagation();
180
+ if (props.fetchingtypeprops == 'collections') {
181
+ routingcountext(StaticPagesLinksContext.GeneralProductsComponent, true, item.collectionid);
182
+ } else {
183
+ routingcountext(StaticPagesLinksContext.productinfo, true, item.productid);
184
+ }
185
+ }}
186
+ >
187
+ {sectionproperties.generalbtn_content}
188
+ </button>
189
+ </div>
190
+ )}
191
+ </div>
192
+ </div>
193
+ </figcaption>
194
+ </div>
195
+ </div>
196
+ );
197
+ };
198
+ export default Categorycard_slidebgscaled;