diy-template-components 2.0.32 → 2.0.33

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,27 +9734,23 @@ 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',
@@ -9757,8 +9758,7 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9757
9758
  display: 'flex',
9758
9759
  flexDirection: 'column',
9759
9760
  borderRadius: '16px',
9760
- background: 'var(--Blue-Tertiary, #F4F9FF)',
9761
- flex: 1
9761
+ background: 'var(--Blue-Tertiary, #F4F9FF)'
9762
9762
  },
9763
9763
  metaInfo: {
9764
9764
  display: 'flex',
@@ -9809,35 +9809,52 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9809
9809
  },
9810
9810
  instHeading: {
9811
9811
  color: 'var(--Black, #0A1629)',
9812
- fontSize: '26px',
9812
+ fontSize: '32px',
9813
+ fontStyle: 'normal',
9814
+ fontWeight: '600'
9815
+ },
9816
+ aboutText: {
9817
+ fontSize: '24px',
9813
9818
  fontStyle: 'normal',
9814
9819
  fontWeight: '600'
9815
9820
  },
9816
9821
  instAbout: {
9817
- color: 'var(--Black, #333)',
9818
- fontSize: '22px',
9822
+ fontSize: '16px',
9819
9823
  fontStyle: 'normal',
9820
- fontWeight: '500',
9824
+ fontWeight: '400',
9821
9825
  wordBreak: 'break-word'
9822
9826
  },
9823
9827
  highlightText: {
9824
9828
  color: 'var(--Black, #0A1629)',
9825
- fontSize: '26px',
9829
+ fontSize: '24px',
9826
9830
  fontStyle: 'normal',
9827
9831
  fontWeight: '600',
9828
9832
  wordBreak: 'break-word'
9829
9833
  },
9834
+ highlightHeading: {
9835
+ fontSize: '16px',
9836
+ fontStyle: 'normal',
9837
+ fontWeight: '400'
9838
+ },
9830
9839
  // SMALL SCREEN
9831
9840
  '@media screen and (max-width: 767px)': {
9841
+ aboutInstText: {
9842
+ fontSize: '16px'
9843
+ },
9832
9844
  imageContainer: {
9833
- padding: '15px',
9834
9845
  height: '150px',
9846
+ width: '150px'
9847
+ },
9848
+ image: {
9835
9849
  borderRadius: '10px',
9836
9850
  border: '1px solid var(--stroke, #D8E0F0)'
9837
9851
  },
9838
9852
  infoContainer: {
9839
9853
  gap: '16px'
9840
9854
  },
9855
+ instHeading: {
9856
+ fontSize: '24px'
9857
+ },
9841
9858
  cardWrapper: {
9842
9859
  flexDirection: 'column',
9843
9860
  gap: '8px'
@@ -9846,10 +9863,10 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9846
9863
  padding: '16px'
9847
9864
  },
9848
9865
  aboutInstHeader: {
9849
- lineHeight: '36px',
9850
9866
  color: theme?.palette?.font?.default,
9851
- margin: '0px 0 12px 0',
9852
- textAlign: 'center'
9867
+ margin: '0px 0 24px 0',
9868
+ textAlign: 'center',
9869
+ fontSize: '20px'
9853
9870
  },
9854
9871
  contentWrapper: {
9855
9872
  gap: '8px'
@@ -9865,6 +9882,21 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9865
9882
  },
9866
9883
  infoContent: {
9867
9884
  gap: '8px'
9885
+ },
9886
+ metaChild: {
9887
+ fontSize: '12px'
9888
+ },
9889
+ aboutText: {
9890
+ fontSize: '16px'
9891
+ },
9892
+ instAbout: {
9893
+ fontSize: '12px'
9894
+ },
9895
+ highlightText: {
9896
+ fontSize: '16px'
9897
+ },
9898
+ highlightHeading: {
9899
+ fontSize: '12px'
9868
9900
  }
9869
9901
  }
9870
9902
  }));
@@ -9920,6 +9952,7 @@ function ABOUT_INSTITUTE({
9920
9952
  width: '20px',
9921
9953
  height: '20px'
9922
9954
  }), /*#__PURE__*/React__default["default"].createElement("div", {
9955
+ className: classes.metaChild,
9923
9956
  ref: nodeData?.spec?.refSetter,
9924
9957
  dangerouslySetInnerHTML: {
9925
9958
  __html: nodeData?.spec?.metadata?.value
@@ -9932,6 +9965,7 @@ function ABOUT_INSTITUTE({
9932
9965
  width: '20px',
9933
9966
  height: '20px'
9934
9967
  }), /*#__PURE__*/React__default["default"].createElement("div", {
9968
+ className: classes.metaChild,
9935
9969
  ref: nodeData?.qual?.refSetter,
9936
9970
  dangerouslySetInnerHTML: {
9937
9971
  __html: nodeData?.qual?.metadata?.value
@@ -9944,6 +9978,7 @@ function ABOUT_INSTITUTE({
9944
9978
  width: '20px',
9945
9979
  height: '20px'
9946
9980
  }), /*#__PURE__*/React__default["default"].createElement("div", {
9981
+ className: classes.metaChild,
9947
9982
  ref: nodeData?.exp?.refSetter,
9948
9983
  dangerouslySetInnerHTML: {
9949
9984
  __html: nodeData?.exp?.metadata?.value
@@ -9951,8 +9986,9 @@ function ABOUT_INSTITUTE({
9951
9986
  })) : null)), nodeData?.content?.metadata?.value ? /*#__PURE__*/React__default["default"].createElement("div", {
9952
9987
  className: classes.infoContent
9953
9988
  }, /*#__PURE__*/React__default["default"].createElement("div", {
9954
- className: classes.instAbout
9989
+ className: classes.aboutText
9955
9990
  }, "About"), /*#__PURE__*/React__default["default"].createElement("div", {
9991
+ className: classes.instAbout,
9956
9992
  ref: nodeData?.content?.refSetter,
9957
9993
  dangerouslySetInnerHTML: {
9958
9994
  __html: nodeData?.content?.metadata?.value
@@ -9974,7 +10010,9 @@ function ABOUT_INSTITUTE({
9974
10010
  dangerouslySetInnerHTML: {
9975
10011
  __html: highlightNodeData?.courses?.metadata?.value
9976
10012
  }
9977
- }), /*#__PURE__*/React__default["default"].createElement("span", null, "Courses")), /*#__PURE__*/React__default["default"].createElement(Icon, {
10013
+ }), /*#__PURE__*/React__default["default"].createElement("span", {
10014
+ className: classes.highlightHeading
10015
+ }, "Courses")), /*#__PURE__*/React__default["default"].createElement(Icon, {
9978
10016
  name: 'BookSaved',
9979
10017
  color: theme.palette.font.primary,
9980
10018
  width: '32px',
@@ -9989,7 +10027,9 @@ function ABOUT_INSTITUTE({
9989
10027
  dangerouslySetInnerHTML: {
9990
10028
  __html: highlightNodeData?.students?.metadata?.value
9991
10029
  }
9992
- }), /*#__PURE__*/React__default["default"].createElement("span", null, "Active Students")), /*#__PURE__*/React__default["default"].createElement(Icon, {
10030
+ }), /*#__PURE__*/React__default["default"].createElement("span", {
10031
+ className: classes.highlightHeading
10032
+ }, "Active Students")), /*#__PURE__*/React__default["default"].createElement(Icon, {
9993
10033
  name: 'GroupProfile',
9994
10034
  color: theme.palette.font.primary,
9995
10035
  width: '32px',