diy-template-components 1.0.46 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -325,7 +325,7 @@ const colors = {
325
325
  // shades of grey
326
326
  darkGrey: '#333333',
327
327
  grey: '#666666',
328
- lightGrey: '#9999',
328
+ lightGrey: '#999999',
329
329
  blueGrey: '#9497A5'
330
330
  };
331
331
  const alpha = {
@@ -364,117 +364,118 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
364
364
  };
365
365
  };
366
366
 
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'
367
+ const buttonStyles = createUseStyles(theme => {
368
+ console.log('themexxxxdsfb', theme);
369
+ return {
370
+ primary: {
371
+ width: ({
372
+ fluid
373
+ } = {}) => fluid ? '100%' : '',
374
+ borderRadius: theme?.shape?.borderRadius?.regular,
375
+ fontWeight: '700',
376
+ fontSize: '14px',
377
+ lineHeight: '18px',
378
+ textAlign: 'center',
379
+ color: ({
380
+ disabled
381
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
382
+ background: ({
383
+ disabled
384
+ } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
385
+ border: 'none',
386
+ textDecoration: 'none',
387
+ cursor: ({
388
+ disabled
389
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
390
+ maxWidth: '100%',
391
+ display: 'inline-block',
392
+ wordBreak: 'break-word',
393
+ flexShrink: '0'
448
394
  },
449
- '&$active': {
395
+ secondary: {
396
+ width: ({
397
+ fluid
398
+ } = {}) => fluid ? '100%' : '',
399
+ borderRadius: theme?.shape?.borderRadius?.regular,
400
+ fontSize: '14px',
450
401
  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
402
+ display: 'inline-block',
403
+ textDecoration: 'none',
404
+ lineHeight: '18px',
405
+ color: ({
406
+ disabled
407
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
408
+ background: ({
409
+ disabled
410
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.ctaColor,
411
+ border: ({
412
+ disabled
413
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
414
+ cursor: ({
415
+ disabled
416
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
417
+ maxWidth: '100%',
418
+ display: 'inline-block',
419
+ wordBreak: 'break-word',
420
+ flexShrink: '0'
421
+ },
422
+ tertiary: {
423
+ width: ({
424
+ fluid
425
+ } = {}) => fluid ? '100%' : '',
426
+ fontWeight: '400',
427
+ fontSize: '16px',
428
+ lineHeight: '20px',
429
+ display: 'flex',
430
+ alignItems: 'center',
431
+ border: 'none',
432
+ color: ({
433
+ disabled
434
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
435
+ background: ({
436
+ disabled
437
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
438
+ cursor: ({
439
+ disabled
440
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
441
+ maxWidth: '100%',
442
+ display: 'inline-block',
443
+ wordBreak: 'break-word',
444
+ flexShrink: '0',
445
+ '&:hover': {
446
+ background: theme.palette.primary.lightest,
447
+ borderRadius: '4px'
448
+ },
449
+ '&$active': {
450
+ fontWeight: '700',
451
+ background: theme.palette.primary.lightest,
452
+ borderRadius: theme.shape.borderRadius.small,
453
+ color: theme.palette.primary.main
454
+ }
455
+ },
456
+ anchorClass: {
457
+ textDecoration: 'none'
458
+ },
459
+ active: {},
460
+ large: {
461
+ padding: '20px 24px'
462
+ },
463
+ medium: {
464
+ padding: '16px 24px'
465
+ },
466
+ small: {
467
+ padding: '12px 16px'
468
+ },
469
+ '@media screen and (max-width: 767px)': {
470
+ active: {
471
+ fontWeight: 'initial',
472
+ background: theme?.palette?.background?.default,
473
+ borderRadius: '0',
474
+ color: theme.palette.primary.main
475
+ }
475
476
  }
476
- }
477
- }));
477
+ };
478
+ });
478
479
 
479
480
  function useLinkBuilder(data) {
480
481
  const {
@@ -1576,7 +1577,8 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1576
1577
  justifyContent: 'center',
1577
1578
  flexDirection: 'column',
1578
1579
  alignItems: 'center',
1579
- padding: '64px 128px',
1580
+ padding: '140px 70px 80px 70px',
1581
+ backgroundColor: theme?.palette?.background?.default,
1580
1582
  '&, & *, & *:before, & *:after': {
1581
1583
  fontFamily: theme?.typography?.fontFamily,
1582
1584
  boxSizing: 'border-box'
@@ -1616,7 +1618,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1616
1618
  upperContainerItem3: {
1617
1619
  width: '33%',
1618
1620
  display: 'flex',
1619
- justifyContent: 'end',
1621
+ justifyContent: 'center',
1620
1622
  flexWrap: 'wrap',
1621
1623
  paddingBottom: '52px'
1622
1624
  },
@@ -1631,7 +1633,8 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1631
1633
  display: 'flex',
1632
1634
  justifyContent: 'flex-start',
1633
1635
  alignItems: 'flex-start',
1634
- marginBottom: '16px'
1636
+ padding: '0 0 32px 0',
1637
+ margin: '0'
1635
1638
  },
1636
1639
  addressImg: {
1637
1640
  marginRight: '8px',
@@ -1709,7 +1712,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1709
1712
  },
1710
1713
  '@media screen and (max-width: 767px)': {
1711
1714
  section: {
1712
- padding: '16px 24px',
1715
+ padding: '45px 30px',
1713
1716
  flexDirection: 'column',
1714
1717
  alignItems: 'center',
1715
1718
  justifyContent: 'center',
@@ -1901,7 +1904,7 @@ function Footer({
1901
1904
  className: classes.lowerContainer
1902
1905
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1903
1906
  className: classes.bottomLeftText
1904
- }, "\xA9 ", new Date().getFullYear(), " All Rights Reserved"), /*#__PURE__*/React__default["default"].createElement("div", {
1907
+ }, "2022 All Rights Reserved"), /*#__PURE__*/React__default["default"].createElement("div", {
1905
1908
  className: classes.poweredByContainer
1906
1909
  }, /*#__PURE__*/React__default["default"].createElement("p", null, "Powered by"), /*#__PURE__*/React__default["default"].createElement("a", {
1907
1910
  title: "Powered by Classplus",
@@ -1964,15 +1967,15 @@ const rustTheme = {
1964
1967
  light: colors.lightRust,
1965
1968
  lightest: colors.lightestRust
1966
1969
  };
1967
- const generateThemePalette = themeColors => ({
1968
- primary: themeColors,
1970
+ const generateThemePalette = solidColors => ({
1971
+ primary: solidColors,
1969
1972
  background: {
1970
1973
  default: colors.white,
1971
- primary: themeColors.lightest
1974
+ primary: solidColors.lightest
1972
1975
  },
1973
1976
  border: {
1974
- primary: themeColors.main,
1975
- secondary: themeColors.light
1977
+ primary: solidColors.main,
1978
+ secondary: solidColors.light
1976
1979
  },
1977
1980
  shadow: {
1978
1981
  primary: hexToRgbA(colors.black, alpha.tenPercent),
@@ -1981,7 +1984,7 @@ const generateThemePalette = themeColors => ({
1981
1984
  font: {
1982
1985
  default: colors.darkGrey,
1983
1986
  invertedDefault: colors.white,
1984
- primary: colors.darkGrey,
1987
+ primary: colors.lightGrey,
1985
1988
  secondary: colors.grey,
1986
1989
  tertiary: colors.blueGrey
1987
1990
  }
@@ -2053,19 +2056,17 @@ const fontSize = {
2053
2056
  h4: 32,
2054
2057
  h5: 24,
2055
2058
  h6: 20,
2056
- subHead: 24,
2057
- description: 20,
2058
- body: 16
2059
+ subHead: 16,
2060
+ body: 14
2059
2061
  };
2060
2062
  const fontSizeMob = {
2061
2063
  h1: 40,
2062
- h2: 24,
2063
- h3: 20,
2064
+ h2: 20,
2065
+ h3: 32,
2064
2066
  h4: 16,
2065
2067
  h5: 16,
2066
2068
  h6: 14,
2067
2069
  subHead: 14,
2068
- description: 16,
2069
2070
  body: 14
2070
2071
  };
2071
2072
  const fontWeight = {
@@ -2310,10 +2311,10 @@ function PageRenderer$1({
2310
2311
  const useSectionStyles$8 = createUseStyles(theme => ({
2311
2312
  bannerCarouselRightSection: {
2312
2313
  position: 'relative',
2314
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
2313
2315
  padding: ({
2314
2316
  isMobile
2315
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2316
- backgroundColor: theme?.palette?.background?.primary,
2317
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2317
2318
  '&, & *, & *:before, & *:after': {
2318
2319
  fontFamily: theme?.typography?.fontFamily,
2319
2320
  boxSizing: 'border-box'
@@ -2370,8 +2371,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2370
2371
  subTitleHeading: {
2371
2372
  marginBottom: '8px',
2372
2373
  fontSize: theme.typography.fontSize.subHead,
2373
- letterSpacing: '3px',
2374
- color: theme?.palette?.font?.default,
2374
+ color: theme?.palette?.font?.tertiary,
2375
2375
  wordBreak: 'break-word',
2376
2376
  maxWidth: '100%'
2377
2377
  },
@@ -2413,7 +2413,6 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2413
2413
  },
2414
2414
  contentContainer: {
2415
2415
  display: 'flex',
2416
- flexDirection: 'column-reverse',
2417
2416
  flexFlow: 'column',
2418
2417
  paddingBottom: '48px',
2419
2418
  gap: '24px'
@@ -2540,7 +2539,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2540
2539
  height: sizeHandler,
2541
2540
  border: ({
2542
2541
  inverted
2543
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2542
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.solidColors?.ctaColor}`,
2544
2543
  borderRadius: '50%',
2545
2544
  display: 'flex',
2546
2545
  justifyContent: 'center',
@@ -2562,7 +2561,7 @@ function ArrowButton(props) {
2562
2561
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
2563
2562
  height: props.size === 'small' ? '12px' : '18px',
2564
2563
  name: "Angle",
2565
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2564
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.solidColors?.ctaColor,
2566
2565
  inverted: true
2567
2566
  }));
2568
2567
  }
@@ -2762,185 +2761,182 @@ var index$l = /*#__PURE__*/Object.freeze({
2762
2761
  'default': BannerCarouselRight
2763
2762
  });
2764
2763
 
2765
- const useSectionStyles$7 = createUseStyles(theme => ({
2766
- section: {
2767
- width: '100%',
2768
- padding: ({
2769
- isMobile
2770
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}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'
2779
- },
2780
- '& h2,& h3': {
2781
- marginTop: '0'
2782
- }
2783
- },
2784
- sectionContainer: {
2785
- margin: '0 auto',
2786
- maxWidth: ({
2787
- containerWidth
2788
- } = {}) => containerWidth
2789
- },
2790
- subTitleHeading: {
2791
- marginBottom: '8px',
2792
- fontSize: theme.typography.fontSize.subHead,
2793
- color: theme?.palette?.font?.default,
2794
- alignItems: 'center',
2795
- textAlign: 'center',
2796
- wordBreak: 'break-word',
2797
- letterSpacing: '3px',
2798
- textTransform: 'uppercase'
2799
- },
2800
- heading: {
2801
- marginBottom: theme.spacing.margin.tiny,
2802
- fontSize: theme.typography.fontSize.h2,
2803
- color: theme?.palette?.font?.default,
2804
- fontWeight: theme.typography.fontWeight.bold,
2805
- textAlign: 'center',
2806
- wordBreak: 'break-word'
2807
- },
2808
- contentContainer: {
2809
- display: 'flex',
2810
- flexDirection: 'column',
2811
- alignItems: 'center',
2812
- justifyContent: 'center',
2813
- width: '770px',
2814
- margin: 'auto'
2815
- },
2816
- content: {
2817
- display: 'flex',
2818
- width: 'calc(100% - 100px)',
2819
- alignItems: 'center',
2820
- background: theme?.palette?.background?.default,
2821
- boxShadow: theme?.shadows?.primary,
2822
- borderRadius: theme?.shape?.borderRadius?.regular,
2823
- overflow: 'hidden',
2824
- minHeight: 200,
2825
- marginBottom: theme.spacing.margin.small,
2826
- position: 'relative',
2827
- '&:nth-child(2n)': {
2828
- alignSelf: 'flex-end',
2829
- '& $contentNumber': {
2830
- right: '0'
2831
- },
2832
- '& $contentText': {
2833
- marginRight: '170px'
2834
- }
2835
- },
2836
- '&:nth-child(2n+1)': {
2837
- alignSelf: 'flex-start',
2838
- '& $contentNumber': {
2839
- left: '0'
2840
- },
2841
- '& $contentText': {
2842
- marginLeft: '170px'
2764
+ const useSectionStyles$7 = createUseStyles(theme => {
2765
+ return {
2766
+ section: {
2767
+ width: '100%',
2768
+ padding: ({
2769
+ isMobile
2770
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2771
+ display: 'flex',
2772
+ justifyContent: 'center',
2773
+ flexDirection: 'column',
2774
+ alignItems: 'center',
2775
+ backgroundColor: theme?.palette?.background?.default,
2776
+ '&, & *, & *:before, & *:after': {
2777
+ fontFamily: theme?.typography?.fontFamily,
2778
+ boxSizing: 'border-box'
2843
2779
  }
2780
+ // '& h2,& h3': {
2781
+ // fontWeight: '500',
2782
+ // '& b,& strong': {
2783
+ // fontWeight: '700'
2784
+ // }
2785
+ // }
2844
2786
  },
2845
- '&:nth-child(7n+1) $contentNumber': {
2846
- background: palettes.purple.primary.lightest
2847
- },
2848
- '&:nth-child(7n+2) $contentNumber': {
2849
- background: palettes.orange.primary.lightest
2850
- },
2851
- '&:nth-child(7n+3) $contentNumber': {
2852
- background: palettes.red.primary.lightest
2853
- },
2854
- '&:nth-child(7n+4) $contentNumber': {
2855
- background: palettes.green.primary.lightest
2787
+
2788
+ sectionContainer: {
2789
+ margin: '0 auto',
2790
+ maxWidth: ({
2791
+ containerWidth
2792
+ } = {}) => containerWidth
2856
2793
  },
2857
- '&:nth-child(7n+5) $contentNumber': {
2858
- background: palettes.pink.primary.lightest
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'
2859
2802
  },
2860
- '&:nth-child(7n+6) $contentNumber': {
2861
- background: palettes.blue.primary.lightest
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'
2862
2810
  },
2863
- '&:nth-child(7n) $contentNumber': {
2864
- background: palettes.rust.primary.lightest
2865
- }
2866
- },
2867
- contentNumber: {
2868
- position: 'absolute',
2869
- top: '0',
2870
- fontWeight: '700',
2871
- fontSize: '72px',
2872
- letterSpacing: '-3px',
2873
- display: 'flex',
2874
- alignItems: 'center',
2875
- justifyContent: 'center',
2876
- padding: '48px',
2877
- height: '100%',
2878
- color: theme?.palette?.font?.default,
2879
- wordBreak: 'break-word'
2880
- },
2881
- contentText: {
2882
- padding: theme.spacing.padding.tiny
2883
- },
2884
- contentHeading: {
2885
- fontStyle: 'normal',
2886
- fontSize: theme.typography.fontSize.h5,
2887
- fontWeight: theme.typography.fontWeight.bold,
2888
- lineHeight: '32px',
2889
- marginBottom: '8px',
2890
- color: theme?.palette?.font?.default,
2891
- wordBreak: 'break-word'
2892
- },
2893
- contentPara: {
2894
- fontStyle: 'normal',
2895
- fontSize: '16px',
2896
- lineHeight: '26px',
2897
- color: theme?.palette?.font?.primary,
2898
- wordBreak: 'break-word'
2899
- },
2900
- '@media screen and (max-width: 767px)': {
2901
2811
  contentContainer: {
2902
- width: '100%'
2812
+ display: 'flex',
2813
+ flexDirection: 'column',
2814
+ alignItems: 'center',
2815
+ justifyContent: 'center',
2816
+ width: '770px',
2817
+ margin: 'auto'
2903
2818
  },
2904
2819
  content: {
2905
2820
  display: 'flex',
2906
- flexDirection: 'column',
2907
- borderRadius: theme.shape.borderRadius.large,
2908
- width: '100%',
2909
- height: 'auto',
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',
2910
2830
  '&:nth-child(2n)': {
2911
- marginLeft: '0',
2831
+ alignSelf: 'flex-end',
2832
+ '& $contentNumber': {
2833
+ right: '0'
2834
+ },
2912
2835
  '& $contentText': {
2913
- marginRight: '0',
2914
- alignSelf: 'flex-start'
2915
- // padding: '0'
2836
+ marginRight: '170px'
2916
2837
  }
2917
2838
  },
2918
-
2919
2839
  '&:nth-child(2n+1)': {
2920
- marginRight: '0',
2840
+ alignSelf: 'flex-start',
2841
+ '& $contentNumber': {
2842
+ left: '0'
2843
+ },
2921
2844
  '& $contentText': {
2922
- marginLeft: '0',
2923
- alignSelf: 'flex-start'
2924
- // padding: '0'
2845
+ marginLeft: '170px'
2925
2846
  }
2847
+ },
2848
+ '&:nth-child(7n+1) $contentNumber': {
2849
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2850
+ },
2851
+ '&:nth-child(7n+2) $contentNumber': {
2852
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2853
+ },
2854
+ '&:nth-child(7n+3) $contentNumber': {
2855
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2856
+ },
2857
+ '&:nth-child(7n+4) $contentNumber': {
2858
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2859
+ },
2860
+ '&:nth-child(7n+5) $contentNumber': {
2861
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2862
+ },
2863
+ '&:nth-child(7n+6) $contentNumber': {
2864
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2865
+ },
2866
+ '&:nth-child(7n) $contentNumber': {
2867
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2926
2868
  }
2927
2869
  },
2928
-
2929
2870
  contentNumber: {
2930
- width: '100%',
2931
- padding: '24px',
2932
- position: 'static'
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'
2933
2883
  },
2934
- contentPara: {
2935
- fontSize: '14px',
2936
- lineHeight: '22px'
2884
+ contentText: {
2885
+ padding: theme.spacing.padding.tiny
2937
2886
  },
2938
2887
  contentHeading: {
2939
- fontSize: '20px',
2940
- lineHeight: '32px'
2888
+ fontStyle: 'normal',
2889
+ fontSize: theme.typography.fontSize.h5,
2890
+ fontWeight: theme.typography.fontWeight.bold,
2891
+ lineHeight: '32px',
2892
+ marginBottom: '8px',
2893
+ color: theme?.palette?.font?.default,
2894
+ wordBreak: 'break-word'
2895
+ },
2896
+ contentPara: {
2897
+ fontStyle: 'normal',
2898
+ fontSize: theme.typography.fontSize.subHead,
2899
+ lineHeight: '32px',
2900
+ color: theme?.palette?.font?.primary,
2901
+ wordBreak: 'break-word'
2902
+ },
2903
+ '@media screen and (max-width: 767px)': {
2904
+ contentContainer: {
2905
+ width: '100%'
2906
+ },
2907
+ content: {
2908
+ display: 'flex',
2909
+ flexDirection: 'column',
2910
+ borderRadius: theme.shape.borderRadius.large,
2911
+ width: '100%',
2912
+ height: 'auto',
2913
+ '&:nth-child(2n)': {
2914
+ marginLeft: '0',
2915
+ '& $contentText': {
2916
+ marginRight: '0',
2917
+ alignSelf: 'flex-start'
2918
+ // padding: '0'
2919
+ }
2920
+ },
2921
+
2922
+ '&:nth-child(2n+1)': {
2923
+ marginRight: '0',
2924
+ '& $contentText': {
2925
+ marginLeft: '0',
2926
+ alignSelf: 'flex-start'
2927
+ // padding: '0'
2928
+ }
2929
+ }
2930
+ },
2931
+
2932
+ contentNumber: {
2933
+ width: '100%',
2934
+ padding: '24px',
2935
+ position: 'static'
2936
+ }
2941
2937
  }
2942
- }
2943
- }));
2938
+ };
2939
+ });
2944
2940
 
2945
2941
  function List({
2946
2942
  sectionData
@@ -3012,13 +3008,21 @@ const useSectionStyles$6 = createUseStyles(theme => {
3012
3008
  return {
3013
3009
  bannerCarouselCenterSection: {
3014
3010
  width: '100%',
3011
+ // height: '100%',
3015
3012
  textAlign: 'center',
3016
3013
  position: 'relative',
3017
3014
  '&, & *, & *:before, & *:after': {
3018
3015
  fontFamily: theme?.typography?.fontFamily,
3019
3016
  boxSizing: 'border-box'
3020
3017
  }
3018
+ // '& h2,& h3': {
3019
+ // fontWeight: '500',
3020
+ // '& b,& strong': {
3021
+ // fontWeight: '700'
3022
+ // }
3023
+ // }
3021
3024
  },
3025
+
3022
3026
  sectionContainer: {
3023
3027
  width: '100%',
3024
3028
  // maxWidth: ({ containerWidth } = {}) => containerWidth,
@@ -3038,9 +3042,20 @@ const useSectionStyles$6 = createUseStyles(theme => {
3038
3042
  margin: `${theme.spacing.margin.tiny}px 0px`
3039
3043
  },
3040
3044
  contentContainer: {
3045
+ // padding: '100px 0',
3046
+ // height: '100%',
3047
+ // display: 'flex',
3048
+ // alignItems: 'center'
3049
+ // height: '100%',
3041
3050
  display: 'flex',
3051
+ /* padding: 100px 0; */
3042
3052
  alignItems: 'center'
3053
+ // backgroundImage: ({ imageUrl } = {}) =>
3054
+ // `linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%), url("${imageUrl}")`,
3055
+ // backgroundPosition: 'center',
3056
+ // backgroundSize: 'cover'
3043
3057
  },
3058
+
3044
3059
  centerBgImageContainer: {
3045
3060
  width: '100%',
3046
3061
  position: 'relative',
@@ -3074,8 +3089,7 @@ const useSectionStyles$6 = createUseStyles(theme => {
3074
3089
  color: theme?.palette?.font?.invertedDefault,
3075
3090
  marginBottom: '8px',
3076
3091
  fontSize: theme.typography.fontSize.subHead,
3077
- wordBreak: 'break-word',
3078
- letterSpacing: '3px'
3092
+ wordBreak: 'break-word'
3079
3093
  },
3080
3094
  heading: {
3081
3095
  margin: '0',
@@ -3086,11 +3100,11 @@ const useSectionStyles$6 = createUseStyles(theme => {
3086
3100
  }) => wordBreakValue || 'break-word'
3087
3101
  },
3088
3102
  description: {
3103
+ margin: `${theme.spacing.margin.tiny}px 0px`,
3089
3104
  color: theme?.palette?.font?.invertedDefault,
3090
- lineHeight: '32px',
3091
- fontWeight: '400',
3105
+ lineHeight: '24px',
3092
3106
  wordBreak: 'break-word',
3093
- fontSize: theme.typography.fontSize.description
3107
+ fontSize: theme.typography.fontSize.subHead
3094
3108
  },
3095
3109
  sideBannerImage: {
3096
3110
  width: '100%',
@@ -3098,44 +3112,37 @@ const useSectionStyles$6 = createUseStyles(theme => {
3098
3112
  objectFit: 'cover',
3099
3113
  objectPosition: '50% 50%'
3100
3114
  },
3101
- overlay: {
3102
- zIndex: 1,
3103
- position: 'absolute',
3104
- top: 0,
3105
- left: 0,
3106
- width: '100%',
3107
- height: '100%',
3108
- backgroundColor: 'rgba(0, 0, 0, 0.4)'
3109
- },
3110
3115
  '@media screen and (max-width: 767px)': {
3111
- heading: {
3112
- fontSize: theme.typography.fontSize.h2
3113
- },
3114
3116
  partialBackground: {
3115
3117
  display: 'none'
3116
3118
  },
3117
3119
  contentContainer: {
3118
- display: 'block'
3120
+ display: 'flex',
3121
+ flexFlow: 'column-reverse',
3122
+ justifyContent: 'center',
3123
+ padding: '0px'
3119
3124
  },
3120
- textContainer: {
3121
- position: 'absolute',
3122
- padding: '20px 20px',
3123
- height: '100%',
3124
- width: '100%',
3125
- zIndex: '999999'
3126
- // backgroundColor: theme?.palette?.background?.primary
3125
+ // textContainer: {
3126
+ // padding: '20px 20px',
3127
+ // height: '100%',
3128
+ // width: '100%'
3129
+ // // backgroundColor: theme?.palette?.background?.primary
3130
+ // },
3131
+ subTitleHeading: {
3132
+ color: theme?.palette?.font?.tertiary
3133
+ },
3134
+ heading: {
3135
+ color: theme?.palette?.font?.default
3127
3136
  },
3128
-
3129
3137
  description: {
3130
- fontSize: '16px',
3131
- lineHeight: '24px'
3138
+ color: theme?.palette?.font?.primary
3132
3139
  },
3133
3140
  centerBgImageContainer: {
3134
3141
  width: ({
3135
3142
  isCustomWebsite
3136
3143
  }) => isCustomWebsite ? '100%' : 'unset',
3137
- position: 'relative',
3138
- height: '40rem',
3144
+ // position: 'relative',
3145
+ // height: '34rem',
3139
3146
  minHeight: '200px',
3140
3147
  paddingBottom: '0'
3141
3148
  },
@@ -3163,16 +3170,12 @@ const Section$3 = ({
3163
3170
  isCustomWebsite,
3164
3171
  countryCode
3165
3172
  } = React.useContext(PageContext);
3166
- const hasContent = Boolean(nodeData.cardHeading.metadata.value || nodeData.title.metadata.valu || nodeData.description.metadata.value);
3167
3173
  const classes = useSectionStyles$6({
3168
3174
  wordBreakValue: wordBreakValue(countryCode),
3169
3175
  imageUrl: nodeData.image.metadata.value,
3170
3176
  containerWidth,
3171
- isCustomWebsite,
3172
- hasContent
3177
+ isCustomWebsite
3173
3178
  });
3174
- const mobileImageSrc = isMobile && nodeData?.mobileImage?.metadata?.value;
3175
- const desktopImageSrc = nodeData?.image?.metadata?.value;
3176
3179
  return /*#__PURE__*/React__default["default"].createElement("section", {
3177
3180
  className: classes.bannerCarouselCenterSection
3178
3181
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3210,10 +3213,8 @@ const Section$3 = ({
3210
3213
  size: isMobile ? 'small' : 'medium'
3211
3214
  }))) : null), /*#__PURE__*/React__default["default"].createElement("div", {
3212
3215
  className: classes?.centerBgImageContainer
3213
- }, /*#__PURE__*/React__default["default"].createElement("div", {
3214
- className: hasContent && classes?.overlay
3215
- }), /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
3216
- src: mobileImageSrc ? mobileImageSrc : desktopImageSrc,
3216
+ }, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
3217
+ src: nodeData.image.metadata.value,
3217
3218
  className: classes?.centerBgImage,
3218
3219
  sectionIndex: sectionIndex
3219
3220
  }))));
@@ -3252,7 +3253,8 @@ var index$j = /*#__PURE__*/Object.freeze({
3252
3253
  const useSectionStyles$5 = createUseStyles(theme => {
3253
3254
  return {
3254
3255
  section: {
3255
- padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3256
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3257
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
3256
3258
  '&, & *, & *:before, & *:after': {
3257
3259
  fontFamily: theme?.typography?.fontFamily,
3258
3260
  boxSizing: 'border-box'
@@ -3273,7 +3275,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3273
3275
  },
3274
3276
  centerData: {
3275
3277
  display: 'flex',
3276
- alignItems: 'start',
3278
+ alignItems: 'center',
3277
3279
  justifyContent: 'center'
3278
3280
 
3279
3281
  // padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
@@ -3296,7 +3298,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3296
3298
  }
3297
3299
  },
3298
3300
  imageBorder: {
3299
- border: `2px solid ${theme?.palette?.primary?.light}`,
3301
+ // border: `2px solid ${theme?.palette?.primary?.light}`,
3300
3302
  borderRadius: theme?.shape?.borderRadius?.small,
3301
3303
  position: 'absolute',
3302
3304
  width: '100%',
@@ -3320,7 +3322,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
3320
3322
  subTitleHeading: {
3321
3323
  marginBottom: '8px',
3322
3324
  fontSize: theme?.typography?.fontSize?.subHead,
3323
- letterSpacing: '3px',
3324
3325
  color: theme?.palette?.font?.default,
3325
3326
  wordBreak: 'break-word'
3326
3327
  },
@@ -3343,10 +3344,10 @@ const useSectionStyles$5 = createUseStyles(theme => {
3343
3344
  },
3344
3345
  '@media screen and (max-width: 767px)': {
3345
3346
  section: {
3346
- padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px`
3347
+ padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3347
3348
  },
3348
3349
  centerData: {
3349
- flexDirection: 'column',
3350
+ flexDirection: 'column-reverse',
3350
3351
  width: '100%'
3351
3352
  // padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3352
3353
  },
@@ -3375,11 +3376,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3375
3376
  textAlign: 'center'
3376
3377
  },
3377
3378
  heading: {
3378
- fontSize: `${theme?.typography?.fontSize?.h2}px`
3379
- },
3380
- subTitleHeading: {
3381
- letterSpacing: '3px',
3382
- lineHeight: '17px'
3379
+ fontSize: `${theme?.typography?.fontSize?.h3}px`
3383
3380
  },
3384
3381
  description: {
3385
3382
  margin: '16px 0'
@@ -3488,7 +3485,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3488
3485
  justifyContent: 'center',
3489
3486
  padding: ({
3490
3487
  isMobile
3491
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3488
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3492
3489
  '&, & *, & *:before, & *:after': {
3493
3490
  fontFamily: theme?.typography?.fontFamily,
3494
3491
  boxSizing: 'border-box'
@@ -3508,11 +3505,12 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3508
3505
  left: '0',
3509
3506
  width: '100%',
3510
3507
  height: '50%',
3511
- position: 'absolute',
3512
- background: theme?.palette?.background?.primary
3508
+ position: 'absolute'
3509
+ // background: theme?.palette?.background?.primary
3513
3510
  },
3511
+
3514
3512
  sectionContainer: {
3515
- backgroundColor: theme?.palette?.background?.default,
3513
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
3516
3514
  boxShadow: theme?.shadows?.secondary,
3517
3515
  borderRadius: theme?.shape?.borderRadius?.regular,
3518
3516
  padding: theme.spacing.padding.small,
@@ -3530,18 +3528,18 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3530
3528
  contentContainer: {
3531
3529
  display: 'flex',
3532
3530
  alignItems: 'center',
3533
- gap: '16px'
3531
+ justifyContent: 'space-between'
3534
3532
  },
3535
3533
  title: {
3536
3534
  fontSize: theme.typography.fontSize.h6,
3537
3535
  lineHeight: '32px',
3538
3536
  color: theme?.palette?.font?.primary,
3539
- wordBreak: 'break-word',
3540
- flex: 1
3537
+ width: 'calc(50% - 80px)',
3538
+ wordBreak: 'break-word'
3541
3539
  },
3542
3540
  inputContainer: {
3543
3541
  display: 'flex',
3544
- flex: 1
3542
+ width: '50%'
3545
3543
  },
3546
3544
  inputFieldDiv: {
3547
3545
  display: 'flex',
@@ -3655,59 +3653,62 @@ async function postApiCallForm(baseURLs, data, extraProps) {
3655
3653
  } catch (err) {
3656
3654
  return;
3657
3655
  }
3658
- }
3659
- }
3660
-
3661
- const inputStyles = createUseStyles(theme => ({
3662
- inputField: {
3663
- width: '100%',
3664
- maxWidth: '314px',
3665
- background: theme?.palette?.background?.default,
3666
- border: `1px solid ${theme?.palette?.border?.secondary}`,
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': {
3656
+ }
3657
+ }
3658
+
3659
+ const inputStyles = createUseStyles(theme => {
3660
+ console.log('themexxxxdsf', theme);
3661
+ return {
3662
+ inputField: {
3663
+ width: '100%',
3664
+ maxWidth: '314px',
3665
+ background: theme?.palette?.background?.default,
3666
+ border: `1px solid ${theme?.isGradient ? theme?.gradientColors?.AccentColor : theme?.solidColors?.inputBorderColor}`,
3667
+ borderRadius: theme?.shape?.borderRadius?.regular,
3668
+ padding: '14px 12px',
3669
+ display: 'flex',
3677
3670
  fontWeight: '400',
3678
3671
  fontSize: '16px',
3679
3672
  lineHeight: '20px',
3680
- color: theme?.palette?.font?.primary,
3681
- fontFamily: theme?.typography?.fontFamily
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
+ }
3682
3686
  },
3683
- '&:focus': {
3684
- outline: 'none'
3685
- }
3686
- },
3687
- error: {
3688
- borderBottom: '1px solid red',
3689
- position: 'absolute',
3690
- bottom: '-8px',
3691
- width: 'calc(100% - 24px)'
3692
- },
3693
- errorBorder: {
3694
- border: `1px solid red`,
3695
- color: 'red',
3696
- '&::placeholder': {
3687
+ error: {
3688
+ borderBottom: '1px solid red',
3689
+ position: 'absolute',
3690
+ bottom: '-8px',
3691
+ width: 'calc(100% - 24px)'
3692
+ },
3693
+ errorBorder: {
3694
+ border: `1px solid red`,
3697
3695
  color: 'red',
3698
- opacity: '0.5'
3699
- }
3700
- },
3701
- '@media screen and (max-width: 767px)': {
3702
- inputField: {
3703
- width: '100%',
3704
- maxWidth: 'unset'
3696
+ '&::placeholder': {
3697
+ color: 'red',
3698
+ opacity: '0.5'
3699
+ }
3705
3700
  },
3706
- error: {
3707
- bottom: '-2px'
3701
+ '@media screen and (max-width: 767px)': {
3702
+ inputField: {
3703
+ width: '100%',
3704
+ maxWidth: 'unset'
3705
+ },
3706
+ error: {
3707
+ bottom: '-2px'
3708
+ }
3708
3709
  }
3709
- }
3710
- }));
3710
+ };
3711
+ });
3711
3712
 
3712
3713
  function Input({
3713
3714
  data,
@@ -3720,9 +3721,12 @@ function Input({
3720
3721
  const {
3721
3722
  onChange,
3722
3723
  onBlur,
3723
- onFocus
3724
+ onFocus,
3725
+ theme
3724
3726
  } = props;
3725
- const classes = inputStyles();
3727
+ const classes = inputStyles({
3728
+ theme
3729
+ });
3726
3730
  const Comp = inputType;
3727
3731
  return /*#__PURE__*/React__default["default"].createElement(Comp, _extends({}, inputType === 'input' ? {
3728
3732
  type: 'text'
@@ -3833,7 +3837,8 @@ function SubscribeToNewsletter({
3833
3837
  value: inputVal,
3834
3838
  isValid: isValid,
3835
3839
  style: {
3836
- padding: '12px 16px'
3840
+ padding: '15px 24px 15px 12px',
3841
+ maxWidth: '100%'
3837
3842
  },
3838
3843
  inputType: 'input',
3839
3844
  onChange: e => {
@@ -3857,14 +3862,16 @@ function SubscribeToNewsletter({
3857
3862
  },
3858
3863
  onClick: () => handleSubmit(),
3859
3864
  type: nodeData?.cta?.metadata?.type,
3860
- size: 'small',
3865
+ size: isMobile ? 'small' : 'medium',
3861
3866
  styling: isMobile ? {
3862
- marginTop: '12px'
3867
+ marginTop: '12px',
3868
+ border: 'none'
3863
3869
  } : {
3864
3870
  maxWidth: '200px',
3865
3871
  whiteSpace: 'nowrap',
3866
3872
  overflow: 'hidden',
3867
- textOverflow: 'ellipsis'
3873
+ textOverflow: 'ellipsis',
3874
+ border: 'none'
3868
3875
  },
3869
3876
  disabled: btnDisabled
3870
3877
  })))))));
@@ -3877,9 +3884,9 @@ var index$h = /*#__PURE__*/Object.freeze({
3877
3884
 
3878
3885
  const useTestimonialStyles = createUseStyles(theme => ({
3879
3886
  testimonialContainer: {
3880
- background: theme?.palette?.background?.primary,
3887
+ // background: theme?.palette?.background?.primary,
3881
3888
  overflow: 'hidden',
3882
- padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3889
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3883
3890
  '&, & *, & *:before, & *:after': {
3884
3891
  fontFamily: theme?.typography?.fontFamily,
3885
3892
  boxSizing: 'border-box'
@@ -3895,7 +3902,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3895
3902
  } = {}) => containerWidth
3896
3903
  },
3897
3904
  testimonialText: {
3898
- color: theme?.palette?.font?.default,
3905
+ color: theme?.palette?.font?.secondary,
3899
3906
  fontSize: theme.typography.fontSize.subHead,
3900
3907
  wordBreak: 'break-word',
3901
3908
  textTransform: 'uppercase'
@@ -3919,7 +3926,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3919
3926
  position: 'relative',
3920
3927
  height: 'calc(100% - 12px)',
3921
3928
  width: 'calc(100% - 24px)',
3922
- background: theme?.palette?.background?.default,
3929
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
3923
3930
  boxShadow: theme?.shadows?.primary,
3924
3931
  borderRadius: theme?.shape?.borderRadius?.regular
3925
3932
  },
@@ -3944,10 +3951,10 @@ const useTestimonialStyles = createUseStyles(theme => ({
3944
3951
  reviewText: {
3945
3952
  // padding: '48px 41px 0 48px',
3946
3953
  marginBottom: theme.spacing.margin.tiny,
3947
- fontSize: theme.typography.fontSize.body,
3954
+ fontSize: theme.typography.fontSize.subHead,
3948
3955
  wordBreak: 'break-word',
3949
- color: theme?.palette?.font?.primary,
3950
- lineHeight: '26px'
3956
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font2,
3957
+ lineHeight: '22px'
3951
3958
  },
3952
3959
  userContainer: {
3953
3960
  display: 'flex',
@@ -3966,6 +3973,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3966
3973
  height: '64px',
3967
3974
  borderRadius: '32px',
3968
3975
  background: '#666666',
3976
+ marginRight: '16px',
3969
3977
  flexShrink: '0'
3970
3978
  },
3971
3979
  userImage: {
@@ -3975,7 +3983,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3975
3983
  marginRight: '16px'
3976
3984
  },
3977
3985
  userName: {
3978
- color: theme?.palette?.font?.default,
3986
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font2,
3979
3987
  margin: '0',
3980
3988
  fontSize: theme.typography.fontSize.h5,
3981
3989
  // paddingTop: '16px',
@@ -3992,7 +4000,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3992
4000
  },
3993
4001
  '@media (max-width: 768px)': {
3994
4002
  testimonialContainer: {
3995
- padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
4003
+ padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3996
4004
  },
3997
4005
  // testimonialCardAndText: {
3998
4006
  // margin: '0 20px'
@@ -4020,7 +4028,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
4020
4028
  marginRight: '16px'
4021
4029
  },
4022
4030
  reviewText: {
4023
- lineHeight: '22px',
4024
4031
  marginBottom: '16px'
4025
4032
  },
4026
4033
  singleCard: {
@@ -4031,8 +4038,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4031
4038
  // paddingTop: '8px',
4032
4039
  overflow: 'hidden',
4033
4040
  whiteSpace: 'nowrap',
4034
- textOverflow: 'ellipsis',
4035
- fontSize: '20px'
4041
+ textOverflow: 'ellipsis'
4036
4042
  },
4037
4043
  userImageContainer: {
4038
4044
  width: '48px',
@@ -4094,7 +4100,7 @@ function Section$1({
4094
4100
  className: classes.quoteIcon
4095
4101
  }, /*#__PURE__*/React__default["default"].createElement(QuotesComponent, null)), /*#__PURE__*/React__default["default"].createElement("div", {
4096
4102
  className: classes.cardDetails
4097
- }, /*#__PURE__*/React__default["default"].createElement("p", {
4103
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4098
4104
  ref: el?.cardTextContent?.refSetter,
4099
4105
  className: classes.reviewText,
4100
4106
  dangerouslySetInnerHTML: {
@@ -4139,7 +4145,7 @@ function Section$1({
4139
4145
  dangerouslySetInnerHTML: {
4140
4146
  __html: nodeData?.carouselHeading?.metadata?.value
4141
4147
  }
4142
- })), /*#__PURE__*/React__default["default"].createElement("h2", {
4148
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
4143
4149
  className: classes.testimonialHeader
4144
4150
  }, /*#__PURE__*/React__default["default"].createElement("span", {
4145
4151
  ref: nodeData?.title?.refSetter,
@@ -4359,7 +4365,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4359
4365
  justifyContent: 'center',
4360
4366
  padding: ({
4361
4367
  isMobile
4362
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4368
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4363
4369
  '&, & *, & *:before, & *:after': {
4364
4370
  fontFamily: theme?.typography?.fontFamily
4365
4371
  // boxSizing: 'border-box'
@@ -4386,12 +4392,11 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4386
4392
  letterSpacing: '3px',
4387
4393
  textTransform: 'uppercase',
4388
4394
  color: theme.palette.font.default,
4389
- wordBreak: 'break-word'
4390
- // marginBottom: '8px'
4395
+ wordBreak: 'break-word',
4396
+ marginBottom: '8px'
4391
4397
  },
4392
-
4393
4398
  videoTestimonialTitle: {
4394
- fontSize: theme.typography.fontSize.h2,
4399
+ fontSize: theme.typography.fontSize.h1,
4395
4400
  // lineHeight: '71px',
4396
4401
  letterSpacing: '-3px',
4397
4402
  fontWeight: theme.typography.fontWeight.bold,
@@ -4401,16 +4406,15 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4401
4406
  },
4402
4407
  videoCarousel: {
4403
4408
  display: 'flex',
4409
+ alignItems: 'center',
4404
4410
  justifyContent: 'flex-start',
4405
- gap: '40px'
4411
+ gap: theme.spacing.margin.small
4406
4412
  },
4407
4413
  iframeSuperContainer: {
4408
4414
  height: '100%',
4409
4415
  width: '100%',
4410
4416
  display: 'flex',
4411
- alignItems: 'center',
4412
- marginTop: '16px',
4413
- borderRadius: '8px'
4417
+ alignItems: 'center'
4414
4418
  },
4415
4419
  iframeContainer: {
4416
4420
  width: '100%',
@@ -4440,13 +4444,13 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4440
4444
  fontWeight: theme.typography.fontWeight.bold
4441
4445
  },
4442
4446
  videoDetailsContent: {
4443
- fontSize: theme.typography.fontSize.body,
4447
+ fontSize: theme.typography.fontSize.subHead,
4444
4448
  lineHeight: '24px',
4445
4449
  wordBreak: 'break-word',
4446
4450
  color: theme.palette.font.primary
4447
4451
  },
4448
4452
  videoDetailsSubContent: {
4449
- fontSize: theme.typography.fontSize.h6,
4453
+ fontSize: theme.typography.fontSize.subHead,
4450
4454
  lineHeight: '24px',
4451
4455
  margin: '0',
4452
4456
  color: theme.palette.font.primary,
@@ -4466,9 +4470,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4466
4470
  videoDetailsHeading: {
4467
4471
  lineHeight: 'normal'
4468
4472
  },
4469
- videoDetailsSubContent: {
4470
- textAlign: 'center'
4471
- },
4472
4473
  videoTestimonialTitle: {
4473
4474
  lineHeight: 'normal',
4474
4475
  letterSpacing: '-1px'
@@ -4575,8 +4576,8 @@ const useVideoStyles = createUseStyles(theme => {
4575
4576
  videoSuperContainer: {
4576
4577
  padding: ({
4577
4578
  isMobile
4578
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4579
- backgroundColor: theme?.palette?.background?.primary,
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,
4580
4581
  '&, & *, & *:before, & *:after': {
4581
4582
  fontFamily: theme?.typography?.fontFamily,
4582
4583
  boxSizing: 'border-box'
@@ -4584,7 +4585,14 @@ const useVideoStyles = createUseStyles(theme => {
4584
4585
  '& h3': {
4585
4586
  marginTop: '0'
4586
4587
  }
4588
+ // '& h2,& h3': {
4589
+ // fontWeight: '500',
4590
+ // '& b,& strong': {
4591
+ // fontWeight: '700'
4592
+ // }
4593
+ // }
4587
4594
  },
4595
+
4588
4596
  sectionContainer: {
4589
4597
  margin: '0 auto',
4590
4598
  maxWidth: ({
@@ -4599,8 +4607,7 @@ const useVideoStyles = createUseStyles(theme => {
4599
4607
  fontSize: theme.typography.fontSize.subHead,
4600
4608
  textTransform: 'uppercase',
4601
4609
  lineHeight: '20px',
4602
- color: theme?.palette?.font?.default,
4603
- letterSpacing: '3px',
4610
+ color: theme?.palette?.font?.primary,
4604
4611
  wordBreak: 'break-word'
4605
4612
  },
4606
4613
  videoTitle: {
@@ -4618,11 +4625,11 @@ const useVideoStyles = createUseStyles(theme => {
4618
4625
  },
4619
4626
  singleSlideContainer: {
4620
4627
  backgroundColor: theme?.palette?.background?.default,
4621
- // margin: '20px',
4622
- width: 'calc(100% - 24px)',
4628
+ margin: '20px',
4629
+ width: 'calc(100% - 40px)',
4623
4630
  height: 'calc(100% - 40px)',
4624
4631
  borderRadius: theme?.shape?.borderRadius?.regular,
4625
- padding: '64px',
4632
+ padding: '48px',
4626
4633
  boxShadow: theme?.shadows?.primary
4627
4634
  },
4628
4635
  contentRow: {
@@ -4658,7 +4665,7 @@ const useVideoStyles = createUseStyles(theme => {
4658
4665
  wordBreak: 'break-word'
4659
4666
  },
4660
4667
  videoDetailsSubHeading: {
4661
- fontSize: theme.typography.fontSize.body,
4668
+ fontSize: theme.typography.fontSize.subHead,
4662
4669
  lineHeight: '24px',
4663
4670
  wordBreak: 'break-word',
4664
4671
  color: theme?.palette?.font?.primary
@@ -4698,16 +4705,17 @@ const useVideoStyles = createUseStyles(theme => {
4698
4705
  display: 'flex',
4699
4706
  justifyContent: 'center',
4700
4707
  textAlign: 'center'
4701
- },
4702
- videoDetailsHeading: {
4703
- fontSize: '20px',
4704
- marginBottom: '0',
4705
- textAlign: 'center'
4706
- },
4707
- videoDetailsSubHeading: {
4708
- fontSize: '14px',
4709
- textAlign: 'center'
4710
4708
  }
4709
+
4710
+ // videoDetailsHeading: {
4711
+ // fontSize: '18px',
4712
+ // margin: '0'
4713
+ // },
4714
+
4715
+ // videoDetailsSubHeading: {
4716
+ // fontSize: '12px',
4717
+ // paddingBottom: '20px'
4718
+ // }
4711
4719
  }
4712
4720
  };
4713
4721
  });
@@ -4730,7 +4738,7 @@ const SingleSlide$1 = props => {
4730
4738
  videoUrl: data.videoFrame.metadata?.value
4731
4739
  })), /*#__PURE__*/React__default["default"].createElement("div", {
4732
4740
  className: classes.videoDetailsContainer
4733
- }, /*#__PURE__*/React__default["default"].createElement("h3", {
4741
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
4734
4742
  ref: data?.videoTitle?.refSetter,
4735
4743
  className: classes.videoDetailsHeading,
4736
4744
  dangerouslySetInnerHTML: {
@@ -4786,7 +4794,7 @@ function Video({
4786
4794
  dangerouslySetInnerHTML: {
4787
4795
  __html: videoData.videoHeading.metadata.value
4788
4796
  }
4789
- })), /*#__PURE__*/React__default["default"].createElement("h2", {
4797
+ })), /*#__PURE__*/React__default["default"].createElement("div", {
4790
4798
  className: classes.videoTitle
4791
4799
  }, /*#__PURE__*/React__default["default"].createElement("span", {
4792
4800
  ref: videoData?.videoTitle?.refSetter,
@@ -4811,7 +4819,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4811
4819
  position: 'relative',
4812
4820
  padding: ({
4813
4821
  isMobile
4814
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
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`,
4815
4823
  backgroundColor: theme?.palette?.background?.default,
4816
4824
  '&, & *, & *:before, & *:after': {
4817
4825
  fontFamily: theme?.typography?.fontFamily,
@@ -4836,7 +4844,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4836
4844
  top: '0',
4837
4845
  left: '0',
4838
4846
  height: '50%',
4839
- background: theme?.palette?.background?.primary,
4847
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
4840
4848
  width: '100%'
4841
4849
  },
4842
4850
  content: {
@@ -4853,7 +4861,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4853
4861
  wordBreak: 'break-word'
4854
4862
  },
4855
4863
  heading: {
4856
- margin: `0px 0 ${theme.spacing.margin.tiny}px`,
4864
+ margin: `8px 0 ${theme.spacing.margin.tiny}px`,
4857
4865
  fontSize: theme.typography.fontSize.h2,
4858
4866
  width: '100%',
4859
4867
  lineHeight: '70px',
@@ -4861,11 +4869,10 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4861
4869
  textAlign: 'left',
4862
4870
  wordBreak: 'break-word'
4863
4871
  },
4864
- // sliderContainer: {
4865
- // marginLeft: '-10px',
4866
- // marginRight: '-70px'
4867
- // },
4868
-
4872
+ sliderContainer: {
4873
+ marginLeft: '-10px',
4874
+ marginRight: '-70px'
4875
+ },
4869
4876
  card: {
4870
4877
  background: theme?.palette?.background?.default,
4871
4878
  boxShadow: theme?.shadows?.primary,
@@ -4877,23 +4884,20 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4877
4884
  height: 'calc(100% - 12px)'
4878
4885
  },
4879
4886
  cardContent: {
4880
- padding: '24px',
4887
+ padding: theme.spacing.padding.tiny,
4881
4888
  height: '100%',
4882
4889
  display: 'flex',
4883
- flexDirection: 'column',
4884
- justifyContent: 'center',
4885
- alignItems: 'center'
4890
+ flexDirection: 'column'
4886
4891
  },
4887
4892
  cardHeading: {
4888
- textAlign: 'center',
4889
- fontSize: theme.typography.fontSize.h6,
4893
+ fontSize: theme.typography.fontSize.h5,
4894
+ lineHeight: '32px',
4890
4895
  fontWeight: theme.typography.fontWeight.bold,
4891
4896
  color: theme?.palette?.font?.default,
4892
- margin: `16px 0px`,
4897
+ margin: `${theme.spacing.margin.tiny}px 0px`,
4893
4898
  wordBreak: 'break-word'
4894
4899
  },
4895
4900
  imageContainer: {
4896
- textAlign: 'center',
4897
4901
  width: '96px',
4898
4902
  height: '96px',
4899
4903
  display: 'flex',
@@ -4911,9 +4915,8 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4911
4915
  marginTop: theme.spacing.margin.tiny
4912
4916
  },
4913
4917
  cardPara: {
4914
- textAlign: 'center',
4915
- fontSize: theme.typography.fontSize.body,
4916
- lineHeight: '22px',
4918
+ fontSize: theme.typography.fontSize.subHead,
4919
+ lineHeight: '24px',
4917
4920
  color: theme?.palette?.font?.primary,
4918
4921
  margin: '0',
4919
4922
  wordBreak: 'break-word'
@@ -4927,15 +4930,11 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4927
4930
  },
4928
4931
  '@media screen and (max-width: 767px)': {
4929
4932
  heading: {
4930
- textAlign: 'center',
4931
- fontSize: '20px',
4932
- margin: `0px 0 ${theme.spacing.margin.tiny}px`,
4933
- lineHeight: '24px',
4933
+ fontSize: '24px',
4934
+ margin: `4px 0 ${theme.spacing.margin.tiny}px`,
4935
+ lineHeight: '36px',
4934
4936
  padding: '0'
4935
4937
  },
4936
- subTitleHeading: {
4937
- textAlign: 'center'
4938
- },
4939
4938
  sliderContainer: {
4940
4939
  marginLeft: '-6px',
4941
4940
  marginRight: '-20px'
@@ -4950,12 +4949,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4950
4949
  slidesToShow,
4951
4950
  cardsCount
4952
4951
  } = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
4953
- },
4954
- cardHeading: {
4955
- fontSize: '18px'
4956
- },
4957
- cardContent: {
4958
- padding: '16px'
4959
4952
  }
4960
4953
  }
4961
4954
  }));
@@ -5056,8 +5049,8 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5056
5049
  section: {
5057
5050
  padding: ({
5058
5051
  isMobile
5059
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5060
- backgroundColor: theme?.palette?.background?.default,
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,
5061
5054
  '&, & *, & *:before, & *:after': {
5062
5055
  fontFamily: theme?.typography?.fontFamily,
5063
5056
  boxSizing: 'border-box'
@@ -5074,7 +5067,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5074
5067
  subHeading: {
5075
5068
  fontSize: theme.typography.fontSize.subHead,
5076
5069
  marginBottom: '8px',
5077
- color: theme?.palette?.font?.default,
5070
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
5078
5071
  wordBreak: 'break-word',
5079
5072
  textTransform: 'uppercase',
5080
5073
  letterSpacing: '3px'
@@ -5084,7 +5077,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5084
5077
  fontWeight: theme.typography.fontWeight.bold,
5085
5078
  lineHeight: 'normal',
5086
5079
  margin: '0',
5087
- color: theme?.palette?.font?.default,
5080
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
5088
5081
  wordBreak: 'break-word',
5089
5082
  marginBottom: theme.spacing.margin.tiny
5090
5083
  },
@@ -5095,16 +5088,17 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5095
5088
  padding: '48px 0px'
5096
5089
  },
5097
5090
  textPara: {
5091
+ background: 'white',
5092
+ borderRadius: '8px',
5093
+ padding: '40px',
5094
+ lineHeight: '24px',
5098
5095
  color: theme?.palette?.font?.primary,
5099
5096
  wordBreak: 'break-word',
5100
- fontSize: theme.typography.fontSize.body,
5101
- lineHeight: '24px'
5097
+ fontSize: theme.typography.fontSize.subHead,
5098
+ boxShadow: '0px 2px 8px 0px rgba(0, 0, 0, 0.08)'
5102
5099
  },
5103
5100
  '@media screen and (max-width: 767px)': {
5104
5101
  textContent: {
5105
- display: 'flex',
5106
- flexDirection: 'column',
5107
- lineHeight: '22px',
5108
5102
  gap: '16px',
5109
5103
  padding: '16px 0px'
5110
5104
  }
@@ -5170,9 +5164,8 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5170
5164
  container: {
5171
5165
  background: theme?.palette?.background?.default,
5172
5166
  padding: ({
5173
- isMobile,
5174
- cardsCount
5175
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : cardsCount === 1 ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px ${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px` : `${theme.spacing.padding.small}px 0px ${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
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`,
5176
5169
  '&, & *, & *:before, & *:after': {
5177
5170
  fontFamily: theme?.typography?.fontFamily,
5178
5171
  boxSizing: 'border-box'
@@ -5192,26 +5185,19 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5192
5185
  } = {}) => containerWidth
5193
5186
  },
5194
5187
  cardHeading: {
5195
- color: theme?.palette?.font?.default,
5188
+ color: theme?.palette?.font?.secondary,
5196
5189
  fontSize: theme.typography.fontSize.subHead,
5197
5190
  letterSpacing: '3px',
5198
5191
  wordBreak: 'break-word',
5199
- textTransform: 'uppercase',
5200
- textAlign: ({
5201
- cardsCount,
5202
- isMobile
5203
- }) => cardsCount === 1 || isMobile ? 'center' : 'left'
5192
+ textTransform: 'uppercase'
5204
5193
  },
5205
5194
  // sliderContainer: {
5206
5195
  // marginRight: '-70px'
5207
5196
  // },
5208
- cursorPointer: {
5209
- cursor: 'pointer'
5210
- },
5197
+
5211
5198
  singleCard: {
5212
- borderRadius: '24px',
5213
5199
  margin: '0 1px',
5214
- width: isMobile => isMobile ? 'calc(100% - 24px)' : 'calc(100% - 24px)',
5200
+ width: 'calc(100% - 2px)',
5215
5201
  position: 'relative',
5216
5202
  paddingBottom: '59.83%' // keeping aspect ratio 585x350
5217
5203
  },
@@ -5219,34 +5205,19 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5219
5205
  contentRow: {
5220
5206
  display: 'grid',
5221
5207
  gridTemplateColumns: ({
5222
- slidesToShow,
5223
- cardsCount
5224
- } = {}) => {
5225
- if (cardsCount === 1) return '';
5226
- return `repeat(${slidesToShow},minmax(0, 1fr))`;
5227
- },
5228
- padding: ({
5229
- cardsCount
5230
- }) => cardsCount === 1 ? '0px 100px' : ''
5208
+ slidesToShow
5209
+ } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
5231
5210
  },
5232
5211
  carouselImage: {
5233
- height: ({
5234
- cardsCount
5235
- }) => cardsCount === 1 ? '480px' : '100%',
5236
- borderRadius: '24px',
5237
5212
  objectFit: 'cover',
5238
- objectPosition: 'center',
5239
5213
  position: 'absolute',
5240
5214
  left: 0,
5241
5215
  top: 0,
5242
- width: '100%'
5216
+ width: '100%',
5217
+ height: '100%'
5243
5218
  },
5244
5219
  title: {
5245
5220
  fontSize: theme.typography.fontSize.h2,
5246
- textAlign: ({
5247
- cardsCount,
5248
- isMobile
5249
- }) => cardsCount === 1 || isMobile ? 'center' : 'left',
5250
5221
  lineHeight: '70px',
5251
5222
  letterSpacing: '-3px',
5252
5223
  color: theme?.palette?.font?.default,
@@ -5257,6 +5228,14 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5257
5228
  textOverflow: 'ellipsis'
5258
5229
  },
5259
5230
  '@media (max-width: 768px)': {
5231
+ // container: {
5232
+ // padding: '60px 20px'
5233
+ // },
5234
+
5235
+ // cardHeading: {
5236
+ // marginLeft: '3px'
5237
+ // },
5238
+
5260
5239
  title: {
5261
5240
  lineHeight: '36px',
5262
5241
  letterSpacing: '-1px',
@@ -5266,6 +5245,10 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5266
5245
  whiteSpace: 'nowrap',
5267
5246
  textOverflow: 'ellipsis'
5268
5247
  }
5248
+
5249
+ // sliderContainer: {
5250
+ // marginRight: '-20px'
5251
+ // }
5269
5252
  }
5270
5253
  };
5271
5254
  });
@@ -5300,18 +5283,11 @@ function PhotoGallery({
5300
5283
  centerPadding: isMobile ? '10px 0 0' : '80px 0 0',
5301
5284
  arrows: false
5302
5285
  };
5303
- const handleClick = link => {
5304
- if (link) {
5305
- window.open(link, '_blank');
5306
- }
5307
- };
5308
5286
  const carouselContent = carouselList?.map((el, idx) => {
5309
- const link = el?.cardImage?.metadata?.link;
5310
5287
  return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
5311
5288
  key: idx
5312
5289
  }, /*#__PURE__*/React__default["default"].createElement("div", {
5313
- onClick: () => handleClick(link),
5314
- className: `${classes.singleCard} ${link && classes.cursorPointer}`
5290
+ className: classes.singleCard
5315
5291
  }, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
5316
5292
  src: el?.cardImage?.metadata?.value,
5317
5293
  ref: el?.cardImage?.refSetter,
@@ -5353,10 +5329,10 @@ var index$b = /*#__PURE__*/Object.freeze({
5353
5329
  const useFaqListStyles = createUseStyles(theme => ({
5354
5330
  section: {
5355
5331
  width: '100%',
5332
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
5356
5333
  padding: ({
5357
5334
  isMobile
5358
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5359
- backgroundColor: theme?.palette?.background?.primary,
5335
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5360
5336
  '&, & *, & *:before, & *:after': {
5361
5337
  fontFamily: theme?.typography?.fontFamily,
5362
5338
  boxSizing: 'border-box'
@@ -5415,7 +5391,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5415
5391
  },
5416
5392
  content: {
5417
5393
  color: theme?.palette?.font.primary,
5418
- fontSize: theme.typography.fontSize.body,
5394
+ fontSize: theme.typography.fontSize.subHead,
5419
5395
  lineHeight: '24px',
5420
5396
  maxHeight: ({
5421
5397
  isSelected
@@ -5424,19 +5400,8 @@ const useFaqListStyles = createUseStyles(theme => ({
5424
5400
  overflow: 'hidden'
5425
5401
  },
5426
5402
  '@media screen and (max-width: 767px)': {
5427
- sectionSubheading: {
5428
- textAlign: 'center'
5429
- },
5430
- sectionHeading: {
5431
- textAlign: 'center'
5432
- },
5433
- title: {
5434
- fontSize: '14px',
5435
- lineHeight: '22px'
5436
- },
5437
5403
  content: {
5438
- fontSize: '14px',
5439
- lineHeight: '22px'
5404
+ lineHeight: '20px'
5440
5405
  },
5441
5406
  basicCardContainer: {
5442
5407
  '&:last-child': {
@@ -5515,8 +5480,8 @@ const Accordion = ({
5515
5480
  }), /*#__PURE__*/React__default["default"].createElement("div", {
5516
5481
  className: classes.arrowButton
5517
5482
  }, /*#__PURE__*/React__default["default"].createElement(ArrowButton, {
5518
- down: !isSelected,
5519
- up: isSelected,
5483
+ down: isSelected,
5484
+ up: !isSelected,
5520
5485
  size: "small"
5521
5486
  }))), /*#__PURE__*/React__default["default"].createElement("div", {
5522
5487
  ref: item?.answer?.refSetter,
@@ -5536,9 +5501,8 @@ const useTextGridStyles = createUseStyles(theme => ({
5536
5501
  section: {
5537
5502
  padding: ({
5538
5503
  isMobile
5539
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5540
- // backgroundColor: theme?.palette?.background?.primary,
5541
-
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,
5542
5506
  '&, & *, & *:before, & *:after': {
5543
5507
  fontFamily: theme?.typography?.fontFamily,
5544
5508
  boxSizing: 'border-box'
@@ -5591,7 +5555,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5591
5555
  },
5592
5556
  nodeTitle: {
5593
5557
  color: theme?.palette?.font.default,
5594
- fontSize: theme.typography.fontSize.h4,
5558
+ fontSize: theme.typography.fontSize.h3,
5595
5559
  fontWeight: theme.typography.fontWeight.bold,
5596
5560
  lineHeight: 'normal',
5597
5561
  margin: '0 0 20px',
@@ -5599,7 +5563,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5599
5563
  },
5600
5564
  nodePara: {
5601
5565
  color: theme?.palette?.font.tertiary,
5602
- fontSize: theme.typography.fontSize.body,
5566
+ fontSize: theme.typography.fontSize.subHead,
5603
5567
  lineHeight: '24px',
5604
5568
  wordBreak: 'break-word'
5605
5569
  },
@@ -5618,14 +5582,10 @@ const useTextGridStyles = createUseStyles(theme => ({
5618
5582
  margin: '0 6px'
5619
5583
  },
5620
5584
  nodeTitle: {
5621
- fontSize: '20px',
5622
5585
  marginBottom: '0px'
5623
5586
  },
5624
5587
  nodePara: {
5625
- fontSize: '14px',
5626
- display: 'block',
5627
- margin: '16px 0 !important',
5628
- lineHeight: '22px'
5588
+ margin: '16px 0'
5629
5589
  },
5630
5590
  heading: {
5631
5591
  letterSpacing: '-1px'
@@ -5712,7 +5672,7 @@ const useCourseStyles = createUseStyles(theme => {
5712
5672
  overflow: 'hidden',
5713
5673
  padding: ({
5714
5674
  isMobile
5715
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5675
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5716
5676
  '&, & *, & *:before, & *:after': {
5717
5677
  fontFamily: theme?.typography?.fontFamily,
5718
5678
  boxSizing: 'border-box'
@@ -5861,7 +5821,8 @@ const useCourseStyles = createUseStyles(theme => {
5861
5821
  textDecoration: 'none !important'
5862
5822
  },
5863
5823
  courseCardStrikePrice: {
5864
- fontSize: '14px',
5824
+ fontSize: '10px',
5825
+ fontWeight: '600',
5865
5826
  lineHeight: '13px',
5866
5827
  color: '#FE9B0E',
5867
5828
  '& span': {
@@ -5932,7 +5893,7 @@ const useCourseStyles = createUseStyles(theme => {
5932
5893
  // fontSize: '24px',
5933
5894
  lineHeight: '36px',
5934
5895
  color: theme?.palette?.font?.default,
5935
- margin: '0px 0 12px 0',
5896
+ margin: '4px 0 12px 0',
5936
5897
  overflow: 'hidden',
5937
5898
  whiteSpace: 'nowrap',
5938
5899
  textOverflow: 'ellipsis'
@@ -6028,7 +5989,8 @@ const formatCurrency = (countryCode, value, currencySymbol) => {
6028
5989
  function CourseCard({
6029
5990
  card,
6030
5991
  countryCode,
6031
- currencySymbol
5992
+ currencySymbol,
5993
+ utmParams
6032
5994
  }) {
6033
5995
  const classes = useCourseStyles();
6034
5996
  const {
@@ -6038,7 +6000,7 @@ function CourseCard({
6038
6000
  const defaultCardImg = 'https://cp-assets-public.s3.ap-south-1.amazonaws.com/cams/cards-icon/default_course.png';
6039
6001
  const price = formatCurrency(countryCode, card?.price, currencySymbol);
6040
6002
  const finalPrice = formatCurrency(countryCode, card?.finalPrice, currencySymbol);
6041
- const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'Buy Now';
6003
+ const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'Buy Now';
6042
6004
  const offText = countryCode === 'KR' ? '할인' : 'OFF';
6043
6005
  return /*#__PURE__*/React__default["default"].createElement("div", {
6044
6006
  className: classes.singleCard
@@ -6078,7 +6040,7 @@ function CourseCard({
6078
6040
  className: classes.courseCardStrikePrice
6079
6041
  }, /*#__PURE__*/React__default["default"].createElement("span", null, price), " ", discount > 0 && discount + `% ${offText}`) : null), /*#__PURE__*/React__default["default"].createElement("a", {
6080
6042
  className: classes.coursesAnchorTag,
6081
- href: isEdit ? null : card?.shareableLink
6043
+ href: isEdit ? null : utmParams ? card?.shareableLink + `?flyy_utm_referrer=${utmParams}` : card?.shareableLink
6082
6044
  }, /*#__PURE__*/React__default["default"].createElement("div", {
6083
6045
  className: classes.courseCardBuyBtn
6084
6046
  }, buyNowText)))));
@@ -6108,6 +6070,7 @@ function courses({
6108
6070
  isMobile
6109
6071
  });
6110
6072
  const [nodeData] = sectionData?.components;
6073
+ const [utmParams, setUtmParams] = React.useState('');
6111
6074
  const handleApiCall = () => {
6112
6075
  if (baseURLs) {
6113
6076
  getCourseList(baseURLs, hashToken).then(response => {
@@ -6153,6 +6116,11 @@ function courses({
6153
6116
  else {
6154
6117
  handleApiCall();
6155
6118
  }
6119
+ const params = new URLSearchParams(window.location.search);
6120
+ const utmParams = params.get('flyy_utm_referrer');
6121
+ if (utmParams) {
6122
+ setUtmParams(utmParams);
6123
+ }
6156
6124
  }, []);
6157
6125
  const settings = {
6158
6126
  className: classes.slickContainer,
@@ -6190,7 +6158,8 @@ function courses({
6190
6158
  key: index,
6191
6159
  card: card,
6192
6160
  countryCode: countryCode,
6193
- currencySymbol: currencySymbol
6161
+ currencySymbol: currencySymbol,
6162
+ utmParams: utmParams
6194
6163
  })) : fallBackImages?.map((dt, ind) => {
6195
6164
  return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
6196
6165
  key: ind
@@ -6235,9 +6204,8 @@ const useTeamStyles = createUseStyles(theme => {
6235
6204
  teamSuperContainer: {
6236
6205
  padding: ({
6237
6206
  isMobile
6238
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6239
- // backgroundColor: theme?.palette?.background?.primary,
6240
-
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,
6241
6209
  '&, & *, & *:before, & *:after': {
6242
6210
  fontFamily: theme?.typography?.fontFamily,
6243
6211
  boxSizing: 'border-box'
@@ -6259,7 +6227,7 @@ const useTeamStyles = createUseStyles(theme => {
6259
6227
  letterSpacing: '3px',
6260
6228
  marginBottom: '8px',
6261
6229
  color: theme?.palette?.font?.default,
6262
- // wordBreak: 'break-word',
6230
+ wordBreak: 'break-word',
6263
6231
  position: 'relative'
6264
6232
  },
6265
6233
  partialBackground: {
@@ -6291,13 +6259,13 @@ const useTeamStyles = createUseStyles(theme => {
6291
6259
  singleSlideContainer: {
6292
6260
  backgroundColor: theme?.palette?.background?.default,
6293
6261
  margin: '20px',
6294
- width: 'calc(100% - 24px)',
6262
+ width: 'calc(100% - 32px)',
6295
6263
  // height: 'calc(100% - 40px)',
6296
6264
  border: '3px solid #D8E0F0',
6297
6265
  borderRadius: theme?.shape?.borderRadius?.regular,
6298
6266
  padding: theme.spacing.padding.tiny,
6299
6267
  boxShadow: theme?.shadows?.primary,
6300
- minHeight: '320px'
6268
+ minHeight: '390px'
6301
6269
  },
6302
6270
  imageContainer: {
6303
6271
  minWidth: '100%',
@@ -6317,19 +6285,18 @@ const useTeamStyles = createUseStyles(theme => {
6317
6285
  },
6318
6286
  teamDetailsContainer: {
6319
6287
  textAlign: 'center',
6320
- margin: '20px 0 0'
6321
- // overflowWrap: 'break-word'
6288
+ margin: '20px 0 0',
6289
+ overflowWrap: 'break-word'
6322
6290
  },
6323
-
6324
6291
  teamDetailsHeading: {
6325
- fontSize: theme.typography.fontSize.h6,
6292
+ fontSize: theme.typography.fontSize.h5,
6326
6293
  fontWeight: theme.typography.fontWeight.bold,
6327
- lineHeight: '24px',
6294
+ lineHeight: '32px',
6328
6295
  margin: '0',
6329
6296
  color: theme?.palette?.font?.default
6330
6297
  },
6331
6298
  teamDetailsSubHeading: {
6332
- fontSize: theme.typography.fontSize.body,
6299
+ fontSize: theme.typography.fontSize.subHead,
6333
6300
  lineHeight: '24px',
6334
6301
  margin: '12px 0 0',
6335
6302
  color: theme?.palette?.font?.primary
@@ -6339,14 +6306,9 @@ const useTeamStyles = createUseStyles(theme => {
6339
6306
  // padding: '60px 20px'
6340
6307
  // },
6341
6308
  teamHeading: {
6342
- lineHeight: '20px',
6343
- margin: 0,
6344
- textAlign: 'center'
6309
+ lineHeight: '20px'
6345
6310
  },
6346
6311
  teamTitle: {
6347
- marginTop: '0px',
6348
- textAlign: 'center',
6349
- fontSize: theme.typography.fontSize.h2,
6350
6312
  lineHeight: '36px',
6351
6313
  letterSpacing: '-1px'
6352
6314
  },
@@ -6354,7 +6316,6 @@ const useTeamStyles = createUseStyles(theme => {
6354
6316
  margin: '0 -4px'
6355
6317
  },
6356
6318
  singleSlideContainer: {
6357
- padding: '24px',
6358
6319
  width: 'calc(100% - 8px)',
6359
6320
  margin: '12px 4px'
6360
6321
  },
@@ -6365,13 +6326,11 @@ const useTeamStyles = createUseStyles(theme => {
6365
6326
  },
6366
6327
 
6367
6328
  teamDetailsHeading: {
6368
- fontSize: '16px',
6369
6329
  lineHeight: '24px',
6370
6330
  margin: '0',
6371
- color: theme?.palette?.font?.body
6331
+ color: theme?.palette?.font?.default
6372
6332
  },
6373
6333
  teamDetailsSubHeading: {
6374
- marginTop: '0px',
6375
6334
  color: theme?.palette?.font?.primary
6376
6335
  }
6377
6336
  }
@@ -6486,7 +6445,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6486
6445
  backgroundColor: theme?.palette?.background?.default,
6487
6446
  padding: ({
6488
6447
  isMobile
6489
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6448
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6490
6449
  '&, & *, & *:before, & *:after': {
6491
6450
  fontFamily: theme?.typography?.fontFamily,
6492
6451
  boxSizing: 'border-box'
@@ -6511,7 +6470,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6511
6470
  width: '100%',
6512
6471
  height: '50%',
6513
6472
  position: 'absolute',
6514
- background: theme?.palette?.background?.primary
6473
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2
6515
6474
  },
6516
6475
  sectionContainer: {
6517
6476
  backgroundColor: theme?.palette?.background?.default,
@@ -6566,7 +6525,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6566
6525
  padding: '4px 8px 0 0'
6567
6526
  },
6568
6527
  addressText: {
6569
- fontSize: theme.typography.fontSize.h6,
6528
+ fontSize: theme.typography.fontSize.subHead,
6570
6529
  color: theme?.palette?.font?.default,
6571
6530
  lineHeight: '24px'
6572
6531
  },
@@ -6777,6 +6736,7 @@ function FormEnquiry({
6777
6736
  }, /*#__PURE__*/React__default["default"].createElement("div", {
6778
6737
  className: classes.inputDiv
6779
6738
  }, /*#__PURE__*/React__default["default"].createElement(Input, {
6739
+ theme: theme,
6780
6740
  data: nodeData.nameField,
6781
6741
  value: inputVal.name,
6782
6742
  isValid: validData.nameValid,
@@ -6891,8 +6851,7 @@ const useSectionStyles = createUseStyles(theme => ({
6891
6851
  alignItems: 'center',
6892
6852
  padding: ({
6893
6853
  isMobile
6894
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6895
- backgroundColor: theme?.palette?.background?.default,
6854
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6896
6855
  '&, & *, & *:before, & *:after': {
6897
6856
  fontFamily: theme?.typography?.fontFamily,
6898
6857
  boxSizing: 'border-box'
@@ -6918,7 +6877,8 @@ const useSectionStyles = createUseStyles(theme => ({
6918
6877
  width: '100%',
6919
6878
  height: '50%',
6920
6879
  position: 'absolute',
6921
- background: theme?.palette?.background?.primary
6880
+ // background: theme?.palette?.background?.primary
6881
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.tertiaryBlue2
6922
6882
  },
6923
6883
  sectionContainer: {
6924
6884
  backgroundColor: theme?.palette?.background?.default,
@@ -6934,8 +6894,7 @@ const useSectionStyles = createUseStyles(theme => ({
6934
6894
  lineHeight: '71px',
6935
6895
  letterSpacing: '-3px',
6936
6896
  textAlign: 'left',
6937
- wordBreak: 'break-word',
6938
- textAlign: 'center'
6897
+ wordBreak: 'break-word'
6939
6898
  },
6940
6899
  contentContainer: {
6941
6900
  width: '100%',
@@ -6944,18 +6903,17 @@ const useSectionStyles = createUseStyles(theme => ({
6944
6903
  wordBreak: 'break-word'
6945
6904
  },
6946
6905
  leftContainer: {
6906
+ width: '50%',
6947
6907
  display: 'flex',
6948
6908
  flexDirection: 'column',
6949
- justifyContent: 'space-between',
6950
- flex: 1
6909
+ justifyContent: 'space-between'
6951
6910
  },
6952
6911
  subtitle: {
6953
6912
  margin: '0 0 auto 0',
6954
6913
  fontSize: theme.typography.fontSize.h6,
6955
6914
  color: theme?.palette?.font?.default,
6956
6915
  lineHeight: '32px',
6957
- margin: '16px 0',
6958
- textAlign: 'center'
6916
+ margin: '20px 0px'
6959
6917
  },
6960
6918
  addressContainer: {
6961
6919
  display: 'flex',
@@ -6971,7 +6929,8 @@ const useSectionStyles = createUseStyles(theme => ({
6971
6929
  width: '50%',
6972
6930
  display: 'flex',
6973
6931
  flexDirection: 'column',
6974
- justifyContent: 'space-between'
6932
+ justifyContent: 'space-between',
6933
+ padding: '0 0 0 80px'
6975
6934
  },
6976
6935
  inputDiv: {
6977
6936
  margin: '0 0 20px 0',
@@ -7046,7 +7005,7 @@ const useSectionStyles = createUseStyles(theme => ({
7046
7005
  textAlign: 'center'
7047
7006
  },
7048
7007
  subtitle: {
7049
- margin: '4px 0 24px 0',
7008
+ margin: '0 0 12px 0',
7050
7009
  textAlign: 'center',
7051
7010
  lineHeight: '26px'
7052
7011
  },
@@ -7155,6 +7114,10 @@ function Contact({
7155
7114
  className: classes.partialBackground
7156
7115
  }), /*#__PURE__*/React__default["default"].createElement("div", {
7157
7116
  className: classes.sectionContainer
7117
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
7118
+ className: classes.contentContainer
7119
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
7120
+ className: classes.leftContainer
7158
7121
  }, /*#__PURE__*/React__default["default"].createElement("h2", {
7159
7122
  className: classes.title
7160
7123
  }, /*#__PURE__*/React__default["default"].createElement("span", {
@@ -7169,10 +7132,6 @@ function Contact({
7169
7132
  __html: nodeData?.subtitle?.metadata?.value
7170
7133
  }
7171
7134
  }), /*#__PURE__*/React__default["default"].createElement("div", {
7172
- className: classes.contentContainer
7173
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7174
- className: classes.leftContainer
7175
- }, /*#__PURE__*/React__default["default"].createElement("div", {
7176
7135
  className: classes.addressContainer
7177
7136
  }, /*#__PURE__*/React__default["default"].createElement(NextImageRenderer, {
7178
7137
  className: classes?.telephoneImage,
@@ -7296,6 +7255,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7296
7255
  webinarSuperContainer: {
7297
7256
  display: 'flex',
7298
7257
  justifyContent: 'center',
7258
+ background: theme?.colors?.background1,
7299
7259
  padding: ({
7300
7260
  isMobile
7301
7261
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7306,7 +7266,14 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7306
7266
  '& h2,& h3,& p': {
7307
7267
  margin: '0'
7308
7268
  }
7269
+ // '& h2,& h3': {
7270
+ // fontWeight: '500',
7271
+ // '& b,& strong': {
7272
+ // fontWeight: '700'
7273
+ // }
7274
+ // }
7309
7275
  },
7276
+
7310
7277
  sectionContainer: {
7311
7278
  margin: '0 auto',
7312
7279
  maxWidth: ({
@@ -7417,7 +7384,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7417
7384
  margin: '0',
7418
7385
  letterSpacing: '-1px',
7419
7386
  wordBreak: wordBreakValue => wordBreakValue || 'break-word',
7420
- color: theme.palette.font.default
7387
+ color: theme?.colors?.font1
7421
7388
  },
7422
7389
  courseViewContainer: {
7423
7390
  width: '645px',
@@ -7450,6 +7417,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7450
7417
  courseDetailTag: {
7451
7418
  display: 'flex',
7452
7419
  alignItems: 'center',
7420
+ color: theme?.colors?.font1,
7453
7421
  marginRight: '20px',
7454
7422
  '& div': {
7455
7423
  fontSize: theme.typography.fontSize.subHead,
@@ -7459,7 +7427,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7459
7427
  courseDetailContent: {
7460
7428
  fontSize: theme.typography.fontSize.subHead,
7461
7429
  wordBreak: 'break-word',
7462
- color: theme.palette.font.primary,
7430
+ color: theme?.colors?.font1,
7463
7431
  whiteSpace: 'pre-wrap',
7464
7432
  width: '80%'
7465
7433
  },
@@ -7468,8 +7436,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7468
7436
  fontSize: theme.typography.fontSize.subHead,
7469
7437
  lineHeight: '24px',
7470
7438
  marginTop: '-20px',
7471
- color: '#00ADE7',
7472
- wordBreak: 'break-word'
7439
+ color: theme?.colors?.font1,
7440
+ wordBreak: 'break-word',
7441
+ textDecoration: 'underline'
7473
7442
  },
7474
7443
  courseDetailTime: {
7475
7444
  color: '#EB5757',
@@ -7637,7 +7606,7 @@ const SingleVideoSlide$1 = props => {
7637
7606
  }
7638
7607
  };
7639
7608
  const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
7640
- const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'BUY NOW';
7609
+ const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'BUY NOW';
7641
7610
  const registerNowText = countryCode === 'KR' ? '웨비나 신청하기' : 'REGISTER NOW';
7642
7611
  const momentLocale = countryCode === 'KR' ? 'ko' : 'in';
7643
7612
  if (countryCode === 'KR') {
@@ -7684,7 +7653,7 @@ const SingleVideoSlide$1 = props => {
7684
7653
  color: theme.palette.primary.main,
7685
7654
  width: "20px",
7686
7655
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7687
- })), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("p", {
7656
+ })), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("div", {
7688
7657
  ref: data?.videoTextContent?.refSetter,
7689
7658
  className: classes.courseDetailContent,
7690
7659
  dangerouslySetInnerHTML: {
@@ -7718,7 +7687,7 @@ const SingleVideoSlide$1 = props => {
7718
7687
  className: classes.priceContainer
7719
7688
  }, /*#__PURE__*/React__default["default"].createElement("div", {
7720
7689
  className: classes.offerPrice
7721
- }, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React__default["default"].createElement("p", {
7690
+ }, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React__default["default"].createElement("div", {
7722
7691
  style: {
7723
7692
  fontSize: '20px'
7724
7693
  }
@@ -7793,6 +7762,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7793
7762
  courseSuperContainer: {
7794
7763
  display: 'flex',
7795
7764
  justifyContent: 'center',
7765
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
7796
7766
  padding: ({
7797
7767
  isMobile
7798
7768
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7913,7 +7883,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7913
7883
  margin: '0',
7914
7884
  letterSpacing: '-1px',
7915
7885
  wordBreak: 'break-word',
7916
- color: theme.palette.font.default
7886
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1
7917
7887
  },
7918
7888
  courseViewContainer: {
7919
7889
  width: '445px',
@@ -7964,6 +7934,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7964
7934
  },
7965
7935
  courseDetailTag: {
7966
7936
  marginTop: '5px',
7937
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
7967
7938
  display: 'flex',
7968
7939
  alignItems: 'center',
7969
7940
  marginRight: '20px',
@@ -7978,7 +7949,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7978
7949
  fontSize: theme.typography.fontSize.subHead,
7979
7950
  lineHeight: '24px',
7980
7951
  wordBreak: 'break-word',
7981
- color: theme.palette.font.primary,
7952
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
7982
7953
  whiteSpace: 'pre-wrap',
7983
7954
  margin: '10px 0 20px'
7984
7955
  },
@@ -7987,7 +7958,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7987
7958
  fontSize: theme.typography.fontSize.subHead,
7988
7959
  lineHeight: '24px',
7989
7960
  marginTop: '-24px',
7990
- color: '#00ADE7',
7961
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
7991
7962
  wordBreak: 'break-word'
7992
7963
  },
7993
7964
  courseDetailTime: {
@@ -8175,7 +8146,7 @@ const SingleVideoSlide = props => {
8175
8146
  };
8176
8147
  const effectivePrice = formatCurrency(countryCode, data?.effectivePrice, currencySymbol);
8177
8148
  const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
8178
- const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'BUY NOW';
8149
+ const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'BUY NOW';
8179
8150
  const handleReadMoreText = () => {
8180
8151
  if (countryCode === 'KR') {
8181
8152
  return '더 보기';
@@ -8375,7 +8346,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8375
8346
  padding: ({
8376
8347
  isMobile
8377
8348
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8378
- background: '#F4F9FF',
8349
+ background: theme?.isGradient ? theme?.gradientColors?.background3 : theme?.solidColors?.background3,
8379
8350
  '&, & *, & *:before, & *:after': {
8380
8351
  fontFamily: theme?.typography?.fontFamily,
8381
8352
  boxSizing: 'border-box'
@@ -8748,7 +8719,7 @@ const useTilesStyles = createUseStyles(theme => {
8748
8719
  flexDirection: 'column',
8749
8720
  padding: ({
8750
8721
  isMobile
8751
- } = {}) => isMobile ? `24px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`
8722
+ } = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
8752
8723
  },
8753
8724
  tileDiv: {
8754
8725
  width: '236px',