diy-template-components 2.0.31 → 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.es.js CHANGED
@@ -6662,7 +6662,7 @@ const SingleSlide = ({
6662
6662
  className: classes.singleSlideContainer
6663
6663
  }, /*#__PURE__*/React.createElement("div", {
6664
6664
  className: classes.imageContainer
6665
- }, data?.teamSlideStarTutor?.metadata?.value === 'true' ? /*#__PURE__*/React.createElement("span", {
6665
+ }, data?.teamSlideStarTutor?.metadata?.value ? /*#__PURE__*/React.createElement("span", {
6666
6666
  className: classes.starTag
6667
6667
  }, /*#__PURE__*/React.createElement("img", {
6668
6668
  src: StarIcon
@@ -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,27 +9718,23 @@ 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',
@@ -9741,8 +9742,7 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9741
9742
  display: 'flex',
9742
9743
  flexDirection: 'column',
9743
9744
  borderRadius: '16px',
9744
- background: 'var(--Blue-Tertiary, #F4F9FF)',
9745
- flex: 1
9745
+ background: 'var(--Blue-Tertiary, #F4F9FF)'
9746
9746
  },
9747
9747
  metaInfo: {
9748
9748
  display: 'flex',
@@ -9793,35 +9793,52 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9793
9793
  },
9794
9794
  instHeading: {
9795
9795
  color: 'var(--Black, #0A1629)',
9796
- fontSize: '26px',
9796
+ fontSize: '32px',
9797
+ fontStyle: 'normal',
9798
+ fontWeight: '600'
9799
+ },
9800
+ aboutText: {
9801
+ fontSize: '24px',
9797
9802
  fontStyle: 'normal',
9798
9803
  fontWeight: '600'
9799
9804
  },
9800
9805
  instAbout: {
9801
- color: 'var(--Black, #333)',
9802
- fontSize: '22px',
9806
+ fontSize: '16px',
9803
9807
  fontStyle: 'normal',
9804
- fontWeight: '500',
9808
+ fontWeight: '400',
9805
9809
  wordBreak: 'break-word'
9806
9810
  },
9807
9811
  highlightText: {
9808
9812
  color: 'var(--Black, #0A1629)',
9809
- fontSize: '26px',
9813
+ fontSize: '24px',
9810
9814
  fontStyle: 'normal',
9811
9815
  fontWeight: '600',
9812
9816
  wordBreak: 'break-word'
9813
9817
  },
9818
+ highlightHeading: {
9819
+ fontSize: '16px',
9820
+ fontStyle: 'normal',
9821
+ fontWeight: '400'
9822
+ },
9814
9823
  // SMALL SCREEN
9815
9824
  '@media screen and (max-width: 767px)': {
9825
+ aboutInstText: {
9826
+ fontSize: '16px'
9827
+ },
9816
9828
  imageContainer: {
9817
- padding: '15px',
9818
9829
  height: '150px',
9830
+ width: '150px'
9831
+ },
9832
+ image: {
9819
9833
  borderRadius: '10px',
9820
9834
  border: '1px solid var(--stroke, #D8E0F0)'
9821
9835
  },
9822
9836
  infoContainer: {
9823
9837
  gap: '16px'
9824
9838
  },
9839
+ instHeading: {
9840
+ fontSize: '24px'
9841
+ },
9825
9842
  cardWrapper: {
9826
9843
  flexDirection: 'column',
9827
9844
  gap: '8px'
@@ -9830,10 +9847,10 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9830
9847
  padding: '16px'
9831
9848
  },
9832
9849
  aboutInstHeader: {
9833
- lineHeight: '36px',
9834
9850
  color: theme?.palette?.font?.default,
9835
- margin: '0px 0 12px 0',
9836
- textAlign: 'center'
9851
+ margin: '0px 0 24px 0',
9852
+ textAlign: 'center',
9853
+ fontSize: '20px'
9837
9854
  },
9838
9855
  contentWrapper: {
9839
9856
  gap: '8px'
@@ -9849,6 +9866,21 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9849
9866
  },
9850
9867
  infoContent: {
9851
9868
  gap: '8px'
9869
+ },
9870
+ metaChild: {
9871
+ fontSize: '12px'
9872
+ },
9873
+ aboutText: {
9874
+ fontSize: '16px'
9875
+ },
9876
+ instAbout: {
9877
+ fontSize: '12px'
9878
+ },
9879
+ highlightText: {
9880
+ fontSize: '16px'
9881
+ },
9882
+ highlightHeading: {
9883
+ fontSize: '12px'
9852
9884
  }
9853
9885
  }
9854
9886
  }));
@@ -9904,6 +9936,7 @@ function ABOUT_INSTITUTE({
9904
9936
  width: '20px',
9905
9937
  height: '20px'
9906
9938
  }), /*#__PURE__*/React.createElement("div", {
9939
+ className: classes.metaChild,
9907
9940
  ref: nodeData?.spec?.refSetter,
9908
9941
  dangerouslySetInnerHTML: {
9909
9942
  __html: nodeData?.spec?.metadata?.value
@@ -9916,6 +9949,7 @@ function ABOUT_INSTITUTE({
9916
9949
  width: '20px',
9917
9950
  height: '20px'
9918
9951
  }), /*#__PURE__*/React.createElement("div", {
9952
+ className: classes.metaChild,
9919
9953
  ref: nodeData?.qual?.refSetter,
9920
9954
  dangerouslySetInnerHTML: {
9921
9955
  __html: nodeData?.qual?.metadata?.value
@@ -9928,6 +9962,7 @@ function ABOUT_INSTITUTE({
9928
9962
  width: '20px',
9929
9963
  height: '20px'
9930
9964
  }), /*#__PURE__*/React.createElement("div", {
9965
+ className: classes.metaChild,
9931
9966
  ref: nodeData?.exp?.refSetter,
9932
9967
  dangerouslySetInnerHTML: {
9933
9968
  __html: nodeData?.exp?.metadata?.value
@@ -9935,8 +9970,9 @@ function ABOUT_INSTITUTE({
9935
9970
  })) : null)), nodeData?.content?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
9936
9971
  className: classes.infoContent
9937
9972
  }, /*#__PURE__*/React.createElement("div", {
9938
- className: classes.instAbout
9973
+ className: classes.aboutText
9939
9974
  }, "About"), /*#__PURE__*/React.createElement("div", {
9975
+ className: classes.instAbout,
9940
9976
  ref: nodeData?.content?.refSetter,
9941
9977
  dangerouslySetInnerHTML: {
9942
9978
  __html: nodeData?.content?.metadata?.value
@@ -9958,7 +9994,9 @@ function ABOUT_INSTITUTE({
9958
9994
  dangerouslySetInnerHTML: {
9959
9995
  __html: highlightNodeData?.courses?.metadata?.value
9960
9996
  }
9961
- }), /*#__PURE__*/React.createElement("span", null, "Courses")), /*#__PURE__*/React.createElement(Icon, {
9997
+ }), /*#__PURE__*/React.createElement("span", {
9998
+ className: classes.highlightHeading
9999
+ }, "Courses")), /*#__PURE__*/React.createElement(Icon, {
9962
10000
  name: 'BookSaved',
9963
10001
  color: theme.palette.font.primary,
9964
10002
  width: '32px',
@@ -9973,7 +10011,9 @@ function ABOUT_INSTITUTE({
9973
10011
  dangerouslySetInnerHTML: {
9974
10012
  __html: highlightNodeData?.students?.metadata?.value
9975
10013
  }
9976
- }), /*#__PURE__*/React.createElement("span", null, "Active Students")), /*#__PURE__*/React.createElement(Icon, {
10014
+ }), /*#__PURE__*/React.createElement("span", {
10015
+ className: classes.highlightHeading
10016
+ }, "Active Students")), /*#__PURE__*/React.createElement(Icon, {
9977
10017
  name: 'GroupProfile',
9978
10018
  color: theme.palette.font.primary,
9979
10019
  width: '32px',