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.es.js CHANGED
@@ -9695,6 +9695,11 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9695
9695
  fontSize: '24px',
9696
9696
  fontWeight: '400'
9697
9697
  },
9698
+ metaChild: {
9699
+ fontSize: '16px',
9700
+ fontStyle: 'normal',
9701
+ fontWeight: '400'
9702
+ },
9698
9703
  aboutInstWrapper: {
9699
9704
  padding: '64px 128px',
9700
9705
  display: 'flex',
@@ -9713,31 +9718,27 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9713
9718
  },
9714
9719
  aboutInstHeader: {
9715
9720
  fontSize: theme.typography.fontSize.h2,
9716
- lineHeight: '70px',
9717
9721
  color: theme?.palette?.font?.default,
9718
- marginTop: '8px',
9719
- marginBottom: theme.spacing.margin.tiny,
9722
+ margin: '0px',
9723
+ marginBottom: '56px',
9720
9724
  textAlign: 'center'
9721
9725
  },
9722
9726
  imageContainer: {
9723
- padding: '24px',
9724
- flex: '0 0 30%',
9725
- // height: '240px',
9726
- borderRadius: '16px',
9727
- border: '1px solid var(--stroke, #D8E0F0)',
9728
- display: 'flex',
9729
- justifyContent: 'center',
9730
- alignItems: 'center'
9727
+ width: '240px',
9728
+ height: '240px'
9729
+ // borderRadius: '16px',
9730
+ // border: '1px solid var(--stroke, #D8E0F0)',
9731
9731
  },
9732
+
9732
9733
  image: {
9733
- maxWidth: '100%',
9734
- maxHeight: '100%',
9735
- margin: 'auto',
9736
- borderRadius: '50%'
9734
+ width: '100%',
9735
+ height: '100%',
9736
+ borderRadius: '16px',
9737
+ border: '1px solid var(--stroke, #D8E0F0)'
9737
9738
  },
9738
9739
  infoContainer: {
9739
9740
  padding: '24px',
9740
- gap: '24px',
9741
+ gap: '12px',
9741
9742
  display: 'flex',
9742
9743
  flexDirection: 'column',
9743
9744
  borderRadius: '16px',
@@ -9784,44 +9785,61 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9784
9785
  infoDetails: {
9785
9786
  display: 'flex',
9786
9787
  flexDirection: 'Column',
9787
- gap: '12px'
9788
+ gap: '2px'
9788
9789
  },
9789
9790
  infoContent: {
9790
9791
  display: 'flex',
9791
9792
  flexDirection: 'Column',
9792
- gap: '16px'
9793
+ gap: '2px'
9793
9794
  },
9794
9795
  instHeading: {
9795
9796
  color: 'var(--Black, #0A1629)',
9796
- fontSize: '26px',
9797
+ fontSize: '32px',
9798
+ fontStyle: 'normal',
9799
+ fontWeight: '600'
9800
+ },
9801
+ aboutText: {
9802
+ fontSize: '24px',
9797
9803
  fontStyle: 'normal',
9798
9804
  fontWeight: '600'
9799
9805
  },
9800
9806
  instAbout: {
9801
- color: 'var(--Black, #333)',
9802
- fontSize: '22px',
9807
+ fontSize: '14px',
9803
9808
  fontStyle: 'normal',
9804
- fontWeight: '500',
9809
+ fontWeight: '400',
9805
9810
  wordBreak: 'break-word'
9806
9811
  },
9807
9812
  highlightText: {
9808
9813
  color: 'var(--Black, #0A1629)',
9809
- fontSize: '26px',
9814
+ fontSize: '24px',
9810
9815
  fontStyle: 'normal',
9811
9816
  fontWeight: '600',
9812
9817
  wordBreak: 'break-word'
9813
9818
  },
9819
+ highlightHeading: {
9820
+ fontSize: '16px',
9821
+ fontStyle: 'normal',
9822
+ fontWeight: '400'
9823
+ },
9814
9824
  // SMALL SCREEN
9815
9825
  '@media screen and (max-width: 767px)': {
9826
+ aboutInstText: {
9827
+ fontSize: '16px'
9828
+ },
9816
9829
  imageContainer: {
9817
- padding: '15px',
9818
9830
  height: '150px',
9831
+ width: '150px'
9832
+ },
9833
+ image: {
9819
9834
  borderRadius: '10px',
9820
9835
  border: '1px solid var(--stroke, #D8E0F0)'
9821
9836
  },
9822
9837
  infoContainer: {
9823
9838
  gap: '16px'
9824
9839
  },
9840
+ instHeading: {
9841
+ fontSize: '24px'
9842
+ },
9825
9843
  cardWrapper: {
9826
9844
  flexDirection: 'column',
9827
9845
  gap: '8px'
@@ -9830,10 +9848,10 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9830
9848
  padding: '16px'
9831
9849
  },
9832
9850
  aboutInstHeader: {
9833
- lineHeight: '36px',
9834
9851
  color: theme?.palette?.font?.default,
9835
- margin: '0px 0 12px 0',
9836
- textAlign: 'center'
9852
+ margin: '0px 0 24px 0',
9853
+ textAlign: 'center',
9854
+ fontSize: '20px'
9837
9855
  },
9838
9856
  contentWrapper: {
9839
9857
  gap: '8px'
@@ -9849,6 +9867,21 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9849
9867
  },
9850
9868
  infoContent: {
9851
9869
  gap: '8px'
9870
+ },
9871
+ metaChild: {
9872
+ fontSize: '12px'
9873
+ },
9874
+ aboutText: {
9875
+ fontSize: '16px'
9876
+ },
9877
+ instAbout: {
9878
+ fontSize: '12px'
9879
+ },
9880
+ highlightText: {
9881
+ fontSize: '16px'
9882
+ },
9883
+ highlightHeading: {
9884
+ fontSize: '12px'
9852
9885
  }
9853
9886
  }
9854
9887
  }));
