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,139 @@
1
+ import React, { useEffect, useState, useContext } from 'react';
2
+ import { css } from 'glamor';
3
+ import { IKImage } from 'imagekitio-react';
4
+ import { IKpublicKey, IKurlEndpoint } from '../../../../../Env';
5
+
6
+ const Image_with_leftwords = (props) => {
7
+ const [sectionproperties, setsectionproperties] = useState('');
8
+ const [imagesarray, setimagesarray] = useState([]);
9
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
10
+ const lang = props.actions.lang;
11
+ const langdetect = props.actions.langdetect;
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 pl-md-3 pr-md-3'}
69
+ style={{
70
+ paddingLeft: langdetect == 'en' ? sectionproperties.paddingLeft + 'px' : sectionproperties.paddingRight + 'px',
71
+ paddingRight: langdetect == 'en' ? sectionproperties.paddingRight + 'px' : sectionproperties.paddingLeft + '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 col-md-12 d-flex justify-content-start h-100 justify-content-md-center">
84
+ <div class="row m-0 w-100 mb-auto">
85
+ <div class="col-lg-12 p-0 d-flex justify-content-md-center" style={{ justifyContent: sectionproperties.text1centered == 'Centered' ? 'center' : 'start' }}>
86
+ <p
87
+ style={{
88
+ color: sectionproperties.slideshowText1ContentColor,
89
+ fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
90
+ fontWeight: sectionproperties.slideshowText1ContentFontWeight,
91
+ marginBottom: sectionproperties.slideshowText1Content_marginBottom + 'px',
92
+ marginTop: sectionproperties.slideshowText1Content_marginTop + 'px',
93
+ }}
94
+ >
95
+ {langdetect == 'en' ? sectionproperties.slideshowText1Content : sectionproperties.slideshowText1Content_ar}
96
+ </p>
97
+ </div>
98
+ <div class="col-lg-12 p-0 d-flex justify-content-md-center">
99
+ <p
100
+ class="p-0 text-md-center"
101
+ style={{
102
+ textAlign: sectionproperties.text2centered == 'Centered' ? 'center' : 'start',
103
+ color: sectionproperties.slideshowText2ContentColor,
104
+ fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
105
+ fontWeight: sectionproperties.slideshowText2ContentFontWeight,
106
+ paddingLeft: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginLeft + 'px' : sectionproperties.slideshowText2Content_marginRight + 'px',
107
+ paddingRight: langdetect == 'en' ? sectionproperties.slideshowText2Content_marginRight + 'px' : sectionproperties.slideshowText2Content_marginLeft + 'px',
108
+ }}
109
+ dangerouslySetInnerHTML={{ __html: langdetect == 'en' ? sectionproperties.contenteditor : sectionproperties.contenteditor_ar }}
110
+ ></p>
111
+ </div>
112
+ {sectionproperties.generalbtn_show == 'Show' && (
113
+ <div class="col-lg-12 p-0">
114
+ <button class={`${section_styles.btn}`}>{langdetect == 'en' ? sectionproperties.generalbtn_content : sectionproperties.slideshow_btn_text_ar}</button>
115
+ </div>
116
+ )}
117
+ </div>
118
+ </div>
119
+ <div class="col-lg-6 col-md-12 d-flex justify-content-start justify-content-md-center">
120
+ <IKImage
121
+ urlEndpoint={IKurlEndpoint}
122
+ publicKey={IKpublicKey}
123
+ path={imagesarray.length != 0 ? '/tr:w-500/' + imagesarray[0].bgsection_image : ''}
124
+ style={{
125
+ objectFit: 'contain',
126
+ margin: 0,
127
+ padding: 0,
128
+ height: '400px',
129
+ borderTopLeftRadius: sectionproperties.image_bordertopleftradius + 'px',
130
+ borderTopRightRadius: sectionproperties.image_bordertoprightradius + 'px',
131
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
132
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
133
+ }}
134
+ />
135
+ </div>
136
+ </div>
137
+ );
138
+ };
139
+ export default Image_with_leftwords;
@@ -0,0 +1,146 @@
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;
@@ -0,0 +1,209 @@
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;
@@ -0,0 +1,145 @@
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 ServicesectionCenteredcards = (props) => {
9
+ // const { lang, langdetect } = useContext(LanguageContext);
10
+ // const { fetch_inst_tabex_websitetemplatesQueryContext, sectionindexcontext, pageindexcontext, StatePagePropertiesContext } = useContext(WebsiteDesignWorkPlaceContext);
11
+ const [sectionproperties, setsectionproperties] = useState('');
12
+ const [cardsarray, setcardsarray] = useState([]);
13
+
14
+ const StatePagePropertiesContext = props.actions.StatePagePropertiesContext;
15
+ const lang = props.actions.lang;
16
+ const langdetect = props.actions.langdetect;
17
+ useEffect(() => {
18
+ if (props.srcfrom == 'addsectionform') {
19
+ var secpropobj = {};
20
+ props.defaultproperties.forEach(function (defaultpropobj, defaultpropindex) {
21
+ secpropobj[defaultpropobj.property_css_name] = defaultpropobj.property_value;
22
+ });
23
+ setsectionproperties({ ...secpropobj });
24
+ } else {
25
+ var secpropobj = {};
26
+
27
+ StatePagePropertiesContext.pageobj.sections.forEach(function (sectionitem, sectionindex) {
28
+ if (sectionitem.sectionid == props.sectionidprops) {
29
+ sectionitem.sectionproperties.forEach(function (sectionpropertiesobj, sectionpropertiesindex) {
30
+ secpropobj[sectionpropertiesobj.property_css_name] = sectionpropertiesobj.property_value;
31
+ });
32
+ }
33
+ });
34
+ setsectionproperties({ ...secpropobj });
35
+ }
36
+ }, [StatePagePropertiesContext]);
37
+ useEffect(() => {
38
+ if (sectionproperties.length != 0) {
39
+ if (sectionproperties.card_arrayofobjects != null) {
40
+ var bgsection_imagearrayofobjsparsed = JSON.parse(sectionproperties.card_arrayofobjects);
41
+ if (Array.isArray(bgsection_imagearrayofobjsparsed)) {
42
+ setcardsarray([...bgsection_imagearrayofobjsparsed]);
43
+ }
44
+ }
45
+ }
46
+ }, [sectionproperties]);
47
+ const section_styles = {
48
+ sectiontitlespan: css({
49
+ ':after': {
50
+ width: sectionproperties.sectitle_lineafterwidth + '%',
51
+ backgroundColor: sectionproperties.linebgcolor,
52
+ },
53
+ }),
54
+ sectiontitlespan2: css({
55
+ ':after': {
56
+ width: sectionproperties.sectitle_lineafterwidth + 'px',
57
+ height: '100%',
58
+ backgroundColor: sectionproperties.linebgcolor,
59
+ },
60
+ }),
61
+ };
62
+
63
+ return (
64
+ <div
65
+ class={' row ml-0 mr-0 w-100 align-items-center '}
66
+ style={{
67
+ marginTop: sectionproperties.marginTop + 'px',
68
+ marginBottom: sectionproperties.marginBottom + 'px',
69
+ paddingLeft: sectionproperties.paddingLeft + 'px',
70
+ paddingRight: sectionproperties.paddingRight + 'px',
71
+ paddingTop: sectionproperties.paddingTop + 'px',
72
+ paddingBottom: sectionproperties.paddingBottom + 'px',
73
+ background: sectionproperties.backgroundColortransparent == 'Transparent' ? 'transparent' : sectionproperties.backgroundColor,
74
+ borderBottomLeftRadius: sectionproperties.borderBottomLeftRadius + 'px',
75
+ borderBottomRightRadius: sectionproperties.borderBottomRightRadius + 'px',
76
+ borderTopLeftRadius: sectionproperties.borderTopLeftRadius + 'px',
77
+ borderTopRightRadius: sectionproperties.borderTopRightRadius + 'px',
78
+ border: sectionproperties.sectioncardborderwidth + 'px solid ' + sectionproperties.sectioncardbordercolor,
79
+ borderLeftWidth: 0,
80
+ borderRightWidth: 0,
81
+ }}
82
+ >
83
+ <div class="row m-0 w-100 d-flex justify-content-center">
84
+ {cardsarray.map((cardinfoitem, cardinfoindex) => {
85
+ return (
86
+ <div class="col-lg-3 col-md-6 col-sm-12 d-flex align-items-center justify-content-center justify-content-md-start mb-md-3">
87
+ <div class="row m-0 w-100">
88
+ <div class="col-lg-12 d-flex justify-content-center mb-1 p-0">
89
+ <div
90
+ style={{
91
+ width: sectionproperties.image_Width + 'px',
92
+ height: sectionproperties.image_height + 'px',
93
+ borderBottomLeftRadius: sectionproperties.image_borderBottomLeftRadius + 'px',
94
+ borderBottomRightRadius: sectionproperties.image_borderBottomRightRadius + 'px',
95
+ borderTopLeftRadius: sectionproperties.image_borderTopLeftRadius + 'px',
96
+ borderTopRightRadius: sectionproperties.image_borderTopRightRadius + 'px',
97
+ }}
98
+ >
99
+ <IKImage
100
+ urlEndpoint={IKurlEndpoint}
101
+ publicKey={IKpublicKey}
102
+ path={cardsarray.length != 0 ? cardsarray[cardinfoindex].cardobj_img : ''}
103
+ style={{
104
+ height: '100%',
105
+ width: '100%',
106
+ objectFit: 'cover',
107
+ }}
108
+ />
109
+ </div>
110
+ </div>
111
+ <div class="col-lg-12 d-flex justify-content-center p-0">
112
+ <p
113
+ class="p-0 m-0 wordbreak wordbreak-noellipsis text-center"
114
+ style={{
115
+ color: sectionproperties.slideshowText1ContentColor,
116
+ fontSize: sectionproperties.slideshowText1ContentFontSize + 'px',
117
+ fontWeight: sectionproperties.slideshowText1ContentFontWeight,
118
+ }}
119
+ >
120
+ {langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_titleen : cardsarray[cardinfoindex].cardobj_titlear}
121
+ </p>
122
+ </div>
123
+ <div class="col-lg-12 d-flex justify-content-center p-0">
124
+ {sectionproperties.slideshowtext2_show && (
125
+ <p
126
+ class="m-0 wordbreak text-center"
127
+ style={{
128
+ color: sectionproperties.slideshowText2ContentColor,
129
+ fontSize: sectionproperties.slideshowText2ContentFontSize + 'px',
130
+ fontWeight: sectionproperties.slideshowText2ContentFontWeight,
131
+ }}
132
+ >
133
+ {langdetect == 'en' ? cardsarray[cardinfoindex].cardobj_descripen : cardsarray[cardinfoindex].cardobj_descripar}
134
+ </p>
135
+ )}
136
+ </div>
137
+ </div>
138
+ </div>
139
+ );
140
+ })}
141
+ </div>
142
+ </div>
143
+ );
144
+ };
145
+ export default ServicesectionCenteredcards;