diy-template-components 2.0.34 → 2.0.35
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 +16 -18
- package/build/index.es.js.map +1 -1
- package/build/index.js +16 -18
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -9738,7 +9738,7 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
9738
9738
|
},
|
|
9739
9739
|
infoContainer: {
|
|
9740
9740
|
padding: '24px',
|
|
9741
|
-
gap: '
|
|
9741
|
+
gap: '16px',
|
|
9742
9742
|
display: 'flex',
|
|
9743
9743
|
flexDirection: 'column',
|
|
9744
9744
|
borderRadius: '16px',
|
|
@@ -9785,12 +9785,12 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
9785
9785
|
infoDetails: {
|
|
9786
9786
|
display: 'flex',
|
|
9787
9787
|
flexDirection: 'Column',
|
|
9788
|
-
gap: '
|
|
9788
|
+
gap: '4px'
|
|
9789
9789
|
},
|
|
9790
9790
|
infoContent: {
|
|
9791
9791
|
display: 'flex',
|
|
9792
9792
|
flexDirection: 'Column',
|
|
9793
|
-
gap: '
|
|
9793
|
+
gap: '4px'
|
|
9794
9794
|
},
|
|
9795
9795
|
instHeading: {
|
|
9796
9796
|
color: 'var(--Black, #0A1629)',
|
|
@@ -9894,13 +9894,7 @@ function ABOUT_INSTITUTE({
|
|
|
9894
9894
|
layout: {
|
|
9895
9895
|
containerWidth
|
|
9896
9896
|
},
|
|
9897
|
-
|
|
9898
|
-
isMobile,
|
|
9899
|
-
validations,
|
|
9900
|
-
isPreview,
|
|
9901
|
-
isEdit,
|
|
9902
|
-
isLandingPages,
|
|
9903
|
-
extraProps
|
|
9897
|
+
isMobile
|
|
9904
9898
|
} = useContext(PageContext);
|
|
9905
9899
|
const classes = useAboutInstituteStyles({
|
|
9906
9900
|
containerWidth,
|
|
@@ -9908,15 +9902,19 @@ function ABOUT_INSTITUTE({
|
|
|
9908
9902
|
});
|
|
9909
9903
|
const [nodeData] = sectionData?.components;
|
|
9910
9904
|
const [highlightNodeData] = nodeData?.highlight?.components;
|
|
9911
|
-
console.log('about your institute', nodeData, highlightNodeData);
|
|
9912
9905
|
const theme = useTheme();
|
|
9913
|
-
const ImageJSX = () =>
|
|
9914
|
-
|
|
9915
|
-
|
|
9916
|
-
|
|
9917
|
-
|
|
9918
|
-
|
|
9919
|
-
|
|
9906
|
+
const ImageJSX = () => {
|
|
9907
|
+
if (!nodeData?.image?.metadata?.value) {
|
|
9908
|
+
return null;
|
|
9909
|
+
}
|
|
9910
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
9911
|
+
className: classes.imageContainer
|
|
9912
|
+
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
9913
|
+
className: classes.image,
|
|
9914
|
+
alt: "logo",
|
|
9915
|
+
src: nodeData?.image?.metadata?.value
|
|
9916
|
+
}));
|
|
9917
|
+
};
|
|
9920
9918
|
const ContentJSX = () => /*#__PURE__*/React.createElement("div", {
|
|
9921
9919
|
className: classes.infoContainer
|
|
9922
9920
|
}, /*#__PURE__*/React.createElement("div", {
|