diy-template-components 2.0.32 → 2.0.34

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.js CHANGED
@@ -9711,6 +9711,11 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9711
9711
  fontSize: '24px',
9712
9712
  fontWeight: '400'
9713
9713
  },
9714
+ metaChild: {
9715
+ fontSize: '16px',
9716
+ fontStyle: 'normal',
9717
+ fontWeight: '400'
9718
+ },
9714
9719
  aboutInstWrapper: {
9715
9720
  padding: '64px 128px',
9716
9721
  display: 'flex',
@@ -9729,31 +9734,27 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9729
9734
  },
9730
9735
  aboutInstHeader: {
9731
9736
  fontSize: theme.typography.fontSize.h2,
9732
- lineHeight: '70px',
9733
9737
  color: theme?.palette?.font?.default,
9734
- marginTop: '8px',
9735
- marginBottom: theme.spacing.margin.tiny,
9738
+ margin: '0px',
9739
+ marginBottom: '56px',
9736
9740
  textAlign: 'center'
9737
9741
  },
9738
9742
  imageContainer: {
9739
- padding: '24px',
9740
- flex: '0 0 30%',
9741
- // height: '240px',
9742
- borderRadius: '16px',
9743
- border: '1px solid var(--stroke, #D8E0F0)',
9744
- display: 'flex',
9745
- justifyContent: 'center',
9746
- alignItems: 'center'
9743
+ width: '240px',
9744
+ height: '240px'
9745
+ // borderRadius: '16px',
9746
+ // border: '1px solid var(--stroke, #D8E0F0)',
9747
9747
  },
9748
+
9748
9749
  image: {
9749
- maxWidth: '100%',
9750
- maxHeight: '100%',
9751
- margin: 'auto',
9752
- borderRadius: '50%'
9750
+ width: '100%',
9751
+ height: '100%',
9752
+ borderRadius: '16px',
9753
+ border: '1px solid var(--stroke, #D8E0F0)'
9753
9754
  },
9754
9755
  infoContainer: {
9755
9756
  padding: '24px',
9756
- gap: '24px',
9757
+ gap: '12px',
9757
9758
  display: 'flex',
9758
9759
  flexDirection: 'column',
9759
9760
  borderRadius: '16px',
@@ -9800,44 +9801,61 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9800
9801
  infoDetails: {
9801
9802
  display: 'flex',
9802
9803
  flexDirection: 'Column',
9803
- gap: '12px'
9804
+ gap: '2px'
9804
9805
  },
9805
9806
  infoContent: {
9806
9807
  display: 'flex',
9807
9808
  flexDirection: 'Column',
9808
- gap: '16px'
9809
+ gap: '2px'
9809
9810
  },
9810
9811
  instHeading: {
9811
9812
  color: 'var(--Black, #0A1629)',
9812
- fontSize: '26px',
9813
+ fontSize: '32px',
9814
+ fontStyle: 'normal',
9815
+ fontWeight: '600'
9816
+ },
9817
+ aboutText: {
9818
+ fontSize: '24px',
9813
9819
  fontStyle: 'normal',
9814
9820
  fontWeight: '600'
9815
9821
  },
9816
9822
  instAbout: {
9817
- color: 'var(--Black, #333)',
9818
- fontSize: '22px',
9823
+ fontSize: '14px',
9819
9824
  fontStyle: 'normal',
9820
- fontWeight: '500',
9825
+ fontWeight: '400',
9821
9826
  wordBreak: 'break-word'
9822
9827
  },
9823
9828
  highlightText: {
9824
9829
  color: 'var(--Black, #0A1629)',
9825
- fontSize: '26px',
9830
+ fontSize: '24px',
9826
9831
  fontStyle: 'normal',
9827
9832
  fontWeight: '600',
9828
9833
  wordBreak: 'break-word'
9829
9834
  },
9835
+ highlightHeading: {
9836
+ fontSize: '16px',
9837
+ fontStyle: 'normal',
9838
+ fontWeight: '400'
9839
+ },
9830
9840
  // SMALL SCREEN
9831
9841
  '@media screen and (max-width: 767px)': {
9842
+ aboutInstText: {
9843
+ fontSize: '16px'
9844
+ },
9832
9845
  imageContainer: {
9833
- padding: '15px',
9834
9846
  height: '150px',
9847
+ width: '150px'
9848
+ },
9849
+ image: {
9835
9850
  borderRadius: '10px',
9836
9851
  border: '1px solid var(--stroke, #D8E0F0)'
9837
9852
  },
9838
9853
  infoContainer: {
9839
9854
  gap: '16px'
9840
9855
  },
9856
+ instHeading: {
9857
+ fontSize: '24px'
9858
+ },
9841
9859
  cardWrapper: {
9842
9860
  flexDirection: 'column',
9843
9861
  gap: '8px'
@@ -9846,10 +9864,10 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9846
9864
  padding: '16px'
9847
9865
  },
9848
9866
  aboutInstHeader: {
9849
- lineHeight: '36px',
9850
9867
  color: theme?.palette?.font?.default,
9851
- margin: '0px 0 12px 0',
9852
- textAlign: 'center'
9868
+ margin: '0px 0 24px 0',
9869
+ textAlign: 'center',
9870
+ fontSize: '20px'
9853
9871
  },
9854
9872
  contentWrapper: {
9855
9873
  gap: '8px'
@@ -9865,6 +9883,21 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9865
9883
  },
9866
9884
  infoContent: {
9867
9885
  gap: '8px'
9886
+ },
9887
+ metaChild: {
9888
+ fontSize: '12px'
9889
+ },
9890
+ aboutText: {
9891
+ fontSize: '16px'
9892
+ },
9893
+ instAbout: {
9894
+ fontSize: '12px'
9895
+ },
9896
+ highlightText: {
9897
+ fontSize: '16px'
9898
+ },
9899
+ highlightHeading: {
9900
+ fontSize: '12px'
9868
9901
  }
9869
9902
  }
9870
9903
  }));
