diy-template-components 1.0.47 → 1.0.49
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 +653 -587
- package/build/index.es.js.map +1 -1
- package/build/index.js +653 -587
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -309,7 +309,7 @@ const colors = {
|
|
|
309
309
|
// shades of grey
|
|
310
310
|
darkGrey: '#333333',
|
|
311
311
|
grey: '#666666',
|
|
312
|
-
lightGrey: '#
|
|
312
|
+
lightGrey: '#9999',
|
|
313
313
|
blueGrey: '#9497A5'
|
|
314
314
|
};
|
|
315
315
|
const alpha = {
|
|
@@ -348,118 +348,117 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
|
|
|
348
348
|
};
|
|
349
349
|
};
|
|
350
350
|
|
|
351
|
-
const buttonStyles = createUseStyles(theme => {
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
351
|
+
const buttonStyles = createUseStyles(theme => ({
|
|
352
|
+
primary: {
|
|
353
|
+
width: ({
|
|
354
|
+
fluid
|
|
355
|
+
} = {}) => fluid ? '100%' : '',
|
|
356
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
357
|
+
fontWeight: '700',
|
|
358
|
+
fontSize: '14px',
|
|
359
|
+
lineHeight: '18px',
|
|
360
|
+
textAlign: 'center',
|
|
361
|
+
color: ({
|
|
362
|
+
disabled
|
|
363
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
364
|
+
background: ({
|
|
365
|
+
disabled
|
|
366
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
|
|
367
|
+
border: ({
|
|
368
|
+
disabled
|
|
369
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
|
|
370
|
+
textDecoration: 'none',
|
|
371
|
+
cursor: ({
|
|
372
|
+
disabled
|
|
373
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
374
|
+
maxWidth: '100%',
|
|
375
|
+
display: 'inline-block',
|
|
376
|
+
wordBreak: 'break-word',
|
|
377
|
+
flexShrink: '0'
|
|
378
|
+
},
|
|
379
|
+
secondary: {
|
|
380
|
+
width: ({
|
|
381
|
+
fluid
|
|
382
|
+
} = {}) => fluid ? '100%' : '',
|
|
383
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
384
|
+
fontSize: '14px',
|
|
385
|
+
fontWeight: '700',
|
|
386
|
+
display: 'inline-block',
|
|
387
|
+
textDecoration: 'none',
|
|
388
|
+
lineHeight: '18px',
|
|
389
|
+
color: ({
|
|
390
|
+
disabled
|
|
391
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
392
|
+
background: ({
|
|
393
|
+
disabled
|
|
394
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
395
|
+
border: ({
|
|
396
|
+
disabled
|
|
397
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
|
|
398
|
+
cursor: ({
|
|
399
|
+
disabled
|
|
400
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
401
|
+
maxWidth: '100%',
|
|
402
|
+
display: 'inline-block',
|
|
403
|
+
wordBreak: 'break-word',
|
|
404
|
+
flexShrink: '0'
|
|
405
|
+
},
|
|
406
|
+
tertiary: {
|
|
407
|
+
width: ({
|
|
408
|
+
fluid
|
|
409
|
+
} = {}) => fluid ? '100%' : '',
|
|
410
|
+
fontWeight: '400',
|
|
411
|
+
fontSize: '16px',
|
|
412
|
+
lineHeight: '20px',
|
|
413
|
+
display: 'flex',
|
|
414
|
+
alignItems: 'center',
|
|
415
|
+
border: 'none',
|
|
416
|
+
color: ({
|
|
417
|
+
disabled
|
|
418
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
419
|
+
background: ({
|
|
420
|
+
disabled
|
|
421
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
422
|
+
cursor: ({
|
|
423
|
+
disabled
|
|
424
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
425
|
+
maxWidth: '100%',
|
|
426
|
+
display: 'inline-block',
|
|
427
|
+
wordBreak: 'break-word',
|
|
428
|
+
flexShrink: '0',
|
|
429
|
+
'&:hover': {
|
|
430
|
+
background: theme.palette.primary.lightest,
|
|
431
|
+
borderRadius: '4px'
|
|
378
432
|
},
|
|
379
|
-
|
|
380
|
-
width: ({
|
|
381
|
-
fluid
|
|
382
|
-
} = {}) => fluid ? '100%' : '',
|
|
383
|
-
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
384
|
-
fontSize: '14px',
|
|
433
|
+
'&$active': {
|
|
385
434
|
fontWeight: '700',
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
color: ({
|
|
390
|
-
disabled
|
|
391
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
|
|
392
|
-
background: ({
|
|
393
|
-
disabled
|
|
394
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.ctaColor,
|
|
395
|
-
border: ({
|
|
396
|
-
disabled
|
|
397
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
|
|
398
|
-
cursor: ({
|
|
399
|
-
disabled
|
|
400
|
-
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
401
|
-
maxWidth: '100%',
|
|
402
|
-
display: 'inline-block',
|
|
403
|
-
wordBreak: 'break-word',
|
|
404
|
-
flexShrink: '0'
|
|
405
|
-
},
|
|
406
|
-
tertiary: {
|
|
407
|
-
width: ({
|
|
408
|
-
fluid
|
|
409
|
-
} = {}) => fluid ? '100%' : '',
|
|
410
|
-
fontWeight: '400',
|
|
411
|
-
fontSize: '16px',
|
|
412
|
-
lineHeight: '20px',
|
|
413
|
-
display: 'flex',
|
|
414
|
-
alignItems: 'center',
|
|
415
|
-
border: 'none',
|
|
416
|
-
color: ({
|
|
417
|
-
disabled
|
|
418
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
419
|
-
background: ({
|
|
420
|
-
disabled
|
|
421
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
422
|
-
cursor: ({
|
|
423
|
-
disabled
|
|
424
|
-
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
425
|
-
maxWidth: '100%',
|
|
426
|
-
display: 'inline-block',
|
|
427
|
-
wordBreak: 'break-word',
|
|
428
|
-
flexShrink: '0',
|
|
429
|
-
'&:hover': {
|
|
430
|
-
background: theme.palette.primary.lightest,
|
|
431
|
-
borderRadius: '4px'
|
|
432
|
-
},
|
|
433
|
-
'&$active': {
|
|
434
|
-
fontWeight: '700',
|
|
435
|
-
background: theme.palette.primary.lightest,
|
|
436
|
-
borderRadius: theme.shape.borderRadius.small,
|
|
437
|
-
color: theme.palette.primary.main
|
|
438
|
-
}
|
|
439
|
-
},
|
|
440
|
-
anchorClass: {
|
|
441
|
-
textDecoration: 'none'
|
|
442
|
-
},
|
|
443
|
-
active: {},
|
|
444
|
-
large: {
|
|
445
|
-
padding: '20px 24px'
|
|
446
|
-
},
|
|
447
|
-
medium: {
|
|
448
|
-
padding: '16px 24px'
|
|
449
|
-
},
|
|
450
|
-
small: {
|
|
451
|
-
padding: '12px 16px'
|
|
452
|
-
},
|
|
453
|
-
'@media screen and (max-width: 767px)': {
|
|
454
|
-
active: {
|
|
455
|
-
fontWeight: 'initial',
|
|
456
|
-
background: theme?.palette?.background?.default,
|
|
457
|
-
borderRadius: '0',
|
|
458
|
-
color: theme.palette.primary.main
|
|
459
|
-
}
|
|
435
|
+
background: theme.palette.primary.lightest,
|
|
436
|
+
borderRadius: theme.shape.borderRadius.small,
|
|
437
|
+
color: theme.palette.primary.main
|
|
460
438
|
}
|
|
461
|
-
}
|
|
462
|
-
|
|
439
|
+
},
|
|
440
|
+
anchorClass: {
|
|
441
|
+
textDecoration: 'none'
|
|
442
|
+
},
|
|
443
|
+
active: {},
|
|
444
|
+
large: {
|
|
445
|
+
padding: '20px 24px'
|
|
446
|
+
},
|
|
447
|
+
medium: {
|
|
448
|
+
padding: '16px 24px'
|
|
449
|
+
},
|
|
450
|
+
small: {
|
|
451
|
+
padding: '12px 16px'
|
|
452
|
+
},
|
|
453
|
+
'@media screen and (max-width: 767px)': {
|
|
454
|
+
active: {
|
|
455
|
+
fontWeight: 'initial',
|
|
456
|
+
background: theme?.palette?.background?.default,
|
|
457
|
+
borderRadius: '0',
|
|
458
|
+
color: theme.palette.primary.main
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}));
|
|
463
462
|
|
|
464
463
|
function useLinkBuilder(data) {
|
|
465
464
|
const {
|
|
@@ -1561,8 +1560,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1561
1560
|
justifyContent: 'center',
|
|
1562
1561
|
flexDirection: 'column',
|
|
1563
1562
|
alignItems: 'center',
|
|
1564
|
-
padding: '
|
|
1565
|
-
backgroundColor: theme?.palette?.background?.default,
|
|
1563
|
+
padding: '64px 128px 55px 128px',
|
|
1566
1564
|
'&, & *, & *:before, & *:after': {
|
|
1567
1565
|
fontFamily: theme?.typography?.fontFamily,
|
|
1568
1566
|
boxSizing: 'border-box'
|
|
@@ -1602,7 +1600,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1602
1600
|
upperContainerItem3: {
|
|
1603
1601
|
width: '33%',
|
|
1604
1602
|
display: 'flex',
|
|
1605
|
-
justifyContent: '
|
|
1603
|
+
justifyContent: 'end',
|
|
1606
1604
|
flexWrap: 'wrap',
|
|
1607
1605
|
paddingBottom: '52px'
|
|
1608
1606
|
},
|
|
@@ -1617,8 +1615,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1617
1615
|
display: 'flex',
|
|
1618
1616
|
justifyContent: 'flex-start',
|
|
1619
1617
|
alignItems: 'flex-start',
|
|
1620
|
-
|
|
1621
|
-
margin: '0'
|
|
1618
|
+
marginBottom: '16px'
|
|
1622
1619
|
},
|
|
1623
1620
|
addressImg: {
|
|
1624
1621
|
marginRight: '8px',
|
|
@@ -1696,7 +1693,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1696
1693
|
},
|
|
1697
1694
|
'@media screen and (max-width: 767px)': {
|
|
1698
1695
|
section: {
|
|
1699
|
-
padding: '
|
|
1696
|
+
padding: '16px 24px',
|
|
1700
1697
|
flexDirection: 'column',
|
|
1701
1698
|
alignItems: 'center',
|
|
1702
1699
|
justifyContent: 'center',
|
|
@@ -1720,7 +1717,9 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1720
1717
|
},
|
|
1721
1718
|
upperContainerItem3: {
|
|
1722
1719
|
width: '100%',
|
|
1723
|
-
|
|
1720
|
+
display: 'flex',
|
|
1721
|
+
flexDirection: 'column',
|
|
1722
|
+
alignItems: 'start'
|
|
1724
1723
|
},
|
|
1725
1724
|
cardHeading: {
|
|
1726
1725
|
justifyContent: 'center',
|
|
@@ -1888,7 +1887,7 @@ function Footer({
|
|
|
1888
1887
|
className: classes.lowerContainer
|
|
1889
1888
|
}, /*#__PURE__*/React.createElement("div", {
|
|
1890
1889
|
className: classes.bottomLeftText
|
|
1891
|
-
}, "
|
|
1890
|
+
}, "\xA9 ", new Date().getFullYear(), " All Rights Reserved"), /*#__PURE__*/React.createElement("div", {
|
|
1892
1891
|
className: classes.poweredByContainer
|
|
1893
1892
|
}, /*#__PURE__*/React.createElement("p", null, "Powered by"), /*#__PURE__*/React.createElement("a", {
|
|
1894
1893
|
title: "Powered by Classplus",
|
|
@@ -1951,15 +1950,15 @@ const rustTheme = {
|
|
|
1951
1950
|
light: colors.lightRust,
|
|
1952
1951
|
lightest: colors.lightestRust
|
|
1953
1952
|
};
|
|
1954
|
-
const generateThemePalette =
|
|
1955
|
-
primary:
|
|
1953
|
+
const generateThemePalette = themeColors => ({
|
|
1954
|
+
primary: themeColors,
|
|
1956
1955
|
background: {
|
|
1957
1956
|
default: colors.white,
|
|
1958
|
-
primary:
|
|
1957
|
+
primary: themeColors.lightest
|
|
1959
1958
|
},
|
|
1960
1959
|
border: {
|
|
1961
|
-
primary:
|
|
1962
|
-
secondary:
|
|
1960
|
+
primary: themeColors.main,
|
|
1961
|
+
secondary: themeColors.light
|
|
1963
1962
|
},
|
|
1964
1963
|
shadow: {
|
|
1965
1964
|
primary: hexToRgbA(colors.black, alpha.tenPercent),
|
|
@@ -1968,7 +1967,7 @@ const generateThemePalette = solidColors => ({
|
|
|
1968
1967
|
font: {
|
|
1969
1968
|
default: colors.darkGrey,
|
|
1970
1969
|
invertedDefault: colors.white,
|
|
1971
|
-
primary: colors.
|
|
1970
|
+
primary: colors.darkGrey,
|
|
1972
1971
|
secondary: colors.grey,
|
|
1973
1972
|
tertiary: colors.blueGrey
|
|
1974
1973
|
}
|
|
@@ -2040,17 +2039,19 @@ const fontSize = {
|
|
|
2040
2039
|
h4: 32,
|
|
2041
2040
|
h5: 24,
|
|
2042
2041
|
h6: 20,
|
|
2043
|
-
subHead:
|
|
2044
|
-
|
|
2042
|
+
subHead: 24,
|
|
2043
|
+
description: 20,
|
|
2044
|
+
body: 16
|
|
2045
2045
|
};
|
|
2046
2046
|
const fontSizeMob = {
|
|
2047
2047
|
h1: 40,
|
|
2048
|
-
h2:
|
|
2049
|
-
h3:
|
|
2048
|
+
h2: 24,
|
|
2049
|
+
h3: 20,
|
|
2050
2050
|
h4: 16,
|
|
2051
2051
|
h5: 16,
|
|
2052
2052
|
h6: 14,
|
|
2053
2053
|
subHead: 14,
|
|
2054
|
+
description: 16,
|
|
2054
2055
|
body: 14
|
|
2055
2056
|
};
|
|
2056
2057
|
const fontWeight = {
|
|
@@ -2295,10 +2296,10 @@ function PageRenderer$1({
|
|
|
2295
2296
|
const useSectionStyles$8 = createUseStyles(theme => ({
|
|
2296
2297
|
bannerCarouselRightSection: {
|
|
2297
2298
|
position: 'relative',
|
|
2298
|
-
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
|
|
2299
2299
|
padding: ({
|
|
2300
2300
|
isMobile
|
|
2301
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
2301
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
2302
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
2302
2303
|
'&, & *, & *:before, & *:after': {
|
|
2303
2304
|
fontFamily: theme?.typography?.fontFamily,
|
|
2304
2305
|
boxSizing: 'border-box'
|
|
@@ -2355,7 +2356,8 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2355
2356
|
subTitleHeading: {
|
|
2356
2357
|
marginBottom: '8px',
|
|
2357
2358
|
fontSize: theme.typography.fontSize.subHead,
|
|
2358
|
-
|
|
2359
|
+
letterSpacing: '3px',
|
|
2360
|
+
color: theme?.palette?.font?.default,
|
|
2359
2361
|
wordBreak: 'break-word',
|
|
2360
2362
|
maxWidth: '100%'
|
|
2361
2363
|
},
|
|
@@ -2397,6 +2399,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2397
2399
|
},
|
|
2398
2400
|
contentContainer: {
|
|
2399
2401
|
display: 'flex',
|
|
2402
|
+
flexDirection: 'column-reverse',
|
|
2400
2403
|
flexFlow: 'column',
|
|
2401
2404
|
paddingBottom: '48px',
|
|
2402
2405
|
gap: '24px'
|
|
@@ -2523,7 +2526,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2523
2526
|
height: sizeHandler,
|
|
2524
2527
|
border: ({
|
|
2525
2528
|
inverted
|
|
2526
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2529
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
|
|
2527
2530
|
borderRadius: '50%',
|
|
2528
2531
|
display: 'flex',
|
|
2529
2532
|
justifyContent: 'center',
|
|
@@ -2545,7 +2548,7 @@ function ArrowButton(props) {
|
|
|
2545
2548
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
2546
2549
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2547
2550
|
name: "Angle",
|
|
2548
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2551
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
|
|
2549
2552
|
inverted: true
|
|
2550
2553
|
}));
|
|
2551
2554
|
}
|
|
@@ -2745,182 +2748,185 @@ var index$l = /*#__PURE__*/Object.freeze({
|
|
|
2745
2748
|
'default': BannerCarouselRight
|
|
2746
2749
|
});
|
|
2747
2750
|
|
|
2748
|
-
const useSectionStyles$7 = createUseStyles(theme => {
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2751
|
+
const useSectionStyles$7 = createUseStyles(theme => ({
|
|
2752
|
+
section: {
|
|
2753
|
+
width: '100%',
|
|
2754
|
+
padding: ({
|
|
2755
|
+
isMobile
|
|
2756
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
2757
|
+
display: 'flex',
|
|
2758
|
+
justifyContent: 'center',
|
|
2759
|
+
flexDirection: 'column',
|
|
2760
|
+
alignItems: 'center',
|
|
2761
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
2762
|
+
'&, & *, & *:before, & *:after': {
|
|
2763
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
2764
|
+
boxSizing: 'border-box'
|
|
2765
|
+
},
|
|
2766
|
+
'& h2,& h3': {
|
|
2767
|
+
marginTop: '0'
|
|
2768
|
+
}
|
|
2769
|
+
},
|
|
2770
|
+
sectionContainer: {
|
|
2771
|
+
margin: '0 auto',
|
|
2772
|
+
maxWidth: ({
|
|
2773
|
+
containerWidth
|
|
2774
|
+
} = {}) => containerWidth
|
|
2775
|
+
},
|
|
2776
|
+
subTitleHeading: {
|
|
2777
|
+
marginBottom: '8px',
|
|
2778
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2779
|
+
color: theme?.palette?.font?.default,
|
|
2780
|
+
alignItems: 'center',
|
|
2781
|
+
textAlign: 'center',
|
|
2782
|
+
wordBreak: 'break-word',
|
|
2783
|
+
letterSpacing: '3px',
|
|
2784
|
+
textTransform: 'uppercase'
|
|
2785
|
+
},
|
|
2786
|
+
heading: {
|
|
2787
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
2788
|
+
fontSize: theme.typography.fontSize.h2,
|
|
2789
|
+
color: theme?.palette?.font?.default,
|
|
2790
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
2791
|
+
textAlign: 'center',
|
|
2792
|
+
wordBreak: 'break-word'
|
|
2793
|
+
},
|
|
2794
|
+
contentContainer: {
|
|
2795
|
+
display: 'flex',
|
|
2796
|
+
flexDirection: 'column',
|
|
2797
|
+
alignItems: 'center',
|
|
2798
|
+
justifyContent: 'center',
|
|
2799
|
+
width: '770px',
|
|
2800
|
+
margin: 'auto'
|
|
2801
|
+
},
|
|
2802
|
+
content: {
|
|
2803
|
+
display: 'flex',
|
|
2804
|
+
width: 'calc(100% - 100px)',
|
|
2805
|
+
alignItems: 'center',
|
|
2806
|
+
background: theme?.palette?.background?.default,
|
|
2807
|
+
boxShadow: theme?.shadows?.primary,
|
|
2808
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2809
|
+
overflow: 'hidden',
|
|
2810
|
+
minHeight: 200,
|
|
2811
|
+
marginBottom: theme.spacing.margin.small,
|
|
2812
|
+
position: 'relative',
|
|
2813
|
+
'&:nth-child(2n)': {
|
|
2814
|
+
alignSelf: 'flex-end',
|
|
2815
|
+
'& $contentNumber': {
|
|
2816
|
+
right: '0'
|
|
2817
|
+
},
|
|
2818
|
+
'& $contentText': {
|
|
2819
|
+
marginRight: '170px'
|
|
2763
2820
|
}
|
|
2764
|
-
// '& h2,& h3': {
|
|
2765
|
-
// fontWeight: '500',
|
|
2766
|
-
// '& b,& strong': {
|
|
2767
|
-
// fontWeight: '700'
|
|
2768
|
-
// }
|
|
2769
|
-
// }
|
|
2770
2821
|
},
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2822
|
+
'&:nth-child(2n+1)': {
|
|
2823
|
+
alignSelf: 'flex-start',
|
|
2824
|
+
'& $contentNumber': {
|
|
2825
|
+
left: '0'
|
|
2826
|
+
},
|
|
2827
|
+
'& $contentText': {
|
|
2828
|
+
marginLeft: '170px'
|
|
2829
|
+
}
|
|
2777
2830
|
},
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
2781
|
-
color: theme?.palette?.font?.tertiary,
|
|
2782
|
-
alignItems: 'center',
|
|
2783
|
-
textAlign: 'center',
|
|
2784
|
-
wordBreak: 'break-word',
|
|
2785
|
-
textTransform: 'uppercase'
|
|
2831
|
+
'&:nth-child(7n+1) $contentNumber': {
|
|
2832
|
+
background: palettes.purple.primary.lightest
|
|
2786
2833
|
},
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2834
|
+
'&:nth-child(7n+2) $contentNumber': {
|
|
2835
|
+
background: palettes.orange.primary.lightest
|
|
2836
|
+
},
|
|
2837
|
+
'&:nth-child(7n+3) $contentNumber': {
|
|
2838
|
+
background: palettes.red.primary.lightest
|
|
2839
|
+
},
|
|
2840
|
+
'&:nth-child(7n+4) $contentNumber': {
|
|
2841
|
+
background: palettes.green.primary.lightest
|
|
2794
2842
|
},
|
|
2843
|
+
'&:nth-child(7n+5) $contentNumber': {
|
|
2844
|
+
background: palettes.pink.primary.lightest
|
|
2845
|
+
},
|
|
2846
|
+
'&:nth-child(7n+6) $contentNumber': {
|
|
2847
|
+
background: palettes.blue.primary.lightest
|
|
2848
|
+
},
|
|
2849
|
+
'&:nth-child(7n) $contentNumber': {
|
|
2850
|
+
background: palettes.rust.primary.lightest
|
|
2851
|
+
}
|
|
2852
|
+
},
|
|
2853
|
+
contentNumber: {
|
|
2854
|
+
position: 'absolute',
|
|
2855
|
+
top: '0',
|
|
2856
|
+
fontWeight: '700',
|
|
2857
|
+
fontSize: '72px',
|
|
2858
|
+
letterSpacing: '-3px',
|
|
2859
|
+
display: 'flex',
|
|
2860
|
+
alignItems: 'center',
|
|
2861
|
+
justifyContent: 'center',
|
|
2862
|
+
padding: '48px',
|
|
2863
|
+
height: '100%',
|
|
2864
|
+
color: theme?.palette?.font?.default,
|
|
2865
|
+
wordBreak: 'break-word'
|
|
2866
|
+
},
|
|
2867
|
+
contentText: {
|
|
2868
|
+
padding: theme.spacing.padding.tiny
|
|
2869
|
+
},
|
|
2870
|
+
contentHeading: {
|
|
2871
|
+
fontStyle: 'normal',
|
|
2872
|
+
fontSize: theme.typography.fontSize.h5,
|
|
2873
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
2874
|
+
lineHeight: '32px',
|
|
2875
|
+
marginBottom: '8px',
|
|
2876
|
+
color: theme?.palette?.font?.default,
|
|
2877
|
+
wordBreak: 'break-word'
|
|
2878
|
+
},
|
|
2879
|
+
contentPara: {
|
|
2880
|
+
fontStyle: 'normal',
|
|
2881
|
+
fontSize: '16px',
|
|
2882
|
+
lineHeight: '26px',
|
|
2883
|
+
color: theme?.palette?.font?.primary,
|
|
2884
|
+
wordBreak: 'break-word'
|
|
2885
|
+
},
|
|
2886
|
+
'@media screen and (max-width: 767px)': {
|
|
2795
2887
|
contentContainer: {
|
|
2796
|
-
|
|
2797
|
-
flexDirection: 'column',
|
|
2798
|
-
alignItems: 'center',
|
|
2799
|
-
justifyContent: 'center',
|
|
2800
|
-
width: '770px',
|
|
2801
|
-
margin: 'auto'
|
|
2888
|
+
width: '100%'
|
|
2802
2889
|
},
|
|
2803
2890
|
content: {
|
|
2804
2891
|
display: 'flex',
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2810
|
-
overflow: 'hidden',
|
|
2811
|
-
minHeight: 200,
|
|
2812
|
-
marginBottom: theme.spacing.margin.small,
|
|
2813
|
-
position: 'relative',
|
|
2892
|
+
flexDirection: 'column',
|
|
2893
|
+
borderRadius: theme.shape.borderRadius.large,
|
|
2894
|
+
width: '100%',
|
|
2895
|
+
height: 'auto',
|
|
2814
2896
|
'&:nth-child(2n)': {
|
|
2815
|
-
|
|
2816
|
-
'& $contentNumber': {
|
|
2817
|
-
right: '0'
|
|
2818
|
-
},
|
|
2897
|
+
marginLeft: '0',
|
|
2819
2898
|
'& $contentText': {
|
|
2820
|
-
marginRight: '
|
|
2899
|
+
marginRight: '0',
|
|
2900
|
+
alignSelf: 'flex-start'
|
|
2901
|
+
// padding: '0'
|
|
2821
2902
|
}
|
|
2822
2903
|
},
|
|
2904
|
+
|
|
2823
2905
|
'&:nth-child(2n+1)': {
|
|
2824
|
-
|
|
2825
|
-
'& $contentNumber': {
|
|
2826
|
-
left: '0'
|
|
2827
|
-
},
|
|
2906
|
+
marginRight: '0',
|
|
2828
2907
|
'& $contentText': {
|
|
2829
|
-
marginLeft: '
|
|
2908
|
+
marginLeft: '0',
|
|
2909
|
+
alignSelf: 'flex-start'
|
|
2910
|
+
// padding: '0'
|
|
2830
2911
|
}
|
|
2831
|
-
},
|
|
2832
|
-
'&:nth-child(7n+1) $contentNumber': {
|
|
2833
|
-
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2834
|
-
},
|
|
2835
|
-
'&:nth-child(7n+2) $contentNumber': {
|
|
2836
|
-
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2837
|
-
},
|
|
2838
|
-
'&:nth-child(7n+3) $contentNumber': {
|
|
2839
|
-
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2840
|
-
},
|
|
2841
|
-
'&:nth-child(7n+4) $contentNumber': {
|
|
2842
|
-
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2843
|
-
},
|
|
2844
|
-
'&:nth-child(7n+5) $contentNumber': {
|
|
2845
|
-
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2846
|
-
},
|
|
2847
|
-
'&:nth-child(7n+6) $contentNumber': {
|
|
2848
|
-
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2849
|
-
},
|
|
2850
|
-
'&:nth-child(7n) $contentNumber': {
|
|
2851
|
-
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
|
|
2852
2912
|
}
|
|
2853
2913
|
},
|
|
2914
|
+
|
|
2854
2915
|
contentNumber: {
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
fontSize: '72px',
|
|
2859
|
-
letterSpacing: '-3px',
|
|
2860
|
-
display: 'flex',
|
|
2861
|
-
alignItems: 'center',
|
|
2862
|
-
justifyContent: 'center',
|
|
2863
|
-
padding: '48px',
|
|
2864
|
-
height: '100%',
|
|
2865
|
-
color: theme?.isGradient ? theme?.gradientColors?.font4 : theme?.solidColors?.font4,
|
|
2866
|
-
wordBreak: 'break-word'
|
|
2867
|
-
},
|
|
2868
|
-
contentText: {
|
|
2869
|
-
padding: theme.spacing.padding.tiny
|
|
2870
|
-
},
|
|
2871
|
-
contentHeading: {
|
|
2872
|
-
fontStyle: 'normal',
|
|
2873
|
-
fontSize: theme.typography.fontSize.h5,
|
|
2874
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
2875
|
-
lineHeight: '32px',
|
|
2876
|
-
marginBottom: '8px',
|
|
2877
|
-
color: theme?.palette?.font?.default,
|
|
2878
|
-
wordBreak: 'break-word'
|
|
2916
|
+
width: '100%',
|
|
2917
|
+
padding: '24px',
|
|
2918
|
+
position: 'static'
|
|
2879
2919
|
},
|
|
2880
2920
|
contentPara: {
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
lineHeight: '32px',
|
|
2884
|
-
color: theme?.palette?.font?.primary,
|
|
2885
|
-
wordBreak: 'break-word'
|
|
2921
|
+
fontSize: '14px',
|
|
2922
|
+
lineHeight: '22px'
|
|
2886
2923
|
},
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
},
|
|
2891
|
-
content: {
|
|
2892
|
-
display: 'flex',
|
|
2893
|
-
flexDirection: 'column',
|
|
2894
|
-
borderRadius: theme.shape.borderRadius.large,
|
|
2895
|
-
width: '100%',
|
|
2896
|
-
height: 'auto',
|
|
2897
|
-
'&:nth-child(2n)': {
|
|
2898
|
-
marginLeft: '0',
|
|
2899
|
-
'& $contentText': {
|
|
2900
|
-
marginRight: '0',
|
|
2901
|
-
alignSelf: 'flex-start'
|
|
2902
|
-
// padding: '0'
|
|
2903
|
-
}
|
|
2904
|
-
},
|
|
2905
|
-
|
|
2906
|
-
'&:nth-child(2n+1)': {
|
|
2907
|
-
marginRight: '0',
|
|
2908
|
-
'& $contentText': {
|
|
2909
|
-
marginLeft: '0',
|
|
2910
|
-
alignSelf: 'flex-start'
|
|
2911
|
-
// padding: '0'
|
|
2912
|
-
}
|
|
2913
|
-
}
|
|
2914
|
-
},
|
|
2915
|
-
|
|
2916
|
-
contentNumber: {
|
|
2917
|
-
width: '100%',
|
|
2918
|
-
padding: '24px',
|
|
2919
|
-
position: 'static'
|
|
2920
|
-
}
|
|
2924
|
+
contentHeading: {
|
|
2925
|
+
fontSize: '20px',
|
|
2926
|
+
lineHeight: '32px'
|
|
2921
2927
|
}
|
|
2922
|
-
}
|
|
2923
|
-
});
|
|
2928
|
+
}
|
|
2929
|
+
}));
|
|
2924
2930
|
|
|
2925
2931
|
function List({
|
|
2926
2932
|
sectionData
|
|
@@ -2992,21 +2998,13 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
2992
2998
|
return {
|
|
2993
2999
|
bannerCarouselCenterSection: {
|
|
2994
3000
|
width: '100%',
|
|
2995
|
-
// height: '100%',
|
|
2996
3001
|
textAlign: 'center',
|
|
2997
3002
|
position: 'relative',
|
|
2998
3003
|
'&, & *, & *:before, & *:after': {
|
|
2999
3004
|
fontFamily: theme?.typography?.fontFamily,
|
|
3000
3005
|
boxSizing: 'border-box'
|
|
3001
3006
|
}
|
|
3002
|
-
// '& h2,& h3': {
|
|
3003
|
-
// fontWeight: '500',
|
|
3004
|
-
// '& b,& strong': {
|
|
3005
|
-
// fontWeight: '700'
|
|
3006
|
-
// }
|
|
3007
|
-
// }
|
|
3008
3007
|
},
|
|
3009
|
-
|
|
3010
3008
|
sectionContainer: {
|
|
3011
3009
|
width: '100%',
|
|
3012
3010
|
// maxWidth: ({ containerWidth } = {}) => containerWidth,
|
|
@@ -3026,20 +3024,9 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3026
3024
|
margin: `${theme.spacing.margin.tiny}px 0px`
|
|
3027
3025
|
},
|
|
3028
3026
|
contentContainer: {
|
|
3029
|
-
// padding: '100px 0',
|
|
3030
|
-
// height: '100%',
|
|
3031
|
-
// display: 'flex',
|
|
3032
|
-
// alignItems: 'center'
|
|
3033
|
-
// height: '100%',
|
|
3034
3027
|
display: 'flex',
|
|
3035
|
-
/* padding: 100px 0; */
|
|
3036
3028
|
alignItems: 'center'
|
|
3037
|
-
// backgroundImage: ({ imageUrl } = {}) =>
|
|
3038
|
-
// `linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%), url("${imageUrl}")`,
|
|
3039
|
-
// backgroundPosition: 'center',
|
|
3040
|
-
// backgroundSize: 'cover'
|
|
3041
3029
|
},
|
|
3042
|
-
|
|
3043
3030
|
centerBgImageContainer: {
|
|
3044
3031
|
width: '100%',
|
|
3045
3032
|
position: 'relative',
|
|
@@ -3073,7 +3060,8 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3073
3060
|
color: theme?.palette?.font?.invertedDefault,
|
|
3074
3061
|
marginBottom: '8px',
|
|
3075
3062
|
fontSize: theme.typography.fontSize.subHead,
|
|
3076
|
-
wordBreak: 'break-word'
|
|
3063
|
+
wordBreak: 'break-word',
|
|
3064
|
+
letterSpacing: '3px'
|
|
3077
3065
|
},
|
|
3078
3066
|
heading: {
|
|
3079
3067
|
margin: '0',
|
|
@@ -3084,11 +3072,11 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3084
3072
|
}) => wordBreakValue || 'break-word'
|
|
3085
3073
|
},
|
|
3086
3074
|
description: {
|
|
3087
|
-
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
3088
3075
|
color: theme?.palette?.font?.invertedDefault,
|
|
3089
|
-
lineHeight: '
|
|
3076
|
+
lineHeight: '32px',
|
|
3077
|
+
fontWeight: '400',
|
|
3090
3078
|
wordBreak: 'break-word',
|
|
3091
|
-
fontSize: theme.typography.fontSize.
|
|
3079
|
+
fontSize: theme.typography.fontSize.description
|
|
3092
3080
|
},
|
|
3093
3081
|
sideBannerImage: {
|
|
3094
3082
|
width: '100%',
|
|
@@ -3096,37 +3084,44 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3096
3084
|
objectFit: 'cover',
|
|
3097
3085
|
objectPosition: '50% 50%'
|
|
3098
3086
|
},
|
|
3087
|
+
overlay: {
|
|
3088
|
+
zIndex: 1,
|
|
3089
|
+
position: 'absolute',
|
|
3090
|
+
top: 0,
|
|
3091
|
+
left: 0,
|
|
3092
|
+
width: '100%',
|
|
3093
|
+
height: '100%',
|
|
3094
|
+
backgroundColor: 'rgba(0, 0, 0, 0.4)'
|
|
3095
|
+
},
|
|
3099
3096
|
'@media screen and (max-width: 767px)': {
|
|
3097
|
+
heading: {
|
|
3098
|
+
fontSize: theme.typography.fontSize.h2
|
|
3099
|
+
},
|
|
3100
3100
|
partialBackground: {
|
|
3101
3101
|
display: 'none'
|
|
3102
3102
|
},
|
|
3103
3103
|
contentContainer: {
|
|
3104
|
-
display: '
|
|
3105
|
-
flexFlow: 'column-reverse',
|
|
3106
|
-
justifyContent: 'center',
|
|
3107
|
-
padding: '0px'
|
|
3108
|
-
},
|
|
3109
|
-
// textContainer: {
|
|
3110
|
-
// padding: '20px 20px',
|
|
3111
|
-
// height: '100%',
|
|
3112
|
-
// width: '100%'
|
|
3113
|
-
// // backgroundColor: theme?.palette?.background?.primary
|
|
3114
|
-
// },
|
|
3115
|
-
subTitleHeading: {
|
|
3116
|
-
color: theme?.palette?.font?.tertiary
|
|
3104
|
+
display: 'block'
|
|
3117
3105
|
},
|
|
3118
|
-
|
|
3119
|
-
|
|
3106
|
+
textContainer: {
|
|
3107
|
+
position: 'absolute',
|
|
3108
|
+
padding: '20px 20px',
|
|
3109
|
+
height: '100%',
|
|
3110
|
+
width: '100%',
|
|
3111
|
+
zIndex: '999999'
|
|
3112
|
+
// backgroundColor: theme?.palette?.background?.primary
|
|
3120
3113
|
},
|
|
3114
|
+
|
|
3121
3115
|
description: {
|
|
3122
|
-
|
|
3116
|
+
fontSize: '16px',
|
|
3117
|
+
lineHeight: '24px'
|
|
3123
3118
|
},
|
|
3124
3119
|
centerBgImageContainer: {
|
|
3125
3120
|
width: ({
|
|
3126
3121
|
isCustomWebsite
|
|
3127
3122
|
}) => isCustomWebsite ? '100%' : 'unset',
|
|
3128
|
-
|
|
3129
|
-
|
|
3123
|
+
position: 'relative',
|
|
3124
|
+
height: '40rem',
|
|
3130
3125
|
minHeight: '200px',
|
|
3131
3126
|
paddingBottom: '0'
|
|
3132
3127
|
},
|
|
@@ -3154,12 +3149,16 @@ const Section$3 = ({
|
|
|
3154
3149
|
isCustomWebsite,
|
|
3155
3150
|
countryCode
|
|
3156
3151
|
} = useContext(PageContext);
|
|
3152
|
+
const hasContent = Boolean(nodeData.cardHeading.metadata.value || nodeData.title.metadata.valu || nodeData.description.metadata.value);
|
|
3157
3153
|
const classes = useSectionStyles$6({
|
|
3158
3154
|
wordBreakValue: wordBreakValue(countryCode),
|
|
3159
3155
|
imageUrl: nodeData.image.metadata.value,
|
|
3160
3156
|
containerWidth,
|
|
3161
|
-
isCustomWebsite
|
|
3157
|
+
isCustomWebsite,
|
|
3158
|
+
hasContent
|
|
3162
3159
|
});
|
|
3160
|
+
const mobileImageSrc = isMobile && nodeData?.mobileImage?.metadata?.value;
|
|
3161
|
+
const desktopImageSrc = nodeData?.image?.metadata?.value;
|
|
3163
3162
|
return /*#__PURE__*/React.createElement("section", {
|
|
3164
3163
|
className: classes.bannerCarouselCenterSection
|
|
3165
3164
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -3197,8 +3196,10 @@ const Section$3 = ({
|
|
|
3197
3196
|
size: isMobile ? 'small' : 'medium'
|
|
3198
3197
|
}))) : null), /*#__PURE__*/React.createElement("div", {
|
|
3199
3198
|
className: classes?.centerBgImageContainer
|
|
3200
|
-
}, /*#__PURE__*/React.createElement(
|
|
3201
|
-
|
|
3199
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
3200
|
+
className: hasContent && classes?.overlay
|
|
3201
|
+
}), /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
3202
|
+
src: mobileImageSrc ? mobileImageSrc : desktopImageSrc,
|
|
3202
3203
|
className: classes?.centerBgImage,
|
|
3203
3204
|
sectionIndex: sectionIndex
|
|
3204
3205
|
}))));
|
|
@@ -3237,8 +3238,7 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
3237
3238
|
const useSectionStyles$5 = createUseStyles(theme => {
|
|
3238
3239
|
return {
|
|
3239
3240
|
section: {
|
|
3240
|
-
padding: `${theme.spacing.padding.
|
|
3241
|
-
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
|
|
3241
|
+
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3242
3242
|
'&, & *, & *:before, & *:after': {
|
|
3243
3243
|
fontFamily: theme?.typography?.fontFamily,
|
|
3244
3244
|
boxSizing: 'border-box'
|
|
@@ -3259,7 +3259,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3259
3259
|
},
|
|
3260
3260
|
centerData: {
|
|
3261
3261
|
display: 'flex',
|
|
3262
|
-
alignItems: '
|
|
3262
|
+
alignItems: 'start',
|
|
3263
3263
|
justifyContent: 'center'
|
|
3264
3264
|
|
|
3265
3265
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
@@ -3282,7 +3282,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3282
3282
|
}
|
|
3283
3283
|
},
|
|
3284
3284
|
imageBorder: {
|
|
3285
|
-
|
|
3285
|
+
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3286
3286
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3287
3287
|
position: 'absolute',
|
|
3288
3288
|
width: '100%',
|
|
@@ -3306,6 +3306,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3306
3306
|
subTitleHeading: {
|
|
3307
3307
|
marginBottom: '8px',
|
|
3308
3308
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3309
|
+
letterSpacing: '3px',
|
|
3309
3310
|
color: theme?.palette?.font?.default,
|
|
3310
3311
|
wordBreak: 'break-word'
|
|
3311
3312
|
},
|
|
@@ -3328,10 +3329,10 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3328
3329
|
},
|
|
3329
3330
|
'@media screen and (max-width: 767px)': {
|
|
3330
3331
|
section: {
|
|
3331
|
-
padding: `${theme.spacing.padding.
|
|
3332
|
+
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px`
|
|
3332
3333
|
},
|
|
3333
3334
|
centerData: {
|
|
3334
|
-
flexDirection: 'column
|
|
3335
|
+
flexDirection: 'column',
|
|
3335
3336
|
width: '100%'
|
|
3336
3337
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3337
3338
|
},
|
|
@@ -3360,7 +3361,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3360
3361
|
textAlign: 'center'
|
|
3361
3362
|
},
|
|
3362
3363
|
heading: {
|
|
3363
|
-
fontSize: `${theme?.typography?.fontSize?.
|
|
3364
|
+
fontSize: `${theme?.typography?.fontSize?.h2}px`
|
|
3365
|
+
},
|
|
3366
|
+
subTitleHeading: {
|
|
3367
|
+
letterSpacing: '3px',
|
|
3368
|
+
lineHeight: '17px'
|
|
3364
3369
|
},
|
|
3365
3370
|
description: {
|
|
3366
3371
|
margin: '16px 0'
|
|
@@ -3469,7 +3474,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3469
3474
|
justifyContent: 'center',
|
|
3470
3475
|
padding: ({
|
|
3471
3476
|
isMobile
|
|
3472
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
3477
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3473
3478
|
'&, & *, & *:before, & *:after': {
|
|
3474
3479
|
fontFamily: theme?.typography?.fontFamily,
|
|
3475
3480
|
boxSizing: 'border-box'
|
|
@@ -3489,12 +3494,11 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3489
3494
|
left: '0',
|
|
3490
3495
|
width: '100%',
|
|
3491
3496
|
height: '50%',
|
|
3492
|
-
position: 'absolute'
|
|
3493
|
-
|
|
3497
|
+
position: 'absolute',
|
|
3498
|
+
background: theme?.palette?.background?.primary
|
|
3494
3499
|
},
|
|
3495
|
-
|
|
3496
3500
|
sectionContainer: {
|
|
3497
|
-
|
|
3501
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
3498
3502
|
boxShadow: theme?.shadows?.secondary,
|
|
3499
3503
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3500
3504
|
padding: theme.spacing.padding.small,
|
|
@@ -3512,18 +3516,18 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3512
3516
|
contentContainer: {
|
|
3513
3517
|
display: 'flex',
|
|
3514
3518
|
alignItems: 'center',
|
|
3515
|
-
|
|
3519
|
+
gap: '16px'
|
|
3516
3520
|
},
|
|
3517
3521
|
title: {
|
|
3518
3522
|
fontSize: theme.typography.fontSize.h6,
|
|
3519
3523
|
lineHeight: '32px',
|
|
3520
3524
|
color: theme?.palette?.font?.primary,
|
|
3521
|
-
|
|
3522
|
-
|
|
3525
|
+
wordBreak: 'break-word',
|
|
3526
|
+
flex: 1
|
|
3523
3527
|
},
|
|
3524
3528
|
inputContainer: {
|
|
3525
3529
|
display: 'flex',
|
|
3526
|
-
|
|
3530
|
+
flex: 1
|
|
3527
3531
|
},
|
|
3528
3532
|
inputFieldDiv: {
|
|
3529
3533
|
display: 'flex',
|
|
@@ -3640,59 +3644,56 @@ async function postApiCallForm(baseURLs, data, extraProps) {
|
|
|
3640
3644
|
}
|
|
3641
3645
|
}
|
|
3642
3646
|
|
|
3643
|
-
const inputStyles = createUseStyles(theme => {
|
|
3644
|
-
|
|
3645
|
-
|
|
3647
|
+
const inputStyles = createUseStyles(theme => ({
|
|
3648
|
+
inputField: {
|
|
3649
|
+
width: '100%',
|
|
3650
|
+
maxWidth: '314px',
|
|
3651
|
+
background: theme?.palette?.background?.default,
|
|
3652
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
3653
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3654
|
+
padding: '14px 12px',
|
|
3655
|
+
display: 'flex',
|
|
3656
|
+
fontWeight: '400',
|
|
3657
|
+
fontSize: '16px',
|
|
3658
|
+
lineHeight: '20px',
|
|
3659
|
+
verticalalign: 'top',
|
|
3660
|
+
resize: 'none',
|
|
3661
|
+
fontFamily: 'inherit',
|
|
3662
|
+
'&::placeholder': {
|
|
3663
|
+
fontWeight: '400',
|
|
3664
|
+
fontSize: '16px',
|
|
3665
|
+
lineHeight: '20px',
|
|
3666
|
+
color: theme?.palette?.font?.primary,
|
|
3667
|
+
fontFamily: theme?.typography?.fontFamily
|
|
3668
|
+
},
|
|
3669
|
+
'&:focus': {
|
|
3670
|
+
outline: 'none'
|
|
3671
|
+
}
|
|
3672
|
+
},
|
|
3673
|
+
error: {
|
|
3674
|
+
borderBottom: '1px solid red',
|
|
3675
|
+
position: 'absolute',
|
|
3676
|
+
bottom: '-8px',
|
|
3677
|
+
width: 'calc(100% - 24px)'
|
|
3678
|
+
},
|
|
3679
|
+
errorBorder: {
|
|
3680
|
+
border: `1px solid red`,
|
|
3681
|
+
color: 'red',
|
|
3682
|
+
'&::placeholder': {
|
|
3683
|
+
color: 'red',
|
|
3684
|
+
opacity: '0.5'
|
|
3685
|
+
}
|
|
3686
|
+
},
|
|
3687
|
+
'@media screen and (max-width: 767px)': {
|
|
3646
3688
|
inputField: {
|
|
3647
3689
|
width: '100%',
|
|
3648
|
-
maxWidth: '
|
|
3649
|
-
background: theme?.palette?.background?.default,
|
|
3650
|
-
border: `1px solid ${theme?.isGradient ? theme?.gradientColors?.AccentColor : theme?.solidColors?.inputBorderColor}`,
|
|
3651
|
-
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3652
|
-
padding: '14px 12px',
|
|
3653
|
-
display: 'flex',
|
|
3654
|
-
fontWeight: '400',
|
|
3655
|
-
fontSize: '16px',
|
|
3656
|
-
lineHeight: '20px',
|
|
3657
|
-
verticalalign: 'top',
|
|
3658
|
-
resize: 'none',
|
|
3659
|
-
fontFamily: 'inherit',
|
|
3660
|
-
'&::placeholder': {
|
|
3661
|
-
fontWeight: '400',
|
|
3662
|
-
fontSize: '16px',
|
|
3663
|
-
lineHeight: '20px',
|
|
3664
|
-
color: theme?.palette?.font?.primary,
|
|
3665
|
-
fontFamily: theme?.typography?.fontFamily
|
|
3666
|
-
},
|
|
3667
|
-
'&:focus': {
|
|
3668
|
-
outline: 'none'
|
|
3669
|
-
}
|
|
3690
|
+
maxWidth: 'unset'
|
|
3670
3691
|
},
|
|
3671
3692
|
error: {
|
|
3672
|
-
|
|
3673
|
-
position: 'absolute',
|
|
3674
|
-
bottom: '-8px',
|
|
3675
|
-
width: 'calc(100% - 24px)'
|
|
3676
|
-
},
|
|
3677
|
-
errorBorder: {
|
|
3678
|
-
border: `1px solid red`,
|
|
3679
|
-
color: 'red',
|
|
3680
|
-
'&::placeholder': {
|
|
3681
|
-
color: 'red',
|
|
3682
|
-
opacity: '0.5'
|
|
3683
|
-
}
|
|
3684
|
-
},
|
|
3685
|
-
'@media screen and (max-width: 767px)': {
|
|
3686
|
-
inputField: {
|
|
3687
|
-
width: '100%',
|
|
3688
|
-
maxWidth: 'unset'
|
|
3689
|
-
},
|
|
3690
|
-
error: {
|
|
3691
|
-
bottom: '-2px'
|
|
3692
|
-
}
|
|
3693
|
+
bottom: '-2px'
|
|
3693
3694
|
}
|
|
3694
|
-
}
|
|
3695
|
-
});
|
|
3695
|
+
}
|
|
3696
|
+
}));
|
|
3696
3697
|
|
|
3697
3698
|
function Input({
|
|
3698
3699
|
data,
|
|
@@ -3705,12 +3706,9 @@ function Input({
|
|
|
3705
3706
|
const {
|
|
3706
3707
|
onChange,
|
|
3707
3708
|
onBlur,
|
|
3708
|
-
onFocus
|
|
3709
|
-
theme
|
|
3709
|
+
onFocus
|
|
3710
3710
|
} = props;
|
|
3711
|
-
const classes = inputStyles(
|
|
3712
|
-
theme
|
|
3713
|
-
});
|
|
3711
|
+
const classes = inputStyles();
|
|
3714
3712
|
const Comp = inputType;
|
|
3715
3713
|
return /*#__PURE__*/React.createElement(Comp, _extends({}, inputType === 'input' ? {
|
|
3716
3714
|
type: 'text'
|
|
@@ -3821,8 +3819,7 @@ function SubscribeToNewsletter({
|
|
|
3821
3819
|
value: inputVal,
|
|
3822
3820
|
isValid: isValid,
|
|
3823
3821
|
style: {
|
|
3824
|
-
padding: '
|
|
3825
|
-
maxWidth: '100%'
|
|
3822
|
+
padding: '12px 16px'
|
|
3826
3823
|
},
|
|
3827
3824
|
inputType: 'input',
|
|
3828
3825
|
onChange: e => {
|
|
@@ -3846,16 +3843,14 @@ function SubscribeToNewsletter({
|
|
|
3846
3843
|
},
|
|
3847
3844
|
onClick: () => handleSubmit(),
|
|
3848
3845
|
type: nodeData?.cta?.metadata?.type,
|
|
3849
|
-
size:
|
|
3846
|
+
size: 'small',
|
|
3850
3847
|
styling: isMobile ? {
|
|
3851
|
-
marginTop: '12px'
|
|
3852
|
-
border: 'none'
|
|
3848
|
+
marginTop: '12px'
|
|
3853
3849
|
} : {
|
|
3854
3850
|
maxWidth: '200px',
|
|
3855
3851
|
whiteSpace: 'nowrap',
|
|
3856
3852
|
overflow: 'hidden',
|
|
3857
|
-
textOverflow: 'ellipsis'
|
|
3858
|
-
border: 'none'
|
|
3853
|
+
textOverflow: 'ellipsis'
|
|
3859
3854
|
},
|
|
3860
3855
|
disabled: btnDisabled
|
|
3861
3856
|
})))))));
|
|
@@ -3868,9 +3863,9 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
3868
3863
|
|
|
3869
3864
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
3870
3865
|
testimonialContainer: {
|
|
3871
|
-
|
|
3866
|
+
background: theme?.palette?.background?.primary,
|
|
3872
3867
|
overflow: 'hidden',
|
|
3873
|
-
padding: `${theme.spacing.padding.
|
|
3868
|
+
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3874
3869
|
'&, & *, & *:before, & *:after': {
|
|
3875
3870
|
fontFamily: theme?.typography?.fontFamily,
|
|
3876
3871
|
boxSizing: 'border-box'
|
|
@@ -3886,7 +3881,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3886
3881
|
} = {}) => containerWidth
|
|
3887
3882
|
},
|
|
3888
3883
|
testimonialText: {
|
|
3889
|
-
color: theme?.palette?.font?.
|
|
3884
|
+
color: theme?.palette?.font?.default,
|
|
3890
3885
|
fontSize: theme.typography.fontSize.subHead,
|
|
3891
3886
|
wordBreak: 'break-word',
|
|
3892
3887
|
textTransform: 'uppercase'
|
|
@@ -3910,7 +3905,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3910
3905
|
position: 'relative',
|
|
3911
3906
|
height: 'calc(100% - 12px)',
|
|
3912
3907
|
width: 'calc(100% - 24px)',
|
|
3913
|
-
background: theme?.
|
|
3908
|
+
background: theme?.palette?.background?.default,
|
|
3914
3909
|
boxShadow: theme?.shadows?.primary,
|
|
3915
3910
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3916
3911
|
},
|
|
@@ -3935,10 +3930,10 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3935
3930
|
reviewText: {
|
|
3936
3931
|
// padding: '48px 41px 0 48px',
|
|
3937
3932
|
marginBottom: theme.spacing.margin.tiny,
|
|
3938
|
-
fontSize: theme.typography.fontSize.
|
|
3933
|
+
fontSize: theme.typography.fontSize.body,
|
|
3939
3934
|
wordBreak: 'break-word',
|
|
3940
|
-
color: theme?.
|
|
3941
|
-
lineHeight: '
|
|
3935
|
+
color: theme?.palette?.font?.primary,
|
|
3936
|
+
lineHeight: '26px'
|
|
3942
3937
|
},
|
|
3943
3938
|
userContainer: {
|
|
3944
3939
|
display: 'flex',
|
|
@@ -3957,7 +3952,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3957
3952
|
height: '64px',
|
|
3958
3953
|
borderRadius: '32px',
|
|
3959
3954
|
background: '#666666',
|
|
3960
|
-
marginRight: '16px',
|
|
3961
3955
|
flexShrink: '0'
|
|
3962
3956
|
},
|
|
3963
3957
|
userImage: {
|
|
@@ -3967,7 +3961,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3967
3961
|
marginRight: '16px'
|
|
3968
3962
|
},
|
|
3969
3963
|
userName: {
|
|
3970
|
-
color: theme?.
|
|
3964
|
+
color: theme?.palette?.font?.default,
|
|
3971
3965
|
margin: '0',
|
|
3972
3966
|
fontSize: theme.typography.fontSize.h5,
|
|
3973
3967
|
// paddingTop: '16px',
|
|
@@ -3984,7 +3978,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3984
3978
|
},
|
|
3985
3979
|
'@media (max-width: 768px)': {
|
|
3986
3980
|
testimonialContainer: {
|
|
3987
|
-
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.
|
|
3981
|
+
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
3988
3982
|
},
|
|
3989
3983
|
// testimonialCardAndText: {
|
|
3990
3984
|
// margin: '0 20px'
|
|
@@ -4012,6 +4006,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4012
4006
|
marginRight: '16px'
|
|
4013
4007
|
},
|
|
4014
4008
|
reviewText: {
|
|
4009
|
+
lineHeight: '22px',
|
|
4015
4010
|
marginBottom: '16px'
|
|
4016
4011
|
},
|
|
4017
4012
|
singleCard: {
|
|
@@ -4022,7 +4017,8 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4022
4017
|
// paddingTop: '8px',
|
|
4023
4018
|
overflow: 'hidden',
|
|
4024
4019
|
whiteSpace: 'nowrap',
|
|
4025
|
-
textOverflow: 'ellipsis'
|
|
4020
|
+
textOverflow: 'ellipsis',
|
|
4021
|
+
fontSize: '20px'
|
|
4026
4022
|
},
|
|
4027
4023
|
userImageContainer: {
|
|
4028
4024
|
width: '48px',
|
|
@@ -4084,7 +4080,7 @@ function Section$1({
|
|
|
4084
4080
|
className: classes.quoteIcon
|
|
4085
4081
|
}, /*#__PURE__*/React.createElement(QuotesComponent, null)), /*#__PURE__*/React.createElement("div", {
|
|
4086
4082
|
className: classes.cardDetails
|
|
4087
|
-
}, /*#__PURE__*/React.createElement("
|
|
4083
|
+
}, /*#__PURE__*/React.createElement("p", {
|
|
4088
4084
|
ref: el?.cardTextContent?.refSetter,
|
|
4089
4085
|
className: classes.reviewText,
|
|
4090
4086
|
dangerouslySetInnerHTML: {
|
|
@@ -4129,7 +4125,7 @@ function Section$1({
|
|
|
4129
4125
|
dangerouslySetInnerHTML: {
|
|
4130
4126
|
__html: nodeData?.carouselHeading?.metadata?.value
|
|
4131
4127
|
}
|
|
4132
|
-
})), /*#__PURE__*/React.createElement("
|
|
4128
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
4133
4129
|
className: classes.testimonialHeader
|
|
4134
4130
|
}, /*#__PURE__*/React.createElement("span", {
|
|
4135
4131
|
ref: nodeData?.title?.refSetter,
|
|
@@ -4349,7 +4345,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4349
4345
|
justifyContent: 'center',
|
|
4350
4346
|
padding: ({
|
|
4351
4347
|
isMobile
|
|
4352
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.
|
|
4348
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4353
4349
|
'&, & *, & *:before, & *:after': {
|
|
4354
4350
|
fontFamily: theme?.typography?.fontFamily
|
|
4355
4351
|
// boxSizing: 'border-box'
|
|
@@ -4376,11 +4372,12 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4376
4372
|
letterSpacing: '3px',
|
|
4377
4373
|
textTransform: 'uppercase',
|
|
4378
4374
|
color: theme.palette.font.default,
|
|
4379
|
-
wordBreak: 'break-word'
|
|
4380
|
-
marginBottom: '8px'
|
|
4375
|
+
wordBreak: 'break-word'
|
|
4376
|
+
// marginBottom: '8px'
|
|
4381
4377
|
},
|
|
4378
|
+
|
|
4382
4379
|
videoTestimonialTitle: {
|
|
4383
|
-
fontSize: theme.typography.fontSize.
|
|
4380
|
+
fontSize: theme.typography.fontSize.h2,
|
|
4384
4381
|
// lineHeight: '71px',
|
|
4385
4382
|
letterSpacing: '-3px',
|
|
4386
4383
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -4390,15 +4387,16 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4390
4387
|
},
|
|
4391
4388
|
videoCarousel: {
|
|
4392
4389
|
display: 'flex',
|
|
4393
|
-
alignItems: 'center',
|
|
4394
4390
|
justifyContent: 'flex-start',
|
|
4395
|
-
gap:
|
|
4391
|
+
gap: '40px'
|
|
4396
4392
|
},
|
|
4397
4393
|
iframeSuperContainer: {
|
|
4398
4394
|
height: '100%',
|
|
4399
4395
|
width: '100%',
|
|
4400
4396
|
display: 'flex',
|
|
4401
|
-
alignItems: 'center'
|
|
4397
|
+
alignItems: 'center',
|
|
4398
|
+
marginTop: '16px',
|
|
4399
|
+
borderRadius: '8px'
|
|
4402
4400
|
},
|
|
4403
4401
|
iframeContainer: {
|
|
4404
4402
|
width: '100%',
|
|
@@ -4428,13 +4426,13 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4428
4426
|
fontWeight: theme.typography.fontWeight.bold
|
|
4429
4427
|
},
|
|
4430
4428
|
videoDetailsContent: {
|
|
4431
|
-
fontSize: theme.typography.fontSize.
|
|
4429
|
+
fontSize: theme.typography.fontSize.body,
|
|
4432
4430
|
lineHeight: '24px',
|
|
4433
4431
|
wordBreak: 'break-word',
|
|
4434
4432
|
color: theme.palette.font.primary
|
|
4435
4433
|
},
|
|
4436
4434
|
videoDetailsSubContent: {
|
|
4437
|
-
fontSize: theme.typography.fontSize.
|
|
4435
|
+
fontSize: theme.typography.fontSize.h6,
|
|
4438
4436
|
lineHeight: '24px',
|
|
4439
4437
|
margin: '0',
|
|
4440
4438
|
color: theme.palette.font.primary,
|
|
@@ -4448,15 +4446,24 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4448
4446
|
height: 'max-content'
|
|
4449
4447
|
},
|
|
4450
4448
|
videoDetails: {
|
|
4449
|
+
justifyContent: 'center',
|
|
4450
|
+
alignItems: 'center',
|
|
4451
4451
|
width: '100%',
|
|
4452
4452
|
gap: '16px'
|
|
4453
4453
|
},
|
|
4454
4454
|
videoDetailsHeading: {
|
|
4455
4455
|
lineHeight: 'normal'
|
|
4456
4456
|
},
|
|
4457
|
+
videoDetailsSubContent: {
|
|
4458
|
+
textAlign: 'center'
|
|
4459
|
+
},
|
|
4457
4460
|
videoTestimonialTitle: {
|
|
4458
4461
|
lineHeight: 'normal',
|
|
4459
|
-
letterSpacing: '-1px'
|
|
4462
|
+
letterSpacing: '-1px',
|
|
4463
|
+
textAlign: 'center'
|
|
4464
|
+
},
|
|
4465
|
+
videoTestimonialHeading: {
|
|
4466
|
+
textAlign: 'center'
|
|
4460
4467
|
}
|
|
4461
4468
|
}
|
|
4462
4469
|
};
|
|
@@ -4560,8 +4567,8 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4560
4567
|
videoSuperContainer: {
|
|
4561
4568
|
padding: ({
|
|
4562
4569
|
isMobile
|
|
4563
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
4564
|
-
|
|
4570
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4571
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
4565
4572
|
'&, & *, & *:before, & *:after': {
|
|
4566
4573
|
fontFamily: theme?.typography?.fontFamily,
|
|
4567
4574
|
boxSizing: 'border-box'
|
|
@@ -4569,14 +4576,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4569
4576
|
'& h3': {
|
|
4570
4577
|
marginTop: '0'
|
|
4571
4578
|
}
|
|
4572
|
-
// '& h2,& h3': {
|
|
4573
|
-
// fontWeight: '500',
|
|
4574
|
-
// '& b,& strong': {
|
|
4575
|
-
// fontWeight: '700'
|
|
4576
|
-
// }
|
|
4577
|
-
// }
|
|
4578
4579
|
},
|
|
4579
|
-
|
|
4580
4580
|
sectionContainer: {
|
|
4581
4581
|
margin: '0 auto',
|
|
4582
4582
|
maxWidth: ({
|
|
@@ -4591,7 +4591,8 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4591
4591
|
fontSize: theme.typography.fontSize.subHead,
|
|
4592
4592
|
textTransform: 'uppercase',
|
|
4593
4593
|
lineHeight: '20px',
|
|
4594
|
-
color: theme?.palette?.font?.
|
|
4594
|
+
color: theme?.palette?.font?.default,
|
|
4595
|
+
letterSpacing: '3px',
|
|
4595
4596
|
wordBreak: 'break-word'
|
|
4596
4597
|
},
|
|
4597
4598
|
videoTitle: {
|
|
@@ -4609,11 +4610,11 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4609
4610
|
},
|
|
4610
4611
|
singleSlideContainer: {
|
|
4611
4612
|
backgroundColor: theme?.palette?.background?.default,
|
|
4612
|
-
margin: '20px',
|
|
4613
|
-
width: 'calc(100% -
|
|
4613
|
+
// margin: '20px',
|
|
4614
|
+
width: 'calc(100% - 24px)',
|
|
4614
4615
|
height: 'calc(100% - 40px)',
|
|
4615
4616
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
4616
|
-
padding: '
|
|
4617
|
+
padding: '64px',
|
|
4617
4618
|
boxShadow: theme?.shadows?.primary
|
|
4618
4619
|
},
|
|
4619
4620
|
contentRow: {
|
|
@@ -4649,7 +4650,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4649
4650
|
wordBreak: 'break-word'
|
|
4650
4651
|
},
|
|
4651
4652
|
videoDetailsSubHeading: {
|
|
4652
|
-
fontSize: theme.typography.fontSize.
|
|
4653
|
+
fontSize: theme.typography.fontSize.body,
|
|
4653
4654
|
lineHeight: '24px',
|
|
4654
4655
|
wordBreak: 'break-word',
|
|
4655
4656
|
color: theme?.palette?.font?.primary
|
|
@@ -4689,17 +4690,16 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4689
4690
|
display: 'flex',
|
|
4690
4691
|
justifyContent: 'center',
|
|
4691
4692
|
textAlign: 'center'
|
|
4693
|
+
},
|
|
4694
|
+
videoDetailsHeading: {
|
|
4695
|
+
fontSize: '20px',
|
|
4696
|
+
marginBottom: '0',
|
|
4697
|
+
textAlign: 'center'
|
|
4698
|
+
},
|
|
4699
|
+
videoDetailsSubHeading: {
|
|
4700
|
+
fontSize: '14px',
|
|
4701
|
+
textAlign: 'center'
|
|
4692
4702
|
}
|
|
4693
|
-
|
|
4694
|
-
// videoDetailsHeading: {
|
|
4695
|
-
// fontSize: '18px',
|
|
4696
|
-
// margin: '0'
|
|
4697
|
-
// },
|
|
4698
|
-
|
|
4699
|
-
// videoDetailsSubHeading: {
|
|
4700
|
-
// fontSize: '12px',
|
|
4701
|
-
// paddingBottom: '20px'
|
|
4702
|
-
// }
|
|
4703
4703
|
}
|
|
4704
4704
|
};
|
|
4705
4705
|
});
|
|
@@ -4722,7 +4722,7 @@ const SingleSlide$1 = props => {
|
|
|
4722
4722
|
videoUrl: data.videoFrame.metadata?.value
|
|
4723
4723
|
})), /*#__PURE__*/React.createElement("div", {
|
|
4724
4724
|
className: classes.videoDetailsContainer
|
|
4725
|
-
}, /*#__PURE__*/React.createElement("
|
|
4725
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
4726
4726
|
ref: data?.videoTitle?.refSetter,
|
|
4727
4727
|
className: classes.videoDetailsHeading,
|
|
4728
4728
|
dangerouslySetInnerHTML: {
|
|
@@ -4778,7 +4778,7 @@ function Video({
|
|
|
4778
4778
|
dangerouslySetInnerHTML: {
|
|
4779
4779
|
__html: videoData.videoHeading.metadata.value
|
|
4780
4780
|
}
|
|
4781
|
-
})), /*#__PURE__*/React.createElement("
|
|
4781
|
+
})), /*#__PURE__*/React.createElement("h2", {
|
|
4782
4782
|
className: classes.videoTitle
|
|
4783
4783
|
}, /*#__PURE__*/React.createElement("span", {
|
|
4784
4784
|
ref: videoData?.videoTitle?.refSetter,
|
|
@@ -4803,7 +4803,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4803
4803
|
position: 'relative',
|
|
4804
4804
|
padding: ({
|
|
4805
4805
|
isMobile
|
|
4806
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
4806
|
+
} = {}) => 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`,
|
|
4807
4807
|
backgroundColor: theme?.palette?.background?.default,
|
|
4808
4808
|
'&, & *, & *:before, & *:after': {
|
|
4809
4809
|
fontFamily: theme?.typography?.fontFamily,
|
|
@@ -4828,7 +4828,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4828
4828
|
top: '0',
|
|
4829
4829
|
left: '0',
|
|
4830
4830
|
height: '50%',
|
|
4831
|
-
background: theme?.
|
|
4831
|
+
background: theme?.palette?.background?.primary,
|
|
4832
4832
|
width: '100%'
|
|
4833
4833
|
},
|
|
4834
4834
|
content: {
|
|
@@ -4845,7 +4845,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4845
4845
|
wordBreak: 'break-word'
|
|
4846
4846
|
},
|
|
4847
4847
|
heading: {
|
|
4848
|
-
margin: `
|
|
4848
|
+
margin: `0px 0 ${theme.spacing.margin.tiny}px`,
|
|
4849
4849
|
fontSize: theme.typography.fontSize.h2,
|
|
4850
4850
|
width: '100%',
|
|
4851
4851
|
lineHeight: '70px',
|
|
@@ -4853,10 +4853,11 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4853
4853
|
textAlign: 'left',
|
|
4854
4854
|
wordBreak: 'break-word'
|
|
4855
4855
|
},
|
|
4856
|
-
sliderContainer: {
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
},
|
|
4856
|
+
// sliderContainer: {
|
|
4857
|
+
// marginLeft: '-10px',
|
|
4858
|
+
// marginRight: '-70px'
|
|
4859
|
+
// },
|
|
4860
|
+
|
|
4860
4861
|
card: {
|
|
4861
4862
|
background: theme?.palette?.background?.default,
|
|
4862
4863
|
boxShadow: theme?.shadows?.primary,
|
|
@@ -4868,20 +4869,23 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4868
4869
|
height: 'calc(100% - 12px)'
|
|
4869
4870
|
},
|
|
4870
4871
|
cardContent: {
|
|
4871
|
-
padding:
|
|
4872
|
+
padding: '24px',
|
|
4872
4873
|
height: '100%',
|
|
4873
4874
|
display: 'flex',
|
|
4874
|
-
flexDirection: 'column'
|
|
4875
|
+
flexDirection: 'column',
|
|
4876
|
+
justifyContent: 'center',
|
|
4877
|
+
alignItems: 'center'
|
|
4875
4878
|
},
|
|
4876
4879
|
cardHeading: {
|
|
4877
|
-
|
|
4878
|
-
|
|
4880
|
+
textAlign: 'center',
|
|
4881
|
+
fontSize: theme.typography.fontSize.h6,
|
|
4879
4882
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4880
4883
|
color: theme?.palette?.font?.default,
|
|
4881
|
-
margin:
|
|
4884
|
+
margin: `16px 0px`,
|
|
4882
4885
|
wordBreak: 'break-word'
|
|
4883
4886
|
},
|
|
4884
4887
|
imageContainer: {
|
|
4888
|
+
textAlign: 'center',
|
|
4885
4889
|
width: '96px',
|
|
4886
4890
|
height: '96px',
|
|
4887
4891
|
display: 'flex',
|
|
@@ -4899,8 +4903,9 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4899
4903
|
marginTop: theme.spacing.margin.tiny
|
|
4900
4904
|
},
|
|
4901
4905
|
cardPara: {
|
|
4902
|
-
|
|
4903
|
-
|
|
4906
|
+
textAlign: 'center',
|
|
4907
|
+
fontSize: theme.typography.fontSize.body,
|
|
4908
|
+
lineHeight: '22px',
|
|
4904
4909
|
color: theme?.palette?.font?.primary,
|
|
4905
4910
|
margin: '0',
|
|
4906
4911
|
wordBreak: 'break-word'
|
|
@@ -4914,11 +4919,15 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4914
4919
|
},
|
|
4915
4920
|
'@media screen and (max-width: 767px)': {
|
|
4916
4921
|
heading: {
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4922
|
+
textAlign: 'center',
|
|
4923
|
+
fontSize: '20px',
|
|
4924
|
+
margin: `0px 0 ${theme.spacing.margin.tiny}px`,
|
|
4925
|
+
lineHeight: '24px',
|
|
4920
4926
|
padding: '0'
|
|
4921
4927
|
},
|
|
4928
|
+
subTitleHeading: {
|
|
4929
|
+
textAlign: 'center'
|
|
4930
|
+
},
|
|
4922
4931
|
sliderContainer: {
|
|
4923
4932
|
marginLeft: '-6px',
|
|
4924
4933
|
marginRight: '-20px'
|
|
@@ -4933,6 +4942,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4933
4942
|
slidesToShow,
|
|
4934
4943
|
cardsCount
|
|
4935
4944
|
} = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
|
|
4945
|
+
},
|
|
4946
|
+
cardHeading: {
|
|
4947
|
+
fontSize: '18px'
|
|
4948
|
+
},
|
|
4949
|
+
cardContent: {
|
|
4950
|
+
padding: '16px'
|
|
4936
4951
|
}
|
|
4937
4952
|
}
|
|
4938
4953
|
}));
|
|
@@ -5033,8 +5048,8 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5033
5048
|
section: {
|
|
5034
5049
|
padding: ({
|
|
5035
5050
|
isMobile
|
|
5036
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
5037
|
-
|
|
5051
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5052
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
5038
5053
|
'&, & *, & *:before, & *:after': {
|
|
5039
5054
|
fontFamily: theme?.typography?.fontFamily,
|
|
5040
5055
|
boxSizing: 'border-box'
|
|
@@ -5051,7 +5066,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5051
5066
|
subHeading: {
|
|
5052
5067
|
fontSize: theme.typography.fontSize.subHead,
|
|
5053
5068
|
marginBottom: '8px',
|
|
5054
|
-
color: theme?.
|
|
5069
|
+
color: theme?.palette?.font?.default,
|
|
5055
5070
|
wordBreak: 'break-word',
|
|
5056
5071
|
textTransform: 'uppercase',
|
|
5057
5072
|
letterSpacing: '3px'
|
|
@@ -5061,7 +5076,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5061
5076
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5062
5077
|
lineHeight: 'normal',
|
|
5063
5078
|
margin: '0',
|
|
5064
|
-
color: theme?.
|
|
5079
|
+
color: theme?.palette?.font?.default,
|
|
5065
5080
|
wordBreak: 'break-word',
|
|
5066
5081
|
marginBottom: theme.spacing.margin.tiny
|
|
5067
5082
|
},
|
|
@@ -5072,17 +5087,16 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5072
5087
|
padding: '48px 0px'
|
|
5073
5088
|
},
|
|
5074
5089
|
textPara: {
|
|
5075
|
-
background: 'white',
|
|
5076
|
-
borderRadius: '8px',
|
|
5077
|
-
padding: '40px',
|
|
5078
|
-
lineHeight: '24px',
|
|
5079
5090
|
color: theme?.palette?.font?.primary,
|
|
5080
5091
|
wordBreak: 'break-word',
|
|
5081
|
-
fontSize: theme.typography.fontSize.
|
|
5082
|
-
|
|
5092
|
+
fontSize: theme.typography.fontSize.body,
|
|
5093
|
+
lineHeight: '24px'
|
|
5083
5094
|
},
|
|
5084
5095
|
'@media screen and (max-width: 767px)': {
|
|
5085
5096
|
textContent: {
|
|
5097
|
+
display: 'flex',
|
|
5098
|
+
flexDirection: 'column',
|
|
5099
|
+
lineHeight: '22px',
|
|
5086
5100
|
gap: '16px',
|
|
5087
5101
|
padding: '16px 0px'
|
|
5088
5102
|
}
|
|
@@ -5148,8 +5162,9 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5148
5162
|
container: {
|
|
5149
5163
|
background: theme?.palette?.background?.default,
|
|
5150
5164
|
padding: ({
|
|
5151
|
-
isMobile
|
|
5152
|
-
|
|
5165
|
+
isMobile,
|
|
5166
|
+
cardsCount
|
|
5167
|
+
} = {}) => 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`,
|
|
5153
5168
|
'&, & *, & *:before, & *:after': {
|
|
5154
5169
|
fontFamily: theme?.typography?.fontFamily,
|
|
5155
5170
|
boxSizing: 'border-box'
|
|
@@ -5169,19 +5184,26 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5169
5184
|
} = {}) => containerWidth
|
|
5170
5185
|
},
|
|
5171
5186
|
cardHeading: {
|
|
5172
|
-
color: theme?.palette?.font?.
|
|
5187
|
+
color: theme?.palette?.font?.default,
|
|
5173
5188
|
fontSize: theme.typography.fontSize.subHead,
|
|
5174
5189
|
letterSpacing: '3px',
|
|
5175
5190
|
wordBreak: 'break-word',
|
|
5176
|
-
textTransform: 'uppercase'
|
|
5191
|
+
textTransform: 'uppercase',
|
|
5192
|
+
textAlign: ({
|
|
5193
|
+
cardsCount,
|
|
5194
|
+
isMobile
|
|
5195
|
+
}) => cardsCount === 1 || isMobile ? 'center' : 'left'
|
|
5177
5196
|
},
|
|
5178
5197
|
// sliderContainer: {
|
|
5179
5198
|
// marginRight: '-70px'
|
|
5180
5199
|
// },
|
|
5181
|
-
|
|
5200
|
+
cursorPointer: {
|
|
5201
|
+
cursor: 'pointer'
|
|
5202
|
+
},
|
|
5182
5203
|
singleCard: {
|
|
5204
|
+
borderRadius: '24px',
|
|
5183
5205
|
margin: '0 1px',
|
|
5184
|
-
width: 'calc(100% -
|
|
5206
|
+
width: isMobile => isMobile ? 'calc(100% - 24px)' : 'calc(100% - 24px)',
|
|
5185
5207
|
position: 'relative',
|
|
5186
5208
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5187
5209
|
},
|
|
@@ -5189,19 +5211,34 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5189
5211
|
contentRow: {
|
|
5190
5212
|
display: 'grid',
|
|
5191
5213
|
gridTemplateColumns: ({
|
|
5192
|
-
slidesToShow
|
|
5193
|
-
|
|
5214
|
+
slidesToShow,
|
|
5215
|
+
cardsCount
|
|
5216
|
+
} = {}) => {
|
|
5217
|
+
if (cardsCount === 1) return '';
|
|
5218
|
+
return `repeat(${slidesToShow},minmax(0, 1fr))`;
|
|
5219
|
+
},
|
|
5220
|
+
padding: ({
|
|
5221
|
+
cardsCount
|
|
5222
|
+
}) => cardsCount === 1 ? '0px 100px' : ''
|
|
5194
5223
|
},
|
|
5195
5224
|
carouselImage: {
|
|
5225
|
+
height: ({
|
|
5226
|
+
cardsCount
|
|
5227
|
+
}) => cardsCount === 1 ? '480px' : '100%',
|
|
5228
|
+
borderRadius: '24px',
|
|
5196
5229
|
objectFit: 'cover',
|
|
5230
|
+
objectPosition: 'center',
|
|
5197
5231
|
position: 'absolute',
|
|
5198
5232
|
left: 0,
|
|
5199
5233
|
top: 0,
|
|
5200
|
-
width: '100%'
|
|
5201
|
-
height: '100%'
|
|
5234
|
+
width: '100%'
|
|
5202
5235
|
},
|
|
5203
5236
|
title: {
|
|
5204
5237
|
fontSize: theme.typography.fontSize.h2,
|
|
5238
|
+
textAlign: ({
|
|
5239
|
+
cardsCount,
|
|
5240
|
+
isMobile
|
|
5241
|
+
}) => cardsCount === 1 || isMobile ? 'center' : 'left',
|
|
5205
5242
|
lineHeight: '70px',
|
|
5206
5243
|
letterSpacing: '-3px',
|
|
5207
5244
|
color: theme?.palette?.font?.default,
|
|
@@ -5212,14 +5249,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5212
5249
|
textOverflow: 'ellipsis'
|
|
5213
5250
|
},
|
|
5214
5251
|
'@media (max-width: 768px)': {
|
|
5215
|
-
// container: {
|
|
5216
|
-
// padding: '60px 20px'
|
|
5217
|
-
// },
|
|
5218
|
-
|
|
5219
|
-
// cardHeading: {
|
|
5220
|
-
// marginLeft: '3px'
|
|
5221
|
-
// },
|
|
5222
|
-
|
|
5223
5252
|
title: {
|
|
5224
5253
|
lineHeight: '36px',
|
|
5225
5254
|
letterSpacing: '-1px',
|
|
@@ -5229,10 +5258,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5229
5258
|
whiteSpace: 'nowrap',
|
|
5230
5259
|
textOverflow: 'ellipsis'
|
|
5231
5260
|
}
|
|
5232
|
-
|
|
5233
|
-
// sliderContainer: {
|
|
5234
|
-
// marginRight: '-20px'
|
|
5235
|
-
// }
|
|
5236
5261
|
}
|
|
5237
5262
|
};
|
|
5238
5263
|
});
|
|
@@ -5242,6 +5267,12 @@ function PhotoGallery({
|
|
|
5242
5267
|
sectionIndex
|
|
5243
5268
|
}) {
|
|
5244
5269
|
const {
|
|
5270
|
+
templateId,
|
|
5271
|
+
navList,
|
|
5272
|
+
isPreview,
|
|
5273
|
+
isEdit,
|
|
5274
|
+
basePath,
|
|
5275
|
+
isMasterTemplate,
|
|
5245
5276
|
isMobile,
|
|
5246
5277
|
layout: {
|
|
5247
5278
|
containerWidth
|
|
@@ -5267,11 +5298,35 @@ function PhotoGallery({
|
|
|
5267
5298
|
centerPadding: isMobile ? '10px 0 0' : '80px 0 0',
|
|
5268
5299
|
arrows: false
|
|
5269
5300
|
};
|
|
5301
|
+
const handleClick = data => {
|
|
5302
|
+
let redirectUrl;
|
|
5303
|
+
const {
|
|
5304
|
+
isExistingLink,
|
|
5305
|
+
link
|
|
5306
|
+
} = data;
|
|
5307
|
+
if (isExistingLink && link === 'courses') {
|
|
5308
|
+
redirectUrl = `//${basePath}/courses`;
|
|
5309
|
+
} else if (isExistingLink && link) {
|
|
5310
|
+
// const { pageId } = navList.find((el) => el.slug === data?.link) || {};
|
|
5311
|
+
redirectUrl = `//${basePath}/${link}`;
|
|
5312
|
+
} else {
|
|
5313
|
+
redirectUrl = link;
|
|
5314
|
+
}
|
|
5315
|
+
if (redirectUrl) {
|
|
5316
|
+
window.open(redirectUrl, '_blank');
|
|
5317
|
+
}
|
|
5318
|
+
};
|
|
5319
|
+
|
|
5320
|
+
// useLinkBuilder(data);
|
|
5321
|
+
|
|
5270
5322
|
const carouselContent = carouselList?.map((el, idx) => {
|
|
5323
|
+
const metadata = el?.cardImage?.metadata;
|
|
5324
|
+
const link = el?.cardImage?.metadata?.link;
|
|
5271
5325
|
return /*#__PURE__*/React.createElement(Fragment, {
|
|
5272
5326
|
key: idx
|
|
5273
5327
|
}, /*#__PURE__*/React.createElement("div", {
|
|
5274
|
-
|
|
5328
|
+
onClick: () => handleClick(metadata),
|
|
5329
|
+
className: `${classes.singleCard} ${link && classes.cursorPointer}`
|
|
5275
5330
|
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
5276
5331
|
src: el?.cardImage?.metadata?.value,
|
|
5277
5332
|
ref: el?.cardImage?.refSetter,
|
|
@@ -5313,10 +5368,10 @@ var index$b = /*#__PURE__*/Object.freeze({
|
|
|
5313
5368
|
const useFaqListStyles = createUseStyles(theme => ({
|
|
5314
5369
|
section: {
|
|
5315
5370
|
width: '100%',
|
|
5316
|
-
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
|
|
5317
5371
|
padding: ({
|
|
5318
5372
|
isMobile
|
|
5319
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
5373
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5374
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
5320
5375
|
'&, & *, & *:before, & *:after': {
|
|
5321
5376
|
fontFamily: theme?.typography?.fontFamily,
|
|
5322
5377
|
boxSizing: 'border-box'
|
|
@@ -5375,7 +5430,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5375
5430
|
},
|
|
5376
5431
|
content: {
|
|
5377
5432
|
color: theme?.palette?.font.primary,
|
|
5378
|
-
fontSize: theme.typography.fontSize.
|
|
5433
|
+
fontSize: theme.typography.fontSize.body,
|
|
5379
5434
|
lineHeight: '24px',
|
|
5380
5435
|
maxHeight: ({
|
|
5381
5436
|
isSelected
|
|
@@ -5384,8 +5439,19 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5384
5439
|
overflow: 'hidden'
|
|
5385
5440
|
},
|
|
5386
5441
|
'@media screen and (max-width: 767px)': {
|
|
5442
|
+
sectionSubheading: {
|
|
5443
|
+
textAlign: 'center'
|
|
5444
|
+
},
|
|
5445
|
+
sectionHeading: {
|
|
5446
|
+
textAlign: 'center'
|
|
5447
|
+
},
|
|
5448
|
+
title: {
|
|
5449
|
+
fontSize: '14px',
|
|
5450
|
+
lineHeight: '22px'
|
|
5451
|
+
},
|
|
5387
5452
|
content: {
|
|
5388
|
-
|
|
5453
|
+
fontSize: '14px',
|
|
5454
|
+
lineHeight: '22px'
|
|
5389
5455
|
},
|
|
5390
5456
|
basicCardContainer: {
|
|
5391
5457
|
'&:last-child': {
|
|
@@ -5464,8 +5530,8 @@ const Accordion = ({
|
|
|
5464
5530
|
}), /*#__PURE__*/React.createElement("div", {
|
|
5465
5531
|
className: classes.arrowButton
|
|
5466
5532
|
}, /*#__PURE__*/React.createElement(ArrowButton, {
|
|
5467
|
-
down: isSelected,
|
|
5468
|
-
up:
|
|
5533
|
+
down: !isSelected,
|
|
5534
|
+
up: isSelected,
|
|
5469
5535
|
size: "small"
|
|
5470
5536
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
5471
5537
|
ref: item?.answer?.refSetter,
|
|
@@ -5485,8 +5551,9 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5485
5551
|
section: {
|
|
5486
5552
|
padding: ({
|
|
5487
5553
|
isMobile
|
|
5488
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
5489
|
-
|
|
5554
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5555
|
+
// backgroundColor: theme?.palette?.background?.primary,
|
|
5556
|
+
|
|
5490
5557
|
'&, & *, & *:before, & *:after': {
|
|
5491
5558
|
fontFamily: theme?.typography?.fontFamily,
|
|
5492
5559
|
boxSizing: 'border-box'
|
|
@@ -5539,7 +5606,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5539
5606
|
},
|
|
5540
5607
|
nodeTitle: {
|
|
5541
5608
|
color: theme?.palette?.font.default,
|
|
5542
|
-
fontSize: theme.typography.fontSize.
|
|
5609
|
+
fontSize: theme.typography.fontSize.h4,
|
|
5543
5610
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5544
5611
|
lineHeight: 'normal',
|
|
5545
5612
|
margin: '0 0 20px',
|
|
@@ -5547,7 +5614,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5547
5614
|
},
|
|
5548
5615
|
nodePara: {
|
|
5549
5616
|
color: theme?.palette?.font.tertiary,
|
|
5550
|
-
fontSize: theme.typography.fontSize.
|
|
5617
|
+
fontSize: theme.typography.fontSize.body,
|
|
5551
5618
|
lineHeight: '24px',
|
|
5552
5619
|
wordBreak: 'break-word'
|
|
5553
5620
|
},
|
|
@@ -5566,10 +5633,14 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5566
5633
|
margin: '0 6px'
|
|
5567
5634
|
},
|
|
5568
5635
|
nodeTitle: {
|
|
5636
|
+
fontSize: '20px',
|
|
5569
5637
|
marginBottom: '0px'
|
|
5570
5638
|
},
|
|
5571
5639
|
nodePara: {
|
|
5572
|
-
|
|
5640
|
+
fontSize: '14px',
|
|
5641
|
+
display: 'block',
|
|
5642
|
+
margin: '16px 0 !important',
|
|
5643
|
+
lineHeight: '22px'
|
|
5573
5644
|
},
|
|
5574
5645
|
heading: {
|
|
5575
5646
|
letterSpacing: '-1px'
|
|
@@ -5656,7 +5727,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5656
5727
|
overflow: 'hidden',
|
|
5657
5728
|
padding: ({
|
|
5658
5729
|
isMobile
|
|
5659
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
5730
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5660
5731
|
'&, & *, & *:before, & *:after': {
|
|
5661
5732
|
fontFamily: theme?.typography?.fontFamily,
|
|
5662
5733
|
boxSizing: 'border-box'
|
|
@@ -5805,8 +5876,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5805
5876
|
textDecoration: 'none !important'
|
|
5806
5877
|
},
|
|
5807
5878
|
courseCardStrikePrice: {
|
|
5808
|
-
fontSize: '
|
|
5809
|
-
fontWeight: '600',
|
|
5879
|
+
fontSize: '14px',
|
|
5810
5880
|
lineHeight: '13px',
|
|
5811
5881
|
color: '#FE9B0E',
|
|
5812
5882
|
'& span': {
|
|
@@ -5877,7 +5947,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5877
5947
|
// fontSize: '24px',
|
|
5878
5948
|
lineHeight: '36px',
|
|
5879
5949
|
color: theme?.palette?.font?.default,
|
|
5880
|
-
margin: '
|
|
5950
|
+
margin: '0px 0 12px 0',
|
|
5881
5951
|
overflow: 'hidden',
|
|
5882
5952
|
whiteSpace: 'nowrap',
|
|
5883
5953
|
textOverflow: 'ellipsis'
|
|
@@ -5973,8 +6043,7 @@ const formatCurrency = (countryCode, value, currencySymbol) => {
|
|
|
5973
6043
|
function CourseCard({
|
|
5974
6044
|
card,
|
|
5975
6045
|
countryCode,
|
|
5976
|
-
currencySymbol
|
|
5977
|
-
utmParams
|
|
6046
|
+
currencySymbol
|
|
5978
6047
|
}) {
|
|
5979
6048
|
const classes = useCourseStyles();
|
|
5980
6049
|
const {
|
|
@@ -5984,7 +6053,7 @@ function CourseCard({
|
|
|
5984
6053
|
const defaultCardImg = 'https://cp-assets-public.s3.ap-south-1.amazonaws.com/cams/cards-icon/default_course.png';
|
|
5985
6054
|
const price = formatCurrency(countryCode, card?.price, currencySymbol);
|
|
5986
6055
|
const finalPrice = formatCurrency(countryCode, card?.finalPrice, currencySymbol);
|
|
5987
|
-
const buyNowText = countryCode === 'KR' ? '
|
|
6056
|
+
const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'Buy Now';
|
|
5988
6057
|
const offText = countryCode === 'KR' ? '할인' : 'OFF';
|
|
5989
6058
|
return /*#__PURE__*/React.createElement("div", {
|
|
5990
6059
|
className: classes.singleCard
|
|
@@ -6024,7 +6093,7 @@ function CourseCard({
|
|
|
6024
6093
|
className: classes.courseCardStrikePrice
|
|
6025
6094
|
}, /*#__PURE__*/React.createElement("span", null, price), " ", discount > 0 && discount + `% ${offText}`) : null), /*#__PURE__*/React.createElement("a", {
|
|
6026
6095
|
className: classes.coursesAnchorTag,
|
|
6027
|
-
href: isEdit ? null :
|
|
6096
|
+
href: isEdit ? null : card?.shareableLink
|
|
6028
6097
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6029
6098
|
className: classes.courseCardBuyBtn
|
|
6030
6099
|
}, buyNowText)))));
|
|
@@ -6054,7 +6123,6 @@ function courses({
|
|
|
6054
6123
|
isMobile
|
|
6055
6124
|
});
|
|
6056
6125
|
const [nodeData] = sectionData?.components;
|
|
6057
|
-
const [utmParams, setUtmParams] = useState('');
|
|
6058
6126
|
const handleApiCall = () => {
|
|
6059
6127
|
if (baseURLs) {
|
|
6060
6128
|
getCourseList(baseURLs, hashToken).then(response => {
|
|
@@ -6100,11 +6168,6 @@ function courses({
|
|
|
6100
6168
|
else {
|
|
6101
6169
|
handleApiCall();
|
|
6102
6170
|
}
|
|
6103
|
-
const params = new URLSearchParams(window.location.search);
|
|
6104
|
-
const utmParams = params.get('flyy_utm_referrer');
|
|
6105
|
-
if (utmParams) {
|
|
6106
|
-
setUtmParams(utmParams);
|
|
6107
|
-
}
|
|
6108
6171
|
}, []);
|
|
6109
6172
|
const settings = {
|
|
6110
6173
|
className: classes.slickContainer,
|
|
@@ -6142,8 +6205,7 @@ function courses({
|
|
|
6142
6205
|
key: index,
|
|
6143
6206
|
card: card,
|
|
6144
6207
|
countryCode: countryCode,
|
|
6145
|
-
currencySymbol: currencySymbol
|
|
6146
|
-
utmParams: utmParams
|
|
6208
|
+
currencySymbol: currencySymbol
|
|
6147
6209
|
})) : fallBackImages?.map((dt, ind) => {
|
|
6148
6210
|
return /*#__PURE__*/React.createElement(Fragment, {
|
|
6149
6211
|
key: ind
|
|
@@ -6188,8 +6250,9 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6188
6250
|
teamSuperContainer: {
|
|
6189
6251
|
padding: ({
|
|
6190
6252
|
isMobile
|
|
6191
|
-
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.
|
|
6192
|
-
|
|
6253
|
+
} = {}) => 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`,
|
|
6254
|
+
// backgroundColor: theme?.palette?.background?.primary,
|
|
6255
|
+
|
|
6193
6256
|
'&, & *, & *:before, & *:after': {
|
|
6194
6257
|
fontFamily: theme?.typography?.fontFamily,
|
|
6195
6258
|
boxSizing: 'border-box'
|
|
@@ -6211,7 +6274,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6211
6274
|
letterSpacing: '3px',
|
|
6212
6275
|
marginBottom: '8px',
|
|
6213
6276
|
color: theme?.palette?.font?.default,
|
|
6214
|
-
wordBreak: 'break-word',
|
|
6277
|
+
// wordBreak: 'break-word',
|
|
6215
6278
|
position: 'relative'
|
|
6216
6279
|
},
|
|
6217
6280
|
partialBackground: {
|
|
@@ -6243,13 +6306,13 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6243
6306
|
singleSlideContainer: {
|
|
6244
6307
|
backgroundColor: theme?.palette?.background?.default,
|
|
6245
6308
|
margin: '20px',
|
|
6246
|
-
width: 'calc(100% -
|
|
6309
|
+
width: 'calc(100% - 24px)',
|
|
6247
6310
|
// height: 'calc(100% - 40px)',
|
|
6248
6311
|
border: '3px solid #D8E0F0',
|
|
6249
6312
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6250
6313
|
padding: theme.spacing.padding.tiny,
|
|
6251
6314
|
boxShadow: theme?.shadows?.primary,
|
|
6252
|
-
minHeight: '
|
|
6315
|
+
minHeight: '320px'
|
|
6253
6316
|
},
|
|
6254
6317
|
imageContainer: {
|
|
6255
6318
|
minWidth: '100%',
|
|
@@ -6269,18 +6332,19 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6269
6332
|
},
|
|
6270
6333
|
teamDetailsContainer: {
|
|
6271
6334
|
textAlign: 'center',
|
|
6272
|
-
margin: '20px 0 0'
|
|
6273
|
-
overflowWrap: 'break-word'
|
|
6335
|
+
margin: '20px 0 0'
|
|
6336
|
+
// overflowWrap: 'break-word'
|
|
6274
6337
|
},
|
|
6338
|
+
|
|
6275
6339
|
teamDetailsHeading: {
|
|
6276
|
-
fontSize: theme.typography.fontSize.
|
|
6340
|
+
fontSize: theme.typography.fontSize.h6,
|
|
6277
6341
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6278
|
-
lineHeight: '
|
|
6342
|
+
lineHeight: '24px',
|
|
6279
6343
|
margin: '0',
|
|
6280
6344
|
color: theme?.palette?.font?.default
|
|
6281
6345
|
},
|
|
6282
6346
|
teamDetailsSubHeading: {
|
|
6283
|
-
fontSize: theme.typography.fontSize.
|
|
6347
|
+
fontSize: theme.typography.fontSize.body,
|
|
6284
6348
|
lineHeight: '24px',
|
|
6285
6349
|
margin: '12px 0 0',
|
|
6286
6350
|
color: theme?.palette?.font?.primary
|
|
@@ -6290,9 +6354,14 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6290
6354
|
// padding: '60px 20px'
|
|
6291
6355
|
// },
|
|
6292
6356
|
teamHeading: {
|
|
6293
|
-
lineHeight: '20px'
|
|
6357
|
+
lineHeight: '20px',
|
|
6358
|
+
margin: 0,
|
|
6359
|
+
textAlign: 'center'
|
|
6294
6360
|
},
|
|
6295
6361
|
teamTitle: {
|
|
6362
|
+
marginTop: '0px',
|
|
6363
|
+
textAlign: 'center',
|
|
6364
|
+
fontSize: theme.typography.fontSize.h2,
|
|
6296
6365
|
lineHeight: '36px',
|
|
6297
6366
|
letterSpacing: '-1px'
|
|
6298
6367
|
},
|
|
@@ -6300,6 +6369,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6300
6369
|
margin: '0 -4px'
|
|
6301
6370
|
},
|
|
6302
6371
|
singleSlideContainer: {
|
|
6372
|
+
padding: '24px',
|
|
6303
6373
|
width: 'calc(100% - 8px)',
|
|
6304
6374
|
margin: '12px 4px'
|
|
6305
6375
|
},
|
|
@@ -6310,11 +6380,13 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6310
6380
|
},
|
|
6311
6381
|
|
|
6312
6382
|
teamDetailsHeading: {
|
|
6383
|
+
fontSize: '16px',
|
|
6313
6384
|
lineHeight: '24px',
|
|
6314
6385
|
margin: '0',
|
|
6315
|
-
color: theme?.palette?.font?.
|
|
6386
|
+
color: theme?.palette?.font?.body
|
|
6316
6387
|
},
|
|
6317
6388
|
teamDetailsSubHeading: {
|
|
6389
|
+
marginTop: '0px',
|
|
6318
6390
|
color: theme?.palette?.font?.primary
|
|
6319
6391
|
}
|
|
6320
6392
|
}
|
|
@@ -6429,7 +6501,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6429
6501
|
backgroundColor: theme?.palette?.background?.default,
|
|
6430
6502
|
padding: ({
|
|
6431
6503
|
isMobile
|
|
6432
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
6504
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
6433
6505
|
'&, & *, & *:before, & *:after': {
|
|
6434
6506
|
fontFamily: theme?.typography?.fontFamily,
|
|
6435
6507
|
boxSizing: 'border-box'
|
|
@@ -6454,7 +6526,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6454
6526
|
width: '100%',
|
|
6455
6527
|
height: '50%',
|
|
6456
6528
|
position: 'absolute',
|
|
6457
|
-
background: theme?.
|
|
6529
|
+
background: theme?.palette?.background?.primary
|
|
6458
6530
|
},
|
|
6459
6531
|
sectionContainer: {
|
|
6460
6532
|
backgroundColor: theme?.palette?.background?.default,
|
|
@@ -6509,7 +6581,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6509
6581
|
padding: '4px 8px 0 0'
|
|
6510
6582
|
},
|
|
6511
6583
|
addressText: {
|
|
6512
|
-
fontSize: theme.typography.fontSize.
|
|
6584
|
+
fontSize: theme.typography.fontSize.h6,
|
|
6513
6585
|
color: theme?.palette?.font?.default,
|
|
6514
6586
|
lineHeight: '24px'
|
|
6515
6587
|
},
|
|
@@ -6720,7 +6792,6 @@ function FormEnquiry({
|
|
|
6720
6792
|
}, /*#__PURE__*/React.createElement("div", {
|
|
6721
6793
|
className: classes.inputDiv
|
|
6722
6794
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
6723
|
-
theme: theme,
|
|
6724
6795
|
data: nodeData.nameField,
|
|
6725
6796
|
value: inputVal.name,
|
|
6726
6797
|
isValid: validData.nameValid,
|
|
@@ -6835,7 +6906,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6835
6906
|
alignItems: 'center',
|
|
6836
6907
|
padding: ({
|
|
6837
6908
|
isMobile
|
|
6838
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
6909
|
+
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
6910
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6839
6911
|
'&, & *, & *:before, & *:after': {
|
|
6840
6912
|
fontFamily: theme?.typography?.fontFamily,
|
|
6841
6913
|
boxSizing: 'border-box'
|
|
@@ -6861,8 +6933,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6861
6933
|
width: '100%',
|
|
6862
6934
|
height: '50%',
|
|
6863
6935
|
position: 'absolute',
|
|
6864
|
-
|
|
6865
|
-
background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.tertiaryBlue2
|
|
6936
|
+
background: theme?.palette?.background?.primary
|
|
6866
6937
|
},
|
|
6867
6938
|
sectionContainer: {
|
|
6868
6939
|
backgroundColor: theme?.palette?.background?.default,
|
|
@@ -6878,7 +6949,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6878
6949
|
lineHeight: '71px',
|
|
6879
6950
|
letterSpacing: '-3px',
|
|
6880
6951
|
textAlign: 'left',
|
|
6881
|
-
wordBreak: 'break-word'
|
|
6952
|
+
wordBreak: 'break-word',
|
|
6953
|
+
textAlign: 'center'
|
|
6882
6954
|
},
|
|
6883
6955
|
contentContainer: {
|
|
6884
6956
|
width: '100%',
|
|
@@ -6887,17 +6959,18 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6887
6959
|
wordBreak: 'break-word'
|
|
6888
6960
|
},
|
|
6889
6961
|
leftContainer: {
|
|
6890
|
-
width: '50%',
|
|
6891
6962
|
display: 'flex',
|
|
6892
6963
|
flexDirection: 'column',
|
|
6893
|
-
justifyContent: 'space-between'
|
|
6964
|
+
justifyContent: 'space-between',
|
|
6965
|
+
flex: 1
|
|
6894
6966
|
},
|
|
6895
6967
|
subtitle: {
|
|
6896
6968
|
margin: '0 0 auto 0',
|
|
6897
6969
|
fontSize: theme.typography.fontSize.h6,
|
|
6898
6970
|
color: theme?.palette?.font?.default,
|
|
6899
6971
|
lineHeight: '32px',
|
|
6900
|
-
margin: '
|
|
6972
|
+
margin: '16px 0',
|
|
6973
|
+
textAlign: 'center'
|
|
6901
6974
|
},
|
|
6902
6975
|
addressContainer: {
|
|
6903
6976
|
display: 'flex',
|
|
@@ -6913,8 +6986,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6913
6986
|
width: '50%',
|
|
6914
6987
|
display: 'flex',
|
|
6915
6988
|
flexDirection: 'column',
|
|
6916
|
-
justifyContent: 'space-between'
|
|
6917
|
-
padding: '0 0 0 80px'
|
|
6989
|
+
justifyContent: 'space-between'
|
|
6918
6990
|
},
|
|
6919
6991
|
inputDiv: {
|
|
6920
6992
|
margin: '0 0 20px 0',
|
|
@@ -6959,6 +7031,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6959
7031
|
opacity: '0.5'
|
|
6960
7032
|
}
|
|
6961
7033
|
},
|
|
7034
|
+
btnContainer: {},
|
|
6962
7035
|
'@media screen and (max-width: 767px)': {
|
|
6963
7036
|
section: {
|
|
6964
7037
|
display: 'flex',
|
|
@@ -6989,7 +7062,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6989
7062
|
textAlign: 'center'
|
|
6990
7063
|
},
|
|
6991
7064
|
subtitle: {
|
|
6992
|
-
margin: '
|
|
7065
|
+
margin: '4px 0 24px 0',
|
|
6993
7066
|
textAlign: 'center',
|
|
6994
7067
|
lineHeight: '26px'
|
|
6995
7068
|
},
|
|
@@ -7013,6 +7086,11 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7013
7086
|
},
|
|
7014
7087
|
contactContainer: {
|
|
7015
7088
|
width: '97%'
|
|
7089
|
+
},
|
|
7090
|
+
btnContainer: {
|
|
7091
|
+
display: 'flex',
|
|
7092
|
+
justifyContent: 'center',
|
|
7093
|
+
alignItems: 'center'
|
|
7016
7094
|
}
|
|
7017
7095
|
}
|
|
7018
7096
|
}));
|
|
@@ -7098,10 +7176,6 @@ function Contact({
|
|
|
7098
7176
|
className: classes.partialBackground
|
|
7099
7177
|
}), /*#__PURE__*/React.createElement("div", {
|
|
7100
7178
|
className: classes.sectionContainer
|
|
7101
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
7102
|
-
className: classes.contentContainer
|
|
7103
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
7104
|
-
className: classes.leftContainer
|
|
7105
7179
|
}, /*#__PURE__*/React.createElement("h2", {
|
|
7106
7180
|
className: classes.title
|
|
7107
7181
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -7116,6 +7190,10 @@ function Contact({
|
|
|
7116
7190
|
__html: nodeData?.subtitle?.metadata?.value
|
|
7117
7191
|
}
|
|
7118
7192
|
}), /*#__PURE__*/React.createElement("div", {
|
|
7193
|
+
className: classes.contentContainer
|
|
7194
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7195
|
+
className: classes.leftContainer
|
|
7196
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7119
7197
|
className: classes.addressContainer
|
|
7120
7198
|
}, /*#__PURE__*/React.createElement(NextImageRenderer, {
|
|
7121
7199
|
className: classes?.telephoneImage,
|
|
@@ -7239,7 +7317,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7239
7317
|
webinarSuperContainer: {
|
|
7240
7318
|
display: 'flex',
|
|
7241
7319
|
justifyContent: 'center',
|
|
7242
|
-
background: theme?.colors?.background1,
|
|
7243
7320
|
padding: ({
|
|
7244
7321
|
isMobile
|
|
7245
7322
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7250,14 +7327,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7250
7327
|
'& h2,& h3,& p': {
|
|
7251
7328
|
margin: '0'
|
|
7252
7329
|
}
|
|
7253
|
-
// '& h2,& h3': {
|
|
7254
|
-
// fontWeight: '500',
|
|
7255
|
-
// '& b,& strong': {
|
|
7256
|
-
// fontWeight: '700'
|
|
7257
|
-
// }
|
|
7258
|
-
// }
|
|
7259
7330
|
},
|
|
7260
|
-
|
|
7261
7331
|
sectionContainer: {
|
|
7262
7332
|
margin: '0 auto',
|
|
7263
7333
|
maxWidth: ({
|
|
@@ -7368,7 +7438,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7368
7438
|
margin: '0',
|
|
7369
7439
|
letterSpacing: '-1px',
|
|
7370
7440
|
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7371
|
-
color: theme
|
|
7441
|
+
color: theme.palette.font.default
|
|
7372
7442
|
},
|
|
7373
7443
|
courseViewContainer: {
|
|
7374
7444
|
width: '645px',
|
|
@@ -7401,7 +7471,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7401
7471
|
courseDetailTag: {
|
|
7402
7472
|
display: 'flex',
|
|
7403
7473
|
alignItems: 'center',
|
|
7404
|
-
color: theme?.colors?.font1,
|
|
7405
7474
|
marginRight: '20px',
|
|
7406
7475
|
'& div': {
|
|
7407
7476
|
fontSize: theme.typography.fontSize.subHead,
|
|
@@ -7411,7 +7480,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7411
7480
|
courseDetailContent: {
|
|
7412
7481
|
fontSize: theme.typography.fontSize.subHead,
|
|
7413
7482
|
wordBreak: 'break-word',
|
|
7414
|
-
color: theme
|
|
7483
|
+
color: theme.palette.font.primary,
|
|
7415
7484
|
whiteSpace: 'pre-wrap',
|
|
7416
7485
|
width: '80%'
|
|
7417
7486
|
},
|
|
@@ -7420,9 +7489,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7420
7489
|
fontSize: theme.typography.fontSize.subHead,
|
|
7421
7490
|
lineHeight: '24px',
|
|
7422
7491
|
marginTop: '-20px',
|
|
7423
|
-
color:
|
|
7424
|
-
wordBreak: 'break-word'
|
|
7425
|
-
textDecoration: 'underline'
|
|
7492
|
+
color: '#00ADE7',
|
|
7493
|
+
wordBreak: 'break-word'
|
|
7426
7494
|
},
|
|
7427
7495
|
courseDetailTime: {
|
|
7428
7496
|
color: '#EB5757',
|
|
@@ -7590,7 +7658,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7590
7658
|
}
|
|
7591
7659
|
};
|
|
7592
7660
|
const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
|
|
7593
|
-
const buyNowText = countryCode === 'KR' ? '
|
|
7661
|
+
const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'BUY NOW';
|
|
7594
7662
|
const registerNowText = countryCode === 'KR' ? '웨비나 신청하기' : 'REGISTER NOW';
|
|
7595
7663
|
const momentLocale = countryCode === 'KR' ? 'ko' : 'in';
|
|
7596
7664
|
if (countryCode === 'KR') {
|
|
@@ -7637,7 +7705,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7637
7705
|
color: theme.palette.primary.main,
|
|
7638
7706
|
width: "20px",
|
|
7639
7707
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7640
|
-
})), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("
|
|
7708
|
+
})), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
|
|
7641
7709
|
ref: data?.videoTextContent?.refSetter,
|
|
7642
7710
|
className: classes.courseDetailContent,
|
|
7643
7711
|
dangerouslySetInnerHTML: {
|
|
@@ -7671,7 +7739,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7671
7739
|
className: classes.priceContainer
|
|
7672
7740
|
}, /*#__PURE__*/React.createElement("div", {
|
|
7673
7741
|
className: classes.offerPrice
|
|
7674
|
-
}, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("
|
|
7742
|
+
}, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
|
|
7675
7743
|
style: {
|
|
7676
7744
|
fontSize: '20px'
|
|
7677
7745
|
}
|
|
@@ -7746,7 +7814,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7746
7814
|
courseSuperContainer: {
|
|
7747
7815
|
display: 'flex',
|
|
7748
7816
|
justifyContent: 'center',
|
|
7749
|
-
background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
|
|
7750
7817
|
padding: ({
|
|
7751
7818
|
isMobile
|
|
7752
7819
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7867,7 +7934,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7867
7934
|
margin: '0',
|
|
7868
7935
|
letterSpacing: '-1px',
|
|
7869
7936
|
wordBreak: 'break-word',
|
|
7870
|
-
color: theme
|
|
7937
|
+
color: theme.palette.font.default
|
|
7871
7938
|
},
|
|
7872
7939
|
courseViewContainer: {
|
|
7873
7940
|
width: '445px',
|
|
@@ -7918,7 +7985,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7918
7985
|
},
|
|
7919
7986
|
courseDetailTag: {
|
|
7920
7987
|
marginTop: '5px',
|
|
7921
|
-
color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
|
|
7922
7988
|
display: 'flex',
|
|
7923
7989
|
alignItems: 'center',
|
|
7924
7990
|
marginRight: '20px',
|
|
@@ -7933,7 +7999,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7933
7999
|
fontSize: theme.typography.fontSize.subHead,
|
|
7934
8000
|
lineHeight: '24px',
|
|
7935
8001
|
wordBreak: 'break-word',
|
|
7936
|
-
color: theme
|
|
8002
|
+
color: theme.palette.font.primary,
|
|
7937
8003
|
whiteSpace: 'pre-wrap',
|
|
7938
8004
|
margin: '10px 0 20px'
|
|
7939
8005
|
},
|
|
@@ -7942,7 +8008,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7942
8008
|
fontSize: theme.typography.fontSize.subHead,
|
|
7943
8009
|
lineHeight: '24px',
|
|
7944
8010
|
marginTop: '-24px',
|
|
7945
|
-
color:
|
|
8011
|
+
color: '#00ADE7',
|
|
7946
8012
|
wordBreak: 'break-word'
|
|
7947
8013
|
},
|
|
7948
8014
|
courseDetailTime: {
|
|
@@ -8130,7 +8196,7 @@ const SingleVideoSlide = props => {
|
|
|
8130
8196
|
};
|
|
8131
8197
|
const effectivePrice = formatCurrency(countryCode, data?.effectivePrice, currencySymbol);
|
|
8132
8198
|
const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
|
|
8133
|
-
const buyNowText = countryCode === 'KR' ? '
|
|
8199
|
+
const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'BUY NOW';
|
|
8134
8200
|
const handleReadMoreText = () => {
|
|
8135
8201
|
if (countryCode === 'KR') {
|
|
8136
8202
|
return '더 보기';
|
|
@@ -8330,7 +8396,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8330
8396
|
padding: ({
|
|
8331
8397
|
isMobile
|
|
8332
8398
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8333
|
-
background:
|
|
8399
|
+
background: '#F4F9FF',
|
|
8334
8400
|
'&, & *, & *:before, & *:after': {
|
|
8335
8401
|
fontFamily: theme?.typography?.fontFamily,
|
|
8336
8402
|
boxSizing: 'border-box'
|
|
@@ -8703,7 +8769,7 @@ const useTilesStyles = createUseStyles(theme => {
|
|
|
8703
8769
|
flexDirection: 'column',
|
|
8704
8770
|
padding: ({
|
|
8705
8771
|
isMobile
|
|
8706
|
-
} = {}) => isMobile ? `
|
|
8772
|
+
} = {}) => isMobile ? `24px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`
|
|
8707
8773
|
},
|
|
8708
8774
|
tileDiv: {
|
|
8709
8775
|
width: '236px',
|