diy-template-components 1.0.45 → 1.0.48

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
@@ -325,7 +325,7 @@ const colors = {
325
325
  // shades of grey
326
326
  darkGrey: '#333333',
327
327
  grey: '#666666',
328
- lightGrey: '#999999',
328
+ lightGrey: '#9999',
329
329
  blueGrey: '#9497A5'
330
330
  };
331
331
  const alpha = {
@@ -1576,8 +1576,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1576
1576
  justifyContent: 'center',
1577
1577
  flexDirection: 'column',
1578
1578
  alignItems: 'center',
1579
- padding: '140px 70px 80px 70px',
1580
- backgroundColor: theme?.palette?.background?.default,
1579
+ padding: '64px 128px',
1581
1580
  '&, & *, & *:before, & *:after': {
1582
1581
  fontFamily: theme?.typography?.fontFamily,
1583
1582
  boxSizing: 'border-box'
@@ -1617,7 +1616,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1617
1616
  upperContainerItem3: {
1618
1617
  width: '33%',
1619
1618
  display: 'flex',
1620
- justifyContent: 'center',
1619
+ justifyContent: 'end',
1621
1620
  flexWrap: 'wrap',
1622
1621
  paddingBottom: '52px'
1623
1622
  },
@@ -1632,8 +1631,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1632
1631
  display: 'flex',
1633
1632
  justifyContent: 'flex-start',
1634
1633
  alignItems: 'flex-start',
1635
- padding: '0 0 32px 0',
1636
- margin: '0'
1634
+ marginBottom: '16px'
1637
1635
  },
1638
1636
  addressImg: {
1639
1637
  marginRight: '8px',
@@ -1711,7 +1709,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1711
1709
  },
1712
1710
  '@media screen and (max-width: 767px)': {
1713
1711
  section: {
1714
- padding: '45px 30px',
1712
+ padding: '16px 24px',
1715
1713
  flexDirection: 'column',
1716
1714
  alignItems: 'center',
1717
1715
  justifyContent: 'center',
@@ -1983,7 +1981,7 @@ const generateThemePalette = themeColors => ({
1983
1981
  font: {
1984
1982
  default: colors.darkGrey,
1985
1983
  invertedDefault: colors.white,
1986
- primary: colors.lightGrey,
1984
+ primary: colors.darkGrey,
1987
1985
  secondary: colors.grey,
1988
1986
  tertiary: colors.blueGrey
1989
1987
  }
@@ -2314,7 +2312,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2314
2312
  position: 'relative',
2315
2313
  padding: ({
2316
2314
  isMobile
2317
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2315
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2318
2316
  backgroundColor: theme?.palette?.background?.primary,
2319
2317
  '&, & *, & *:before, & *:after': {
2320
2318
  fontFamily: theme?.typography?.fontFamily,
@@ -2415,6 +2413,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2415
2413
  },
2416
2414
  contentContainer: {
2417
2415
  display: 'flex',
2416
+ flexDirection: 'column-reverse',
2418
2417
  flexFlow: 'column',
2419
2418
  paddingBottom: '48px',
2420
2419
  gap: '24px'
@@ -2768,7 +2767,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2768
2767
  width: '100%',
2769
2768
  padding: ({
2770
2769
  isMobile
2771
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2770
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2772
2771
  display: 'flex',
2773
2772
  justifyContent: 'center',
2774
2773
  flexDirection: 'column',
@@ -3253,7 +3252,7 @@ var index$j = /*#__PURE__*/Object.freeze({
3253
3252
  const useSectionStyles$5 = createUseStyles(theme => {
3254
3253
  return {
3255
3254
  section: {
3256
- padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3255
+ padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3257
3256
  '&, & *, & *:before, & *:after': {
3258
3257
  fontFamily: theme?.typography?.fontFamily,
3259
3258
  boxSizing: 'border-box'
@@ -3274,7 +3273,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3274
3273
  },
3275
3274
  centerData: {
3276
3275
  display: 'flex',
3277
- alignItems: 'center',
3276
+ alignItems: 'start',
3278
3277
  justifyContent: 'center'
3279
3278
 
3280
3279
  // padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
@@ -3344,10 +3343,10 @@ const useSectionStyles$5 = createUseStyles(theme => {
3344
3343
  },
3345
3344
  '@media screen and (max-width: 767px)': {
3346
3345
  section: {
3347
- padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3346
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px`
3348
3347
  },
3349
3348
  centerData: {
3350
- flexDirection: 'column-reverse',
3349
+ flexDirection: 'column',
3351
3350
  width: '100%'
3352
3351
  // padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3353
3352
  },
@@ -3489,7 +3488,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3489
3488
  justifyContent: 'center',
3490
3489
  padding: ({
3491
3490
  isMobile
3492
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3491
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3493
3492
  '&, & *, & *:before, & *:after': {
3494
3493
  fontFamily: theme?.typography?.fontFamily,
3495
3494
  boxSizing: 'border-box'
@@ -3880,7 +3879,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3880
3879
  testimonialContainer: {
3881
3880
  background: theme?.palette?.background?.primary,
3882
3881
  overflow: 'hidden',
3883
- padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3882
+ padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3884
3883
  '&, & *, & *:before, & *:after': {
3885
3884
  fontFamily: theme?.typography?.fontFamily,
3886
3885
  boxSizing: 'border-box'
@@ -3993,7 +3992,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3993
3992
  },
3994
3993
  '@media (max-width: 768px)': {
3995
3994
  testimonialContainer: {
3996
- padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3995
+ padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
3997
3996
  },
3998
3997
  // testimonialCardAndText: {
3999
3998
  // margin: '0 20px'
@@ -4021,6 +4020,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4021
4020
  marginRight: '16px'
4022
4021
  },
4023
4022
  reviewText: {
4023
+ lineHeight: '22px',
4024
4024
  marginBottom: '16px'
4025
4025
  },
4026
4026
  singleCard: {
@@ -4031,7 +4031,8 @@ const useTestimonialStyles = createUseStyles(theme => ({
4031
4031
  // paddingTop: '8px',
4032
4032
  overflow: 'hidden',
4033
4033
  whiteSpace: 'nowrap',
4034
- textOverflow: 'ellipsis'
4034
+ textOverflow: 'ellipsis',
4035
+ fontSize: '20px'
4035
4036
  },
4036
4037
  userImageContainer: {
4037
4038
  width: '48px',
@@ -4358,7 +4359,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4358
4359
  justifyContent: 'center',
4359
4360
  padding: ({
4360
4361
  isMobile
4361
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4362
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4362
4363
  '&, & *, & *:before, & *:after': {
4363
4364
  fontFamily: theme?.typography?.fontFamily
4364
4365
  // boxSizing: 'border-box'
@@ -4385,9 +4386,10 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4385
4386
  letterSpacing: '3px',
4386
4387
  textTransform: 'uppercase',
4387
4388
  color: theme.palette.font.default,
4388
- wordBreak: 'break-word',
4389
- marginBottom: '8px'
4389
+ wordBreak: 'break-word'
4390
+ // marginBottom: '8px'
4390
4391
  },
4392
+
4391
4393
  videoTestimonialTitle: {
4392
4394
  fontSize: theme.typography.fontSize.h2,
4393
4395
  // lineHeight: '71px',
@@ -4464,6 +4466,9 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4464
4466
  videoDetailsHeading: {
4465
4467
  lineHeight: 'normal'
4466
4468
  },
4469
+ videoDetailsSubContent: {
4470
+ textAlign: 'center'
4471
+ },
4467
4472
  videoTestimonialTitle: {
4468
4473
  lineHeight: 'normal',
4469
4474
  letterSpacing: '-1px'
@@ -4570,7 +4575,7 @@ const useVideoStyles = createUseStyles(theme => {
4570
4575
  videoSuperContainer: {
4571
4576
  padding: ({
4572
4577
  isMobile
4573
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4578
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4574
4579
  backgroundColor: theme?.palette?.background?.primary,
4575
4580
  '&, & *, & *:before, & *:after': {
4576
4581
  fontFamily: theme?.typography?.fontFamily,
@@ -4613,11 +4618,11 @@ const useVideoStyles = createUseStyles(theme => {
4613
4618
  },
4614
4619
  singleSlideContainer: {
4615
4620
  backgroundColor: theme?.palette?.background?.default,
4616
- margin: '20px',
4617
- width: 'calc(100% - 40px)',
4621
+ // margin: '20px',
4622
+ width: 'calc(100% - 24px)',
4618
4623
  height: 'calc(100% - 40px)',
4619
4624
  borderRadius: theme?.shape?.borderRadius?.regular,
4620
- padding: '48px',
4625
+ padding: '64px',
4621
4626
  boxShadow: theme?.shadows?.primary
4622
4627
  },
4623
4628
  contentRow: {
@@ -4653,7 +4658,7 @@ const useVideoStyles = createUseStyles(theme => {
4653
4658
  wordBreak: 'break-word'
4654
4659
  },
4655
4660
  videoDetailsSubHeading: {
4656
- fontSize: theme.typography.fontSize.subHead,
4661
+ fontSize: theme.typography.fontSize.body,
4657
4662
  lineHeight: '24px',
4658
4663
  wordBreak: 'break-word',
4659
4664
  color: theme?.palette?.font?.primary
@@ -4693,17 +4698,16 @@ const useVideoStyles = createUseStyles(theme => {
4693
4698
  display: 'flex',
4694
4699
  justifyContent: 'center',
4695
4700
  textAlign: 'center'
4701
+ },
4702
+ videoDetailsHeading: {
4703
+ fontSize: '20px',
4704
+ marginBottom: '0',
4705
+ textAlign: 'center'
4706
+ },
4707
+ videoDetailsSubHeading: {
4708
+ fontSize: '14px',
4709
+ textAlign: 'center'
4696
4710
  }
4697
-
4698
- // videoDetailsHeading: {
4699
- // fontSize: '18px',
4700
- // margin: '0'
4701
- // },
4702
-
4703
- // videoDetailsSubHeading: {
4704
- // fontSize: '12px',
4705
- // paddingBottom: '20px'
4706
- // }
4707
4711
  }
4708
4712
  };
4709
4713
  });
@@ -4807,7 +4811,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4807
4811
  position: 'relative',
4808
4812
  padding: ({
4809
4813
  isMobile
4810
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px 0px ${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4814
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4811
4815
  backgroundColor: theme?.palette?.background?.default,
4812
4816
  '&, & *, & *:before, & *:after': {
4813
4817
  fontFamily: theme?.typography?.fontFamily,
@@ -4849,7 +4853,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4849
4853
  wordBreak: 'break-word'
4850
4854
  },
4851
4855
  heading: {
4852
- margin: `8px 0 ${theme.spacing.margin.tiny}px`,
4856
+ margin: `0px 0 ${theme.spacing.margin.tiny}px`,
4853
4857
  fontSize: theme.typography.fontSize.h2,
4854
4858
  width: '100%',
4855
4859
  lineHeight: '70px',
@@ -4857,10 +4861,11 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4857
4861
  textAlign: 'left',
4858
4862
  wordBreak: 'break-word'
4859
4863
  },
4860
- sliderContainer: {
4861
- marginLeft: '-10px',
4862
- marginRight: '-70px'
4863
- },
4864
+ // sliderContainer: {
4865
+ // marginLeft: '-10px',
4866
+ // marginRight: '-70px'
4867
+ // },
4868
+
4864
4869
  card: {
4865
4870
  background: theme?.palette?.background?.default,
4866
4871
  boxShadow: theme?.shadows?.primary,
@@ -4875,9 +4880,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4875
4880
  padding: '24px',
4876
4881
  height: '100%',
4877
4882
  display: 'flex',
4878
- flexDirection: 'column'
4883
+ flexDirection: 'column',
4884
+ justifyContent: 'center',
4885
+ alignItems: 'center'
4879
4886
  },
4880
4887
  cardHeading: {
4888
+ textAlign: 'center',
4881
4889
  fontSize: theme.typography.fontSize.h6,
4882
4890
  fontWeight: theme.typography.fontWeight.bold,
4883
4891
  color: theme?.palette?.font?.default,
@@ -4885,6 +4893,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4885
4893
  wordBreak: 'break-word'
4886
4894
  },
4887
4895
  imageContainer: {
4896
+ textAlign: 'center',
4888
4897
  width: '96px',
4889
4898
  height: '96px',
4890
4899
  display: 'flex',
@@ -4902,6 +4911,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4902
4911
  marginTop: theme.spacing.margin.tiny
4903
4912
  },
4904
4913
  cardPara: {
4914
+ textAlign: 'center',
4905
4915
  fontSize: theme.typography.fontSize.body,
4906
4916
  lineHeight: '22px',
4907
4917
  color: theme?.palette?.font?.primary,
@@ -4917,11 +4927,15 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4917
4927
  },
4918
4928
  '@media screen and (max-width: 767px)': {
4919
4929
  heading: {
4920
- fontSize: '24px',
4921
- margin: `4px 0 ${theme.spacing.margin.tiny}px`,
4922
- lineHeight: '36px',
4930
+ textAlign: 'center',
4931
+ fontSize: '20px',
4932
+ margin: `0px 0 ${theme.spacing.margin.tiny}px`,
4933
+ lineHeight: '24px',
4923
4934
  padding: '0'
4924
4935
  },
4936
+ subTitleHeading: {
4937
+ textAlign: 'center'
4938
+ },
4925
4939
  sliderContainer: {
4926
4940
  marginLeft: '-6px',
4927
4941
  marginRight: '-20px'
@@ -4936,6 +4950,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4936
4950
  slidesToShow,
4937
4951
  cardsCount
4938
4952
  } = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
4953
+ },
4954
+ cardHeading: {
4955
+ fontSize: '18px'
4956
+ },
4957
+ cardContent: {
4958
+ padding: '16px'
4939
4959
  }
4940
4960
  }
4941
4961
  }));
@@ -5036,7 +5056,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5036
5056
  section: {
5037
5057
  padding: ({
5038
5058
  isMobile
5039
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5059
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5040
5060
  backgroundColor: theme?.palette?.background?.default,
5041
5061
  '&, & *, & *:before, & *:after': {
5042
5062
  fontFamily: theme?.typography?.fontFamily,
@@ -5152,7 +5172,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5152
5172
  padding: ({
5153
5173
  isMobile,
5154
5174
  cardsCount
5155
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : cardsCount === 1 ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.regular}px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px` : `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5175
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : cardsCount === 1 ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px ${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px` : `${theme.spacing.padding.small}px 0px ${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5156
5176
  '&, & *, & *:before, & *:after': {
5157
5177
  fontFamily: theme?.typography?.fontFamily,
5158
5178
  boxSizing: 'border-box'
@@ -5204,17 +5224,22 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5204
5224
  } = {}) => {
5205
5225
  if (cardsCount === 1) return '';
5206
5226
  return `repeat(${slidesToShow},minmax(0, 1fr))`;
5207
- }
5227
+ },
5228
+ padding: ({
5229
+ cardsCount
5230
+ }) => cardsCount === 1 ? '0px 100px' : ''
5208
5231
  },
5209
5232
  carouselImage: {
5210
- height: '360px',
5211
- borderRadius: '22px',
5233
+ height: ({
5234
+ cardsCount
5235
+ }) => cardsCount === 1 ? '480px' : '100%',
5236
+ borderRadius: '24px',
5212
5237
  objectFit: 'cover',
5238
+ objectPosition: 'center',
5213
5239
  position: 'absolute',
5214
5240
  left: 0,
5215
5241
  top: 0,
5216
- width: '100%',
5217
- height: '100%'
5242
+ width: '100%'
5218
5243
  },
5219
5244
  title: {
5220
5245
  fontSize: theme.typography.fontSize.h2,
@@ -5250,6 +5275,12 @@ function PhotoGallery({
5250
5275
  sectionIndex
5251
5276
  }) {
5252
5277
  const {
5278
+ templateId,
5279
+ navList,
5280
+ isPreview,
5281
+ isEdit,
5282
+ basePath,
5283
+ isMasterTemplate,
5253
5284
  isMobile,
5254
5285
  layout: {
5255
5286
  containerWidth
@@ -5275,17 +5306,34 @@ function PhotoGallery({
5275
5306
  centerPadding: isMobile ? '10px 0 0' : '80px 0 0',
5276
5307
  arrows: false
5277
5308
  };
5278
- const handleClick = link => {
5279
- if (link) {
5280
- window.open(link, '_blank');
5309
+ const handleClick = data => {
5310
+ let redirectUrl;
5311
+ const {
5312
+ isExistingLink,
5313
+ link
5314
+ } = data;
5315
+ if (isExistingLink && link === "courses") {
5316
+ redirectUrl = `//${basePath}/courses`;
5317
+ } else if (isExistingLink && link) {
5318
+ // const { pageId } = navList.find((el) => el.slug === data?.link) || {};
5319
+ redirectUrl = `//${basePath}/${link}`;
5320
+ } else {
5321
+ redirectUrl = link;
5322
+ }
5323
+ if (redirectUrl) {
5324
+ window.open(redirectUrl, '_blank');
5281
5325
  }
5282
5326
  };
5327
+
5328
+ // useLinkBuilder(data);
5329
+
5283
5330
  const carouselContent = carouselList?.map((el, idx) => {
5331
+ const metadata = el?.cardImage?.metadata;
5284
5332
  const link = el?.cardImage?.metadata?.link;
5285
5333
  return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
5286
5334
  key: idx
5287
5335
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5288
- onClick: () => handleClick(link),
5336
+ onClick: () => handleClick(metadata),
5289
5337
  className: `${classes.singleCard} ${link && classes.cursorPointer}`
5290
5338
  }, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
5291
5339
  src: el?.cardImage?.metadata?.value,
@@ -5330,7 +5378,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5330
5378
  width: '100%',
5331
5379
  padding: ({
5332
5380
  isMobile
5333
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5381
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5334
5382
  backgroundColor: theme?.palette?.background?.primary,
5335
5383
  '&, & *, & *:before, & *:after': {
5336
5384
  fontFamily: theme?.typography?.fontFamily,
@@ -5511,7 +5559,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5511
5559
  section: {
5512
5560
  padding: ({
5513
5561
  isMobile
5514
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5562
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5515
5563
  // backgroundColor: theme?.palette?.background?.primary,
5516
5564
 
5517
5565
  '&, & *, & *:before, & *:after': {
@@ -5687,7 +5735,7 @@ const useCourseStyles = createUseStyles(theme => {
5687
5735
  overflow: 'hidden',
5688
5736
  padding: ({
5689
5737
  isMobile
5690
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5738
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5691
5739
  '&, & *, & *:before, & *:after': {
5692
5740
  fontFamily: theme?.typography?.fontFamily,
5693
5741
  boxSizing: 'border-box'
@@ -5837,7 +5885,6 @@ const useCourseStyles = createUseStyles(theme => {
5837
5885
  },
5838
5886
  courseCardStrikePrice: {
5839
5887
  fontSize: '14px',
5840
- fontWeight: '600',
5841
5888
  lineHeight: '13px',
5842
5889
  color: '#FE9B0E',
5843
5890
  '& span': {
@@ -5908,7 +5955,7 @@ const useCourseStyles = createUseStyles(theme => {
5908
5955
  // fontSize: '24px',
5909
5956
  lineHeight: '36px',
5910
5957
  color: theme?.palette?.font?.default,
5911
- margin: '4px 0 12px 0',
5958
+ margin: '0px 0 12px 0',
5912
5959
  overflow: 'hidden',
5913
5960
  whiteSpace: 'nowrap',
5914
5961
  textOverflow: 'ellipsis'
@@ -6211,7 +6258,7 @@ const useTeamStyles = createUseStyles(theme => {
6211
6258
  teamSuperContainer: {
6212
6259
  padding: ({
6213
6260
  isMobile
6214
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6261
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6215
6262
  // backgroundColor: theme?.palette?.background?.primary,
6216
6263
 
6217
6264
  '&, & *, & *:before, & *:after': {
@@ -6320,8 +6367,9 @@ const useTeamStyles = createUseStyles(theme => {
6320
6367
  textAlign: 'center'
6321
6368
  },
6322
6369
  teamTitle: {
6370
+ marginTop: '0px',
6323
6371
  textAlign: 'center',
6324
- fontSize: theme.typography.fontSize.h3,
6372
+ fontSize: theme.typography.fontSize.h2,
6325
6373
  lineHeight: '36px',
6326
6374
  letterSpacing: '-1px'
6327
6375
  },
@@ -6329,6 +6377,7 @@ const useTeamStyles = createUseStyles(theme => {
6329
6377
  margin: '0 -4px'
6330
6378
  },
6331
6379
  singleSlideContainer: {
6380
+ padding: '24px',
6332
6381
  width: 'calc(100% - 8px)',
6333
6382
  margin: '12px 4px'
6334
6383
  },
@@ -6339,11 +6388,13 @@ const useTeamStyles = createUseStyles(theme => {
6339
6388
  },
6340
6389
 
6341
6390
  teamDetailsHeading: {
6391
+ fontSize: '16px',
6342
6392
  lineHeight: '24px',
6343
6393
  margin: '0',
6344
- color: theme?.palette?.font?.default
6394
+ color: theme?.palette?.font?.body
6345
6395
  },
6346
6396
  teamDetailsSubHeading: {
6397
+ marginTop: '0px',
6347
6398
  color: theme?.palette?.font?.primary
6348
6399
  }
6349
6400
  }
@@ -6458,7 +6509,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6458
6509
  backgroundColor: theme?.palette?.background?.default,
6459
6510
  padding: ({
6460
6511
  isMobile
6461
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6512
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6462
6513
  '&, & *, & *:before, & *:after': {
6463
6514
  fontFamily: theme?.typography?.fontFamily,
6464
6515
  boxSizing: 'border-box'
@@ -6538,7 +6589,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6538
6589
  padding: '4px 8px 0 0'
6539
6590
  },
6540
6591
  addressText: {
6541
- fontSize: theme.typography.fontSize.subHead,
6592
+ fontSize: theme.typography.fontSize.h6,
6542
6593
  color: theme?.palette?.font?.default,
6543
6594
  lineHeight: '24px'
6544
6595
  },
@@ -6863,7 +6914,7 @@ const useSectionStyles = createUseStyles(theme => ({
6863
6914
  alignItems: 'center',
6864
6915
  padding: ({
6865
6916
  isMobile
6866
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6917
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6867
6918
  backgroundColor: theme?.palette?.background?.default,
6868
6919
  '&, & *, & *:before, & *:after': {
6869
6920
  fontFamily: theme?.typography?.fontFamily,
@@ -8720,7 +8771,7 @@ const useTilesStyles = createUseStyles(theme => {
8720
8771
  flexDirection: 'column',
8721
8772
  padding: ({
8722
8773
  isMobile
8723
- } = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
8774
+ } = {}) => isMobile ? `24px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`
8724
8775
  },
8725
8776
  tileDiv: {
8726
8777
  width: '236px',