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.js
CHANGED
|
@@ -325,7 +325,7 @@ const colors = {
|
|
|
325
325
|
// shades of grey
|
|
326
326
|
darkGrey: '#333333',
|
|
327
327
|
grey: '#666666',
|
|
328
|
-
lightGrey: '#
|
|
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: '
|
|
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: '
|
|
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
|
-
|
|
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: '
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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: '
|
|
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.
|
|
3346
|
+
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px`
|
|
3348
3347
|
},
|
|
3349
3348
|
centerData: {
|
|
3350
|
-
flexDirection: 'column
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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% -
|
|
4621
|
+
// margin: '20px',
|
|
4622
|
+
width: 'calc(100% - 24px)',
|
|
4618
4623
|
height: 'calc(100% - 40px)',
|
|
4619
4624
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
4620
|
-
padding: '
|
|
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.
|
|
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.
|
|
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: `
|
|
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
|
-
|
|
4862
|
-
|
|
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
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
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.
|
|
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.
|
|
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:
|
|
5211
|
-
|
|
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,
|
|
@@ -5330,7 +5355,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5330
5355
|
width: '100%',
|
|
5331
5356
|
padding: ({
|
|
5332
5357
|
isMobile
|
|
5333
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
5358
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5334
5359
|
backgroundColor: theme?.palette?.background?.primary,
|
|
5335
5360
|
'&, & *, & *:before, & *:after': {
|
|
5336
5361
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -5511,7 +5536,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5511
5536
|
section: {
|
|
5512
5537
|
padding: ({
|
|
5513
5538
|
isMobile
|
|
5514
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
5539
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5515
5540
|
// backgroundColor: theme?.palette?.background?.primary,
|
|
5516
5541
|
|
|
5517
5542
|
'&, & *, & *:before, & *:after': {
|
|
@@ -5687,7 +5712,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5687
5712
|
overflow: 'hidden',
|
|
5688
5713
|
padding: ({
|
|
5689
5714
|
isMobile
|
|
5690
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
5715
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5691
5716
|
'&, & *, & *:before, & *:after': {
|
|
5692
5717
|
fontFamily: theme?.typography?.fontFamily,
|
|
5693
5718
|
boxSizing: 'border-box'
|
|
@@ -5837,7 +5862,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5837
5862
|
},
|
|
5838
5863
|
courseCardStrikePrice: {
|
|
5839
5864
|
fontSize: '14px',
|
|
5840
|
-
fontWeight: '600',
|
|
5841
5865
|
lineHeight: '13px',
|
|
5842
5866
|
color: '#FE9B0E',
|
|
5843
5867
|
'& span': {
|
|
@@ -5908,7 +5932,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5908
5932
|
// fontSize: '24px',
|
|
5909
5933
|
lineHeight: '36px',
|
|
5910
5934
|
color: theme?.palette?.font?.default,
|
|
5911
|
-
margin: '
|
|
5935
|
+
margin: '0px 0 12px 0',
|
|
5912
5936
|
overflow: 'hidden',
|
|
5913
5937
|
whiteSpace: 'nowrap',
|
|
5914
5938
|
textOverflow: 'ellipsis'
|
|
@@ -6211,7 +6235,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6211
6235
|
teamSuperContainer: {
|
|
6212
6236
|
padding: ({
|
|
6213
6237
|
isMobile
|
|
6214
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.
|
|
6238
|
+
} = {}) => 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
6239
|
// backgroundColor: theme?.palette?.background?.primary,
|
|
6216
6240
|
|
|
6217
6241
|
'&, & *, & *:before, & *:after': {
|
|
@@ -6320,8 +6344,9 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6320
6344
|
textAlign: 'center'
|
|
6321
6345
|
},
|
|
6322
6346
|
teamTitle: {
|
|
6347
|
+
marginTop: '0px',
|
|
6323
6348
|
textAlign: 'center',
|
|
6324
|
-
fontSize: theme.typography.fontSize.
|
|
6349
|
+
fontSize: theme.typography.fontSize.h2,
|
|
6325
6350
|
lineHeight: '36px',
|
|
6326
6351
|
letterSpacing: '-1px'
|
|
6327
6352
|
},
|
|
@@ -6329,6 +6354,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6329
6354
|
margin: '0 -4px'
|
|
6330
6355
|
},
|
|
6331
6356
|
singleSlideContainer: {
|
|
6357
|
+
padding: '24px',
|
|
6332
6358
|
width: 'calc(100% - 8px)',
|
|
6333
6359
|
margin: '12px 4px'
|
|
6334
6360
|
},
|
|
@@ -6339,11 +6365,13 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6339
6365
|
},
|
|
6340
6366
|
|
|
6341
6367
|
teamDetailsHeading: {
|
|
6368
|
+
fontSize: '16px',
|
|
6342
6369
|
lineHeight: '24px',
|
|
6343
6370
|
margin: '0',
|
|
6344
|
-
color: theme?.palette?.font?.
|
|
6371
|
+
color: theme?.palette?.font?.body
|
|
6345
6372
|
},
|
|
6346
6373
|
teamDetailsSubHeading: {
|
|
6374
|
+
marginTop: '0px',
|
|
6347
6375
|
color: theme?.palette?.font?.primary
|
|
6348
6376
|
}
|
|
6349
6377
|
}
|
|
@@ -6458,7 +6486,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6458
6486
|
backgroundColor: theme?.palette?.background?.default,
|
|
6459
6487
|
padding: ({
|
|
6460
6488
|
isMobile
|
|
6461
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
6489
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
6462
6490
|
'&, & *, & *:before, & *:after': {
|
|
6463
6491
|
fontFamily: theme?.typography?.fontFamily,
|
|
6464
6492
|
boxSizing: 'border-box'
|
|
@@ -6538,7 +6566,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6538
6566
|
padding: '4px 8px 0 0'
|
|
6539
6567
|
},
|
|
6540
6568
|
addressText: {
|
|
6541
|
-
fontSize: theme.typography.fontSize.
|
|
6569
|
+
fontSize: theme.typography.fontSize.h6,
|
|
6542
6570
|
color: theme?.palette?.font?.default,
|
|
6543
6571
|
lineHeight: '24px'
|
|
6544
6572
|
},
|
|
@@ -6863,7 +6891,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6863
6891
|
alignItems: 'center',
|
|
6864
6892
|
padding: ({
|
|
6865
6893
|
isMobile
|
|
6866
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
6894
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
6867
6895
|
backgroundColor: theme?.palette?.background?.default,
|
|
6868
6896
|
'&, & *, & *:before, & *:after': {
|
|
6869
6897
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -8720,7 +8748,7 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8720
8748
|
flexDirection: 'column',
|
|
8721
8749
|
padding: ({
|
|
8722
8750
|
isMobile
|
|
8723
|
-
} = {}) => isMobile ? `
|
|
8751
|
+
} = {}) => isMobile ? `24px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`
|
|
8724
8752
|
},
|
|
8725
8753
|
tileDiv: {
|
|
8726
8754
|
width: '236px',
|