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.js CHANGED
@@ -325,7 +325,7 @@ const colors = {
325
325
  // shades of grey
326
326
  darkGrey: '#333333',
327
327
  grey: '#666666',
328
- lightGrey: '#999999',
328
+ lightGrey: '#9999',
329
329
  blueGrey: '#9497A5'
330
330
  };
331
331
  const alpha = {
@@ -364,118 +364,117 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
364
364
  };
365
365
  };
366
366
 
367
- const buttonStyles = createUseStyles(theme => {
368
- console.log('themexxxxdsfb', theme);
369
- return {
370
- primary: {
371
- width: ({
372
- fluid
373
- } = {}) => fluid ? '100%' : '',
374
- borderRadius: theme?.shape?.borderRadius?.regular,
375
- fontWeight: '700',
376
- fontSize: '14px',
377
- lineHeight: '18px',
378
- textAlign: 'center',
379
- color: ({
380
- disabled
381
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
382
- background: ({
383
- disabled
384
- } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
385
- border: 'none',
386
- textDecoration: 'none',
387
- cursor: ({
388
- disabled
389
- } = {}) => disabled ? 'not-allowed' : 'pointer',
390
- maxWidth: '100%',
391
- display: 'inline-block',
392
- wordBreak: 'break-word',
393
- flexShrink: '0'
367
+ const buttonStyles = createUseStyles(theme => ({
368
+ primary: {
369
+ width: ({
370
+ fluid
371
+ } = {}) => fluid ? '100%' : '',
372
+ borderRadius: theme?.shape?.borderRadius?.regular,
373
+ fontWeight: '700',
374
+ fontSize: '14px',
375
+ lineHeight: '18px',
376
+ textAlign: 'center',
377
+ color: ({
378
+ disabled
379
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
380
+ background: ({
381
+ disabled
382
+ } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
383
+ border: ({
384
+ disabled
385
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
386
+ textDecoration: 'none',
387
+ cursor: ({
388
+ disabled
389
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
390
+ maxWidth: '100%',
391
+ display: 'inline-block',
392
+ wordBreak: 'break-word',
393
+ flexShrink: '0'
394
+ },
395
+ secondary: {
396
+ width: ({
397
+ fluid
398
+ } = {}) => fluid ? '100%' : '',
399
+ borderRadius: theme?.shape?.borderRadius?.regular,
400
+ fontSize: '14px',
401
+ fontWeight: '700',
402
+ display: 'inline-block',
403
+ textDecoration: 'none',
404
+ lineHeight: '18px',
405
+ color: ({
406
+ disabled
407
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
408
+ background: ({
409
+ disabled
410
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
411
+ border: ({
412
+ disabled
413
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
414
+ cursor: ({
415
+ disabled
416
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
417
+ maxWidth: '100%',
418
+ display: 'inline-block',
419
+ wordBreak: 'break-word',
420
+ flexShrink: '0'
421
+ },
422
+ tertiary: {
423
+ width: ({
424
+ fluid
425
+ } = {}) => fluid ? '100%' : '',
426
+ fontWeight: '400',
427
+ fontSize: '16px',
428
+ lineHeight: '20px',
429
+ display: 'flex',
430
+ alignItems: 'center',
431
+ border: 'none',
432
+ color: ({
433
+ disabled
434
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
435
+ background: ({
436
+ disabled
437
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
438
+ cursor: ({
439
+ disabled
440
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
441
+ maxWidth: '100%',
442
+ display: 'inline-block',
443
+ wordBreak: 'break-word',
444
+ flexShrink: '0',
445
+ '&:hover': {
446
+ background: theme.palette.primary.lightest,
447
+ borderRadius: '4px'
394
448
  },
395
- secondary: {
396
- width: ({
397
- fluid
398
- } = {}) => fluid ? '100%' : '',
399
- borderRadius: theme?.shape?.borderRadius?.regular,
400
- fontSize: '14px',
449
+ '&$active': {
401
450
  fontWeight: '700',
402
- display: 'inline-block',
403
- textDecoration: 'none',
404
- lineHeight: '18px',
405
- color: ({
406
- disabled
407
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
408
- background: ({
409
- disabled
410
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.ctaColor,
411
- border: ({
412
- disabled
413
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
414
- cursor: ({
415
- disabled
416
- } = {}) => disabled ? 'not-allowed' : 'pointer',
417
- maxWidth: '100%',
418
- display: 'inline-block',
419
- wordBreak: 'break-word',
420
- flexShrink: '0'
421
- },
422
- tertiary: {
423
- width: ({
424
- fluid
425
- } = {}) => fluid ? '100%' : '',
426
- fontWeight: '400',
427
- fontSize: '16px',
428
- lineHeight: '20px',
429
- display: 'flex',
430
- alignItems: 'center',
431
- border: 'none',
432
- color: ({
433
- disabled
434
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
435
- background: ({
436
- disabled
437
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
438
- cursor: ({
439
- disabled
440
- } = {}) => disabled ? 'not-allowed' : 'pointer',
441
- maxWidth: '100%',
442
- display: 'inline-block',
443
- wordBreak: 'break-word',
444
- flexShrink: '0',
445
- '&:hover': {
446
- background: theme.palette.primary.lightest,
447
- borderRadius: '4px'
448
- },
449
- '&$active': {
450
- fontWeight: '700',
451
- background: theme.palette.primary.lightest,
452
- borderRadius: theme.shape.borderRadius.small,
453
- color: theme.palette.primary.main
454
- }
455
- },
456
- anchorClass: {
457
- textDecoration: 'none'
458
- },
459
- active: {},
460
- large: {
461
- padding: '20px 24px'
462
- },
463
- medium: {
464
- padding: '16px 24px'
465
- },
466
- small: {
467
- padding: '12px 16px'
468
- },
469
- '@media screen and (max-width: 767px)': {
470
- active: {
471
- fontWeight: 'initial',
472
- background: theme?.palette?.background?.default,
473
- borderRadius: '0',
474
- color: theme.palette.primary.main
475
- }
451
+ background: theme.palette.primary.lightest,
452
+ borderRadius: theme.shape.borderRadius.small,
453
+ color: theme.palette.primary.main
476
454
  }
477
- };
478
- });
455
+ },
456
+ anchorClass: {
457
+ textDecoration: 'none'
458
+ },
459
+ active: {},
460
+ large: {
461
+ padding: '20px 24px'
462
+ },
463
+ medium: {
464
+ padding: '16px 24px'
465
+ },
466
+ small: {
467
+ padding: '12px 16px'
468
+ },
469
+ '@media screen and (max-width: 767px)': {
470
+ active: {
471
+ fontWeight: 'initial',
472
+ background: theme?.palette?.background?.default,
473
+ borderRadius: '0',
474
+ color: theme.palette.primary.main
475
+ }
476
+ }
477
+ }));
479
478
 
480
479
  function useLinkBuilder(data) {
481
480
  const {
@@ -1577,8 +1576,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1577
1576
  justifyContent: 'center',
1578
1577
  flexDirection: 'column',
1579
1578
  alignItems: 'center',
1580
- padding: '140px 70px 80px 70px',
1581
- backgroundColor: theme?.palette?.background?.default,
1579
+ padding: '64px 128px 55px 128px',
1582
1580
  '&, & *, & *:before, & *:after': {
1583
1581
  fontFamily: theme?.typography?.fontFamily,
1584
1582
  boxSizing: 'border-box'
@@ -1618,7 +1616,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1618
1616
  upperContainerItem3: {
1619
1617
  width: '33%',
1620
1618
  display: 'flex',
1621
- justifyContent: 'center',
1619
+ justifyContent: 'end',
1622
1620
  flexWrap: 'wrap',
1623
1621
  paddingBottom: '52px'
1624
1622
  },
@@ -1633,8 +1631,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1633
1631
  display: 'flex',
1634
1632
  justifyContent: 'flex-start',
1635
1633
  alignItems: 'flex-start',
1636
- padding: '0 0 32px 0',
1637
- margin: '0'
1634
+ marginBottom: '16px'
1638
1635
  },
1639
1636
  addressImg: {
1640
1637
  marginRight: '8px',
@@ -1712,7 +1709,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1712
1709
  },
1713
1710
  '@media screen and (max-width: 767px)': {
1714
1711
  section: {
1715
- padding: '45px 30px',
1712
+ padding: '16px 24px',
1716
1713
  flexDirection: 'column',
1717
1714
  alignItems: 'center',
1718
1715
  justifyContent: 'center',
@@ -1736,7 +1733,9 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1736
1733
  },
1737
1734
  upperContainerItem3: {
1738
1735
  width: '100%',
1739
- justifyContent: 'center'
1736
+ display: 'flex',
1737
+ flexDirection: 'column',
1738
+ alignItems: 'start'
1740
1739
  },
1741
1740
  cardHeading: {
1742
1741
  justifyContent: 'center',
@@ -1904,7 +1903,7 @@ function Footer({
1904
1903
  className: classes.lowerContainer
1905
1904
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1906
1905
  className: classes.bottomLeftText
1907
- }, "2022 All Rights Reserved"), /*#__PURE__*/React__default["default"].createElement("div", {
1906
+ }, "\xA9 ", new Date().getFullYear(), " All Rights Reserved"), /*#__PURE__*/React__default["default"].createElement("div", {
1908
1907
  className: classes.poweredByContainer
1909
1908
  }, /*#__PURE__*/React__default["default"].createElement("p", null, "Powered by"), /*#__PURE__*/React__default["default"].createElement("a", {
1910
1909
  title: "Powered by Classplus",
@@ -1967,15 +1966,15 @@ const rustTheme = {
1967
1966
  light: colors.lightRust,
1968
1967
  lightest: colors.lightestRust
1969
1968
  };
1970
- const generateThemePalette = solidColors => ({
1971
- primary: solidColors,
1969
+ const generateThemePalette = themeColors => ({
1970
+ primary: themeColors,
1972
1971
  background: {
1973
1972
  default: colors.white,
1974
- primary: solidColors.lightest
1973
+ primary: themeColors.lightest
1975
1974
  },
1976
1975
  border: {
1977
- primary: solidColors.main,
1978
- secondary: solidColors.light
1976
+ primary: themeColors.main,
1977
+ secondary: themeColors.light
1979
1978
  },
1980
1979
  shadow: {
1981
1980
  primary: hexToRgbA(colors.black, alpha.tenPercent),
@@ -1984,7 +1983,7 @@ const generateThemePalette = solidColors => ({
1984
1983
  font: {
1985
1984
  default: colors.darkGrey,
1986
1985
  invertedDefault: colors.white,
1987
- primary: colors.lightGrey,
1986
+ primary: colors.darkGrey,
1988
1987
  secondary: colors.grey,
1989
1988
  tertiary: colors.blueGrey
1990
1989
  }
@@ -2056,17 +2055,19 @@ const fontSize = {
2056
2055
  h4: 32,
2057
2056
  h5: 24,
2058
2057
  h6: 20,
2059
- subHead: 16,
2060
- body: 14
2058
+ subHead: 24,
2059
+ description: 20,
2060
+ body: 16
2061
2061
  };
2062
2062
  const fontSizeMob = {
2063
2063
  h1: 40,
2064
- h2: 20,
2065
- h3: 32,
2064
+ h2: 24,
2065
+ h3: 20,
2066
2066
  h4: 16,
2067
2067
  h5: 16,
2068
2068
  h6: 14,
2069
2069
  subHead: 14,
2070
+ description: 16,
2070
2071
  body: 14
2071
2072
  };
2072
2073
  const fontWeight = {
@@ -2311,10 +2312,10 @@ function PageRenderer$1({
2311
2312
  const useSectionStyles$8 = createUseStyles(theme => ({
2312
2313
  bannerCarouselRightSection: {
2313
2314
  position: 'relative',
2314
- background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
2315
2315
  padding: ({
2316
2316
  isMobile
2317
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2317
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2318
+ backgroundColor: theme?.palette?.background?.primary,
2318
2319
  '&, & *, & *:before, & *:after': {
2319
2320
  fontFamily: theme?.typography?.fontFamily,
2320
2321
  boxSizing: 'border-box'
@@ -2371,7 +2372,8 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2371
2372
  subTitleHeading: {
2372
2373
  marginBottom: '8px',
2373
2374
  fontSize: theme.typography.fontSize.subHead,
2374
- color: theme?.palette?.font?.tertiary,
2375
+ letterSpacing: '3px',
2376
+ color: theme?.palette?.font?.default,
2375
2377
  wordBreak: 'break-word',
2376
2378
  maxWidth: '100%'
2377
2379
  },
@@ -2413,6 +2415,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2413
2415
  },
2414
2416
  contentContainer: {
2415
2417
  display: 'flex',
2418
+ flexDirection: 'column-reverse',
2416
2419
  flexFlow: 'column',
2417
2420
  paddingBottom: '48px',
2418
2421
  gap: '24px'
@@ -2539,7 +2542,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2539
2542
  height: sizeHandler,
2540
2543
  border: ({
2541
2544
  inverted
2542
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.solidColors?.ctaColor}`,
2545
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2543
2546
  borderRadius: '50%',
2544
2547
  display: 'flex',
2545
2548
  justifyContent: 'center',
@@ -2561,7 +2564,7 @@ function ArrowButton(props) {
2561
2564
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
2562
2565
  height: props.size === 'small' ? '12px' : '18px',
2563
2566
  name: "Angle",
2564
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.solidColors?.ctaColor,
2567
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2565
2568
  inverted: true
2566
2569
  }));
2567
2570
  }
@@ -2761,182 +2764,185 @@ var index$l = /*#__PURE__*/Object.freeze({
2761
2764
  'default': BannerCarouselRight
2762
2765
  });
2763
2766
 
2764
- const useSectionStyles$7 = createUseStyles(theme => {
2765
- return {
2766
- section: {
2767
- width: '100%',
2768
- padding: ({
2769
- isMobile
2770
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2771
- display: 'flex',
2772
- justifyContent: 'center',
2773
- flexDirection: 'column',
2774
- alignItems: 'center',
2775
- backgroundColor: theme?.palette?.background?.default,
2776
- '&, & *, & *:before, & *:after': {
2777
- fontFamily: theme?.typography?.fontFamily,
2778
- boxSizing: 'border-box'
2767
+ const useSectionStyles$7 = createUseStyles(theme => ({
2768
+ section: {
2769
+ width: '100%',
2770
+ padding: ({
2771
+ isMobile
2772
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2773
+ display: 'flex',
2774
+ justifyContent: 'center',
2775
+ flexDirection: 'column',
2776
+ alignItems: 'center',
2777
+ backgroundColor: theme?.palette?.background?.default,
2778
+ '&, & *, & *:before, & *:after': {
2779
+ fontFamily: theme?.typography?.fontFamily,
2780
+ boxSizing: 'border-box'
2781
+ },
2782
+ '& h2,& h3': {
2783
+ marginTop: '0'
2784
+ }
2785
+ },
2786
+ sectionContainer: {
2787
+ margin: '0 auto',
2788
+ maxWidth: ({
2789
+ containerWidth
2790
+ } = {}) => containerWidth
2791
+ },
2792
+ subTitleHeading: {
2793
+ marginBottom: '8px',
2794
+ fontSize: theme.typography.fontSize.subHead,
2795
+ color: theme?.palette?.font?.default,
2796
+ alignItems: 'center',
2797
+ textAlign: 'center',
2798
+ wordBreak: 'break-word',
2799
+ letterSpacing: '3px',
2800
+ textTransform: 'uppercase'
2801
+ },
2802
+ heading: {
2803
+ marginBottom: theme.spacing.margin.tiny,
2804
+ fontSize: theme.typography.fontSize.h2,
2805
+ color: theme?.palette?.font?.default,
2806
+ fontWeight: theme.typography.fontWeight.bold,
2807
+ textAlign: 'center',
2808
+ wordBreak: 'break-word'
2809
+ },
2810
+ contentContainer: {
2811
+ display: 'flex',
2812
+ flexDirection: 'column',
2813
+ alignItems: 'center',
2814
+ justifyContent: 'center',
2815
+ width: '770px',
2816
+ margin: 'auto'
2817
+ },
2818
+ content: {
2819
+ display: 'flex',
2820
+ width: 'calc(100% - 100px)',
2821
+ alignItems: 'center',
2822
+ background: theme?.palette?.background?.default,
2823
+ boxShadow: theme?.shadows?.primary,
2824
+ borderRadius: theme?.shape?.borderRadius?.regular,
2825
+ overflow: 'hidden',
2826
+ minHeight: 200,
2827
+ marginBottom: theme.spacing.margin.small,
2828
+ position: 'relative',
2829
+ '&:nth-child(2n)': {
2830
+ alignSelf: 'flex-end',
2831
+ '& $contentNumber': {
2832
+ right: '0'
2833
+ },
2834
+ '& $contentText': {
2835
+ marginRight: '170px'
2779
2836
  }
2780
- // '& h2,& h3': {
2781
- // fontWeight: '500',
2782
- // '& b,& strong': {
2783
- // fontWeight: '700'
2784
- // }
2785
- // }
2786
2837
  },
2787
-
2788
- sectionContainer: {
2789
- margin: '0 auto',
2790
- maxWidth: ({
2791
- containerWidth
2792
- } = {}) => containerWidth
2838
+ '&:nth-child(2n+1)': {
2839
+ alignSelf: 'flex-start',
2840
+ '& $contentNumber': {
2841
+ left: '0'
2842
+ },
2843
+ '& $contentText': {
2844
+ marginLeft: '170px'
2845
+ }
2793
2846
  },
2794
- subTitleHeading: {
2795
- marginBottom: '8px',
2796
- fontSize: theme.typography.fontSize.subHead,
2797
- color: theme?.palette?.font?.tertiary,
2798
- alignItems: 'center',
2799
- textAlign: 'center',
2800
- wordBreak: 'break-word',
2801
- textTransform: 'uppercase'
2847
+ '&:nth-child(7n+1) $contentNumber': {
2848
+ background: palettes.purple.primary.lightest
2802
2849
  },
2803
- heading: {
2804
- marginBottom: theme.spacing.margin.tiny,
2805
- fontSize: theme.typography.fontSize.h2,
2806
- color: theme?.palette?.font?.default,
2807
- fontWeight: theme.typography.fontWeight.bold,
2808
- textAlign: 'center',
2809
- wordBreak: 'break-word'
2850
+ '&:nth-child(7n+2) $contentNumber': {
2851
+ background: palettes.orange.primary.lightest
2852
+ },
2853
+ '&:nth-child(7n+3) $contentNumber': {
2854
+ background: palettes.red.primary.lightest
2855
+ },
2856
+ '&:nth-child(7n+4) $contentNumber': {
2857
+ background: palettes.green.primary.lightest
2810
2858
  },
2859
+ '&:nth-child(7n+5) $contentNumber': {
2860
+ background: palettes.pink.primary.lightest
2861
+ },
2862
+ '&:nth-child(7n+6) $contentNumber': {
2863
+ background: palettes.blue.primary.lightest
2864
+ },
2865
+ '&:nth-child(7n) $contentNumber': {
2866
+ background: palettes.rust.primary.lightest
2867
+ }
2868
+ },
2869
+ contentNumber: {
2870
+ position: 'absolute',
2871
+ top: '0',
2872
+ fontWeight: '700',
2873
+ fontSize: '72px',
2874
+ letterSpacing: '-3px',
2875
+ display: 'flex',
2876
+ alignItems: 'center',
2877
+ justifyContent: 'center',
2878
+ padding: '48px',
2879
+ height: '100%',
2880
+ color: theme?.palette?.font?.default,
2881
+ wordBreak: 'break-word'
2882
+ },
2883
+ contentText: {
2884
+ padding: theme.spacing.padding.tiny
2885
+ },
2886
+ contentHeading: {
2887
+ fontStyle: 'normal',
2888
+ fontSize: theme.typography.fontSize.h5,
2889
+ fontWeight: theme.typography.fontWeight.bold,
2890
+ lineHeight: '32px',
2891
+ marginBottom: '8px',
2892
+ color: theme?.palette?.font?.default,
2893
+ wordBreak: 'break-word'
2894
+ },
2895
+ contentPara: {
2896
+ fontStyle: 'normal',
2897
+ fontSize: '16px',
2898
+ lineHeight: '26px',
2899
+ color: theme?.palette?.font?.primary,
2900
+ wordBreak: 'break-word'
2901
+ },
2902
+ '@media screen and (max-width: 767px)': {
2811
2903
  contentContainer: {
2812
- display: 'flex',
2813
- flexDirection: 'column',
2814
- alignItems: 'center',
2815
- justifyContent: 'center',
2816
- width: '770px',
2817
- margin: 'auto'
2904
+ width: '100%'
2818
2905
  },
2819
2906
  content: {
2820
2907
  display: 'flex',
2821
- width: 'calc(100% - 100px)',
2822
- alignItems: 'center',
2823
- background: theme?.palette?.background?.default,
2824
- boxShadow: theme?.shadows?.primary,
2825
- borderRadius: theme?.shape?.borderRadius?.regular,
2826
- overflow: 'hidden',
2827
- minHeight: 200,
2828
- marginBottom: theme.spacing.margin.small,
2829
- position: 'relative',
2908
+ flexDirection: 'column',
2909
+ borderRadius: theme.shape.borderRadius.large,
2910
+ width: '100%',
2911
+ height: 'auto',
2830
2912
  '&:nth-child(2n)': {
2831
- alignSelf: 'flex-end',
2832
- '& $contentNumber': {
2833
- right: '0'
2834
- },
2913
+ marginLeft: '0',
2835
2914
  '& $contentText': {
2836
- marginRight: '170px'
2915
+ marginRight: '0',
2916
+ alignSelf: 'flex-start'
2917
+ // padding: '0'
2837
2918
  }
2838
2919
  },
2920
+
2839
2921
  '&:nth-child(2n+1)': {
2840
- alignSelf: 'flex-start',
2841
- '& $contentNumber': {
2842
- left: '0'
2843
- },
2922
+ marginRight: '0',
2844
2923
  '& $contentText': {
2845
- marginLeft: '170px'
2924
+ marginLeft: '0',
2925
+ alignSelf: 'flex-start'
2926
+ // padding: '0'
2846
2927
  }
2847
- },
2848
- '&:nth-child(7n+1) $contentNumber': {
2849
- background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2850
- },
2851
- '&:nth-child(7n+2) $contentNumber': {
2852
- background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2853
- },
2854
- '&:nth-child(7n+3) $contentNumber': {
2855
- background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2856
- },
2857
- '&:nth-child(7n+4) $contentNumber': {
2858
- background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2859
- },
2860
- '&:nth-child(7n+5) $contentNumber': {
2861
- background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2862
- },
2863
- '&:nth-child(7n+6) $contentNumber': {
2864
- background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2865
- },
2866
- '&:nth-child(7n) $contentNumber': {
2867
- background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2868
2928
  }
2869
2929
  },
2930
+
2870
2931
  contentNumber: {
2871
- position: 'absolute',
2872
- top: '0',
2873
- fontWeight: '700',
2874
- fontSize: '72px',
2875
- letterSpacing: '-3px',
2876
- display: 'flex',
2877
- alignItems: 'center',
2878
- justifyContent: 'center',
2879
- padding: '48px',
2880
- height: '100%',
2881
- color: theme?.isGradient ? theme?.gradientColors?.font4 : theme?.solidColors?.font4,
2882
- wordBreak: 'break-word'
2883
- },
2884
- contentText: {
2885
- padding: theme.spacing.padding.tiny
2886
- },
2887
- contentHeading: {
2888
- fontStyle: 'normal',
2889
- fontSize: theme.typography.fontSize.h5,
2890
- fontWeight: theme.typography.fontWeight.bold,
2891
- lineHeight: '32px',
2892
- marginBottom: '8px',
2893
- color: theme?.palette?.font?.default,
2894
- wordBreak: 'break-word'
2932
+ width: '100%',
2933
+ padding: '24px',
2934
+ position: 'static'
2895
2935
  },
2896
2936
  contentPara: {
2897
- fontStyle: 'normal',
2898
- fontSize: theme.typography.fontSize.subHead,
2899
- lineHeight: '32px',
2900
- color: theme?.palette?.font?.primary,
2901
- wordBreak: 'break-word'
2937
+ fontSize: '14px',
2938
+ lineHeight: '22px'
2902
2939
  },
2903
- '@media screen and (max-width: 767px)': {
2904
- contentContainer: {
2905
- width: '100%'
2906
- },
2907
- content: {
2908
- display: 'flex',
2909
- flexDirection: 'column',
2910
- borderRadius: theme.shape.borderRadius.large,
2911
- width: '100%',
2912
- height: 'auto',
2913
- '&:nth-child(2n)': {
2914
- marginLeft: '0',
2915
- '& $contentText': {
2916
- marginRight: '0',
2917
- alignSelf: 'flex-start'
2918
- // padding: '0'
2919
- }
2920
- },
2921
-
2922
- '&:nth-child(2n+1)': {
2923
- marginRight: '0',
2924
- '& $contentText': {
2925
- marginLeft: '0',
2926
- alignSelf: 'flex-start'
2927
- // padding: '0'
2928
- }
2929
- }
2930
- },
2931
-
2932
- contentNumber: {
2933
- width: '100%',
2934
- padding: '24px',
2935
- position: 'static'
2936
- }
2940
+ contentHeading: {
2941
+ fontSize: '20px',
2942
+ lineHeight: '32px'
2937
2943
  }
2938
- };
2939
- });
2944
+ }
2945
+ }));
2940
2946
 
2941
2947
  function List({
2942
2948
  sectionData
@@ -3008,21 +3014,13 @@ const useSectionStyles$6 = createUseStyles(theme => {
3008
3014
  return {
3009
3015
  bannerCarouselCenterSection: {
3010
3016
  width: '100%',
3011
- // height: '100%',
3012
3017
  textAlign: 'center',
3013
3018
  position: 'relative',
3014
3019
  '&, & *, & *:before, & *:after': {
3015
3020
  fontFamily: theme?.typography?.fontFamily,
3016
3021
  boxSizing: 'border-box'
3017
3022
  }
3018
- // '& h2,& h3': {
3019
- // fontWeight: '500',
3020
- // '& b,& strong': {
3021
- // fontWeight: '700'
3022
- // }
3023
- // }
3024
3023
  },
3025
-
3026
3024
  sectionContainer: {
3027
3025
  width: '100%',
3028
3026
  // maxWidth: ({ containerWidth } = {}) => containerWidth,
@@ -3042,20 +3040,9 @@ const useSectionStyles$6 = createUseStyles(theme => {
3042
3040
  margin: `${theme.spacing.margin.tiny}px 0px`
3043
3041
  },
3044
3042
  contentContainer: {
3045
- // padding: '100px 0',
3046
- // height: '100%',
3047
- // display: 'flex',
3048
- // alignItems: 'center'
3049
- // height: '100%',
3050
3043
  display: 'flex',
3051
- /* padding: 100px 0; */
3052
3044
  alignItems: 'center'
3053
- // backgroundImage: ({ imageUrl } = {}) =>
3054
- // `linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%), url("${imageUrl}")`,
3055
- // backgroundPosition: 'center',
3056
- // backgroundSize: 'cover'
3057
3045
  },
3058
-
3059
3046
  centerBgImageContainer: {
3060
3047
  width: '100%',
3061
3048
  position: 'relative',
@@ -3089,7 +3076,8 @@ const useSectionStyles$6 = createUseStyles(theme => {
3089
3076
  color: theme?.palette?.font?.invertedDefault,
3090
3077
  marginBottom: '8px',
3091
3078
  fontSize: theme.typography.fontSize.subHead,
3092
- wordBreak: 'break-word'
3079
+ wordBreak: 'break-word',
3080
+ letterSpacing: '3px'
3093
3081
  },
3094
3082
  heading: {
3095
3083
  margin: '0',
@@ -3100,11 +3088,11 @@ const useSectionStyles$6 = createUseStyles(theme => {
3100
3088
  }) => wordBreakValue || 'break-word'
3101
3089
  },
3102
3090
  description: {
3103
- margin: `${theme.spacing.margin.tiny}px 0px`,
3104
3091
  color: theme?.palette?.font?.invertedDefault,
3105
- lineHeight: '24px',
3092
+ lineHeight: '32px',
3093
+ fontWeight: '400',
3106
3094
  wordBreak: 'break-word',
3107
- fontSize: theme.typography.fontSize.subHead
3095
+ fontSize: theme.typography.fontSize.description
3108
3096
  },
3109
3097
  sideBannerImage: {
3110
3098
  width: '100%',
@@ -3112,37 +3100,44 @@ const useSectionStyles$6 = createUseStyles(theme => {
3112
3100
  objectFit: 'cover',
3113
3101
  objectPosition: '50% 50%'
3114
3102
  },
3103
+ overlay: {
3104
+ zIndex: 1,
3105
+ position: 'absolute',
3106
+ top: 0,
3107
+ left: 0,
3108
+ width: '100%',
3109
+ height: '100%',
3110
+ backgroundColor: 'rgba(0, 0, 0, 0.4)'
3111
+ },
3115
3112
  '@media screen and (max-width: 767px)': {
3113
+ heading: {
3114
+ fontSize: theme.typography.fontSize.h2
3115
+ },
3116
3116
  partialBackground: {
3117
3117
  display: 'none'
3118
3118
  },
3119
3119
  contentContainer: {
3120
- display: 'flex',
3121
- flexFlow: 'column-reverse',
3122
- justifyContent: 'center',
3123
- padding: '0px'
3124
- },
3125
- // textContainer: {
3126
- // padding: '20px 20px',
3127
- // height: '100%',
3128
- // width: '100%'
3129
- // // backgroundColor: theme?.palette?.background?.primary
3130
- // },
3131
- subTitleHeading: {
3132
- color: theme?.palette?.font?.tertiary
3120
+ display: 'block'
3133
3121
  },
3134
- heading: {
3135
- color: theme?.palette?.font?.default
3122
+ textContainer: {
3123
+ position: 'absolute',
3124
+ padding: '20px 20px',
3125
+ height: '100%',
3126
+ width: '100%',
3127
+ zIndex: '999999'
3128
+ // backgroundColor: theme?.palette?.background?.primary
3136
3129
  },
3130
+
3137
3131
  description: {
3138
- color: theme?.palette?.font?.primary
3132
+ fontSize: '16px',
3133
+ lineHeight: '24px'
3139
3134
  },
3140
3135
  centerBgImageContainer: {
3141
3136
  width: ({
3142
3137
  isCustomWebsite
3143
3138
  }) => isCustomWebsite ? '100%' : 'unset',
3144
- // position: 'relative',
3145
- // height: '34rem',
3139
+ position: 'relative',
3140
+ height: '40rem',
3146
3141
  minHeight: '200px',
3147
3142
  paddingBottom: '0'
3148
3143
  },
@@ -3170,12 +3165,16 @@ const Section$3 = ({
3170
3165
  isCustomWebsite,
3171
3166
  countryCode
3172
3167
  } = React.useContext(PageContext);
3168
+ const hasContent = Boolean(nodeData.cardHeading.metadata.value || nodeData.title.metadata.valu || nodeData.description.metadata.value);
3173
3169
  const classes = useSectionStyles$6({
3174
3170
  wordBreakValue: wordBreakValue(countryCode),
3175
3171
  imageUrl: nodeData.image.metadata.value,
3176
3172
  containerWidth,
3177
- isCustomWebsite
3173
+ isCustomWebsite,
3174
+ hasContent
3178
3175
  });
3176
+ const mobileImageSrc = isMobile && nodeData?.mobileImage?.metadata?.value;
3177
+ const desktopImageSrc = nodeData?.image?.metadata?.value;
3179
3178
  return /*#__PURE__*/React__default["default"].createElement("section", {
3180
3179
  className: classes.bannerCarouselCenterSection
3181
3180
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3213,8 +3212,10 @@ const Section$3 = ({
3213
3212
  size: isMobile ? 'small' : 'medium'
3214
3213
  }))) : null), /*#__PURE__*/React__default["default"].createElement("div", {
3215
3214
  className: classes?.centerBgImageContainer
3216
- }, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
3217
- src: nodeData.image.metadata.value,
3215
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
3216
+ className: hasContent && classes?.overlay
3217
+ }), /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
3218
+ src: mobileImageSrc ? mobileImageSrc : desktopImageSrc,
3218
3219
  className: classes?.centerBgImage,
3219
3220
  sectionIndex: sectionIndex
3220
3221
  }))));
@@ -3253,8 +3254,7 @@ var index$j = /*#__PURE__*/Object.freeze({
3253
3254
  const useSectionStyles$5 = createUseStyles(theme => {
3254
3255
  return {
3255
3256
  section: {
3256
- padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3257
- background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
3257
+ padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3258
3258
  '&, & *, & *:before, & *:after': {
3259
3259
  fontFamily: theme?.typography?.fontFamily,
3260
3260
  boxSizing: 'border-box'
@@ -3275,7 +3275,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3275
3275
  },
3276
3276
  centerData: {
3277
3277
  display: 'flex',
3278
- alignItems: 'center',
3278
+ alignItems: 'start',
3279
3279
  justifyContent: 'center'
3280
3280
 
3281
3281
  // padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
@@ -3298,7 +3298,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3298
3298
  }
3299
3299
  },
3300
3300
  imageBorder: {
3301
- // border: `2px solid ${theme?.palette?.primary?.light}`,
3301
+ border: `2px solid ${theme?.palette?.primary?.light}`,
3302
3302
  borderRadius: theme?.shape?.borderRadius?.small,
3303
3303
  position: 'absolute',
3304
3304
  width: '100%',
@@ -3322,6 +3322,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3322
3322
  subTitleHeading: {
3323
3323
  marginBottom: '8px',
3324
3324
  fontSize: theme?.typography?.fontSize?.subHead,
3325
+ letterSpacing: '3px',
3325
3326
  color: theme?.palette?.font?.default,
3326
3327
  wordBreak: 'break-word'
3327
3328
  },
@@ -3344,10 +3345,10 @@ const useSectionStyles$5 = createUseStyles(theme => {
3344
3345
  },
3345
3346
  '@media screen and (max-width: 767px)': {
3346
3347
  section: {
3347
- padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3348
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px`
3348
3349
  },
3349
3350
  centerData: {
3350
- flexDirection: 'column-reverse',
3351
+ flexDirection: 'column',
3351
3352
  width: '100%'
3352
3353
  // padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3353
3354
  },
@@ -3376,7 +3377,11 @@ const useSectionStyles$5 = createUseStyles(theme => {
3376
3377
  textAlign: 'center'
3377
3378
  },
3378
3379
  heading: {
3379
- fontSize: `${theme?.typography?.fontSize?.h3}px`
3380
+ fontSize: `${theme?.typography?.fontSize?.h2}px`
3381
+ },
3382
+ subTitleHeading: {
3383
+ letterSpacing: '3px',
3384
+ lineHeight: '17px'
3380
3385
  },
3381
3386
  description: {
3382
3387
  margin: '16px 0'
@@ -3485,7 +3490,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3485
3490
  justifyContent: 'center',
3486
3491
  padding: ({
3487
3492
  isMobile
3488
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3493
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3489
3494
  '&, & *, & *:before, & *:after': {
3490
3495
  fontFamily: theme?.typography?.fontFamily,
3491
3496
  boxSizing: 'border-box'
@@ -3505,12 +3510,11 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3505
3510
  left: '0',
3506
3511
  width: '100%',
3507
3512
  height: '50%',
3508
- position: 'absolute'
3509
- // background: theme?.palette?.background?.primary
3513
+ position: 'absolute',
3514
+ background: theme?.palette?.background?.primary
3510
3515
  },
3511
-
3512
3516
  sectionContainer: {
3513
- background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
3517
+ backgroundColor: theme?.palette?.background?.default,
3514
3518
  boxShadow: theme?.shadows?.secondary,
3515
3519
  borderRadius: theme?.shape?.borderRadius?.regular,
3516
3520
  padding: theme.spacing.padding.small,
@@ -3528,18 +3532,18 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3528
3532
  contentContainer: {
3529
3533
  display: 'flex',
3530
3534
  alignItems: 'center',
3531
- justifyContent: 'space-between'
3535
+ gap: '16px'
3532
3536
  },
3533
3537
  title: {
3534
3538
  fontSize: theme.typography.fontSize.h6,
3535
3539
  lineHeight: '32px',
3536
3540
  color: theme?.palette?.font?.primary,
3537
- width: 'calc(50% - 80px)',
3538
- wordBreak: 'break-word'
3541
+ wordBreak: 'break-word',
3542
+ flex: 1
3539
3543
  },
3540
3544
  inputContainer: {
3541
3545
  display: 'flex',
3542
- width: '50%'
3546
+ flex: 1
3543
3547
  },
3544
3548
  inputFieldDiv: {
3545
3549
  display: 'flex',
@@ -3656,59 +3660,56 @@ async function postApiCallForm(baseURLs, data, extraProps) {
3656
3660
  }
3657
3661
  }
3658
3662
 
3659
- const inputStyles = createUseStyles(theme => {
3660
- console.log('themexxxxdsf', theme);
3661
- return {
3663
+ const inputStyles = createUseStyles(theme => ({
3664
+ inputField: {
3665
+ width: '100%',
3666
+ maxWidth: '314px',
3667
+ background: theme?.palette?.background?.default,
3668
+ border: `1px solid ${theme?.palette?.border?.secondary}`,
3669
+ borderRadius: theme?.shape?.borderRadius?.regular,
3670
+ padding: '14px 12px',
3671
+ display: 'flex',
3672
+ fontWeight: '400',
3673
+ fontSize: '16px',
3674
+ lineHeight: '20px',
3675
+ verticalalign: 'top',
3676
+ resize: 'none',
3677
+ fontFamily: 'inherit',
3678
+ '&::placeholder': {
3679
+ fontWeight: '400',
3680
+ fontSize: '16px',
3681
+ lineHeight: '20px',
3682
+ color: theme?.palette?.font?.primary,
3683
+ fontFamily: theme?.typography?.fontFamily
3684
+ },
3685
+ '&:focus': {
3686
+ outline: 'none'
3687
+ }
3688
+ },
3689
+ error: {
3690
+ borderBottom: '1px solid red',
3691
+ position: 'absolute',
3692
+ bottom: '-8px',
3693
+ width: 'calc(100% - 24px)'
3694
+ },
3695
+ errorBorder: {
3696
+ border: `1px solid red`,
3697
+ color: 'red',
3698
+ '&::placeholder': {
3699
+ color: 'red',
3700
+ opacity: '0.5'
3701
+ }
3702
+ },
3703
+ '@media screen and (max-width: 767px)': {
3662
3704
  inputField: {
3663
3705
  width: '100%',
3664
- maxWidth: '314px',
3665
- background: theme?.palette?.background?.default,
3666
- border: `1px solid ${theme?.isGradient ? theme?.gradientColors?.AccentColor : theme?.solidColors?.inputBorderColor}`,
3667
- borderRadius: theme?.shape?.borderRadius?.regular,
3668
- padding: '14px 12px',
3669
- display: 'flex',
3670
- fontWeight: '400',
3671
- fontSize: '16px',
3672
- lineHeight: '20px',
3673
- verticalalign: 'top',
3674
- resize: 'none',
3675
- fontFamily: 'inherit',
3676
- '&::placeholder': {
3677
- fontWeight: '400',
3678
- fontSize: '16px',
3679
- lineHeight: '20px',
3680
- color: theme?.palette?.font?.primary,
3681
- fontFamily: theme?.typography?.fontFamily
3682
- },
3683
- '&:focus': {
3684
- outline: 'none'
3685
- }
3706
+ maxWidth: 'unset'
3686
3707
  },
3687
3708
  error: {
3688
- borderBottom: '1px solid red',
3689
- position: 'absolute',
3690
- bottom: '-8px',
3691
- width: 'calc(100% - 24px)'
3692
- },
3693
- errorBorder: {
3694
- border: `1px solid red`,
3695
- color: 'red',
3696
- '&::placeholder': {
3697
- color: 'red',
3698
- opacity: '0.5'
3699
- }
3700
- },
3701
- '@media screen and (max-width: 767px)': {
3702
- inputField: {
3703
- width: '100%',
3704
- maxWidth: 'unset'
3705
- },
3706
- error: {
3707
- bottom: '-2px'
3708
- }
3709
+ bottom: '-2px'
3709
3710
  }
3710
- };
3711
- });
3711
+ }
3712
+ }));
3712
3713
 
3713
3714
  function Input({
3714
3715
  data,
@@ -3721,12 +3722,9 @@ function Input({
3721
3722
  const {
3722
3723
  onChange,
3723
3724
  onBlur,
3724
- onFocus,
3725
- theme
3725
+ onFocus
3726
3726
  } = props;
3727
- const classes = inputStyles({
3728
- theme
3729
- });
3727
+ const classes = inputStyles();
3730
3728
  const Comp = inputType;
3731
3729
  return /*#__PURE__*/React__default["default"].createElement(Comp, _extends({}, inputType === 'input' ? {
3732
3730
  type: 'text'
@@ -3837,8 +3835,7 @@ function SubscribeToNewsletter({
3837
3835
  value: inputVal,
3838
3836
  isValid: isValid,
3839
3837
  style: {
3840
- padding: '15px 24px 15px 12px',
3841
- maxWidth: '100%'
3838
+ padding: '12px 16px'
3842
3839
  },
3843
3840
  inputType: 'input',
3844
3841
  onChange: e => {
@@ -3862,16 +3859,14 @@ function SubscribeToNewsletter({
3862
3859
  },
3863
3860
  onClick: () => handleSubmit(),
3864
3861
  type: nodeData?.cta?.metadata?.type,
3865
- size: isMobile ? 'small' : 'medium',
3862
+ size: 'small',
3866
3863
  styling: isMobile ? {
3867
- marginTop: '12px',
3868
- border: 'none'
3864
+ marginTop: '12px'
3869
3865
  } : {
3870
3866
  maxWidth: '200px',
3871
3867
  whiteSpace: 'nowrap',
3872
3868
  overflow: 'hidden',
3873
- textOverflow: 'ellipsis',
3874
- border: 'none'
3869
+ textOverflow: 'ellipsis'
3875
3870
  },
3876
3871
  disabled: btnDisabled
3877
3872
  })))))));
@@ -3884,9 +3879,9 @@ var index$h = /*#__PURE__*/Object.freeze({
3884
3879
 
3885
3880
  const useTestimonialStyles = createUseStyles(theme => ({
3886
3881
  testimonialContainer: {
3887
- // background: theme?.palette?.background?.primary,
3882
+ background: theme?.palette?.background?.primary,
3888
3883
  overflow: 'hidden',
3889
- padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3884
+ padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3890
3885
  '&, & *, & *:before, & *:after': {
3891
3886
  fontFamily: theme?.typography?.fontFamily,
3892
3887
  boxSizing: 'border-box'
@@ -3902,7 +3897,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3902
3897
  } = {}) => containerWidth
3903
3898
  },
3904
3899
  testimonialText: {
3905
- color: theme?.palette?.font?.secondary,
3900
+ color: theme?.palette?.font?.default,
3906
3901
  fontSize: theme.typography.fontSize.subHead,
3907
3902
  wordBreak: 'break-word',
3908
3903
  textTransform: 'uppercase'
@@ -3926,7 +3921,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3926
3921
  position: 'relative',
3927
3922
  height: 'calc(100% - 12px)',
3928
3923
  width: 'calc(100% - 24px)',
3929
- background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
3924
+ background: theme?.palette?.background?.default,
3930
3925
  boxShadow: theme?.shadows?.primary,
3931
3926
  borderRadius: theme?.shape?.borderRadius?.regular
3932
3927
  },
@@ -3951,10 +3946,10 @@ const useTestimonialStyles = createUseStyles(theme => ({
3951
3946
  reviewText: {
3952
3947
  // padding: '48px 41px 0 48px',
3953
3948
  marginBottom: theme.spacing.margin.tiny,
3954
- fontSize: theme.typography.fontSize.subHead,
3949
+ fontSize: theme.typography.fontSize.body,
3955
3950
  wordBreak: 'break-word',
3956
- color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font2,
3957
- lineHeight: '22px'
3951
+ color: theme?.palette?.font?.primary,
3952
+ lineHeight: '26px'
3958
3953
  },
3959
3954
  userContainer: {
3960
3955
  display: 'flex',
@@ -3973,7 +3968,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
3973
3968
  height: '64px',
3974
3969
  borderRadius: '32px',
3975
3970
  background: '#666666',
3976
- marginRight: '16px',
3977
3971
  flexShrink: '0'
3978
3972
  },
3979
3973
  userImage: {
@@ -3983,7 +3977,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3983
3977
  marginRight: '16px'
3984
3978
  },
3985
3979
  userName: {
3986
- color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font2,
3980
+ color: theme?.palette?.font?.default,
3987
3981
  margin: '0',
3988
3982
  fontSize: theme.typography.fontSize.h5,
3989
3983
  // paddingTop: '16px',
@@ -4000,7 +3994,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4000
3994
  },
4001
3995
  '@media (max-width: 768px)': {
4002
3996
  testimonialContainer: {
4003
- padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3997
+ padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
4004
3998
  },
4005
3999
  // testimonialCardAndText: {
4006
4000
  // margin: '0 20px'
@@ -4028,6 +4022,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4028
4022
  marginRight: '16px'
4029
4023
  },
4030
4024
  reviewText: {
4025
+ lineHeight: '22px',
4031
4026
  marginBottom: '16px'
4032
4027
  },
4033
4028
  singleCard: {
@@ -4038,7 +4033,8 @@ const useTestimonialStyles = createUseStyles(theme => ({
4038
4033
  // paddingTop: '8px',
4039
4034
  overflow: 'hidden',
4040
4035
  whiteSpace: 'nowrap',
4041
- textOverflow: 'ellipsis'
4036
+ textOverflow: 'ellipsis',
4037
+ fontSize: '20px'
4042
4038
  },
4043
4039
  userImageContainer: {
4044
4040
  width: '48px',
@@ -4100,7 +4096,7 @@ function Section$1({
4100
4096
  className: classes.quoteIcon
4101
4097
  }, /*#__PURE__*/React__default["default"].createElement(QuotesComponent, null)), /*#__PURE__*/React__default["default"].createElement("div", {
4102
4098
  className: classes.cardDetails
4103
- }, /*#__PURE__*/React__default["default"].createElement("div", {
4099
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
4104
4100
  ref: el?.cardTextContent?.refSetter,
4105
4101
  className: classes.reviewText,
4106
4102
  dangerouslySetInnerHTML: {
@@ -4145,7 +4141,7 @@ function Section$1({
4145
4141
  dangerouslySetInnerHTML: {
4146
4142
  __html: nodeData?.carouselHeading?.metadata?.value
4147
4143
  }
4148
- })), /*#__PURE__*/React__default["default"].createElement("div", {
4144
+ })), /*#__PURE__*/React__default["default"].createElement("h2", {
4149
4145
  className: classes.testimonialHeader
4150
4146
  }, /*#__PURE__*/React__default["default"].createElement("span", {
4151
4147
  ref: nodeData?.title?.refSetter,
@@ -4365,7 +4361,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4365
4361
  justifyContent: 'center',
4366
4362
  padding: ({
4367
4363
  isMobile
4368
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4364
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4369
4365
  '&, & *, & *:before, & *:after': {
4370
4366
  fontFamily: theme?.typography?.fontFamily
4371
4367
  // boxSizing: 'border-box'
@@ -4392,11 +4388,12 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4392
4388
  letterSpacing: '3px',
4393
4389
  textTransform: 'uppercase',
4394
4390
  color: theme.palette.font.default,
4395
- wordBreak: 'break-word',
4396
- marginBottom: '8px'
4391
+ wordBreak: 'break-word'
4392
+ // marginBottom: '8px'
4397
4393
  },
4394
+
4398
4395
  videoTestimonialTitle: {
4399
- fontSize: theme.typography.fontSize.h1,
4396
+ fontSize: theme.typography.fontSize.h2,
4400
4397
  // lineHeight: '71px',
4401
4398
  letterSpacing: '-3px',
4402
4399
  fontWeight: theme.typography.fontWeight.bold,
@@ -4406,15 +4403,16 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4406
4403
  },
4407
4404
  videoCarousel: {
4408
4405
  display: 'flex',
4409
- alignItems: 'center',
4410
4406
  justifyContent: 'flex-start',
4411
- gap: theme.spacing.margin.small
4407
+ gap: '40px'
4412
4408
  },
4413
4409
  iframeSuperContainer: {
4414
4410
  height: '100%',
4415
4411
  width: '100%',
4416
4412
  display: 'flex',
4417
- alignItems: 'center'
4413
+ alignItems: 'center',
4414
+ marginTop: '16px',
4415
+ borderRadius: '8px'
4418
4416
  },
4419
4417
  iframeContainer: {
4420
4418
  width: '100%',
@@ -4444,13 +4442,13 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4444
4442
  fontWeight: theme.typography.fontWeight.bold
4445
4443
  },
4446
4444
  videoDetailsContent: {
4447
- fontSize: theme.typography.fontSize.subHead,
4445
+ fontSize: theme.typography.fontSize.body,
4448
4446
  lineHeight: '24px',
4449
4447
  wordBreak: 'break-word',
4450
4448
  color: theme.palette.font.primary
4451
4449
  },
4452
4450
  videoDetailsSubContent: {
4453
- fontSize: theme.typography.fontSize.subHead,
4451
+ fontSize: theme.typography.fontSize.h6,
4454
4452
  lineHeight: '24px',
4455
4453
  margin: '0',
4456
4454
  color: theme.palette.font.primary,
@@ -4464,15 +4462,24 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4464
4462
  height: 'max-content'
4465
4463
  },
4466
4464
  videoDetails: {
4465
+ justifyContent: 'center',
4466
+ alignItems: 'center',
4467
4467
  width: '100%',
4468
4468
  gap: '16px'
4469
4469
  },
4470
4470
  videoDetailsHeading: {
4471
4471
  lineHeight: 'normal'
4472
4472
  },
4473
+ videoDetailsSubContent: {
4474
+ textAlign: 'center'
4475
+ },
4473
4476
  videoTestimonialTitle: {
4474
4477
  lineHeight: 'normal',
4475
- letterSpacing: '-1px'
4478
+ letterSpacing: '-1px',
4479
+ textAlign: 'center'
4480
+ },
4481
+ videoTestimonialHeading: {
4482
+ textAlign: 'center'
4476
4483
  }
4477
4484
  }
4478
4485
  };
@@ -4576,8 +4583,8 @@ const useVideoStyles = createUseStyles(theme => {
4576
4583
  videoSuperContainer: {
4577
4584
  padding: ({
4578
4585
  isMobile
4579
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4580
- background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
4586
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4587
+ backgroundColor: theme?.palette?.background?.primary,
4581
4588
  '&, & *, & *:before, & *:after': {
4582
4589
  fontFamily: theme?.typography?.fontFamily,
4583
4590
  boxSizing: 'border-box'
@@ -4585,14 +4592,7 @@ const useVideoStyles = createUseStyles(theme => {
4585
4592
  '& h3': {
4586
4593
  marginTop: '0'
4587
4594
  }
4588
- // '& h2,& h3': {
4589
- // fontWeight: '500',
4590
- // '& b,& strong': {
4591
- // fontWeight: '700'
4592
- // }
4593
- // }
4594
4595
  },
4595
-
4596
4596
  sectionContainer: {
4597
4597
  margin: '0 auto',
4598
4598
  maxWidth: ({
@@ -4607,7 +4607,8 @@ const useVideoStyles = createUseStyles(theme => {
4607
4607
  fontSize: theme.typography.fontSize.subHead,
4608
4608
  textTransform: 'uppercase',
4609
4609
  lineHeight: '20px',
4610
- color: theme?.palette?.font?.primary,
4610
+ color: theme?.palette?.font?.default,
4611
+ letterSpacing: '3px',
4611
4612
  wordBreak: 'break-word'
4612
4613
  },
4613
4614
  videoTitle: {
@@ -4625,11 +4626,11 @@ const useVideoStyles = createUseStyles(theme => {
4625
4626
  },
4626
4627
  singleSlideContainer: {
4627
4628
  backgroundColor: theme?.palette?.background?.default,
4628
- margin: '20px',
4629
- width: 'calc(100% - 40px)',
4629
+ // margin: '20px',
4630
+ width: 'calc(100% - 24px)',
4630
4631
  height: 'calc(100% - 40px)',
4631
4632
  borderRadius: theme?.shape?.borderRadius?.regular,
4632
- padding: '48px',
4633
+ padding: '64px',
4633
4634
  boxShadow: theme?.shadows?.primary
4634
4635
  },
4635
4636
  contentRow: {
@@ -4665,7 +4666,7 @@ const useVideoStyles = createUseStyles(theme => {
4665
4666
  wordBreak: 'break-word'
4666
4667
  },
4667
4668
  videoDetailsSubHeading: {
4668
- fontSize: theme.typography.fontSize.subHead,
4669
+ fontSize: theme.typography.fontSize.body,
4669
4670
  lineHeight: '24px',
4670
4671
  wordBreak: 'break-word',
4671
4672
  color: theme?.palette?.font?.primary
@@ -4705,17 +4706,16 @@ const useVideoStyles = createUseStyles(theme => {
4705
4706
  display: 'flex',
4706
4707
  justifyContent: 'center',
4707
4708
  textAlign: 'center'
4709
+ },
4710
+ videoDetailsHeading: {
4711
+ fontSize: '20px',
4712
+ marginBottom: '0',
4713
+ textAlign: 'center'
4714
+ },
4715
+ videoDetailsSubHeading: {
4716
+ fontSize: '14px',
4717
+ textAlign: 'center'
4708
4718
  }
4709
-
4710
- // videoDetailsHeading: {
4711
- // fontSize: '18px',
4712
- // margin: '0'
4713
- // },
4714
-
4715
- // videoDetailsSubHeading: {
4716
- // fontSize: '12px',
4717
- // paddingBottom: '20px'
4718
- // }
4719
4719
  }
4720
4720
  };
4721
4721
  });
@@ -4738,7 +4738,7 @@ const SingleSlide$1 = props => {
4738
4738
  videoUrl: data.videoFrame.metadata?.value
4739
4739
  })), /*#__PURE__*/React__default["default"].createElement("div", {
4740
4740
  className: classes.videoDetailsContainer
4741
- }, /*#__PURE__*/React__default["default"].createElement("div", {
4741
+ }, /*#__PURE__*/React__default["default"].createElement("h3", {
4742
4742
  ref: data?.videoTitle?.refSetter,
4743
4743
  className: classes.videoDetailsHeading,
4744
4744
  dangerouslySetInnerHTML: {
@@ -4794,7 +4794,7 @@ function Video({
4794
4794
  dangerouslySetInnerHTML: {
4795
4795
  __html: videoData.videoHeading.metadata.value
4796
4796
  }
4797
- })), /*#__PURE__*/React__default["default"].createElement("div", {
4797
+ })), /*#__PURE__*/React__default["default"].createElement("h2", {
4798
4798
  className: classes.videoTitle
4799
4799
  }, /*#__PURE__*/React__default["default"].createElement("span", {
4800
4800
  ref: videoData?.videoTitle?.refSetter,
@@ -4819,7 +4819,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4819
4819
  position: 'relative',
4820
4820
  padding: ({
4821
4821
  isMobile
4822
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px 0px ${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4822
+ } = {}) => 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`,
4823
4823
  backgroundColor: theme?.palette?.background?.default,
4824
4824
  '&, & *, & *:before, & *:after': {
4825
4825
  fontFamily: theme?.typography?.fontFamily,
@@ -4844,7 +4844,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4844
4844
  top: '0',
4845
4845
  left: '0',
4846
4846
  height: '50%',
4847
- background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
4847
+ background: theme?.palette?.background?.primary,
4848
4848
  width: '100%'
4849
4849
  },
4850
4850
  content: {
@@ -4861,7 +4861,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4861
4861
  wordBreak: 'break-word'
4862
4862
  },
4863
4863
  heading: {
4864
- margin: `8px 0 ${theme.spacing.margin.tiny}px`,
4864
+ margin: `0px 0 ${theme.spacing.margin.tiny}px`,
4865
4865
  fontSize: theme.typography.fontSize.h2,
4866
4866
  width: '100%',
4867
4867
  lineHeight: '70px',
@@ -4869,10 +4869,11 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4869
4869
  textAlign: 'left',
4870
4870
  wordBreak: 'break-word'
4871
4871
  },
4872
- sliderContainer: {
4873
- marginLeft: '-10px',
4874
- marginRight: '-70px'
4875
- },
4872
+ // sliderContainer: {
4873
+ // marginLeft: '-10px',
4874
+ // marginRight: '-70px'
4875
+ // },
4876
+
4876
4877
  card: {
4877
4878
  background: theme?.palette?.background?.default,
4878
4879
  boxShadow: theme?.shadows?.primary,
@@ -4884,20 +4885,23 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4884
4885
  height: 'calc(100% - 12px)'
4885
4886
  },
4886
4887
  cardContent: {
4887
- padding: theme.spacing.padding.tiny,
4888
+ padding: '24px',
4888
4889
  height: '100%',
4889
4890
  display: 'flex',
4890
- flexDirection: 'column'
4891
+ flexDirection: 'column',
4892
+ justifyContent: 'center',
4893
+ alignItems: 'center'
4891
4894
  },
4892
4895
  cardHeading: {
4893
- fontSize: theme.typography.fontSize.h5,
4894
- lineHeight: '32px',
4896
+ textAlign: 'center',
4897
+ fontSize: theme.typography.fontSize.h6,
4895
4898
  fontWeight: theme.typography.fontWeight.bold,
4896
4899
  color: theme?.palette?.font?.default,
4897
- margin: `${theme.spacing.margin.tiny}px 0px`,
4900
+ margin: `16px 0px`,
4898
4901
  wordBreak: 'break-word'
4899
4902
  },
4900
4903
  imageContainer: {
4904
+ textAlign: 'center',
4901
4905
  width: '96px',
4902
4906
  height: '96px',
4903
4907
  display: 'flex',
@@ -4915,8 +4919,9 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4915
4919
  marginTop: theme.spacing.margin.tiny
4916
4920
  },
4917
4921
  cardPara: {
4918
- fontSize: theme.typography.fontSize.subHead,
4919
- lineHeight: '24px',
4922
+ textAlign: 'center',
4923
+ fontSize: theme.typography.fontSize.body,
4924
+ lineHeight: '22px',
4920
4925
  color: theme?.palette?.font?.primary,
4921
4926
  margin: '0',
4922
4927
  wordBreak: 'break-word'
@@ -4930,11 +4935,15 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4930
4935
  },
4931
4936
  '@media screen and (max-width: 767px)': {
4932
4937
  heading: {
4933
- fontSize: '24px',
4934
- margin: `4px 0 ${theme.spacing.margin.tiny}px`,
4935
- lineHeight: '36px',
4938
+ textAlign: 'center',
4939
+ fontSize: '20px',
4940
+ margin: `0px 0 ${theme.spacing.margin.tiny}px`,
4941
+ lineHeight: '24px',
4936
4942
  padding: '0'
4937
4943
  },
4944
+ subTitleHeading: {
4945
+ textAlign: 'center'
4946
+ },
4938
4947
  sliderContainer: {
4939
4948
  marginLeft: '-6px',
4940
4949
  marginRight: '-20px'
@@ -4949,6 +4958,12 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4949
4958
  slidesToShow,
4950
4959
  cardsCount
4951
4960
  } = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
4961
+ },
4962
+ cardHeading: {
4963
+ fontSize: '18px'
4964
+ },
4965
+ cardContent: {
4966
+ padding: '16px'
4952
4967
  }
4953
4968
  }
4954
4969
  }));
@@ -5049,8 +5064,8 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5049
5064
  section: {
5050
5065
  padding: ({
5051
5066
  isMobile
5052
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5053
- background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
5067
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5068
+ backgroundColor: theme?.palette?.background?.default,
5054
5069
  '&, & *, & *:before, & *:after': {
5055
5070
  fontFamily: theme?.typography?.fontFamily,
5056
5071
  boxSizing: 'border-box'
@@ -5067,7 +5082,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5067
5082
  subHeading: {
5068
5083
  fontSize: theme.typography.fontSize.subHead,
5069
5084
  marginBottom: '8px',
5070
- color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
5085
+ color: theme?.palette?.font?.default,
5071
5086
  wordBreak: 'break-word',
5072
5087
  textTransform: 'uppercase',
5073
5088
  letterSpacing: '3px'
@@ -5077,7 +5092,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5077
5092
  fontWeight: theme.typography.fontWeight.bold,
5078
5093
  lineHeight: 'normal',
5079
5094
  margin: '0',
5080
- color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
5095
+ color: theme?.palette?.font?.default,
5081
5096
  wordBreak: 'break-word',
5082
5097
  marginBottom: theme.spacing.margin.tiny
5083
5098
  },
@@ -5088,17 +5103,16 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5088
5103
  padding: '48px 0px'
5089
5104
  },
5090
5105
  textPara: {
5091
- background: 'white',
5092
- borderRadius: '8px',
5093
- padding: '40px',
5094
- lineHeight: '24px',
5095
5106
  color: theme?.palette?.font?.primary,
5096
5107
  wordBreak: 'break-word',
5097
- fontSize: theme.typography.fontSize.subHead,
5098
- boxShadow: '0px 2px 8px 0px rgba(0, 0, 0, 0.08)'
5108
+ fontSize: theme.typography.fontSize.body,
5109
+ lineHeight: '24px'
5099
5110
  },
5100
5111
  '@media screen and (max-width: 767px)': {
5101
5112
  textContent: {
5113
+ display: 'flex',
5114
+ flexDirection: 'column',
5115
+ lineHeight: '22px',
5102
5116
  gap: '16px',
5103
5117
  padding: '16px 0px'
5104
5118
  }
@@ -5164,8 +5178,9 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5164
5178
  container: {
5165
5179
  background: theme?.palette?.background?.default,
5166
5180
  padding: ({
5167
- isMobile
5168
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5181
+ isMobile,
5182
+ cardsCount
5183
+ } = {}) => 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`,
5169
5184
  '&, & *, & *:before, & *:after': {
5170
5185
  fontFamily: theme?.typography?.fontFamily,
5171
5186
  boxSizing: 'border-box'
@@ -5185,19 +5200,26 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5185
5200
  } = {}) => containerWidth
5186
5201
  },
5187
5202
  cardHeading: {
5188
- color: theme?.palette?.font?.secondary,
5203
+ color: theme?.palette?.font?.default,
5189
5204
  fontSize: theme.typography.fontSize.subHead,
5190
5205
  letterSpacing: '3px',
5191
5206
  wordBreak: 'break-word',
5192
- textTransform: 'uppercase'
5207
+ textTransform: 'uppercase',
5208
+ textAlign: ({
5209
+ cardsCount,
5210
+ isMobile
5211
+ }) => cardsCount === 1 || isMobile ? 'center' : 'left'
5193
5212
  },
5194
5213
  // sliderContainer: {
5195
5214
  // marginRight: '-70px'
5196
5215
  // },
5197
-
5216
+ cursorPointer: {
5217
+ cursor: 'pointer'
5218
+ },
5198
5219
  singleCard: {
5220
+ borderRadius: '24px',
5199
5221
  margin: '0 1px',
5200
- width: 'calc(100% - 2px)',
5222
+ width: isMobile => isMobile ? 'calc(100% - 24px)' : 'calc(100% - 24px)',
5201
5223
  position: 'relative',
5202
5224
  paddingBottom: '59.83%' // keeping aspect ratio 585x350
5203
5225
  },
@@ -5205,19 +5227,34 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5205
5227
  contentRow: {
5206
5228
  display: 'grid',
5207
5229
  gridTemplateColumns: ({
5208
- slidesToShow
5209
- } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
5230
+ slidesToShow,
5231
+ cardsCount
5232
+ } = {}) => {
5233
+ if (cardsCount === 1) return '';
5234
+ return `repeat(${slidesToShow},minmax(0, 1fr))`;
5235
+ },
5236
+ padding: ({
5237
+ cardsCount
5238
+ }) => cardsCount === 1 ? '0px 100px' : ''
5210
5239
  },
5211
5240
  carouselImage: {
5241
+ height: ({
5242
+ cardsCount
5243
+ }) => cardsCount === 1 ? '480px' : '100%',
5244
+ borderRadius: '24px',
5212
5245
  objectFit: 'cover',
5246
+ objectPosition: 'center',
5213
5247
  position: 'absolute',
5214
5248
  left: 0,
5215
5249
  top: 0,
5216
- width: '100%',
5217
- height: '100%'
5250
+ width: '100%'
5218
5251
  },
5219
5252
  title: {
5220
5253
  fontSize: theme.typography.fontSize.h2,
5254
+ textAlign: ({
5255
+ cardsCount,
5256
+ isMobile
5257
+ }) => cardsCount === 1 || isMobile ? 'center' : 'left',
5221
5258
  lineHeight: '70px',
5222
5259
  letterSpacing: '-3px',
5223
5260
  color: theme?.palette?.font?.default,
@@ -5228,14 +5265,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5228
5265
  textOverflow: 'ellipsis'
5229
5266
  },
5230
5267
  '@media (max-width: 768px)': {
5231
- // container: {
5232
- // padding: '60px 20px'
5233
- // },
5234
-
5235
- // cardHeading: {
5236
- // marginLeft: '3px'
5237
- // },
5238
-
5239
5268
  title: {
5240
5269
  lineHeight: '36px',
5241
5270
  letterSpacing: '-1px',
@@ -5245,10 +5274,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5245
5274
  whiteSpace: 'nowrap',
5246
5275
  textOverflow: 'ellipsis'
5247
5276
  }
5248
-
5249
- // sliderContainer: {
5250
- // marginRight: '-20px'
5251
- // }
5252
5277
  }
5253
5278
  };
5254
5279
  });
@@ -5258,6 +5283,12 @@ function PhotoGallery({
5258
5283
  sectionIndex
5259
5284
  }) {
5260
5285
  const {
5286
+ templateId,
5287
+ navList,
5288
+ isPreview,
5289
+ isEdit,
5290
+ basePath,
5291
+ isMasterTemplate,
5261
5292
  isMobile,
5262
5293
  layout: {
5263
5294
  containerWidth
@@ -5283,11 +5314,35 @@ function PhotoGallery({
5283
5314
  centerPadding: isMobile ? '10px 0 0' : '80px 0 0',
5284
5315
  arrows: false
5285
5316
  };
5317
+ const handleClick = data => {
5318
+ let redirectUrl;
5319
+ const {
5320
+ isExistingLink,
5321
+ link
5322
+ } = data;
5323
+ if (isExistingLink && link === 'courses') {
5324
+ redirectUrl = `//${basePath}/courses`;
5325
+ } else if (isExistingLink && link) {
5326
+ // const { pageId } = navList.find((el) => el.slug === data?.link) || {};
5327
+ redirectUrl = `//${basePath}/${link}`;
5328
+ } else {
5329
+ redirectUrl = link;
5330
+ }
5331
+ if (redirectUrl) {
5332
+ window.open(redirectUrl, '_blank');
5333
+ }
5334
+ };
5335
+
5336
+ // useLinkBuilder(data);
5337
+
5286
5338
  const carouselContent = carouselList?.map((el, idx) => {
5339
+ const metadata = el?.cardImage?.metadata;
5340
+ const link = el?.cardImage?.metadata?.link;
5287
5341
  return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
5288
5342
  key: idx
5289
5343
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5290
- className: classes.singleCard
5344
+ onClick: () => handleClick(metadata),
5345
+ className: `${classes.singleCard} ${link && classes.cursorPointer}`
5291
5346
  }, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
5292
5347
  src: el?.cardImage?.metadata?.value,
5293
5348
  ref: el?.cardImage?.refSetter,
@@ -5329,10 +5384,10 @@ var index$b = /*#__PURE__*/Object.freeze({
5329
5384
  const useFaqListStyles = createUseStyles(theme => ({
5330
5385
  section: {
5331
5386
  width: '100%',
5332
- background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
5333
5387
  padding: ({
5334
5388
  isMobile
5335
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5389
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5390
+ backgroundColor: theme?.palette?.background?.primary,
5336
5391
  '&, & *, & *:before, & *:after': {
5337
5392
  fontFamily: theme?.typography?.fontFamily,
5338
5393
  boxSizing: 'border-box'
@@ -5391,7 +5446,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5391
5446
  },
5392
5447
  content: {
5393
5448
  color: theme?.palette?.font.primary,
5394
- fontSize: theme.typography.fontSize.subHead,
5449
+ fontSize: theme.typography.fontSize.body,
5395
5450
  lineHeight: '24px',
5396
5451
  maxHeight: ({
5397
5452
  isSelected
@@ -5400,8 +5455,19 @@ const useFaqListStyles = createUseStyles(theme => ({
5400
5455
  overflow: 'hidden'
5401
5456
  },
5402
5457
  '@media screen and (max-width: 767px)': {
5458
+ sectionSubheading: {
5459
+ textAlign: 'center'
5460
+ },
5461
+ sectionHeading: {
5462
+ textAlign: 'center'
5463
+ },
5464
+ title: {
5465
+ fontSize: '14px',
5466
+ lineHeight: '22px'
5467
+ },
5403
5468
  content: {
5404
- lineHeight: '20px'
5469
+ fontSize: '14px',
5470
+ lineHeight: '22px'
5405
5471
  },
5406
5472
  basicCardContainer: {
5407
5473
  '&:last-child': {
@@ -5480,8 +5546,8 @@ const Accordion = ({
5480
5546
  }), /*#__PURE__*/React__default["default"].createElement("div", {
5481
5547
  className: classes.arrowButton
5482
5548
  }, /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
5483
- down: isSelected,
5484
- up: !isSelected,
5549
+ down: !isSelected,
5550
+ up: isSelected,
5485
5551
  size: "small"
5486
5552
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
5487
5553
  ref: item?.answer?.refSetter,
@@ -5501,8 +5567,9 @@ const useTextGridStyles = createUseStyles(theme => ({
5501
5567
  section: {
5502
5568
  padding: ({
5503
5569
  isMobile
5504
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5505
- background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
5570
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5571
+ // backgroundColor: theme?.palette?.background?.primary,
5572
+
5506
5573
  '&, & *, & *:before, & *:after': {
5507
5574
  fontFamily: theme?.typography?.fontFamily,
5508
5575
  boxSizing: 'border-box'
@@ -5555,7 +5622,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5555
5622
  },
5556
5623
  nodeTitle: {
5557
5624
  color: theme?.palette?.font.default,
5558
- fontSize: theme.typography.fontSize.h3,
5625
+ fontSize: theme.typography.fontSize.h4,
5559
5626
  fontWeight: theme.typography.fontWeight.bold,
5560
5627
  lineHeight: 'normal',
5561
5628
  margin: '0 0 20px',
@@ -5563,7 +5630,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5563
5630
  },
5564
5631
  nodePara: {
5565
5632
  color: theme?.palette?.font.tertiary,
5566
- fontSize: theme.typography.fontSize.subHead,
5633
+ fontSize: theme.typography.fontSize.body,
5567
5634
  lineHeight: '24px',
5568
5635
  wordBreak: 'break-word'
5569
5636
  },
@@ -5582,10 +5649,14 @@ const useTextGridStyles = createUseStyles(theme => ({
5582
5649
  margin: '0 6px'
5583
5650
  },
5584
5651
  nodeTitle: {
5652
+ fontSize: '20px',
5585
5653
  marginBottom: '0px'
5586
5654
  },
5587
5655
  nodePara: {
5588
- margin: '16px 0'
5656
+ fontSize: '14px',
5657
+ display: 'block',
5658
+ margin: '16px 0 !important',
5659
+ lineHeight: '22px'
5589
5660
  },
5590
5661
  heading: {
5591
5662
  letterSpacing: '-1px'
@@ -5672,7 +5743,7 @@ const useCourseStyles = createUseStyles(theme => {
5672
5743
  overflow: 'hidden',
5673
5744
  padding: ({
5674
5745
  isMobile
5675
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5746
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5676
5747
  '&, & *, & *:before, & *:after': {
5677
5748
  fontFamily: theme?.typography?.fontFamily,
5678
5749
  boxSizing: 'border-box'
@@ -5821,8 +5892,7 @@ const useCourseStyles = createUseStyles(theme => {
5821
5892
  textDecoration: 'none !important'
5822
5893
  },
5823
5894
  courseCardStrikePrice: {
5824
- fontSize: '10px',
5825
- fontWeight: '600',
5895
+ fontSize: '14px',
5826
5896
  lineHeight: '13px',
5827
5897
  color: '#FE9B0E',
5828
5898
  '& span': {
@@ -5893,7 +5963,7 @@ const useCourseStyles = createUseStyles(theme => {
5893
5963
  // fontSize: '24px',
5894
5964
  lineHeight: '36px',
5895
5965
  color: theme?.palette?.font?.default,
5896
- margin: '4px 0 12px 0',
5966
+ margin: '0px 0 12px 0',
5897
5967
  overflow: 'hidden',
5898
5968
  whiteSpace: 'nowrap',
5899
5969
  textOverflow: 'ellipsis'
@@ -5989,8 +6059,7 @@ const formatCurrency = (countryCode, value, currencySymbol) => {
5989
6059
  function CourseCard({
5990
6060
  card,
5991
6061
  countryCode,
5992
- currencySymbol,
5993
- utmParams
6062
+ currencySymbol
5994
6063
  }) {
5995
6064
  const classes = useCourseStyles();
5996
6065
  const {
@@ -6000,7 +6069,7 @@ function CourseCard({
6000
6069
  const defaultCardImg = 'https://cp-assets-public.s3.ap-south-1.amazonaws.com/cams/cards-icon/default_course.png';
6001
6070
  const price = formatCurrency(countryCode, card?.price, currencySymbol);
6002
6071
  const finalPrice = formatCurrency(countryCode, card?.finalPrice, currencySymbol);
6003
- const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'Buy Now';
6072
+ const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'Buy Now';
6004
6073
  const offText = countryCode === 'KR' ? '할인' : 'OFF';
6005
6074
  return /*#__PURE__*/React__default["default"].createElement("div", {
6006
6075
  className: classes.singleCard
@@ -6040,7 +6109,7 @@ function CourseCard({
6040
6109
  className: classes.courseCardStrikePrice
6041
6110
  }, /*#__PURE__*/React__default["default"].createElement("span", null, price), " ", discount > 0 && discount + `% ${offText}`) : null), /*#__PURE__*/React__default["default"].createElement("a", {
6042
6111
  className: classes.coursesAnchorTag,
6043
- href: isEdit ? null : utmParams ? card?.shareableLink + `?flyy_utm_referrer=${utmParams}` : card?.shareableLink
6112
+ href: isEdit ? null : card?.shareableLink
6044
6113
  }, /*#__PURE__*/React__default["default"].createElement("div", {
6045
6114
  className: classes.courseCardBuyBtn
6046
6115
  }, buyNowText)))));
@@ -6070,7 +6139,6 @@ function courses({
6070
6139
  isMobile
6071
6140
  });
6072
6141
  const [nodeData] = sectionData?.components;
6073
- const [utmParams, setUtmParams] = React.useState('');
6074
6142
  const handleApiCall = () => {
6075
6143
  if (baseURLs) {
6076
6144
  getCourseList(baseURLs, hashToken).then(response => {
@@ -6116,11 +6184,6 @@ function courses({
6116
6184
  else {
6117
6185
  handleApiCall();
6118
6186
  }
6119
- const params = new URLSearchParams(window.location.search);
6120
- const utmParams = params.get('flyy_utm_referrer');
6121
- if (utmParams) {
6122
- setUtmParams(utmParams);
6123
- }
6124
6187
  }, []);
6125
6188
  const settings = {
6126
6189
  className: classes.slickContainer,
@@ -6158,8 +6221,7 @@ function courses({
6158
6221
  key: index,
6159
6222
  card: card,
6160
6223
  countryCode: countryCode,
6161
- currencySymbol: currencySymbol,
6162
- utmParams: utmParams
6224
+ currencySymbol: currencySymbol
6163
6225
  })) : fallBackImages?.map((dt, ind) => {
6164
6226
  return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
6165
6227
  key: ind
@@ -6204,8 +6266,9 @@ const useTeamStyles = createUseStyles(theme => {
6204
6266
  teamSuperContainer: {
6205
6267
  padding: ({
6206
6268
  isMobile
6207
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6208
- background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
6269
+ } = {}) => 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`,
6270
+ // backgroundColor: theme?.palette?.background?.primary,
6271
+
6209
6272
  '&, & *, & *:before, & *:after': {
6210
6273
  fontFamily: theme?.typography?.fontFamily,
6211
6274
  boxSizing: 'border-box'
@@ -6227,7 +6290,7 @@ const useTeamStyles = createUseStyles(theme => {
6227
6290
  letterSpacing: '3px',
6228
6291
  marginBottom: '8px',
6229
6292
  color: theme?.palette?.font?.default,
6230
- wordBreak: 'break-word',
6293
+ // wordBreak: 'break-word',
6231
6294
  position: 'relative'
6232
6295
  },
6233
6296
  partialBackground: {
@@ -6259,13 +6322,13 @@ const useTeamStyles = createUseStyles(theme => {
6259
6322
  singleSlideContainer: {
6260
6323
  backgroundColor: theme?.palette?.background?.default,
6261
6324
  margin: '20px',
6262
- width: 'calc(100% - 32px)',
6325
+ width: 'calc(100% - 24px)',
6263
6326
  // height: 'calc(100% - 40px)',
6264
6327
  border: '3px solid #D8E0F0',
6265
6328
  borderRadius: theme?.shape?.borderRadius?.regular,
6266
6329
  padding: theme.spacing.padding.tiny,
6267
6330
  boxShadow: theme?.shadows?.primary,
6268
- minHeight: '390px'
6331
+ minHeight: '320px'
6269
6332
  },
6270
6333
  imageContainer: {
6271
6334
  minWidth: '100%',
@@ -6285,18 +6348,19 @@ const useTeamStyles = createUseStyles(theme => {
6285
6348
  },
6286
6349
  teamDetailsContainer: {
6287
6350
  textAlign: 'center',
6288
- margin: '20px 0 0',
6289
- overflowWrap: 'break-word'
6351
+ margin: '20px 0 0'
6352
+ // overflowWrap: 'break-word'
6290
6353
  },
6354
+
6291
6355
  teamDetailsHeading: {
6292
- fontSize: theme.typography.fontSize.h5,
6356
+ fontSize: theme.typography.fontSize.h6,
6293
6357
  fontWeight: theme.typography.fontWeight.bold,
6294
- lineHeight: '32px',
6358
+ lineHeight: '24px',
6295
6359
  margin: '0',
6296
6360
  color: theme?.palette?.font?.default
6297
6361
  },
6298
6362
  teamDetailsSubHeading: {
6299
- fontSize: theme.typography.fontSize.subHead,
6363
+ fontSize: theme.typography.fontSize.body,
6300
6364
  lineHeight: '24px',
6301
6365
  margin: '12px 0 0',
6302
6366
  color: theme?.palette?.font?.primary
@@ -6306,9 +6370,14 @@ const useTeamStyles = createUseStyles(theme => {
6306
6370
  // padding: '60px 20px'
6307
6371
  // },
6308
6372
  teamHeading: {
6309
- lineHeight: '20px'
6373
+ lineHeight: '20px',
6374
+ margin: 0,
6375
+ textAlign: 'center'
6310
6376
  },
6311
6377
  teamTitle: {
6378
+ marginTop: '0px',
6379
+ textAlign: 'center',
6380
+ fontSize: theme.typography.fontSize.h2,
6312
6381
  lineHeight: '36px',
6313
6382
  letterSpacing: '-1px'
6314
6383
  },
@@ -6316,6 +6385,7 @@ const useTeamStyles = createUseStyles(theme => {
6316
6385
  margin: '0 -4px'
6317
6386
  },
6318
6387
  singleSlideContainer: {
6388
+ padding: '24px',
6319
6389
  width: 'calc(100% - 8px)',
6320
6390
  margin: '12px 4px'
6321
6391
  },
@@ -6326,11 +6396,13 @@ const useTeamStyles = createUseStyles(theme => {
6326
6396
  },
6327
6397
 
6328
6398
  teamDetailsHeading: {
6399
+ fontSize: '16px',
6329
6400
  lineHeight: '24px',
6330
6401
  margin: '0',
6331
- color: theme?.palette?.font?.default
6402
+ color: theme?.palette?.font?.body
6332
6403
  },
6333
6404
  teamDetailsSubHeading: {
6405
+ marginTop: '0px',
6334
6406
  color: theme?.palette?.font?.primary
6335
6407
  }
6336
6408
  }
@@ -6445,7 +6517,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6445
6517
  backgroundColor: theme?.palette?.background?.default,
6446
6518
  padding: ({
6447
6519
  isMobile
6448
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6520
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6449
6521
  '&, & *, & *:before, & *:after': {
6450
6522
  fontFamily: theme?.typography?.fontFamily,
6451
6523
  boxSizing: 'border-box'
@@ -6470,7 +6542,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6470
6542
  width: '100%',
6471
6543
  height: '50%',
6472
6544
  position: 'absolute',
6473
- background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2
6545
+ background: theme?.palette?.background?.primary
6474
6546
  },
6475
6547
  sectionContainer: {
6476
6548
  backgroundColor: theme?.palette?.background?.default,
@@ -6525,7 +6597,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6525
6597
  padding: '4px 8px 0 0'
6526
6598
  },
6527
6599
  addressText: {
6528
- fontSize: theme.typography.fontSize.subHead,
6600
+ fontSize: theme.typography.fontSize.h6,
6529
6601
  color: theme?.palette?.font?.default,
6530
6602
  lineHeight: '24px'
6531
6603
  },
@@ -6736,7 +6808,6 @@ function FormEnquiry({
6736
6808
  }, /*#__PURE__*/React__default["default"].createElement("div", {
6737
6809
  className: classes.inputDiv
6738
6810
  }, /*#__PURE__*/React__default["default"].createElement(Input, {
6739
- theme: theme,
6740
6811
  data: nodeData.nameField,
6741
6812
  value: inputVal.name,
6742
6813
  isValid: validData.nameValid,
@@ -6851,7 +6922,8 @@ const useSectionStyles = createUseStyles(theme => ({
6851
6922
  alignItems: 'center',
6852
6923
  padding: ({
6853
6924
  isMobile
6854
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6925
+ } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6926
+ backgroundColor: theme?.palette?.background?.default,
6855
6927
  '&, & *, & *:before, & *:after': {
6856
6928
  fontFamily: theme?.typography?.fontFamily,
6857
6929
  boxSizing: 'border-box'
@@ -6877,8 +6949,7 @@ const useSectionStyles = createUseStyles(theme => ({
6877
6949
  width: '100%',
6878
6950
  height: '50%',
6879
6951
  position: 'absolute',
6880
- // background: theme?.palette?.background?.primary
6881
- background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.tertiaryBlue2
6952
+ background: theme?.palette?.background?.primary
6882
6953
  },
6883
6954
  sectionContainer: {
6884
6955
  backgroundColor: theme?.palette?.background?.default,
@@ -6894,7 +6965,8 @@ const useSectionStyles = createUseStyles(theme => ({
6894
6965
  lineHeight: '71px',
6895
6966
  letterSpacing: '-3px',
6896
6967
  textAlign: 'left',
6897
- wordBreak: 'break-word'
6968
+ wordBreak: 'break-word',
6969
+ textAlign: 'center'
6898
6970
  },
6899
6971
  contentContainer: {
6900
6972
  width: '100%',
@@ -6903,17 +6975,18 @@ const useSectionStyles = createUseStyles(theme => ({
6903
6975
  wordBreak: 'break-word'
6904
6976
  },
6905
6977
  leftContainer: {
6906
- width: '50%',
6907
6978
  display: 'flex',
6908
6979
  flexDirection: 'column',
6909
- justifyContent: 'space-between'
6980
+ justifyContent: 'space-between',
6981
+ flex: 1
6910
6982
  },
6911
6983
  subtitle: {
6912
6984
  margin: '0 0 auto 0',
6913
6985
  fontSize: theme.typography.fontSize.h6,
6914
6986
  color: theme?.palette?.font?.default,
6915
6987
  lineHeight: '32px',
6916
- margin: '20px 0px'
6988
+ margin: '16px 0',
6989
+ textAlign: 'center'
6917
6990
  },
6918
6991
  addressContainer: {
6919
6992
  display: 'flex',
@@ -6929,8 +7002,7 @@ const useSectionStyles = createUseStyles(theme => ({
6929
7002
  width: '50%',
6930
7003
  display: 'flex',
6931
7004
  flexDirection: 'column',
6932
- justifyContent: 'space-between',
6933
- padding: '0 0 0 80px'
7005
+ justifyContent: 'space-between'
6934
7006
  },
6935
7007
  inputDiv: {
6936
7008
  margin: '0 0 20px 0',
@@ -6975,6 +7047,7 @@ const useSectionStyles = createUseStyles(theme => ({
6975
7047
  opacity: '0.5'
6976
7048
  }
6977
7049
  },
7050
+ btnContainer: {},
6978
7051
  '@media screen and (max-width: 767px)': {
6979
7052
  section: {
6980
7053
  display: 'flex',
@@ -7005,7 +7078,7 @@ const useSectionStyles = createUseStyles(theme => ({
7005
7078
  textAlign: 'center'
7006
7079
  },
7007
7080
  subtitle: {
7008
- margin: '0 0 12px 0',
7081
+ margin: '4px 0 24px 0',
7009
7082
  textAlign: 'center',
7010
7083
  lineHeight: '26px'
7011
7084
  },
@@ -7029,6 +7102,11 @@ const useSectionStyles = createUseStyles(theme => ({
7029
7102
  },
7030
7103
  contactContainer: {
7031
7104
  width: '97%'
7105
+ },
7106
+ btnContainer: {
7107
+ display: 'flex',
7108
+ justifyContent: 'center',
7109
+ alignItems: 'center'
7032
7110
  }
7033
7111
  }
7034
7112
  }));
@@ -7114,10 +7192,6 @@ function Contact({
7114
7192
  className: classes.partialBackground
7115
7193
  }), /*#__PURE__*/React__default["default"].createElement("div", {
7116
7194
  className: classes.sectionContainer
7117
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7118
- className: classes.contentContainer
7119
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7120
- className: classes.leftContainer
7121
7195
  }, /*#__PURE__*/React__default["default"].createElement("h2", {
7122
7196
  className: classes.title
7123
7197
  }, /*#__PURE__*/React__default["default"].createElement("span", {
@@ -7132,6 +7206,10 @@ function Contact({
7132
7206
  __html: nodeData?.subtitle?.metadata?.value
7133
7207
  }
7134
7208
  }), /*#__PURE__*/React__default["default"].createElement("div", {
7209
+ className: classes.contentContainer
7210
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
7211
+ className: classes.leftContainer
7212
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
7135
7213
  className: classes.addressContainer
7136
7214
  }, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
7137
7215
  className: classes?.telephoneImage,
@@ -7255,7 +7333,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7255
7333
  webinarSuperContainer: {
7256
7334
  display: 'flex',
7257
7335
  justifyContent: 'center',
7258
- background: theme?.colors?.background1,
7259
7336
  padding: ({
7260
7337
  isMobile
7261
7338
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7266,14 +7343,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7266
7343
  '& h2,& h3,& p': {
7267
7344
  margin: '0'
7268
7345
  }
7269
- // '& h2,& h3': {
7270
- // fontWeight: '500',
7271
- // '& b,& strong': {
7272
- // fontWeight: '700'
7273
- // }
7274
- // }
7275
7346
  },
7276
-
7277
7347
  sectionContainer: {
7278
7348
  margin: '0 auto',
7279
7349
  maxWidth: ({
@@ -7384,7 +7454,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7384
7454
  margin: '0',
7385
7455
  letterSpacing: '-1px',
7386
7456
  wordBreak: wordBreakValue => wordBreakValue || 'break-word',
7387
- color: theme?.colors?.font1
7457
+ color: theme.palette.font.default
7388
7458
  },
7389
7459
  courseViewContainer: {
7390
7460
  width: '645px',
@@ -7417,7 +7487,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7417
7487
  courseDetailTag: {
7418
7488
  display: 'flex',
7419
7489
  alignItems: 'center',
7420
- color: theme?.colors?.font1,
7421
7490
  marginRight: '20px',
7422
7491
  '& div': {
7423
7492
  fontSize: theme.typography.fontSize.subHead,
@@ -7427,7 +7496,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7427
7496
  courseDetailContent: {
7428
7497
  fontSize: theme.typography.fontSize.subHead,
7429
7498
  wordBreak: 'break-word',
7430
- color: theme?.colors?.font1,
7499
+ color: theme.palette.font.primary,
7431
7500
  whiteSpace: 'pre-wrap',
7432
7501
  width: '80%'
7433
7502
  },
@@ -7436,9 +7505,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7436
7505
  fontSize: theme.typography.fontSize.subHead,
7437
7506
  lineHeight: '24px',
7438
7507
  marginTop: '-20px',
7439
- color: theme?.colors?.font1,
7440
- wordBreak: 'break-word',
7441
- textDecoration: 'underline'
7508
+ color: '#00ADE7',
7509
+ wordBreak: 'break-word'
7442
7510
  },
7443
7511
  courseDetailTime: {
7444
7512
  color: '#EB5757',
@@ -7606,7 +7674,7 @@ const SingleVideoSlide$1 = props => {
7606
7674
  }
7607
7675
  };
7608
7676
  const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
7609
- const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'BUY NOW';
7677
+ const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'BUY NOW';
7610
7678
  const registerNowText = countryCode === 'KR' ? '웨비나 신청하기' : 'REGISTER NOW';
7611
7679
  const momentLocale = countryCode === 'KR' ? 'ko' : 'in';
7612
7680
  if (countryCode === 'KR') {
@@ -7653,7 +7721,7 @@ const SingleVideoSlide$1 = props => {
7653
7721
  color: theme.palette.primary.main,
7654
7722
  width: "20px",
7655
7723
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7656
- })), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("div", {
7724
+ })), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("p", {
7657
7725
  ref: data?.videoTextContent?.refSetter,
7658
7726
  className: classes.courseDetailContent,
7659
7727
  dangerouslySetInnerHTML: {
@@ -7687,7 +7755,7 @@ const SingleVideoSlide$1 = props => {
7687
7755
  className: classes.priceContainer
7688
7756
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7689
7757
  className: classes.offerPrice
7690
- }, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React__default["default"].createElement("div", {
7758
+ }, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React__default["default"].createElement("p", {
7691
7759
  style: {
7692
7760
  fontSize: '20px'
7693
7761
  }
@@ -7762,7 +7830,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
7762
7830
  courseSuperContainer: {
7763
7831
  display: 'flex',
7764
7832
  justifyContent: 'center',
7765
- background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
7766
7833
  padding: ({
7767
7834
  isMobile
7768
7835
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7883,7 +7950,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7883
7950
  margin: '0',
7884
7951
  letterSpacing: '-1px',
7885
7952
  wordBreak: 'break-word',
7886
- color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1
7953
+ color: theme.palette.font.default
7887
7954
  },
7888
7955
  courseViewContainer: {
7889
7956
  width: '445px',
@@ -7934,7 +8001,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
7934
8001
  },
7935
8002
  courseDetailTag: {
7936
8003
  marginTop: '5px',
7937
- color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
7938
8004
  display: 'flex',
7939
8005
  alignItems: 'center',
7940
8006
  marginRight: '20px',
@@ -7949,7 +8015,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7949
8015
  fontSize: theme.typography.fontSize.subHead,
7950
8016
  lineHeight: '24px',
7951
8017
  wordBreak: 'break-word',
7952
- color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
8018
+ color: theme.palette.font.primary,
7953
8019
  whiteSpace: 'pre-wrap',
7954
8020
  margin: '10px 0 20px'
7955
8021
  },
@@ -7958,7 +8024,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7958
8024
  fontSize: theme.typography.fontSize.subHead,
7959
8025
  lineHeight: '24px',
7960
8026
  marginTop: '-24px',
7961
- color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
8027
+ color: '#00ADE7',
7962
8028
  wordBreak: 'break-word'
7963
8029
  },
7964
8030
  courseDetailTime: {
@@ -8146,7 +8212,7 @@ const SingleVideoSlide = props => {
8146
8212
  };
8147
8213
  const effectivePrice = formatCurrency(countryCode, data?.effectivePrice, currencySymbol);
8148
8214
  const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
8149
- const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'BUY NOW';
8215
+ const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'BUY NOW';
8150
8216
  const handleReadMoreText = () => {
8151
8217
  if (countryCode === 'KR') {
8152
8218
  return '더 보기';
@@ -8346,7 +8412,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8346
8412
  padding: ({
8347
8413
  isMobile
8348
8414
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8349
- background: theme?.isGradient ? theme?.gradientColors?.background3 : theme?.solidColors?.background3,
8415
+ background: '#F4F9FF',
8350
8416
  '&, & *, & *:before, & *:after': {
8351
8417
  fontFamily: theme?.typography?.fontFamily,
8352
8418
  boxSizing: 'border-box'
@@ -8719,7 +8785,7 @@ const useTilesStyles = createUseStyles(theme => {
8719
8785
  flexDirection: 'column',
8720
8786
  padding: ({
8721
8787
  isMobile
8722
- } = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
8788
+ } = {}) => isMobile ? `24px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`
8723
8789
  },
8724
8790
  tileDiv: {
8725
8791
  width: '236px',