diy-template-components 1.0.45 → 1.0.47
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 +524 -525
- package/build/index.es.js.map +1 -1
- package/build/index.js +524 -525
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -364,117 +364,118 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
|
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
366
|
|
|
367
|
-
const buttonStyles = createUseStyles(theme =>
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
disabled
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
disabled
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
},
|
|
395
|
-
secondary: {
|
|
396
|
-
width: ({
|
|
397
|
-
fluid
|
|
398
|
-
} = {}) => fluid ? '100%' : '',
|
|
399
|
-
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
400
|
-
fontSize: '14px',
|
|
401
|
-
fontWeight: '700',
|
|
402
|
-
display: 'inline-block',
|
|
403
|
-
textDecoration: 'none',
|
|
404
|
-
lineHeight: '18px',
|
|
405
|
-
color: ({
|
|
406
|
-
disabled
|
|
407
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
408
|
-
background: ({
|
|
409
|
-
disabled
|
|
410
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
411
|
-
border: ({
|
|
412
|
-
disabled
|
|
413
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
|
|
414
|
-
cursor: ({
|
|
415
|
-
disabled
|
|
416
|
-
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
417
|
-
maxWidth: '100%',
|
|
418
|
-
display: 'inline-block',
|
|
419
|
-
wordBreak: 'break-word',
|
|
420
|
-
flexShrink: '0'
|
|
421
|
-
},
|
|
422
|
-
tertiary: {
|
|
423
|
-
width: ({
|
|
424
|
-
fluid
|
|
425
|
-
} = {}) => fluid ? '100%' : '',
|
|
426
|
-
fontWeight: '400',
|
|
427
|
-
fontSize: '16px',
|
|
428
|
-
lineHeight: '20px',
|
|
429
|
-
display: 'flex',
|
|
430
|
-
alignItems: 'center',
|
|
431
|
-
border: 'none',
|
|
432
|
-
color: ({
|
|
433
|
-
disabled
|
|
434
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
435
|
-
background: ({
|
|
436
|
-
disabled
|
|
437
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
438
|
-
cursor: ({
|
|
439
|
-
disabled
|
|
440
|
-
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
441
|
-
maxWidth: '100%',
|
|
442
|
-
display: 'inline-block',
|
|
443
|
-
wordBreak: 'break-word',
|
|
444
|
-
flexShrink: '0',
|
|
445
|
-
'&:hover': {
|
|
446
|
-
background: theme.palette.primary.lightest,
|
|
447
|
-
borderRadius: '4px'
|
|
367
|
+
const buttonStyles = createUseStyles(theme => {
|
|
368
|
+
console.log('themexxxxdsfb', theme);
|
|
369
|
+
return {
|
|
370
|
+
primary: {
|
|
371
|
+
width: ({
|
|
372
|
+
fluid
|
|
373
|
+
} = {}) => fluid ? '100%' : '',
|
|
374
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
375
|
+
fontWeight: '700',
|
|
376
|
+
fontSize: '14px',
|
|
377
|
+
lineHeight: '18px',
|
|
378
|
+
textAlign: 'center',
|
|
379
|
+
color: ({
|
|
380
|
+
disabled
|
|
381
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
|
|
382
|
+
background: ({
|
|
383
|
+
disabled
|
|
384
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
|
|
385
|
+
border: 'none',
|
|
386
|
+
textDecoration: 'none',
|
|
387
|
+
cursor: ({
|
|
388
|
+
disabled
|
|
389
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
390
|
+
maxWidth: '100%',
|
|
391
|
+
display: 'inline-block',
|
|
392
|
+
wordBreak: 'break-word',
|
|
393
|
+
flexShrink: '0'
|
|
448
394
|
},
|
|
449
|
-
|
|
395
|
+
secondary: {
|
|
396
|
+
width: ({
|
|
397
|
+
fluid
|
|
398
|
+
} = {}) => fluid ? '100%' : '',
|
|
399
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
400
|
+
fontSize: '14px',
|
|
450
401
|
fontWeight: '700',
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
402
|
+
display: 'inline-block',
|
|
403
|
+
textDecoration: 'none',
|
|
404
|
+
lineHeight: '18px',
|
|
405
|
+
color: ({
|
|
406
|
+
disabled
|
|
407
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
|
|
408
|
+
background: ({
|
|
409
|
+
disabled
|
|
410
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.ctaColor,
|
|
411
|
+
border: ({
|
|
412
|
+
disabled
|
|
413
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
|
|
414
|
+
cursor: ({
|
|
415
|
+
disabled
|
|
416
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
417
|
+
maxWidth: '100%',
|
|
418
|
+
display: 'inline-block',
|
|
419
|
+
wordBreak: 'break-word',
|
|
420
|
+
flexShrink: '0'
|
|
421
|
+
},
|
|
422
|
+
tertiary: {
|
|
423
|
+
width: ({
|
|
424
|
+
fluid
|
|
425
|
+
} = {}) => fluid ? '100%' : '',
|
|
426
|
+
fontWeight: '400',
|
|
427
|
+
fontSize: '16px',
|
|
428
|
+
lineHeight: '20px',
|
|
429
|
+
display: 'flex',
|
|
430
|
+
alignItems: 'center',
|
|
431
|
+
border: 'none',
|
|
432
|
+
color: ({
|
|
433
|
+
disabled
|
|
434
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
435
|
+
background: ({
|
|
436
|
+
disabled
|
|
437
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
438
|
+
cursor: ({
|
|
439
|
+
disabled
|
|
440
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
441
|
+
maxWidth: '100%',
|
|
442
|
+
display: 'inline-block',
|
|
443
|
+
wordBreak: 'break-word',
|
|
444
|
+
flexShrink: '0',
|
|
445
|
+
'&:hover': {
|
|
446
|
+
background: theme.palette.primary.lightest,
|
|
447
|
+
borderRadius: '4px'
|
|
448
|
+
},
|
|
449
|
+
'&$active': {
|
|
450
|
+
fontWeight: '700',
|
|
451
|
+
background: theme.palette.primary.lightest,
|
|
452
|
+
borderRadius: theme.shape.borderRadius.small,
|
|
453
|
+
color: theme.palette.primary.main
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
anchorClass: {
|
|
457
|
+
textDecoration: 'none'
|
|
458
|
+
},
|
|
459
|
+
active: {},
|
|
460
|
+
large: {
|
|
461
|
+
padding: '20px 24px'
|
|
462
|
+
},
|
|
463
|
+
medium: {
|
|
464
|
+
padding: '16px 24px'
|
|
465
|
+
},
|
|
466
|
+
small: {
|
|
467
|
+
padding: '12px 16px'
|
|
468
|
+
},
|
|
469
|
+
'@media screen and (max-width: 767px)': {
|
|
470
|
+
active: {
|
|
471
|
+
fontWeight: 'initial',
|
|
472
|
+
background: theme?.palette?.background?.default,
|
|
473
|
+
borderRadius: '0',
|
|
474
|
+
color: theme.palette.primary.main
|
|
475
|
+
}
|
|
475
476
|
}
|
|
476
|
-
}
|
|
477
|
-
})
|
|
477
|
+
};
|
|
478
|
+
});
|
|
478
479
|
|
|
479
480
|
function useLinkBuilder(data) {
|
|
480
481
|
const {
|
|
@@ -1903,7 +1904,7 @@ function Footer({
|
|
|
1903
1904
|
className: classes.lowerContainer
|
|
1904
1905
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1905
1906
|
className: classes.bottomLeftText
|
|
1906
|
-
}, "
|
|
1907
|
+
}, "2022 All Rights Reserved"), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1907
1908
|
className: classes.poweredByContainer
|
|
1908
1909
|
}, /*#__PURE__*/React__default["default"].createElement("p", null, "Powered by"), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
1909
1910
|
title: "Powered by Classplus",
|
|
@@ -1966,15 +1967,15 @@ const rustTheme = {
|
|
|
1966
1967
|
light: colors.lightRust,
|
|
1967
1968
|
lightest: colors.lightestRust
|
|
1968
1969
|
};
|
|
1969
|
-
const generateThemePalette =
|
|
1970
|
-
primary:
|
|
1970
|
+
const generateThemePalette = solidColors => ({
|
|
1971
|
+
primary: solidColors,
|
|
1971
1972
|
background: {
|
|
1972
1973
|
default: colors.white,
|
|
1973
|
-
primary:
|
|
1974
|
+
primary: solidColors.lightest
|
|
1974
1975
|
},
|
|
1975
1976
|
border: {
|
|
1976
|
-
primary:
|
|
1977
|
-
secondary:
|
|
1977
|
+
primary: solidColors.main,
|
|
1978
|
+
secondary: solidColors.light
|
|
1978
1979
|
},
|
|
1979
1980
|
shadow: {
|
|
1980
1981
|
primary: hexToRgbA(colors.black, alpha.tenPercent),
|
|
@@ -2055,19 +2056,17 @@ const fontSize = {
|
|
|
2055
2056
|
h4: 32,
|
|
2056
2057
|
h5: 24,
|
|
2057
2058
|
h6: 20,
|
|
2058
|
-
subHead:
|
|
2059
|
-
|
|
2060
|
-
body: 16
|
|
2059
|
+
subHead: 16,
|
|
2060
|
+
body: 14
|
|
2061
2061
|
};
|
|
2062
2062
|
const fontSizeMob = {
|
|
2063
2063
|
h1: 40,
|
|
2064
|
-
h2:
|
|
2065
|
-
h3:
|
|
2064
|
+
h2: 20,
|
|
2065
|
+
h3: 32,
|
|
2066
2066
|
h4: 16,
|
|
2067
2067
|
h5: 16,
|
|
2068
2068
|
h6: 14,
|
|
2069
2069
|
subHead: 14,
|
|
2070
|
-
description: 16,
|
|
2071
2070
|
body: 14
|
|
2072
2071
|
};
|
|
2073
2072
|
const fontWeight = {
|
|
@@ -2312,10 +2311,10 @@ function PageRenderer$1({
|
|
|
2312
2311
|
const useSectionStyles$8 = createUseStyles(theme => ({
|
|
2313
2312
|
bannerCarouselRightSection: {
|
|
2314
2313
|
position: 'relative',
|
|
2314
|
+
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
|
|
2315
2315
|
padding: ({
|
|
2316
2316
|
isMobile
|
|
2317
2317
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2318
|
-
backgroundColor: theme?.palette?.background?.primary,
|
|
2319
2318
|
'&, & *, & *:before, & *:after': {
|
|
2320
2319
|
fontFamily: theme?.typography?.fontFamily,
|
|
2321
2320
|
boxSizing: 'border-box'
|
|
@@ -2372,8 +2371,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2372
2371
|
subTitleHeading: {
|
|
2373
2372
|
marginBottom: '8px',
|
|
2374
2373
|
fontSize: theme.typography.fontSize.subHead,
|
|
2375
|
-
|
|
2376
|
-
color: theme?.palette?.font?.default,
|
|
2374
|
+
color: theme?.palette?.font?.tertiary,
|
|
2377
2375
|
wordBreak: 'break-word',
|
|
2378
2376
|
maxWidth: '100%'
|
|
2379
2377
|
},
|
|
@@ -2541,7 +2539,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2541
2539
|
height: sizeHandler,
|
|
2542
2540
|
border: ({
|
|
2543
2541
|
inverted
|
|
2544
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2542
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.solidColors?.ctaColor}`,
|
|
2545
2543
|
borderRadius: '50%',
|
|
2546
2544
|
display: 'flex',
|
|
2547
2545
|
justifyContent: 'center',
|
|
@@ -2563,7 +2561,7 @@ function ArrowButton(props) {
|
|
|
2563
2561
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
2564
2562
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2565
2563
|
name: "Angle",
|
|
2566
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2564
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.solidColors?.ctaColor,
|
|
2567
2565
|
inverted: true
|
|
2568
2566
|
}));
|
|
2569
2567
|
}
|
|
@@ -2763,185 +2761,182 @@ var index$l = /*#__PURE__*/Object.freeze({
|
|
|
2763
2761
|
'default': BannerCarouselRight
|
|
2764
2762
|
});
|
|
2765
2763
|
|
|
2766
|
-
const useSectionStyles$7 = createUseStyles(theme =>
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
'& h2,& h3': {
|
|
2782
|
-
marginTop: '0'
|
|
2783
|
-
}
|
|
2784
|
-
},
|
|
2785
|
-
sectionContainer: {
|
|
2786
|
-
margin: '0 auto',
|
|
2787
|
-
maxWidth: ({
|
|
2788
|
-
containerWidth
|
|
2789
|
-
} = {}) => containerWidth
|
|
2790
|
-
},
|
|
2791
|
-
subTitleHeading: {
|
|
2792
|
-
marginBottom: '8px',
|
|
2793
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
2794
|
-
color: theme?.palette?.font?.default,
|
|
2795
|
-
alignItems: 'center',
|
|
2796
|
-
textAlign: 'center',
|
|
2797
|
-
wordBreak: 'break-word',
|
|
2798
|
-
letterSpacing: '3px',
|
|
2799
|
-
textTransform: 'uppercase'
|
|
2800
|
-
},
|
|
2801
|
-
heading: {
|
|
2802
|
-
marginBottom: theme.spacing.margin.tiny,
|
|
2803
|
-
fontSize: theme.typography.fontSize.h2,
|
|
2804
|
-
color: theme?.palette?.font?.default,
|
|
2805
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
2806
|
-
textAlign: 'center',
|
|
2807
|
-
wordBreak: 'break-word'
|
|
2808
|
-
},
|
|
2809
|
-
contentContainer: {
|
|
2810
|
-
display: 'flex',
|
|
2811
|
-
flexDirection: 'column',
|
|
2812
|
-
alignItems: 'center',
|
|
2813
|
-
justifyContent: 'center',
|
|
2814
|
-
width: '770px',
|
|
2815
|
-
margin: 'auto'
|
|
2816
|
-
},
|
|
2817
|
-
content: {
|
|
2818
|
-
display: 'flex',
|
|
2819
|
-
width: 'calc(100% - 100px)',
|
|
2820
|
-
alignItems: 'center',
|
|
2821
|
-
background: theme?.palette?.background?.default,
|
|
2822
|
-
boxShadow: theme?.shadows?.primary,
|
|
2823
|
-
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2824
|
-
overflow: 'hidden',
|
|
2825
|
-
minHeight: 200,
|
|
2826
|
-
marginBottom: theme.spacing.margin.small,
|
|
2827
|
-
position: 'relative',
|
|
2828
|
-
'&:nth-child(2n)': {
|
|
2829
|
-
alignSelf: 'flex-end',
|
|
2830
|
-
'& $contentNumber': {
|
|
2831
|
-
right: '0'
|
|
2832
|
-
},
|
|
2833
|
-
'& $contentText': {
|
|
2834
|
-
marginRight: '170px'
|
|
2835
|
-
}
|
|
2836
|
-
},
|
|
2837
|
-
'&:nth-child(2n+1)': {
|
|
2838
|
-
alignSelf: 'flex-start',
|
|
2839
|
-
'& $contentNumber': {
|
|
2840
|
-
left: '0'
|
|
2841
|
-
},
|
|
2842
|
-
'& $contentText': {
|
|
2843
|
-
marginLeft: '170px'
|
|
2764
|
+
const useSectionStyles$7 = createUseStyles(theme => {
|
|
2765
|
+
return {
|
|
2766
|
+
section: {
|
|
2767
|
+
width: '100%',
|
|
2768
|
+
padding: ({
|
|
2769
|
+
isMobile
|
|
2770
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2771
|
+
display: 'flex',
|
|
2772
|
+
justifyContent: 'center',
|
|
2773
|
+
flexDirection: 'column',
|
|
2774
|
+
alignItems: 'center',
|
|
2775
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
2776
|
+
'&, & *, & *:before, & *:after': {
|
|
2777
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
2778
|
+
boxSizing: 'border-box'
|
|
2844
2779
|
}
|
|
2780
|
+
// '& h2,& h3': {
|
|
2781
|
+
// fontWeight: '500',
|
|
2782
|
+
// '& b,& strong': {
|
|
2783
|
+
// fontWeight: '700'
|
|
2784
|
+
// }
|
|
2785
|
+
// }
|
|
2845
2786
|
},
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
'&:nth-child(7n+3) $contentNumber': {
|
|
2853
|
-
background: palettes.red.primary.lightest
|
|
2854
|
-
},
|
|
2855
|
-
'&:nth-child(7n+4) $contentNumber': {
|
|
2856
|
-
background: palettes.green.primary.lightest
|
|
2787
|
+
|
|
2788
|
+
sectionContainer: {
|
|
2789
|
+
margin: '0 auto',
|
|
2790
|
+
maxWidth: ({
|
|
2791
|
+
containerWidth
|
|
2792
|
+
} = {}) => containerWidth
|
|
2857
2793
|
},
|
|
2858
|
-
|
|
2859
|
-
|
|
2794
|
+
subTitleHeading: {
|
|
2795
|
+
marginBottom: '8px',
|
|
2796
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2797
|
+
color: theme?.palette?.font?.tertiary,
|
|
2798
|
+
alignItems: 'center',
|
|
2799
|
+
textAlign: 'center',
|
|
2800
|
+
wordBreak: 'break-word',
|
|
2801
|
+
textTransform: 'uppercase'
|
|
2860
2802
|
},
|
|
2861
|
-
|
|
2862
|
-
|
|
2803
|
+
heading: {
|
|
2804
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
2805
|
+
fontSize: theme.typography.fontSize.h2,
|
|
2806
|
+
color: theme?.palette?.font?.default,
|
|
2807
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
2808
|
+
textAlign: 'center',
|
|
2809
|
+
wordBreak: 'break-word'
|
|
2863
2810
|
},
|
|
2864
|
-
'&:nth-child(7n) $contentNumber': {
|
|
2865
|
-
background: palettes.rust.primary.lightest
|
|
2866
|
-
}
|
|
2867
|
-
},
|
|
2868
|
-
contentNumber: {
|
|
2869
|
-
position: 'absolute',
|
|
2870
|
-
top: '0',
|
|
2871
|
-
fontWeight: '700',
|
|
2872
|
-
fontSize: '72px',
|
|
2873
|
-
letterSpacing: '-3px',
|
|
2874
|
-
display: 'flex',
|
|
2875
|
-
alignItems: 'center',
|
|
2876
|
-
justifyContent: 'center',
|
|
2877
|
-
padding: '48px',
|
|
2878
|
-
height: '100%',
|
|
2879
|
-
color: theme?.palette?.font?.default,
|
|
2880
|
-
wordBreak: 'break-word'
|
|
2881
|
-
},
|
|
2882
|
-
contentText: {
|
|
2883
|
-
padding: theme.spacing.padding.tiny
|
|
2884
|
-
},
|
|
2885
|
-
contentHeading: {
|
|
2886
|
-
fontStyle: 'normal',
|
|
2887
|
-
fontSize: theme.typography.fontSize.h5,
|
|
2888
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
2889
|
-
lineHeight: '32px',
|
|
2890
|
-
marginBottom: '8px',
|
|
2891
|
-
color: theme?.palette?.font?.default,
|
|
2892
|
-
wordBreak: 'break-word'
|
|
2893
|
-
},
|
|
2894
|
-
contentPara: {
|
|
2895
|
-
fontStyle: 'normal',
|
|
2896
|
-
fontSize: '16px',
|
|
2897
|
-
lineHeight: '26px',
|
|
2898
|
-
color: theme?.palette?.font?.primary,
|
|
2899
|
-
wordBreak: 'break-word'
|
|
2900
|
-
},
|
|
2901
|
-
'@media screen and (max-width: 767px)': {
|
|
2902
2811
|
contentContainer: {
|
|
2903
|
-
|
|
2812
|
+
display: 'flex',
|
|
2813
|
+
flexDirection: 'column',
|
|
2814
|
+
alignItems: 'center',
|
|
2815
|
+
justifyContent: 'center',
|
|
2816
|
+
width: '770px',
|
|
2817
|
+
margin: 'auto'
|
|
2904
2818
|
},
|
|
2905
2819
|
content: {
|
|
2906
2820
|
display: 'flex',
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2821
|
+
width: 'calc(100% - 100px)',
|
|
2822
|
+
alignItems: 'center',
|
|
2823
|
+
background: theme?.palette?.background?.default,
|
|
2824
|
+
boxShadow: theme?.shadows?.primary,
|
|
2825
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2826
|
+
overflow: 'hidden',
|
|
2827
|
+
minHeight: 200,
|
|
2828
|
+
marginBottom: theme.spacing.margin.small,
|
|
2829
|
+
position: 'relative',
|
|
2911
2830
|
'&:nth-child(2n)': {
|
|
2912
|
-
|
|
2831
|
+
alignSelf: 'flex-end',
|
|
2832
|
+
'& $contentNumber': {
|
|
2833
|
+
right: '0'
|
|
2834
|
+
},
|
|
2913
2835
|
'& $contentText': {
|
|
2914
|
-
marginRight: '
|
|
2915
|
-
alignSelf: 'flex-start'
|
|
2916
|
-
// padding: '0'
|
|
2836
|
+
marginRight: '170px'
|
|
2917
2837
|
}
|
|
2918
2838
|
},
|
|
2919
|
-
|
|
2920
2839
|
'&:nth-child(2n+1)': {
|
|
2921
|
-
|
|
2840
|
+
alignSelf: 'flex-start',
|
|
2841
|
+
'& $contentNumber': {
|
|
2842
|
+
left: '0'
|
|
2843
|
+
},
|
|
2922
2844
|
'& $contentText': {
|
|
2923
|
-
marginLeft: '
|
|
2924
|
-
alignSelf: 'flex-start'
|
|
2925
|
-
// padding: '0'
|
|
2845
|
+
marginLeft: '170px'
|
|
2926
2846
|
}
|
|
2847
|
+
},
|
|
2848
|
+
'&:nth-child(7n+1) $contentNumber': {
|
|
2849
|
+
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2850
|
+
},
|
|
2851
|
+
'&:nth-child(7n+2) $contentNumber': {
|
|
2852
|
+
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2853
|
+
},
|
|
2854
|
+
'&:nth-child(7n+3) $contentNumber': {
|
|
2855
|
+
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2856
|
+
},
|
|
2857
|
+
'&:nth-child(7n+4) $contentNumber': {
|
|
2858
|
+
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2859
|
+
},
|
|
2860
|
+
'&:nth-child(7n+5) $contentNumber': {
|
|
2861
|
+
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2862
|
+
},
|
|
2863
|
+
'&:nth-child(7n+6) $contentNumber': {
|
|
2864
|
+
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2865
|
+
},
|
|
2866
|
+
'&:nth-child(7n) $contentNumber': {
|
|
2867
|
+
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2927
2868
|
}
|
|
2928
2869
|
},
|
|
2929
|
-
|
|
2930
2870
|
contentNumber: {
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2871
|
+
position: 'absolute',
|
|
2872
|
+
top: '0',
|
|
2873
|
+
fontWeight: '700',
|
|
2874
|
+
fontSize: '72px',
|
|
2875
|
+
letterSpacing: '-3px',
|
|
2876
|
+
display: 'flex',
|
|
2877
|
+
alignItems: 'center',
|
|
2878
|
+
justifyContent: 'center',
|
|
2879
|
+
padding: '48px',
|
|
2880
|
+
height: '100%',
|
|
2881
|
+
color: theme?.isGradient ? theme?.gradientColors?.font4 : theme?.solidColors?.font4,
|
|
2882
|
+
wordBreak: 'break-word'
|
|
2934
2883
|
},
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
lineHeight: '22px'
|
|
2884
|
+
contentText: {
|
|
2885
|
+
padding: theme.spacing.padding.tiny
|
|
2938
2886
|
},
|
|
2939
2887
|
contentHeading: {
|
|
2940
|
-
|
|
2941
|
-
|
|
2888
|
+
fontStyle: 'normal',
|
|
2889
|
+
fontSize: theme.typography.fontSize.h5,
|
|
2890
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
2891
|
+
lineHeight: '32px',
|
|
2892
|
+
marginBottom: '8px',
|
|
2893
|
+
color: theme?.palette?.font?.default,
|
|
2894
|
+
wordBreak: 'break-word'
|
|
2895
|
+
},
|
|
2896
|
+
contentPara: {
|
|
2897
|
+
fontStyle: 'normal',
|
|
2898
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2899
|
+
lineHeight: '32px',
|
|
2900
|
+
color: theme?.palette?.font?.primary,
|
|
2901
|
+
wordBreak: 'break-word'
|
|
2902
|
+
},
|
|
2903
|
+
'@media screen and (max-width: 767px)': {
|
|
2904
|
+
contentContainer: {
|
|
2905
|
+
width: '100%'
|
|
2906
|
+
},
|
|
2907
|
+
content: {
|
|
2908
|
+
display: 'flex',
|
|
2909
|
+
flexDirection: 'column',
|
|
2910
|
+
borderRadius: theme.shape.borderRadius.large,
|
|
2911
|
+
width: '100%',
|
|
2912
|
+
height: 'auto',
|
|
2913
|
+
'&:nth-child(2n)': {
|
|
2914
|
+
marginLeft: '0',
|
|
2915
|
+
'& $contentText': {
|
|
2916
|
+
marginRight: '0',
|
|
2917
|
+
alignSelf: 'flex-start'
|
|
2918
|
+
// padding: '0'
|
|
2919
|
+
}
|
|
2920
|
+
},
|
|
2921
|
+
|
|
2922
|
+
'&:nth-child(2n+1)': {
|
|
2923
|
+
marginRight: '0',
|
|
2924
|
+
'& $contentText': {
|
|
2925
|
+
marginLeft: '0',
|
|
2926
|
+
alignSelf: 'flex-start'
|
|
2927
|
+
// padding: '0'
|
|
2928
|
+
}
|
|
2929
|
+
}
|
|
2930
|
+
},
|
|
2931
|
+
|
|
2932
|
+
contentNumber: {
|
|
2933
|
+
width: '100%',
|
|
2934
|
+
padding: '24px',
|
|
2935
|
+
position: 'static'
|
|
2936
|
+
}
|
|
2942
2937
|
}
|
|
2943
|
-
}
|
|
2944
|
-
})
|
|
2938
|
+
};
|
|
2939
|
+
});
|
|
2945
2940
|
|
|
2946
2941
|
function List({
|
|
2947
2942
|
sectionData
|
|
@@ -3013,13 +3008,21 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3013
3008
|
return {
|
|
3014
3009
|
bannerCarouselCenterSection: {
|
|
3015
3010
|
width: '100%',
|
|
3011
|
+
// height: '100%',
|
|
3016
3012
|
textAlign: 'center',
|
|
3017
3013
|
position: 'relative',
|
|
3018
3014
|
'&, & *, & *:before, & *:after': {
|
|
3019
3015
|
fontFamily: theme?.typography?.fontFamily,
|
|
3020
3016
|
boxSizing: 'border-box'
|
|
3021
3017
|
}
|
|
3018
|
+
// '& h2,& h3': {
|
|
3019
|
+
// fontWeight: '500',
|
|
3020
|
+
// '& b,& strong': {
|
|
3021
|
+
// fontWeight: '700'
|
|
3022
|
+
// }
|
|
3023
|
+
// }
|
|
3022
3024
|
},
|
|
3025
|
+
|
|
3023
3026
|
sectionContainer: {
|
|
3024
3027
|
width: '100%',
|
|
3025
3028
|
// maxWidth: ({ containerWidth } = {}) => containerWidth,
|
|
@@ -3039,9 +3042,20 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3039
3042
|
margin: `${theme.spacing.margin.tiny}px 0px`
|
|
3040
3043
|
},
|
|
3041
3044
|
contentContainer: {
|
|
3045
|
+
// padding: '100px 0',
|
|
3046
|
+
// height: '100%',
|
|
3047
|
+
// display: 'flex',
|
|
3048
|
+
// alignItems: 'center'
|
|
3049
|
+
// height: '100%',
|
|
3042
3050
|
display: 'flex',
|
|
3051
|
+
/* padding: 100px 0; */
|
|
3043
3052
|
alignItems: 'center'
|
|
3053
|
+
// backgroundImage: ({ imageUrl } = {}) =>
|
|
3054
|
+
// `linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%), url("${imageUrl}")`,
|
|
3055
|
+
// backgroundPosition: 'center',
|
|
3056
|
+
// backgroundSize: 'cover'
|
|
3044
3057
|
},
|
|
3058
|
+
|
|
3045
3059
|
centerBgImageContainer: {
|
|
3046
3060
|
width: '100%',
|
|
3047
3061
|
position: 'relative',
|
|
@@ -3075,8 +3089,7 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3075
3089
|
color: theme?.palette?.font?.invertedDefault,
|
|
3076
3090
|
marginBottom: '8px',
|
|
3077
3091
|
fontSize: theme.typography.fontSize.subHead,
|
|
3078
|
-
wordBreak: 'break-word'
|
|
3079
|
-
letterSpacing: '3px'
|
|
3092
|
+
wordBreak: 'break-word'
|
|
3080
3093
|
},
|
|
3081
3094
|
heading: {
|
|
3082
3095
|
margin: '0',
|
|
@@ -3087,11 +3100,11 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3087
3100
|
}) => wordBreakValue || 'break-word'
|
|
3088
3101
|
},
|
|
3089
3102
|
description: {
|
|
3103
|
+
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
3090
3104
|
color: theme?.palette?.font?.invertedDefault,
|
|
3091
|
-
lineHeight: '
|
|
3092
|
-
fontWeight: '400',
|
|
3105
|
+
lineHeight: '24px',
|
|
3093
3106
|
wordBreak: 'break-word',
|
|
3094
|
-
fontSize: theme.typography.fontSize.
|
|
3107
|
+
fontSize: theme.typography.fontSize.subHead
|
|
3095
3108
|
},
|
|
3096
3109
|
sideBannerImage: {
|
|
3097
3110
|
width: '100%',
|
|
@@ -3099,44 +3112,37 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3099
3112
|
objectFit: 'cover',
|
|
3100
3113
|
objectPosition: '50% 50%'
|
|
3101
3114
|
},
|
|
3102
|
-
overlay: {
|
|
3103
|
-
zIndex: 1,
|
|
3104
|
-
position: 'absolute',
|
|
3105
|
-
top: 0,
|
|
3106
|
-
left: 0,
|
|
3107
|
-
width: '100%',
|
|
3108
|
-
height: '100%',
|
|
3109
|
-
backgroundColor: 'rgba(0, 0, 0, 0.4)'
|
|
3110
|
-
},
|
|
3111
3115
|
'@media screen and (max-width: 767px)': {
|
|
3112
|
-
heading: {
|
|
3113
|
-
fontSize: theme.typography.fontSize.h2
|
|
3114
|
-
},
|
|
3115
3116
|
partialBackground: {
|
|
3116
3117
|
display: 'none'
|
|
3117
3118
|
},
|
|
3118
3119
|
contentContainer: {
|
|
3119
|
-
display: '
|
|
3120
|
+
display: 'flex',
|
|
3121
|
+
flexFlow: 'column-reverse',
|
|
3122
|
+
justifyContent: 'center',
|
|
3123
|
+
padding: '0px'
|
|
3120
3124
|
},
|
|
3121
|
-
textContainer: {
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3125
|
+
// textContainer: {
|
|
3126
|
+
// padding: '20px 20px',
|
|
3127
|
+
// height: '100%',
|
|
3128
|
+
// width: '100%'
|
|
3129
|
+
// // backgroundColor: theme?.palette?.background?.primary
|
|
3130
|
+
// },
|
|
3131
|
+
subTitleHeading: {
|
|
3132
|
+
color: theme?.palette?.font?.tertiary
|
|
3133
|
+
},
|
|
3134
|
+
heading: {
|
|
3135
|
+
color: theme?.palette?.font?.default
|
|
3128
3136
|
},
|
|
3129
|
-
|
|
3130
3137
|
description: {
|
|
3131
|
-
|
|
3132
|
-
lineHeight: '24px'
|
|
3138
|
+
color: theme?.palette?.font?.primary
|
|
3133
3139
|
},
|
|
3134
3140
|
centerBgImageContainer: {
|
|
3135
3141
|
width: ({
|
|
3136
3142
|
isCustomWebsite
|
|
3137
3143
|
}) => isCustomWebsite ? '100%' : 'unset',
|
|
3138
|
-
position: 'relative',
|
|
3139
|
-
height: '
|
|
3144
|
+
// position: 'relative',
|
|
3145
|
+
// height: '34rem',
|
|
3140
3146
|
minHeight: '200px',
|
|
3141
3147
|
paddingBottom: '0'
|
|
3142
3148
|
},
|
|
@@ -3164,16 +3170,12 @@ const Section$3 = ({
|
|
|
3164
3170
|
isCustomWebsite,
|
|
3165
3171
|
countryCode
|
|
3166
3172
|
} = React.useContext(PageContext);
|
|
3167
|
-
const hasContent = Boolean(nodeData.cardHeading.metadata.value || nodeData.title.metadata.valu || nodeData.description.metadata.value);
|
|
3168
3173
|
const classes = useSectionStyles$6({
|
|
3169
3174
|
wordBreakValue: wordBreakValue(countryCode),
|
|
3170
3175
|
imageUrl: nodeData.image.metadata.value,
|
|
3171
3176
|
containerWidth,
|
|
3172
|
-
isCustomWebsite
|
|
3173
|
-
hasContent
|
|
3177
|
+
isCustomWebsite
|
|
3174
3178
|
});
|
|
3175
|
-
const mobileImageSrc = isMobile && nodeData?.mobileImage?.metadata?.value;
|
|
3176
|
-
const desktopImageSrc = nodeData?.image?.metadata?.value;
|
|
3177
3179
|
return /*#__PURE__*/React__default["default"].createElement("section", {
|
|
3178
3180
|
className: classes.bannerCarouselCenterSection
|
|
3179
3181
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -3211,10 +3213,8 @@ const Section$3 = ({
|
|
|
3211
3213
|
size: isMobile ? 'small' : 'medium'
|
|
3212
3214
|
}))) : null), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3213
3215
|
className: classes?.centerBgImageContainer
|
|
3214
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
3215
|
-
|
|
3216
|
-
}), /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
|
|
3217
|
-
src: mobileImageSrc ? mobileImageSrc : desktopImageSrc,
|
|
3216
|
+
}, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
|
|
3217
|
+
src: nodeData.image.metadata.value,
|
|
3218
3218
|
className: classes?.centerBgImage,
|
|
3219
3219
|
sectionIndex: sectionIndex
|
|
3220
3220
|
}))));
|
|
@@ -3254,6 +3254,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3254
3254
|
return {
|
|
3255
3255
|
section: {
|
|
3256
3256
|
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3257
|
+
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
|
|
3257
3258
|
'&, & *, & *:before, & *:after': {
|
|
3258
3259
|
fontFamily: theme?.typography?.fontFamily,
|
|
3259
3260
|
boxSizing: 'border-box'
|
|
@@ -3297,7 +3298,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3297
3298
|
}
|
|
3298
3299
|
},
|
|
3299
3300
|
imageBorder: {
|
|
3300
|
-
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3301
|
+
// border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3301
3302
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3302
3303
|
position: 'absolute',
|
|
3303
3304
|
width: '100%',
|
|
@@ -3321,7 +3322,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3321
3322
|
subTitleHeading: {
|
|
3322
3323
|
marginBottom: '8px',
|
|
3323
3324
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3324
|
-
letterSpacing: '3px',
|
|
3325
3325
|
color: theme?.palette?.font?.default,
|
|
3326
3326
|
wordBreak: 'break-word'
|
|
3327
3327
|
},
|
|
@@ -3376,11 +3376,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3376
3376
|
textAlign: 'center'
|
|
3377
3377
|
},
|
|
3378
3378
|
heading: {
|
|
3379
|
-
fontSize: `${theme?.typography?.fontSize?.
|
|
3380
|
-
},
|
|
3381
|
-
subTitleHeading: {
|
|
3382
|
-
letterSpacing: '3px',
|
|
3383
|
-
lineHeight: '17px'
|
|
3379
|
+
fontSize: `${theme?.typography?.fontSize?.h3}px`
|
|
3384
3380
|
},
|
|
3385
3381
|
description: {
|
|
3386
3382
|
margin: '16px 0'
|
|
@@ -3509,11 +3505,12 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3509
3505
|
left: '0',
|
|
3510
3506
|
width: '100%',
|
|
3511
3507
|
height: '50%',
|
|
3512
|
-
position: 'absolute'
|
|
3513
|
-
background: theme?.palette?.background?.primary
|
|
3508
|
+
position: 'absolute'
|
|
3509
|
+
// background: theme?.palette?.background?.primary
|
|
3514
3510
|
},
|
|
3511
|
+
|
|
3515
3512
|
sectionContainer: {
|
|
3516
|
-
|
|
3513
|
+
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
|
|
3517
3514
|
boxShadow: theme?.shadows?.secondary,
|
|
3518
3515
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3519
3516
|
padding: theme.spacing.padding.small,
|
|
@@ -3531,18 +3528,18 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3531
3528
|
contentContainer: {
|
|
3532
3529
|
display: 'flex',
|
|
3533
3530
|
alignItems: 'center',
|
|
3534
|
-
|
|
3531
|
+
justifyContent: 'space-between'
|
|
3535
3532
|
},
|
|
3536
3533
|
title: {
|
|
3537
3534
|
fontSize: theme.typography.fontSize.h6,
|
|
3538
3535
|
lineHeight: '32px',
|
|
3539
3536
|
color: theme?.palette?.font?.primary,
|
|
3540
|
-
|
|
3541
|
-
|
|
3537
|
+
width: 'calc(50% - 80px)',
|
|
3538
|
+
wordBreak: 'break-word'
|
|
3542
3539
|
},
|
|
3543
3540
|
inputContainer: {
|
|
3544
3541
|
display: 'flex',
|
|
3545
|
-
|
|
3542
|
+
width: '50%'
|
|
3546
3543
|
},
|
|
3547
3544
|
inputFieldDiv: {
|
|
3548
3545
|
display: 'flex',
|
|
@@ -3659,56 +3656,59 @@ async function postApiCallForm(baseURLs, data, extraProps) {
|
|
|
3659
3656
|
}
|
|
3660
3657
|
}
|
|
3661
3658
|
|
|
3662
|
-
const inputStyles = createUseStyles(theme =>
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
lineHeight: '20px',
|
|
3674
|
-
verticalalign: 'top',
|
|
3675
|
-
resize: 'none',
|
|
3676
|
-
fontFamily: 'inherit',
|
|
3677
|
-
'&::placeholder': {
|
|
3659
|
+
const inputStyles = createUseStyles(theme => {
|
|
3660
|
+
console.log('themexxxxdsf', theme);
|
|
3661
|
+
return {
|
|
3662
|
+
inputField: {
|
|
3663
|
+
width: '100%',
|
|
3664
|
+
maxWidth: '314px',
|
|
3665
|
+
background: theme?.palette?.background?.default,
|
|
3666
|
+
border: `1px solid ${theme?.isGradient ? theme?.gradientColors?.AccentColor : theme?.solidColors?.inputBorderColor}`,
|
|
3667
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3668
|
+
padding: '14px 12px',
|
|
3669
|
+
display: 'flex',
|
|
3678
3670
|
fontWeight: '400',
|
|
3679
3671
|
fontSize: '16px',
|
|
3680
3672
|
lineHeight: '20px',
|
|
3681
|
-
|
|
3682
|
-
|
|
3673
|
+
verticalalign: 'top',
|
|
3674
|
+
resize: 'none',
|
|
3675
|
+
fontFamily: 'inherit',
|
|
3676
|
+
'&::placeholder': {
|
|
3677
|
+
fontWeight: '400',
|
|
3678
|
+
fontSize: '16px',
|
|
3679
|
+
lineHeight: '20px',
|
|
3680
|
+
color: theme?.palette?.font?.primary,
|
|
3681
|
+
fontFamily: theme?.typography?.fontFamily
|
|
3682
|
+
},
|
|
3683
|
+
'&:focus': {
|
|
3684
|
+
outline: 'none'
|
|
3685
|
+
}
|
|
3683
3686
|
},
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
width: 'calc(100% - 24px)'
|
|
3693
|
-
},
|
|
3694
|
-
errorBorder: {
|
|
3695
|
-
border: `1px solid red`,
|
|
3696
|
-
color: 'red',
|
|
3697
|
-
'&::placeholder': {
|
|
3687
|
+
error: {
|
|
3688
|
+
borderBottom: '1px solid red',
|
|
3689
|
+
position: 'absolute',
|
|
3690
|
+
bottom: '-8px',
|
|
3691
|
+
width: 'calc(100% - 24px)'
|
|
3692
|
+
},
|
|
3693
|
+
errorBorder: {
|
|
3694
|
+
border: `1px solid red`,
|
|
3698
3695
|
color: 'red',
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
inputField: {
|
|
3704
|
-
width: '100%',
|
|
3705
|
-
maxWidth: 'unset'
|
|
3696
|
+
'&::placeholder': {
|
|
3697
|
+
color: 'red',
|
|
3698
|
+
opacity: '0.5'
|
|
3699
|
+
}
|
|
3706
3700
|
},
|
|
3707
|
-
|
|
3708
|
-
|
|
3701
|
+
'@media screen and (max-width: 767px)': {
|
|
3702
|
+
inputField: {
|
|
3703
|
+
width: '100%',
|
|
3704
|
+
maxWidth: 'unset'
|
|
3705
|
+
},
|
|
3706
|
+
error: {
|
|
3707
|
+
bottom: '-2px'
|
|
3708
|
+
}
|
|
3709
3709
|
}
|
|
3710
|
-
}
|
|
3711
|
-
})
|
|
3710
|
+
};
|
|
3711
|
+
});
|
|
3712
3712
|
|
|
3713
3713
|
function Input({
|
|
3714
3714
|
data,
|
|
@@ -3721,9 +3721,12 @@ function Input({
|
|
|
3721
3721
|
const {
|
|
3722
3722
|
onChange,
|
|
3723
3723
|
onBlur,
|
|
3724
|
-
onFocus
|
|
3724
|
+
onFocus,
|
|
3725
|
+
theme
|
|
3725
3726
|
} = props;
|
|
3726
|
-
const classes = inputStyles(
|
|
3727
|
+
const classes = inputStyles({
|
|
3728
|
+
theme
|
|
3729
|
+
});
|
|
3727
3730
|
const Comp = inputType;
|
|
3728
3731
|
return /*#__PURE__*/React__default["default"].createElement(Comp, _extends({}, inputType === 'input' ? {
|
|
3729
3732
|
type: 'text'
|
|
@@ -3834,7 +3837,8 @@ function SubscribeToNewsletter({
|
|
|
3834
3837
|
value: inputVal,
|
|
3835
3838
|
isValid: isValid,
|
|
3836
3839
|
style: {
|
|
3837
|
-
padding: '12px
|
|
3840
|
+
padding: '15px 24px 15px 12px',
|
|
3841
|
+
maxWidth: '100%'
|
|
3838
3842
|
},
|
|
3839
3843
|
inputType: 'input',
|
|
3840
3844
|
onChange: e => {
|
|
@@ -3858,14 +3862,16 @@ function SubscribeToNewsletter({
|
|
|
3858
3862
|
},
|
|
3859
3863
|
onClick: () => handleSubmit(),
|
|
3860
3864
|
type: nodeData?.cta?.metadata?.type,
|
|
3861
|
-
size: 'small',
|
|
3865
|
+
size: isMobile ? 'small' : 'medium',
|
|
3862
3866
|
styling: isMobile ? {
|
|
3863
|
-
marginTop: '12px'
|
|
3867
|
+
marginTop: '12px',
|
|
3868
|
+
border: 'none'
|
|
3864
3869
|
} : {
|
|
3865
3870
|
maxWidth: '200px',
|
|
3866
3871
|
whiteSpace: 'nowrap',
|
|
3867
3872
|
overflow: 'hidden',
|
|
3868
|
-
textOverflow: 'ellipsis'
|
|
3873
|
+
textOverflow: 'ellipsis',
|
|
3874
|
+
border: 'none'
|
|
3869
3875
|
},
|
|
3870
3876
|
disabled: btnDisabled
|
|
3871
3877
|
})))))));
|
|
@@ -3878,7 +3884,7 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
3878
3884
|
|
|
3879
3885
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
3880
3886
|
testimonialContainer: {
|
|
3881
|
-
background: theme?.palette?.background?.primary,
|
|
3887
|
+
// background: theme?.palette?.background?.primary,
|
|
3882
3888
|
overflow: 'hidden',
|
|
3883
3889
|
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3884
3890
|
'&, & *, & *:before, & *:after': {
|
|
@@ -3896,7 +3902,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3896
3902
|
} = {}) => containerWidth
|
|
3897
3903
|
},
|
|
3898
3904
|
testimonialText: {
|
|
3899
|
-
color: theme?.palette?.font?.
|
|
3905
|
+
color: theme?.palette?.font?.secondary,
|
|
3900
3906
|
fontSize: theme.typography.fontSize.subHead,
|
|
3901
3907
|
wordBreak: 'break-word',
|
|
3902
3908
|
textTransform: 'uppercase'
|
|
@@ -3920,7 +3926,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3920
3926
|
position: 'relative',
|
|
3921
3927
|
height: 'calc(100% - 12px)',
|
|
3922
3928
|
width: 'calc(100% - 24px)',
|
|
3923
|
-
background: theme?.
|
|
3929
|
+
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
|
|
3924
3930
|
boxShadow: theme?.shadows?.primary,
|
|
3925
3931
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3926
3932
|
},
|
|
@@ -3945,10 +3951,10 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3945
3951
|
reviewText: {
|
|
3946
3952
|
// padding: '48px 41px 0 48px',
|
|
3947
3953
|
marginBottom: theme.spacing.margin.tiny,
|
|
3948
|
-
fontSize: theme.typography.fontSize.
|
|
3954
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
3949
3955
|
wordBreak: 'break-word',
|
|
3950
|
-
color: theme?.
|
|
3951
|
-
lineHeight: '
|
|
3956
|
+
color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font2,
|
|
3957
|
+
lineHeight: '22px'
|
|
3952
3958
|
},
|
|
3953
3959
|
userContainer: {
|
|
3954
3960
|
display: 'flex',
|
|
@@ -3967,6 +3973,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3967
3973
|
height: '64px',
|
|
3968
3974
|
borderRadius: '32px',
|
|
3969
3975
|
background: '#666666',
|
|
3976
|
+
marginRight: '16px',
|
|
3970
3977
|
flexShrink: '0'
|
|
3971
3978
|
},
|
|
3972
3979
|
userImage: {
|
|
@@ -3976,7 +3983,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3976
3983
|
marginRight: '16px'
|
|
3977
3984
|
},
|
|
3978
3985
|
userName: {
|
|
3979
|
-
color: theme?.
|
|
3986
|
+
color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font2,
|
|
3980
3987
|
margin: '0',
|
|
3981
3988
|
fontSize: theme.typography.fontSize.h5,
|
|
3982
3989
|
// paddingTop: '16px',
|
|
@@ -4093,7 +4100,7 @@ function Section$1({
|
|
|
4093
4100
|
className: classes.quoteIcon
|
|
4094
4101
|
}, /*#__PURE__*/React__default["default"].createElement(QuotesComponent, null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4095
4102
|
className: classes.cardDetails
|
|
4096
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
4103
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4097
4104
|
ref: el?.cardTextContent?.refSetter,
|
|
4098
4105
|
className: classes.reviewText,
|
|
4099
4106
|
dangerouslySetInnerHTML: {
|
|
@@ -4138,7 +4145,7 @@ function Section$1({
|
|
|
4138
4145
|
dangerouslySetInnerHTML: {
|
|
4139
4146
|
__html: nodeData?.carouselHeading?.metadata?.value
|
|
4140
4147
|
}
|
|
4141
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
4148
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4142
4149
|
className: classes.testimonialHeader
|
|
4143
4150
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4144
4151
|
ref: nodeData?.title?.refSetter,
|
|
@@ -4389,7 +4396,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4389
4396
|
marginBottom: '8px'
|
|
4390
4397
|
},
|
|
4391
4398
|
videoTestimonialTitle: {
|
|
4392
|
-
fontSize: theme.typography.fontSize.
|
|
4399
|
+
fontSize: theme.typography.fontSize.h1,
|
|
4393
4400
|
// lineHeight: '71px',
|
|
4394
4401
|
letterSpacing: '-3px',
|
|
4395
4402
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -4399,16 +4406,15 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4399
4406
|
},
|
|
4400
4407
|
videoCarousel: {
|
|
4401
4408
|
display: 'flex',
|
|
4409
|
+
alignItems: 'center',
|
|
4402
4410
|
justifyContent: 'flex-start',
|
|
4403
|
-
gap:
|
|
4411
|
+
gap: theme.spacing.margin.small
|
|
4404
4412
|
},
|
|
4405
4413
|
iframeSuperContainer: {
|
|
4406
4414
|
height: '100%',
|
|
4407
4415
|
width: '100%',
|
|
4408
4416
|
display: 'flex',
|
|
4409
|
-
alignItems: 'center'
|
|
4410
|
-
marginTop: '16px',
|
|
4411
|
-
borderRadius: '8px'
|
|
4417
|
+
alignItems: 'center'
|
|
4412
4418
|
},
|
|
4413
4419
|
iframeContainer: {
|
|
4414
4420
|
width: '100%',
|
|
@@ -4438,13 +4444,13 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4438
4444
|
fontWeight: theme.typography.fontWeight.bold
|
|
4439
4445
|
},
|
|
4440
4446
|
videoDetailsContent: {
|
|
4441
|
-
fontSize: theme.typography.fontSize.
|
|
4447
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4442
4448
|
lineHeight: '24px',
|
|
4443
4449
|
wordBreak: 'break-word',
|
|
4444
4450
|
color: theme.palette.font.primary
|
|
4445
4451
|
},
|
|
4446
4452
|
videoDetailsSubContent: {
|
|
4447
|
-
fontSize: theme.typography.fontSize.
|
|
4453
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4448
4454
|
lineHeight: '24px',
|
|
4449
4455
|
margin: '0',
|
|
4450
4456
|
color: theme.palette.font.primary,
|
|
@@ -4571,7 +4577,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4571
4577
|
padding: ({
|
|
4572
4578
|
isMobile
|
|
4573
4579
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4574
|
-
|
|
4580
|
+
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
|
|
4575
4581
|
'&, & *, & *:before, & *:after': {
|
|
4576
4582
|
fontFamily: theme?.typography?.fontFamily,
|
|
4577
4583
|
boxSizing: 'border-box'
|
|
@@ -4579,7 +4585,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4579
4585
|
'& h3': {
|
|
4580
4586
|
marginTop: '0'
|
|
4581
4587
|
}
|
|
4588
|
+
// '& h2,& h3': {
|
|
4589
|
+
// fontWeight: '500',
|
|
4590
|
+
// '& b,& strong': {
|
|
4591
|
+
// fontWeight: '700'
|
|
4592
|
+
// }
|
|
4593
|
+
// }
|
|
4582
4594
|
},
|
|
4595
|
+
|
|
4583
4596
|
sectionContainer: {
|
|
4584
4597
|
margin: '0 auto',
|
|
4585
4598
|
maxWidth: ({
|
|
@@ -4594,8 +4607,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4594
4607
|
fontSize: theme.typography.fontSize.subHead,
|
|
4595
4608
|
textTransform: 'uppercase',
|
|
4596
4609
|
lineHeight: '20px',
|
|
4597
|
-
color: theme?.palette?.font?.
|
|
4598
|
-
letterSpacing: '3px',
|
|
4610
|
+
color: theme?.palette?.font?.primary,
|
|
4599
4611
|
wordBreak: 'break-word'
|
|
4600
4612
|
},
|
|
4601
4613
|
videoTitle: {
|
|
@@ -4726,7 +4738,7 @@ const SingleSlide$1 = props => {
|
|
|
4726
4738
|
videoUrl: data.videoFrame.metadata?.value
|
|
4727
4739
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4728
4740
|
className: classes.videoDetailsContainer
|
|
4729
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
4741
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4730
4742
|
ref: data?.videoTitle?.refSetter,
|
|
4731
4743
|
className: classes.videoDetailsHeading,
|
|
4732
4744
|
dangerouslySetInnerHTML: {
|
|
@@ -4782,7 +4794,7 @@ function Video({
|
|
|
4782
4794
|
dangerouslySetInnerHTML: {
|
|
4783
4795
|
__html: videoData.videoHeading.metadata.value
|
|
4784
4796
|
}
|
|
4785
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
4797
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4786
4798
|
className: classes.videoTitle
|
|
4787
4799
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4788
4800
|
ref: videoData?.videoTitle?.refSetter,
|
|
@@ -4832,7 +4844,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4832
4844
|
top: '0',
|
|
4833
4845
|
left: '0',
|
|
4834
4846
|
height: '50%',
|
|
4835
|
-
background: theme?.
|
|
4847
|
+
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
|
|
4836
4848
|
width: '100%'
|
|
4837
4849
|
},
|
|
4838
4850
|
content: {
|
|
@@ -4872,16 +4884,17 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4872
4884
|
height: 'calc(100% - 12px)'
|
|
4873
4885
|
},
|
|
4874
4886
|
cardContent: {
|
|
4875
|
-
padding:
|
|
4887
|
+
padding: theme.spacing.padding.tiny,
|
|
4876
4888
|
height: '100%',
|
|
4877
4889
|
display: 'flex',
|
|
4878
4890
|
flexDirection: 'column'
|
|
4879
4891
|
},
|
|
4880
4892
|
cardHeading: {
|
|
4881
|
-
fontSize: theme.typography.fontSize.
|
|
4893
|
+
fontSize: theme.typography.fontSize.h5,
|
|
4894
|
+
lineHeight: '32px',
|
|
4882
4895
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4883
4896
|
color: theme?.palette?.font?.default,
|
|
4884
|
-
margin:
|
|
4897
|
+
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
4885
4898
|
wordBreak: 'break-word'
|
|
4886
4899
|
},
|
|
4887
4900
|
imageContainer: {
|
|
@@ -4902,8 +4915,8 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4902
4915
|
marginTop: theme.spacing.margin.tiny
|
|
4903
4916
|
},
|
|
4904
4917
|
cardPara: {
|
|
4905
|
-
fontSize: theme.typography.fontSize.
|
|
4906
|
-
lineHeight: '
|
|
4918
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4919
|
+
lineHeight: '24px',
|
|
4907
4920
|
color: theme?.palette?.font?.primary,
|
|
4908
4921
|
margin: '0',
|
|
4909
4922
|
wordBreak: 'break-word'
|
|
@@ -5037,7 +5050,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5037
5050
|
padding: ({
|
|
5038
5051
|
isMobile
|
|
5039
5052
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5040
|
-
|
|
5053
|
+
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
|
|
5041
5054
|
'&, & *, & *:before, & *:after': {
|
|
5042
5055
|
fontFamily: theme?.typography?.fontFamily,
|
|
5043
5056
|
boxSizing: 'border-box'
|
|
@@ -5054,7 +5067,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5054
5067
|
subHeading: {
|
|
5055
5068
|
fontSize: theme.typography.fontSize.subHead,
|
|
5056
5069
|
marginBottom: '8px',
|
|
5057
|
-
color: theme?.
|
|
5070
|
+
color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
|
|
5058
5071
|
wordBreak: 'break-word',
|
|
5059
5072
|
textTransform: 'uppercase',
|
|
5060
5073
|
letterSpacing: '3px'
|
|
@@ -5064,7 +5077,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5064
5077
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5065
5078
|
lineHeight: 'normal',
|
|
5066
5079
|
margin: '0',
|
|
5067
|
-
color: theme?.
|
|
5080
|
+
color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
|
|
5068
5081
|
wordBreak: 'break-word',
|
|
5069
5082
|
marginBottom: theme.spacing.margin.tiny
|
|
5070
5083
|
},
|
|
@@ -5075,16 +5088,17 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5075
5088
|
padding: '48px 0px'
|
|
5076
5089
|
},
|
|
5077
5090
|
textPara: {
|
|
5091
|
+
background: 'white',
|
|
5092
|
+
borderRadius: '8px',
|
|
5093
|
+
padding: '40px',
|
|
5094
|
+
lineHeight: '24px',
|
|
5078
5095
|
color: theme?.palette?.font?.primary,
|
|
5079
5096
|
wordBreak: 'break-word',
|
|
5080
|
-
fontSize: theme.typography.fontSize.
|
|
5081
|
-
|
|
5097
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5098
|
+
boxShadow: '0px 2px 8px 0px rgba(0, 0, 0, 0.08)'
|
|
5082
5099
|
},
|
|
5083
5100
|
'@media screen and (max-width: 767px)': {
|
|
5084
5101
|
textContent: {
|
|
5085
|
-
display: 'flex',
|
|
5086
|
-
flexDirection: 'column',
|
|
5087
|
-
lineHeight: '22px',
|
|
5088
5102
|
gap: '16px',
|
|
5089
5103
|
padding: '16px 0px'
|
|
5090
5104
|
}
|
|
@@ -5150,9 +5164,8 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5150
5164
|
container: {
|
|
5151
5165
|
background: theme?.palette?.background?.default,
|
|
5152
5166
|
padding: ({
|
|
5153
|
-
isMobile
|
|
5154
|
-
|
|
5155
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : cardsCount === 1 ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.regular}px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px` : `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5167
|
+
isMobile
|
|
5168
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5156
5169
|
'&, & *, & *:before, & *:after': {
|
|
5157
5170
|
fontFamily: theme?.typography?.fontFamily,
|
|
5158
5171
|
boxSizing: 'border-box'
|
|
@@ -5172,26 +5185,19 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5172
5185
|
} = {}) => containerWidth
|
|
5173
5186
|
},
|
|
5174
5187
|
cardHeading: {
|
|
5175
|
-
color: theme?.palette?.font?.
|
|
5188
|
+
color: theme?.palette?.font?.secondary,
|
|
5176
5189
|
fontSize: theme.typography.fontSize.subHead,
|
|
5177
5190
|
letterSpacing: '3px',
|
|
5178
5191
|
wordBreak: 'break-word',
|
|
5179
|
-
textTransform: 'uppercase'
|
|
5180
|
-
textAlign: ({
|
|
5181
|
-
cardsCount,
|
|
5182
|
-
isMobile
|
|
5183
|
-
}) => cardsCount === 1 || isMobile ? 'center' : 'left'
|
|
5192
|
+
textTransform: 'uppercase'
|
|
5184
5193
|
},
|
|
5185
5194
|
// sliderContainer: {
|
|
5186
5195
|
// marginRight: '-70px'
|
|
5187
5196
|
// },
|
|
5188
|
-
|
|
5189
|
-
cursor: 'pointer'
|
|
5190
|
-
},
|
|
5197
|
+
|
|
5191
5198
|
singleCard: {
|
|
5192
|
-
borderRadius: '24px',
|
|
5193
5199
|
margin: '0 1px',
|
|
5194
|
-
width:
|
|
5200
|
+
width: 'calc(100% - 2px)',
|
|
5195
5201
|
position: 'relative',
|
|
5196
5202
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5197
5203
|
},
|
|
@@ -5199,16 +5205,10 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5199
5205
|
contentRow: {
|
|
5200
5206
|
display: 'grid',
|
|
5201
5207
|
gridTemplateColumns: ({
|
|
5202
|
-
slidesToShow
|
|
5203
|
-
|
|
5204
|
-
} = {}) => {
|
|
5205
|
-
if (cardsCount === 1) return '';
|
|
5206
|
-
return `repeat(${slidesToShow},minmax(0, 1fr))`;
|
|
5207
|
-
}
|
|
5208
|
+
slidesToShow
|
|
5209
|
+
} = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
5208
5210
|
},
|
|
5209
5211
|
carouselImage: {
|
|
5210
|
-
height: '360px',
|
|
5211
|
-
borderRadius: '22px',
|
|
5212
5212
|
objectFit: 'cover',
|
|
5213
5213
|
position: 'absolute',
|
|
5214
5214
|
left: 0,
|
|
@@ -5218,10 +5218,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5218
5218
|
},
|
|
5219
5219
|
title: {
|
|
5220
5220
|
fontSize: theme.typography.fontSize.h2,
|
|
5221
|
-
textAlign: ({
|
|
5222
|
-
cardsCount,
|
|
5223
|
-
isMobile
|
|
5224
|
-
}) => cardsCount === 1 || isMobile ? 'center' : 'left',
|
|
5225
5221
|
lineHeight: '70px',
|
|
5226
5222
|
letterSpacing: '-3px',
|
|
5227
5223
|
color: theme?.palette?.font?.default,
|
|
@@ -5232,6 +5228,14 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5232
5228
|
textOverflow: 'ellipsis'
|
|
5233
5229
|
},
|
|
5234
5230
|
'@media (max-width: 768px)': {
|
|
5231
|
+
// container: {
|
|
5232
|
+
// padding: '60px 20px'
|
|
5233
|
+
// },
|
|
5234
|
+
|
|
5235
|
+
// cardHeading: {
|
|
5236
|
+
// marginLeft: '3px'
|
|
5237
|
+
// },
|
|
5238
|
+
|
|
5235
5239
|
title: {
|
|
5236
5240
|
lineHeight: '36px',
|
|
5237
5241
|
letterSpacing: '-1px',
|
|
@@ -5241,6 +5245,10 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5241
5245
|
whiteSpace: 'nowrap',
|
|
5242
5246
|
textOverflow: 'ellipsis'
|
|
5243
5247
|
}
|
|
5248
|
+
|
|
5249
|
+
// sliderContainer: {
|
|
5250
|
+
// marginRight: '-20px'
|
|
5251
|
+
// }
|
|
5244
5252
|
}
|
|
5245
5253
|
};
|
|
5246
5254
|
});
|
|
@@ -5275,18 +5283,11 @@ function PhotoGallery({
|
|
|
5275
5283
|
centerPadding: isMobile ? '10px 0 0' : '80px 0 0',
|
|
5276
5284
|
arrows: false
|
|
5277
5285
|
};
|
|
5278
|
-
const handleClick = link => {
|
|
5279
|
-
if (link) {
|
|
5280
|
-
window.open(link, '_blank');
|
|
5281
|
-
}
|
|
5282
|
-
};
|
|
5283
5286
|
const carouselContent = carouselList?.map((el, idx) => {
|
|
5284
|
-
const link = el?.cardImage?.metadata?.link;
|
|
5285
5287
|
return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
|
|
5286
5288
|
key: idx
|
|
5287
5289
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5288
|
-
|
|
5289
|
-
className: `${classes.singleCard} ${link && classes.cursorPointer}`
|
|
5290
|
+
className: classes.singleCard
|
|
5290
5291
|
}, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
|
|
5291
5292
|
src: el?.cardImage?.metadata?.value,
|
|
5292
5293
|
ref: el?.cardImage?.refSetter,
|
|
@@ -5328,10 +5329,10 @@ var index$b = /*#__PURE__*/Object.freeze({
|
|
|
5328
5329
|
const useFaqListStyles = createUseStyles(theme => ({
|
|
5329
5330
|
section: {
|
|
5330
5331
|
width: '100%',
|
|
5332
|
+
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
|
|
5331
5333
|
padding: ({
|
|
5332
5334
|
isMobile
|
|
5333
5335
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5334
|
-
backgroundColor: theme?.palette?.background?.primary,
|
|
5335
5336
|
'&, & *, & *:before, & *:after': {
|
|
5336
5337
|
fontFamily: theme?.typography?.fontFamily,
|
|
5337
5338
|
boxSizing: 'border-box'
|
|
@@ -5390,7 +5391,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5390
5391
|
},
|
|
5391
5392
|
content: {
|
|
5392
5393
|
color: theme?.palette?.font.primary,
|
|
5393
|
-
fontSize: theme.typography.fontSize.
|
|
5394
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5394
5395
|
lineHeight: '24px',
|
|
5395
5396
|
maxHeight: ({
|
|
5396
5397
|
isSelected
|
|
@@ -5399,19 +5400,8 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5399
5400
|
overflow: 'hidden'
|
|
5400
5401
|
},
|
|
5401
5402
|
'@media screen and (max-width: 767px)': {
|
|
5402
|
-
sectionSubheading: {
|
|
5403
|
-
textAlign: 'center'
|
|
5404
|
-
},
|
|
5405
|
-
sectionHeading: {
|
|
5406
|
-
textAlign: 'center'
|
|
5407
|
-
},
|
|
5408
|
-
title: {
|
|
5409
|
-
fontSize: '14px',
|
|
5410
|
-
lineHeight: '22px'
|
|
5411
|
-
},
|
|
5412
5403
|
content: {
|
|
5413
|
-
|
|
5414
|
-
lineHeight: '22px'
|
|
5404
|
+
lineHeight: '20px'
|
|
5415
5405
|
},
|
|
5416
5406
|
basicCardContainer: {
|
|
5417
5407
|
'&:last-child': {
|
|
@@ -5490,8 +5480,8 @@ const Accordion = ({
|
|
|
5490
5480
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5491
5481
|
className: classes.arrowButton
|
|
5492
5482
|
}, /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
|
|
5493
|
-
down:
|
|
5494
|
-
up: isSelected,
|
|
5483
|
+
down: isSelected,
|
|
5484
|
+
up: !isSelected,
|
|
5495
5485
|
size: "small"
|
|
5496
5486
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5497
5487
|
ref: item?.answer?.refSetter,
|
|
@@ -5512,8 +5502,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5512
5502
|
padding: ({
|
|
5513
5503
|
isMobile
|
|
5514
5504
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5515
|
-
|
|
5516
|
-
|
|
5505
|
+
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
|
|
5517
5506
|
'&, & *, & *:before, & *:after': {
|
|
5518
5507
|
fontFamily: theme?.typography?.fontFamily,
|
|
5519
5508
|
boxSizing: 'border-box'
|
|
@@ -5566,7 +5555,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5566
5555
|
},
|
|
5567
5556
|
nodeTitle: {
|
|
5568
5557
|
color: theme?.palette?.font.default,
|
|
5569
|
-
fontSize: theme.typography.fontSize.
|
|
5558
|
+
fontSize: theme.typography.fontSize.h3,
|
|
5570
5559
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5571
5560
|
lineHeight: 'normal',
|
|
5572
5561
|
margin: '0 0 20px',
|
|
@@ -5574,7 +5563,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5574
5563
|
},
|
|
5575
5564
|
nodePara: {
|
|
5576
5565
|
color: theme?.palette?.font.tertiary,
|
|
5577
|
-
fontSize: theme.typography.fontSize.
|
|
5566
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5578
5567
|
lineHeight: '24px',
|
|
5579
5568
|
wordBreak: 'break-word'
|
|
5580
5569
|
},
|
|
@@ -5593,14 +5582,10 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5593
5582
|
margin: '0 6px'
|
|
5594
5583
|
},
|
|
5595
5584
|
nodeTitle: {
|
|
5596
|
-
fontSize: '20px',
|
|
5597
5585
|
marginBottom: '0px'
|
|
5598
5586
|
},
|
|
5599
5587
|
nodePara: {
|
|
5600
|
-
|
|
5601
|
-
display: 'block',
|
|
5602
|
-
margin: '16px 0 !important',
|
|
5603
|
-
lineHeight: '22px'
|
|
5588
|
+
margin: '16px 0'
|
|
5604
5589
|
},
|
|
5605
5590
|
heading: {
|
|
5606
5591
|
letterSpacing: '-1px'
|
|
@@ -5836,7 +5821,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5836
5821
|
textDecoration: 'none !important'
|
|
5837
5822
|
},
|
|
5838
5823
|
courseCardStrikePrice: {
|
|
5839
|
-
fontSize: '
|
|
5824
|
+
fontSize: '10px',
|
|
5840
5825
|
fontWeight: '600',
|
|
5841
5826
|
lineHeight: '13px',
|
|
5842
5827
|
color: '#FE9B0E',
|
|
@@ -6004,7 +5989,8 @@ const formatCurrency = (countryCode, value, currencySymbol) => {
|
|
|
6004
5989
|
function CourseCard({
|
|
6005
5990
|
card,
|
|
6006
5991
|
countryCode,
|
|
6007
|
-
currencySymbol
|
|
5992
|
+
currencySymbol,
|
|
5993
|
+
utmParams
|
|
6008
5994
|
}) {
|
|
6009
5995
|
const classes = useCourseStyles();
|
|
6010
5996
|
const {
|
|
@@ -6014,7 +6000,7 @@ function CourseCard({
|
|
|
6014
6000
|
const defaultCardImg = 'https://cp-assets-public.s3.ap-south-1.amazonaws.com/cams/cards-icon/default_course.png';
|
|
6015
6001
|
const price = formatCurrency(countryCode, card?.price, currencySymbol);
|
|
6016
6002
|
const finalPrice = formatCurrency(countryCode, card?.finalPrice, currencySymbol);
|
|
6017
|
-
const buyNowText = countryCode === 'KR' ? '
|
|
6003
|
+
const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'Buy Now';
|
|
6018
6004
|
const offText = countryCode === 'KR' ? '할인' : 'OFF';
|
|
6019
6005
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6020
6006
|
className: classes.singleCard
|
|
@@ -6054,7 +6040,7 @@ function CourseCard({
|
|
|
6054
6040
|
className: classes.courseCardStrikePrice
|
|
6055
6041
|
}, /*#__PURE__*/React__default["default"].createElement("span", null, price), " ", discount > 0 && discount + `% ${offText}`) : null), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
6056
6042
|
className: classes.coursesAnchorTag,
|
|
6057
|
-
href: isEdit ? null : card?.shareableLink
|
|
6043
|
+
href: isEdit ? null : utmParams ? card?.shareableLink + `?flyy_utm_referrer=${utmParams}` : card?.shareableLink
|
|
6058
6044
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6059
6045
|
className: classes.courseCardBuyBtn
|
|
6060
6046
|
}, buyNowText)))));
|
|
@@ -6084,6 +6070,7 @@ function courses({
|
|
|
6084
6070
|
isMobile
|
|
6085
6071
|
});
|
|
6086
6072
|
const [nodeData] = sectionData?.components;
|
|
6073
|
+
const [utmParams, setUtmParams] = React.useState('');
|
|
6087
6074
|
const handleApiCall = () => {
|
|
6088
6075
|
if (baseURLs) {
|
|
6089
6076
|
getCourseList(baseURLs, hashToken).then(response => {
|
|
@@ -6129,6 +6116,11 @@ function courses({
|
|
|
6129
6116
|
else {
|
|
6130
6117
|
handleApiCall();
|
|
6131
6118
|
}
|
|
6119
|
+
const params = new URLSearchParams(window.location.search);
|
|
6120
|
+
const utmParams = params.get('flyy_utm_referrer');
|
|
6121
|
+
if (utmParams) {
|
|
6122
|
+
setUtmParams(utmParams);
|
|
6123
|
+
}
|
|
6132
6124
|
}, []);
|
|
6133
6125
|
const settings = {
|
|
6134
6126
|
className: classes.slickContainer,
|
|
@@ -6166,7 +6158,8 @@ function courses({
|
|
|
6166
6158
|
key: index,
|
|
6167
6159
|
card: card,
|
|
6168
6160
|
countryCode: countryCode,
|
|
6169
|
-
currencySymbol: currencySymbol
|
|
6161
|
+
currencySymbol: currencySymbol,
|
|
6162
|
+
utmParams: utmParams
|
|
6170
6163
|
})) : fallBackImages?.map((dt, ind) => {
|
|
6171
6164
|
return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
|
|
6172
6165
|
key: ind
|
|
@@ -6212,8 +6205,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6212
6205
|
padding: ({
|
|
6213
6206
|
isMobile
|
|
6214
6207
|
} = {}) => 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`,
|
|
6215
|
-
|
|
6216
|
-
|
|
6208
|
+
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
|
|
6217
6209
|
'&, & *, & *:before, & *:after': {
|
|
6218
6210
|
fontFamily: theme?.typography?.fontFamily,
|
|
6219
6211
|
boxSizing: 'border-box'
|
|
@@ -6235,7 +6227,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6235
6227
|
letterSpacing: '3px',
|
|
6236
6228
|
marginBottom: '8px',
|
|
6237
6229
|
color: theme?.palette?.font?.default,
|
|
6238
|
-
|
|
6230
|
+
wordBreak: 'break-word',
|
|
6239
6231
|
position: 'relative'
|
|
6240
6232
|
},
|
|
6241
6233
|
partialBackground: {
|
|
@@ -6267,13 +6259,13 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6267
6259
|
singleSlideContainer: {
|
|
6268
6260
|
backgroundColor: theme?.palette?.background?.default,
|
|
6269
6261
|
margin: '20px',
|
|
6270
|
-
width: 'calc(100% -
|
|
6262
|
+
width: 'calc(100% - 32px)',
|
|
6271
6263
|
// height: 'calc(100% - 40px)',
|
|
6272
6264
|
border: '3px solid #D8E0F0',
|
|
6273
6265
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6274
6266
|
padding: theme.spacing.padding.tiny,
|
|
6275
6267
|
boxShadow: theme?.shadows?.primary,
|
|
6276
|
-
minHeight: '
|
|
6268
|
+
minHeight: '390px'
|
|
6277
6269
|
},
|
|
6278
6270
|
imageContainer: {
|
|
6279
6271
|
minWidth: '100%',
|
|
@@ -6293,19 +6285,18 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6293
6285
|
},
|
|
6294
6286
|
teamDetailsContainer: {
|
|
6295
6287
|
textAlign: 'center',
|
|
6296
|
-
margin: '20px 0 0'
|
|
6297
|
-
|
|
6288
|
+
margin: '20px 0 0',
|
|
6289
|
+
overflowWrap: 'break-word'
|
|
6298
6290
|
},
|
|
6299
|
-
|
|
6300
6291
|
teamDetailsHeading: {
|
|
6301
|
-
fontSize: theme.typography.fontSize.
|
|
6292
|
+
fontSize: theme.typography.fontSize.h5,
|
|
6302
6293
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6303
|
-
lineHeight: '
|
|
6294
|
+
lineHeight: '32px',
|
|
6304
6295
|
margin: '0',
|
|
6305
6296
|
color: theme?.palette?.font?.default
|
|
6306
6297
|
},
|
|
6307
6298
|
teamDetailsSubHeading: {
|
|
6308
|
-
fontSize: theme.typography.fontSize.
|
|
6299
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6309
6300
|
lineHeight: '24px',
|
|
6310
6301
|
margin: '12px 0 0',
|
|
6311
6302
|
color: theme?.palette?.font?.primary
|
|
@@ -6315,13 +6306,9 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6315
6306
|
// padding: '60px 20px'
|
|
6316
6307
|
// },
|
|
6317
6308
|
teamHeading: {
|
|
6318
|
-
lineHeight: '20px'
|
|
6319
|
-
margin: 0,
|
|
6320
|
-
textAlign: 'center'
|
|
6309
|
+
lineHeight: '20px'
|
|
6321
6310
|
},
|
|
6322
6311
|
teamTitle: {
|
|
6323
|
-
textAlign: 'center',
|
|
6324
|
-
fontSize: theme.typography.fontSize.h3,
|
|
6325
6312
|
lineHeight: '36px',
|
|
6326
6313
|
letterSpacing: '-1px'
|
|
6327
6314
|
},
|
|
@@ -6483,7 +6470,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6483
6470
|
width: '100%',
|
|
6484
6471
|
height: '50%',
|
|
6485
6472
|
position: 'absolute',
|
|
6486
|
-
background: theme?.
|
|
6473
|
+
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2
|
|
6487
6474
|
},
|
|
6488
6475
|
sectionContainer: {
|
|
6489
6476
|
backgroundColor: theme?.palette?.background?.default,
|
|
@@ -6749,6 +6736,7 @@ function FormEnquiry({
|
|
|
6749
6736
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6750
6737
|
className: classes.inputDiv
|
|
6751
6738
|
}, /*#__PURE__*/React__default["default"].createElement(Input, {
|
|
6739
|
+
theme: theme,
|
|
6752
6740
|
data: nodeData.nameField,
|
|
6753
6741
|
value: inputVal.name,
|
|
6754
6742
|
isValid: validData.nameValid,
|
|
@@ -6864,7 +6852,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6864
6852
|
padding: ({
|
|
6865
6853
|
isMobile
|
|
6866
6854
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6867
|
-
backgroundColor: theme?.palette?.background?.default,
|
|
6868
6855
|
'&, & *, & *:before, & *:after': {
|
|
6869
6856
|
fontFamily: theme?.typography?.fontFamily,
|
|
6870
6857
|
boxSizing: 'border-box'
|
|
@@ -6890,7 +6877,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6890
6877
|
width: '100%',
|
|
6891
6878
|
height: '50%',
|
|
6892
6879
|
position: 'absolute',
|
|
6893
|
-
background: theme?.palette?.background?.primary
|
|
6880
|
+
// background: theme?.palette?.background?.primary
|
|
6881
|
+
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.tertiaryBlue2
|
|
6894
6882
|
},
|
|
6895
6883
|
sectionContainer: {
|
|
6896
6884
|
backgroundColor: theme?.palette?.background?.default,
|
|
@@ -6906,8 +6894,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6906
6894
|
lineHeight: '71px',
|
|
6907
6895
|
letterSpacing: '-3px',
|
|
6908
6896
|
textAlign: 'left',
|
|
6909
|
-
wordBreak: 'break-word'
|
|
6910
|
-
textAlign: 'center'
|
|
6897
|
+
wordBreak: 'break-word'
|
|
6911
6898
|
},
|
|
6912
6899
|
contentContainer: {
|
|
6913
6900
|
width: '100%',
|
|
@@ -6916,18 +6903,17 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6916
6903
|
wordBreak: 'break-word'
|
|
6917
6904
|
},
|
|
6918
6905
|
leftContainer: {
|
|
6906
|
+
width: '50%',
|
|
6919
6907
|
display: 'flex',
|
|
6920
6908
|
flexDirection: 'column',
|
|
6921
|
-
justifyContent: 'space-between'
|
|
6922
|
-
flex: 1
|
|
6909
|
+
justifyContent: 'space-between'
|
|
6923
6910
|
},
|
|
6924
6911
|
subtitle: {
|
|
6925
6912
|
margin: '0 0 auto 0',
|
|
6926
6913
|
fontSize: theme.typography.fontSize.h6,
|
|
6927
6914
|
color: theme?.palette?.font?.default,
|
|
6928
6915
|
lineHeight: '32px',
|
|
6929
|
-
margin: '
|
|
6930
|
-
textAlign: 'center'
|
|
6916
|
+
margin: '20px 0px'
|
|
6931
6917
|
},
|
|
6932
6918
|
addressContainer: {
|
|
6933
6919
|
display: 'flex',
|
|
@@ -6943,7 +6929,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6943
6929
|
width: '50%',
|
|
6944
6930
|
display: 'flex',
|
|
6945
6931
|
flexDirection: 'column',
|
|
6946
|
-
justifyContent: 'space-between'
|
|
6932
|
+
justifyContent: 'space-between',
|
|
6933
|
+
padding: '0 0 0 80px'
|
|
6947
6934
|
},
|
|
6948
6935
|
inputDiv: {
|
|
6949
6936
|
margin: '0 0 20px 0',
|
|
@@ -7018,7 +7005,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7018
7005
|
textAlign: 'center'
|
|
7019
7006
|
},
|
|
7020
7007
|
subtitle: {
|
|
7021
|
-
margin: '
|
|
7008
|
+
margin: '0 0 12px 0',
|
|
7022
7009
|
textAlign: 'center',
|
|
7023
7010
|
lineHeight: '26px'
|
|
7024
7011
|
},
|
|
@@ -7127,6 +7114,10 @@ function Contact({
|
|
|
7127
7114
|
className: classes.partialBackground
|
|
7128
7115
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7129
7116
|
className: classes.sectionContainer
|
|
7117
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7118
|
+
className: classes.contentContainer
|
|
7119
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7120
|
+
className: classes.leftContainer
|
|
7130
7121
|
}, /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
7131
7122
|
className: classes.title
|
|
7132
7123
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -7141,10 +7132,6 @@ function Contact({
|
|
|
7141
7132
|
__html: nodeData?.subtitle?.metadata?.value
|
|
7142
7133
|
}
|
|
7143
7134
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7144
|
-
className: classes.contentContainer
|
|
7145
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7146
|
-
className: classes.leftContainer
|
|
7147
|
-
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7148
7135
|
className: classes.addressContainer
|
|
7149
7136
|
}, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
|
|
7150
7137
|
className: classes?.telephoneImage,
|
|
@@ -7268,6 +7255,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7268
7255
|
webinarSuperContainer: {
|
|
7269
7256
|
display: 'flex',
|
|
7270
7257
|
justifyContent: 'center',
|
|
7258
|
+
background: theme?.colors?.background1,
|
|
7271
7259
|
padding: ({
|
|
7272
7260
|
isMobile
|
|
7273
7261
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7278,7 +7266,14 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7278
7266
|
'& h2,& h3,& p': {
|
|
7279
7267
|
margin: '0'
|
|
7280
7268
|
}
|
|
7269
|
+
// '& h2,& h3': {
|
|
7270
|
+
// fontWeight: '500',
|
|
7271
|
+
// '& b,& strong': {
|
|
7272
|
+
// fontWeight: '700'
|
|
7273
|
+
// }
|
|
7274
|
+
// }
|
|
7281
7275
|
},
|
|
7276
|
+
|
|
7282
7277
|
sectionContainer: {
|
|
7283
7278
|
margin: '0 auto',
|
|
7284
7279
|
maxWidth: ({
|
|
@@ -7389,7 +7384,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7389
7384
|
margin: '0',
|
|
7390
7385
|
letterSpacing: '-1px',
|
|
7391
7386
|
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7392
|
-
color: theme
|
|
7387
|
+
color: theme?.colors?.font1
|
|
7393
7388
|
},
|
|
7394
7389
|
courseViewContainer: {
|
|
7395
7390
|
width: '645px',
|
|
@@ -7422,6 +7417,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7422
7417
|
courseDetailTag: {
|
|
7423
7418
|
display: 'flex',
|
|
7424
7419
|
alignItems: 'center',
|
|
7420
|
+
color: theme?.colors?.font1,
|
|
7425
7421
|
marginRight: '20px',
|
|
7426
7422
|
'& div': {
|
|
7427
7423
|
fontSize: theme.typography.fontSize.subHead,
|
|
@@ -7431,7 +7427,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7431
7427
|
courseDetailContent: {
|
|
7432
7428
|
fontSize: theme.typography.fontSize.subHead,
|
|
7433
7429
|
wordBreak: 'break-word',
|
|
7434
|
-
color: theme
|
|
7430
|
+
color: theme?.colors?.font1,
|
|
7435
7431
|
whiteSpace: 'pre-wrap',
|
|
7436
7432
|
width: '80%'
|
|
7437
7433
|
},
|
|
@@ -7440,8 +7436,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7440
7436
|
fontSize: theme.typography.fontSize.subHead,
|
|
7441
7437
|
lineHeight: '24px',
|
|
7442
7438
|
marginTop: '-20px',
|
|
7443
|
-
color:
|
|
7444
|
-
wordBreak: 'break-word'
|
|
7439
|
+
color: theme?.colors?.font1,
|
|
7440
|
+
wordBreak: 'break-word',
|
|
7441
|
+
textDecoration: 'underline'
|
|
7445
7442
|
},
|
|
7446
7443
|
courseDetailTime: {
|
|
7447
7444
|
color: '#EB5757',
|
|
@@ -7609,7 +7606,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7609
7606
|
}
|
|
7610
7607
|
};
|
|
7611
7608
|
const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
|
|
7612
|
-
const buyNowText = countryCode === 'KR' ? '
|
|
7609
|
+
const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'BUY NOW';
|
|
7613
7610
|
const registerNowText = countryCode === 'KR' ? '웨비나 신청하기' : 'REGISTER NOW';
|
|
7614
7611
|
const momentLocale = countryCode === 'KR' ? 'ko' : 'in';
|
|
7615
7612
|
if (countryCode === 'KR') {
|
|
@@ -7656,7 +7653,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7656
7653
|
color: theme.palette.primary.main,
|
|
7657
7654
|
width: "20px",
|
|
7658
7655
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7659
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("
|
|
7656
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7660
7657
|
ref: data?.videoTextContent?.refSetter,
|
|
7661
7658
|
className: classes.courseDetailContent,
|
|
7662
7659
|
dangerouslySetInnerHTML: {
|
|
@@ -7690,7 +7687,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7690
7687
|
className: classes.priceContainer
|
|
7691
7688
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7692
7689
|
className: classes.offerPrice
|
|
7693
|
-
}, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React__default["default"].createElement("
|
|
7690
|
+
}, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7694
7691
|
style: {
|
|
7695
7692
|
fontSize: '20px'
|
|
7696
7693
|
}
|
|
@@ -7765,6 +7762,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7765
7762
|
courseSuperContainer: {
|
|
7766
7763
|
display: 'flex',
|
|
7767
7764
|
justifyContent: 'center',
|
|
7765
|
+
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
|
|
7768
7766
|
padding: ({
|
|
7769
7767
|
isMobile
|
|
7770
7768
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7885,7 +7883,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7885
7883
|
margin: '0',
|
|
7886
7884
|
letterSpacing: '-1px',
|
|
7887
7885
|
wordBreak: 'break-word',
|
|
7888
|
-
color: theme
|
|
7886
|
+
color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1
|
|
7889
7887
|
},
|
|
7890
7888
|
courseViewContainer: {
|
|
7891
7889
|
width: '445px',
|
|
@@ -7936,6 +7934,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7936
7934
|
},
|
|
7937
7935
|
courseDetailTag: {
|
|
7938
7936
|
marginTop: '5px',
|
|
7937
|
+
color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
|
|
7939
7938
|
display: 'flex',
|
|
7940
7939
|
alignItems: 'center',
|
|
7941
7940
|
marginRight: '20px',
|
|
@@ -7950,7 +7949,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7950
7949
|
fontSize: theme.typography.fontSize.subHead,
|
|
7951
7950
|
lineHeight: '24px',
|
|
7952
7951
|
wordBreak: 'break-word',
|
|
7953
|
-
color: theme
|
|
7952
|
+
color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
|
|
7954
7953
|
whiteSpace: 'pre-wrap',
|
|
7955
7954
|
margin: '10px 0 20px'
|
|
7956
7955
|
},
|
|
@@ -7959,7 +7958,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7959
7958
|
fontSize: theme.typography.fontSize.subHead,
|
|
7960
7959
|
lineHeight: '24px',
|
|
7961
7960
|
marginTop: '-24px',
|
|
7962
|
-
color:
|
|
7961
|
+
color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
|
|
7963
7962
|
wordBreak: 'break-word'
|
|
7964
7963
|
},
|
|
7965
7964
|
courseDetailTime: {
|
|
@@ -8147,7 +8146,7 @@ const SingleVideoSlide = props => {
|
|
|
8147
8146
|
};
|
|
8148
8147
|
const effectivePrice = formatCurrency(countryCode, data?.effectivePrice, currencySymbol);
|
|
8149
8148
|
const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
|
|
8150
|
-
const buyNowText = countryCode === 'KR' ? '
|
|
8149
|
+
const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'BUY NOW';
|
|
8151
8150
|
const handleReadMoreText = () => {
|
|
8152
8151
|
if (countryCode === 'KR') {
|
|
8153
8152
|
return '더 보기';
|
|
@@ -8347,7 +8346,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8347
8346
|
padding: ({
|
|
8348
8347
|
isMobile
|
|
8349
8348
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8350
|
-
background:
|
|
8349
|
+
background: theme?.isGradient ? theme?.gradientColors?.background3 : theme?.solidColors?.background3,
|
|
8351
8350
|
'&, & *, & *:before, & *:after': {
|
|
8352
8351
|
fontFamily: theme?.typography?.fontFamily,
|
|
8353
8352
|
boxSizing: 'border-box'
|