diy-template-components 1.0.45 → 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 +93 -65
- package/build/index.es.js.map +1 -1
- package/build/index.js +93 -65
- package/build/index.js.map +1 -1
- package/package.json +1 -1
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: '#
|
|
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: '
|
|
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: '
|
|
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
|
-
|
|
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: '
|
|
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.
|
|
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.
|
|
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.
|
|
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',
|
|
@@ -3237,7 +3236,7 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
3237
3236
|
const useSectionStyles$5 = createUseStyles(theme => {
|
|
3238
3237
|
return {
|
|
3239
3238
|
section: {
|
|
3240
|
-
padding: `${theme.spacing.padding.
|
|
3239
|
+
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3241
3240
|
'&, & *, & *:before, & *:after': {
|
|
3242
3241
|
fontFamily: theme?.typography?.fontFamily,
|
|
3243
3242
|
boxSizing: 'border-box'
|
|
@@ -3258,7 +3257,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3258
3257
|
},
|
|
3259
3258
|
centerData: {
|
|
3260
3259
|
display: 'flex',
|
|
3261
|
-
alignItems: '
|
|
3260
|
+
alignItems: 'start',
|
|
3262
3261
|
justifyContent: 'center'
|
|
3263
3262
|
|
|
3264
3263
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
@@ -3328,10 +3327,10 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3328
3327
|
},
|
|
3329
3328
|
'@media screen and (max-width: 767px)': {
|
|
3330
3329
|
section: {
|
|
3331
|
-
padding: `${theme.spacing.padding.
|
|
3330
|
+
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px`
|
|
3332
3331
|
},
|
|
3333
3332
|
centerData: {
|
|
3334
|
-
flexDirection: 'column
|
|
3333
|
+
flexDirection: 'column',
|
|
3335
3334
|
width: '100%'
|
|
3336
3335
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3337
3336
|
},
|
|
@@ -3473,7 +3472,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3473
3472
|
justifyContent: 'center',
|
|
3474
3473
|
padding: ({
|
|
3475
3474
|
isMobile
|
|
3476
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
3475
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3477
3476
|
'&, & *, & *:before, & *:after': {
|
|
3478
3477
|
fontFamily: theme?.typography?.fontFamily,
|
|
3479
3478
|
boxSizing: 'border-box'
|
|
@@ -3864,7 +3863,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3864
3863
|
testimonialContainer: {
|
|
3865
3864
|
background: theme?.palette?.background?.primary,
|
|
3866
3865
|
overflow: 'hidden',
|
|
3867
|
-
padding: `${theme.spacing.padding.
|
|
3866
|
+
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3868
3867
|
'&, & *, & *:before, & *:after': {
|
|
3869
3868
|
fontFamily: theme?.typography?.fontFamily,
|
|
3870
3869
|
boxSizing: 'border-box'
|
|
@@ -3977,7 +3976,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3977
3976
|
},
|
|
3978
3977
|
'@media (max-width: 768px)': {
|
|
3979
3978
|
testimonialContainer: {
|
|
3980
|
-
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.
|
|
3979
|
+
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
3981
3980
|
},
|
|
3982
3981
|
// testimonialCardAndText: {
|
|
3983
3982
|
// margin: '0 20px'
|
|
@@ -4005,6 +4004,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4005
4004
|
marginRight: '16px'
|
|
4006
4005
|
},
|
|
4007
4006
|
reviewText: {
|
|
4007
|
+
lineHeight: '22px',
|
|
4008
4008
|
marginBottom: '16px'
|
|
4009
4009
|
},
|
|
4010
4010
|
singleCard: {
|
|
@@ -4015,7 +4015,8 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4015
4015
|
// paddingTop: '8px',
|
|
4016
4016
|
overflow: 'hidden',
|
|
4017
4017
|
whiteSpace: 'nowrap',
|
|
4018
|
-
textOverflow: 'ellipsis'
|
|
4018
|
+
textOverflow: 'ellipsis',
|
|
4019
|
+
fontSize: '20px'
|
|
4019
4020
|
},
|
|
4020
4021
|
userImageContainer: {
|
|
4021
4022
|
width: '48px',
|
|
@@ -4342,7 +4343,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4342
4343
|
justifyContent: 'center',
|
|
4343
4344
|
padding: ({
|
|
4344
4345
|
isMobile
|
|
4345
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.
|
|
4346
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4346
4347
|
'&, & *, & *:before, & *:after': {
|
|
4347
4348
|
fontFamily: theme?.typography?.fontFamily
|
|
4348
4349
|
// boxSizing: 'border-box'
|
|
@@ -4369,9 +4370,10 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4369
4370
|
letterSpacing: '3px',
|
|
4370
4371
|
textTransform: 'uppercase',
|
|
4371
4372
|
color: theme.palette.font.default,
|
|
4372
|
-
wordBreak: 'break-word'
|
|
4373
|
-
marginBottom: '8px'
|
|
4373
|
+
wordBreak: 'break-word'
|
|
4374
|
+
// marginBottom: '8px'
|
|
4374
4375
|
},
|
|
4376
|
+
|
|
4375
4377
|
videoTestimonialTitle: {
|
|
4376
4378
|
fontSize: theme.typography.fontSize.h2,
|
|
4377
4379
|
// lineHeight: '71px',
|
|
@@ -4448,6 +4450,9 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4448
4450
|
videoDetailsHeading: {
|
|
4449
4451
|
lineHeight: 'normal'
|
|
4450
4452
|
},
|
|
4453
|
+
videoDetailsSubContent: {
|
|
4454
|
+
textAlign: 'center'
|
|
4455
|
+
},
|
|
4451
4456
|
videoTestimonialTitle: {
|
|
4452
4457
|
lineHeight: 'normal',
|
|
4453
4458
|
letterSpacing: '-1px'
|
|
@@ -4554,7 +4559,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4554
4559
|
videoSuperContainer: {
|
|
4555
4560
|
padding: ({
|
|
4556
4561
|
isMobile
|
|
4557
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
4562
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4558
4563
|
backgroundColor: theme?.palette?.background?.primary,
|
|
4559
4564
|
'&, & *, & *:before, & *:after': {
|
|
4560
4565
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -4597,11 +4602,11 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4597
4602
|
},
|
|
4598
4603
|
singleSlideContainer: {
|
|
4599
4604
|
backgroundColor: theme?.palette?.background?.default,
|
|
4600
|
-
margin: '20px',
|
|
4601
|
-
width: 'calc(100% -
|
|
4605
|
+
// margin: '20px',
|
|
4606
|
+
width: 'calc(100% - 24px)',
|
|
4602
4607
|
height: 'calc(100% - 40px)',
|
|
4603
4608
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
4604
|
-
padding: '
|
|
4609
|
+
padding: '64px',
|
|
4605
4610
|
boxShadow: theme?.shadows?.primary
|
|
4606
4611
|
},
|
|
4607
4612
|
contentRow: {
|
|
@@ -4637,7 +4642,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4637
4642
|
wordBreak: 'break-word'
|
|
4638
4643
|
},
|
|
4639
4644
|
videoDetailsSubHeading: {
|
|
4640
|
-
fontSize: theme.typography.fontSize.
|
|
4645
|
+
fontSize: theme.typography.fontSize.body,
|
|
4641
4646
|
lineHeight: '24px',
|
|
4642
4647
|
wordBreak: 'break-word',
|
|
4643
4648
|
color: theme?.palette?.font?.primary
|
|
@@ -4677,17 +4682,16 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4677
4682
|
display: 'flex',
|
|
4678
4683
|
justifyContent: 'center',
|
|
4679
4684
|
textAlign: 'center'
|
|
4685
|
+
},
|
|
4686
|
+
videoDetailsHeading: {
|
|
4687
|
+
fontSize: '20px',
|
|
4688
|
+
marginBottom: '0',
|
|
4689
|
+
textAlign: 'center'
|
|
4690
|
+
},
|
|
4691
|
+
videoDetailsSubHeading: {
|
|
4692
|
+
fontSize: '14px',
|
|
4693
|
+
textAlign: 'center'
|
|
4680
4694
|
}
|
|
4681
|
-
|
|
4682
|
-
// videoDetailsHeading: {
|
|
4683
|
-
// fontSize: '18px',
|
|
4684
|
-
// margin: '0'
|
|
4685
|
-
// },
|
|
4686
|
-
|
|
4687
|
-
// videoDetailsSubHeading: {
|
|
4688
|
-
// fontSize: '12px',
|
|
4689
|
-
// paddingBottom: '20px'
|
|
4690
|
-
// }
|
|
4691
4695
|
}
|
|
4692
4696
|
};
|
|
4693
4697
|
});
|
|
@@ -4791,7 +4795,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4791
4795
|
position: 'relative',
|
|
4792
4796
|
padding: ({
|
|
4793
4797
|
isMobile
|
|
4794
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
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`,
|
|
4795
4799
|
backgroundColor: theme?.palette?.background?.default,
|
|
4796
4800
|
'&, & *, & *:before, & *:after': {
|
|
4797
4801
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -4833,7 +4837,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4833
4837
|
wordBreak: 'break-word'
|
|
4834
4838
|
},
|
|
4835
4839
|
heading: {
|
|
4836
|
-
margin: `
|
|
4840
|
+
margin: `0px 0 ${theme.spacing.margin.tiny}px`,
|
|
4837
4841
|
fontSize: theme.typography.fontSize.h2,
|
|
4838
4842
|
width: '100%',
|
|
4839
4843
|
lineHeight: '70px',
|
|
@@ -4841,10 +4845,11 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4841
4845
|
textAlign: 'left',
|
|
4842
4846
|
wordBreak: 'break-word'
|
|
4843
4847
|
},
|
|
4844
|
-
sliderContainer: {
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
},
|
|
4848
|
+
// sliderContainer: {
|
|
4849
|
+
// marginLeft: '-10px',
|
|
4850
|
+
// marginRight: '-70px'
|
|
4851
|
+
// },
|
|
4852
|
+
|
|
4848
4853
|
card: {
|
|
4849
4854
|
background: theme?.palette?.background?.default,
|
|
4850
4855
|
boxShadow: theme?.shadows?.primary,
|
|
@@ -4859,9 +4864,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4859
4864
|
padding: '24px',
|
|
4860
4865
|
height: '100%',
|
|
4861
4866
|
display: 'flex',
|
|
4862
|
-
flexDirection: 'column'
|
|
4867
|
+
flexDirection: 'column',
|
|
4868
|
+
justifyContent: 'center',
|
|
4869
|
+
alignItems: 'center'
|
|
4863
4870
|
},
|
|
4864
4871
|
cardHeading: {
|
|
4872
|
+
textAlign: 'center',
|
|
4865
4873
|
fontSize: theme.typography.fontSize.h6,
|
|
4866
4874
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4867
4875
|
color: theme?.palette?.font?.default,
|
|
@@ -4869,6 +4877,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4869
4877
|
wordBreak: 'break-word'
|
|
4870
4878
|
},
|
|
4871
4879
|
imageContainer: {
|
|
4880
|
+
textAlign: 'center',
|
|
4872
4881
|
width: '96px',
|
|
4873
4882
|
height: '96px',
|
|
4874
4883
|
display: 'flex',
|
|
@@ -4886,6 +4895,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4886
4895
|
marginTop: theme.spacing.margin.tiny
|
|
4887
4896
|
},
|
|
4888
4897
|
cardPara: {
|
|
4898
|
+
textAlign: 'center',
|
|
4889
4899
|
fontSize: theme.typography.fontSize.body,
|
|
4890
4900
|
lineHeight: '22px',
|
|
4891
4901
|
color: theme?.palette?.font?.primary,
|
|
@@ -4901,11 +4911,15 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4901
4911
|
},
|
|
4902
4912
|
'@media screen and (max-width: 767px)': {
|
|
4903
4913
|
heading: {
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4914
|
+
textAlign: 'center',
|
|
4915
|
+
fontSize: '20px',
|
|
4916
|
+
margin: `0px 0 ${theme.spacing.margin.tiny}px`,
|
|
4917
|
+
lineHeight: '24px',
|
|
4907
4918
|
padding: '0'
|
|
4908
4919
|
},
|
|
4920
|
+
subTitleHeading: {
|
|
4921
|
+
textAlign: 'center'
|
|
4922
|
+
},
|
|
4909
4923
|
sliderContainer: {
|
|
4910
4924
|
marginLeft: '-6px',
|
|
4911
4925
|
marginRight: '-20px'
|
|
@@ -4920,6 +4934,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4920
4934
|
slidesToShow,
|
|
4921
4935
|
cardsCount
|
|
4922
4936
|
} = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
|
|
4937
|
+
},
|
|
4938
|
+
cardHeading: {
|
|
4939
|
+
fontSize: '18px'
|
|
4940
|
+
},
|
|
4941
|
+
cardContent: {
|
|
4942
|
+
padding: '16px'
|
|
4923
4943
|
}
|
|
4924
4944
|
}
|
|
4925
4945
|
}));
|
|
@@ -5020,7 +5040,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5020
5040
|
section: {
|
|
5021
5041
|
padding: ({
|
|
5022
5042
|
isMobile
|
|
5023
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
5043
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5024
5044
|
backgroundColor: theme?.palette?.background?.default,
|
|
5025
5045
|
'&, & *, & *:before, & *:after': {
|
|
5026
5046
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -5136,7 +5156,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5136
5156
|
padding: ({
|
|
5137
5157
|
isMobile,
|
|
5138
5158
|
cardsCount
|
|
5139
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.
|
|
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`,
|
|
5140
5160
|
'&, & *, & *:before, & *:after': {
|
|
5141
5161
|
fontFamily: theme?.typography?.fontFamily,
|
|
5142
5162
|
boxSizing: 'border-box'
|
|
@@ -5188,17 +5208,22 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5188
5208
|
} = {}) => {
|
|
5189
5209
|
if (cardsCount === 1) return '';
|
|
5190
5210
|
return `repeat(${slidesToShow},minmax(0, 1fr))`;
|
|
5191
|
-
}
|
|
5211
|
+
},
|
|
5212
|
+
padding: ({
|
|
5213
|
+
cardsCount
|
|
5214
|
+
}) => cardsCount === 1 ? '0px 100px' : ''
|
|
5192
5215
|
},
|
|
5193
5216
|
carouselImage: {
|
|
5194
|
-
height:
|
|
5195
|
-
|
|
5217
|
+
height: ({
|
|
5218
|
+
cardsCount
|
|
5219
|
+
}) => cardsCount === 1 ? '480px' : '100%',
|
|
5220
|
+
borderRadius: '24px',
|
|
5196
5221
|
objectFit: 'cover',
|
|
5222
|
+
objectPosition: 'center',
|
|
5197
5223
|
position: 'absolute',
|
|
5198
5224
|
left: 0,
|
|
5199
5225
|
top: 0,
|
|
5200
|
-
width: '100%'
|
|
5201
|
-
height: '100%'
|
|
5226
|
+
width: '100%'
|
|
5202
5227
|
},
|
|
5203
5228
|
title: {
|
|
5204
5229
|
fontSize: theme.typography.fontSize.h2,
|
|
@@ -5314,7 +5339,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5314
5339
|
width: '100%',
|
|
5315
5340
|
padding: ({
|
|
5316
5341
|
isMobile
|
|
5317
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
5342
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5318
5343
|
backgroundColor: theme?.palette?.background?.primary,
|
|
5319
5344
|
'&, & *, & *:before, & *:after': {
|
|
5320
5345
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -5495,7 +5520,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5495
5520
|
section: {
|
|
5496
5521
|
padding: ({
|
|
5497
5522
|
isMobile
|
|
5498
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
5523
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5499
5524
|
// backgroundColor: theme?.palette?.background?.primary,
|
|
5500
5525
|
|
|
5501
5526
|
'&, & *, & *:before, & *:after': {
|
|
@@ -5671,7 +5696,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5671
5696
|
overflow: 'hidden',
|
|
5672
5697
|
padding: ({
|
|
5673
5698
|
isMobile
|
|
5674
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
5699
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5675
5700
|
'&, & *, & *:before, & *:after': {
|
|
5676
5701
|
fontFamily: theme?.typography?.fontFamily,
|
|
5677
5702
|
boxSizing: 'border-box'
|
|
@@ -5821,7 +5846,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5821
5846
|
},
|
|
5822
5847
|
courseCardStrikePrice: {
|
|
5823
5848
|
fontSize: '14px',
|
|
5824
|
-
fontWeight: '600',
|
|
5825
5849
|
lineHeight: '13px',
|
|
5826
5850
|
color: '#FE9B0E',
|
|
5827
5851
|
'& span': {
|
|
@@ -5892,7 +5916,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5892
5916
|
// fontSize: '24px',
|
|
5893
5917
|
lineHeight: '36px',
|
|
5894
5918
|
color: theme?.palette?.font?.default,
|
|
5895
|
-
margin: '
|
|
5919
|
+
margin: '0px 0 12px 0',
|
|
5896
5920
|
overflow: 'hidden',
|
|
5897
5921
|
whiteSpace: 'nowrap',
|
|
5898
5922
|
textOverflow: 'ellipsis'
|
|
@@ -6195,7 +6219,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6195
6219
|
teamSuperContainer: {
|
|
6196
6220
|
padding: ({
|
|
6197
6221
|
isMobile
|
|
6198
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.
|
|
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`,
|
|
6199
6223
|
// backgroundColor: theme?.palette?.background?.primary,
|
|
6200
6224
|
|
|
6201
6225
|
'&, & *, & *:before, & *:after': {
|
|
@@ -6304,8 +6328,9 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6304
6328
|
textAlign: 'center'
|
|
6305
6329
|
},
|
|
6306
6330
|
teamTitle: {
|
|
6331
|
+
marginTop: '0px',
|
|
6307
6332
|
textAlign: 'center',
|
|
6308
|
-
fontSize: theme.typography.fontSize.
|
|
6333
|
+
fontSize: theme.typography.fontSize.h2,
|
|
6309
6334
|
lineHeight: '36px',
|
|
6310
6335
|
letterSpacing: '-1px'
|
|
6311
6336
|
},
|
|
@@ -6313,6 +6338,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6313
6338
|
margin: '0 -4px'
|
|
6314
6339
|
},
|
|
6315
6340
|
singleSlideContainer: {
|
|
6341
|
+
padding: '24px',
|
|
6316
6342
|
width: 'calc(100% - 8px)',
|
|
6317
6343
|
margin: '12px 4px'
|
|
6318
6344
|
},
|
|
@@ -6323,11 +6349,13 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6323
6349
|
},
|
|
6324
6350
|
|
|
6325
6351
|
teamDetailsHeading: {
|
|
6352
|
+
fontSize: '16px',
|
|
6326
6353
|
lineHeight: '24px',
|
|
6327
6354
|
margin: '0',
|
|
6328
|
-
color: theme?.palette?.font?.
|
|
6355
|
+
color: theme?.palette?.font?.body
|
|
6329
6356
|
},
|
|
6330
6357
|
teamDetailsSubHeading: {
|
|
6358
|
+
marginTop: '0px',
|
|
6331
6359
|
color: theme?.palette?.font?.primary
|
|
6332
6360
|
}
|
|
6333
6361
|
}
|
|
@@ -6442,7 +6470,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6442
6470
|
backgroundColor: theme?.palette?.background?.default,
|
|
6443
6471
|
padding: ({
|
|
6444
6472
|
isMobile
|
|
6445
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
6473
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
6446
6474
|
'&, & *, & *:before, & *:after': {
|
|
6447
6475
|
fontFamily: theme?.typography?.fontFamily,
|
|
6448
6476
|
boxSizing: 'border-box'
|
|
@@ -6522,7 +6550,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6522
6550
|
padding: '4px 8px 0 0'
|
|
6523
6551
|
},
|
|
6524
6552
|
addressText: {
|
|
6525
|
-
fontSize: theme.typography.fontSize.
|
|
6553
|
+
fontSize: theme.typography.fontSize.h6,
|
|
6526
6554
|
color: theme?.palette?.font?.default,
|
|
6527
6555
|
lineHeight: '24px'
|
|
6528
6556
|
},
|
|
@@ -6847,7 +6875,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6847
6875
|
alignItems: 'center',
|
|
6848
6876
|
padding: ({
|
|
6849
6877
|
isMobile
|
|
6850
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
6878
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
6851
6879
|
backgroundColor: theme?.palette?.background?.default,
|
|
6852
6880
|
'&, & *, & *:before, & *:after': {
|
|
6853
6881
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -8704,7 +8732,7 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8704
8732
|
flexDirection: 'column',
|
|
8705
8733
|
padding: ({
|
|
8706
8734
|
isMobile
|
|
8707
|
-
} = {}) => isMobile ? `
|
|
8735
|
+
} = {}) => isMobile ? `24px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`
|
|
8708
8736
|
},
|
|
8709
8737
|
tileDiv: {
|
|
8710
8738
|
width: '236px',
|