diy-template-components 2.0.23 → 2.0.25
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 +22 -16
- package/build/index.es.js.map +1 -1
- package/build/index.js +22 -16
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -9677,11 +9677,16 @@ var index$1 = /*#__PURE__*/Object.freeze({
|
|
|
9677
9677
|
});
|
|
9678
9678
|
|
|
9679
9679
|
const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
9680
|
+
aboutInstText: {
|
|
9681
|
+
alignSelf: 'center',
|
|
9682
|
+
color: 'var(--Black, #0A1629)',
|
|
9683
|
+
fontSize: '24px',
|
|
9684
|
+
fontWeight: '400'
|
|
9685
|
+
},
|
|
9680
9686
|
aboutInstWrapper: {
|
|
9681
9687
|
padding: '64px 128px',
|
|
9682
9688
|
display: 'flex',
|
|
9683
9689
|
justifyContent: 'center',
|
|
9684
|
-
alignItems: 'center',
|
|
9685
9690
|
flexDirection: 'column'
|
|
9686
9691
|
},
|
|
9687
9692
|
abtoutInstText: {
|
|
@@ -9731,7 +9736,8 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
9731
9736
|
},
|
|
9732
9737
|
contentWrapper: {
|
|
9733
9738
|
display: 'flex',
|
|
9734
|
-
gap: '24px'
|
|
9739
|
+
gap: '24px',
|
|
9740
|
+
marginBottom: '24px'
|
|
9735
9741
|
},
|
|
9736
9742
|
cardWrapper: {
|
|
9737
9743
|
display: 'flex',
|
|
@@ -9796,21 +9802,21 @@ function ABOUT_INSTITUTE({
|
|
|
9796
9802
|
isMobile
|
|
9797
9803
|
});
|
|
9798
9804
|
const [nodeData] = sectionData?.components;
|
|
9799
|
-
const [
|
|
9805
|
+
const [highlightNodeData] = nodeData?.highlight?.components;
|
|
9800
9806
|
const theme = useTheme();
|
|
9801
9807
|
const ImageJSX = () => /*#__PURE__*/React.createElement("div", {
|
|
9802
9808
|
className: classes.imageContainer
|
|
9803
9809
|
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
9804
9810
|
className: classes.image,
|
|
9805
9811
|
alt: "logo",
|
|
9806
|
-
src: nodeData
|
|
9812
|
+
src: nodeData?.image?.metadata?.value
|
|
9807
9813
|
}));
|
|
9808
9814
|
const ContentJSX = () => /*#__PURE__*/React.createElement("div", {
|
|
9809
9815
|
className: classes.infoContainer
|
|
9810
9816
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9811
|
-
ref: nodeData?.
|
|
9817
|
+
ref: nodeData?.instName?.refSetter,
|
|
9812
9818
|
dangerouslySetInnerHTML: {
|
|
9813
|
-
__html:
|
|
9819
|
+
__html: nodeData?.instName?.metadata?.value
|
|
9814
9820
|
}
|
|
9815
9821
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9816
9822
|
className: classes.metaInfo
|
|
@@ -9821,9 +9827,9 @@ function ABOUT_INSTITUTE({
|
|
|
9821
9827
|
color: theme.palette.font.primary,
|
|
9822
9828
|
width: '12px'
|
|
9823
9829
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9824
|
-
ref: nodeData?.
|
|
9830
|
+
ref: nodeData?.spec?.refSetter,
|
|
9825
9831
|
dangerouslySetInnerHTML: {
|
|
9826
|
-
__html:
|
|
9832
|
+
__html: nodeData?.spec?.metadata?.value
|
|
9827
9833
|
}
|
|
9828
9834
|
})), /*#__PURE__*/React.createElement("div", {
|
|
9829
9835
|
className: classes.metaInfoChild
|
|
@@ -9832,9 +9838,9 @@ function ABOUT_INSTITUTE({
|
|
|
9832
9838
|
color: theme.palette.font.primary,
|
|
9833
9839
|
width: '12px'
|
|
9834
9840
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9835
|
-
ref: nodeData?.
|
|
9841
|
+
ref: nodeData?.qual?.refSetter,
|
|
9836
9842
|
dangerouslySetInnerHTML: {
|
|
9837
|
-
__html:
|
|
9843
|
+
__html: nodeData?.qual?.metadata?.value
|
|
9838
9844
|
}
|
|
9839
9845
|
})), /*#__PURE__*/React.createElement("div", {
|
|
9840
9846
|
className: classes.metaInfoChild
|
|
@@ -9843,14 +9849,14 @@ function ABOUT_INSTITUTE({
|
|
|
9843
9849
|
color: theme.palette.font.primary,
|
|
9844
9850
|
width: '12px'
|
|
9845
9851
|
}), /*#__PURE__*/React.createElement("div", {
|
|
9846
|
-
ref: nodeData?.
|
|
9852
|
+
ref: nodeData?.exp?.refSetter,
|
|
9847
9853
|
dangerouslySetInnerHTML: {
|
|
9848
|
-
__html:
|
|
9854
|
+
__html: nodeData?.exp?.metadata?.value
|
|
9849
9855
|
}
|
|
9850
9856
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
9851
|
-
ref: nodeData?.
|
|
9857
|
+
ref: nodeData?.content?.refSetter,
|
|
9852
9858
|
dangerouslySetInnerHTML: {
|
|
9853
|
-
__html:
|
|
9859
|
+
__html: nodeData?.content?.metadata?.value
|
|
9854
9860
|
}
|
|
9855
9861
|
}));
|
|
9856
9862
|
const HighlightJSX = () => /*#__PURE__*/React.createElement("div", {
|
|
@@ -9859,7 +9865,7 @@ function ABOUT_INSTITUTE({
|
|
|
9859
9865
|
className: classes.card
|
|
9860
9866
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9861
9867
|
className: classes.cardDesc
|
|
9862
|
-
}, /*#__PURE__*/React.createElement("span", null,
|
|
9868
|
+
}, /*#__PURE__*/React.createElement("span", null, highlightNodeData?.courses?.metadata?.value), /*#__PURE__*/React.createElement("span", null, "Courses")), /*#__PURE__*/React.createElement(Icon, {
|
|
9863
9869
|
name: 'Location',
|
|
9864
9870
|
color: theme.palette.font.primary,
|
|
9865
9871
|
width: '12px'
|
|
@@ -9867,7 +9873,7 @@ function ABOUT_INSTITUTE({
|
|
|
9867
9873
|
className: classes.card
|
|
9868
9874
|
}, /*#__PURE__*/React.createElement("div", {
|
|
9869
9875
|
className: classes.cardDesc
|
|
9870
|
-
}, /*#__PURE__*/React.createElement("span", null,
|
|
9876
|
+
}, /*#__PURE__*/React.createElement("span", null, highlightNodeData?.students?.metadata?.value), /*#__PURE__*/React.createElement("span", null, "Active Students")), /*#__PURE__*/React.createElement(Icon, {
|
|
9871
9877
|
name: 'Location',
|
|
9872
9878
|
color: theme.palette.font.primary,
|
|
9873
9879
|
width: '12px'
|