diy-template-components 2.0.23 → 2.0.24
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 +17 -14
- package/build/index.es.js.map +1 -1
- package/build/index.js +17 -14
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -9795,22 +9795,25 @@ function ABOUT_INSTITUTE({
|
|
|
9795
9795
|
containerWidth,
|
|
9796
9796
|
isMobile
|
|
9797
9797
|
});
|
|
9798
|
+
console.log('sectionData sid', sectionData);
|
|
9798
9799
|
const [nodeData] = sectionData?.components;
|
|
9799
|
-
|
|
9800
|
+
console.log('nodeData sid', nodeData);
|
|
9801
|
+
const [highlightNodeData] = nodeData?.highlight?.components;
|
|
9802
|
+
console.log('highlightNodeData sid', highlightNodeData);
|
|
9800
9803
|
const theme = useTheme();
|
|
9801
9804
|
const ImageJSX = () => /*#__PURE__*/React.createElement("div", {
|
|
9802
9805
|
className: classes.imageContainer
|
|
9803
9806
|
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
9804
9807
|
className: classes.image,
|
|
9805
9808
|
alt: "logo",
|
|
9806
|
-
src: nodeData
|
|
9809
|
+
src: nodeData?.image?.metadata?.value
|
|
9807
9810
|
}));
|
|
9808
9811
|
const ContentJSX = () => /*#__PURE__*/React.createElement("div", {
|
|
9809
9812
|
className: classes.infoContainer
|
|
9810
9813
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9811
|
-
ref: nodeData?.
|
|
9814
|
+
ref: nodeData?.instName?.refSetter,
|
|
9812
9815
|
dangerouslySetInnerHTML: {
|
|
9813
|
-
__html:
|
|
9816
|
+
__html: nodeData?.instName?.metadata?.value
|
|
9814
9817
|
}
|
|
9815
9818
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9816
9819
|
className: classes.metaInfo
|
|
@@ -9821,9 +9824,9 @@ function ABOUT_INSTITUTE({
|
|
|
9821
9824
|
color: theme.palette.font.primary,
|
|
9822
9825
|
width: '12px'
|
|
9823
9826
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9824
|
-
ref: nodeData?.
|
|
9827
|
+
ref: nodeData?.spec?.refSetter,
|
|
9825
9828
|
dangerouslySetInnerHTML: {
|
|
9826
|
-
__html:
|
|
9829
|
+
__html: nodeData?.spec?.metadata?.value
|
|
9827
9830
|
}
|
|
9828
9831
|
})), /*#__PURE__*/React.createElement("div", {
|
|
9829
9832
|
className: classes.metaInfoChild
|
|
@@ -9832,9 +9835,9 @@ function ABOUT_INSTITUTE({
|
|
|
9832
9835
|
color: theme.palette.font.primary,
|
|
9833
9836
|
width: '12px'
|
|
9834
9837
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9835
|
-
ref: nodeData?.
|
|
9838
|
+
ref: nodeData?.qual?.refSetter,
|
|
9836
9839
|
dangerouslySetInnerHTML: {
|
|
9837
|
-
__html:
|
|
9840
|
+
__html: nodeData?.qual?.metadata?.value
|
|
9838
9841
|
}
|
|
9839
9842
|
})), /*#__PURE__*/React.createElement("div", {
|
|
9840
9843
|
className: classes.metaInfoChild
|
|
@@ -9843,14 +9846,14 @@ function ABOUT_INSTITUTE({
|
|
|
9843
9846
|
color: theme.palette.font.primary,
|
|
9844
9847
|
width: '12px'
|
|
9845
9848
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9846
|
-
ref: nodeData?.
|
|
9849
|
+
ref: nodeData?.exp?.refSetter,
|
|
9847
9850
|
dangerouslySetInnerHTML: {
|
|
9848
|
-
__html:
|
|
9851
|
+
__html: nodeData?.exp?.metadata?.value
|
|
9849
9852
|
}
|
|
9850
9853
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
9851
|
-
ref: nodeData?.
|
|
9854
|
+
ref: nodeData?.content?.refSetter,
|
|
9852
9855
|
dangerouslySetInnerHTML: {
|
|
9853
|
-
__html:
|
|
9856
|
+
__html: nodeData?.content?.metadata?.value
|
|
9854
9857
|
}
|
|
9855
9858
|
}));
|
|
9856
9859
|
const HighlightJSX = () => /*#__PURE__*/React.createElement("div", {
|
|
@@ -9859,7 +9862,7 @@ function ABOUT_INSTITUTE({
|
|
|
9859
9862
|
className: classes.card
|
|
9860
9863
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9861
9864
|
className: classes.cardDesc
|
|
9862
|
-
}, /*#__PURE__*/React.createElement("span", null,
|
|
9865
|
+
}, /*#__PURE__*/React.createElement("span", null, highlightNodeData?.courses?.metadata?.value), /*#__PURE__*/React.createElement("span", null, "Courses")), /*#__PURE__*/React.createElement(Icon, {
|
|
9863
9866
|
name: 'Location',
|
|
9864
9867
|
color: theme.palette.font.primary,
|
|
9865
9868
|
width: '12px'
|
|
@@ -9867,7 +9870,7 @@ function ABOUT_INSTITUTE({
|
|
|
9867
9870
|
className: classes.card
|
|
9868
9871
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9869
9872
|
className: classes.cardDesc
|
|
9870
|
-
}, /*#__PURE__*/React.createElement("span", null,
|
|
9873
|
+
}, /*#__PURE__*/React.createElement("span", null, highlightNodeData?.students?.metadata?.value), /*#__PURE__*/React.createElement("span", null, "Active Students")), /*#__PURE__*/React.createElement(Icon, {
|
|
9871
9874
|
name: 'Location',
|
|
9872
9875
|
color: theme.palette.font.primary,
|
|
9873
9876
|
width: '12px'
|