diy-template-components 0.2.14 → 0.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.es.js +13 -13
- package/build/index.es.js.map +1 -1
- package/build/index.js +13 -13
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -8096,9 +8096,6 @@ function Section({
|
|
|
8096
8096
|
emailRef,
|
|
8097
8097
|
customHtmlData
|
|
8098
8098
|
}) {
|
|
8099
|
-
const {
|
|
8100
|
-
isEdit
|
|
8101
|
-
} = React.useContext(PageContext);
|
|
8102
8099
|
const header = nodeData?.components[0];
|
|
8103
8100
|
const body = nodeData?.components[1];
|
|
8104
8101
|
const landing = nodeData?.components[2];
|
|
@@ -8268,7 +8265,13 @@ function Section({
|
|
|
8268
8265
|
textAlign: 'left'
|
|
8269
8266
|
},
|
|
8270
8267
|
ref: landing?.components[1]?.refSetter
|
|
8271
|
-
}, landing?.components[1]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("
|
|
8268
|
+
}, landing?.components[1]?.metadata?.text), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
8269
|
+
href: landing?.components[3]?.metadata?.text,
|
|
8270
|
+
target: "_blank",
|
|
8271
|
+
style: {
|
|
8272
|
+
textDecoration: 'none'
|
|
8273
|
+
}
|
|
8274
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8272
8275
|
style: {
|
|
8273
8276
|
background: '#009AE0',
|
|
8274
8277
|
borderRadius: '7.18333px',
|
|
@@ -8284,11 +8287,8 @@ function Section({
|
|
|
8284
8287
|
textTransform: 'uppercase',
|
|
8285
8288
|
color: '#fafafa'
|
|
8286
8289
|
},
|
|
8287
|
-
onClick: () => {
|
|
8288
|
-
!isEdit ? window.open(landing?.components[3]?.metadata?.text, '_blank') : null;
|
|
8289
|
-
},
|
|
8290
8290
|
ref: landing?.components[2]?.refSetter
|
|
8291
|
-
}, landing?.components[2]?.metadata?.text))))))))) : null, footer?.isActive ? /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8291
|
+
}, landing?.components[2]?.metadata?.text)))))))))) : null, footer?.isActive ? /*#__PURE__*/React__default["default"].createElement("tr", null, /*#__PURE__*/React__default["default"].createElement("td", null, /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8292
8292
|
style: {
|
|
8293
8293
|
width: '100%',
|
|
8294
8294
|
background: '#e3f0ff',
|
|
@@ -8321,7 +8321,7 @@ function Section({
|
|
|
8321
8321
|
},
|
|
8322
8322
|
ref: footer?.components[0]?.refSetter,
|
|
8323
8323
|
onClick: () => {
|
|
8324
|
-
|
|
8324
|
+
window.open(footer?.components[0]?.metadata?.text, '_blank');
|
|
8325
8325
|
}
|
|
8326
8326
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8327
8327
|
src: footer?.components[1]?.metadata?.text ? footer?.components[1]?.metadata?.iconUrlColor : footer?.components[1]?.metadata?.iconUrl,
|
|
@@ -8333,7 +8333,7 @@ function Section({
|
|
|
8333
8333
|
cursor: 'pointer'
|
|
8334
8334
|
},
|
|
8335
8335
|
onClick: () => {
|
|
8336
|
-
|
|
8336
|
+
window.open(footer?.components[1]?.metadata?.text, '_blank');
|
|
8337
8337
|
},
|
|
8338
8338
|
ref: footer?.components[1]?.refSetter
|
|
8339
8339
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
@@ -8345,7 +8345,7 @@ function Section({
|
|
|
8345
8345
|
cursor: 'pointer'
|
|
8346
8346
|
},
|
|
8347
8347
|
onClick: () => {
|
|
8348
|
-
|
|
8348
|
+
window.open(footer?.components[2]?.metadata?.text, '_blank');
|
|
8349
8349
|
},
|
|
8350
8350
|
ref: footer?.components[2]?.refSetter
|
|
8351
8351
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
@@ -8359,7 +8359,7 @@ function Section({
|
|
|
8359
8359
|
},
|
|
8360
8360
|
ref: footer?.components[3]?.refSetter,
|
|
8361
8361
|
onClick: () => {
|
|
8362
|
-
|
|
8362
|
+
window.open(footer?.components[3]?.metadata?.text, '_blank');
|
|
8363
8363
|
}
|
|
8364
8364
|
}), /*#__PURE__*/React__default["default"].createElement("img", {
|
|
8365
8365
|
src: footer?.components[4]?.metadata?.text ? footer?.components[4]?.metadata?.iconUrlColor : footer?.components[4]?.metadata?.iconUrl,
|
|
@@ -8371,7 +8371,7 @@ function Section({
|
|
|
8371
8371
|
},
|
|
8372
8372
|
ref: footer?.components[4]?.refSetter,
|
|
8373
8373
|
onClick: () => {
|
|
8374
|
-
|
|
8374
|
+
window.open(footer?.components[4]?.metadata?.text, '_blank');
|
|
8375
8375
|
}
|
|
8376
8376
|
}), /*#__PURE__*/React__default["default"].createElement("table", {
|
|
8377
8377
|
style: {
|