diy-template-components 2.0.38 → 2.0.40

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
@@ -6527,15 +6527,17 @@ const useTeamStyles = createUseStyles(theme => {
6527
6527
  margin: '0 -20px'
6528
6528
  },
6529
6529
  contentRow: {
6530
- display: 'grid',
6531
- gridTemplateColumns: ({
6532
- slidesToShow
6533
- } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
6530
+ display: 'flex',
6531
+ justifyContent: 'center',
6532
+ gap: '20px'
6533
+ // gridTemplateColumns: ({ slidesToShow } = {}) =>
6534
+ // `repeat(${slidesToShow},minmax(0, 1fr))`
6534
6535
  },
6536
+
6535
6537
  singleSlideContainer: {
6536
6538
  backgroundColor: theme?.palette?.background?.default,
6537
- margin: '20px',
6538
- width: 'calc(100% - 24px)',
6539
+ margin: '20px 0',
6540
+ // width: 'calc(100% - 24px)',
6539
6541
  borderRadius: theme?.shape?.borderRadius?.large,
6540
6542
  boxShadow: theme?.shadows?.primary,
6541
6543
  minHeight: '385px'
@@ -6683,7 +6685,13 @@ const SingleSlide = ({
6683
6685
  dangerouslySetInnerHTML: {
6684
6686
  __html: data.teamSlideTitle.metadata.value
6685
6687
  }
6686
- }), /*#__PURE__*/React.createElement("div", {
6688
+ }), data?.teamSlideSubTitle?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6689
+ ref: data?.teamSlideSubTitle?.refSetter,
6690
+ className: classes.teamDetailsSubHeading,
6691
+ dangerouslySetInnerHTML: {
6692
+ __html: data.teamSlideSubTitle.metadata.value
6693
+ }
6694
+ }) : null, data?.teamSlideYearOfExperience?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6687
6695
  className: classes.subHeadingWrapper
6688
6696
  }, /*#__PURE__*/React.createElement("img", {
6689
6697
  src: RankIcon
@@ -6693,7 +6701,7 @@ const SingleSlide = ({
6693
6701
  dangerouslySetInnerHTML: {
6694
6702
  __html: data.teamSlideYearOfExperience.metadata.value
6695
6703
  }
6696
- })), /*#__PURE__*/React.createElement("div", {
6704
+ }), "\xA0 years of experience") : null, data?.teamSlideSpecialisation?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6697
6705
  className: classes.subHeadingWrapper
6698
6706
  }, /*#__PURE__*/React.createElement("img", {
6699
6707
  src: Book
@@ -6703,7 +6711,7 @@ const SingleSlide = ({
6703
6711
  dangerouslySetInnerHTML: {
6704
6712
  __html: data.teamSlideSpecialisation.metadata.value
6705
6713
  }
6706
- })), /*#__PURE__*/React.createElement("div", {
6714
+ })) : null, data?.teamSlideQualification?.metadata?.value ? /*#__PURE__*/React.createElement("div", {
6707
6715
  className: classes.subHeadingWrapper
6708
6716
  }, /*#__PURE__*/React.createElement("img", {
6709
6717
  src: Teacher
@@ -6713,7 +6721,7 @@ const SingleSlide = ({
6713
6721
  dangerouslySetInnerHTML: {
6714
6722
  __html: data.teamSlideQualification.metadata.value
6715
6723
  }
6716
- }))));
6724
+ })) : null));
6717
6725
  };
6718
6726
 
6719
6727
  function TeamCard({
@@ -9791,13 +9799,13 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
9791
9799
  infoDetails: {
9792
9800
  display: 'flex',
9793
9801
  flexDirection: 'Column',
9794
- gap: '4px',
9802
+ gap: '10px',
9795
9803
  lineHeight: 'normal'
9796
9804
  },
9797
9805
  infoContent: {
9798
9806
  display: 'flex',
9799
9807
  flexDirection: 'Column',
9800
- gap: '4px'
9808
+ gap: '8px'
9801
9809
  },
9802
9810
  instHeading: {
9803
9811
  color: 'var(--Black, #0A1629)',