diy-template-components 0.2.13 → 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.es.js
CHANGED
|
@@ -8081,9 +8081,6 @@ function Section({
|
|
|
8081
8081
|
emailRef,
|
|
8082
8082
|
customHtmlData
|
|
8083
8083
|
}) {
|
|
8084
|
-
const {
|
|
8085
|
-
isEdit
|
|
8086
|
-
} = useContext(PageContext);
|
|
8087
8084
|
const header = nodeData?.components[0];
|
|
8088
8085
|
const body = nodeData?.components[1];
|
|
8089
8086
|
const landing = nodeData?.components[2];
|
|
@@ -8253,7 +8250,13 @@ function Section({
|
|
|
8253
8250
|
textAlign: 'left'
|
|
8254
8251
|
},
|
|
8255
8252
|
ref: landing?.components[1]?.refSetter
|
|
8256
|
-
}, landing?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("
|
|
8253
|
+
}, landing?.components[1]?.metadata?.text), /*#__PURE__*/React.createElement("a", {
|
|
8254
|
+
href: landing?.components[3]?.metadata?.text,
|
|
8255
|
+
target: "_blank",
|
|
8256
|
+
style: {
|
|
8257
|
+
textDecoration: 'none'
|
|
8258
|
+
}
|
|
8259
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
8257
8260
|
style: {
|
|
8258
8261
|
background: '#009AE0',
|
|
8259
8262
|
borderRadius: '7.18333px',
|
|
@@ -8269,11 +8272,8 @@ function Section({
|
|
|
8269
8272
|
textTransform: 'uppercase',
|
|
8270
8273
|
color: '#fafafa'
|
|
8271
8274
|
},
|
|
8272
|
-
onClick: () => {
|
|
8273
|
-
!isEdit ? window.open(landing?.components[3]?.metadata?.text, '_blank') : null;
|
|
8274
|
-
},
|
|
8275
8275
|
ref: landing?.components[2]?.refSetter
|
|
8276
|
-
}, landing?.components[2]?.metadata?.text))))))))) : null, footer?.isActive ? /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8276
|
+
}, landing?.components[2]?.metadata?.text)))))))))) : null, footer?.isActive ? /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null, /*#__PURE__*/React.createElement("table", {
|
|
8277
8277
|
style: {
|
|
8278
8278
|
width: '100%',
|
|
8279
8279
|
background: '#e3f0ff',
|
|
@@ -8306,7 +8306,7 @@ function Section({
|
|
|
8306
8306
|
},
|
|
8307
8307
|
ref: footer?.components[0]?.refSetter,
|
|
8308
8308
|
onClick: () => {
|
|
8309
|
-
|
|
8309
|
+
window.open(footer?.components[0]?.metadata?.text, '_blank');
|
|
8310
8310
|
}
|
|
8311
8311
|
}), /*#__PURE__*/React.createElement("img", {
|
|
8312
8312
|
src: footer?.components[1]?.metadata?.text ? footer?.components[1]?.metadata?.iconUrlColor : footer?.components[1]?.metadata?.iconUrl,
|
|
@@ -8318,7 +8318,7 @@ function Section({
|
|
|
8318
8318
|
cursor: 'pointer'
|
|
8319
8319
|
},
|
|
8320
8320
|
onClick: () => {
|
|
8321
|
-
|
|
8321
|
+
window.open(footer?.components[1]?.metadata?.text, '_blank');
|
|
8322
8322
|
},
|
|
8323
8323
|
ref: footer?.components[1]?.refSetter
|
|
8324
8324
|
}), /*#__PURE__*/React.createElement("img", {
|
|
@@ -8330,7 +8330,7 @@ function Section({
|
|
|
8330
8330
|
cursor: 'pointer'
|
|
8331
8331
|
},
|
|
8332
8332
|
onClick: () => {
|
|
8333
|
-
|
|
8333
|
+
window.open(footer?.components[2]?.metadata?.text, '_blank');
|
|
8334
8334
|
},
|
|
8335
8335
|
ref: footer?.components[2]?.refSetter
|
|
8336
8336
|
}), /*#__PURE__*/React.createElement("img", {
|
|
@@ -8344,7 +8344,7 @@ function Section({
|
|
|
8344
8344
|
},
|
|
8345
8345
|
ref: footer?.components[3]?.refSetter,
|
|
8346
8346
|
onClick: () => {
|
|
8347
|
-
|
|
8347
|
+
window.open(footer?.components[3]?.metadata?.text, '_blank');
|
|
8348
8348
|
}
|
|
8349
8349
|
}), /*#__PURE__*/React.createElement("img", {
|
|
8350
8350
|
src: footer?.components[4]?.metadata?.text ? footer?.components[4]?.metadata?.iconUrlColor : footer?.components[4]?.metadata?.iconUrl,
|
|
@@ -8356,7 +8356,7 @@ function Section({
|
|
|
8356
8356
|
},
|
|
8357
8357
|
ref: footer?.components[4]?.refSetter,
|
|
8358
8358
|
onClick: () => {
|
|
8359
|
-
|
|
8359
|
+
window.open(footer?.components[4]?.metadata?.text, '_blank');
|
|
8360
8360
|
}
|
|
8361
8361
|
}), /*#__PURE__*/React.createElement("table", {
|
|
8362
8362
|
style: {
|