@@ -9904,6 +9937,7 @@ function ABOUT_INSTITUTE({
9904
9937
  width: '20px',
9905
9938
  height: '20px'
9906
9939
  }), /*#__PURE__*/React.createElement("div", {
9940
+ className: classes.metaChild,
9907
9941
  ref: nodeData?.spec?.refSetter,
9908
9942
  dangerouslySetInnerHTML: {
9909
9943
  __html: nodeData?.spec?.metadata?.value
@@ -9916,6 +9950,7 @@ function ABOUT_INSTITUTE({
9916
9950
  width: '20px',
9917
9951
  height: '20px'
9918
9952
  }), /*#__PURE__*/React.createElement("div", {
9953
+ className: classes.metaChild,
9919
9954
  ref: nodeData?.qual?.refSetter,
9920
9955
  dangerouslySetInnerHTML: {
9921
9956
  __html: nodeData?.qual?.metadata?.value
@@ -9928,6 +9963,7 @@ function ABOUT_INSTITUTE({
9928
9963
  width: '20px',
9929
9964
  height: '20px'
9930
9965
  }), /*#__PURE__*/React.createElement("div", {
9966
+ className: classes.metaChild,
9931
9967
  ref: nodeData?.exp?.refSetter,
9932
9968
  dangerouslySetInnerHTML: {
9933
9969
  __html: nodeData?.exp?.metadata?.value
@@ -9935,8 +9971,9 @@ function ABOUT_INSTITUTE({
9935
9971
  })) : null)), nodeData?.content?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
9936
9972
  className: classes.infoContent
9937
9973
  }, /*#__PURE__*/React.createElement("div", {
9938
- className: classes.instAbout
9974
+ className: classes.aboutText
9939
9975
  }, "About"), /*#__PURE__*/React.createElement("div", {
9976
+ className: classes.instAbout,
9940
9977
  ref: nodeData?.content?.refSetter,
9941
9978
  dangerouslySetInnerHTML: {
9942
9979
  __html: nodeData?.content?.metadata?.value
@@ -9958,7 +9995,9 @@ function ABOUT_INSTITUTE({
9958
9995
  dangerouslySetInnerHTML: {
9959
9996
  __html: highlightNodeData?.courses?.metadata?.value
9960
9997
  }
9961
- }), /*#__PURE__*/React.createElement("span", null, "Courses")), /*#__PURE__*/React.createElement(Icon, {
9998
+ }), /*#__PURE__*/React.createElement("span", {
9999
+ className: classes.highlightHeading
10000
+ }, "Courses")), /*#__PURE__*/React.createElement(Icon, {
9962
10001
  name: 'BookSaved',
9963
10002
  color: theme.palette.font.primary,
9964
10003
  width: '32px',
@@ -9973,7 +10012,9 @@ function ABOUT_INSTITUTE({
9973
10012
  dangerouslySetInnerHTML: {
9974
10013
  __html: highlightNodeData?.students?.metadata?.value
9975
10014
  }
9976
- }), /*#__PURE__*/React.createElement("span", null, "Active Students")), /*#__PURE__*/React.createElement(Icon, {
10015
+ }), /*#__PURE__*/React.createElement("span", {
10016
+ className: classes.highlightHeading
10017
+ }, "Active Students")), /*#__PURE__*/React.createElement(Icon, {
9977
10018
  name: 'GroupProfile',
9978
10019
  color: theme.palette.font.primary,
9979
10020
  width: '32px',