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.
Files changed (180) hide show
  1. package/dist/index.cjs.js +41 -13
  2. package/dist/index.esm.js +41 -13
  3. package/dist/index.umd.js +41 -13
  4. package/package.json +1 -1
  5. package/componentssrc.rar +0 -0
  6. package/srcOLD/Contexts/LanguageContext.jsx +0 -347
  7. package/srcOLD/Contexts/ProductsCardsSectionContext.jsx +0 -28
  8. package/srcOLD/StylesJS/Customstyles.js +0 -235
  9. package/srcOLD/TabexComponents/Cards/CategoryCardwithhoveraction/CategoryCardwithhoveraction.jsx +0 -214
  10. package/srcOLD/TabexComponents/Cards/Categorycard_fullimage/Categorycard_fullimage.jsx +0 -258
  11. package/srcOLD/TabexComponents/Cards/Categorycard_slidebgscaled/Categorycard_slidebgscaled.jsx +0 -206
  12. package/srcOLD/TabexComponents/Cards/Categorycard_with_trianglebg/Categorycard_with_trianglebg.jsx +0 -176
  13. package/srcOLD/TabexComponents/Cards/Categorycard_with_twolinestransition/Categorycard_with_twolinestransition.jsx +0 -207
  14. package/srcOLD/TabexComponents/Cards/Categorycard_withshapes/Categorycard_withshapes.jsx +0 -162
  15. package/srcOLD/TabexComponents/Cards/Categorycard_withtext/Categorycard_withtext.jsx +0 -193
  16. package/srcOLD/TabexComponents/Cards/Classiccategorycard/Classiccategorycard.jsx +0 -158
  17. package/srcOLD/TabexComponents/Cards/Horizontalcard/Horizontalcard.jsx +0 -286
  18. package/srcOLD/TabexComponents/Cards/MenuCard/MenuCard.jsx +0 -558
  19. package/srcOLD/TabexComponents/Cards/ModernProductCard/ModernProductCard.jsx +0 -486
  20. package/srcOLD/TabexComponents/Cards/Productcard6/Productcard6.jsx +0 -300
  21. package/srcOLD/TabexComponents/Cards/Productcard7/Productcard7.jsx +0 -288
  22. package/srcOLD/TabexComponents/Cards/Productcard_animatedbuttons/Productcard_animatedbuttons.jsx +0 -307
  23. package/srcOLD/TabexComponents/Cards/Productcard_with_circularbg/Productcard_with_circularbg.jsx +0 -295
  24. package/srcOLD/TabexComponents/Cards/Productcard_with_circularhover/Productcard_with_circularhover.jsx +0 -325
  25. package/srcOLD/TabexComponents/Cards/Productcard_with_slideanimation/Productcard_with_slideanimation.jsx +0 -290
  26. package/srcOLD/TabexComponents/Cards/Productcard_with_variants/Productcard_with_variants.jsx +0 -303
  27. package/srcOLD/TabexComponents/Cards/Productcard_with_zoominonhover/Productcard_with_zoominonhover.jsx +0 -466
  28. package/srcOLD/TabexComponents/Cards/Productcarddefault/Productcarddefault.jsx +0 -282
  29. package/srcOLD/TabexComponents/Cards/Productccard_with_imageontopleft/Productccard_with_imageontopleft.jsx +0 -298
  30. package/srcOLD/TabexComponents/Cards/Prouductcard_with_zoomhover/Prouductcard_with_zoomhover.jsx +0 -139
  31. package/srcOLD/TabexComponents/Cards/Simplecategorycardwithtextbelow/Simplecategorycardwithtextbelow.jsx +0 -135
  32. package/srcOLD/TabexComponents/Cards/Simpleproductcard/Simpleproductcard.jsx +0 -304
  33. package/srcOLD/TabexComponents/Cards/StylishProductCard/StylishProductCard.jsx +0 -291
  34. package/srcOLD/TabexComponents/Footer/Footer1/Footer1.jsx +0 -418
  35. package/srcOLD/TabexComponents/Footer/Footer2/Footer2.jsx +0 -382
  36. package/srcOLD/TabexComponents/Footer/Footer3/Footer3.jsx +0 -308
  37. package/srcOLD/TabexComponents/Footer/Footer4/Footer4.jsx +0 -438
  38. package/srcOLD/TabexComponents/Footer/Footer5/Footer5.jsx +0 -495
  39. package/srcOLD/TabexComponents/Footer/Footer6/Footer6.jsx +0 -295
  40. package/srcOLD/TabexComponents/Footer/Footer7/Footer7.jsx +0 -373
  41. package/srcOLD/TabexComponents/Footer/Simplefooter/Simplefooter.jsx +0 -238
  42. package/srcOLD/TabexComponents/Generalfiles/images/egyptflag.png +0 -0
  43. package/srcOLD/TabexComponents/Generalfiles/images/noimage.png +0 -0
  44. package/srcOLD/TabexComponents/Generalfiles/images/payment/cod.png +0 -0
  45. package/srcOLD/TabexComponents/Generalfiles/images/payment/fawry.png +0 -0
  46. package/srcOLD/TabexComponents/Generalfiles/images/payment/payment.png +0 -0
  47. package/srcOLD/TabexComponents/Generalfiles/images/payment/paymob.png +0 -0
  48. package/srcOLD/TabexComponents/Generalfiles/images/payment/paypal.png +0 -0
  49. package/srcOLD/TabexComponents/Generalfiles/images/payment/visa.png +0 -0
  50. package/srcOLD/TabexComponents/Generalfiles/images/shoppingcart.png +0 -0
  51. package/srcOLD/TabexComponents/Generalfiles/images/tabexlogo.png +0 -0
  52. package/srcOLD/TabexComponents/Generalfiles/images/unknownmaleuser.png +0 -0
  53. package/srcOLD/TabexComponents/Generalfiles/images/usflag.png +0 -0
  54. package/srcOLD/TabexComponents/Generalfiles/images/whatsapp.png +0 -0
  55. package/srcOLD/TabexComponents/Headers/AllinoneHeader/AllinoneHeader.jsx +0 -724
  56. package/srcOLD/TabexComponents/Headers/ClassicHeader/ClassicHeader.jsx +0 -687
  57. package/srcOLD/TabexComponents/Headers/Header4/Header4.jsx +0 -632
  58. package/srcOLD/TabexComponents/Headers/Header6/Header6.jsx +0 -669
  59. package/srcOLD/TabexComponents/Headers/Header8/Header8.jsx +0 -882
  60. package/srcOLD/TabexComponents/Headers/HeaderRestaurant/HeaderRestaurant.jsx +0 -754
  61. package/srcOLD/TabexComponents/Headers/Header_threesectionslogocentered/Header_threesectionslogocentered.jsx +0 -798
  62. package/srcOLD/TabexComponents/Headers/Headerresponsive/Headerresponsive.jsx +0 -686
  63. package/srcOLD/TabexComponents/Headers/HeaderwithContactinfo/HeaderwithContactinfo.jsx +0 -938
  64. package/srcOLD/TabexComponents/Headers/Modernheader/Modernheader.jsx +0 -706
  65. package/srcOLD/TabexComponents/Headers/StylishHeader/StylishHeader.jsx +0 -821
  66. package/srcOLD/TabexComponents/Headers/Subheader/Subheader copy.jsx +0 -228
  67. package/srcOLD/TabexComponents/Headers/Subheader/Subheader.jsx +0 -251
  68. package/srcOLD/TabexComponents/Sections/BackgroundImages/Backgroundimage1/Backgroundimage1.jsx +0 -312
  69. package/srcOLD/TabexComponents/Sections/BackgroundImages/Backgroundimage_with_toppill/Backgroundimage_with_toppill.jsx +0 -278
  70. package/srcOLD/TabexComponents/Sections/BackgroundImages/BackgroundimageandTextsection/BackgroundimageandTextsection.jsx +0 -138
  71. package/srcOLD/TabexComponents/Sections/BackgroundImages/Section_with_rightbgcont/Section_with_rightbgcont.jsx +0 -160
  72. package/srcOLD/TabexComponents/Sections/BackgroundImages/Threebgimages/Threebgimages.jsx +0 -295
  73. package/srcOLD/TabexComponents/Sections/BackgroundImages/Twobgimages/Twobgimages.jsx +0 -784
  74. package/srcOLD/TabexComponents/Sections/Cards/CardsSection/CardsSection.jsx +0 -861
  75. package/srcOLD/TabexComponents/Sections/Cards/CardsSection2/CardsSection2.js +0 -496
  76. package/srcOLD/TabexComponents/Sections/Cards/CardsSection7/CardsSection7.js +0 -888
  77. package/srcOLD/TabexComponents/Sections/Cards/CardsSection8/CardsSection8.js +0 -419
  78. package/srcOLD/TabexComponents/Sections/Cards/Sixverticalcardssection/Sixverticalcardssection.js +0 -552
  79. package/srcOLD/TabexComponents/Sections/Slideshow/AboutSection/AboutSection.jsx +0 -281
  80. package/srcOLD/TabexComponents/Sections/Slideshow/Backgroundimage_with_topcircle/Backgroundimage_with_topcircle.jsx +0 -166
  81. package/srcOLD/TabexComponents/Sections/Slideshow/Freetextsection/Freetextsection.jsx +0 -152
  82. package/srcOLD/TabexComponents/Sections/Slideshow/Image_with_leftwords/Image_with_leftwords.jsx +0 -284
  83. package/srcOLD/TabexComponents/Sections/Slideshow/Image_with_rightwords/Image_with_rightwords.jsx +0 -146
  84. package/srcOLD/TabexComponents/Sections/Slideshow/Servicesection/Servicesection.jsx +0 -209
  85. package/srcOLD/TabexComponents/Sections/Slideshow/ServicesectionCenteredcards/ServicesectionCenteredcards.jsx +0 -145
  86. package/srcOLD/TabexComponents/Sections/Slideshow/Slideshow_with_rotatedsquare/Slideshow_with_rotatedsquare.jsx +0 -252
  87. package/srcOLD/TabexComponents/Sections/Slideshow/Slideshow_with_squarebg/Slideshow_with_squarebg.jsx +0 -175
  88. package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowdifferentanimations/Slideshowdifferentanimations.jsx +0 -154
  89. package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowfade/Slideshowfade.jsx +0 -201
  90. package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowslide/Slideshowslide.jsx +0 -414
  91. package/srcOLD/TabexComponents/Sections/Slideshow/Slideshowzoom/Slideshowzoom.jsx +0 -270
  92. package/srcOLD/TabexComponents/StaticPages/Aboutus/Aboutus.js +0 -175
  93. package/srcOLD/TabexComponents/StaticPages/AccountInformation/AccountInformation.jsx +0 -275
  94. package/srcOLD/TabexComponents/StaticPages/CartSlider/CartSlider.jsx +0 -459
  95. package/srcOLD/TabexComponents/StaticPages/Categoriesdropdown/Categoriesdropdown.js +0 -146
  96. package/srcOLD/TabexComponents/StaticPages/Checkout/Checkout.jsx +0 -1220
  97. package/srcOLD/TabexComponents/StaticPages/Filter/Filter.jsx +0 -542
  98. package/srcOLD/TabexComponents/StaticPages/Login/FacebookLoginButton.jsx +0 -51
  99. package/srcOLD/TabexComponents/StaticPages/Login/GoogleLoginButton.jsx +0 -35
  100. package/srcOLD/TabexComponents/StaticPages/Login/Login.jsx +0 -299
  101. package/srcOLD/TabexComponents/StaticPages/OrderSuccess/OrderSuccess.js +0 -192
  102. package/srcOLD/TabexComponents/StaticPages/Ordershistory/Ordershistory.jsx +0 -1285
  103. package/srcOLD/TabexComponents/StaticPages/Policies/Policies.jsx +0 -358
  104. package/srcOLD/TabexComponents/StaticPages/Productinfo/Productinfo.jsx +0 -1506
  105. package/srcOLD/TabexComponents/StaticPages/Searchlist/Searchlist.jsx +0 -225
  106. package/srcOLD/TabexComponents/StaticPages/Signup/CustomerInformationForm.jsx +0 -788
  107. package/srcOLD/TabexComponents/StaticPages/Signup/Signup.jsx +0 -157
  108. package/srcOLD/TabexComponents/StaticPages/Staticpagesrouter/Staticpagesrouter.jsx +0 -295
  109. package/srcOLD/TabexComponents/StaticPages/Viewcart/Viewcart.js +0 -1090
  110. package/srcOLD/TabexComponents/StaticPages/Wishlist/Wishlist.jsx +0 -629
  111. package/srcOLD/assets/images/cod.png +0 -0
  112. package/srcOLD/assets/images/egyptflag.png +0 -0
  113. package/srcOLD/assets/images/fawry.png +0 -0
  114. package/srcOLD/assets/images/payment.png +0 -0
  115. package/srcOLD/assets/images/paymob.png +0 -0
  116. package/srcOLD/assets/images/paypal.png +0 -0
  117. package/srcOLD/assets/images/shoppingcart.png +0 -0
  118. package/srcOLD/assets/images/usflag.png +0 -0
  119. package/srcOLD/assets/images/visa.png +0 -0
  120. package/srcOLD/assets/images/whatsapp.png +0 -0
  121. package/srcOLD/button.jsx +0 -40
  122. package/srcOLD/index.jsx +0 -175
  123. package/srcOLD/styles/Home.module.css +0 -129
  124. package/srcOLD/styles/cards/Categorcycard_fullimage.module.css +0 -10
  125. package/srcOLD/styles/cards/Categorycard_slidebgscaled.module.css +0 -73
  126. package/srcOLD/styles/cards/Categorycard_withshapes.module.css +0 -189
  127. package/srcOLD/styles/cards/Productcard6.module.css +0 -9
  128. package/srcOLD/styles/cards/Productcard_with_circularbg.module.css +0 -137
  129. package/srcOLD/styles/cards/Productccard_with_zoominonhover.module.css +0 -51
  130. package/srcOLD/styles/cards/Prouductcard_with_zoomhover.module.css +0 -61
  131. package/srcOLD/styles/cards/categorycard.module.css +0 -102
  132. package/srcOLD/styles/cards/categorycard3.module.css +0 -51
  133. package/srcOLD/styles/cards/categorycardwithtext.module.css +0 -40
  134. package/srcOLD/styles/cards/productcard_animatedbuttons.module.css +0 -104
  135. package/srcOLD/styles/cards/productcard_with_textonhover.module.css +0 -12
  136. package/srcOLD/styles/cards/productccard_with_imageontopleft.module.css +0 -85
  137. package/srcOLD/styles/general/bootstrap.css +0 -4420
  138. package/srcOLD/styles/general/dropdown.css +0 -199
  139. package/srcOLD/styles/general/editorbardropdown.module.css +0 -94
  140. package/srcOLD/styles/general/filter.module.css +0 -108
  141. package/srcOLD/styles/general/form.module.css +0 -273
  142. package/srcOLD/styles/general/general.module.css +0 -709
  143. package/srcOLD/styles/general/image-gallery.css +0 -481
  144. package/srcOLD/styles/general/react-accessible-accordion.module.css +0 -52
  145. package/srcOLD/styles/general/react-phone-input-2.module.css +0 -927
  146. package/srcOLD/styles/general/scrollbtn.module.css +0 -22
  147. package/srcOLD/styles/general/slick.module.css +0 -166
  148. package/srcOLD/styles/general/tabs.module.css +0 -110
  149. package/srcOLD/styles/general/workplaceeditor.module.css +0 -328
  150. package/srcOLD/styles/globals.css +0 -26
  151. package/srcOLD/styles/headers/Allinoneheader.module.css +0 -91
  152. package/srcOLD/styles/headers/Header7.module.css +0 -50
  153. package/srcOLD/styles/headers/Header_threesectionslogocentered.module.css +0 -97
  154. package/srcOLD/styles/headers/Sideheader.module.css +0 -108
  155. package/srcOLD/styles/headers/classicheaderstyles.module.css +0 -16
  156. package/srcOLD/styles/headers/dropdown.css +0 -0
  157. package/srcOLD/styles/headers/header4.module.css +0 -175
  158. package/srcOLD/styles/headers/header5.module.css +0 -30
  159. package/srcOLD/styles/headers/header6.module.css +0 -117
  160. package/srcOLD/styles/headers/header_contactinfo.module.css +0 -78
  161. package/srcOLD/styles/headers/headerresturant.module.css +0 -89
  162. package/srcOLD/styles/headers/headerstyles.module.css +0 -24
  163. package/srcOLD/styles/headers/modernheader.module.css +0 -78
  164. package/srcOLD/styles/headers/subheader.module.css +0 -114
  165. package/srcOLD/styles/sections/Backgroundimage1.module.css +0 -17
  166. package/srcOLD/styles/sections/Backgroundimage_with_topcircle.module.css +0 -28
  167. package/srcOLD/styles/sections/Section_with_rightbgcont.module.css +0 -49
  168. package/srcOLD/styles/sections/Slideshow_with_rotatedsquare.module.css +0 -35
  169. package/srcOLD/styles/sections/Slideshow_with_squarebg.module.css +0 -39
  170. package/srcOLD/styles/staticpages/accordion.module.css +0 -9
  171. package/srcOLD/styles/staticpages/cart.module.css +0 -108
  172. package/srcOLD/styles/staticpages/dropdown.css +0 -196
  173. package/srcOLD/styles/staticpages/filter.module.css +0 -139
  174. package/srcOLD/styles/staticpages/login.module.css +0 -146
  175. package/srcOLD/styles/staticpages/productinfo.module.css +0 -54
  176. package/srcOLD/styles/staticpages/shop.module.css +0 -191
  177. package/srcOLD/styles/staticpages/signup.module.css +0 -206
  178. package/srcOLD/styles/staticpages/staticroutersidenav.module.css +0 -129
  179. package/srcOLD/styles/staticpages/viewcart.module.css +0 -129
  180. package/srcOLD/styles/staticpages/wishlist.module.css +0 -29
