diy-template-components 1.0.44 → 1.0.46

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
@@ -309,7 +309,7 @@ const colors = {
309
309
  // shades of grey
310
310
  darkGrey: '#333333',
311
311
  grey: '#666666',
312
- lightGrey: '#999999',
312
+ lightGrey: '#9999',
313
313
  blueGrey: '#9497A5'
314
314
  };
315
315
  const alpha = {
@@ -1560,8 +1560,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1560
1560
  justifyContent: 'center',
1561
1561
  flexDirection: 'column',
1562
1562
  alignItems: 'center',
1563
- padding: '140px 70px 80px 70px',
1564
- backgroundColor: theme?.palette?.background?.default,
1563
+ padding: '64px 128px',
1565
1564
  '&, & *, & *:before, & *:after': {
1566
1565
  fontFamily: theme?.typography?.fontFamily,
1567
1566
  boxSizing: 'border-box'
@@ -1601,7 +1600,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1601
1600
  upperContainerItem3: {
1602
1601
  width: '33%',
1603
1602
  display: 'flex',
1604
- justifyContent: 'center',
1603
+ justifyContent: 'end',
1605
1604
  flexWrap: 'wrap',
1606
1605
  paddingBottom: '52px'
1607
1606
  },
@@ -1616,8 +1615,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1616
1615
  display: 'flex',
1617
1616
  justifyContent: 'flex-start',
1618
1617
  alignItems: 'flex-start',
1619
- padding: '0 0 32px 0',
1620
- margin: '0'
1618
+ marginBottom: '16px'
1621
1619
  },
1622
1620
  addressImg: {
1623
1621
  marginRight: '8px',
@@ -1695,7 +1693,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1695
1693
  },
1696
1694
  '@media screen and (max-width: 767px)': {
1697
1695
  section: {
1698
- padding: '45px 30px',
1696
+ padding: '16px 24px',
1699
1697
  flexDirection: 'column',
1700
1698
  alignItems: 'center',
1701
1699
  justifyContent: 'center',
@@ -1967,7 +1965,7 @@ const generateThemePalette = themeColors => ({
1967
1965
  font: {
1968
1966
  default: colors.darkGrey,
1969
1967
  invertedDefault: colors.white,
1970
- primary: colors.lightGrey,
1968
+ primary: colors.darkGrey,
1971
1969
  secondary: colors.grey,
1972
1970
  tertiary: colors.blueGrey
1973
1971
  }
@@ -2298,7 +2296,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2298
2296
  position: 'relative',
2299
2297
  padding: ({
2300
2298
  isMobile
2301
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2299
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2302
2300
  backgroundColor: theme?.palette?.background?.primary,
2303
2301
  '&, & *, & *:before, & *:after': {
2304
2302
  fontFamily: theme?.typography?.fontFamily,
@@ -2399,6 +2397,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2399
2397
  },
2400
2398
  contentContainer: {
2401
2399
  display: 'flex',
2400
+ flexDirection: 'column-reverse',
2402
2401
  flexFlow: 'column',
2403
2402
  paddingBottom: '48px',
2404
2403
  gap: '24px'
@@ -2752,7 +2751,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2752
2751
  width: '100%',
2753
2752
  padding: ({
2754
2753
  isMobile
2755
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2754
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2756
2755
  display: 'flex',
2757
2756
  justifyContent: 'center',
2758
2757
  flexDirection: 'column',
@@ -3156,6 +3155,8 @@ const Section$3 = ({
3156
3155
  isCustomWebsite,
3157
3156
  hasContent
3158
3157
  });
3158
+ const mobileImageSrc = isMobile && nodeData?.mobileImage?.metadata?.value;
3159
+ const desktopImageSrc = nodeData?.image?.metadata?.value;
3159
3160
  return /*#__PURE__*/React.createElement("section", {
3160
3161
  className: classes.bannerCarouselCenterSection
3161
3162
  }, /*#__PURE__*/React.createElement("div", {
@@ -3196,7 +3197,7 @@ const Section$3 = ({
3196
3197
  }, /*#__PURE__*/React.createElement("div", {
3197
3198
  className: hasContent && classes?.overlay
3198
3199
  }), /*#__PURE__*/React.createElement(NextImageRenderer, {
3199
- src: nodeData.image.metadata.value,
3200
+ src: mobileImageSrc ? mobileImageSrc : desktopImageSrc,
3200
3201
  className: classes?.centerBgImage,
3201
3202
  sectionIndex: sectionIndex
3202
3203
  }))));
@@ -3235,7 +3236,7 @@ var index$j = /*#__PURE__*/Object.freeze({
3235
3236
  const useSectionStyles$5 = createUseStyles(theme => {
3236
3237
  return {
3237
3238
  section: {
3238
- padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3239
+ padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3239
3240
  '&, & *, & *:before, & *:after': {
3240
3241
  fontFamily: theme?.typography?.fontFamily,
3241
3242
  boxSizing: 'border-box'
@@ -3256,7 +3257,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3256
3257
  },
3257
3258
  centerData: {
3258
3259
  display: 'flex',
3259
- alignItems: 'center',
3260
+ alignItems: 'start',
3260
3261
  justifyContent: 'center'
3261
3262
 
3262
3263
  // padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
@@ -3326,10 +3327,10 @@ const useSectionStyles$5 = createUseStyles(theme => {
3326
3327
  },
3327
3328
  '@media screen and (max-width: 767px)': {
3328
3329
  section: {
3329
- padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3330
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px`
3330
3331
  },
3331
3332
  centerData: {
3332
- flexDirection: 'column-reverse',
3333
+ flexDirection: 'column',
3333
3334
  width: '100%'
3334
3335
  // padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3335
3336
  },
@@ -3471,7 +3472,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3471
3472
  justifyContent: 'center',
3472
3473
  padding: ({
3473
3474
  isMobile
3474
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3475
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3475
3476
  '&, & *, & *:before, & *:after': {
3476
3477
  fontFamily: theme?.typography?.fontFamily,
3477
3478
  boxSizing: 'border-box'
@@ -3862,7 +3863,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3862
3863
  testimonialContainer: {
3863
3864
  background: theme?.palette?.background?.primary,
3864
3865
  overflow: 'hidden',
3865
- padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3866
+ padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3866
3867
  '&, & *, & *:before, & *:after': {
3867
3868
  fontFamily: theme?.typography?.fontFamily,
3868
3869
  boxSizing: 'border-box'
@@ -3975,7 +3976,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3975
3976
  },
3976
3977
  '@media (max-width: 768px)': {
3977
3978
  testimonialContainer: {
3978
- padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3979
+ padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
3979
3980
  },
3980
3981
  // testimonialCardAndText: {
3981
3982
  // margin: '0 20px'
@@ -4003,6 +4004,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4003
4004
  marginRight: '16px'
4004
4005
  },
4005
4006
  reviewText: {
4007
+ lineHeight: '22px',
4006
4008
  marginBottom: '16px'
4007
4009
  },
4008
4010
  singleCard: {
@@ -4013,7 +4015,8 @@ const useTestimonialStyles = createUseStyles(theme => ({
4013
4015
  // paddingTop: '8px',
4014
4016
  overflow: 'hidden',
4015
4017
  whiteSpace: 'nowrap',
4016
- textOverflow: 'ellipsis'
4018
+ textOverflow: 'ellipsis',
4019
+ fontSize: '20px'
4017
4020
  },
4018
4021
  userImageContainer: {
4019
4022
  width: '48px',
@@ -4340,7 +4343,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4340
4343
  justifyContent: 'center',
4341
4344
  padding: ({
4342
4345
  isMobile
4343
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4346
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4344
4347
  '&, & *, & *:before, & *:after': {
4345
4348
  fontFamily: theme?.typography?.fontFamily
4346
4349
  // boxSizing: 'border-box'
@@ -4367,9 +4370,10 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4367
4370
  letterSpacing: '3px',
4368
4371
  textTransform: 'uppercase',
4369
4372
  color: theme.palette.font.default,
4370
- wordBreak: 'break-word',
4371
- marginBottom: '8px'
4373
+ wordBreak: 'break-word'
4374
+ // marginBottom: '8px'
4372
4375
  },
4376
+
4373
4377
  videoTestimonialTitle: {
4374
4378
  fontSize: theme.typography.fontSize.h2,
4375
4379
  // lineHeight: '71px',
@@ -4446,6 +4450,9 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4446
4450
  videoDetailsHeading: {
4447
4451
  lineHeight: 'normal'
4448
4452
  },
4453
+ videoDetailsSubContent: {
4454
+ textAlign: 'center'
4455
+ },
4449
4456
  videoTestimonialTitle: {
4450
4457
  lineHeight: 'normal',
4451
4458
  letterSpacing: '-1px'
@@ -4552,7 +4559,7 @@ const useVideoStyles = createUseStyles(theme => {
4552
4559
  videoSuperContainer: {
4553
4560
  padding: ({
4554
4561
  isMobile
4555
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4562
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4556
4563
  backgroundColor: theme?.palette?.background?.primary,
4557
4564
  '&, & *, & *:before, & *:after': {
4558
4565
  fontFamily: theme?.typography?.fontFamily,
@@ -4595,11 +4602,11 @@ const useVideoStyles = createUseStyles(theme => {
4595
4602
  },
4596
4603
  singleSlideContainer: {
4597
4604
  backgroundColor: theme?.palette?.background?.default,
4598
- margin: '20px',
4599
- width: 'calc(100% - 40px)',
4605
+ // margin: '20px',
4606
+ width: 'calc(100% - 24px)',
4600
4607
  height: 'calc(100% - 40px)',
4601
4608
  borderRadius: theme?.shape?.borderRadius?.regular,
4602
- padding: '48px',
4609
+ padding: '64px',
4603
4610
  boxShadow: theme?.shadows?.primary
4604
4611
  },
4605
4612
  contentRow: {
@@ -4635,7 +4642,7 @@ const useVideoStyles = createUseStyles(theme => {
4635
4642
  wordBreak: 'break-word'
4636
4643
  },
4637
4644
  videoDetailsSubHeading: {
4638
- fontSize: theme.typography.fontSize.subHead,
4645
+ fontSize: theme.typography.fontSize.body,
4639
4646
  lineHeight: '24px',
4640
4647
  wordBreak: 'break-word',
4641
4648
  color: theme?.palette?.font?.primary
@@ -4675,17 +4682,16 @@ const useVideoStyles = createUseStyles(theme => {
4675
4682
  display: 'flex',
4676
4683
  justifyContent: 'center',
4677
4684
  textAlign: 'center'
4685
+ },
4686
+ videoDetailsHeading: {
4687
+ fontSize: '20px',
4688
+ marginBottom: '0',
4689
+ textAlign: 'center'
4690
+ },
4691
+ videoDetailsSubHeading: {
4692
+ fontSize: '14px',
4693
+ textAlign: 'center'
4678
4694
  }
4679
-
4680
- // videoDetailsHeading: {
4681
- // fontSize: '18px',
4682
- // margin: '0'
4683
- // },
4684
-
4685
- // videoDetailsSubHeading: {
4686
- // fontSize: '12px',
4687
- // paddingBottom: '20px'
4688
- // }
4689
4695
  }
4690
4696
  };
4691
4697
  });
@@ -4789,7 +4795,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4789
4795
  position: 'relative',
4790
4796
  padding: ({
4791
4797
  isMobile
4792
- } = {}) => 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`,
4798
+ } = {}) => 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`,
4793
4799
  backgroundColor: theme?.palette?.background?.default,
4794
4800
  '&, & *, & *:before, & *:after': {
4795
4801
  fontFamily: theme?.typography?.fontFamily,
@@ -4831,7 +4837,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4831
4837
  wordBreak: 'break-word'
4832
4838
  },
4833
4839
  heading: {
4834
- margin: `8px 0 ${theme.spacing.margin.tiny}px`,
4840
+ margin: `0px 0 ${theme.spacing.margin.tiny}px`,
4835
4841
  fontSize: theme.typography.fontSize.h2,
4836
4842
  width: '100%',
4837
4843
  lineHeight: '70px',
@@ -4839,10 +4845,11 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4839
4845
  textAlign: 'left',
4840
4846
  wordBreak: 'break-word'
4841
4847
  },
4842
- sliderContainer: {
4843
- marginLeft: '-10px',
4844
- marginRight: '-70px'
4845
- },
4848
+ // sliderContainer: {
4849
+ // marginLeft: '-10px',
4850
+ // marginRight: '-70px'
4851
+ // },
4852
+
4846
4853
  card: {
4847
4854
  background: theme?.palette?.background?.default,
4848
4855
  boxShadow: theme?.shadows?.primary,
@@ -4857,9 +4864,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4857
4864
  padding: '24px',
4858
4865
  height: '100%',
4859
4866
  display: 'flex',
4860
- flexDirection: 'column'
4867
+ flexDirection: 'column',
4868
+ justifyContent: 'center',
4869
+ alignItems: 'center'
4861
4870
  },
4862
4871
  cardHeading: {
4872
+ textAlign: 'center',
4863
4873
  fontSize: theme.typography.fontSize.h6,
4864
4874
  fontWeight: theme.typography.fontWeight.bold,
4865
4875
  color: theme?.palette?.font?.default,
@@ -4867,6 +4877,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4867
4877
  wordBreak: 'break-word'
4868
4878
  },
4869
4879
  imageContainer: {
4880
+ textAlign: 'center',
4870
4881
  width: '96px',
4871
4882
  height: '96px',
4872
4883
  display: 'flex',
@@ -4884,6 +4895,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4884
4895
  marginTop: theme.spacing.margin.tiny
4885
4896
  },
4886
4897
  cardPara: {
4898
+ textAlign: 'center',
4887
4899
  fontSize: theme.typography.fontSize.body,
4888
4900
  lineHeight: '22px',
4889
4901
  color: theme?.palette?.font?.primary,
@@ -4899,11 +4911,15 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4899
4911
  },
4900
4912
  '@media screen and (max-width: 767px)': {
4901
4913
  heading: {
4902
- fontSize: '24px',
4903
- margin: `4px 0 ${theme.spacing.margin.tiny}px`,
4904
- lineHeight: '36px',
4914
+ textAlign: 'center',
4915
+ fontSize: '20px',
4916
+ margin: `0px 0 ${theme.spacing.margin.tiny}px`,
4917
+ lineHeight: '24px',
4905
4918
  padding: '0'
4906
4919
  },
4920
+ subTitleHeading: {
4921
+ textAlign: 'center'
4922
+ },
4907
4923
  sliderContainer: {
4908
4924
  marginLeft: '-6px',
4909
4925
  marginRight: '-20px'
@@ -4918,6 +4934,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4918
4934
  slidesToShow,
4919
4935
  cardsCount
4920
4936
  } = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
4937
+ },
4938
+ cardHeading: {
4939
+ fontSize: '18px'
4940
+ },
4941
+ cardContent: {
4942
+ padding: '16px'
4921
4943
  }
4922
4944
  }
4923
4945
  }));
@@ -5018,7 +5040,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5018
5040
  section: {
5019
5041
  padding: ({
5020
5042
  isMobile
5021
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5043
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5022
5044
  backgroundColor: theme?.palette?.background?.default,
5023
5045
  '&, & *, & *:before, & *:after': {
5024
5046
  fontFamily: theme?.typography?.fontFamily,
@@ -5134,7 +5156,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5134
5156
  padding: ({
5135
5157
  isMobile,
5136
5158
  cardsCount
5137
- } = {}) => 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`,
5159
+ } = {}) => 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`,
5138
5160
  '&, & *, & *:before, & *:after': {
5139
5161
  fontFamily: theme?.typography?.fontFamily,
5140
5162
  boxSizing: 'border-box'
@@ -5186,17 +5208,22 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5186
5208
  } = {}) => {
5187
5209
  if (cardsCount === 1) return '';
5188
5210
  return `repeat(${slidesToShow},minmax(0, 1fr))`;
5189
- }
5211
+ },
5212
+ padding: ({
5213
+ cardsCount
5214
+ }) => cardsCount === 1 ? '0px 100px' : ''
5190
5215
  },
5191
5216
  carouselImage: {
5192
- height: '360px',
5193
- borderRadius: '22px',
5217
+ height: ({
5218
+ cardsCount
5219
+ }) => cardsCount === 1 ? '480px' : '100%',
5220
+ borderRadius: '24px',
5194
5221
  objectFit: 'cover',
5222
+ objectPosition: 'center',
5195
5223
  position: 'absolute',
5196
5224
  left: 0,
5197
5225
  top: 0,
5198
- width: '100%',
5199
- height: '100%'
5226
+ width: '100%'
5200
5227
  },
5201
5228
  title: {
5202
5229
  fontSize: theme.typography.fontSize.h2,
@@ -5312,7 +5339,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5312
5339
  width: '100%',
5313
5340
  padding: ({
5314
5341
  isMobile
5315
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5342
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5316
5343
  backgroundColor: theme?.palette?.background?.primary,
5317
5344
  '&, & *, & *:before, & *:after': {
5318
5345
  fontFamily: theme?.typography?.fontFamily,
@@ -5493,7 +5520,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5493
5520
  section: {
5494
5521
  padding: ({
5495
5522
  isMobile
5496
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5523
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5497
5524
  // backgroundColor: theme?.palette?.background?.primary,
5498
5525
 
5499
5526
  '&, & *, & *:before, & *:after': {
@@ -5669,7 +5696,7 @@ const useCourseStyles = createUseStyles(theme => {
5669
5696
  overflow: 'hidden',
5670
5697
  padding: ({
5671
5698
  isMobile
5672
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5699
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5673
5700
  '&, & *, & *:before, & *:after': {
5674
5701
  fontFamily: theme?.typography?.fontFamily,
5675
5702
  boxSizing: 'border-box'
@@ -5819,7 +5846,6 @@ const useCourseStyles = createUseStyles(theme => {
5819
5846
  },
5820
5847
  courseCardStrikePrice: {
5821
5848
  fontSize: '14px',
5822
- fontWeight: '600',
5823
5849
  lineHeight: '13px',
5824
5850
  color: '#FE9B0E',
5825
5851
  '& span': {
@@ -5890,7 +5916,7 @@ const useCourseStyles = createUseStyles(theme => {
5890
5916
  // fontSize: '24px',
5891
5917
  lineHeight: '36px',
5892
5918
  color: theme?.palette?.font?.default,
5893
- margin: '4px 0 12px 0',
5919
+ margin: '0px 0 12px 0',
5894
5920
  overflow: 'hidden',
5895
5921
  whiteSpace: 'nowrap',
5896
5922
  textOverflow: 'ellipsis'
@@ -6193,7 +6219,7 @@ const useTeamStyles = createUseStyles(theme => {
6193
6219
  teamSuperContainer: {
6194
6220
  padding: ({
6195
6221
  isMobile
6196
- } = {}) => 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`,
6222
+ } = {}) => 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`,
6197
6223
  // backgroundColor: theme?.palette?.background?.primary,
6198
6224
 
6199
6225
  '&, & *, & *:before, & *:after': {
@@ -6302,8 +6328,9 @@ const useTeamStyles = createUseStyles(theme => {
6302
6328
  textAlign: 'center'
6303
6329
  },
6304
6330
  teamTitle: {
6331
+ marginTop: '0px',
6305
6332
  textAlign: 'center',
6306
- fontSize: theme.typography.fontSize.h3,
6333
+ fontSize: theme.typography.fontSize.h2,
6307
6334
  lineHeight: '36px',
6308
6335
  letterSpacing: '-1px'
6309
6336
  },
@@ -6311,6 +6338,7 @@ const useTeamStyles = createUseStyles(theme => {
6311
6338
  margin: '0 -4px'
6312
6339
  },
6313
6340
  singleSlideContainer: {
6341
+ padding: '24px',
6314
6342
  width: 'calc(100% - 8px)',
6315
6343
  margin: '12px 4px'
6316
6344
  },
@@ -6321,11 +6349,13 @@ const useTeamStyles = createUseStyles(theme => {
6321
6349
  },
6322
6350
 
6323
6351
  teamDetailsHeading: {
6352
+ fontSize: '16px',
6324
6353
  lineHeight: '24px',
6325
6354
  margin: '0',
6326
- color: theme?.palette?.font?.default
6355
+ color: theme?.palette?.font?.body
6327
6356
  },
6328
6357
  teamDetailsSubHeading: {
6358
+ marginTop: '0px',
6329
6359
  color: theme?.palette?.font?.primary
6330
6360
  }
6331
6361
  }
@@ -6440,7 +6470,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6440
6470
  backgroundColor: theme?.palette?.background?.default,
6441
6471
  padding: ({
6442
6472
  isMobile
6443
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6473
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6444
6474
  '&, & *, & *:before, & *:after': {
6445
6475
  fontFamily: theme?.typography?.fontFamily,
6446
6476
  boxSizing: 'border-box'
@@ -6520,7 +6550,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6520
6550
  padding: '4px 8px 0 0'
6521
6551
  },
6522
6552
  addressText: {
6523
- fontSize: theme.typography.fontSize.subHead,
6553
+ fontSize: theme.typography.fontSize.h6,
6524
6554
  color: theme?.palette?.font?.default,
6525
6555
  lineHeight: '24px'
6526
6556
  },
@@ -6845,7 +6875,7 @@ const useSectionStyles = createUseStyles(theme => ({
6845
6875
  alignItems: 'center',
6846
6876
  padding: ({
6847
6877
  isMobile
6848
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6878
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6849
6879
  backgroundColor: theme?.palette?.background?.default,
6850
6880
  '&, & *, & *:before, & *:after': {
6851
6881
  fontFamily: theme?.typography?.fontFamily,
@@ -8702,7 +8732,7 @@ const useTilesStyles = createUseStyles(theme => {
8702
8732
  flexDirection: 'column',
8703
8733
  padding: ({
8704
8734
  isMobile
8705
- } = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
8735
+ } = {}) => isMobile ? `24px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`
8706
8736
  },
8707
8737
  tileDiv: {
8708
8738
  width: '236px',