@@ -9920,6 +9953,7 @@ function ABOUT_INSTITUTE({
9920
9953
  width: '20px',
9921
9954
  height: '20px'
9922
9955
  }), /*#__PURE__*/React__default["default"].createElement("div", {
9956
+ className: classes.metaChild,
9923
9957
  ref: nodeData?.spec?.refSetter,
9924
9958
  dangerouslySetInnerHTML: {
9925
9959
  __html: nodeData?.spec?.metadata?.value
@@ -9932,6 +9966,7 @@ function ABOUT_INSTITUTE({
9932
9966
  width: '20px',
9933
9967
  height: '20px'
9934
9968
  }), /*#__PURE__*/React__default["default"].createElement("div", {
9969
+ className: classes.metaChild,
9935
9970
  ref: nodeData?.qual?.refSetter,
9936
9971
  dangerouslySetInnerHTML: {
9937
9972
  __html: nodeData?.qual?.metadata?.value
@@ -9944,6 +9979,7 @@ function ABOUT_INSTITUTE({
9944
9979
  width: '20px',
9945
9980
  height: '20px'
9946
9981
  }), /*#__PURE__*/React__default["default"].createElement("div", {
9982
+ className: classes.metaChild,
9947
9983
  ref: nodeData?.exp?.refSetter,
9948
9984
  dangerouslySetInnerHTML: {
9949
9985
  __html: nodeData?.exp?.metadata?.value
@@ -9951,8 +9987,9 @@ function ABOUT_INSTITUTE({
9951
9987
  })) : null)), nodeData?.content?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
9952
9988
  className: classes.infoContent
9953
9989
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9954
- className: classes.instAbout
9990
+ className: classes.aboutText
9955
9991
  }, "About"), /*#__PURE__*/React__default["default"].createElement("div", {
9992
+ className: classes.instAbout,
9956
9993
  ref: nodeData?.content?.refSetter,
9957
9994
  dangerouslySetInnerHTML: {
9958
9995
  __html: nodeData?.content?.metadata?.value
@@ -9974,7 +10011,9 @@ function ABOUT_INSTITUTE({
9974
10011
  dangerouslySetInnerHTML: {
9975
10012
  __html: highlightNodeData?.courses?.metadata?.value
9976
10013
  }
9977
- }), /*#__PURE__*/React__default["default"].createElement("span", null, "Courses")), /*#__PURE__*/React__default["default"].createElement(Icon, {
10014
+ }), /*#__PURE__*/React__default["default"].createElement("span", {
10015
+ className: classes.highlightHeading
10016
+ }, "Courses")), /*#__PURE__*/React__default["default"].createElement(Icon, {
9978
10017
  name: 'BookSaved',
9979
10018
  color: theme.palette.font.primary,
9980
10019
  width: '32px',
@@ -9989,7 +10028,9 @@ function ABOUT_INSTITUTE({
9989
10028
  dangerouslySetInnerHTML: {
9990
10029
  __html: highlightNodeData?.students?.metadata?.value
9991
10030
  }
9992
- }), /*#__PURE__*/React__default["default"].createElement("span", null, "Active Students")), /*#__PURE__*/React__default["default"].createElement(Icon, {
10031
+ }), /*#__PURE__*/React__default["default"].createElement("span", {
10032
+ className: classes.highlightHeading
10033
+ }, "Active Students")), /*#__PURE__*/React__default["default"].createElement(Icon, {
9993
10034
  name: 'GroupProfile',
9994
10035
  color: theme.palette.font.primary,
9995
10036
  width: '32px',