diy-template-components 1.0.45 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js CHANGED
@@ -348,117 +348,118 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
348
348
  };
349
349
  };
350
350
 
351
- const buttonStyles = createUseStyles(theme => ({
352
- primary: {
353
- width: ({
354
- fluid
355
- } = {}) => fluid ? '100%' : '',
356
- borderRadius: theme?.shape?.borderRadius?.regular,
357
- fontWeight: '700',
358
- fontSize: '14px',
359
- lineHeight: '18px',
360
- textAlign: 'center',
361
- color: ({
362
- disabled
363
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
364
- background: ({
365
- disabled
366
- } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
367
- border: ({
368
- disabled
369
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
370
- textDecoration: 'none',
371
- cursor: ({
372
- disabled
373
- } = {}) => disabled ? 'not-allowed' : 'pointer',
374
- maxWidth: '100%',
375
- display: 'inline-block',
376
- wordBreak: 'break-word',
377
- flexShrink: '0'
378
- },
379
- secondary: {
380
- width: ({
381
- fluid
382
- } = {}) => fluid ? '100%' : '',
383
- borderRadius: theme?.shape?.borderRadius?.regular,
384
- fontSize: '14px',
385
- fontWeight: '700',
386
- display: 'inline-block',
387
- textDecoration: 'none',
388
- lineHeight: '18px',
389
- color: ({
390
- disabled
391
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
392
- background: ({
393
- disabled
394
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
395
- border: ({
396
- disabled
397
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
398
- cursor: ({
399
- disabled
400
- } = {}) => disabled ? 'not-allowed' : 'pointer',
401
- maxWidth: '100%',
402
- display: 'inline-block',
403
- wordBreak: 'break-word',
404
- flexShrink: '0'
405
- },
406
- tertiary: {
407
- width: ({
408
- fluid
409
- } = {}) => fluid ? '100%' : '',
410
- fontWeight: '400',
411
- fontSize: '16px',
412
- lineHeight: '20px',
413
- display: 'flex',
414
- alignItems: 'center',
415
- border: 'none',
416
- color: ({
417
- disabled
418
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
419
- background: ({
420
- disabled
421
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
422
- cursor: ({
423
- disabled
424
- } = {}) => disabled ? 'not-allowed' : 'pointer',
425
- maxWidth: '100%',
426
- display: 'inline-block',
427
- wordBreak: 'break-word',
428
- flexShrink: '0',
429
- '&:hover': {
430
- background: theme.palette.primary.lightest,
431
- borderRadius: '4px'
351
+ const buttonStyles = createUseStyles(theme => {
352
+ console.log('themexxxxdsfb', theme);
353
+ return {
354
+ primary: {
355
+ width: ({
356
+ fluid
357
+ } = {}) => fluid ? '100%' : '',
358
+ borderRadius: theme?.shape?.borderRadius?.regular,
359
+ fontWeight: '700',
360
+ fontSize: '14px',
361
+ lineHeight: '18px',
362
+ textAlign: 'center',
363
+ color: ({
364
+ disabled
365
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
366
+ background: ({
367
+ disabled
368
+ } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
369
+ border: 'none',
370
+ textDecoration: 'none',
371
+ cursor: ({
372
+ disabled
373
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
374
+ maxWidth: '100%',
375
+ display: 'inline-block',
376
+ wordBreak: 'break-word',
377
+ flexShrink: '0'
432
378
  },
433
- '&$active': {
379
+ secondary: {
380
+ width: ({
381
+ fluid
382
+ } = {}) => fluid ? '100%' : '',
383
+ borderRadius: theme?.shape?.borderRadius?.regular,
384
+ fontSize: '14px',
434
385
  fontWeight: '700',
435
- background: theme.palette.primary.lightest,
436
- borderRadius: theme.shape.borderRadius.small,
437
- color: theme.palette.primary.main
438
- }
439
- },
440
- anchorClass: {
441
- textDecoration: 'none'
442
- },
443
- active: {},
444
- large: {
445
- padding: '20px 24px'
446
- },
447
- medium: {
448
- padding: '16px 24px'
449
- },
450
- small: {
451
- padding: '12px 16px'
452
- },
453
- '@media screen and (max-width: 767px)': {
454
- active: {
455
- fontWeight: 'initial',
456
- background: theme?.palette?.background?.default,
457
- borderRadius: '0',
458
- color: theme.palette.primary.main
386
+ display: 'inline-block',
387
+ textDecoration: 'none',
388
+ lineHeight: '18px',
389
+ color: ({
390
+ disabled
391
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
392
+ background: ({
393
+ disabled
394
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.ctaColor,
395
+ border: ({
396
+ disabled
397
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
398
+ cursor: ({
399
+ disabled
400
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
401
+ maxWidth: '100%',
402
+ display: 'inline-block',
403
+ wordBreak: 'break-word',
404
+ flexShrink: '0'
405
+ },
406
+ tertiary: {
407
+ width: ({
408
+ fluid
409
+ } = {}) => fluid ? '100%' : '',
410
+ fontWeight: '400',
411
+ fontSize: '16px',
412
+ lineHeight: '20px',
413
+ display: 'flex',
414
+ alignItems: 'center',
415
+ border: 'none',
416
+ color: ({
417
+ disabled
418
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
419
+ background: ({
420
+ disabled
421
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
422
+ cursor: ({
423
+ disabled
424
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
425
+ maxWidth: '100%',
426
+ display: 'inline-block',
427
+ wordBreak: 'break-word',
428
+ flexShrink: '0',
429
+ '&:hover': {
430
+ background: theme.palette.primary.lightest,
431
+ borderRadius: '4px'
432
+ },
433
+ '&$active': {
434
+ fontWeight: '700',
435
+ background: theme.palette.primary.lightest,
436
+ borderRadius: theme.shape.borderRadius.small,
437
+ color: theme.palette.primary.main
438
+ }
439
+ },
440
+ anchorClass: {
441
+ textDecoration: 'none'
442
+ },
443
+ active: {},
444
+ large: {
445
+ padding: '20px 24px'
446
+ },
447
+ medium: {
448
+ padding: '16px 24px'
449
+ },
450
+ small: {
451
+ padding: '12px 16px'
452
+ },
453
+ '@media screen and (max-width: 767px)': {
454
+ active: {
455
+ fontWeight: 'initial',
456
+ background: theme?.palette?.background?.default,
457
+ borderRadius: '0',
458
+ color: theme.palette.primary.main
459
+ }
459
460
  }
460
- }
461
- }));
461
+ };
462
+ });
462
463
 
463
464
  function useLinkBuilder(data) {
464
465
  const {
@@ -1887,7 +1888,7 @@ function Footer({
1887
1888
  className: classes.lowerContainer
1888
1889
  }, /*#__PURE__*/React.createElement("div", {
1889
1890
  className: classes.bottomLeftText
1890
- }, "\xA9 ", new Date().getFullYear(), " All Rights Reserved"), /*#__PURE__*/React.createElement("div", {
1891
+ }, "2022 All Rights Reserved"), /*#__PURE__*/React.createElement("div", {
1891
1892
  className: classes.poweredByContainer
1892
1893
  }, /*#__PURE__*/React.createElement("p", null, "Powered by"), /*#__PURE__*/React.createElement("a", {
1893
1894
  title: "Powered by Classplus",
@@ -1950,15 +1951,15 @@ const rustTheme = {
1950
1951
  light: colors.lightRust,
1951
1952
  lightest: colors.lightestRust
1952
1953
  };
1953
- const generateThemePalette = themeColors => ({
1954
- primary: themeColors,
1954
+ const generateThemePalette = solidColors => ({
1955
+ primary: solidColors,
1955
1956
  background: {
1956
1957
  default: colors.white,
1957
- primary: themeColors.lightest
1958
+ primary: solidColors.lightest
1958
1959
  },
1959
1960
  border: {
1960
- primary: themeColors.main,
1961
- secondary: themeColors.light
1961
+ primary: solidColors.main,
1962
+ secondary: solidColors.light
1962
1963
  },
1963
1964
  shadow: {
1964
1965
  primary: hexToRgbA(colors.black, alpha.tenPercent),
@@ -2039,19 +2040,17 @@ const fontSize = {
2039
2040
  h4: 32,
2040
2041
  h5: 24,
2041
2042
  h6: 20,
2042
- subHead: 24,
2043
- description: 20,
2044
- body: 16
2043
+ subHead: 16,
2044
+ body: 14
2045
2045
  };
2046
2046
  const fontSizeMob = {
2047
2047
  h1: 40,
2048
- h2: 24,
2049
- h3: 20,
2048
+ h2: 20,
2049
+ h3: 32,
2050
2050
  h4: 16,
2051
2051
  h5: 16,
2052
2052
  h6: 14,
2053
2053
  subHead: 14,
2054
- description: 16,
2055
2054
  body: 14
2056
2055
  };
2057
2056
  const fontWeight = {
@@ -2296,10 +2295,10 @@ function PageRenderer$1({
2296
2295
  const useSectionStyles$8 = createUseStyles(theme => ({
2297
2296
  bannerCarouselRightSection: {
2298
2297
  position: 'relative',
2298
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
2299
2299
  padding: ({
2300
2300
  isMobile
2301
2301
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2302
- backgroundColor: theme?.palette?.background?.primary,
2303
2302
  '&, & *, & *:before, & *:after': {
2304
2303
  fontFamily: theme?.typography?.fontFamily,
2305
2304
  boxSizing: 'border-box'
@@ -2356,8 +2355,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2356
2355
  subTitleHeading: {
2357
2356
  marginBottom: '8px',
2358
2357
  fontSize: theme.typography.fontSize.subHead,
2359
- letterSpacing: '3px',
2360
- color: theme?.palette?.font?.default,
2358
+ color: theme?.palette?.font?.tertiary,
2361
2359
  wordBreak: 'break-word',
2362
2360
  maxWidth: '100%'
2363
2361
  },
@@ -2525,7 +2523,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2525
2523
  height: sizeHandler,
2526
2524
  border: ({
2527
2525
  inverted
2528
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2526
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.solidColors?.ctaColor}`,
2529
2527
  borderRadius: '50%',
2530
2528
  display: 'flex',
2531
2529
  justifyContent: 'center',
@@ -2547,7 +2545,7 @@ function ArrowButton(props) {
2547
2545
  }, /*#__PURE__*/React.createElement(Icon, {
2548
2546
  height: props.size === 'small' ? '12px' : '18px',
2549
2547
  name: "Angle",
2550
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2548
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.solidColors?.ctaColor,
2551
2549
  inverted: true
2552
2550
  }));
2553
2551
  }
@@ -2747,185 +2745,182 @@ var index$l = /*#__PURE__*/Object.freeze({
2747
2745
  'default': BannerCarouselRight
2748
2746
  });
2749
2747
 
2750
- const useSectionStyles$7 = createUseStyles(theme => ({
2751
- section: {
2752
- width: '100%',
2753
- padding: ({
2754
- isMobile
2755
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2756
- display: 'flex',
2757
- justifyContent: 'center',
2758
- flexDirection: 'column',
2759
- alignItems: 'center',
2760
- backgroundColor: theme?.palette?.background?.default,
2761
- '&, & *, & *:before, & *:after': {
2762
- fontFamily: theme?.typography?.fontFamily,
2763
- boxSizing: 'border-box'
2764
- },
2765
- '& h2,& h3': {
2766
- marginTop: '0'
2767
- }
2768
- },
2769
- sectionContainer: {
2770
- margin: '0 auto',
2771
- maxWidth: ({
2772
- containerWidth
2773
- } = {}) => containerWidth
2774
- },
2775
- subTitleHeading: {
2776
- marginBottom: '8px',
2777
- fontSize: theme.typography.fontSize.subHead,
2778
- color: theme?.palette?.font?.default,
2779
- alignItems: 'center',
2780
- textAlign: 'center',
2781
- wordBreak: 'break-word',
2782
- letterSpacing: '3px',
2783
- textTransform: 'uppercase'
2784
- },
2785
- heading: {
2786
- marginBottom: theme.spacing.margin.tiny,
2787
- fontSize: theme.typography.fontSize.h2,
2788
- color: theme?.palette?.font?.default,
2789
- fontWeight: theme.typography.fontWeight.bold,
2790
- textAlign: 'center',
2791
- wordBreak: 'break-word'
2792
- },
2793
- contentContainer: {
2794
- display: 'flex',
2795
- flexDirection: 'column',
2796
- alignItems: 'center',
2797
- justifyContent: 'center',
2798
- width: '770px',
2799
- margin: 'auto'
2800
- },
2801
- content: {
2802
- display: 'flex',
2803
- width: 'calc(100% - 100px)',
2804
- alignItems: 'center',
2805
- background: theme?.palette?.background?.default,
2806
- boxShadow: theme?.shadows?.primary,
2807
- borderRadius: theme?.shape?.borderRadius?.regular,
2808
- overflow: 'hidden',
2809
- minHeight: 200,
2810
- marginBottom: theme.spacing.margin.small,
2811
- position: 'relative',
2812
- '&:nth-child(2n)': {
2813
- alignSelf: 'flex-end',
2814
- '& $contentNumber': {
2815
- right: '0'
2816
- },
2817
- '& $contentText': {
2818
- marginRight: '170px'
2819
- }
2820
- },
2821
- '&:nth-child(2n+1)': {
2822
- alignSelf: 'flex-start',
2823
- '& $contentNumber': {
2824
- left: '0'
2825
- },
2826
- '& $contentText': {
2827
- marginLeft: '170px'
2748
+ const useSectionStyles$7 = createUseStyles(theme => {
2749
+ return {
2750
+ section: {
2751
+ width: '100%',
2752
+ padding: ({
2753
+ isMobile
2754
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2755
+ display: 'flex',
2756
+ justifyContent: 'center',
2757
+ flexDirection: 'column',
2758
+ alignItems: 'center',
2759
+ backgroundColor: theme?.palette?.background?.default,
2760
+ '&, & *, & *:before, & *:after': {
2761
+ fontFamily: theme?.typography?.fontFamily,
2762
+ boxSizing: 'border-box'
2828
2763
  }
2764
+ // '& h2,& h3': {
2765
+ // fontWeight: '500',
2766
+ // '& b,& strong': {
2767
+ // fontWeight: '700'
2768
+ // }
2769
+ // }
2829
2770
  },
2830
- '&:nth-child(7n+1) $contentNumber': {
2831
- background: palettes.purple.primary.lightest
2832
- },
2833
- '&:nth-child(7n+2) $contentNumber': {
2834
- background: palettes.orange.primary.lightest
2835
- },
2836
- '&:nth-child(7n+3) $contentNumber': {
2837
- background: palettes.red.primary.lightest
2838
- },
2839
- '&:nth-child(7n+4) $contentNumber': {
2840
- background: palettes.green.primary.lightest
2771
+
2772
+ sectionContainer: {
2773
+ margin: '0 auto',
2774
+ maxWidth: ({
2775
+ containerWidth
2776
+ } = {}) => containerWidth
2841
2777
  },
2842
- '&:nth-child(7n+5) $contentNumber': {
2843
- background: palettes.pink.primary.lightest
2778
+ subTitleHeading: {
2779
+ marginBottom: '8px',
2780
+ fontSize: theme.typography.fontSize.subHead,
2781
+ color: theme?.palette?.font?.tertiary,
2782
+ alignItems: 'center',
2783
+ textAlign: 'center',
2784
+ wordBreak: 'break-word',
2785
+ textTransform: 'uppercase'
2844
2786
  },
2845
- '&:nth-child(7n+6) $contentNumber': {
2846
- background: palettes.blue.primary.lightest
2787
+ heading: {
2788
+ marginBottom: theme.spacing.margin.tiny,
2789
+ fontSize: theme.typography.fontSize.h2,
2790
+ color: theme?.palette?.font?.default,
2791
+ fontWeight: theme.typography.fontWeight.bold,
2792
+ textAlign: 'center',
2793
+ wordBreak: 'break-word'
2847
2794
  },
2848
- '&:nth-child(7n) $contentNumber': {
2849
- background: palettes.rust.primary.lightest
2850
- }
2851
- },
2852
- contentNumber: {
2853
- position: 'absolute',
2854
- top: '0',
2855
- fontWeight: '700',
2856
- fontSize: '72px',
2857
- letterSpacing: '-3px',
2858
- display: 'flex',
2859
- alignItems: 'center',
2860
- justifyContent: 'center',
2861
- padding: '48px',
2862
- height: '100%',
2863
- color: theme?.palette?.font?.default,
2864
- wordBreak: 'break-word'
2865
- },
2866
- contentText: {
2867
- padding: theme.spacing.padding.tiny
2868
- },
2869
- contentHeading: {
2870
- fontStyle: 'normal',
2871
- fontSize: theme.typography.fontSize.h5,
2872
- fontWeight: theme.typography.fontWeight.bold,
2873
- lineHeight: '32px',
2874
- marginBottom: '8px',
2875
- color: theme?.palette?.font?.default,
2876
- wordBreak: 'break-word'
2877
- },
2878
- contentPara: {
2879
- fontStyle: 'normal',
2880
- fontSize: '16px',
2881
- lineHeight: '26px',
2882
- color: theme?.palette?.font?.primary,
2883
- wordBreak: 'break-word'
2884
- },
2885
- '@media screen and (max-width: 767px)': {
2886
2795
  contentContainer: {
2887
- width: '100%'
2796
+ display: 'flex',
2797
+ flexDirection: 'column',
2798
+ alignItems: 'center',
2799
+ justifyContent: 'center',
2800
+ width: '770px',
2801
+ margin: 'auto'
2888
2802
  },
2889
2803
  content: {
2890
2804
  display: 'flex',
2891
- flexDirection: 'column',
2892
- borderRadius: theme.shape.borderRadius.large,
2893
- width: '100%',
2894
- height: 'auto',
2805
+ width: 'calc(100% - 100px)',
2806
+ alignItems: 'center',
2807
+ background: theme?.palette?.background?.default,
2808
+ boxShadow: theme?.shadows?.primary,
2809
+ borderRadius: theme?.shape?.borderRadius?.regular,
2810
+ overflow: 'hidden',
2811
+ minHeight: 200,
2812
+ marginBottom: theme.spacing.margin.small,
2813
+ position: 'relative',
2895
2814
  '&:nth-child(2n)': {
2896
- marginLeft: '0',
2815
+ alignSelf: 'flex-end',
2816
+ '& $contentNumber': {
2817
+ right: '0'
2818
+ },
2897
2819
  '& $contentText': {
2898
- marginRight: '0',
2899
- alignSelf: 'flex-start'
2900
- // padding: '0'
2820
+ marginRight: '170px'
2901
2821
  }
2902
2822
  },
2903
-
2904
2823
  '&:nth-child(2n+1)': {
2905
- marginRight: '0',
2824
+ alignSelf: 'flex-start',
2825
+ '& $contentNumber': {
2826
+ left: '0'
2827
+ },
2906
2828
  '& $contentText': {
2907
- marginLeft: '0',
2908
- alignSelf: 'flex-start'
2909
- // padding: '0'
2829
+ marginLeft: '170px'
2910
2830
  }
2831
+ },
2832
+ '&:nth-child(7n+1) $contentNumber': {
2833
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2834
+ },
2835
+ '&:nth-child(7n+2) $contentNumber': {
2836
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2837
+ },
2838
+ '&:nth-child(7n+3) $contentNumber': {
2839
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2840
+ },
2841
+ '&:nth-child(7n+4) $contentNumber': {
2842
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2843
+ },
2844
+ '&:nth-child(7n+5) $contentNumber': {
2845
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2846
+ },
2847
+ '&:nth-child(7n+6) $contentNumber': {
2848
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2849
+ },
2850
+ '&:nth-child(7n) $contentNumber': {
2851
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background3
2911
2852
  }
2912
2853
  },
2913
-
2914
2854
  contentNumber: {
2915
- width: '100%',
2916
- padding: '24px',
2917
- position: 'static'
2855
+ position: 'absolute',
2856
+ top: '0',
2857
+ fontWeight: '700',
2858
+ fontSize: '72px',
2859
+ letterSpacing: '-3px',
2860
+ display: 'flex',
2861
+ alignItems: 'center',
2862
+ justifyContent: 'center',
2863
+ padding: '48px',
2864
+ height: '100%',
2865
+ color: theme?.isGradient ? theme?.gradientColors?.font4 : theme?.solidColors?.font4,
2866
+ wordBreak: 'break-word'
2918
2867
  },
2919
- contentPara: {
2920
- fontSize: '14px',
2921
- lineHeight: '22px'
2868
+ contentText: {
2869
+ padding: theme.spacing.padding.tiny
2922
2870
  },
2923
2871
  contentHeading: {
2924
- fontSize: '20px',
2925
- lineHeight: '32px'
2872
+ fontStyle: 'normal',
2873
+ fontSize: theme.typography.fontSize.h5,
2874
+ fontWeight: theme.typography.fontWeight.bold,
2875
+ lineHeight: '32px',
2876
+ marginBottom: '8px',
2877
+ color: theme?.palette?.font?.default,
2878
+ wordBreak: 'break-word'
2879
+ },
2880
+ contentPara: {
2881
+ fontStyle: 'normal',
2882
+ fontSize: theme.typography.fontSize.subHead,
2883
+ lineHeight: '32px',
2884
+ color: theme?.palette?.font?.primary,
2885
+ wordBreak: 'break-word'
2886
+ },
2887
+ '@media screen and (max-width: 767px)': {
2888
+ contentContainer: {
2889
+ width: '100%'
2890
+ },
2891
+ content: {
2892
+ display: 'flex',
2893
+ flexDirection: 'column',
2894
+ borderRadius: theme.shape.borderRadius.large,
2895
+ width: '100%',
2896
+ height: 'auto',
2897
+ '&:nth-child(2n)': {
2898
+ marginLeft: '0',
2899
+ '& $contentText': {
2900
+ marginRight: '0',
2901
+ alignSelf: 'flex-start'
2902
+ // padding: '0'
2903
+ }
2904
+ },
2905
+
2906
+ '&:nth-child(2n+1)': {
2907
+ marginRight: '0',
2908
+ '& $contentText': {
2909
+ marginLeft: '0',
2910
+ alignSelf: 'flex-start'
2911
+ // padding: '0'
2912
+ }
2913
+ }
2914
+ },
2915
+
2916
+ contentNumber: {
2917
+ width: '100%',
2918
+ padding: '24px',
2919
+ position: 'static'
2920
+ }
2926
2921
  }
2927
- }
2928
- }));
2922
+ };
2923
+ });
2929
2924
 
2930
2925
  function List({
2931
2926
  sectionData
@@ -2997,13 +2992,21 @@ const useSectionStyles$6 = createUseStyles(theme => {
2997
2992
  return {
2998
2993
  bannerCarouselCenterSection: {
2999
2994
  width: '100%',
2995
+ // height: '100%',
3000
2996
  textAlign: 'center',
3001
2997
  position: 'relative',
3002
2998
  '&, & *, & *:before, & *:after': {
3003
2999
  fontFamily: theme?.typography?.fontFamily,
3004
3000
  boxSizing: 'border-box'
3005
3001
  }
3002
+ // '& h2,& h3': {
3003
+ // fontWeight: '500',
3004
+ // '& b,& strong': {
3005
+ // fontWeight: '700'
3006
+ // }
3007
+ // }
3006
3008
  },
3009
+
3007
3010
  sectionContainer: {
3008
3011
  width: '100%',
3009
3012
  // maxWidth: ({ containerWidth } = {}) => containerWidth,
@@ -3023,9 +3026,20 @@ const useSectionStyles$6 = createUseStyles(theme => {
3023
3026
  margin: `${theme.spacing.margin.tiny}px 0px`
3024
3027
  },
3025
3028
  contentContainer: {
3029
+ // padding: '100px 0',
3030
+ // height: '100%',
3031
+ // display: 'flex',
3032
+ // alignItems: 'center'
3033
+ // height: '100%',
3026
3034
  display: 'flex',
3035
+ /* padding: 100px 0; */
3027
3036
  alignItems: 'center'
3037
+ // backgroundImage: ({ imageUrl } = {}) =>
3038
+ // `linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%), url("${imageUrl}")`,
3039
+ // backgroundPosition: 'center',
3040
+ // backgroundSize: 'cover'
3028
3041
  },
3042
+
3029
3043
  centerBgImageContainer: {
3030
3044
  width: '100%',
3031
3045
  position: 'relative',
@@ -3059,8 +3073,7 @@ const useSectionStyles$6 = createUseStyles(theme => {
3059
3073
  color: theme?.palette?.font?.invertedDefault,
3060
3074
  marginBottom: '8px',
3061
3075
  fontSize: theme.typography.fontSize.subHead,
3062
- wordBreak: 'break-word',
3063
- letterSpacing: '3px'
3076
+ wordBreak: 'break-word'
3064
3077
  },
3065
3078
  heading: {
3066
3079
  margin: '0',
@@ -3071,11 +3084,11 @@ const useSectionStyles$6 = createUseStyles(theme => {
3071
3084
  }) => wordBreakValue || 'break-word'
3072
3085
  },
3073
3086
  description: {
3087
+ margin: `${theme.spacing.margin.tiny}px 0px`,
3074
3088
  color: theme?.palette?.font?.invertedDefault,
3075
- lineHeight: '32px',
3076
- fontWeight: '400',
3089
+ lineHeight: '24px',
3077
3090
  wordBreak: 'break-word',
3078
- fontSize: theme.typography.fontSize.description
3091
+ fontSize: theme.typography.fontSize.subHead
3079
3092
  },
3080
3093
  sideBannerImage: {
3081
3094
  width: '100%',
@@ -3083,44 +3096,37 @@ const useSectionStyles$6 = createUseStyles(theme => {
3083
3096
  objectFit: 'cover',
3084
3097
  objectPosition: '50% 50%'
3085
3098
  },
3086
- overlay: {
3087
- zIndex: 1,
3088
- position: 'absolute',
3089
- top: 0,
3090
- left: 0,
3091
- width: '100%',
3092
- height: '100%',
3093
- backgroundColor: 'rgba(0, 0, 0, 0.4)'
3094
- },
3095
3099
  '@media screen and (max-width: 767px)': {
3096
- heading: {
3097
- fontSize: theme.typography.fontSize.h2
3098
- },
3099
3100
  partialBackground: {
3100
3101
  display: 'none'
3101
3102
  },
3102
3103
  contentContainer: {
3103
- display: 'block'
3104
+ display: 'flex',
3105
+ flexFlow: 'column-reverse',
3106
+ justifyContent: 'center',
3107
+ padding: '0px'
3104
3108
  },
3105
- textContainer: {
3106
- position: 'absolute',
3107
- padding: '20px 20px',
3108
- height: '100%',
3109
- width: '100%',
3110
- zIndex: '999999'
3111
- // backgroundColor: theme?.palette?.background?.primary
3109
+ // textContainer: {
3110
+ // padding: '20px 20px',
3111
+ // height: '100%',
3112
+ // width: '100%'
3113
+ // // backgroundColor: theme?.palette?.background?.primary
3114
+ // },
3115
+ subTitleHeading: {
3116
+ color: theme?.palette?.font?.tertiary
3117
+ },
3118
+ heading: {
3119
+ color: theme?.palette?.font?.default
3112
3120
  },
3113
-
3114
3121
  description: {
3115
- fontSize: '16px',
3116
- lineHeight: '24px'
3122
+ color: theme?.palette?.font?.primary
3117
3123
  },
3118
3124
  centerBgImageContainer: {
3119
3125
  width: ({
3120
3126
  isCustomWebsite
3121
3127
  }) => isCustomWebsite ? '100%' : 'unset',
3122
- position: 'relative',
3123
- height: '40rem',
3128
+ // position: 'relative',
3129
+ // height: '34rem',
3124
3130
  minHeight: '200px',
3125
3131
  paddingBottom: '0'
3126
3132
  },
@@ -3148,16 +3154,12 @@ const Section$3 = ({
3148
3154
  isCustomWebsite,
3149
3155
  countryCode
3150
3156
  } = useContext(PageContext);
3151
- const hasContent = Boolean(nodeData.cardHeading.metadata.value || nodeData.title.metadata.valu || nodeData.description.metadata.value);
3152
3157
  const classes = useSectionStyles$6({
3153
3158
  wordBreakValue: wordBreakValue(countryCode),
3154
3159
  imageUrl: nodeData.image.metadata.value,
3155
3160
  containerWidth,
3156
- isCustomWebsite,
3157
- hasContent
3161
+ isCustomWebsite
3158
3162
  });
3159
- const mobileImageSrc = isMobile && nodeData?.mobileImage?.metadata?.value;
3160
- const desktopImageSrc = nodeData?.image?.metadata?.value;
3161
3163
  return /*#__PURE__*/React.createElement("section", {
3162
3164
  className: classes.bannerCarouselCenterSection
3163
3165
  }, /*#__PURE__*/React.createElement("div", {
@@ -3195,10 +3197,8 @@ const Section$3 = ({
3195
3197
  size: isMobile ? 'small' : 'medium'
3196
3198
  }))) : null), /*#__PURE__*/React.createElement("div", {
3197
3199
  className: classes?.centerBgImageContainer
3198
- }, /*#__PURE__*/React.createElement("div", {
3199
- className: hasContent && classes?.overlay
3200
- }), /*#__PURE__*/React.createElement(NextImageRenderer, {
3201
- src: mobileImageSrc ? mobileImageSrc : desktopImageSrc,
3200
+ }, /*#__PURE__*/React.createElement(NextImageRenderer, {
3201
+ src: nodeData.image.metadata.value,
3202
3202
  className: classes?.centerBgImage,
3203
3203
  sectionIndex: sectionIndex
3204
3204
  }))));
@@ -3238,6 +3238,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3238
3238
  return {
3239
3239
  section: {
3240
3240
  padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3241
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
3241
3242
  '&, & *, & *:before, & *:after': {
3242
3243
  fontFamily: theme?.typography?.fontFamily,
3243
3244
  boxSizing: 'border-box'
@@ -3281,7 +3282,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3281
3282
  }
3282
3283
  },
3283
3284
  imageBorder: {
3284
- border: `2px solid ${theme?.palette?.primary?.light}`,
3285
+ // border: `2px solid ${theme?.palette?.primary?.light}`,
3285
3286
  borderRadius: theme?.shape?.borderRadius?.small,
3286
3287
  position: 'absolute',
3287
3288
  width: '100%',
@@ -3305,7 +3306,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
3305
3306
  subTitleHeading: {
3306
3307
  marginBottom: '8px',
3307
3308
  fontSize: theme?.typography?.fontSize?.subHead,
3308
- letterSpacing: '3px',
3309
3309
  color: theme?.palette?.font?.default,
3310
3310
  wordBreak: 'break-word'
3311
3311
  },
@@ -3360,11 +3360,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3360
3360
  textAlign: 'center'
3361
3361
  },
3362
3362
  heading: {
3363
- fontSize: `${theme?.typography?.fontSize?.h2}px`
3364
- },
3365
- subTitleHeading: {
3366
- letterSpacing: '3px',
3367
- lineHeight: '17px'
3363
+ fontSize: `${theme?.typography?.fontSize?.h3}px`
3368
3364
  },
3369
3365
  description: {
3370
3366
  margin: '16px 0'
@@ -3493,11 +3489,12 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3493
3489
  left: '0',
3494
3490
  width: '100%',
3495
3491
  height: '50%',
3496
- position: 'absolute',
3497
- background: theme?.palette?.background?.primary
3492
+ position: 'absolute'
3493
+ // background: theme?.palette?.background?.primary
3498
3494
  },
3495
+
3499
3496
  sectionContainer: {
3500
- backgroundColor: theme?.palette?.background?.default,
3497
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
3501
3498
  boxShadow: theme?.shadows?.secondary,
3502
3499
  borderRadius: theme?.shape?.borderRadius?.regular,
3503
3500
  padding: theme.spacing.padding.small,
@@ -3515,18 +3512,18 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3515
3512
  contentContainer: {
3516
3513
  display: 'flex',
3517
3514
  alignItems: 'center',
3518
- gap: '16px'
3515
+ justifyContent: 'space-between'
3519
3516
  },
3520
3517
  title: {
3521
3518
  fontSize: theme.typography.fontSize.h6,
3522
3519
  lineHeight: '32px',
3523
3520
  color: theme?.palette?.font?.primary,
3524
- wordBreak: 'break-word',
3525
- flex: 1
3521
+ width: 'calc(50% - 80px)',
3522
+ wordBreak: 'break-word'
3526
3523
  },
3527
3524
  inputContainer: {
3528
3525
  display: 'flex',
3529
- flex: 1
3526
+ width: '50%'
3530
3527
  },
3531
3528
  inputFieldDiv: {
3532
3529
  display: 'flex',
@@ -3643,56 +3640,59 @@ async function postApiCallForm(baseURLs, data, extraProps) {
3643
3640
  }
3644
3641
  }
3645
3642
 
3646
- const inputStyles = createUseStyles(theme => ({
3647
- inputField: {
3648
- width: '100%',
3649
- maxWidth: '314px',
3650
- background: theme?.palette?.background?.default,
3651
- border: `1px solid ${theme?.palette?.border?.secondary}`,
3652
- borderRadius: theme?.shape?.borderRadius?.regular,
3653
- padding: '14px 12px',
3654
- display: 'flex',
3655
- fontWeight: '400',
3656
- fontSize: '16px',
3657
- lineHeight: '20px',
3658
- verticalalign: 'top',
3659
- resize: 'none',
3660
- fontFamily: 'inherit',
3661
- '&::placeholder': {
3643
+ const inputStyles = createUseStyles(theme => {
3644
+ console.log('themexxxxdsf', theme);
3645
+ return {
3646
+ inputField: {
3647
+ width: '100%',
3648
+ maxWidth: '314px',
3649
+ background: theme?.palette?.background?.default,
3650
+ border: `1px solid ${theme?.isGradient ? theme?.gradientColors?.AccentColor : theme?.solidColors?.inputBorderColor}`,
3651
+ borderRadius: theme?.shape?.borderRadius?.regular,
3652
+ padding: '14px 12px',
3653
+ display: 'flex',
3662
3654
  fontWeight: '400',
3663
3655
  fontSize: '16px',
3664
3656
  lineHeight: '20px',
3665
- color: theme?.palette?.font?.primary,
3666
- fontFamily: theme?.typography?.fontFamily
3657
+ verticalalign: 'top',
3658
+ resize: 'none',
3659
+ fontFamily: 'inherit',
3660
+ '&::placeholder': {
3661
+ fontWeight: '400',
3662
+ fontSize: '16px',
3663
+ lineHeight: '20px',
3664
+ color: theme?.palette?.font?.primary,
3665
+ fontFamily: theme?.typography?.fontFamily
3666
+ },
3667
+ '&:focus': {
3668
+ outline: 'none'
3669
+ }
3667
3670
  },
3668
- '&:focus': {
3669
- outline: 'none'
3670
- }
3671
- },
3672
- error: {
3673
- borderBottom: '1px solid red',
3674
- position: 'absolute',
3675
- bottom: '-8px',
3676
- width: 'calc(100% - 24px)'
3677
- },
3678
- errorBorder: {
3679
- border: `1px solid red`,
3680
- color: 'red',
3681
- '&::placeholder': {
3671
+ error: {
3672
+ borderBottom: '1px solid red',
3673
+ position: 'absolute',
3674
+ bottom: '-8px',
3675
+ width: 'calc(100% - 24px)'
3676
+ },
3677
+ errorBorder: {
3678
+ border: `1px solid red`,
3682
3679
  color: 'red',
3683
- opacity: '0.5'
3684
- }
3685
- },
3686
- '@media screen and (max-width: 767px)': {
3687
- inputField: {
3688
- width: '100%',
3689
- maxWidth: 'unset'
3680
+ '&::placeholder': {
3681
+ color: 'red',
3682
+ opacity: '0.5'
3683
+ }
3690
3684
  },
3691
- error: {
3692
- bottom: '-2px'
3685
+ '@media screen and (max-width: 767px)': {
3686
+ inputField: {
3687
+ width: '100%',
3688
+ maxWidth: 'unset'
3689
+ },
3690
+ error: {
3691
+ bottom: '-2px'
3692
+ }
3693
3693
  }
3694
- }
3695
- }));
3694
+ };
3695
+ });
3696
3696
 
3697
3697
  function Input({
3698
3698
  data,
@@ -3705,9 +3705,12 @@ function Input({
3705
3705
  const {
3706
3706
  onChange,
3707
3707
  onBlur,
3708
- onFocus
3708
+ onFocus,
3709
+ theme
3709
3710
  } = props;
3710
- const classes = inputStyles();
3711
+ const classes = inputStyles({
3712
+ theme
3713
+ });
3711
3714
  const Comp = inputType;
3712
3715
  return /*#__PURE__*/React.createElement(Comp, _extends({}, inputType === 'input' ? {
3713
3716
  type: 'text'
@@ -3818,7 +3821,8 @@ function SubscribeToNewsletter({
3818
3821
  value: inputVal,
3819
3822
  isValid: isValid,
3820
3823
  style: {
3821
- padding: '12px 16px'
3824
+ padding: '15px 24px 15px 12px',
3825
+ maxWidth: '100%'
3822
3826
  },
3823
3827
  inputType: 'input',
3824
3828
  onChange: e => {
@@ -3842,14 +3846,16 @@ function SubscribeToNewsletter({
3842
3846
  },
3843
3847
  onClick: () => handleSubmit(),
3844
3848
  type: nodeData?.cta?.metadata?.type,
3845
- size: 'small',
3849
+ size: isMobile ? 'small' : 'medium',
3846
3850
  styling: isMobile ? {
3847
- marginTop: '12px'
3851
+ marginTop: '12px',
3852
+ border: 'none'
3848
3853
  } : {
3849
3854
  maxWidth: '200px',
3850
3855
  whiteSpace: 'nowrap',
3851
3856
  overflow: 'hidden',
3852
- textOverflow: 'ellipsis'
3857
+ textOverflow: 'ellipsis',
3858
+ border: 'none'
3853
3859
  },
3854
3860
  disabled: btnDisabled
3855
3861
  })))))));
@@ -3862,7 +3868,7 @@ var index$h = /*#__PURE__*/Object.freeze({
3862
3868
 
3863
3869
  const useTestimonialStyles = createUseStyles(theme => ({
3864
3870
  testimonialContainer: {
3865
- background: theme?.palette?.background?.primary,
3871
+ // background: theme?.palette?.background?.primary,
3866
3872
  overflow: 'hidden',
3867
3873
  padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3868
3874
  '&, & *, & *:before, & *:after': {
@@ -3880,7 +3886,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3880
3886
  } = {}) => containerWidth
3881
3887
  },
3882
3888
  testimonialText: {
3883
- color: theme?.palette?.font?.default,
3889
+ color: theme?.palette?.font?.secondary,
3884
3890
  fontSize: theme.typography.fontSize.subHead,
3885
3891
  wordBreak: 'break-word',
3886
3892
  textTransform: 'uppercase'
@@ -3904,7 +3910,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3904
3910
  position: 'relative',
3905
3911
  height: 'calc(100% - 12px)',
3906
3912
  width: 'calc(100% - 24px)',
3907
- background: theme?.palette?.background?.default,
3913
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
3908
3914
  boxShadow: theme?.shadows?.primary,
3909
3915
  borderRadius: theme?.shape?.borderRadius?.regular
3910
3916
  },
@@ -3929,10 +3935,10 @@ const useTestimonialStyles = createUseStyles(theme => ({
3929
3935
  reviewText: {
3930
3936
  // padding: '48px 41px 0 48px',
3931
3937
  marginBottom: theme.spacing.margin.tiny,
3932
- fontSize: theme.typography.fontSize.body,
3938
+ fontSize: theme.typography.fontSize.subHead,
3933
3939
  wordBreak: 'break-word',
3934
- color: theme?.palette?.font?.primary,
3935
- lineHeight: '26px'
3940
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font2,
3941
+ lineHeight: '22px'
3936
3942
  },
3937
3943
  userContainer: {
3938
3944
  display: 'flex',
@@ -3951,6 +3957,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3951
3957
  height: '64px',
3952
3958
  borderRadius: '32px',
3953
3959
  background: '#666666',
3960
+ marginRight: '16px',
3954
3961
  flexShrink: '0'
3955
3962
  },
3956
3963
  userImage: {
@@ -3960,7 +3967,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3960
3967
  marginRight: '16px'
3961
3968
  },
3962
3969
  userName: {
3963
- color: theme?.palette?.font?.default,
3970
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font2,
3964
3971
  margin: '0',
3965
3972
  fontSize: theme.typography.fontSize.h5,
3966
3973
  // paddingTop: '16px',
@@ -4077,7 +4084,7 @@ function Section$1({
4077
4084
  className: classes.quoteIcon
4078
4085
  }, /*#__PURE__*/React.createElement(QuotesComponent, null)), /*#__PURE__*/React.createElement("div", {
4079
4086
  className: classes.cardDetails
4080
- }, /*#__PURE__*/React.createElement("p", {
4087
+ }, /*#__PURE__*/React.createElement("div", {
4081
4088
  ref: el?.cardTextContent?.refSetter,
4082
4089
  className: classes.reviewText,
4083
4090
  dangerouslySetInnerHTML: {
@@ -4122,7 +4129,7 @@ function Section$1({
4122
4129
  dangerouslySetInnerHTML: {
4123
4130
  __html: nodeData?.carouselHeading?.metadata?.value
4124
4131
  }
4125
- })), /*#__PURE__*/React.createElement("h2", {
4132
+ })), /*#__PURE__*/React.createElement("div", {
4126
4133
  className: classes.testimonialHeader
4127
4134
  }, /*#__PURE__*/React.createElement("span", {
4128
4135
  ref: nodeData?.title?.refSetter,
@@ -4373,7 +4380,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4373
4380
  marginBottom: '8px'
4374
4381
  },
4375
4382
  videoTestimonialTitle: {
4376
- fontSize: theme.typography.fontSize.h2,
4383
+ fontSize: theme.typography.fontSize.h1,
4377
4384
  // lineHeight: '71px',
4378
4385
  letterSpacing: '-3px',
4379
4386
  fontWeight: theme.typography.fontWeight.bold,
@@ -4383,16 +4390,15 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4383
4390
  },
4384
4391
  videoCarousel: {
4385
4392
  display: 'flex',
4393
+ alignItems: 'center',
4386
4394
  justifyContent: 'flex-start',
4387
- gap: '40px'
4395
+ gap: theme.spacing.margin.small
4388
4396
  },
4389
4397
  iframeSuperContainer: {
4390
4398
  height: '100%',
4391
4399
  width: '100%',
4392
4400
  display: 'flex',
4393
- alignItems: 'center',
4394
- marginTop: '16px',
4395
- borderRadius: '8px'
4401
+ alignItems: 'center'
4396
4402
  },
4397
4403
  iframeContainer: {
4398
4404
  width: '100%',
@@ -4422,13 +4428,13 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4422
4428
  fontWeight: theme.typography.fontWeight.bold
4423
4429
  },
4424
4430
  videoDetailsContent: {
4425
- fontSize: theme.typography.fontSize.body,
4431
+ fontSize: theme.typography.fontSize.subHead,
4426
4432
  lineHeight: '24px',
4427
4433
  wordBreak: 'break-word',
4428
4434
  color: theme.palette.font.primary
4429
4435
  },
4430
4436
  videoDetailsSubContent: {
4431
- fontSize: theme.typography.fontSize.h6,
4437
+ fontSize: theme.typography.fontSize.subHead,
4432
4438
  lineHeight: '24px',
4433
4439
  margin: '0',
4434
4440
  color: theme.palette.font.primary,
@@ -4555,7 +4561,7 @@ const useVideoStyles = createUseStyles(theme => {
4555
4561
  padding: ({
4556
4562
  isMobile
4557
4563
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4558
- backgroundColor: theme?.palette?.background?.primary,
4564
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
4559
4565
  '&, & *, & *:before, & *:after': {
4560
4566
  fontFamily: theme?.typography?.fontFamily,
4561
4567
  boxSizing: 'border-box'
@@ -4563,7 +4569,14 @@ const useVideoStyles = createUseStyles(theme => {
4563
4569
  '& h3': {
4564
4570
  marginTop: '0'
4565
4571
  }
4572
+ // '& h2,& h3': {
4573
+ // fontWeight: '500',
4574
+ // '& b,& strong': {
4575
+ // fontWeight: '700'
4576
+ // }
4577
+ // }
4566
4578
  },
4579
+
4567
4580
  sectionContainer: {
4568
4581
  margin: '0 auto',
4569
4582
  maxWidth: ({
@@ -4578,8 +4591,7 @@ const useVideoStyles = createUseStyles(theme => {
4578
4591
  fontSize: theme.typography.fontSize.subHead,
4579
4592
  textTransform: 'uppercase',
4580
4593
  lineHeight: '20px',
4581
- color: theme?.palette?.font?.default,
4582
- letterSpacing: '3px',
4594
+ color: theme?.palette?.font?.primary,
4583
4595
  wordBreak: 'break-word'
4584
4596
  },
4585
4597
  videoTitle: {
@@ -4710,7 +4722,7 @@ const SingleSlide$1 = props => {
4710
4722
  videoUrl: data.videoFrame.metadata?.value
4711
4723
  })), /*#__PURE__*/React.createElement("div", {
4712
4724
  className: classes.videoDetailsContainer
4713
- }, /*#__PURE__*/React.createElement("h3", {
4725
+ }, /*#__PURE__*/React.createElement("div", {
4714
4726
  ref: data?.videoTitle?.refSetter,
4715
4727
  className: classes.videoDetailsHeading,
4716
4728
  dangerouslySetInnerHTML: {
@@ -4766,7 +4778,7 @@ function Video({
4766
4778
  dangerouslySetInnerHTML: {
4767
4779
  __html: videoData.videoHeading.metadata.value
4768
4780
  }
4769
- })), /*#__PURE__*/React.createElement("h2", {
4781
+ })), /*#__PURE__*/React.createElement("div", {
4770
4782
  className: classes.videoTitle
4771
4783
  }, /*#__PURE__*/React.createElement("span", {
4772
4784
  ref: videoData?.videoTitle?.refSetter,
@@ -4816,7 +4828,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4816
4828
  top: '0',
4817
4829
  left: '0',
4818
4830
  height: '50%',
4819
- background: theme?.palette?.background?.primary,
4831
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
4820
4832
  width: '100%'
4821
4833
  },
4822
4834
  content: {
@@ -4856,16 +4868,17 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4856
4868
  height: 'calc(100% - 12px)'
4857
4869
  },
4858
4870
  cardContent: {
4859
- padding: '24px',
4871
+ padding: theme.spacing.padding.tiny,
4860
4872
  height: '100%',
4861
4873
  display: 'flex',
4862
4874
  flexDirection: 'column'
4863
4875
  },
4864
4876
  cardHeading: {
4865
- fontSize: theme.typography.fontSize.h6,
4877
+ fontSize: theme.typography.fontSize.h5,
4878
+ lineHeight: '32px',
4866
4879
  fontWeight: theme.typography.fontWeight.bold,
4867
4880
  color: theme?.palette?.font?.default,
4868
- margin: `16px 0px`,
4881
+ margin: `${theme.spacing.margin.tiny}px 0px`,
4869
4882
  wordBreak: 'break-word'
4870
4883
  },
4871
4884
  imageContainer: {
@@ -4886,8 +4899,8 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4886
4899
  marginTop: theme.spacing.margin.tiny
4887
4900
  },
4888
4901
  cardPara: {
4889
- fontSize: theme.typography.fontSize.body,
4890
- lineHeight: '22px',
4902
+ fontSize: theme.typography.fontSize.subHead,
4903
+ lineHeight: '24px',
4891
4904
  color: theme?.palette?.font?.primary,
4892
4905
  margin: '0',
4893
4906
  wordBreak: 'break-word'
@@ -5021,7 +5034,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5021
5034
  padding: ({
5022
5035
  isMobile
5023
5036
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5024
- backgroundColor: theme?.palette?.background?.default,
5037
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
5025
5038
  '&, & *, & *:before, & *:after': {
5026
5039
  fontFamily: theme?.typography?.fontFamily,
5027
5040
  boxSizing: 'border-box'
@@ -5038,7 +5051,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5038
5051
  subHeading: {
5039
5052
  fontSize: theme.typography.fontSize.subHead,
5040
5053
  marginBottom: '8px',
5041
- color: theme?.palette?.font?.default,
5054
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
5042
5055
  wordBreak: 'break-word',
5043
5056
  textTransform: 'uppercase',
5044
5057
  letterSpacing: '3px'
@@ -5048,7 +5061,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5048
5061
  fontWeight: theme.typography.fontWeight.bold,
5049
5062
  lineHeight: 'normal',
5050
5063
  margin: '0',
5051
- color: theme?.palette?.font?.default,
5064
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
5052
5065
  wordBreak: 'break-word',
5053
5066
  marginBottom: theme.spacing.margin.tiny
5054
5067
  },
@@ -5059,16 +5072,17 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5059
5072
  padding: '48px 0px'
5060
5073
  },
5061
5074
  textPara: {
5075
+ background: 'white',
5076
+ borderRadius: '8px',
5077
+ padding: '40px',
5078
+ lineHeight: '24px',
5062
5079
  color: theme?.palette?.font?.primary,
5063
5080
  wordBreak: 'break-word',
5064
- fontSize: theme.typography.fontSize.body,
5065
- lineHeight: '24px'
5081
+ fontSize: theme.typography.fontSize.subHead,
5082
+ boxShadow: '0px 2px 8px 0px rgba(0, 0, 0, 0.08)'
5066
5083
  },
5067
5084
  '@media screen and (max-width: 767px)': {
5068
5085
  textContent: {
5069
- display: 'flex',
5070
- flexDirection: 'column',
5071
- lineHeight: '22px',
5072
5086
  gap: '16px',
5073
5087
  padding: '16px 0px'
5074
5088
  }
@@ -5134,9 +5148,8 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5134
5148
  container: {
5135
5149
  background: theme?.palette?.background?.default,
5136
5150
  padding: ({
5137
- isMobile,
5138
- cardsCount
5139
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : cardsCount === 1 ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.regular}px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px` : `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5151
+ isMobile
5152
+ } = {}) => 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`,
5140
5153
  '&, & *, & *:before, & *:after': {
5141
5154
  fontFamily: theme?.typography?.fontFamily,
5142
5155
  boxSizing: 'border-box'
@@ -5156,26 +5169,19 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5156
5169
  } = {}) => containerWidth
5157
5170
  },
5158
5171
  cardHeading: {
5159
- color: theme?.palette?.font?.default,
5172
+ color: theme?.palette?.font?.secondary,
5160
5173
  fontSize: theme.typography.fontSize.subHead,
5161
5174
  letterSpacing: '3px',
5162
5175
  wordBreak: 'break-word',
5163
- textTransform: 'uppercase',
5164
- textAlign: ({
5165
- cardsCount,
5166
- isMobile
5167
- }) => cardsCount === 1 || isMobile ? 'center' : 'left'
5176
+ textTransform: 'uppercase'
5168
5177
  },
5169
5178
  // sliderContainer: {
5170
5179
  // marginRight: '-70px'
5171
5180
  // },
5172
- cursorPointer: {
5173
- cursor: 'pointer'
5174
- },
5181
+
5175
5182
  singleCard: {
5176
- borderRadius: '24px',
5177
5183
  margin: '0 1px',
5178
- width: isMobile => isMobile ? 'calc(100% - 24px)' : 'calc(100% - 24px)',
5184
+ width: 'calc(100% - 2px)',
5179
5185
  position: 'relative',
5180
5186
  paddingBottom: '59.83%' // keeping aspect ratio 585x350
5181
5187
  },
@@ -5183,16 +5189,10 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5183
5189
  contentRow: {
5184
5190
  display: 'grid',
5185
5191
  gridTemplateColumns: ({
5186
- slidesToShow,
5187
- cardsCount
5188
- } = {}) => {
5189
- if (cardsCount === 1) return '';
5190
- return `repeat(${slidesToShow},minmax(0, 1fr))`;
5191
- }
5192
+ slidesToShow
5193
+ } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
5192
5194
  },
5193
5195
  carouselImage: {
5194
- height: '360px',
5195
- borderRadius: '22px',
5196
5196
  objectFit: 'cover',
5197
5197
  position: 'absolute',
5198
5198
  left: 0,
@@ -5202,10 +5202,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5202
5202
  },
5203
5203
  title: {
5204
5204
  fontSize: theme.typography.fontSize.h2,
5205
- textAlign: ({
5206
- cardsCount,
5207
- isMobile
5208
- }) => cardsCount === 1 || isMobile ? 'center' : 'left',
5209
5205
  lineHeight: '70px',
5210
5206
  letterSpacing: '-3px',
5211
5207
  color: theme?.palette?.font?.default,
@@ -5216,6 +5212,14 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5216
5212
  textOverflow: 'ellipsis'
5217
5213
  },
5218
5214
  '@media (max-width: 768px)': {
5215
+ // container: {
5216
+ // padding: '60px 20px'
5217
+ // },
5218
+
5219
+ // cardHeading: {
5220
+ // marginLeft: '3px'
5221
+ // },
5222
+
5219
5223
  title: {
5220
5224
  lineHeight: '36px',
5221
5225
  letterSpacing: '-1px',
@@ -5225,6 +5229,10 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5225
5229
  whiteSpace: 'nowrap',
5226
5230
  textOverflow: 'ellipsis'
5227
5231
  }
5232
+
5233
+ // sliderContainer: {
5234
+ // marginRight: '-20px'
5235
+ // }
5228
5236
  }
5229
5237
  };
5230
5238
  });
@@ -5259,18 +5267,11 @@ function PhotoGallery({
5259
5267
  centerPadding: isMobile ? '10px 0 0' : '80px 0 0',
5260
5268
  arrows: false
5261
5269
  };
5262
- const handleClick = link => {
5263
- if (link) {
5264
- window.open(link, '_blank');
5265
- }
5266
- };
5267
5270
  const carouselContent = carouselList?.map((el, idx) => {
5268
- const link = el?.cardImage?.metadata?.link;
5269
5271
  return /*#__PURE__*/React.createElement(Fragment, {
5270
5272
  key: idx
5271
5273
  }, /*#__PURE__*/React.createElement("div", {
5272
- onClick: () => handleClick(link),
5273
- className: `${classes.singleCard} ${link && classes.cursorPointer}`
5274
+ className: classes.singleCard
5274
5275
  }, /*#__PURE__*/React.createElement(NextImageRenderer, {
5275
5276
  src: el?.cardImage?.metadata?.value,
5276
5277
  ref: el?.cardImage?.refSetter,
@@ -5312,10 +5313,10 @@ var index$b = /*#__PURE__*/Object.freeze({
5312
5313
  const useFaqListStyles = createUseStyles(theme => ({
5313
5314
  section: {
5314
5315
  width: '100%',
5316
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
5315
5317
  padding: ({
5316
5318
  isMobile
5317
5319
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5318
- backgroundColor: theme?.palette?.background?.primary,
5319
5320
  '&, & *, & *:before, & *:after': {
5320
5321
  fontFamily: theme?.typography?.fontFamily,
5321
5322
  boxSizing: 'border-box'
@@ -5374,7 +5375,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5374
5375
  },
5375
5376
  content: {
5376
5377
  color: theme?.palette?.font.primary,
5377
- fontSize: theme.typography.fontSize.body,
5378
+ fontSize: theme.typography.fontSize.subHead,
5378
5379
  lineHeight: '24px',
5379
5380
  maxHeight: ({
5380
5381
  isSelected
@@ -5383,19 +5384,8 @@ const useFaqListStyles = createUseStyles(theme => ({
5383
5384
  overflow: 'hidden'
5384
5385
  },
5385
5386
  '@media screen and (max-width: 767px)': {
5386
- sectionSubheading: {
5387
- textAlign: 'center'
5388
- },
5389
- sectionHeading: {
5390
- textAlign: 'center'
5391
- },
5392
- title: {
5393
- fontSize: '14px',
5394
- lineHeight: '22px'
5395
- },
5396
5387
  content: {
5397
- fontSize: '14px',
5398
- lineHeight: '22px'
5388
+ lineHeight: '20px'
5399
5389
  },
5400
5390
  basicCardContainer: {
5401
5391
  '&:last-child': {
@@ -5474,8 +5464,8 @@ const Accordion = ({
5474
5464
  }), /*#__PURE__*/React.createElement("div", {
5475
5465
  className: classes.arrowButton
5476
5466
  }, /*#__PURE__*/React.createElement(ArrowButton, {
5477
- down: !isSelected,
5478
- up: isSelected,
5467
+ down: isSelected,
5468
+ up: !isSelected,
5479
5469
  size: "small"
5480
5470
  }))), /*#__PURE__*/React.createElement("div", {
5481
5471
  ref: item?.answer?.refSetter,
@@ -5496,8 +5486,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5496
5486
  padding: ({
5497
5487
  isMobile
5498
5488
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5499
- // backgroundColor: theme?.palette?.background?.primary,
5500
-
5489
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
5501
5490
  '&, & *, & *:before, & *:after': {
5502
5491
  fontFamily: theme?.typography?.fontFamily,
5503
5492
  boxSizing: 'border-box'
@@ -5550,7 +5539,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5550
5539
  },
5551
5540
  nodeTitle: {
5552
5541
  color: theme?.palette?.font.default,
5553
- fontSize: theme.typography.fontSize.h4,
5542
+ fontSize: theme.typography.fontSize.h3,
5554
5543
  fontWeight: theme.typography.fontWeight.bold,
5555
5544
  lineHeight: 'normal',
5556
5545
  margin: '0 0 20px',
@@ -5558,7 +5547,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5558
5547
  },
5559
5548
  nodePara: {
5560
5549
  color: theme?.palette?.font.tertiary,
5561
- fontSize: theme.typography.fontSize.body,
5550
+ fontSize: theme.typography.fontSize.subHead,
5562
5551
  lineHeight: '24px',
5563
5552
  wordBreak: 'break-word'
5564
5553
  },
@@ -5577,14 +5566,10 @@ const useTextGridStyles = createUseStyles(theme => ({
5577
5566
  margin: '0 6px'
5578
5567
  },
5579
5568
  nodeTitle: {
5580
- fontSize: '20px',
5581
5569
  marginBottom: '0px'
5582
5570
  },
5583
5571
  nodePara: {
5584
- fontSize: '14px',
5585
- display: 'block',
5586
- margin: '16px 0 !important',
5587
- lineHeight: '22px'
5572
+ margin: '16px 0'
5588
5573
  },
5589
5574
  heading: {
5590
5575
  letterSpacing: '-1px'
@@ -5820,7 +5805,7 @@ const useCourseStyles = createUseStyles(theme => {
5820
5805
  textDecoration: 'none !important'
5821
5806
  },
5822
5807
  courseCardStrikePrice: {
5823
- fontSize: '14px',
5808
+ fontSize: '10px',
5824
5809
  fontWeight: '600',
5825
5810
  lineHeight: '13px',
5826
5811
  color: '#FE9B0E',
@@ -5988,7 +5973,8 @@ const formatCurrency = (countryCode, value, currencySymbol) => {
5988
5973
  function CourseCard({
5989
5974
  card,
5990
5975
  countryCode,
5991
- currencySymbol
5976
+ currencySymbol,
5977
+ utmParams
5992
5978
  }) {
5993
5979
  const classes = useCourseStyles();
5994
5980
  const {
@@ -5998,7 +5984,7 @@ function CourseCard({
5998
5984
  const defaultCardImg = 'https://cp-assets-public.s3.ap-south-1.amazonaws.com/cams/cards-icon/default_course.png';
5999
5985
  const price = formatCurrency(countryCode, card?.price, currencySymbol);
6000
5986
  const finalPrice = formatCurrency(countryCode, card?.finalPrice, currencySymbol);
6001
- const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'Buy Now';
5987
+ const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'Buy Now';
6002
5988
  const offText = countryCode === 'KR' ? '할인' : 'OFF';
6003
5989
  return /*#__PURE__*/React.createElement("div", {
6004
5990
  className: classes.singleCard
@@ -6038,7 +6024,7 @@ function CourseCard({
6038
6024
  className: classes.courseCardStrikePrice
6039
6025
  }, /*#__PURE__*/React.createElement("span", null, price), " ", discount > 0 && discount + `% ${offText}`) : null), /*#__PURE__*/React.createElement("a", {
6040
6026
  className: classes.coursesAnchorTag,
6041
- href: isEdit ? null : card?.shareableLink
6027
+ href: isEdit ? null : utmParams ? card?.shareableLink + `?flyy_utm_referrer=${utmParams}` : card?.shareableLink
6042
6028
  }, /*#__PURE__*/React.createElement("div", {
6043
6029
  className: classes.courseCardBuyBtn
6044
6030
  }, buyNowText)))));
@@ -6068,6 +6054,7 @@ function courses({
6068
6054
  isMobile
6069
6055
  });
6070
6056
  const [nodeData] = sectionData?.components;
6057
+ const [utmParams, setUtmParams] = useState('');
6071
6058
  const handleApiCall = () => {
6072
6059
  if (baseURLs) {
6073
6060
  getCourseList(baseURLs, hashToken).then(response => {
@@ -6113,6 +6100,11 @@ function courses({
6113
6100
  else {
6114
6101
  handleApiCall();
6115
6102
  }
6103
+ const params = new URLSearchParams(window.location.search);
6104
+ const utmParams = params.get('flyy_utm_referrer');
6105
+ if (utmParams) {
6106
+ setUtmParams(utmParams);
6107
+ }
6116
6108
  }, []);
6117
6109
  const settings = {
6118
6110
  className: classes.slickContainer,
@@ -6150,7 +6142,8 @@ function courses({
6150
6142
  key: index,
6151
6143
  card: card,
6152
6144
  countryCode: countryCode,
6153
- currencySymbol: currencySymbol
6145
+ currencySymbol: currencySymbol,
6146
+ utmParams: utmParams
6154
6147
  })) : fallBackImages?.map((dt, ind) => {
6155
6148
  return /*#__PURE__*/React.createElement(Fragment, {
6156
6149
  key: ind
@@ -6196,8 +6189,7 @@ const useTeamStyles = createUseStyles(theme => {
6196
6189
  padding: ({
6197
6190
  isMobile
6198
6191
  } = {}) => 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`,
6199
- // backgroundColor: theme?.palette?.background?.primary,
6200
-
6192
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
6201
6193
  '&, & *, & *:before, & *:after': {
6202
6194
  fontFamily: theme?.typography?.fontFamily,
6203
6195
  boxSizing: 'border-box'
@@ -6219,7 +6211,7 @@ const useTeamStyles = createUseStyles(theme => {
6219
6211
  letterSpacing: '3px',
6220
6212
  marginBottom: '8px',
6221
6213
  color: theme?.palette?.font?.default,
6222
- // wordBreak: 'break-word',
6214
+ wordBreak: 'break-word',
6223
6215
  position: 'relative'
6224
6216
  },
6225
6217
  partialBackground: {
@@ -6251,13 +6243,13 @@ const useTeamStyles = createUseStyles(theme => {
6251
6243
  singleSlideContainer: {
6252
6244
  backgroundColor: theme?.palette?.background?.default,
6253
6245
  margin: '20px',
6254
- width: 'calc(100% - 24px)',
6246
+ width: 'calc(100% - 32px)',
6255
6247
  // height: 'calc(100% - 40px)',
6256
6248
  border: '3px solid #D8E0F0',
6257
6249
  borderRadius: theme?.shape?.borderRadius?.regular,
6258
6250
  padding: theme.spacing.padding.tiny,
6259
6251
  boxShadow: theme?.shadows?.primary,
6260
- minHeight: '320px'
6252
+ minHeight: '390px'
6261
6253
  },
6262
6254
  imageContainer: {
6263
6255
  minWidth: '100%',
@@ -6277,19 +6269,18 @@ const useTeamStyles = createUseStyles(theme => {
6277
6269
  },
6278
6270
  teamDetailsContainer: {
6279
6271
  textAlign: 'center',
6280
- margin: '20px 0 0'
6281
- // overflowWrap: 'break-word'
6272
+ margin: '20px 0 0',
6273
+ overflowWrap: 'break-word'
6282
6274
  },
6283
-
6284
6275
  teamDetailsHeading: {
6285
- fontSize: theme.typography.fontSize.h6,
6276
+ fontSize: theme.typography.fontSize.h5,
6286
6277
  fontWeight: theme.typography.fontWeight.bold,
6287
- lineHeight: '24px',
6278
+ lineHeight: '32px',
6288
6279
  margin: '0',
6289
6280
  color: theme?.palette?.font?.default
6290
6281
  },
6291
6282
  teamDetailsSubHeading: {
6292
- fontSize: theme.typography.fontSize.body,
6283
+ fontSize: theme.typography.fontSize.subHead,
6293
6284
  lineHeight: '24px',
6294
6285
  margin: '12px 0 0',
6295
6286
  color: theme?.palette?.font?.primary
@@ -6299,13 +6290,9 @@ const useTeamStyles = createUseStyles(theme => {
6299
6290
  // padding: '60px 20px'
6300
6291
  // },
6301
6292
  teamHeading: {
6302
- lineHeight: '20px',
6303
- margin: 0,
6304
- textAlign: 'center'
6293
+ lineHeight: '20px'
6305
6294
  },
6306
6295
  teamTitle: {
6307
- textAlign: 'center',
6308
- fontSize: theme.typography.fontSize.h3,
6309
6296
  lineHeight: '36px',
6310
6297
  letterSpacing: '-1px'
6311
6298
  },
@@ -6467,7 +6454,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6467
6454
  width: '100%',
6468
6455
  height: '50%',
6469
6456
  position: 'absolute',
6470
- background: theme?.palette?.background?.primary
6457
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2
6471
6458
  },
6472
6459
  sectionContainer: {
6473
6460
  backgroundColor: theme?.palette?.background?.default,
@@ -6733,6 +6720,7 @@ function FormEnquiry({
6733
6720
  }, /*#__PURE__*/React.createElement("div", {
6734
6721
  className: classes.inputDiv
6735
6722
  }, /*#__PURE__*/React.createElement(Input, {
6723
+ theme: theme,
6736
6724
  data: nodeData.nameField,
6737
6725
  value: inputVal.name,
6738
6726
  isValid: validData.nameValid,
@@ -6848,7 +6836,6 @@ const useSectionStyles = createUseStyles(theme => ({
6848
6836
  padding: ({
6849
6837
  isMobile
6850
6838
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6851
- backgroundColor: theme?.palette?.background?.default,
6852
6839
  '&, & *, & *:before, & *:after': {
6853
6840
  fontFamily: theme?.typography?.fontFamily,
6854
6841
  boxSizing: 'border-box'
@@ -6874,7 +6861,8 @@ const useSectionStyles = createUseStyles(theme => ({
6874
6861
  width: '100%',
6875
6862
  height: '50%',
6876
6863
  position: 'absolute',
6877
- background: theme?.palette?.background?.primary
6864
+ // background: theme?.palette?.background?.primary
6865
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.tertiaryBlue2
6878
6866
  },
6879
6867
  sectionContainer: {
6880
6868
  backgroundColor: theme?.palette?.background?.default,
@@ -6890,8 +6878,7 @@ const useSectionStyles = createUseStyles(theme => ({
6890
6878
  lineHeight: '71px',
6891
6879
  letterSpacing: '-3px',
6892
6880
  textAlign: 'left',
6893
- wordBreak: 'break-word',
6894
- textAlign: 'center'
6881
+ wordBreak: 'break-word'
6895
6882
  },
6896
6883
  contentContainer: {
6897
6884
  width: '100%',
@@ -6900,18 +6887,17 @@ const useSectionStyles = createUseStyles(theme => ({
6900
6887
  wordBreak: 'break-word'
6901
6888
  },
6902
6889
  leftContainer: {
6890
+ width: '50%',
6903
6891
  display: 'flex',
6904
6892
  flexDirection: 'column',
6905
- justifyContent: 'space-between',
6906
- flex: 1
6893
+ justifyContent: 'space-between'
6907
6894
  },
6908
6895
  subtitle: {
6909
6896
  margin: '0 0 auto 0',
6910
6897
  fontSize: theme.typography.fontSize.h6,
6911
6898
  color: theme?.palette?.font?.default,
6912
6899
  lineHeight: '32px',
6913
- margin: '16px 0',
6914
- textAlign: 'center'
6900
+ margin: '20px 0px'
6915
6901
  },
6916
6902
  addressContainer: {
6917
6903
  display: 'flex',
@@ -6927,7 +6913,8 @@ const useSectionStyles = createUseStyles(theme => ({
6927
6913
  width: '50%',
6928
6914
  display: 'flex',
6929
6915
  flexDirection: 'column',
6930
- justifyContent: 'space-between'
6916
+ justifyContent: 'space-between',
6917
+ padding: '0 0 0 80px'
6931
6918
  },
6932
6919
  inputDiv: {
6933
6920
  margin: '0 0 20px 0',
@@ -7002,7 +6989,7 @@ const useSectionStyles = createUseStyles(theme => ({
7002
6989
  textAlign: 'center'
7003
6990
  },
7004
6991
  subtitle: {
7005
- margin: '4px 0 24px 0',
6992
+ margin: '0 0 12px 0',
7006
6993
  textAlign: 'center',
7007
6994
  lineHeight: '26px'
7008
6995
  },
@@ -7111,6 +7098,10 @@ function Contact({
7111
7098
  className: classes.partialBackground
7112
7099
  }), /*#__PURE__*/React.createElement("div", {
7113
7100
  className: classes.sectionContainer
7101
+ }, /*#__PURE__*/React.createElement("div", {
7102
+ className: classes.contentContainer
7103
+ }, /*#__PURE__*/React.createElement("div", {
7104
+ className: classes.leftContainer
7114
7105
  }, /*#__PURE__*/React.createElement("h2", {
7115
7106
  className: classes.title
7116
7107
  }, /*#__PURE__*/React.createElement("span", {
@@ -7125,10 +7116,6 @@ function Contact({
7125
7116
  __html: nodeData?.subtitle?.metadata?.value
7126
7117
  }
7127
7118
  }), /*#__PURE__*/React.createElement("div", {
7128
- className: classes.contentContainer
7129
- }, /*#__PURE__*/React.createElement("div", {
7130
- className: classes.leftContainer
7131
- }, /*#__PURE__*/React.createElement("div", {
7132
7119
  className: classes.addressContainer
7133
7120
  }, /*#__PURE__*/React.createElement(NextImageRenderer, {
7134
7121
  className: classes?.telephoneImage,
@@ -7252,6 +7239,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7252
7239
  webinarSuperContainer: {
7253
7240
  display: 'flex',
7254
7241
  justifyContent: 'center',
7242
+ background: theme?.colors?.background1,
7255
7243
  padding: ({
7256
7244
  isMobile
7257
7245
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7262,7 +7250,14 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7262
7250
  '& h2,& h3,& p': {
7263
7251
  margin: '0'
7264
7252
  }
7253
+ // '& h2,& h3': {
7254
+ // fontWeight: '500',
7255
+ // '& b,& strong': {
7256
+ // fontWeight: '700'
7257
+ // }
7258
+ // }
7265
7259
  },
7260
+
7266
7261
  sectionContainer: {
7267
7262
  margin: '0 auto',
7268
7263
  maxWidth: ({
@@ -7373,7 +7368,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7373
7368
  margin: '0',
7374
7369
  letterSpacing: '-1px',
7375
7370
  wordBreak: wordBreakValue => wordBreakValue || 'break-word',
7376
- color: theme.palette.font.default
7371
+ color: theme?.colors?.font1
7377
7372
  },
7378
7373
  courseViewContainer: {
7379
7374
  width: '645px',
@@ -7406,6 +7401,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7406
7401
  courseDetailTag: {
7407
7402
  display: 'flex',
7408
7403
  alignItems: 'center',
7404
+ color: theme?.colors?.font1,
7409
7405
  marginRight: '20px',
7410
7406
  '& div': {
7411
7407
  fontSize: theme.typography.fontSize.subHead,
@@ -7415,7 +7411,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7415
7411
  courseDetailContent: {
7416
7412
  fontSize: theme.typography.fontSize.subHead,
7417
7413
  wordBreak: 'break-word',
7418
- color: theme.palette.font.primary,
7414
+ color: theme?.colors?.font1,
7419
7415
  whiteSpace: 'pre-wrap',
7420
7416
  width: '80%'
7421
7417
  },
@@ -7424,8 +7420,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7424
7420
  fontSize: theme.typography.fontSize.subHead,
7425
7421
  lineHeight: '24px',
7426
7422
  marginTop: '-20px',
7427
- color: '#00ADE7',
7428
- wordBreak: 'break-word'
7423
+ color: theme?.colors?.font1,
7424
+ wordBreak: 'break-word',
7425
+ textDecoration: 'underline'
7429
7426
  },
7430
7427
  courseDetailTime: {
7431
7428
  color: '#EB5757',
@@ -7593,7 +7590,7 @@ const SingleVideoSlide$1 = props => {
7593
7590
  }
7594
7591
  };
7595
7592
  const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
7596
- const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'BUY NOW';
7593
+ const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'BUY NOW';
7597
7594
  const registerNowText = countryCode === 'KR' ? '웨비나 신청하기' : 'REGISTER NOW';
7598
7595
  const momentLocale = countryCode === 'KR' ? 'ko' : 'in';
7599
7596
  if (countryCode === 'KR') {
@@ -7640,7 +7637,7 @@ const SingleVideoSlide$1 = props => {
7640
7637
  color: theme.palette.primary.main,
7641
7638
  width: "20px",
7642
7639
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7643
- })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
7640
+ })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("div", {
7644
7641
  ref: data?.videoTextContent?.refSetter,
7645
7642
  className: classes.courseDetailContent,
7646
7643
  dangerouslySetInnerHTML: {
@@ -7674,7 +7671,7 @@ const SingleVideoSlide$1 = props => {
7674
7671
  className: classes.priceContainer
7675
7672
  }, /*#__PURE__*/React.createElement("div", {
7676
7673
  className: classes.offerPrice
7677
- }, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
7674
+ }, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("div", {
7678
7675
  style: {
7679
7676
  fontSize: '20px'
7680
7677
  }
@@ -7749,6 +7746,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7749
7746
  courseSuperContainer: {
7750
7747
  display: 'flex',
7751
7748
  justifyContent: 'center',
7749
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
7752
7750
  padding: ({
7753
7751
  isMobile
7754
7752
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7869,7 +7867,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7869
7867
  margin: '0',
7870
7868
  letterSpacing: '-1px',
7871
7869
  wordBreak: 'break-word',
7872
- color: theme.palette.font.default
7870
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1
7873
7871
  },
7874
7872
  courseViewContainer: {
7875
7873
  width: '445px',
@@ -7920,6 +7918,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7920
7918
  },
7921
7919
  courseDetailTag: {
7922
7920
  marginTop: '5px',
7921
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
7923
7922
  display: 'flex',
7924
7923
  alignItems: 'center',
7925
7924
  marginRight: '20px',
@@ -7934,7 +7933,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7934
7933
  fontSize: theme.typography.fontSize.subHead,
7935
7934
  lineHeight: '24px',
7936
7935
  wordBreak: 'break-word',
7937
- color: theme.palette.font.primary,
7936
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
7938
7937
  whiteSpace: 'pre-wrap',
7939
7938
  margin: '10px 0 20px'
7940
7939
  },
@@ -7943,7 +7942,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7943
7942
  fontSize: theme.typography.fontSize.subHead,
7944
7943
  lineHeight: '24px',
7945
7944
  marginTop: '-24px',
7946
- color: '#00ADE7',
7945
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
7947
7946
  wordBreak: 'break-word'
7948
7947
  },
7949
7948
  courseDetailTime: {
@@ -8131,7 +8130,7 @@ const SingleVideoSlide = props => {
8131
8130
  };
8132
8131
  const effectivePrice = formatCurrency(countryCode, data?.effectivePrice, currencySymbol);
8133
8132
  const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
8134
- const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'BUY NOW';
8133
+ const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'BUY NOW';
8135
8134
  const handleReadMoreText = () => {
8136
8135
  if (countryCode === 'KR') {
8137
8136
  return '더 보기';
@@ -8331,7 +8330,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8331
8330
  padding: ({
8332
8331
  isMobile
8333
8332
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8334
- background: '#F4F9FF',
8333
+ background: theme?.isGradient ? theme?.gradientColors?.background3 : theme?.solidColors?.background3,
8335
8334
  '&, & *, & *:before, & *:after': {
8336
8335
  fontFamily: theme?.typography?.fontFamily,
8337
8336
  boxSizing: 'border-box'