@@ -1,284 +0,0 @@
1
- // import React, { useEffect, useState, useContext } from 'react';
2
- // import { LanguageContext } from '../../../../LanguageContext';
3
- // import { WebsiteDesignWorkPlaceContext } from '../../../../../WebsiteDesignWorkPlaceContext';
4
- // import { css } from 'glamor';
5
- // import { IKImage } from 'imagekitio-react';
6
-
7
- // const Image_with_leftwords = (props) => {
8
- // const { lang, langdetect } = useContext(LanguageContext);
9
- // const { StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
10
- // const [sectionproperties, setsectionproperties] = useState('');
11
- // const [imagesarray, setimagesarray] = useState([]);
12
- // useEffect(() => {
13
- // if (props.srcfrom == 'addsectionform') {
14
- // var secpropobj = {};
15
- // props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
16
- // secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
17
- // });
18
- // setsectionproperties({ ...secpropobj });
19
- // } else {
20
- // var secpropobj = {};
21
-
22
- // StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
23
- // if (sectionitem.sectionid == props.sectionidprops) {
24
- // sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
25
- // secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
26
- // });
27
- // }
28
- // });
29
- // setsectionproperties({ ...secpropobj });
30
- // }
31
- // }, [StatePagePropertiesContext]);
32
- // useEffect(() => {
33
- // if (sectionproperties.length != 0) {
34
- // if (sectionproperties.arrayofobjectimagesonly != null) {
35
- // var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
36
- // if (Array.isArray(arrayofobjectimagesonlyparsed)) {
37
- // setimagesarray([...arrayofobjectimagesonlyparsed]);
38
- // }
39
- // }
40
- // }
41
- // }, [sectionproperties]);
42
- // const section_styles = {
43
- // btn: css({
44
- // width: sectionproperties.generalbtn_width + 'px',
45
- // height: sectionproperties.generalbtn_height + 'px',
46
- // backgroundColor: sectionproperties.generalbtn_bgColor,
47
- // color: sectionproperties.generalbtn_textColor,
48
- // borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
49
- // borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
50
- // borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
51
- // borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
52
- // border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
53
- // fontSize: sectionproperties.generalbtn_fontsize + 'px',
54
- // fontWeight: sectionproperties.generalbtn_fontweight,
55
- // marginTop: sectionproperties.generalbtn_marginTop + 'px',
56
- // marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
57
- // transition: '.3s',
58
- // cursor: 'pointer',
59
- // ':hover': {
60
- // backgroundColor: sectionproperties.generalbtn_bgColoronhover,
61
- // color: sectionproperties.generalbtn_textColoronhover,
62
- // },
63
- // }),
64
- // };
65
-
66
- // return (
67
- // <div
68
- // class={' row ml-0 mr-0 d-flex justify-content-between w-100 align-items-center'}
69
- // style={{
70
- // paddingLeft: sectionproperties.paddingLeft + 'px',
71
- // paddingRight: sectionproperties.paddingRight + 'px',
72
- // paddingTop: sectionproperties.paddingTop + 'px',
73
- // paddingBottom: sectionproperties.paddingBottom + 'px',
74
- // marginTop: sectionproperties.marginTop + 'px',
75
- // marginBottom: sectionproperties.marginBottom + 'px',
76
- // background: sectionproperties.backgroundColor,
77
- // borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
78
- // borderTopRightRadius: sectionproperties.borderTopLeftRadius + 'px',
79
- // borderBottomLeftRadius: sectionproperties.borderBottomRightRadius + 'px',
80
- // borderBottomRightRadius: sectionproperties.borderBottomLeftRadius + 'px',
81
- // }}
82
- // >
83
- // <div class="col-lg-6 d-flex justify-content-start p-0 h-100">
84
- // <div class="row m-0 w-100 mb-auto">
85
- // <div class="col-lg-12 p-0">
86
- // <p
87
- // style={{
88
- // color: sectionproperties.slideshowText1ContentColor,
89
- // fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
90
- // fontWeight: sectionproperties.slideshowText1ContentFontWeight,
91
- // marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
92
- // }}
93
- // >
94
- // {langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar}
95
- // </p>
96
- // </div>
97
-
98
- // <div class="col-lg-12 p-0">
99
- // <p
100
- // class=" "
101
- // style={{
102
- // color: sectionproperties.slideshowText2ContentColor,
103
- // fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
104
- // fontWeight: sectionproperties.slideshowText2ContentFontWeight,
105
- // }}
106
- // >
107
- // {langdetect == 'en' ? sectionproperties.slideshowText2Content : sectionproperties.slideshowText2Content_Ar}
108
- // </p>
109
- // </div>
110
- // {sectionproperties.generalbtn_show == 'Show' && (
111
- // <div class="col-lg-12 p-0">
112
- // <button class={`${section_styles.btn}`}>{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}</button>
113
- // </div>
114
- // )}
115
- // </div>
116
- // </div>
117
- // <div class="col-lg-6 d-flex justify-content-start">
118
- // <IKImage
119
- // path={imagesarray.length != 0 ? '/tr:w-500,h-500/' + imagesarray[0].bgsection_image : ''}
120
- // style={{
121
- // height: '100%',
122
- // width: '100%',
123
- // objectFit: 'cover',
124
- // margin: 0,
125
- // padding: 0,
126
- // // height: sectionproperties.image_height + 'vh',
127
- // borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
128
- // borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
129
- // borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
130
- // borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
131
- // }}
132
- // />
133
- // {/* <img class={`${sectionstyles.image}`} src="https://preview.colorlib.com/theme/pillowmart/img/xsingle_product_1.png.pagespeed.ic.B-AGzd90p_.webp" /> */}
134
- // </div>
135
- // </div>
136
- // );
137
- // };
138
- // export default Image_with_leftwords;
139
-
140
- import React, { useEffect, useState, useContext } from 'react';
141
- // import { LanguageContext } from '../../../../LanguageContext';
142
- // import { WebsiteDesignWorkPlaceContext } from '../../../../../WebsiteDesignWorkPlaceContext';
143
- import { css } from 'glamor';
144
- import { IKImage } from 'imagekitio-react';
145
- import { IKpublicKey, IKurlEndpoint } from '../../../../../Env';
146
-
147
- const Image_with_leftwords = (props) => {
148
- // const { lang, langdetect } = useContext(LanguageContext);
149
- // const { StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
150
- const [sectionproperties, setsectionproperties] = useState('');
151
- const [imagesarray, setimagesarray] = useState([]);
152
-
153
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
154
- const lang = props.actions.lang;
155
- const langdetect = props.actions.langdetect;
156
-
157
- useEffect(() => {
158
- if (props.srcfrom == 'addsectionform') {
159
- var secpropobj = {};
160
- props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
161
- secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
162
- });
163
- setsectionproperties({ ...secpropobj });
164
- } else {
165
- var secpropobj = {};
166
-
167
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
168
- if (sectionitem.sectionid == props.sectionidprops) {
169
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
170
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
171
- });
172
- }
173
- });
174
- setsectionproperties({ ...secpropobj });
175
- }
176
- }, [StatePagePropertiesContext]);
177
- useEffect(() => {
178
- if (sectionproperties.length != 0) {
179
- if (sectionproperties.arrayofobjectimagesonly != null) {
180
- var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
181
- if (Array.isArray(arrayofobjectimagesonlyparsed)) {
182
- setimagesarray([...arrayofobjectimagesonlyparsed]);
183
- }
184
- }
185
- }
186
- }, [sectionproperties]);
187
- const section_styles = {
188
- btn: css({
189
- width: sectionproperties.generalbtn_width + 'px',
190
- height: sectionproperties.generalbtn_height + 'px',
191
- backgroundColor: sectionproperties.generalbtn_bgColor,
192
- color: sectionproperties.generalbtn_textColor,
193
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
194
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
195
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
196
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
197
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
198
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
199
- fontWeight: sectionproperties.generalbtn_fontweight,
200
- marginTop: sectionproperties.generalbtn_marginTop + 'px',
201
- marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
202
- transition: '.3s',
203
- cursor: 'pointer',
204
- ':hover': {
205
- backgroundColor: sectionproperties.generalbtn_bgColoronhover,
206
- color: sectionproperties.generalbtn_textColoronhover,
207
- },
208
- }),
209
- };
210
-
211
- return (
212
- <div
213
- class={' row ml-0 mr-0 d-flex justify-content-between w-100 align-items-center pl-md-3 pr-md-3'}
214
- style={{
215
- paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
216
- paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + 'px',
217
- paddingTop: sectionproperties.paddingTop + 'px',
218
- paddingBottom: sectionproperties.paddingBottom + 'px',
219
- marginTop: sectionproperties.marginTop + 'px',
220
- marginBottom: sectionproperties.marginBottom + 'px',
221
- background: sectionproperties.backgroundColor,
222
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
223
- borderTopRightRadius: sectionproperties.borderTopLeftRadius + 'px',
224
- borderBottomLeftRadius: sectionproperties.borderBottomRightRadius + 'px',
225
- borderBottomRightRadius: sectionproperties.borderBottomLeftRadius + 'px',
226
- }}
227
- >
228
- <div class="col-lg-6 col-md-12 d-flex justify-content-start h-100 justify-content-md-center">
229
- <div class="row m-0 w-100 mb-auto">
230
- <div class="col-lg-12 p-0 d-flex justify-content-md-center" style={{ justifyContent: sectionproperties.text1centered == 'Centered' ? 'center' : 'start' }}>
231
- <p
232
- style={{
233
- color: sectionproperties.slideshowText1ContentColor,
234
- fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
235
- fontWeight: sectionproperties.slideshowText1ContentFontWeight,
236
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
237
- marginTop: sectionproperties.slideshowText1Content_marginTop + 'px',
238
- }}
239
- >
240
- {langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar}
241
- </p>
242
- </div>
243
- <div class="col-lg-12 p-0 d-flex justify-content-md-center">
244
- <p
245
- class="p-0 text-md-center"
246
- style={{
247
- textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
248
- color: sectionproperties.slideshowText2ContentColor,
249
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
250
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
251
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
252
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
253
- }}
254
- dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.contenteditor_ar }}
255
- ></p>
256
- </div>
257
- {sectionproperties.generalbtn_show == 'Show' && (
258
- <div class="col-lg-12 p-0">
259
- <button class={`${section_styles.btn}`}>{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}</button>
260
- </div>
261
- )}
262
- </div>
263
- </div>
264
- <div class="col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center">
265
- <IKImage
266
- urlEndpoint={IKurlEndpoint}
267
- publicKey={IKpublicKey}
268
- path={imagesarray.length != 0 ? '/tr:w-500/' + imagesarray[0].bgsection_image : ''}
269
- style={{
270
- objectFit: 'contain',
271
- margin: 0,
272
- padding: 0,
273
- height: '400px',
274
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
275
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
276
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
277
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
278
- }}
279
- />
280
- </div>
281
- </div>
282
- );
283
- };
284
- export default Image_with_leftwords;
@@ -1,146 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- // import { LanguageContext } from '../../../../LanguageContext';
3
- // import { WebsiteDesignWorkPlaceContext } from '../../../../../WebsiteDesignWorkPlaceContext';
4
- import { css } from 'glamor';
5
- import { IKImage } from 'imagekitio-react';
6
- import { IKpublicKey, IKurlEndpoint } from '../../../../../Env';
7
-
8
- const Image_with_rightwords = (props) => {
9
- // const { lang, langdetect } = useContext(LanguageContext);
10
- // const { StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
11
- const [sectionproperties, setsectionproperties] = useState('');
12
- const [imagesarray, setimagesarray] = useState([]);
13
-
14
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
15
- const lang = props.actions.lang;
16
- const langdetect = props.actions.langdetect;
17
-
18
- useEffect(() => {
19
- if (props.srcfrom == 'addsectionform') {
20
- var secpropobj = {};
21
- props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
22
- secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
23
- });
24
- setsectionproperties({ ...secpropobj });
25
- } else {
26
- var secpropobj = {};
27
-
28
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
29
- if (sectionitem.sectionid == props.sectionidprops) {
30
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
31
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
32
- });
33
- }
34
- });
35
- setsectionproperties({ ...secpropobj });
36
- }
37
- }, [StatePagePropertiesContext]);
38
- useEffect(() => {
39
- if (sectionproperties.length != 0) {
40
- if (sectionproperties.arrayofobjectimagesonly != null) {
41
- var arrayofobjectimagesonlyparsed = JSON.parse(sectionproperties.arrayofobjectimagesonly);
42
- if (Array.isArray(arrayofobjectimagesonlyparsed)) {
43
- setimagesarray([...arrayofobjectimagesonlyparsed]);
44
- }
45
- }
46
- }
47
- }, [sectionproperties]);
48
- const section_styles = {
49
- btn: css({
50
- width: sectionproperties.generalbtn_width + 'px',
51
- height: sectionproperties.generalbtn_height + 'px',
52
- backgroundColor: sectionproperties.generalbtn_bgColor,
53
- color: sectionproperties.generalbtn_textColor,
54
- borderTopLeftRadius: sectionproperties.generalbtn_bordertopleftradius + 'px',
55
- borderTopRightRadius: sectionproperties.generalbtn_bordertoprightradius + 'px',
56
- borderBottomLeftRadius: sectionproperties.generalbtn_borderbottomleftradius + 'px',
57
- borderBottomRightRadius: sectionproperties.generalbtn_borderbottomrightradius + 'px',
58
- border: sectionproperties.generalbtn_borderwidth + 'px solid ' + sectionproperties.generalbtn_bordercolor,
59
- fontSize: sectionproperties.generalbtn_fontsize + 'px',
60
- fontWeight: sectionproperties.generalbtn_fontweight,
61
- marginTop: sectionproperties.generalbtn_marginTop + 'px',
62
- marginBottom: sectionproperties.generalbtn_marginBottom + 'px',
63
- transition: '.3s',
64
- cursor: 'pointer',
65
- ':hover': {
66
- backgroundColor: sectionproperties.generalbtn_bgColoronhover,
67
- color: sectionproperties.generalbtn_textColoronhover,
68
- },
69
- }),
70
- };
71
-
72
- return (
73
- <div
74
- class={' row ml-0 mr-0 d-flex justify-content-between w-100 align-items-center'}
75
- style={{
76
- paddingLeft: sectionproperties.paddingLeft + 'px',
77
- paddingRight: sectionproperties.paddingRight + 'px',
78
- paddingTop: sectionproperties.paddingTop + 'px',
79
- paddingBottom: sectionproperties.paddingBottom + 'px',
80
- marginTop: sectionproperties.marginTop + 'px',
81
- marginBottom: sectionproperties.marginBottom + 'px',
82
- background: sectionproperties.backgroundColor,
83
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
84
- borderTopRightRadius: sectionproperties.borderTopLeftRadius + 'px',
85
- borderBottomLeftRadius: sectionproperties.borderBottomRightRadius + 'px',
86
- borderBottomRightRadius: sectionproperties.borderBottomLeftRadius + 'px',
87
- }}
88
- >
89
- <div class="col-lg-6 col-md-12 d-flex justify-content-end justify-content-md-center">
90
- <IKImage
91
- urlEndpoint={IKurlEndpoint}
92
- publicKey={IKpublicKey}
93
- path={imagesarray.length != 0 ? '/tr:w-500/' + imagesarray[0].bgsection_image : ''}
94
- style={{
95
- objectFit: 'contain',
96
- margin: 0,
97
- padding: 0,
98
- height: '400px',
99
- borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
100
- borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
101
- borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
102
- borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
103
- }}
104
- />
105
- </div>
106
- <div class="col-lg-6 col-md-12 d-flex justify-content-start h-100 justify-content-md-center">
107
- <div class="row m-0 w-100 mb-auto">
108
- <div class="col-lg-12 p-0 d-flex justify-content-md-center" style={{ justifyContent: sectionproperties.text1centered == 'Centered' ? 'center' : 'start' }}>
109
- <p
110
- style={{
111
- color: sectionproperties.slideshowText1ContentColor,
112
- fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
113
- fontWeight: sectionproperties.slideshowText1ContentFontWeight,
114
- marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
115
- marginTop: sectionproperties.slideshowText1Content_marginTop + 'px',
116
- }}
117
- >
118
- {langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar}
119
- </p>
120
- </div>
121
- <div class="col-lg-12 p-0 d-flex justify-content-center justify-content-md-center">
122
- <p
123
- class="pl-md-3 pr-md-3 text-md-center"
124
- style={{
125
- textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
126
- color: sectionproperties.slideshowText2ContentColor,
127
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
128
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
129
- paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
130
- paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
131
- }}
132
- >
133
- {langdetect == 'en' ? sectionproperties.slideshowText2Content : sectionproperties.slideshowText2Content_Ar}
134
- </p>
135
- </div>
136
- {sectionproperties.generalbtn_show == 'Show' && (
137
- <div class="col-lg-12 p-0">
138
- <button class={`${section_styles.btn}`}>{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}</button>
139
- </div>
140
- )}
141
- </div>
142
- </div>
143
- </div>
144
- );
145
- };
146
- export default Image_with_rightwords;
@@ -1,209 +0,0 @@
1
- import React, { useEffect, useState, useContext } from 'react';
2
- // import { LanguageContext } from '../../../../LanguageContext';
3
- // import { WebsiteDesignWorkPlaceContext } from '../../../../../WebsiteDesignWorkPlaceContext';
4
- import { css } from 'glamor';
5
- import { IKImage } from 'imagekitio-react';
6
- import { IKpublicKey, IKurlEndpoint } from '../../../../../Env';
7
-
8
- // import generalstyles from '../../../Generalfiles/CSS_GENERAL/general.module.css';
9
- import generalstyles from '../../../../styles/general//general.module.css';
10
-
11
- const Servicesection = (props) => {
12
- // const { lang, langdetect } = useContext(LanguageContext);
13
- // const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
14
- const [sectionproperties, setsectionproperties] = useState('');
15
- const [cardsarray, setcardsarray] = useState([]);
16
-
17
- const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
18
- const lang = props.actions.lang;
19
- const langdetect = props.actions.langdetect;
20
-
21
- useEffect(() => {
22
- if (props.srcfrom == 'addsectionform') {
23
- var secpropobj = {};
24
- props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
25
- secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
26
- });
27
- setsectionproperties({ ...secpropobj });
28
- } else {
29
- var secpropobj = {};
30
-
31
- StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
32
- if (sectionitem.sectionid == props.sectionidprops) {
33
- sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
34
- secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
35
- });
36
- }
37
- });
38
- setsectionproperties({ ...secpropobj });
39
- }
40
- }, [StatePagePropertiesContext]);
41
- useEffect(() => {
42
- if (sectionproperties.length != 0) {
43
- if (sectionproperties.card_arrayofobjects != null) {
44
- var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.card_arrayofobjects);
45
- if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
46
- setcardsarray([...bgsection_imagearrayofobjsparsed]);
47
- }
48
- }
49
- }
50
- }, [sectionproperties]);
51
- const section_styles = {
52
- sectiontitlespan: css({
53
- ':after': {
54
- width: sectionproperties.sectitle_lineafterwidth + '%',
55
- backgroundColor: sectionproperties.linebgcolor,
56
- },
57
- }),
58
- sectiontitlespan2: css({
59
- ':after': {
60
- width: sectionproperties.sectitle_lineafterwidth + 'px',
61
- height: '100%',
62
- backgroundColor: sectionproperties.linebgcolor,
63
- },
64
- }),
65
- };
66
-
67
- return (
68
- <div
69
- class={' row ml-0 mr-0 w-100 align-items-center '}
70
- style={{
71
- marginTop: sectionproperties.marginTop + 'px',
72
- marginBottom: sectionproperties.marginBottom + 'px',
73
- paddingLeft: sectionproperties.paddingLeft + 'px',
74
- paddingRight: sectionproperties.paddingRight + 'px',
75
- paddingTop: sectionproperties.paddingTop + 'px',
76
- paddingBottom: sectionproperties.paddingBottom + 'px',
77
- background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
78
- borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
79
- borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
80
- borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
81
- borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
82
- boxShadow: sectionproperties.sectioncardshadow == 'Show' ? '0 0 10px ' + sectionproperties.sectioncardshadowcolor : 'none',
83
- // border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
84
- borderBottom: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
85
- borderTop: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
86
- }}
87
- >
88
- {sectionproperties.sectiontitleshow == 'Show' && sectionproperties.sectiontitlestyle == 'Line Under Text' && (
89
- <div
90
- class="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
91
- style={{
92
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
93
- }}
94
- >
95
- <div
96
- class={`${generalstyles.sectiontitlecont}`}
97
- style={{
98
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
99
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
100
- }}
101
- >
102
- <span
103
- class={`${section_styles.sectiontitlespan}`}
104
- style={{
105
- color: sectionproperties.sectionTitleColor,
106
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
107
- textTransform: sectionproperties.sectionTitleTextTransform,
108
- fontWeight: sectionproperties.sectionTitleFontWeight,
109
- }}
110
- >
111
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
112
- </span>
113
- </div>
114
- </div>
115
- )}
116
- {sectionproperties.sectiontitleshow == 'Show' && sectionproperties.sectiontitlestyle == 'Line Before Text' && (
117
- <div
118
- class="col-lg-12 col-md-12 col-sm-12 d-flex align-items-center p-0"
119
- style={{
120
- justifyContent: sectionproperties.sectiontitleposition == 'Centered' ? 'center' : 'start',
121
- }}
122
- >
123
- <div
124
- class={`${generalstyles.sectiontitlecont2}`}
125
- style={{
126
- marginTop: sectionproperties.sectionTitleMarginTop + 'px',
127
- marginBottom: sectionproperties.sectionTitleMarginBottom + 'px',
128
- }}
129
- >
130
- <span
131
- class={`${section_styles.sectiontitlespan2}`}
132
- style={{
133
- color: sectionproperties.sectionTitleColor,
134
- fontSize: sectionproperties.sectionTitleFontSize + 'px',
135
- textTransform: sectionproperties.sectionTitleTextTransform,
136
- fontWeight: sectionproperties.sectionTitleFontWeight,
137
- }}
138
- >
139
- {langdetect == 'en' ? sectionproperties.sectionTitleContent : sectionproperties.sectionTitleContent_ar}
140
- </span>
141
- </div>
142
- </div>
143
- )}
144
- <div class="row m-0 w-100 d-flex justify-content-center">
145
- {cardsarray.map((cardinfoitem, cardinfoindex) => {
146
- return (
147
- <div
148
- class="col-lg-3 col-md-6 col-sm-12 d-flex align-items-center justify-content-center justify-content-md-start"
149
- style={{
150
- padding: '10px',
151
- }}
152
- >
153
- <div class="m-lg-auto d-flex justify-content-center">
154
- <div
155
- style={{
156
- width: 50,
157
- height: 50,
158
- marginBottom: 'auto',
159
- marginRight: '10px',
160
- }}
161
- >
162
- <IKImage
163
- urlEndpoint={IKurlEndpoint}
164
- publicKey={IKpublicKey}
165
- path={cardsarray.length != 0 ? cardsarray[cardinfoindex].cardobj_img : ''}
166
- style={{
167
- height: '100%',
168
- width: '100%',
169
- objectFit: 'cover',
170
- }}
171
- />
172
- </div>
173
- <div class="d-flex flex-column" style={{ paddingLeft: langdetect == 'en' ? '10px' : 0, paddingRight: langdetect == 'en' ? 0 : '10px', flex: 1 }}>
174
- <p
175
- class="p-0 m-0 wordbreak wordbreak2"
176
- style={{
177
- color: sectionproperties.slideshowText1ContentColor,
178
- fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
179
- fontWeight: sectionproperties.slideshowText1ContentFontWeight,
180
- textTransform: sectionproperties.slideshowText1ContentTextTransform,
181
- textAlign: langdetect == 'en' ? 'left' : 'right',
182
- }}
183
- >
184
- {langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_titleen : cardsarray[cardinfoindex].cardobj_titlear}
185
- </p>
186
- {sectionproperties.slideshowtext2_show && (
187
- <p
188
- class="m-0 wordbreak "
189
- style={{
190
- color: sectionproperties.slideshowText2ContentColor,
191
- fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
192
- fontWeight: sectionproperties.slideshowText2ContentFontWeight,
193
- textTransform: sectionproperties.slideshowText2ContentTextTransform,
194
- textAlign: langdetect == 'en' ? 'left' : 'right',
195
- }}
196
- >
197
- {langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_descripen : cardsarray[cardinfoindex].cardobj_descripar}
198
- </p>
199
- )}
200
- </div>
201
- </div>
202
- </div>
203
- );
204
- })}
205
- </div>
206
- </div>
207
- );
208
- };
209
- export default Servicesection;