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 +96 -66
- package/build/index.es.js.map +1 -1
- package/build/index.js +96 -66
- 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',
|
|
@@ -3172,6 +3171,8 @@ const Section$3 = ({
|
|
|
3172
3171
|
isCustomWebsite,
|
|
3173
3172
|
hasContent
|
|
3174
3173
|
});
|
|
3174
|
+
const mobileImageSrc = isMobile && nodeData?.mobileImage?.metadata?.value;
|
|
3175
|
+
const desktopImageSrc = nodeData?.image?.metadata?.value;
|
|
3175
3176
|
return /*#__PURE__*/React__default["default"].createElement("section", {
|
|
3176
3177
|
className: classes.bannerCarouselCenterSection
|
|
3177
3178
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3212,7 +3213,7 @@ const Section$3 = ({
|
|
|
3212
3213
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3213
3214
|
className: hasContent && classes?.overlay
|
|
3214
3215
|
}), /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
|
|
3215
|
-
src:
|
|
3216
|
+
src: mobileImageSrc ? mobileImageSrc : desktopImageSrc,
|
|
3216
3217
|
className: classes?.centerBgImage,
|
|
3217
3218
|
sectionIndex: sectionIndex
|
|
3218
3219
|
}))));
|
|
@@ -3251,7 +3252,7 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
3251
3252
|
const useSectionStyles$5 = createUseStyles(theme => {
|
|
3252
3253
|
return {
|
|
3253
3254
|
section: {
|
|
3254
|
-
padding: `${theme.spacing.padding.
|
|
3255
|
+
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3255
3256
|
'&, & *, & *:before, & *:after': {
|
|
3256
3257
|
fontFamily: theme?.typography?.fontFamily,
|
|
3257
3258
|
boxSizing: 'border-box'
|
|
@@ -3272,7 +3273,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3272
3273
|
},
|
|
3273
3274
|
centerData: {
|
|
3274
3275
|
display: 'flex',
|
|
3275
|
-
alignItems: '
|
|
3276
|
+
alignItems: 'start',
|
|
3276
3277
|
justifyContent: 'center'
|
|
3277
3278
|
|
|
3278
3279
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
@@ -3342,10 +3343,10 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3342
3343
|
},
|
|
3343
3344
|
'@media screen and (max-width: 767px)': {
|
|
3344
3345
|
section: {
|
|
3345
|
-
padding: `${theme.spacing.padding.
|
|
3346
|
+
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px`
|
|
3346
3347
|
},
|
|
3347
3348
|
centerData: {
|
|
3348
|
-
flexDirection: 'column
|
|
3349
|
+
flexDirection: 'column',
|
|
3349
3350
|
width: '100%'
|
|
3350
3351
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3351
3352
|
},
|
|
@@ -3487,7 +3488,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3487
3488
|
justifyContent: 'center',
|
|
3488
3489
|
padding: ({
|
|
3489
3490
|
isMobile
|
|
3490
|
-
} = {}) => 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`,
|
|
3491
3492
|
'&, & *, & *:before, & *:after': {
|
|
3492
3493
|
fontFamily: theme?.typography?.fontFamily,
|
|
3493
3494
|
boxSizing: 'border-box'
|
|
@@ -3878,7 +3879,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3878
3879
|
testimonialContainer: {
|
|
3879
3880
|
background: theme?.palette?.background?.primary,
|
|
3880
3881
|
overflow: 'hidden',
|
|
3881
|
-
padding: `${theme.spacing.padding.
|
|
3882
|
+
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3882
3883
|
'&, & *, & *:before, & *:after': {
|
|
3883
3884
|
fontFamily: theme?.typography?.fontFamily,
|
|
3884
3885
|
boxSizing: 'border-box'
|
|
@@ -3991,7 +3992,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3991
3992
|
},
|
|
3992
3993
|
'@media (max-width: 768px)': {
|
|
3993
3994
|
testimonialContainer: {
|
|
3994
|
-
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.
|
|
3995
|
+
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
3995
3996
|
},
|
|
3996
3997
|
// testimonialCardAndText: {
|
|
3997
3998
|
// margin: '0 20px'
|
|
@@ -4019,6 +4020,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4019
4020
|
marginRight: '16px'
|
|
4020
4021
|
},
|
|
4021
4022
|
reviewText: {
|
|
4023
|
+
lineHeight: '22px',
|
|
4022
4024
|
marginBottom: '16px'
|
|
4023
4025
|
},
|
|
4024
4026
|
singleCard: {
|
|
@@ -4029,7 +4031,8 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4029
4031
|
// paddingTop: '8px',
|
|
4030
4032
|
overflow: 'hidden',
|
|
4031
4033
|
whiteSpace: 'nowrap',
|
|
4032
|
-
textOverflow: 'ellipsis'
|
|
4034
|
+
textOverflow: 'ellipsis',
|
|
4035
|
+
fontSize: '20px'
|
|
4033
4036
|
},
|
|
4034
4037
|
userImageContainer: {
|
|
4035
4038
|
width: '48px',
|
|
@@ -4356,7 +4359,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4356
4359
|
justifyContent: 'center',
|
|
4357
4360
|
padding: ({
|
|
4358
4361
|
isMobile
|
|
4359
|
-
} = {}) => 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`,
|
|
4360
4363
|
'&, & *, & *:before, & *:after': {
|
|
4361
4364
|
fontFamily: theme?.typography?.fontFamily
|
|
4362
4365
|
// boxSizing: 'border-box'
|
|
@@ -4383,9 +4386,10 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4383
4386
|
letterSpacing: '3px',
|
|
4384
4387
|
textTransform: 'uppercase',
|
|
4385
4388
|
color: theme.palette.font.default,
|
|
4386
|
-
wordBreak: 'break-word'
|
|
4387
|
-
marginBottom: '8px'
|
|
4389
|
+
wordBreak: 'break-word'
|
|
4390
|
+
// marginBottom: '8px'
|
|
4388
4391
|
},
|
|
4392
|
+
|
|
4389
4393
|
videoTestimonialTitle: {
|
|
4390
4394
|
fontSize: theme.typography.fontSize.h2,
|
|
4391
4395
|
// lineHeight: '71px',
|
|
@@ -4462,6 +4466,9 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4462
4466
|
videoDetailsHeading: {
|
|
4463
4467
|
lineHeight: 'normal'
|
|
4464
4468
|
},
|
|
4469
|
+
videoDetailsSubContent: {
|
|
4470
|
+
textAlign: 'center'
|
|
4471
|
+
},
|
|
4465
4472
|
videoTestimonialTitle: {
|
|
4466
4473
|
lineHeight: 'normal',
|
|
4467
4474
|
letterSpacing: '-1px'
|
|
@@ -4568,7 +4575,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4568
4575
|
videoSuperContainer: {
|
|
4569
4576
|
padding: ({
|
|
4570
4577
|
isMobile
|
|
4571
|
-
} = {}) => 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`,
|
|
4572
4579
|
backgroundColor: theme?.palette?.background?.primary,
|
|
4573
4580
|
'&, & *, & *:before, & *:after': {
|
|
4574
4581
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -4611,11 +4618,11 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4611
4618
|
},
|
|
4612
4619
|
singleSlideContainer: {
|
|
4613
4620
|
backgroundColor: theme?.palette?.background?.default,
|
|
4614
|
-
margin: '20px',
|
|
4615
|
-
width: 'calc(100% -
|
|
4621
|
+
// margin: '20px',
|
|
4622
|
+
width: 'calc(100% - 24px)',
|
|
4616
4623
|
height: 'calc(100% - 40px)',
|
|
4617
4624
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
4618
|
-
padding: '
|
|
4625
|
+
padding: '64px',
|
|
4619
4626
|
boxShadow: theme?.shadows?.primary
|
|
4620
4627
|
},
|
|
4621
4628
|
contentRow: {
|
|
@@ -4651,7 +4658,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4651
4658
|
wordBreak: 'break-word'
|
|
4652
4659
|
},
|
|
4653
4660
|
videoDetailsSubHeading: {
|
|
4654
|
-
fontSize: theme.typography.fontSize.
|
|
4661
|
+
fontSize: theme.typography.fontSize.body,
|
|
4655
4662
|
lineHeight: '24px',
|
|
4656
4663
|
wordBreak: 'break-word',
|
|
4657
4664
|
color: theme?.palette?.font?.primary
|
|
@@ -4691,17 +4698,16 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4691
4698
|
display: 'flex',
|
|
4692
4699
|
justifyContent: 'center',
|
|
4693
4700
|
textAlign: 'center'
|
|
4701
|
+
},
|
|
4702
|
+
videoDetailsHeading: {
|
|
4703
|
+
fontSize: '20px',
|
|
4704
|
+
marginBottom: '0',
|
|
4705
|
+
textAlign: 'center'
|
|
4706
|
+
},
|
|
4707
|
+
videoDetailsSubHeading: {
|
|
4708
|
+
fontSize: '14px',
|
|
4709
|
+
textAlign: 'center'
|
|
4694
4710
|
}
|
|
4695
|
-
|
|
4696
|
-
// videoDetailsHeading: {
|
|
4697
|
-
// fontSize: '18px',
|
|
4698
|
-
// margin: '0'
|
|
4699
|
-
// },
|
|
4700
|
-
|
|
4701
|
-
// videoDetailsSubHeading: {
|
|
4702
|
-
// fontSize: '12px',
|
|
4703
|
-
// paddingBottom: '20px'
|
|
4704
|
-
// }
|
|
4705
4711
|
}
|
|
4706
4712
|
};
|
|
4707
4713
|
});
|
|
@@ -4805,7 +4811,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4805
4811
|
position: 'relative',
|
|
4806
4812
|
padding: ({
|
|
4807
4813
|
isMobile
|
|
4808
|
-
} = {}) => 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`,
|
|
4809
4815
|
backgroundColor: theme?.palette?.background?.default,
|
|
4810
4816
|
'&, & *, & *:before, & *:after': {
|
|
4811
4817
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -4847,7 +4853,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4847
4853
|
wordBreak: 'break-word'
|
|
4848
4854
|
},
|
|
4849
4855
|
heading: {
|
|
4850
|
-
margin: `
|
|
4856
|
+
margin: `0px 0 ${theme.spacing.margin.tiny}px`,
|
|
4851
4857
|
fontSize: theme.typography.fontSize.h2,
|
|
4852
4858
|
width: '100%',
|
|
4853
4859
|
lineHeight: '70px',
|
|
@@ -4855,10 +4861,11 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4855
4861
|
textAlign: 'left',
|
|
4856
4862
|
wordBreak: 'break-word'
|
|
4857
4863
|
},
|
|
4858
|
-
sliderContainer: {
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
},
|
|
4864
|
+
// sliderContainer: {
|
|
4865
|
+
// marginLeft: '-10px',
|
|
4866
|
+
// marginRight: '-70px'
|
|
4867
|
+
// },
|
|
4868
|
+
|
|
4862
4869
|
card: {
|
|
4863
4870
|
background: theme?.palette?.background?.default,
|
|
4864
4871
|
boxShadow: theme?.shadows?.primary,
|
|
@@ -4873,9 +4880,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4873
4880
|
padding: '24px',
|
|
4874
4881
|
height: '100%',
|
|
4875
4882
|
display: 'flex',
|
|
4876
|
-
flexDirection: 'column'
|
|
4883
|
+
flexDirection: 'column',
|
|
4884
|
+
justifyContent: 'center',
|
|
4885
|
+
alignItems: 'center'
|
|
4877
4886
|
},
|
|
4878
4887
|
cardHeading: {
|
|
4888
|
+
textAlign: 'center',
|
|
4879
4889
|
fontSize: theme.typography.fontSize.h6,
|
|
4880
4890
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4881
4891
|
color: theme?.palette?.font?.default,
|
|
@@ -4883,6 +4893,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4883
4893
|
wordBreak: 'break-word'
|
|
4884
4894
|
},
|
|
4885
4895
|
imageContainer: {
|
|
4896
|
+
textAlign: 'center',
|
|
4886
4897
|
width: '96px',
|
|
4887
4898
|
height: '96px',
|
|
4888
4899
|
display: 'flex',
|
|
@@ -4900,6 +4911,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4900
4911
|
marginTop: theme.spacing.margin.tiny
|
|
4901
4912
|
},
|
|
4902
4913
|
cardPara: {
|
|
4914
|
+
textAlign: 'center',
|
|
4903
4915
|
fontSize: theme.typography.fontSize.body,
|
|
4904
4916
|
lineHeight: '22px',
|
|
4905
4917
|
color: theme?.palette?.font?.primary,
|
|
@@ -4915,11 +4927,15 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4915
4927
|
},
|
|
4916
4928
|
'@media screen and (max-width: 767px)': {
|
|
4917
4929
|
heading: {
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4930
|
+
textAlign: 'center',
|
|
4931
|
+
fontSize: '20px',
|
|
4932
|
+
margin: `0px 0 ${theme.spacing.margin.tiny}px`,
|
|
4933
|
+
lineHeight: '24px',
|
|
4921
4934
|
padding: '0'
|
|
4922
4935
|
},
|
|
4936
|
+
subTitleHeading: {
|
|
4937
|
+
textAlign: 'center'
|
|
4938
|
+
},
|
|
4923
4939
|
sliderContainer: {
|
|
4924
4940
|
marginLeft: '-6px',
|
|
4925
4941
|
marginRight: '-20px'
|
|
@@ -4934,6 +4950,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4934
4950
|
slidesToShow,
|
|
4935
4951
|
cardsCount
|
|
4936
4952
|
} = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
|
|
4953
|
+
},
|
|
4954
|
+
cardHeading: {
|
|
4955
|
+
fontSize: '18px'
|
|
4956
|
+
},
|
|
4957
|
+
cardContent: {
|
|
4958
|
+
padding: '16px'
|
|
4937
4959
|
}
|
|
4938
4960
|
}
|
|
4939
4961
|
}));
|
|
@@ -5034,7 +5056,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5034
5056
|
section: {
|
|
5035
5057
|
padding: ({
|
|
5036
5058
|
isMobile
|
|
5037
|
-
} = {}) => 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`,
|
|
5038
5060
|
backgroundColor: theme?.palette?.background?.default,
|
|
5039
5061
|
'&, & *, & *:before, & *:after': {
|
|
5040
5062
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -5150,7 +5172,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5150
5172
|
padding: ({
|
|
5151
5173
|
isMobile,
|
|
5152
5174
|
cardsCount
|
|
5153
|
-
} = {}) => 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`,
|
|
5154
5176
|
'&, & *, & *:before, & *:after': {
|
|
5155
5177
|
fontFamily: theme?.typography?.fontFamily,
|
|
5156
5178
|
boxSizing: 'border-box'
|
|
@@ -5202,17 +5224,22 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5202
5224
|
} = {}) => {
|
|
5203
5225
|
if (cardsCount === 1) return '';
|
|
5204
5226
|
return `repeat(${slidesToShow},minmax(0, 1fr))`;
|
|
5205
|
-
}
|
|
5227
|
+
},
|
|
5228
|
+
padding: ({
|
|
5229
|
+
cardsCount
|
|
5230
|
+
}) => cardsCount === 1 ? '0px 100px' : ''
|
|
5206
5231
|
},
|
|
5207
5232
|
carouselImage: {
|
|
5208
|
-
height:
|
|
5209
|
-
|
|
5233
|
+
height: ({
|
|
5234
|
+
cardsCount
|
|
5235
|
+
}) => cardsCount === 1 ? '480px' : '100%',
|
|
5236
|
+
borderRadius: '24px',
|
|
5210
5237
|
objectFit: 'cover',
|
|
5238
|
+
objectPosition: 'center',
|
|
5211
5239
|
position: 'absolute',
|
|
5212
5240
|
left: 0,
|
|
5213
5241
|
top: 0,
|
|
5214
|
-
width: '100%'
|
|
5215
|
-
height: '100%'
|
|
5242
|
+
width: '100%'
|
|
5216
5243
|
},
|
|
5217
5244
|
title: {
|
|
5218
5245
|
fontSize: theme.typography.fontSize.h2,
|
|
@@ -5328,7 +5355,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5328
5355
|
width: '100%',
|
|
5329
5356
|
padding: ({
|
|
5330
5357
|
isMobile
|
|
5331
|
-
} = {}) => 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`,
|
|
5332
5359
|
backgroundColor: theme?.palette?.background?.primary,
|
|
5333
5360
|
'&, & *, & *:before, & *:after': {
|
|
5334
5361
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -5509,7 +5536,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5509
5536
|
section: {
|
|
5510
5537
|
padding: ({
|
|
5511
5538
|
isMobile
|
|
5512
|
-
} = {}) => 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`,
|
|
5513
5540
|
// backgroundColor: theme?.palette?.background?.primary,
|
|
5514
5541
|
|
|
5515
5542
|
'&, & *, & *:before, & *:after': {
|
|
@@ -5685,7 +5712,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5685
5712
|
overflow: 'hidden',
|
|
5686
5713
|
padding: ({
|
|
5687
5714
|
isMobile
|
|
5688
|
-
} = {}) => 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`,
|
|
5689
5716
|
'&, & *, & *:before, & *:after': {
|
|
5690
5717
|
fontFamily: theme?.typography?.fontFamily,
|
|
5691
5718
|
boxSizing: 'border-box'
|
|
@@ -5835,7 +5862,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5835
5862
|
},
|
|
5836
5863
|
courseCardStrikePrice: {
|
|
5837
5864
|
fontSize: '14px',
|
|
5838
|
-
fontWeight: '600',
|
|
5839
5865
|
lineHeight: '13px',
|
|
5840
5866
|
color: '#FE9B0E',
|
|
5841
5867
|
'& span': {
|
|
@@ -5906,7 +5932,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5906
5932
|
// fontSize: '24px',
|
|
5907
5933
|
lineHeight: '36px',
|
|
5908
5934
|
color: theme?.palette?.font?.default,
|
|
5909
|
-
margin: '
|
|
5935
|
+
margin: '0px 0 12px 0',
|
|
5910
5936
|
overflow: 'hidden',
|
|
5911
5937
|
whiteSpace: 'nowrap',
|
|
5912
5938
|
textOverflow: 'ellipsis'
|
|
@@ -6209,7 +6235,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6209
6235
|
teamSuperContainer: {
|
|
6210
6236
|
padding: ({
|
|
6211
6237
|
isMobile
|
|
6212
|
-
} = {}) => 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`,
|
|
6213
6239
|
// backgroundColor: theme?.palette?.background?.primary,
|
|
6214
6240
|
|
|
6215
6241
|
'&, & *, & *:before, & *:after': {
|
|
@@ -6318,8 +6344,9 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6318
6344
|
textAlign: 'center'
|
|
6319
6345
|
},
|
|
6320
6346
|
teamTitle: {
|
|
6347
|
+
marginTop: '0px',
|
|
6321
6348
|
textAlign: 'center',
|
|
6322
|
-
fontSize: theme.typography.fontSize.
|
|
6349
|
+
fontSize: theme.typography.fontSize.h2,
|
|
6323
6350
|
lineHeight: '36px',
|
|
6324
6351
|
letterSpacing: '-1px'
|
|
6325
6352
|
},
|
|
@@ -6327,6 +6354,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6327
6354
|
margin: '0 -4px'
|
|
6328
6355
|
},
|
|
6329
6356
|
singleSlideContainer: {
|
|
6357
|
+
padding: '24px',
|
|
6330
6358
|
width: 'calc(100% - 8px)',
|
|
6331
6359
|
margin: '12px 4px'
|
|
6332
6360
|
},
|
|
@@ -6337,11 +6365,13 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6337
6365
|
},
|
|
6338
6366
|
|
|
6339
6367
|
teamDetailsHeading: {
|
|
6368
|
+
fontSize: '16px',
|
|
6340
6369
|
lineHeight: '24px',
|
|
6341
6370
|
margin: '0',
|
|
6342
|
-
color: theme?.palette?.font?.
|
|
6371
|
+
color: theme?.palette?.font?.body
|
|
6343
6372
|
},
|
|
6344
6373
|
teamDetailsSubHeading: {
|
|
6374
|
+
marginTop: '0px',
|
|
6345
6375
|
color: theme?.palette?.font?.primary
|
|
6346
6376
|
}
|
|
6347
6377
|
}
|
|
@@ -6456,7 +6486,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6456
6486
|
backgroundColor: theme?.palette?.background?.default,
|
|
6457
6487
|
padding: ({
|
|
6458
6488
|
isMobile
|
|
6459
|
-
} = {}) => 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`,
|
|
6460
6490
|
'&, & *, & *:before, & *:after': {
|
|
6461
6491
|
fontFamily: theme?.typography?.fontFamily,
|
|
6462
6492
|
boxSizing: 'border-box'
|
|
@@ -6536,7 +6566,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6536
6566
|
padding: '4px 8px 0 0'
|
|
6537
6567
|
},
|
|
6538
6568
|
addressText: {
|
|
6539
|
-
fontSize: theme.typography.fontSize.
|
|
6569
|
+
fontSize: theme.typography.fontSize.h6,
|
|
6540
6570
|
color: theme?.palette?.font?.default,
|
|
6541
6571
|
lineHeight: '24px'
|
|
6542
6572
|
},
|
|
@@ -6861,7 +6891,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6861
6891
|
alignItems: 'center',
|
|
6862
6892
|
padding: ({
|
|
6863
6893
|
isMobile
|
|
6864
|
-
} = {}) => 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`,
|
|
6865
6895
|
backgroundColor: theme?.palette?.background?.default,
|
|
6866
6896
|
'&, & *, & *:before, & *:after': {
|
|
6867
6897
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -8718,7 +8748,7 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8718
8748
|
flexDirection: 'column',
|
|
8719
8749
|
padding: ({
|
|
8720
8750
|
isMobile
|
|
8721
|
-
} = {}) => isMobile ? `
|
|
8751
|
+
} = {}) => isMobile ? `24px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`
|
|
8722
8752
|
},
|
|
8723
8753
|
tileDiv: {
|
|
8724
8754
|
width: '236px',
|