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.es.js CHANGED
@@ -309,7 +309,7 @@ const colors = {
309
309
  // shades of grey
310
310
  darkGrey: '#333333',
311
311
  grey: '#666666',
312
- lightGrey: '#9999',
312
+ lightGrey: '#999999',
313
313
  blueGrey: '#9497A5'
314
314
  };
315
315
  const alpha = {
@@ -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 {
@@ -1560,7 +1561,8 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1560
1561
  justifyContent: 'center',
1561
1562
  flexDirection: 'column',
1562
1563
  alignItems: 'center',
1563
- padding: '64px 128px',
1564
+ padding: '140px 70px 80px 70px',
1565
+ backgroundColor: theme?.palette?.background?.default,
1564
1566
  '&, & *, & *:before, & *:after': {
1565
1567
  fontFamily: theme?.typography?.fontFamily,
1566
1568
  boxSizing: 'border-box'
@@ -1600,7 +1602,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1600
1602
  upperContainerItem3: {
1601
1603
  width: '33%',
1602
1604
  display: 'flex',
1603
- justifyContent: 'end',
1605
+ justifyContent: 'center',
1604
1606
  flexWrap: 'wrap',
1605
1607
  paddingBottom: '52px'
1606
1608
  },
@@ -1615,7 +1617,8 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1615
1617
  display: 'flex',
1616
1618
  justifyContent: 'flex-start',
1617
1619
  alignItems: 'flex-start',
1618
- marginBottom: '16px'
1620
+ padding: '0 0 32px 0',
1621
+ margin: '0'
1619
1622
  },
1620
1623
  addressImg: {
1621
1624
  marginRight: '8px',
@@ -1693,7 +1696,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1693
1696
  },
1694
1697
  '@media screen and (max-width: 767px)': {
1695
1698
  section: {
1696
- padding: '16px 24px',
1699
+ padding: '45px 30px',
1697
1700
  flexDirection: 'column',
1698
1701
  alignItems: 'center',
1699
1702
  justifyContent: 'center',
@@ -1885,7 +1888,7 @@ function Footer({
1885
1888
  className: classes.lowerContainer
1886
1889
  }, /*#__PURE__*/React.createElement("div", {
1887
1890
  className: classes.bottomLeftText
1888
- }, "\xA9 ", new Date().getFullYear(), " All Rights Reserved"), /*#__PURE__*/React.createElement("div", {
1891
+ }, "2022 All Rights Reserved"), /*#__PURE__*/React.createElement("div", {
1889
1892
  className: classes.poweredByContainer
1890
1893
  }, /*#__PURE__*/React.createElement("p", null, "Powered by"), /*#__PURE__*/React.createElement("a", {
1891
1894
  title: "Powered by Classplus",
@@ -1948,15 +1951,15 @@ const rustTheme = {
1948
1951
  light: colors.lightRust,
1949
1952
  lightest: colors.lightestRust
1950
1953
  };
1951
- const generateThemePalette = themeColors => ({
1952
- primary: themeColors,
1954
+ const generateThemePalette = solidColors => ({
1955
+ primary: solidColors,
1953
1956
  background: {
1954
1957
  default: colors.white,
1955
- primary: themeColors.lightest
1958
+ primary: solidColors.lightest
1956
1959
  },
1957
1960
  border: {
1958
- primary: themeColors.main,
1959
- secondary: themeColors.light
1961
+ primary: solidColors.main,
1962
+ secondary: solidColors.light
1960
1963
  },
1961
1964
  shadow: {
1962
1965
  primary: hexToRgbA(colors.black, alpha.tenPercent),
@@ -1965,7 +1968,7 @@ const generateThemePalette = themeColors => ({
1965
1968
  font: {
1966
1969
  default: colors.darkGrey,
1967
1970
  invertedDefault: colors.white,
1968
- primary: colors.darkGrey,
1971
+ primary: colors.lightGrey,
1969
1972
  secondary: colors.grey,
1970
1973
  tertiary: colors.blueGrey
1971
1974
  }
@@ -2037,19 +2040,17 @@ const fontSize = {
2037
2040
  h4: 32,
2038
2041
  h5: 24,
2039
2042
  h6: 20,
2040
- subHead: 24,
2041
- description: 20,
2042
- body: 16
2043
+ subHead: 16,
2044
+ body: 14
2043
2045
  };
2044
2046
  const fontSizeMob = {
2045
2047
  h1: 40,
2046
- h2: 24,
2047
- h3: 20,
2048
+ h2: 20,
2049
+ h3: 32,
2048
2050
  h4: 16,
2049
2051
  h5: 16,
2050
2052
  h6: 14,
2051
2053
  subHead: 14,
2052
- description: 16,
2053
2054
  body: 14
2054
2055
  };
2055
2056
  const fontWeight = {
@@ -2294,10 +2295,10 @@ function PageRenderer$1({
2294
2295
  const useSectionStyles$8 = createUseStyles(theme => ({
2295
2296
  bannerCarouselRightSection: {
2296
2297
  position: 'relative',
2298
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
2297
2299
  padding: ({
2298
2300
  isMobile
2299
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2300
- backgroundColor: theme?.palette?.background?.primary,
2301
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2301
2302
  '&, & *, & *:before, & *:after': {
2302
2303
  fontFamily: theme?.typography?.fontFamily,
2303
2304
  boxSizing: 'border-box'
@@ -2354,8 +2355,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2354
2355
  subTitleHeading: {
2355
2356
  marginBottom: '8px',
2356
2357
  fontSize: theme.typography.fontSize.subHead,
2357
- letterSpacing: '3px',
2358
- color: theme?.palette?.font?.default,
2358
+ color: theme?.palette?.font?.tertiary,
2359
2359
  wordBreak: 'break-word',
2360
2360
  maxWidth: '100%'
2361
2361
  },
@@ -2397,7 +2397,6 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2397
2397
  },
2398
2398
  contentContainer: {
2399
2399
  display: 'flex',
2400
- flexDirection: 'column-reverse',
2401
2400
  flexFlow: 'column',
2402
2401
  paddingBottom: '48px',
2403
2402
  gap: '24px'
@@ -2524,7 +2523,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2524
2523
  height: sizeHandler,
2525
2524
  border: ({
2526
2525
  inverted
2527
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2526
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.solidColors?.ctaColor}`,
2528
2527
  borderRadius: '50%',
2529
2528
  display: 'flex',
2530
2529
  justifyContent: 'center',
@@ -2546,7 +2545,7 @@ function ArrowButton(props) {
2546
2545
  }, /*#__PURE__*/React.createElement(Icon, {
2547
2546
  height: props.size === 'small' ? '12px' : '18px',
2548
2547
  name: "Angle",
2549
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2548
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.solidColors?.ctaColor,
2550
2549
  inverted: true
2551
2550
  }));
2552
2551
  }
@@ -2746,185 +2745,182 @@ var index$l = /*#__PURE__*/Object.freeze({
2746
2745
  'default': BannerCarouselRight
2747
2746
  });
2748
2747
 
2749
- const useSectionStyles$7 = createUseStyles(theme => ({
2750
- section: {
2751
- width: '100%',
2752
- padding: ({
2753
- isMobile
2754
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}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'
2763
- },
2764
- '& h2,& h3': {
2765
- marginTop: '0'
2766
- }
2767
- },
2768
- sectionContainer: {
2769
- margin: '0 auto',
2770
- maxWidth: ({
2771
- containerWidth
2772
- } = {}) => containerWidth
2773
- },
2774
- subTitleHeading: {
2775
- marginBottom: '8px',
2776
- fontSize: theme.typography.fontSize.subHead,
2777
- color: theme?.palette?.font?.default,
2778
- alignItems: 'center',
2779
- textAlign: 'center',
2780
- wordBreak: 'break-word',
2781
- letterSpacing: '3px',
2782
- textTransform: 'uppercase'
2783
- },
2784
- heading: {
2785
- marginBottom: theme.spacing.margin.tiny,
2786
- fontSize: theme.typography.fontSize.h2,
2787
- color: theme?.palette?.font?.default,
2788
- fontWeight: theme.typography.fontWeight.bold,
2789
- textAlign: 'center',
2790
- wordBreak: 'break-word'
2791
- },
2792
- contentContainer: {
2793
- display: 'flex',
2794
- flexDirection: 'column',
2795
- alignItems: 'center',
2796
- justifyContent: 'center',
2797
- width: '770px',
2798
- margin: 'auto'
2799
- },
2800
- content: {
2801
- display: 'flex',
2802
- width: 'calc(100% - 100px)',
2803
- alignItems: 'center',
2804
- background: theme?.palette?.background?.default,
2805
- boxShadow: theme?.shadows?.primary,
2806
- borderRadius: theme?.shape?.borderRadius?.regular,
2807
- overflow: 'hidden',
2808
- minHeight: 200,
2809
- marginBottom: theme.spacing.margin.small,
2810
- position: 'relative',
2811
- '&:nth-child(2n)': {
2812
- alignSelf: 'flex-end',
2813
- '& $contentNumber': {
2814
- right: '0'
2815
- },
2816
- '& $contentText': {
2817
- marginRight: '170px'
2818
- }
2819
- },
2820
- '&:nth-child(2n+1)': {
2821
- alignSelf: 'flex-start',
2822
- '& $contentNumber': {
2823
- left: '0'
2824
- },
2825
- '& $contentText': {
2826
- 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'
2827
2763
  }
2764
+ // '& h2,& h3': {
2765
+ // fontWeight: '500',
2766
+ // '& b,& strong': {
2767
+ // fontWeight: '700'
2768
+ // }
2769
+ // }
2828
2770
  },
2829
- '&:nth-child(7n+1) $contentNumber': {
2830
- background: palettes.purple.primary.lightest
2831
- },
2832
- '&:nth-child(7n+2) $contentNumber': {
2833
- background: palettes.orange.primary.lightest
2834
- },
2835
- '&:nth-child(7n+3) $contentNumber': {
2836
- background: palettes.red.primary.lightest
2837
- },
2838
- '&:nth-child(7n+4) $contentNumber': {
2839
- background: palettes.green.primary.lightest
2771
+
2772
+ sectionContainer: {
2773
+ margin: '0 auto',
2774
+ maxWidth: ({
2775
+ containerWidth
2776
+ } = {}) => containerWidth
2840
2777
  },
2841
- '&:nth-child(7n+5) $contentNumber': {
2842
- 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'
2843
2786
  },
2844
- '&:nth-child(7n+6) $contentNumber': {
2845
- 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'
2846
2794
  },
2847
- '&:nth-child(7n) $contentNumber': {
2848
- background: palettes.rust.primary.lightest
2849
- }
2850
- },
2851
- contentNumber: {
2852
- position: 'absolute',
2853
- top: '0',
2854
- fontWeight: '700',
2855
- fontSize: '72px',
2856
- letterSpacing: '-3px',
2857
- display: 'flex',
2858
- alignItems: 'center',
2859
- justifyContent: 'center',
2860
- padding: '48px',
2861
- height: '100%',
2862
- color: theme?.palette?.font?.default,
2863
- wordBreak: 'break-word'
2864
- },
2865
- contentText: {
2866
- padding: theme.spacing.padding.tiny
2867
- },
2868
- contentHeading: {
2869
- fontStyle: 'normal',
2870
- fontSize: theme.typography.fontSize.h5,
2871
- fontWeight: theme.typography.fontWeight.bold,
2872
- lineHeight: '32px',
2873
- marginBottom: '8px',
2874
- color: theme?.palette?.font?.default,
2875
- wordBreak: 'break-word'
2876
- },
2877
- contentPara: {
2878
- fontStyle: 'normal',
2879
- fontSize: '16px',
2880
- lineHeight: '26px',
2881
- color: theme?.palette?.font?.primary,
2882
- wordBreak: 'break-word'
2883
- },
2884
- '@media screen and (max-width: 767px)': {
2885
2795
  contentContainer: {
2886
- width: '100%'
2796
+ display: 'flex',
2797
+ flexDirection: 'column',
2798
+ alignItems: 'center',
2799
+ justifyContent: 'center',
2800
+ width: '770px',
2801
+ margin: 'auto'
2887
2802
  },
2888
2803
  content: {
2889
2804
  display: 'flex',
2890
- flexDirection: 'column',
2891
- borderRadius: theme.shape.borderRadius.large,
2892
- width: '100%',
2893
- 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',
2894
2814
  '&:nth-child(2n)': {
2895
- marginLeft: '0',
2815
+ alignSelf: 'flex-end',
2816
+ '& $contentNumber': {
2817
+ right: '0'
2818
+ },
2896
2819
  '& $contentText': {
2897
- marginRight: '0',
2898
- alignSelf: 'flex-start'
2899
- // padding: '0'
2820
+ marginRight: '170px'
2900
2821
  }
2901
2822
  },
2902
-
2903
2823
  '&:nth-child(2n+1)': {
2904
- marginRight: '0',
2824
+ alignSelf: 'flex-start',
2825
+ '& $contentNumber': {
2826
+ left: '0'
2827
+ },
2905
2828
  '& $contentText': {
2906
- marginLeft: '0',
2907
- alignSelf: 'flex-start'
2908
- // padding: '0'
2829
+ marginLeft: '170px'
2909
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
2910
2852
  }
2911
2853
  },
2912
-
2913
2854
  contentNumber: {
2914
- width: '100%',
2915
- padding: '24px',
2916
- 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'
2917
2867
  },
2918
- contentPara: {
2919
- fontSize: '14px',
2920
- lineHeight: '22px'
2868
+ contentText: {
2869
+ padding: theme.spacing.padding.tiny
2921
2870
  },
2922
2871
  contentHeading: {
2923
- fontSize: '20px',
2924
- 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
+ }
2925
2921
  }
2926
- }
2927
- }));
2922
+ };
2923
+ });
2928
2924
 
2929
2925
  function List({
2930
2926
  sectionData
@@ -2996,13 +2992,21 @@ const useSectionStyles$6 = createUseStyles(theme => {
2996
2992
  return {
2997
2993
  bannerCarouselCenterSection: {
2998
2994
  width: '100%',
2995
+ // height: '100%',
2999
2996
  textAlign: 'center',
3000
2997
  position: 'relative',
3001
2998
  '&, & *, & *:before, & *:after': {
3002
2999
  fontFamily: theme?.typography?.fontFamily,
3003
3000
  boxSizing: 'border-box'
3004
3001
  }
3002
+ // '& h2,& h3': {
3003
+ // fontWeight: '500',
3004
+ // '& b,& strong': {
3005
+ // fontWeight: '700'
3006
+ // }
3007
+ // }
3005
3008
  },
3009
+
3006
3010
  sectionContainer: {
3007
3011
  width: '100%',
3008
3012
  // maxWidth: ({ containerWidth } = {}) => containerWidth,
@@ -3022,9 +3026,20 @@ const useSectionStyles$6 = createUseStyles(theme => {
3022
3026
  margin: `${theme.spacing.margin.tiny}px 0px`
3023
3027
  },
3024
3028
  contentContainer: {
3029
+ // padding: '100px 0',
3030
+ // height: '100%',
3031
+ // display: 'flex',
3032
+ // alignItems: 'center'
3033
+ // height: '100%',
3025
3034
  display: 'flex',
3035
+ /* padding: 100px 0; */
3026
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'
3027
3041
  },
3042
+
3028
3043
  centerBgImageContainer: {
3029
3044
  width: '100%',
3030
3045
  position: 'relative',
@@ -3058,8 +3073,7 @@ const useSectionStyles$6 = createUseStyles(theme => {
3058
3073
  color: theme?.palette?.font?.invertedDefault,
3059
3074
  marginBottom: '8px',
3060
3075
  fontSize: theme.typography.fontSize.subHead,
3061
- wordBreak: 'break-word',
3062
- letterSpacing: '3px'
3076
+ wordBreak: 'break-word'
3063
3077
  },
3064
3078
  heading: {
3065
3079
  margin: '0',
@@ -3070,11 +3084,11 @@ const useSectionStyles$6 = createUseStyles(theme => {
3070
3084
  }) => wordBreakValue || 'break-word'
3071
3085
  },
3072
3086
  description: {
3087
+ margin: `${theme.spacing.margin.tiny}px 0px`,
3073
3088
  color: theme?.palette?.font?.invertedDefault,
3074
- lineHeight: '32px',
3075
- fontWeight: '400',
3089
+ lineHeight: '24px',
3076
3090
  wordBreak: 'break-word',
3077
- fontSize: theme.typography.fontSize.description
3091
+ fontSize: theme.typography.fontSize.subHead
3078
3092
  },
3079
3093
  sideBannerImage: {
3080
3094
  width: '100%',
@@ -3082,44 +3096,37 @@ const useSectionStyles$6 = createUseStyles(theme => {
3082
3096
  objectFit: 'cover',
3083
3097
  objectPosition: '50% 50%'
3084
3098
  },
3085
- overlay: {
3086
- zIndex: 1,
3087
- position: 'absolute',
3088
- top: 0,
3089
- left: 0,
3090
- width: '100%',
3091
- height: '100%',
3092
- backgroundColor: 'rgba(0, 0, 0, 0.4)'
3093
- },
3094
3099
  '@media screen and (max-width: 767px)': {
3095
- heading: {
3096
- fontSize: theme.typography.fontSize.h2
3097
- },
3098
3100
  partialBackground: {
3099
3101
  display: 'none'
3100
3102
  },
3101
3103
  contentContainer: {
3102
- display: 'block'
3104
+ display: 'flex',
3105
+ flexFlow: 'column-reverse',
3106
+ justifyContent: 'center',
3107
+ padding: '0px'
3103
3108
  },
3104
- textContainer: {
3105
- position: 'absolute',
3106
- padding: '20px 20px',
3107
- height: '100%',
3108
- width: '100%',
3109
- zIndex: '999999'
3110
- // 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
3111
3120
  },
3112
-
3113
3121
  description: {
3114
- fontSize: '16px',
3115
- lineHeight: '24px'
3122
+ color: theme?.palette?.font?.primary
3116
3123
  },
3117
3124
  centerBgImageContainer: {
3118
3125
  width: ({
3119
3126
  isCustomWebsite
3120
3127
  }) => isCustomWebsite ? '100%' : 'unset',
3121
- position: 'relative',
3122
- height: '40rem',
3128
+ // position: 'relative',
3129
+ // height: '34rem',
3123
3130
  minHeight: '200px',
3124
3131
  paddingBottom: '0'
3125
3132
  },
@@ -3147,16 +3154,12 @@ const Section$3 = ({
3147
3154
  isCustomWebsite,
3148
3155
  countryCode
3149
3156
  } = useContext(PageContext);
3150
- const hasContent = Boolean(nodeData.cardHeading.metadata.value || nodeData.title.metadata.valu || nodeData.description.metadata.value);
3151
3157
  const classes = useSectionStyles$6({
3152
3158
  wordBreakValue: wordBreakValue(countryCode),
3153
3159
  imageUrl: nodeData.image.metadata.value,
3154
3160
  containerWidth,
3155
- isCustomWebsite,
3156
- hasContent
3161
+ isCustomWebsite
3157
3162
  });
3158
- const mobileImageSrc = isMobile && nodeData?.mobileImage?.metadata?.value;
3159
- const desktopImageSrc = nodeData?.image?.metadata?.value;
3160
3163
  return /*#__PURE__*/React.createElement("section", {
3161
3164
  className: classes.bannerCarouselCenterSection
3162
3165
  }, /*#__PURE__*/React.createElement("div", {
@@ -3194,10 +3197,8 @@ const Section$3 = ({
3194
3197
  size: isMobile ? 'small' : 'medium'
3195
3198
  }))) : null), /*#__PURE__*/React.createElement("div", {
3196
3199
  className: classes?.centerBgImageContainer
3197
- }, /*#__PURE__*/React.createElement("div", {
3198
- className: hasContent && classes?.overlay
3199
- }), /*#__PURE__*/React.createElement(NextImageRenderer, {
3200
- src: mobileImageSrc ? mobileImageSrc : desktopImageSrc,
3200
+ }, /*#__PURE__*/React.createElement(NextImageRenderer, {
3201
+ src: nodeData.image.metadata.value,
3201
3202
  className: classes?.centerBgImage,
3202
3203
  sectionIndex: sectionIndex
3203
3204
  }))));
@@ -3236,7 +3237,8 @@ var index$j = /*#__PURE__*/Object.freeze({
3236
3237
  const useSectionStyles$5 = createUseStyles(theme => {
3237
3238
  return {
3238
3239
  section: {
3239
- padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3240
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3241
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
3240
3242
  '&, & *, & *:before, & *:after': {
3241
3243
  fontFamily: theme?.typography?.fontFamily,
3242
3244
  boxSizing: 'border-box'
@@ -3257,7 +3259,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3257
3259
  },
3258
3260
  centerData: {
3259
3261
  display: 'flex',
3260
- alignItems: 'start',
3262
+ alignItems: 'center',
3261
3263
  justifyContent: 'center'
3262
3264
 
3263
3265
  // padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
@@ -3280,7 +3282,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3280
3282
  }
3281
3283
  },
3282
3284
  imageBorder: {
3283
- border: `2px solid ${theme?.palette?.primary?.light}`,
3285
+ // border: `2px solid ${theme?.palette?.primary?.light}`,
3284
3286
  borderRadius: theme?.shape?.borderRadius?.small,
3285
3287
  position: 'absolute',
3286
3288
  width: '100%',
@@ -3304,7 +3306,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
3304
3306
  subTitleHeading: {
3305
3307
  marginBottom: '8px',
3306
3308
  fontSize: theme?.typography?.fontSize?.subHead,
3307
- letterSpacing: '3px',
3308
3309
  color: theme?.palette?.font?.default,
3309
3310
  wordBreak: 'break-word'
3310
3311
  },
@@ -3327,10 +3328,10 @@ const useSectionStyles$5 = createUseStyles(theme => {
3327
3328
  },
3328
3329
  '@media screen and (max-width: 767px)': {
3329
3330
  section: {
3330
- padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px`
3331
+ padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3331
3332
  },
3332
3333
  centerData: {
3333
- flexDirection: 'column',
3334
+ flexDirection: 'column-reverse',
3334
3335
  width: '100%'
3335
3336
  // padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3336
3337
  },
@@ -3359,11 +3360,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3359
3360
  textAlign: 'center'
3360
3361
  },
3361
3362
  heading: {
3362
- fontSize: `${theme?.typography?.fontSize?.h2}px`
3363
- },
3364
- subTitleHeading: {
3365
- letterSpacing: '3px',
3366
- lineHeight: '17px'
3363
+ fontSize: `${theme?.typography?.fontSize?.h3}px`
3367
3364
  },
3368
3365
  description: {
3369
3366
  margin: '16px 0'
@@ -3472,7 +3469,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3472
3469
  justifyContent: 'center',
3473
3470
  padding: ({
3474
3471
  isMobile
3475
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3472
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3476
3473
  '&, & *, & *:before, & *:after': {
3477
3474
  fontFamily: theme?.typography?.fontFamily,
3478
3475
  boxSizing: 'border-box'
@@ -3492,11 +3489,12 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3492
3489
  left: '0',
3493
3490
  width: '100%',
3494
3491
  height: '50%',
3495
- position: 'absolute',
3496
- background: theme?.palette?.background?.primary
3492
+ position: 'absolute'
3493
+ // background: theme?.palette?.background?.primary
3497
3494
  },
3495
+
3498
3496
  sectionContainer: {
3499
- backgroundColor: theme?.palette?.background?.default,
3497
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
3500
3498
  boxShadow: theme?.shadows?.secondary,
3501
3499
  borderRadius: theme?.shape?.borderRadius?.regular,
3502
3500
  padding: theme.spacing.padding.small,
@@ -3514,18 +3512,18 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3514
3512
  contentContainer: {
3515
3513
  display: 'flex',
3516
3514
  alignItems: 'center',
3517
- gap: '16px'
3515
+ justifyContent: 'space-between'
3518
3516
  },
3519
3517
  title: {
3520
3518
  fontSize: theme.typography.fontSize.h6,
3521
3519
  lineHeight: '32px',
3522
3520
  color: theme?.palette?.font?.primary,
3523
- wordBreak: 'break-word',
3524
- flex: 1
3521
+ width: 'calc(50% - 80px)',
3522
+ wordBreak: 'break-word'
3525
3523
  },
3526
3524
  inputContainer: {
3527
3525
  display: 'flex',
3528
- flex: 1
3526
+ width: '50%'
3529
3527
  },
3530
3528
  inputFieldDiv: {
3531
3529
  display: 'flex',
@@ -3639,59 +3637,62 @@ async function postApiCallForm(baseURLs, data, extraProps) {
3639
3637
  } catch (err) {
3640
3638
  return;
3641
3639
  }
3642
- }
3643
- }
3644
-
3645
- const inputStyles = createUseStyles(theme => ({
3646
- inputField: {
3647
- width: '100%',
3648
- maxWidth: '314px',
3649
- background: theme?.palette?.background?.default,
3650
- border: `1px solid ${theme?.palette?.border?.secondary}`,
3651
- borderRadius: theme?.shape?.borderRadius?.regular,
3652
- padding: '14px 12px',
3653
- display: 'flex',
3654
- fontWeight: '400',
3655
- fontSize: '16px',
3656
- lineHeight: '20px',
3657
- verticalalign: 'top',
3658
- resize: 'none',
3659
- fontFamily: 'inherit',
3660
- '&::placeholder': {
3640
+ }
3641
+ }
3642
+
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',
3661
3654
  fontWeight: '400',
3662
3655
  fontSize: '16px',
3663
3656
  lineHeight: '20px',
3664
- color: theme?.palette?.font?.primary,
3665
- 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
+ }
3666
3670
  },
3667
- '&:focus': {
3668
- outline: 'none'
3669
- }
3670
- },
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`,
3679
- color: 'red',
3680
- '&::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`,
3681
3679
  color: 'red',
3682
- opacity: '0.5'
3683
- }
3684
- },
3685
- '@media screen and (max-width: 767px)': {
3686
- inputField: {
3687
- width: '100%',
3688
- maxWidth: 'unset'
3680
+ '&::placeholder': {
3681
+ color: 'red',
3682
+ opacity: '0.5'
3683
+ }
3689
3684
  },
3690
- error: {
3691
- bottom: '-2px'
3685
+ '@media screen and (max-width: 767px)': {
3686
+ inputField: {
3687
+ width: '100%',
3688
+ maxWidth: 'unset'
3689
+ },
3690
+ error: {
3691
+ bottom: '-2px'
3692
+ }
3692
3693
  }
3693
- }
3694
- }));
3694
+ };
3695
+ });
3695
3696
 
3696
3697
  function Input({
3697
3698
  data,
@@ -3704,9 +3705,12 @@ function Input({
3704
3705
  const {
3705
3706
  onChange,
3706
3707
  onBlur,
3707
- onFocus
3708
+ onFocus,
3709
+ theme
3708
3710
  } = props;
3709
- const classes = inputStyles();
3711
+ const classes = inputStyles({
3712
+ theme
3713
+ });
3710
3714
  const Comp = inputType;
3711
3715
  return /*#__PURE__*/React.createElement(Comp, _extends({}, inputType === 'input' ? {
3712
3716
  type: 'text'
@@ -3817,7 +3821,8 @@ function SubscribeToNewsletter({
3817
3821
  value: inputVal,
3818
3822
  isValid: isValid,
3819
3823
  style: {
3820
- padding: '12px 16px'
3824
+ padding: '15px 24px 15px 12px',
3825
+ maxWidth: '100%'
3821
3826
  },
3822
3827
  inputType: 'input',
3823
3828
  onChange: e => {
@@ -3841,14 +3846,16 @@ function SubscribeToNewsletter({
3841
3846
  },
3842
3847
  onClick: () => handleSubmit(),
3843
3848
  type: nodeData?.cta?.metadata?.type,
3844
- size: 'small',
3849
+ size: isMobile ? 'small' : 'medium',
3845
3850
  styling: isMobile ? {
3846
- marginTop: '12px'
3851
+ marginTop: '12px',
3852
+ border: 'none'
3847
3853
  } : {
3848
3854
  maxWidth: '200px',
3849
3855
  whiteSpace: 'nowrap',
3850
3856
  overflow: 'hidden',
3851
- textOverflow: 'ellipsis'
3857
+ textOverflow: 'ellipsis',
3858
+ border: 'none'
3852
3859
  },
3853
3860
  disabled: btnDisabled
3854
3861
  })))))));
@@ -3861,9 +3868,9 @@ var index$h = /*#__PURE__*/Object.freeze({
3861
3868
 
3862
3869
  const useTestimonialStyles = createUseStyles(theme => ({
3863
3870
  testimonialContainer: {
3864
- background: theme?.palette?.background?.primary,
3871
+ // background: theme?.palette?.background?.primary,
3865
3872
  overflow: 'hidden',
3866
- padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3873
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3867
3874
  '&, & *, & *:before, & *:after': {
3868
3875
  fontFamily: theme?.typography?.fontFamily,
3869
3876
  boxSizing: 'border-box'
@@ -3879,7 +3886,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3879
3886
  } = {}) => containerWidth
3880
3887
  },
3881
3888
  testimonialText: {
3882
- color: theme?.palette?.font?.default,
3889
+ color: theme?.palette?.font?.secondary,
3883
3890
  fontSize: theme.typography.fontSize.subHead,
3884
3891
  wordBreak: 'break-word',
3885
3892
  textTransform: 'uppercase'
@@ -3903,7 +3910,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3903
3910
  position: 'relative',
3904
3911
  height: 'calc(100% - 12px)',
3905
3912
  width: 'calc(100% - 24px)',
3906
- background: theme?.palette?.background?.default,
3913
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
3907
3914
  boxShadow: theme?.shadows?.primary,
3908
3915
  borderRadius: theme?.shape?.borderRadius?.regular
3909
3916
  },
@@ -3928,10 +3935,10 @@ const useTestimonialStyles = createUseStyles(theme => ({
3928
3935
  reviewText: {
3929
3936
  // padding: '48px 41px 0 48px',
3930
3937
  marginBottom: theme.spacing.margin.tiny,
3931
- fontSize: theme.typography.fontSize.body,
3938
+ fontSize: theme.typography.fontSize.subHead,
3932
3939
  wordBreak: 'break-word',
3933
- color: theme?.palette?.font?.primary,
3934
- lineHeight: '26px'
3940
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font2,
3941
+ lineHeight: '22px'
3935
3942
  },
3936
3943
  userContainer: {
3937
3944
  display: 'flex',
@@ -3950,6 +3957,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3950
3957
  height: '64px',
3951
3958
  borderRadius: '32px',
3952
3959
  background: '#666666',
3960
+ marginRight: '16px',
3953
3961
  flexShrink: '0'
3954
3962
  },
3955
3963
  userImage: {
@@ -3959,7 +3967,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3959
3967
  marginRight: '16px'
3960
3968
  },
3961
3969
  userName: {
3962
- color: theme?.palette?.font?.default,
3970
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font2,
3963
3971
  margin: '0',
3964
3972
  fontSize: theme.typography.fontSize.h5,
3965
3973
  // paddingTop: '16px',
@@ -3976,7 +3984,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3976
3984
  },
3977
3985
  '@media (max-width: 768px)': {
3978
3986
  testimonialContainer: {
3979
- padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
3987
+ padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3980
3988
  },
3981
3989
  // testimonialCardAndText: {
3982
3990
  // margin: '0 20px'
@@ -4004,7 +4012,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
4004
4012
  marginRight: '16px'
4005
4013
  },
4006
4014
  reviewText: {
4007
- lineHeight: '22px',
4008
4015
  marginBottom: '16px'
4009
4016
  },
4010
4017
  singleCard: {
@@ -4015,8 +4022,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4015
4022
  // paddingTop: '8px',
4016
4023
  overflow: 'hidden',
4017
4024
  whiteSpace: 'nowrap',
4018
- textOverflow: 'ellipsis',
4019
- fontSize: '20px'
4025
+ textOverflow: 'ellipsis'
4020
4026
  },
4021
4027
  userImageContainer: {
4022
4028
  width: '48px',
@@ -4078,7 +4084,7 @@ function Section$1({
4078
4084
  className: classes.quoteIcon
4079
4085
  }, /*#__PURE__*/React.createElement(QuotesComponent, null)), /*#__PURE__*/React.createElement("div", {
4080
4086
  className: classes.cardDetails
4081
- }, /*#__PURE__*/React.createElement("p", {
4087
+ }, /*#__PURE__*/React.createElement("div", {
4082
4088
  ref: el?.cardTextContent?.refSetter,
4083
4089
  className: classes.reviewText,
4084
4090
  dangerouslySetInnerHTML: {
@@ -4123,7 +4129,7 @@ function Section$1({
4123
4129
  dangerouslySetInnerHTML: {
4124
4130
  __html: nodeData?.carouselHeading?.metadata?.value
4125
4131
  }
4126
- })), /*#__PURE__*/React.createElement("h2", {
4132
+ })), /*#__PURE__*/React.createElement("div", {
4127
4133
  className: classes.testimonialHeader
4128
4134
  }, /*#__PURE__*/React.createElement("span", {
4129
4135
  ref: nodeData?.title?.refSetter,
@@ -4343,7 +4349,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4343
4349
  justifyContent: 'center',
4344
4350
  padding: ({
4345
4351
  isMobile
4346
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4352
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4347
4353
  '&, & *, & *:before, & *:after': {
4348
4354
  fontFamily: theme?.typography?.fontFamily
4349
4355
  // boxSizing: 'border-box'
@@ -4370,12 +4376,11 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4370
4376
  letterSpacing: '3px',
4371
4377
  textTransform: 'uppercase',
4372
4378
  color: theme.palette.font.default,
4373
- wordBreak: 'break-word'
4374
- // marginBottom: '8px'
4379
+ wordBreak: 'break-word',
4380
+ marginBottom: '8px'
4375
4381
  },
4376
-
4377
4382
  videoTestimonialTitle: {
4378
- fontSize: theme.typography.fontSize.h2,
4383
+ fontSize: theme.typography.fontSize.h1,
4379
4384
  // lineHeight: '71px',
4380
4385
  letterSpacing: '-3px',
4381
4386
  fontWeight: theme.typography.fontWeight.bold,
@@ -4385,16 +4390,15 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4385
4390
  },
4386
4391
  videoCarousel: {
4387
4392
  display: 'flex',
4393
+ alignItems: 'center',
4388
4394
  justifyContent: 'flex-start',
4389
- gap: '40px'
4395
+ gap: theme.spacing.margin.small
4390
4396
  },
4391
4397
  iframeSuperContainer: {
4392
4398
  height: '100%',
4393
4399
  width: '100%',
4394
4400
  display: 'flex',
4395
- alignItems: 'center',
4396
- marginTop: '16px',
4397
- borderRadius: '8px'
4401
+ alignItems: 'center'
4398
4402
  },
4399
4403
  iframeContainer: {
4400
4404
  width: '100%',
@@ -4424,13 +4428,13 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4424
4428
  fontWeight: theme.typography.fontWeight.bold
4425
4429
  },
4426
4430
  videoDetailsContent: {
4427
- fontSize: theme.typography.fontSize.body,
4431
+ fontSize: theme.typography.fontSize.subHead,
4428
4432
  lineHeight: '24px',
4429
4433
  wordBreak: 'break-word',
4430
4434
  color: theme.palette.font.primary
4431
4435
  },
4432
4436
  videoDetailsSubContent: {
4433
- fontSize: theme.typography.fontSize.h6,
4437
+ fontSize: theme.typography.fontSize.subHead,
4434
4438
  lineHeight: '24px',
4435
4439
  margin: '0',
4436
4440
  color: theme.palette.font.primary,
@@ -4450,9 +4454,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4450
4454
  videoDetailsHeading: {
4451
4455
  lineHeight: 'normal'
4452
4456
  },
4453
- videoDetailsSubContent: {
4454
- textAlign: 'center'
4455
- },
4456
4457
  videoTestimonialTitle: {
4457
4458
  lineHeight: 'normal',
4458
4459
  letterSpacing: '-1px'
@@ -4559,8 +4560,8 @@ const useVideoStyles = createUseStyles(theme => {
4559
4560
  videoSuperContainer: {
4560
4561
  padding: ({
4561
4562
  isMobile
4562
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4563
- backgroundColor: theme?.palette?.background?.primary,
4563
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4564
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
4564
4565
  '&, & *, & *:before, & *:after': {
4565
4566
  fontFamily: theme?.typography?.fontFamily,
4566
4567
  boxSizing: 'border-box'
@@ -4568,7 +4569,14 @@ const useVideoStyles = createUseStyles(theme => {
4568
4569
  '& h3': {
4569
4570
  marginTop: '0'
4570
4571
  }
4572
+ // '& h2,& h3': {
4573
+ // fontWeight: '500',
4574
+ // '& b,& strong': {
4575
+ // fontWeight: '700'
4576
+ // }
4577
+ // }
4571
4578
  },
4579
+
4572
4580
  sectionContainer: {
4573
4581
  margin: '0 auto',
4574
4582
  maxWidth: ({
@@ -4583,8 +4591,7 @@ const useVideoStyles = createUseStyles(theme => {
4583
4591
  fontSize: theme.typography.fontSize.subHead,
4584
4592
  textTransform: 'uppercase',
4585
4593
  lineHeight: '20px',
4586
- color: theme?.palette?.font?.default,
4587
- letterSpacing: '3px',
4594
+ color: theme?.palette?.font?.primary,
4588
4595
  wordBreak: 'break-word'
4589
4596
  },
4590
4597
  videoTitle: {
@@ -4602,11 +4609,11 @@ const useVideoStyles = createUseStyles(theme => {
4602
4609
  },
4603
4610
  singleSlideContainer: {
4604
4611
  backgroundColor: theme?.palette?.background?.default,
4605
- // margin: '20px',
4606
- width: 'calc(100% - 24px)',
4612
+ margin: '20px',
4613
+ width: 'calc(100% - 40px)',
4607
4614
  height: 'calc(100% - 40px)',
4608
4615
  borderRadius: theme?.shape?.borderRadius?.regular,
4609
- padding: '64px',
4616
+ padding: '48px',
4610
4617
  boxShadow: theme?.shadows?.primary
4611
4618
  },
4612
4619
  contentRow: {
@@ -4642,7 +4649,7 @@ const useVideoStyles = createUseStyles(theme => {
4642
4649
  wordBreak: 'break-word'
4643
4650
  },
4644
4651
  videoDetailsSubHeading: {
4645
- fontSize: theme.typography.fontSize.body,
4652
+ fontSize: theme.typography.fontSize.subHead,
4646
4653
  lineHeight: '24px',
4647
4654
  wordBreak: 'break-word',
4648
4655
  color: theme?.palette?.font?.primary
@@ -4682,16 +4689,17 @@ const useVideoStyles = createUseStyles(theme => {
4682
4689
  display: 'flex',
4683
4690
  justifyContent: 'center',
4684
4691
  textAlign: 'center'
4685
- },
4686
- videoDetailsHeading: {
4687
- fontSize: '20px',
4688
- marginBottom: '0',
4689
- textAlign: 'center'
4690
- },
4691
- videoDetailsSubHeading: {
4692
- fontSize: '14px',
4693
- textAlign: 'center'
4694
4692
  }
4693
+
4694
+ // videoDetailsHeading: {
4695
+ // fontSize: '18px',
4696
+ // margin: '0'
4697
+ // },
4698
+
4699
+ // videoDetailsSubHeading: {
4700
+ // fontSize: '12px',
4701
+ // paddingBottom: '20px'
4702
+ // }
4695
4703
  }
4696
4704
  };
4697
4705
  });
@@ -4714,7 +4722,7 @@ const SingleSlide$1 = props => {
4714
4722
  videoUrl: data.videoFrame.metadata?.value
4715
4723
  })), /*#__PURE__*/React.createElement("div", {
4716
4724
  className: classes.videoDetailsContainer
4717
- }, /*#__PURE__*/React.createElement("h3", {
4725
+ }, /*#__PURE__*/React.createElement("div", {
4718
4726
  ref: data?.videoTitle?.refSetter,
4719
4727
  className: classes.videoDetailsHeading,
4720
4728
  dangerouslySetInnerHTML: {
@@ -4770,7 +4778,7 @@ function Video({
4770
4778
  dangerouslySetInnerHTML: {
4771
4779
  __html: videoData.videoHeading.metadata.value
4772
4780
  }
4773
- })), /*#__PURE__*/React.createElement("h2", {
4781
+ })), /*#__PURE__*/React.createElement("div", {
4774
4782
  className: classes.videoTitle
4775
4783
  }, /*#__PURE__*/React.createElement("span", {
4776
4784
  ref: videoData?.videoTitle?.refSetter,
@@ -4795,7 +4803,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4795
4803
  position: 'relative',
4796
4804
  padding: ({
4797
4805
  isMobile
4798
- } = {}) => 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`,
4806
+ } = {}) => 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`,
4799
4807
  backgroundColor: theme?.palette?.background?.default,
4800
4808
  '&, & *, & *:before, & *:after': {
4801
4809
  fontFamily: theme?.typography?.fontFamily,
@@ -4820,7 +4828,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4820
4828
  top: '0',
4821
4829
  left: '0',
4822
4830
  height: '50%',
4823
- background: theme?.palette?.background?.primary,
4831
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
4824
4832
  width: '100%'
4825
4833
  },
4826
4834
  content: {
@@ -4837,7 +4845,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4837
4845
  wordBreak: 'break-word'
4838
4846
  },
4839
4847
  heading: {
4840
- margin: `0px 0 ${theme.spacing.margin.tiny}px`,
4848
+ margin: `8px 0 ${theme.spacing.margin.tiny}px`,
4841
4849
  fontSize: theme.typography.fontSize.h2,
4842
4850
  width: '100%',
4843
4851
  lineHeight: '70px',
@@ -4845,11 +4853,10 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4845
4853
  textAlign: 'left',
4846
4854
  wordBreak: 'break-word'
4847
4855
  },
4848
- // sliderContainer: {
4849
- // marginLeft: '-10px',
4850
- // marginRight: '-70px'
4851
- // },
4852
-
4856
+ sliderContainer: {
4857
+ marginLeft: '-10px',
4858
+ marginRight: '-70px'
4859
+ },
4853
4860
  card: {
4854
4861
  background: theme?.palette?.background?.default,
4855
4862
  boxShadow: theme?.shadows?.primary,
@@ -4861,23 +4868,20 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4861
4868
  height: 'calc(100% - 12px)'
4862
4869
  },
4863
4870
  cardContent: {
4864
- padding: '24px',
4871
+ padding: theme.spacing.padding.tiny,
4865
4872
  height: '100%',
4866
4873
  display: 'flex',
4867
- flexDirection: 'column',
4868
- justifyContent: 'center',
4869
- alignItems: 'center'
4874
+ flexDirection: 'column'
4870
4875
  },
4871
4876
  cardHeading: {
4872
- textAlign: 'center',
4873
- fontSize: theme.typography.fontSize.h6,
4877
+ fontSize: theme.typography.fontSize.h5,
4878
+ lineHeight: '32px',
4874
4879
  fontWeight: theme.typography.fontWeight.bold,
4875
4880
  color: theme?.palette?.font?.default,
4876
- margin: `16px 0px`,
4881
+ margin: `${theme.spacing.margin.tiny}px 0px`,
4877
4882
  wordBreak: 'break-word'
4878
4883
  },
4879
4884
  imageContainer: {
4880
- textAlign: 'center',
4881
4885
  width: '96px',
4882
4886
  height: '96px',
4883
4887
  display: 'flex',
@@ -4895,9 +4899,8 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4895
4899
  marginTop: theme.spacing.margin.tiny
4896
4900
  },
4897
4901
  cardPara: {
4898
- textAlign: 'center',
4899
- fontSize: theme.typography.fontSize.body,
4900
- lineHeight: '22px',
4902
+ fontSize: theme.typography.fontSize.subHead,
4903
+ lineHeight: '24px',
4901
4904
  color: theme?.palette?.font?.primary,
4902
4905
  margin: '0',
4903
4906
  wordBreak: 'break-word'
@@ -4911,15 +4914,11 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4911
4914
  },
4912
4915
  '@media screen and (max-width: 767px)': {
4913
4916
  heading: {
4914
- textAlign: 'center',
4915
- fontSize: '20px',
4916
- margin: `0px 0 ${theme.spacing.margin.tiny}px`,
4917
- lineHeight: '24px',
4917
+ fontSize: '24px',
4918
+ margin: `4px 0 ${theme.spacing.margin.tiny}px`,
4919
+ lineHeight: '36px',
4918
4920
  padding: '0'
4919
4921
  },
4920
- subTitleHeading: {
4921
- textAlign: 'center'
4922
- },
4923
4922
  sliderContainer: {
4924
4923
  marginLeft: '-6px',
4925
4924
  marginRight: '-20px'
@@ -4934,12 +4933,6 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4934
4933
  slidesToShow,
4935
4934
  cardsCount
4936
4935
  } = {}) => cardsCount > slidesToShow ? `6px 2px 6px 6px` : `6px 0 6px 0`
4937
- },
4938
- cardHeading: {
4939
- fontSize: '18px'
4940
- },
4941
- cardContent: {
4942
- padding: '16px'
4943
4936
  }
4944
4937
  }
4945
4938
  }));
@@ -5040,8 +5033,8 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5040
5033
  section: {
5041
5034
  padding: ({
5042
5035
  isMobile
5043
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5044
- backgroundColor: theme?.palette?.background?.default,
5036
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5037
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
5045
5038
  '&, & *, & *:before, & *:after': {
5046
5039
  fontFamily: theme?.typography?.fontFamily,
5047
5040
  boxSizing: 'border-box'
@@ -5058,7 +5051,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5058
5051
  subHeading: {
5059
5052
  fontSize: theme.typography.fontSize.subHead,
5060
5053
  marginBottom: '8px',
5061
- color: theme?.palette?.font?.default,
5054
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
5062
5055
  wordBreak: 'break-word',
5063
5056
  textTransform: 'uppercase',
5064
5057
  letterSpacing: '3px'
@@ -5068,7 +5061,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5068
5061
  fontWeight: theme.typography.fontWeight.bold,
5069
5062
  lineHeight: 'normal',
5070
5063
  margin: '0',
5071
- color: theme?.palette?.font?.default,
5064
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
5072
5065
  wordBreak: 'break-word',
5073
5066
  marginBottom: theme.spacing.margin.tiny
5074
5067
  },
@@ -5079,16 +5072,17 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5079
5072
  padding: '48px 0px'
5080
5073
  },
5081
5074
  textPara: {
5075
+ background: 'white',
5076
+ borderRadius: '8px',
5077
+ padding: '40px',
5078
+ lineHeight: '24px',
5082
5079
  color: theme?.palette?.font?.primary,
5083
5080
  wordBreak: 'break-word',
5084
- fontSize: theme.typography.fontSize.body,
5085
- lineHeight: '24px'
5081
+ fontSize: theme.typography.fontSize.subHead,
5082
+ boxShadow: '0px 2px 8px 0px rgba(0, 0, 0, 0.08)'
5086
5083
  },
5087
5084
  '@media screen and (max-width: 767px)': {
5088
5085
  textContent: {
5089
- display: 'flex',
5090
- flexDirection: 'column',
5091
- lineHeight: '22px',
5092
5086
  gap: '16px',
5093
5087
  padding: '16px 0px'
5094
5088
  }
@@ -5154,9 +5148,8 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5154
5148
  container: {
5155
5149
  background: theme?.palette?.background?.default,
5156
5150
  padding: ({
5157
- isMobile,
5158
- cardsCount
5159
- } = {}) => 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`,
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`,
5160
5153
  '&, & *, & *:before, & *:after': {
5161
5154
  fontFamily: theme?.typography?.fontFamily,
5162
5155
  boxSizing: 'border-box'
@@ -5176,26 +5169,19 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5176
5169
  } = {}) => containerWidth
5177
5170
  },
5178
5171
  cardHeading: {
5179
- color: theme?.palette?.font?.default,
5172
+ color: theme?.palette?.font?.secondary,
5180
5173
  fontSize: theme.typography.fontSize.subHead,
5181
5174
  letterSpacing: '3px',
5182
5175
  wordBreak: 'break-word',
5183
- textTransform: 'uppercase',
5184
- textAlign: ({
5185
- cardsCount,
5186
- isMobile
5187
- }) => cardsCount === 1 || isMobile ? 'center' : 'left'
5176
+ textTransform: 'uppercase'
5188
5177
  },
5189
5178
  // sliderContainer: {
5190
5179
  // marginRight: '-70px'
5191
5180
  // },
5192
- cursorPointer: {
5193
- cursor: 'pointer'
5194
- },
5181
+
5195
5182
  singleCard: {
5196
- borderRadius: '24px',
5197
5183
  margin: '0 1px',
5198
- width: isMobile => isMobile ? 'calc(100% - 24px)' : 'calc(100% - 24px)',
5184
+ width: 'calc(100% - 2px)',
5199
5185
  position: 'relative',
5200
5186
  paddingBottom: '59.83%' // keeping aspect ratio 585x350
5201
5187
  },
@@ -5203,34 +5189,19 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5203
5189
  contentRow: {
5204
5190
  display: 'grid',
5205
5191
  gridTemplateColumns: ({
5206
- slidesToShow,
5207
- cardsCount
5208
- } = {}) => {
5209
- if (cardsCount === 1) return '';
5210
- return `repeat(${slidesToShow},minmax(0, 1fr))`;
5211
- },
5212
- padding: ({
5213
- cardsCount
5214
- }) => cardsCount === 1 ? '0px 100px' : ''
5192
+ slidesToShow
5193
+ } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
5215
5194
  },
5216
5195
  carouselImage: {
5217
- height: ({
5218
- cardsCount
5219
- }) => cardsCount === 1 ? '480px' : '100%',
5220
- borderRadius: '24px',
5221
5196
  objectFit: 'cover',
5222
- objectPosition: 'center',
5223
5197
  position: 'absolute',
5224
5198
  left: 0,
5225
5199
  top: 0,
5226
- width: '100%'
5200
+ width: '100%',
5201
+ height: '100%'
5227
5202
  },
5228
5203
  title: {
5229
5204
  fontSize: theme.typography.fontSize.h2,
5230
- textAlign: ({
5231
- cardsCount,
5232
- isMobile
5233
- }) => cardsCount === 1 || isMobile ? 'center' : 'left',
5234
5205
  lineHeight: '70px',
5235
5206
  letterSpacing: '-3px',
5236
5207
  color: theme?.palette?.font?.default,
@@ -5241,6 +5212,14 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5241
5212
  textOverflow: 'ellipsis'
5242
5213
  },
5243
5214
  '@media (max-width: 768px)': {
5215
+ // container: {
5216
+ // padding: '60px 20px'
5217
+ // },
5218
+
5219
+ // cardHeading: {
5220
+ // marginLeft: '3px'
5221
+ // },
5222
+
5244
5223
  title: {
5245
5224
  lineHeight: '36px',
5246
5225
  letterSpacing: '-1px',
@@ -5250,6 +5229,10 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5250
5229
  whiteSpace: 'nowrap',
5251
5230
  textOverflow: 'ellipsis'
5252
5231
  }
5232
+
5233
+ // sliderContainer: {
5234
+ // marginRight: '-20px'
5235
+ // }
5253
5236
  }
5254
5237
  };
5255
5238
  });
@@ -5284,18 +5267,11 @@ function PhotoGallery({
5284
5267
  centerPadding: isMobile ? '10px 0 0' : '80px 0 0',
5285
5268
  arrows: false
5286
5269
  };
5287
- const handleClick = link => {
5288
- if (link) {
5289
- window.open(link, '_blank');
5290
- }
5291
- };
5292
5270
  const carouselContent = carouselList?.map((el, idx) => {
5293
- const link = el?.cardImage?.metadata?.link;
5294
5271
  return /*#__PURE__*/React.createElement(Fragment, {
5295
5272
  key: idx
5296
5273
  }, /*#__PURE__*/React.createElement("div", {
5297
- onClick: () => handleClick(link),
5298
- className: `${classes.singleCard} ${link && classes.cursorPointer}`
5274
+ className: classes.singleCard
5299
5275
  }, /*#__PURE__*/React.createElement(NextImageRenderer, {
5300
5276
  src: el?.cardImage?.metadata?.value,
5301
5277
  ref: el?.cardImage?.refSetter,
@@ -5337,10 +5313,10 @@ var index$b = /*#__PURE__*/Object.freeze({
5337
5313
  const useFaqListStyles = createUseStyles(theme => ({
5338
5314
  section: {
5339
5315
  width: '100%',
5316
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
5340
5317
  padding: ({
5341
5318
  isMobile
5342
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5343
- backgroundColor: theme?.palette?.background?.primary,
5319
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5344
5320
  '&, & *, & *:before, & *:after': {
5345
5321
  fontFamily: theme?.typography?.fontFamily,
5346
5322
  boxSizing: 'border-box'
@@ -5399,7 +5375,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5399
5375
  },
5400
5376
  content: {
5401
5377
  color: theme?.palette?.font.primary,
5402
- fontSize: theme.typography.fontSize.body,
5378
+ fontSize: theme.typography.fontSize.subHead,
5403
5379
  lineHeight: '24px',
5404
5380
  maxHeight: ({
5405
5381
  isSelected
@@ -5408,19 +5384,8 @@ const useFaqListStyles = createUseStyles(theme => ({
5408
5384
  overflow: 'hidden'
5409
5385
  },
5410
5386
  '@media screen and (max-width: 767px)': {
5411
- sectionSubheading: {
5412
- textAlign: 'center'
5413
- },
5414
- sectionHeading: {
5415
- textAlign: 'center'
5416
- },
5417
- title: {
5418
- fontSize: '14px',
5419
- lineHeight: '22px'
5420
- },
5421
5387
  content: {
5422
- fontSize: '14px',
5423
- lineHeight: '22px'
5388
+ lineHeight: '20px'
5424
5389
  },
5425
5390
  basicCardContainer: {
5426
5391
  '&:last-child': {
@@ -5499,8 +5464,8 @@ const Accordion = ({
5499
5464
  }), /*#__PURE__*/React.createElement("div", {
5500
5465
  className: classes.arrowButton
5501
5466
  }, /*#__PURE__*/React.createElement(ArrowButton, {
5502
- down: !isSelected,
5503
- up: isSelected,
5467
+ down: isSelected,
5468
+ up: !isSelected,
5504
5469
  size: "small"
5505
5470
  }))), /*#__PURE__*/React.createElement("div", {
5506
5471
  ref: item?.answer?.refSetter,
@@ -5520,9 +5485,8 @@ const useTextGridStyles = createUseStyles(theme => ({
5520
5485
  section: {
5521
5486
  padding: ({
5522
5487
  isMobile
5523
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5524
- // backgroundColor: theme?.palette?.background?.primary,
5525
-
5488
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5489
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
5526
5490
  '&, & *, & *:before, & *:after': {
5527
5491
  fontFamily: theme?.typography?.fontFamily,
5528
5492
  boxSizing: 'border-box'
@@ -5575,7 +5539,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5575
5539
  },
5576
5540
  nodeTitle: {
5577
5541
  color: theme?.palette?.font.default,
5578
- fontSize: theme.typography.fontSize.h4,
5542
+ fontSize: theme.typography.fontSize.h3,
5579
5543
  fontWeight: theme.typography.fontWeight.bold,
5580
5544
  lineHeight: 'normal',
5581
5545
  margin: '0 0 20px',
@@ -5583,7 +5547,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5583
5547
  },
5584
5548
  nodePara: {
5585
5549
  color: theme?.palette?.font.tertiary,
5586
- fontSize: theme.typography.fontSize.body,
5550
+ fontSize: theme.typography.fontSize.subHead,
5587
5551
  lineHeight: '24px',
5588
5552
  wordBreak: 'break-word'
5589
5553
  },
@@ -5602,14 +5566,10 @@ const useTextGridStyles = createUseStyles(theme => ({
5602
5566
  margin: '0 6px'
5603
5567
  },
5604
5568
  nodeTitle: {
5605
- fontSize: '20px',
5606
5569
  marginBottom: '0px'
5607
5570
  },
5608
5571
  nodePara: {
5609
- fontSize: '14px',
5610
- display: 'block',
5611
- margin: '16px 0 !important',
5612
- lineHeight: '22px'
5572
+ margin: '16px 0'
5613
5573
  },
5614
5574
  heading: {
5615
5575
  letterSpacing: '-1px'
@@ -5696,7 +5656,7 @@ const useCourseStyles = createUseStyles(theme => {
5696
5656
  overflow: 'hidden',
5697
5657
  padding: ({
5698
5658
  isMobile
5699
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5659
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5700
5660
  '&, & *, & *:before, & *:after': {
5701
5661
  fontFamily: theme?.typography?.fontFamily,
5702
5662
  boxSizing: 'border-box'
@@ -5845,7 +5805,8 @@ const useCourseStyles = createUseStyles(theme => {
5845
5805
  textDecoration: 'none !important'
5846
5806
  },
5847
5807
  courseCardStrikePrice: {
5848
- fontSize: '14px',
5808
+ fontSize: '10px',
5809
+ fontWeight: '600',
5849
5810
  lineHeight: '13px',
5850
5811
  color: '#FE9B0E',
5851
5812
  '& span': {
@@ -5916,7 +5877,7 @@ const useCourseStyles = createUseStyles(theme => {
5916
5877
  // fontSize: '24px',
5917
5878
  lineHeight: '36px',
5918
5879
  color: theme?.palette?.font?.default,
5919
- margin: '0px 0 12px 0',
5880
+ margin: '4px 0 12px 0',
5920
5881
  overflow: 'hidden',
5921
5882
  whiteSpace: 'nowrap',
5922
5883
  textOverflow: 'ellipsis'
@@ -6012,7 +5973,8 @@ const formatCurrency = (countryCode, value, currencySymbol) => {
6012
5973
  function CourseCard({
6013
5974
  card,
6014
5975
  countryCode,
6015
- currencySymbol
5976
+ currencySymbol,
5977
+ utmParams
6016
5978
  }) {
6017
5979
  const classes = useCourseStyles();
6018
5980
  const {
@@ -6022,7 +5984,7 @@ function CourseCard({
6022
5984
  const defaultCardImg = 'https://cp-assets-public.s3.ap-south-1.amazonaws.com/cams/cards-icon/default_course.png';
6023
5985
  const price = formatCurrency(countryCode, card?.price, currencySymbol);
6024
5986
  const finalPrice = formatCurrency(countryCode, card?.finalPrice, currencySymbol);
6025
- const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'Buy Now';
5987
+ const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'Buy Now';
6026
5988
  const offText = countryCode === 'KR' ? '할인' : 'OFF';
6027
5989
  return /*#__PURE__*/React.createElement("div", {
6028
5990
  className: classes.singleCard
@@ -6062,7 +6024,7 @@ function CourseCard({
6062
6024
  className: classes.courseCardStrikePrice
6063
6025
  }, /*#__PURE__*/React.createElement("span", null, price), " ", discount > 0 && discount + `% ${offText}`) : null), /*#__PURE__*/React.createElement("a", {
6064
6026
  className: classes.coursesAnchorTag,
6065
- href: isEdit ? null : card?.shareableLink
6027
+ href: isEdit ? null : utmParams ? card?.shareableLink + `?flyy_utm_referrer=${utmParams}` : card?.shareableLink
6066
6028
  }, /*#__PURE__*/React.createElement("div", {
6067
6029
  className: classes.courseCardBuyBtn
6068
6030
  }, buyNowText)))));
@@ -6092,6 +6054,7 @@ function courses({
6092
6054
  isMobile
6093
6055
  });
6094
6056
  const [nodeData] = sectionData?.components;
6057
+ const [utmParams, setUtmParams] = useState('');
6095
6058
  const handleApiCall = () => {
6096
6059
  if (baseURLs) {
6097
6060
  getCourseList(baseURLs, hashToken).then(response => {
@@ -6137,6 +6100,11 @@ function courses({
6137
6100
  else {
6138
6101
  handleApiCall();
6139
6102
  }
6103
+ const params = new URLSearchParams(window.location.search);
6104
+ const utmParams = params.get('flyy_utm_referrer');
6105
+ if (utmParams) {
6106
+ setUtmParams(utmParams);
6107
+ }
6140
6108
  }, []);
6141
6109
  const settings = {
6142
6110
  className: classes.slickContainer,
@@ -6174,7 +6142,8 @@ function courses({
6174
6142
  key: index,
6175
6143
  card: card,
6176
6144
  countryCode: countryCode,
6177
- currencySymbol: currencySymbol
6145
+ currencySymbol: currencySymbol,
6146
+ utmParams: utmParams
6178
6147
  })) : fallBackImages?.map((dt, ind) => {
6179
6148
  return /*#__PURE__*/React.createElement(Fragment, {
6180
6149
  key: ind
@@ -6219,9 +6188,8 @@ const useTeamStyles = createUseStyles(theme => {
6219
6188
  teamSuperContainer: {
6220
6189
  padding: ({
6221
6190
  isMobile
6222
- } = {}) => 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`,
6223
- // backgroundColor: theme?.palette?.background?.primary,
6224
-
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`,
6192
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2,
6225
6193
  '&, & *, & *:before, & *:after': {
6226
6194
  fontFamily: theme?.typography?.fontFamily,
6227
6195
  boxSizing: 'border-box'
@@ -6243,7 +6211,7 @@ const useTeamStyles = createUseStyles(theme => {
6243
6211
  letterSpacing: '3px',
6244
6212
  marginBottom: '8px',
6245
6213
  color: theme?.palette?.font?.default,
6246
- // wordBreak: 'break-word',
6214
+ wordBreak: 'break-word',
6247
6215
  position: 'relative'
6248
6216
  },
6249
6217
  partialBackground: {
@@ -6275,13 +6243,13 @@ const useTeamStyles = createUseStyles(theme => {
6275
6243
  singleSlideContainer: {
6276
6244
  backgroundColor: theme?.palette?.background?.default,
6277
6245
  margin: '20px',
6278
- width: 'calc(100% - 24px)',
6246
+ width: 'calc(100% - 32px)',
6279
6247
  // height: 'calc(100% - 40px)',
6280
6248
  border: '3px solid #D8E0F0',
6281
6249
  borderRadius: theme?.shape?.borderRadius?.regular,
6282
6250
  padding: theme.spacing.padding.tiny,
6283
6251
  boxShadow: theme?.shadows?.primary,
6284
- minHeight: '320px'
6252
+ minHeight: '390px'
6285
6253
  },
6286
6254
  imageContainer: {
6287
6255
  minWidth: '100%',
@@ -6301,19 +6269,18 @@ const useTeamStyles = createUseStyles(theme => {
6301
6269
  },
6302
6270
  teamDetailsContainer: {
6303
6271
  textAlign: 'center',
6304
- margin: '20px 0 0'
6305
- // overflowWrap: 'break-word'
6272
+ margin: '20px 0 0',
6273
+ overflowWrap: 'break-word'
6306
6274
  },
6307
-
6308
6275
  teamDetailsHeading: {
6309
- fontSize: theme.typography.fontSize.h6,
6276
+ fontSize: theme.typography.fontSize.h5,
6310
6277
  fontWeight: theme.typography.fontWeight.bold,
6311
- lineHeight: '24px',
6278
+ lineHeight: '32px',
6312
6279
  margin: '0',
6313
6280
  color: theme?.palette?.font?.default
6314
6281
  },
6315
6282
  teamDetailsSubHeading: {
6316
- fontSize: theme.typography.fontSize.body,
6283
+ fontSize: theme.typography.fontSize.subHead,
6317
6284
  lineHeight: '24px',
6318
6285
  margin: '12px 0 0',
6319
6286
  color: theme?.palette?.font?.primary
@@ -6323,14 +6290,9 @@ const useTeamStyles = createUseStyles(theme => {
6323
6290
  // padding: '60px 20px'
6324
6291
  // },
6325
6292
  teamHeading: {
6326
- lineHeight: '20px',
6327
- margin: 0,
6328
- textAlign: 'center'
6293
+ lineHeight: '20px'
6329
6294
  },
6330
6295
  teamTitle: {
6331
- marginTop: '0px',
6332
- textAlign: 'center',
6333
- fontSize: theme.typography.fontSize.h2,
6334
6296
  lineHeight: '36px',
6335
6297
  letterSpacing: '-1px'
6336
6298
  },
@@ -6338,7 +6300,6 @@ const useTeamStyles = createUseStyles(theme => {
6338
6300
  margin: '0 -4px'
6339
6301
  },
6340
6302
  singleSlideContainer: {
6341
- padding: '24px',
6342
6303
  width: 'calc(100% - 8px)',
6343
6304
  margin: '12px 4px'
6344
6305
  },
@@ -6349,13 +6310,11 @@ const useTeamStyles = createUseStyles(theme => {
6349
6310
  },
6350
6311
 
6351
6312
  teamDetailsHeading: {
6352
- fontSize: '16px',
6353
6313
  lineHeight: '24px',
6354
6314
  margin: '0',
6355
- color: theme?.palette?.font?.body
6315
+ color: theme?.palette?.font?.default
6356
6316
  },
6357
6317
  teamDetailsSubHeading: {
6358
- marginTop: '0px',
6359
6318
  color: theme?.palette?.font?.primary
6360
6319
  }
6361
6320
  }
@@ -6470,7 +6429,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6470
6429
  backgroundColor: theme?.palette?.background?.default,
6471
6430
  padding: ({
6472
6431
  isMobile
6473
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6432
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6474
6433
  '&, & *, & *:before, & *:after': {
6475
6434
  fontFamily: theme?.typography?.fontFamily,
6476
6435
  boxSizing: 'border-box'
@@ -6495,7 +6454,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6495
6454
  width: '100%',
6496
6455
  height: '50%',
6497
6456
  position: 'absolute',
6498
- background: theme?.palette?.background?.primary
6457
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.background2
6499
6458
  },
6500
6459
  sectionContainer: {
6501
6460
  backgroundColor: theme?.palette?.background?.default,
@@ -6550,7 +6509,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6550
6509
  padding: '4px 8px 0 0'
6551
6510
  },
6552
6511
  addressText: {
6553
- fontSize: theme.typography.fontSize.h6,
6512
+ fontSize: theme.typography.fontSize.subHead,
6554
6513
  color: theme?.palette?.font?.default,
6555
6514
  lineHeight: '24px'
6556
6515
  },
@@ -6761,6 +6720,7 @@ function FormEnquiry({
6761
6720
  }, /*#__PURE__*/React.createElement("div", {
6762
6721
  className: classes.inputDiv
6763
6722
  }, /*#__PURE__*/React.createElement(Input, {
6723
+ theme: theme,
6764
6724
  data: nodeData.nameField,
6765
6725
  value: inputVal.name,
6766
6726
  isValid: validData.nameValid,
@@ -6875,8 +6835,7 @@ const useSectionStyles = createUseStyles(theme => ({
6875
6835
  alignItems: 'center',
6876
6836
  padding: ({
6877
6837
  isMobile
6878
- } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6879
- backgroundColor: theme?.palette?.background?.default,
6838
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6880
6839
  '&, & *, & *:before, & *:after': {
6881
6840
  fontFamily: theme?.typography?.fontFamily,
6882
6841
  boxSizing: 'border-box'
@@ -6902,7 +6861,8 @@ const useSectionStyles = createUseStyles(theme => ({
6902
6861
  width: '100%',
6903
6862
  height: '50%',
6904
6863
  position: 'absolute',
6905
- background: theme?.palette?.background?.primary
6864
+ // background: theme?.palette?.background?.primary
6865
+ background: theme?.isGradient ? theme?.gradientColors?.background2 : theme?.solidColors?.tertiaryBlue2
6906
6866
  },
6907
6867
  sectionContainer: {
6908
6868
  backgroundColor: theme?.palette?.background?.default,
@@ -6918,8 +6878,7 @@ const useSectionStyles = createUseStyles(theme => ({
6918
6878
  lineHeight: '71px',
6919
6879
  letterSpacing: '-3px',
6920
6880
  textAlign: 'left',
6921
- wordBreak: 'break-word',
6922
- textAlign: 'center'
6881
+ wordBreak: 'break-word'
6923
6882
  },
6924
6883
  contentContainer: {
6925
6884
  width: '100%',
@@ -6928,18 +6887,17 @@ const useSectionStyles = createUseStyles(theme => ({
6928
6887
  wordBreak: 'break-word'
6929
6888
  },
6930
6889
  leftContainer: {
6890
+ width: '50%',
6931
6891
  display: 'flex',
6932
6892
  flexDirection: 'column',
6933
- justifyContent: 'space-between',
6934
- flex: 1
6893
+ justifyContent: 'space-between'
6935
6894
  },
6936
6895
  subtitle: {
6937
6896
  margin: '0 0 auto 0',
6938
6897
  fontSize: theme.typography.fontSize.h6,
6939
6898
  color: theme?.palette?.font?.default,
6940
6899
  lineHeight: '32px',
6941
- margin: '16px 0',
6942
- textAlign: 'center'
6900
+ margin: '20px 0px'
6943
6901
  },
6944
6902
  addressContainer: {
6945
6903
  display: 'flex',
@@ -6955,7 +6913,8 @@ const useSectionStyles = createUseStyles(theme => ({
6955
6913
  width: '50%',
6956
6914
  display: 'flex',
6957
6915
  flexDirection: 'column',
6958
- justifyContent: 'space-between'
6916
+ justifyContent: 'space-between',
6917
+ padding: '0 0 0 80px'
6959
6918
  },
6960
6919
  inputDiv: {
6961
6920
  margin: '0 0 20px 0',
@@ -7030,7 +6989,7 @@ const useSectionStyles = createUseStyles(theme => ({
7030
6989
  textAlign: 'center'
7031
6990
  },
7032
6991
  subtitle: {
7033
- margin: '4px 0 24px 0',
6992
+ margin: '0 0 12px 0',
7034
6993
  textAlign: 'center',
7035
6994
  lineHeight: '26px'
7036
6995
  },
@@ -7139,6 +7098,10 @@ function Contact({
7139
7098
  className: classes.partialBackground
7140
7099
  }), /*#__PURE__*/React.createElement("div", {
7141
7100
  className: classes.sectionContainer
7101
+ }, /*#__PURE__*/React.createElement("div", {
7102
+ className: classes.contentContainer
7103
+ }, /*#__PURE__*/React.createElement("div", {
7104
+ className: classes.leftContainer
7142
7105
  }, /*#__PURE__*/React.createElement("h2", {
7143
7106
  className: classes.title
7144
7107
  }, /*#__PURE__*/React.createElement("span", {
@@ -7153,10 +7116,6 @@ function Contact({
7153
7116
  __html: nodeData?.subtitle?.metadata?.value
7154
7117
  }
7155
7118
  }), /*#__PURE__*/React.createElement("div", {
7156
- className: classes.contentContainer
7157
- }, /*#__PURE__*/React.createElement("div", {
7158
- className: classes.leftContainer
7159
- }, /*#__PURE__*/React.createElement("div", {
7160
7119
  className: classes.addressContainer
7161
7120
  }, /*#__PURE__*/React.createElement(NextImageRenderer, {
7162
7121
  className: classes?.telephoneImage,
@@ -7280,6 +7239,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7280
7239
  webinarSuperContainer: {
7281
7240
  display: 'flex',
7282
7241
  justifyContent: 'center',
7242
+ background: theme?.colors?.background1,
7283
7243
  padding: ({
7284
7244
  isMobile
7285
7245
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7290,7 +7250,14 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7290
7250
  '& h2,& h3,& p': {
7291
7251
  margin: '0'
7292
7252
  }
7253
+ // '& h2,& h3': {
7254
+ // fontWeight: '500',
7255
+ // '& b,& strong': {
7256
+ // fontWeight: '700'
7257
+ // }
7258
+ // }
7293
7259
  },
7260
+
7294
7261
  sectionContainer: {
7295
7262
  margin: '0 auto',
7296
7263
  maxWidth: ({
@@ -7401,7 +7368,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7401
7368
  margin: '0',
7402
7369
  letterSpacing: '-1px',
7403
7370
  wordBreak: wordBreakValue => wordBreakValue || 'break-word',
7404
- color: theme.palette.font.default
7371
+ color: theme?.colors?.font1
7405
7372
  },
7406
7373
  courseViewContainer: {
7407
7374
  width: '645px',
@@ -7434,6 +7401,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7434
7401
  courseDetailTag: {
7435
7402
  display: 'flex',
7436
7403
  alignItems: 'center',
7404
+ color: theme?.colors?.font1,
7437
7405
  marginRight: '20px',
7438
7406
  '& div': {
7439
7407
  fontSize: theme.typography.fontSize.subHead,
@@ -7443,7 +7411,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7443
7411
  courseDetailContent: {
7444
7412
  fontSize: theme.typography.fontSize.subHead,
7445
7413
  wordBreak: 'break-word',
7446
- color: theme.palette.font.primary,
7414
+ color: theme?.colors?.font1,
7447
7415
  whiteSpace: 'pre-wrap',
7448
7416
  width: '80%'
7449
7417
  },
@@ -7452,8 +7420,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7452
7420
  fontSize: theme.typography.fontSize.subHead,
7453
7421
  lineHeight: '24px',
7454
7422
  marginTop: '-20px',
7455
- color: '#00ADE7',
7456
- wordBreak: 'break-word'
7423
+ color: theme?.colors?.font1,
7424
+ wordBreak: 'break-word',
7425
+ textDecoration: 'underline'
7457
7426
  },
7458
7427
  courseDetailTime: {
7459
7428
  color: '#EB5757',
@@ -7621,7 +7590,7 @@ const SingleVideoSlide$1 = props => {
7621
7590
  }
7622
7591
  };
7623
7592
  const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
7624
- const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'BUY NOW';
7593
+ const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'BUY NOW';
7625
7594
  const registerNowText = countryCode === 'KR' ? '웨비나 신청하기' : 'REGISTER NOW';
7626
7595
  const momentLocale = countryCode === 'KR' ? 'ko' : 'in';
7627
7596
  if (countryCode === 'KR') {
@@ -7668,7 +7637,7 @@ const SingleVideoSlide$1 = props => {
7668
7637
  color: theme.palette.primary.main,
7669
7638
  width: "20px",
7670
7639
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7671
- })), /*#__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", {
7672
7641
  ref: data?.videoTextContent?.refSetter,
7673
7642
  className: classes.courseDetailContent,
7674
7643
  dangerouslySetInnerHTML: {
@@ -7702,7 +7671,7 @@ const SingleVideoSlide$1 = props => {
7702
7671
  className: classes.priceContainer
7703
7672
  }, /*#__PURE__*/React.createElement("div", {
7704
7673
  className: classes.offerPrice
7705
- }, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
7674
+ }, effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("div", {
7706
7675
  style: {
7707
7676
  fontSize: '20px'
7708
7677
  }
@@ -7777,6 +7746,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7777
7746
  courseSuperContainer: {
7778
7747
  display: 'flex',
7779
7748
  justifyContent: 'center',
7749
+ background: theme?.isGradient ? theme?.gradientColors?.background1 : theme?.solidColors?.background1,
7780
7750
  padding: ({
7781
7751
  isMobile
7782
7752
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7897,7 +7867,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7897
7867
  margin: '0',
7898
7868
  letterSpacing: '-1px',
7899
7869
  wordBreak: 'break-word',
7900
- color: theme.palette.font.default
7870
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1
7901
7871
  },
7902
7872
  courseViewContainer: {
7903
7873
  width: '445px',
@@ -7948,6 +7918,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7948
7918
  },
7949
7919
  courseDetailTag: {
7950
7920
  marginTop: '5px',
7921
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
7951
7922
  display: 'flex',
7952
7923
  alignItems: 'center',
7953
7924
  marginRight: '20px',
@@ -7962,7 +7933,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7962
7933
  fontSize: theme.typography.fontSize.subHead,
7963
7934
  lineHeight: '24px',
7964
7935
  wordBreak: 'break-word',
7965
- color: theme.palette.font.primary,
7936
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
7966
7937
  whiteSpace: 'pre-wrap',
7967
7938
  margin: '10px 0 20px'
7968
7939
  },
@@ -7971,7 +7942,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7971
7942
  fontSize: theme.typography.fontSize.subHead,
7972
7943
  lineHeight: '24px',
7973
7944
  marginTop: '-24px',
7974
- color: '#00ADE7',
7945
+ color: theme?.isGradient ? theme?.gradientColors?.font1 : theme?.solidColors?.font1,
7975
7946
  wordBreak: 'break-word'
7976
7947
  },
7977
7948
  courseDetailTime: {
@@ -8159,7 +8130,7 @@ const SingleVideoSlide = props => {
8159
8130
  };
8160
8131
  const effectivePrice = formatCurrency(countryCode, data?.effectivePrice, currencySymbol);
8161
8132
  const finalPrice = formatCurrency(countryCode, data?.price, currencySymbol);
8162
- const buyNowText = countryCode === 'KR' ? '이 웨비나 신청하기' : 'BUY NOW';
8133
+ const buyNowText = countryCode === 'KR' ? '수강신청하기' : 'BUY NOW';
8163
8134
  const handleReadMoreText = () => {
8164
8135
  if (countryCode === 'KR') {
8165
8136
  return '더 보기';
@@ -8359,7 +8330,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8359
8330
  padding: ({
8360
8331
  isMobile
8361
8332
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8362
- background: '#F4F9FF',
8333
+ background: theme?.isGradient ? theme?.gradientColors?.background3 : theme?.solidColors?.background3,
8363
8334
  '&, & *, & *:before, & *:after': {
8364
8335
  fontFamily: theme?.typography?.fontFamily,
8365
8336
  boxSizing: 'border-box'
@@ -8732,7 +8703,7 @@ const useTilesStyles = createUseStyles(theme => {
8732
8703
  flexDirection: 'column',
8733
8704
  padding: ({
8734
8705
  isMobile
8735
- } = {}) => isMobile ? `24px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`
8706
+ } = {}) => isMobile ? `16px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`
8736
8707
  },
8737
8708
  tileDiv: {
8738
8709
  width: '236px',