diy-template-components 2.0.29 → 2.0.31
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 +38 -25
- package/build/index.es.js.map +1 -1
- package/build/index.js +38 -25
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -9942,31 +9942,44 @@ function ABOUT_INSTITUTE({
|
|
|
9942
9942
|
__html: nodeData?.content?.metadata?.value
|
|
9943
9943
|
}
|
|
9944
9944
|
})) : null);
|
|
9945
|
-
const HighlightJSX = () =>
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
|
|
9945
|
+
const HighlightJSX = () => {
|
|
9946
|
+
if (!nodeData?.highlight?.metadata?.value) {
|
|
9947
|
+
return null;
|
|
9948
|
+
}
|
|
9949
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
9950
|
+
className: classes.cardWrapper
|
|
9951
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
9952
|
+
className: classes.card
|
|
9953
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
9954
|
+
className: classes.cardDesc
|
|
9955
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
9956
|
+
className: classes.highlightText,
|
|
9957
|
+
ref: highlightNodeData?.courses?.refSetter,
|
|
9958
|
+
dangerouslySetInnerHTML: {
|
|
9959
|
+
__html: highlightNodeData?.courses?.metadata?.value
|
|
9960
|
+
}
|
|
9961
|
+
}), /*#__PURE__*/React.createElement("span", null, "Courses")), /*#__PURE__*/React.createElement(Icon, {
|
|
9962
|
+
name: 'BookSaved',
|
|
9963
|
+
color: theme.palette.font.primary,
|
|
9964
|
+
width: '32px',
|
|
9965
|
+
height: '32px'
|
|
9966
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
9967
|
+
className: classes.card
|
|
9968
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
9969
|
+
className: classes.cardDesc
|
|
9970
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
9971
|
+
className: classes.highlightText,
|
|
9972
|
+
ref: highlightNodeData?.students?.refSetter,
|
|
9973
|
+
dangerouslySetInnerHTML: {
|
|
9974
|
+
__html: highlightNodeData?.students?.metadata?.value
|
|
9975
|
+
}
|
|
9976
|
+
}), /*#__PURE__*/React.createElement("span", null, "Active Students")), /*#__PURE__*/React.createElement(Icon, {
|
|
9977
|
+
name: 'GroupProfile',
|
|
9978
|
+
color: theme.palette.font.primary,
|
|
9979
|
+
width: '32px',
|
|
9980
|
+
height: '32px'
|
|
9981
|
+
})));
|
|
9982
|
+
};
|
|
9970
9983
|
return /*#__PURE__*/React.createElement("div", {
|
|
9971
9984
|
className: classes.aboutInstWrapper
|
|
9972
9985
|
}, nodeData?.heading?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
|