diy-template-components 0.2.75 → 0.2.77

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
@@ -338,118 +338,117 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
338
338
  };
339
339
  };
340
340
 
341
- const buttonStyles = createUseStyles(theme => {
342
- console.log('themexxxxdsfb', theme);
343
- return {
344
- primary: {
345
- width: ({
346
- fluid
347
- } = {}) => fluid ? '100%' : '',
348
- borderRadius: theme?.shape?.borderRadius?.regular,
349
- fontWeight: '700',
350
- fontSize: '14px',
351
- lineHeight: '18px',
352
- textAlign: 'center',
353
- color: ({
354
- disabled
355
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.isGradient ? theme?.themeGradient?.CtaTextColor : theme?.themeColors?.CtaTextColor,
356
- background: ({
357
- disabled
358
- } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.isGradient ? theme?.themeGradient?.ctaColor : theme?.themeColors?.ctaColor,
359
- border: 'none',
360
- textDecoration: 'none',
361
- cursor: ({
362
- disabled
363
- } = {}) => disabled ? 'not-allowed' : 'pointer',
364
- maxWidth: '100%',
365
- display: 'inline-block',
366
- wordBreak: 'break-word',
367
- flexShrink: '0'
341
+ const buttonStyles = createUseStyles(theme => ({
342
+ primary: {
343
+ width: ({
344
+ fluid
345
+ } = {}) => fluid ? '100%' : '',
346
+ borderRadius: theme?.shape?.borderRadius?.regular,
347
+ fontWeight: '700',
348
+ fontSize: '14px',
349
+ lineHeight: '18px',
350
+ textAlign: 'center',
351
+ color: ({
352
+ disabled
353
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
354
+ background: ({
355
+ disabled
356
+ } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
357
+ border: ({
358
+ disabled
359
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
360
+ textDecoration: 'none',
361
+ cursor: ({
362
+ disabled
363
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
364
+ maxWidth: '100%',
365
+ display: 'inline-block',
366
+ wordBreak: 'break-word',
367
+ flexShrink: '0'
368
+ },
369
+ secondary: {
370
+ width: ({
371
+ fluid
372
+ } = {}) => fluid ? '100%' : '',
373
+ borderRadius: theme?.shape?.borderRadius?.regular,
374
+ fontSize: '14px',
375
+ fontWeight: '700',
376
+ display: 'inline-block',
377
+ textDecoration: 'none',
378
+ lineHeight: '18px',
379
+ color: ({
380
+ disabled
381
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
382
+ background: ({
383
+ disabled
384
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
385
+ border: ({
386
+ disabled
387
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
388
+ cursor: ({
389
+ disabled
390
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
391
+ maxWidth: '100%',
392
+ display: 'inline-block',
393
+ wordBreak: 'break-word',
394
+ flexShrink: '0'
395
+ },
396
+ tertiary: {
397
+ width: ({
398
+ fluid
399
+ } = {}) => fluid ? '100%' : '',
400
+ fontWeight: '400',
401
+ fontSize: '16px',
402
+ lineHeight: '20px',
403
+ display: 'flex',
404
+ alignItems: 'center',
405
+ border: 'none',
406
+ color: ({
407
+ disabled
408
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
409
+ background: ({
410
+ disabled
411
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
412
+ cursor: ({
413
+ disabled
414
+ } = {}) => disabled ? 'not-allowed' : 'pointer',
415
+ maxWidth: '100%',
416
+ display: 'inline-block',
417
+ wordBreak: 'break-word',
418
+ flexShrink: '0',
419
+ '&:hover': {
420
+ background: theme.palette.primary.lightest,
421
+ borderRadius: '4px'
368
422
  },
369
- secondary: {
370
- width: ({
371
- fluid
372
- } = {}) => fluid ? '100%' : '',
373
- borderRadius: theme?.shape?.borderRadius?.regular,
374
- fontSize: '14px',
423
+ '&$active': {
375
424
  fontWeight: '700',
376
- display: 'inline-block',
377
- textDecoration: 'none',
378
- lineHeight: '18px',
379
- color: ({
380
- disabled
381
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.themeColors?.CtaTextColor,
382
- background: ({
383
- disabled
384
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.isGradient ? theme?.themeGradient?.ctaColor : theme?.themeColors?.ctaColor,
385
- border: ({
386
- disabled
387
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.themeColors?.ctaColor}`,
388
- cursor: ({
389
- disabled
390
- } = {}) => disabled ? 'not-allowed' : 'pointer',
391
- maxWidth: '100%',
392
- display: 'inline-block',
393
- wordBreak: 'break-word',
394
- flexShrink: '0'
395
- },
396
- tertiary: {
397
- width: ({
398
- fluid
399
- } = {}) => fluid ? '100%' : '',
400
- fontWeight: '400',
401
- fontSize: '16px',
402
- lineHeight: '20px',
403
- display: 'flex',
404
- alignItems: 'center',
405
- border: 'none',
406
- color: ({
407
- disabled
408
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
409
- background: ({
410
- disabled
411
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
412
- cursor: ({
413
- disabled
414
- } = {}) => disabled ? 'not-allowed' : 'pointer',
415
- maxWidth: '100%',
416
- display: 'inline-block',
417
- wordBreak: 'break-word',
418
- flexShrink: '0',
419
- '&:hover': {
420
- background: theme.palette.primary.lightest,
421
- borderRadius: '4px'
422
- },
423
- '&$active': {
424
- fontWeight: '700',
425
- background: theme.palette.primary.lightest,
426
- borderRadius: theme.shape.borderRadius.small,
427
- color: theme.palette.primary.main
428
- }
429
- },
430
- anchorClass: {
431
- textDecoration: 'none'
432
- },
433
- active: {},
434
- large: {
435
- padding: '20px 24px'
436
- },
437
- medium: {
438
- padding: '16px 24px'
439
- },
440
- small: {
441
- padding: '12px 16px'
442
- },
443
- '@media screen and (max-width: 767px)': {
444
- active: {
445
- fontWeight: 'initial',
446
- background: theme?.palette?.background?.default,
447
- borderRadius: '0',
448
- color: theme.palette.primary.main
449
- }
425
+ background: theme.palette.primary.lightest,
426
+ borderRadius: theme.shape.borderRadius.small,
427
+ color: theme.palette.primary.main
450
428
  }
451
- };
452
- });
429
+ },
430
+ anchorClass: {
431
+ textDecoration: 'none'
432
+ },
433
+ active: {},
434
+ large: {
435
+ padding: '20px 24px'
436
+ },
437
+ medium: {
438
+ padding: '16px 24px'
439
+ },
440
+ small: {
441
+ padding: '12px 16px'
442
+ },
443
+ '@media screen and (max-width: 767px)': {
444
+ active: {
445
+ fontWeight: 'initial',
446
+ background: theme?.palette?.background?.default,
447
+ borderRadius: '0',
448
+ color: theme.palette.primary.main
449
+ }
450
+ }
451
+ }));
453
452
 
454
453
  function useLinkBuilder(data) {
455
454
  const {
@@ -1986,6 +1985,7 @@ const fontWeight = {
1986
1985
  };
1987
1986
 
1988
1987
  function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
1988
+ console.log(isMobile, "isMobileisMobile");
1989
1989
  const palette = palettes[colorTheme] || palettes['blue'];
1990
1990
  const typography = {
1991
1991
  fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
@@ -2206,125 +2206,13 @@ function PageRenderer$1({
2206
2206
  }))));
2207
2207
  }
2208
2208
 
2209
- const GRADIENT = `linear-gradient`;
2210
- const solidBaseColors = {
2211
- white: '#FFFFFF',
2212
- blue: '#1676F3',
2213
- tertiaryblue: '#F4F9FF',
2214
- orange: '#FF9000',
2215
- tertiaryorange: '#FFF6EA',
2216
- pink: '#F72585',
2217
- tertiarypink: '#FEE9F3',
2218
- green: '#8ECE19',
2219
- tertiarygreen: '#F4FAEB',
2220
- violet: '#6269C9',
2221
- tertiaryviolet: '#F4F6FF',
2222
- red: '#F41828',
2223
- tertiaryred: '#FFF2F3',
2224
- maroon: '#9B2226',
2225
- tertiarymaroon: '#FFF0F0',
2226
- blue2: '#00ADE7',
2227
- tertiaryblue2: '#F2FCFF'
2228
- };
2229
- const gradientColors = {
2230
- white: '#FFFFFF',
2231
- black: '#000000',
2232
- // Blue gradient
2233
-
2234
- blue: '#1676F3',
2235
- bluegradient: `${GRADIENT}(#5418D1,#2C88FF)`,
2236
- tertiaryblue: '#F4F9FF',
2237
- // Orange gradient
2238
-
2239
- orange: '#FF9000',
2240
- orangegradient: `${GRADIENT}(#E96263 , #EAAE4C)`,
2241
- tertiaryorange: '#FFF6EA',
2242
- // Pink gradient
2243
-
2244
- pink: '#F72585',
2245
- pinkgradient: `${GRADIENT}(#F97794,#623AA2)`,
2246
- tertiarypink: '#FEE9F3',
2247
- // Violet gradient
2248
-
2249
- violet: '#6026A8',
2250
- violetgradient: `${GRADIENT}(#B66EC0 , #460FA1)`,
2251
- tertiaryviolet: '#F5F2FA',
2252
- // Green gradient
2253
-
2254
- green: '#46A9A9',
2255
- greengradient: `${GRADIENT}(#0E5CAD, #79F1A4)`,
2256
- tertiarygreen: '#F4FAFA'
2257
- };
2258
-
2259
- // temporary , will move this
2260
-
2261
- let fontFamily = 'Arial';
2262
- const typography = {
2263
- fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
2264
- fontSize: fontSize,
2265
- fontWeight
2266
- };
2267
- const spacing = {
2268
- padding: padding,
2269
- margin: margin
2270
- };
2271
-
2272
- // till here
2273
-
2274
- const generateTheme = (theme, isGradient) => {
2275
- console.log('isGradient', isGradient);
2276
- const themeColors = {
2277
- font1: solidBaseColors?.black,
2278
- font2: solidBaseColors?.black,
2279
- font3: solidBaseColors?.black,
2280
- font4: solidBaseColors?.black,
2281
- AccentColor: solidBaseColors[theme],
2282
- background1: solidBaseColors?.white,
2283
- background2: solidBaseColors['tertiary' + theme],
2284
- background3: solidBaseColors['tertiary' + theme],
2285
- ctaColor: solidBaseColors[theme],
2286
- CtaTextColor: solidBaseColors?.white,
2287
- icon: solidBaseColors[theme],
2288
- iconBg: solidBaseColors['tertiary' + theme],
2289
- stripBg: solidBaseColors[theme],
2290
- stripText: solidBaseColors?.white,
2291
- inputBorderColor: solidBaseColors?.blue2,
2292
- tertiaryBlue2: solidBaseColors?.tertiaryblue2
2293
- };
2294
- const themeGradient = {
2295
- font1: gradientColors?.white,
2296
- font2: gradientColors?.black,
2297
- font3: gradientColors?.black,
2298
- font4: gradientColors?.white,
2299
- AccentColor: gradientColors[theme],
2300
- background1: gradientColors[theme + 'gradient'],
2301
- background2: gradientColors['tertiary' + theme],
2302
- background3: gradientColors[theme + 'gradient'],
2303
- ctaColor: gradientColors[theme + 'gradient'],
2304
- CtaTextColor: gradientColors?.white,
2305
- icon: gradientColors[theme],
2306
- iconBg: gradientColors['tertiary' + theme],
2307
- stripBg: gradientColors?.black,
2308
- stripText: gradientColors?.white
2309
- };
2310
- return {
2311
- ...getTheme(theme),
2312
- themeColors,
2313
- typography,
2314
- spacing,
2315
- isGradient,
2316
- themeGradient
2317
- };
2318
- };
2319
-
2320
2209
  const useSectionStyles$8 = createUseStyles(theme => ({
2321
2210
  bannerCarouselRightSection: {
2322
2211
  position: 'relative',
2323
- background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
2324
2212
  padding: ({
2325
2213
  isMobile
2326
2214
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2327
- backgroundColor: generateTheme('blue')?.background2,
2215
+ backgroundColor: theme?.palette?.background?.primary,
2328
2216
  '&, & *, & *:before, & *:after': {
2329
2217
  fontFamily: theme?.typography?.fontFamily,
2330
2218
  boxSizing: 'border-box'
@@ -2541,7 +2429,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2541
2429
  height: sizeHandler,
2542
2430
  border: ({
2543
2431
  inverted
2544
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.themeColors?.ctaColor}`,
2432
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2545
2433
  borderRadius: '50%',
2546
2434
  display: 'flex',
2547
2435
  justifyContent: 'center',
@@ -2563,7 +2451,7 @@ function ArrowButton(props) {
2563
2451
  }, /*#__PURE__*/React.createElement(Icon, {
2564
2452
  height: props.size === 'small' ? '12px' : '18px',
2565
2453
  name: "Angle",
2566
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.themeColors?.ctaColor,
2454
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2567
2455
  inverted: true
2568
2456
  }));
2569
2457
  }
@@ -2757,183 +2645,176 @@ var index$l = /*#__PURE__*/Object.freeze({
2757
2645
  'default': BannerCarouselRight
2758
2646
  });
2759
2647
 
2760
- const useSectionStyles$7 = createUseStyles(theme => {
2761
- console.log('sdkjfndkjsnfk', theme);
2762
- return {
2763
- section: {
2764
- width: '100%',
2765
- padding: ({
2766
- isMobile
2767
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2768
- display: 'flex',
2769
- justifyContent: 'center',
2770
- flexDirection: 'column',
2771
- alignItems: 'center',
2772
- backgroundColor: theme?.palette?.background?.default,
2773
- '&, & *, & *:before, & *:after': {
2774
- fontFamily: theme?.typography?.fontFamily,
2775
- boxSizing: 'border-box'
2648
+ const useSectionStyles$7 = createUseStyles(theme => ({
2649
+ section: {
2650
+ width: '100%',
2651
+ padding: ({
2652
+ isMobile
2653
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2654
+ display: 'flex',
2655
+ justifyContent: 'center',
2656
+ flexDirection: 'column',
2657
+ alignItems: 'center',
2658
+ backgroundColor: theme?.palette?.background?.default,
2659
+ '&, & *, & *:before, & *:after': {
2660
+ fontFamily: theme?.typography?.fontFamily,
2661
+ boxSizing: 'border-box'
2662
+ },
2663
+ '& h2,& h3': {
2664
+ marginTop: '0'
2665
+ }
2666
+ },
2667
+ sectionContainer: {
2668
+ margin: '0 auto',
2669
+ maxWidth: ({
2670
+ containerWidth
2671
+ } = {}) => containerWidth
2672
+ },
2673
+ subTitleHeading: {
2674
+ marginBottom: '8px',
2675
+ fontSize: theme.typography.fontSize.subHead,
2676
+ color: theme?.palette?.font?.tertiary,
2677
+ alignItems: 'center',
2678
+ textAlign: 'center',
2679
+ wordBreak: 'break-word',
2680
+ textTransform: 'uppercase'
2681
+ },
2682
+ heading: {
2683
+ marginBottom: theme.spacing.margin.tiny,
2684
+ fontSize: theme.typography.fontSize.h2,
2685
+ color: theme?.palette?.font?.default,
2686
+ fontWeight: theme.typography.fontWeight.bold,
2687
+ textAlign: 'center',
2688
+ wordBreak: 'break-word'
2689
+ },
2690
+ contentContainer: {
2691
+ display: 'flex',
2692
+ flexDirection: 'column',
2693
+ alignItems: 'center',
2694
+ justifyContent: 'center',
2695
+ width: '770px',
2696
+ margin: 'auto'
2697
+ },
2698
+ content: {
2699
+ display: 'flex',
2700
+ width: 'calc(100% - 100px)',
2701
+ alignItems: 'center',
2702
+ background: theme?.palette?.background?.default,
2703
+ boxShadow: theme?.shadows?.primary,
2704
+ borderRadius: theme?.shape?.borderRadius?.regular,
2705
+ overflow: 'hidden',
2706
+ minHeight: 200,
2707
+ marginBottom: theme.spacing.margin.small,
2708
+ position: 'relative',
2709
+ '&:nth-child(2n)': {
2710
+ alignSelf: 'flex-end',
2711
+ '& $contentNumber': {
2712
+ right: '0'
2713
+ },
2714
+ '& $contentText': {
2715
+ marginRight: '170px'
2776
2716
  }
2777
- // '& h2,& h3': {
2778
- // fontWeight: '500',
2779
- // '& b,& strong': {
2780
- // fontWeight: '700'
2781
- // }
2782
- // }
2783
2717
  },
2784
-
2785
- sectionContainer: {
2786
- margin: '0 auto',
2787
- maxWidth: ({
2788
- containerWidth
2789
- } = {}) => containerWidth
2718
+ '&:nth-child(2n+1)': {
2719
+ alignSelf: 'flex-start',
2720
+ '& $contentNumber': {
2721
+ left: '0'
2722
+ },
2723
+ '& $contentText': {
2724
+ marginLeft: '170px'
2725
+ }
2790
2726
  },
2791
- subTitleHeading: {
2792
- marginBottom: '8px',
2793
- fontSize: theme.typography.fontSize.subHead,
2794
- color: theme?.palette?.font?.tertiary,
2795
- alignItems: 'center',
2796
- textAlign: 'center',
2797
- wordBreak: 'break-word',
2798
- textTransform: 'uppercase'
2727
+ '&:nth-child(7n+1) $contentNumber': {
2728
+ background: palettes.purple.primary.lightest
2799
2729
  },
2800
- heading: {
2801
- marginBottom: theme.spacing.margin.tiny,
2802
- fontSize: theme.typography.fontSize.h2,
2803
- color: theme?.palette?.font?.default,
2804
- fontWeight: theme.typography.fontWeight.bold,
2805
- textAlign: 'center',
2806
- wordBreak: 'break-word'
2730
+ '&:nth-child(7n+2) $contentNumber': {
2731
+ background: palettes.orange.primary.lightest
2807
2732
  },
2733
+ '&:nth-child(7n+3) $contentNumber': {
2734
+ background: palettes.red.primary.lightest
2735
+ },
2736
+ '&:nth-child(7n+4) $contentNumber': {
2737
+ background: palettes.green.primary.lightest
2738
+ },
2739
+ '&:nth-child(7n+5) $contentNumber': {
2740
+ background: palettes.pink.primary.lightest
2741
+ },
2742
+ '&:nth-child(7n+6) $contentNumber': {
2743
+ background: palettes.blue.primary.lightest
2744
+ },
2745
+ '&:nth-child(7n) $contentNumber': {
2746
+ background: palettes.rust.primary.lightest
2747
+ }
2748
+ },
2749
+ contentNumber: {
2750
+ position: 'absolute',
2751
+ top: '0',
2752
+ fontWeight: '700',
2753
+ fontSize: '72px',
2754
+ letterSpacing: '-3px',
2755
+ display: 'flex',
2756
+ alignItems: 'center',
2757
+ justifyContent: 'center',
2758
+ padding: '48px',
2759
+ height: '100%',
2760
+ color: theme?.palette?.font?.default,
2761
+ wordBreak: 'break-word'
2762
+ },
2763
+ contentText: {
2764
+ padding: theme.spacing.padding.tiny
2765
+ },
2766
+ contentHeading: {
2767
+ fontStyle: 'normal',
2768
+ fontSize: theme.typography.fontSize.h5,
2769
+ fontWeight: theme.typography.fontWeight.bold,
2770
+ lineHeight: '32px',
2771
+ marginBottom: '8px',
2772
+ color: theme?.palette?.font?.default,
2773
+ wordBreak: 'break-word'
2774
+ },
2775
+ contentPara: {
2776
+ fontStyle: 'normal',
2777
+ fontSize: theme.typography.fontSize.subHead,
2778
+ lineHeight: '32px',
2779
+ color: theme?.palette?.font?.primary,
2780
+ wordBreak: 'break-word'
2781
+ },
2782
+ '@media screen and (max-width: 767px)': {
2808
2783
  contentContainer: {
2809
- display: 'flex',
2810
- flexDirection: 'column',
2811
- alignItems: 'center',
2812
- justifyContent: 'center',
2813
- width: '770px',
2814
- margin: 'auto'
2784
+ width: '100%'
2815
2785
  },
2816
2786
  content: {
2817
2787
  display: 'flex',
2818
- width: 'calc(100% - 100px)',
2819
- alignItems: 'center',
2820
- background: theme?.palette?.background?.default,
2821
- boxShadow: theme?.shadows?.primary,
2822
- borderRadius: theme?.shape?.borderRadius?.regular,
2823
- overflow: 'hidden',
2824
- minHeight: 200,
2825
- marginBottom: theme.spacing.margin.small,
2826
- position: 'relative',
2788
+ flexDirection: 'column',
2789
+ borderRadius: theme.shape.borderRadius.large,
2790
+ width: '100%',
2791
+ height: 'auto',
2827
2792
  '&:nth-child(2n)': {
2828
- alignSelf: 'flex-end',
2829
- '& $contentNumber': {
2830
- right: '0'
2831
- },
2793
+ marginLeft: '0',
2832
2794
  '& $contentText': {
2833
- marginRight: '170px'
2795
+ marginRight: '0',
2796
+ alignSelf: 'flex-start'
2797
+ // padding: '0'
2834
2798
  }
2835
2799
  },
2800
+
2836
2801
  '&:nth-child(2n+1)': {
2837
- alignSelf: 'flex-start',
2838
- '& $contentNumber': {
2839
- left: '0'
2840
- },
2802
+ marginRight: '0',
2841
2803
  '& $contentText': {
2842
- marginLeft: '170px'
2804
+ marginLeft: '0',
2805
+ alignSelf: 'flex-start'
2806
+ // padding: '0'
2843
2807
  }
2844
- },
2845
- '&:nth-child(7n+1) $contentNumber': {
2846
- background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2847
- },
2848
- '&:nth-child(7n+2) $contentNumber': {
2849
- background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2850
- },
2851
- '&:nth-child(7n+3) $contentNumber': {
2852
- background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2853
- },
2854
- '&:nth-child(7n+4) $contentNumber': {
2855
- background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2856
- },
2857
- '&:nth-child(7n+5) $contentNumber': {
2858
- background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2859
- },
2860
- '&:nth-child(7n+6) $contentNumber': {
2861
- background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2862
- },
2863
- '&:nth-child(7n) $contentNumber': {
2864
- background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
2865
2808
  }
2866
2809
  },
2867
- contentNumber: {
2868
- position: 'absolute',
2869
- top: '0',
2870
- fontWeight: '700',
2871
- fontSize: '72px',
2872
- letterSpacing: '-3px',
2873
- display: 'flex',
2874
- alignItems: 'center',
2875
- justifyContent: 'center',
2876
- padding: '48px',
2877
- height: '100%',
2878
- color: theme?.isGradient ? theme?.themeGradient?.font4 : theme?.themeColors?.font4,
2879
- wordBreak: 'break-word'
2880
- },
2881
- contentText: {
2882
- padding: theme.spacing.padding.tiny
2883
- },
2884
- contentHeading: {
2885
- fontStyle: 'normal',
2886
- fontSize: theme.typography.fontSize.h5,
2887
- fontWeight: theme.typography.fontWeight.bold,
2888
- lineHeight: '32px',
2889
- marginBottom: '8px',
2890
- color: theme?.palette?.font?.default,
2891
- wordBreak: 'break-word'
2892
- },
2893
- contentPara: {
2894
- fontStyle: 'normal',
2895
- fontSize: theme.typography.fontSize.subHead,
2896
- lineHeight: '32px',
2897
- color: theme?.palette?.font?.primary,
2898
- wordBreak: 'break-word'
2899
- },
2900
- '@media screen and (max-width: 767px)': {
2901
- contentContainer: {
2902
- width: '100%'
2903
- },
2904
- content: {
2905
- display: 'flex',
2906
- flexDirection: 'column',
2907
- borderRadius: theme.shape.borderRadius.large,
2908
- width: '100%',
2909
- height: 'auto',
2910
- '&:nth-child(2n)': {
2911
- marginLeft: '0',
2912
- '& $contentText': {
2913
- marginRight: '0',
2914
- alignSelf: 'flex-start'
2915
- // padding: '0'
2916
- }
2917
- },
2918
-
2919
- '&:nth-child(2n+1)': {
2920
- marginRight: '0',
2921
- '& $contentText': {
2922
- marginLeft: '0',
2923
- alignSelf: 'flex-start'
2924
- // padding: '0'
2925
- }
2926
- }
2927
- },
2928
2810
 
2929
- contentNumber: {
2930
- width: '100%',
2931
- padding: '24px',
2932
- position: 'static'
2933
- }
2811
+ contentNumber: {
2812
+ width: '100%',
2813
+ padding: '24px',
2814
+ position: 'static'
2934
2815
  }
2935
- };
2936
- });
2816
+ }
2817
+ }));
2937
2818
 
2938
2819
  function List({
2939
2820
  sectionData
@@ -2963,7 +2844,7 @@ function List({
2963
2844
  dangerouslySetInnerHTML: {
2964
2845
  __html: nodeData.cardHeading.metadata.value
2965
2846
  }
2966
- })), /*#__PURE__*/React.createElement("div", {
2847
+ })), /*#__PURE__*/React.createElement("h2", {
2967
2848
  className: classes.heading
2968
2849
  }, /*#__PURE__*/React.createElement("span", {
2969
2850
  ref: nodeData?.title?.refSetter,
@@ -2980,13 +2861,13 @@ function List({
2980
2861
  className: classes.contentNumber
2981
2862
  }, getNumber(ind + 1)), /*#__PURE__*/React.createElement("div", {
2982
2863
  className: classes.contentText
2983
- }, /*#__PURE__*/React.createElement("div", {
2864
+ }, /*#__PURE__*/React.createElement("h3", {
2984
2865
  ref: dt?.contentHeading?.refSetter,
2985
2866
  className: classes.contentHeading,
2986
2867
  dangerouslySetInnerHTML: {
2987
2868
  __html: dt.contentHeading.metadata.value
2988
2869
  }
2989
- }), /*#__PURE__*/React.createElement("div", {
2870
+ }), /*#__PURE__*/React.createElement("p", {
2990
2871
  ref: dt?.contentPara?.refSetter,
2991
2872
  className: classes.contentPara,
2992
2873
  dangerouslySetInnerHTML: {
@@ -3244,16 +3125,15 @@ var index$j = /*#__PURE__*/Object.freeze({
3244
3125
  const useSectionStyles$5 = createUseStyles(theme => {
3245
3126
  return {
3246
3127
  section: {
3247
- paddingBottom: `${theme?.spacing?.padding?.regular}px`,
3248
- background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
3128
+ paddingBottom: theme?.spacing?.padding?.regular,
3249
3129
  '&, & *, & *:before, & *:after': {
3250
3130
  fontFamily: theme?.typography?.fontFamily,
3251
3131
  boxSizing: 'border-box'
3252
3132
  },
3253
3133
  '& h2,& h3': {
3254
- fontWeight: `${theme?.typography?.fontWeight?.medium}`,
3134
+ fontWeight: theme?.typography?.fontWeight?.medium,
3255
3135
  '& b,& strong': {
3256
- fontWeight: `${theme?.typography?.fontWeight?.bold}`
3136
+ fontWeight: theme?.typography?.fontWeight?.bold
3257
3137
  }
3258
3138
  }
3259
3139
  },
@@ -3286,7 +3166,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3286
3166
  }
3287
3167
  },
3288
3168
  imageBorder: {
3289
- // border: `2px solid ${theme?.palette?.primary?.light}`,
3169
+ border: `2px solid ${theme?.palette?.primary?.light}`,
3290
3170
  borderRadius: theme?.shape?.borderRadius?.small,
3291
3171
  position: 'absolute',
3292
3172
  width: '100%',
@@ -3321,7 +3201,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3321
3201
  },
3322
3202
  description: {
3323
3203
  margin: '40px 0',
3324
- // color: theme?.palette?.font?.primary,
3204
+ color: theme?.palette?.font?.primary,
3325
3205
  lineHeight: '24px',
3326
3206
  wordBreak: 'break-word'
3327
3207
  },
@@ -3466,15 +3346,11 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3466
3346
  '&, & *, & *:before, & *:after': {
3467
3347
  fontFamily: theme?.typography?.fontFamily,
3468
3348
  boxSizing: 'border-box'
3349
+ },
3350
+ '& h2,& h3': {
3351
+ marginTop: '0'
3469
3352
  }
3470
- // '& h2,& h3': {
3471
- // fontWeight: '500',
3472
- // '& b,& strong': {
3473
- // fontWeight: '700'
3474
- // }
3475
- // }
3476
3353
  },
3477
-
3478
3354
  newsLetterContainer: {
3479
3355
  margin: '0 auto',
3480
3356
  maxWidth: ({
@@ -3486,12 +3362,11 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3486
3362
  left: '0',
3487
3363
  width: '100%',
3488
3364
  height: '50%',
3489
- position: 'absolute'
3490
- // background: theme?.palette?.background?.primary
3365
+ position: 'absolute',
3366
+ background: theme?.palette?.background?.primary
3491
3367
  },
3492
-
3493
3368
  sectionContainer: {
3494
- background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
3369
+ backgroundColor: theme?.palette?.background?.default,
3495
3370
  boxShadow: theme?.shadows?.secondary,
3496
3371
  borderRadius: theme?.shape?.borderRadius?.regular,
3497
3372
  padding: theme.spacing.padding.small,
@@ -3637,59 +3512,56 @@ async function postApiCallForm(baseURLs, data, extraProps) {
3637
3512
  }
3638
3513
  }
3639
3514
 
3640
- const inputStyles = createUseStyles(theme => {
3641
- console.log('themexxxxdsf', theme);
3642
- return {
3643
- inputField: {
3644
- width: '100%',
3645
- maxWidth: '314px',
3646
- background: theme?.palette?.background?.default,
3647
- border: `1px solid ${theme?.isGradient ? theme?.themeGradient?.AccentColor : theme?.themeColors?.inputBorderColor}`,
3648
- borderRadius: theme?.shape?.borderRadius?.regular,
3649
- padding: '14px 12px',
3650
- display: 'flex',
3515
+ const inputStyles = createUseStyles(theme => ({
3516
+ inputField: {
3517
+ width: '100%',
3518
+ maxWidth: '314px',
3519
+ background: theme?.palette?.background?.default,
3520
+ border: `1px solid ${theme?.palette?.border?.secondary}`,
3521
+ borderRadius: theme?.shape?.borderRadius?.regular,
3522
+ padding: '14px 12px',
3523
+ display: 'flex',
3524
+ fontWeight: '400',
3525
+ fontSize: '16px',
3526
+ lineHeight: '20px',
3527
+ verticalalign: 'top',
3528
+ resize: 'none',
3529
+ fontFamily: 'inherit',
3530
+ '&::placeholder': {
3651
3531
  fontWeight: '400',
3652
3532
  fontSize: '16px',
3653
3533
  lineHeight: '20px',
3654
- verticalalign: 'top',
3655
- resize: 'none',
3656
- fontFamily: 'inherit',
3657
- '&::placeholder': {
3658
- fontWeight: '400',
3659
- fontSize: '16px',
3660
- lineHeight: '20px',
3661
- color: theme?.palette?.font?.primary,
3662
- fontFamily: theme?.typography?.fontFamily
3663
- },
3664
- '&:focus': {
3665
- outline: 'none'
3666
- }
3667
- },
3668
- error: {
3669
- borderBottom: '1px solid red',
3670
- position: 'absolute',
3671
- bottom: '-8px',
3672
- width: 'calc(100% - 24px)'
3534
+ color: theme?.palette?.font?.primary,
3535
+ fontFamily: theme?.typography?.fontFamily
3673
3536
  },
3674
- errorBorder: {
3675
- border: `1px solid red`,
3537
+ '&:focus': {
3538
+ outline: 'none'
3539
+ }
3540
+ },
3541
+ error: {
3542
+ borderBottom: '1px solid red',
3543
+ position: 'absolute',
3544
+ bottom: '-8px',
3545
+ width: 'calc(100% - 24px)'
3546
+ },
3547
+ errorBorder: {
3548
+ border: `1px solid red`,
3549
+ color: 'red',
3550
+ '&::placeholder': {
3676
3551
  color: 'red',
3677
- '&::placeholder': {
3678
- color: 'red',
3679
- opacity: '0.5'
3680
- }
3552
+ opacity: '0.5'
3553
+ }
3554
+ },
3555
+ '@media screen and (max-width: 767px)': {
3556
+ inputField: {
3557
+ width: '100%',
3558
+ maxWidth: 'unset'
3681
3559
  },
3682
- '@media screen and (max-width: 767px)': {
3683
- inputField: {
3684
- width: '100%',
3685
- maxWidth: 'unset'
3686
- },
3687
- error: {
3688
- bottom: '-2px'
3689
- }
3560
+ error: {
3561
+ bottom: '-2px'
3690
3562
  }
3691
- };
3692
- });
3563
+ }
3564
+ }));
3693
3565
 
3694
3566
  function Input({
3695
3567
  data,
@@ -3702,12 +3574,9 @@ function Input({
3702
3574
  const {
3703
3575
  onChange,
3704
3576
  onBlur,
3705
- onFocus,
3706
- theme
3577
+ onFocus
3707
3578
  } = props;
3708
- const classes = inputStyles({
3709
- theme
3710
- });
3579
+ const classes = inputStyles();
3711
3580
  const Comp = inputType;
3712
3581
  return /*#__PURE__*/React.createElement(Comp, _extends({}, inputType === 'input' ? {
3713
3582
  type: 'text'
@@ -3787,7 +3656,7 @@ function SubscribeToNewsletter({
3787
3656
  className: classes.partialBackground
3788
3657
  }), /*#__PURE__*/React.createElement("div", {
3789
3658
  className: classes.sectionContainer
3790
- }, /*#__PURE__*/React.createElement("div", {
3659
+ }, /*#__PURE__*/React.createElement("h2", {
3791
3660
  className: classes.cardHeading
3792
3661
  }, /*#__PURE__*/React.createElement("span", {
3793
3662
  ref: nodeData?.cardHeading?.refSetter,
@@ -3838,14 +3707,12 @@ function SubscribeToNewsletter({
3838
3707
  type: nodeData?.cta?.metadata?.type,
3839
3708
  size: isMobile ? 'small' : 'medium',
3840
3709
  styling: isMobile ? {
3841
- marginTop: '12px',
3842
- border: 'none'
3710
+ marginTop: '12px'
3843
3711
  } : {
3844
3712
  maxWidth: '200px',
3845
3713
  whiteSpace: 'nowrap',
3846
3714
  overflow: 'hidden',
3847
- textOverflow: 'ellipsis',
3848
- border: 'none'
3715
+ textOverflow: 'ellipsis'
3849
3716
  },
3850
3717
  disabled: btnDisabled
3851
3718
  })))))));
@@ -3858,21 +3725,17 @@ var index$h = /*#__PURE__*/Object.freeze({
3858
3725
 
3859
3726
  const useTestimonialStyles = createUseStyles(theme => ({
3860
3727
  testimonialContainer: {
3861
- // background: theme?.palette?.background?.primary,
3728
+ background: theme?.palette?.background?.primary,
3862
3729
  overflow: 'hidden',
3863
3730
  padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3864
3731
  '&, & *, & *:before, & *:after': {
3865
3732
  fontFamily: theme?.typography?.fontFamily,
3866
3733
  boxSizing: 'border-box'
3734
+ },
3735
+ '& h3,& p': {
3736
+ marginTop: '0'
3867
3737
  }
3868
- // '& h2,& h3': {
3869
- // fontWeight: '500',
3870
- // '& b,& strong': {
3871
- // fontWeight: '700'
3872
- // }
3873
- // }
3874
3738
  },
3875
-
3876
3739
  sectionContainer: {
3877
3740
  margin: '0 auto',
3878
3741
  maxWidth: ({
@@ -3904,7 +3767,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3904
3767
  position: 'relative',
3905
3768
  height: 'calc(100% - 12px)',
3906
3769
  width: 'calc(100% - 24px)',
3907
- background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
3770
+ background: theme?.palette?.background?.default,
3908
3771
  boxShadow: theme?.shadows?.primary,
3909
3772
  borderRadius: theme?.shape?.borderRadius?.regular
3910
3773
  },
@@ -3920,7 +3783,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
3920
3783
  flexDirection: 'column',
3921
3784
  justifyContent: 'space-between',
3922
3785
  padding: '48px',
3923
- borderRadius: '8px',
3924
3786
  alignItems: 'flex-start'
3925
3787
  },
3926
3788
  quoteIcon: {
@@ -3932,7 +3794,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3932
3794
  marginBottom: theme.spacing.margin.tiny,
3933
3795
  fontSize: theme.typography.fontSize.subHead,
3934
3796
  wordBreak: 'break-word',
3935
- color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font2,
3797
+ color: theme?.palette?.font?.primary,
3936
3798
  lineHeight: '22px'
3937
3799
  },
3938
3800
  userContainer: {
@@ -3962,7 +3824,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3962
3824
  marginRight: '16px'
3963
3825
  },
3964
3826
  userName: {
3965
- color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font2,
3827
+ color: theme?.palette?.font?.default,
3966
3828
  margin: '0',
3967
3829
  fontSize: theme.typography.fontSize.h5,
3968
3830
  // paddingTop: '16px',
@@ -4079,7 +3941,7 @@ function Section$1({
4079
3941
  className: classes.quoteIcon
4080
3942
  }, /*#__PURE__*/React.createElement(QuotesComponent, null)), /*#__PURE__*/React.createElement("div", {
4081
3943
  className: classes.cardDetails
4082
- }, /*#__PURE__*/React.createElement("div", {
3944
+ }, /*#__PURE__*/React.createElement("p", {
4083
3945
  ref: el?.cardTextContent?.refSetter,
4084
3946
  className: classes.reviewText,
4085
3947
  dangerouslySetInnerHTML: {
@@ -4124,7 +3986,7 @@ function Section$1({
4124
3986
  dangerouslySetInnerHTML: {
4125
3987
  __html: nodeData?.carouselHeading?.metadata?.value
4126
3988
  }
4127
- })), /*#__PURE__*/React.createElement("div", {
3989
+ })), /*#__PURE__*/React.createElement("h2", {
4128
3990
  className: classes.testimonialHeader
4129
3991
  }, /*#__PURE__*/React.createElement("span", {
4130
3992
  ref: nodeData?.title?.refSetter,
@@ -4342,15 +4204,12 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4342
4204
  '&, & *, & *:before, & *:after': {
4343
4205
  fontFamily: theme?.typography?.fontFamily
4344
4206
  // boxSizing: 'border-box'
4207
+ },
4208
+
4209
+ '& h2,& h3,& p': {
4210
+ marginTop: '0'
4345
4211
  }
4346
- // '& h2,& h3': {
4347
- // fontWeight: '500',
4348
- // '& b,& strong': {
4349
- // fontWeight: '700'
4350
- // }
4351
- // }
4352
4212
  },
4353
-
4354
4213
  sectionContainer: {
4355
4214
  // margin: '0 auto',
4356
4215
  maxWidth: ({
@@ -4474,19 +4333,19 @@ const SingleVideoSlide$2 = props => {
4474
4333
  sectionIndex: props?.sectionIndex
4475
4334
  }))), /*#__PURE__*/React.createElement("div", {
4476
4335
  className: classes.videoDetails
4477
- }, /*#__PURE__*/React.createElement("div", {
4336
+ }, /*#__PURE__*/React.createElement("h3", {
4478
4337
  ref: data?.videoTextHeading?.refSetter,
4479
4338
  className: classes.videoDetailsHeading,
4480
4339
  dangerouslySetInnerHTML: {
4481
4340
  __html: data.videoTextHeading.metadata.value
4482
4341
  }
4483
- }), /*#__PURE__*/React.createElement("div", {
4342
+ }), /*#__PURE__*/React.createElement("p", {
4484
4343
  ref: data?.videoTextContent?.refSetter,
4485
4344
  className: classes.videoDetailsContent,
4486
4345
  dangerouslySetInnerHTML: {
4487
4346
  __html: data.videoTextContent.metadata.value
4488
4347
  }
4489
- }), /*#__PURE__*/React.createElement("div", {
4348
+ }), /*#__PURE__*/React.createElement("p", {
4490
4349
  ref: data?.videoTextSubContent?.refSetter,
4491
4350
  className: classes.videoDetailsSubContent,
4492
4351
  dangerouslySetInnerHTML: {
@@ -4524,7 +4383,7 @@ function VideoTestimonial({
4524
4383
  dangerouslySetInnerHTML: {
4525
4384
  __html: videoData.videoHeading.metadata.value
4526
4385
  }
4527
- })), /*#__PURE__*/React.createElement("div", {
4386
+ })), /*#__PURE__*/React.createElement("h2", {
4528
4387
  className: classes.videoTestimonialTitle
4529
4388
  }, /*#__PURE__*/React.createElement("span", {
4530
4389
  ref: videoData?.title?.refSetter,
@@ -4549,19 +4408,15 @@ const useVideoStyles = createUseStyles(theme => {
4549
4408
  padding: ({
4550
4409
  isMobile
4551
4410
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4552
- background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
4411
+ backgroundColor: theme?.palette?.background?.primary,
4553
4412
  '&, & *, & *:before, & *:after': {
4554
4413
  fontFamily: theme?.typography?.fontFamily,
4555
4414
  boxSizing: 'border-box'
4415
+ },
4416
+ '& h3': {
4417
+ marginTop: '0'
4556
4418
  }
4557
- // '& h2,& h3': {
4558
- // fontWeight: '500',
4559
- // '& b,& strong': {
4560
- // fontWeight: '700'
4561
- // }
4562
- // }
4563
4419
  },
4564
-
4565
4420
  sectionContainer: {
4566
4421
  margin: '0 auto',
4567
4422
  maxWidth: ({
@@ -4704,7 +4559,7 @@ const SingleSlide$1 = props => {
4704
4559
  videoUrl: data.videoFrame.metadata?.value
4705
4560
  })), /*#__PURE__*/React.createElement("div", {
4706
4561
  className: classes.videoDetailsContainer
4707
- }, /*#__PURE__*/React.createElement("div", {
4562
+ }, /*#__PURE__*/React.createElement("h3", {
4708
4563
  ref: data?.videoTitle?.refSetter,
4709
4564
  className: classes.videoDetailsHeading,
4710
4565
  dangerouslySetInnerHTML: {
@@ -4760,7 +4615,7 @@ function Video({
4760
4615
  dangerouslySetInnerHTML: {
4761
4616
  __html: videoData.videoHeading.metadata.value
4762
4617
  }
4763
- })), /*#__PURE__*/React.createElement("div", {
4618
+ })), /*#__PURE__*/React.createElement("h2", {
4764
4619
  className: classes.videoTitle
4765
4620
  }, /*#__PURE__*/React.createElement("span", {
4766
4621
  ref: videoData?.videoTitle?.refSetter,
@@ -4780,7 +4635,7 @@ var index$e = /*#__PURE__*/Object.freeze({
4780
4635
  'default': Video
4781
4636
  });
4782
4637
 
4783
- const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
4638
+ const useSectionStyles$3 = createUseStyles(theme => ({
4784
4639
  section: {
4785
4640
  position: 'relative',
4786
4641
  padding: `${theme?.spacing?.padding?.regular}px 0px ${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px`,
@@ -4807,7 +4662,7 @@ const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
4807
4662
  top: '0',
4808
4663
  left: '0',
4809
4664
  height: '350px',
4810
- background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
4665
+ background: theme?.palette?.background?.primary,
4811
4666
  width: '100%'
4812
4667
  },
4813
4668
  content: {
@@ -5001,19 +4856,15 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5001
4856
  padding: ({
5002
4857
  isMobile
5003
4858
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5004
- background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
4859
+ backgroundColor: theme?.palette?.background?.default,
5005
4860
  '&, & *, & *:before, & *:after': {
5006
4861
  fontFamily: theme?.typography?.fontFamily,
5007
4862
  boxSizing: 'border-box'
4863
+ },
4864
+ '& h2,& h3,& p': {
4865
+ margin: '0'
5008
4866
  }
5009
- // '& h2,& h3': {
5010
- // fontWeight: '500',
5011
- // '& b,& strong': {
5012
- // fontWeight: '700'
5013
- // }
5014
- // }
5015
4867
  },
5016
-
5017
4868
  sectionContainer: {
5018
4869
  maxWidth: ({
5019
4870
  containerWidth
@@ -5022,7 +4873,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5022
4873
  subHeading: {
5023
4874
  fontSize: theme.typography.fontSize.subHead,
5024
4875
  marginBottom: '8px',
5025
- color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
4876
+ color: theme?.palette?.font?.tertiary,
5026
4877
  wordBreak: 'break-word',
5027
4878
  textTransform: 'uppercase',
5028
4879
  letterSpacing: '3px'
@@ -5032,7 +4883,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5032
4883
  fontWeight: theme.typography.fontWeight.bold,
5033
4884
  lineHeight: 'normal',
5034
4885
  margin: '0',
5035
- color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
4886
+ color: theme?.palette?.font?.default,
5036
4887
  wordBreak: 'break-word',
5037
4888
  marginBottom: theme.spacing.margin.tiny
5038
4889
  },
@@ -5043,14 +4894,10 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5043
4894
  padding: '48px 0px'
5044
4895
  },
5045
4896
  textPara: {
5046
- background: 'white',
5047
- borderRadius: '8px',
5048
- padding: '40px',
5049
4897
  lineHeight: '24px',
5050
4898
  color: theme?.palette?.font?.primary,
5051
4899
  wordBreak: 'break-word',
5052
- fontSize: theme.typography.fontSize.subHead,
5053
- boxShadow: '0px 2px 8px 0px rgba(0, 0, 0, 0.08)'
4900
+ fontSize: theme.typography.fontSize.subHead
5054
4901
  },
5055
4902
  '@media screen and (max-width: 767px)': {
5056
4903
  textContent: {
@@ -5094,13 +4941,13 @@ const TextSection = ({
5094
4941
  }
5095
4942
  })), /*#__PURE__*/React.createElement("div", {
5096
4943
  className: classes.textContent
5097
- }, /*#__PURE__*/React.createElement("div", {
4944
+ }, /*#__PURE__*/React.createElement("p", {
5098
4945
  ref: nodeData?.textLeft?.refSetter,
5099
4946
  className: classes.textPara,
5100
4947
  dangerouslySetInnerHTML: {
5101
4948
  __html: nodeData.textLeft.metadata.value
5102
4949
  }
5103
- }), /*#__PURE__*/React.createElement("div", {
4950
+ }), /*#__PURE__*/React.createElement("p", {
5104
4951
  ref: nodeData?.textRight?.refSetter,
5105
4952
  className: classes.textPara,
5106
4953
  dangerouslySetInnerHTML: {
@@ -5230,7 +5077,7 @@ function PhotoGallery({
5230
5077
  });
5231
5078
  const settings = {
5232
5079
  className: classes.sliderContainer,
5233
- dots: true,
5080
+ dots: isMobile,
5234
5081
  infinite: true,
5235
5082
  speed: 500,
5236
5083
  slidesToShow,
@@ -5284,22 +5131,18 @@ var index$b = /*#__PURE__*/Object.freeze({
5284
5131
  const useFaqListStyles = createUseStyles(theme => ({
5285
5132
  section: {
5286
5133
  width: '100%',
5287
- background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
5288
5134
  padding: ({
5289
5135
  isMobile
5290
5136
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5137
+ backgroundColor: theme?.palette?.background?.primary,
5291
5138
  '&, & *, & *:before, & *:after': {
5292
5139
  fontFamily: theme?.typography?.fontFamily,
5293
5140
  boxSizing: 'border-box'
5141
+ },
5142
+ '& h2,& h3': {
5143
+ marginTop: '0'
5294
5144
  }
5295
- // '& h2,& h3': {
5296
- // fontWeight: '500',
5297
- // '& b,& strong': {
5298
- // fontWeight: '700'
5299
- // }
5300
- // }
5301
5145
  },
5302
-
5303
5146
  sectionContainer: {
5304
5147
  maxWidth: ({
5305
5148
  containerWidth
@@ -5397,7 +5240,7 @@ const FAQListing = ({
5397
5240
  dangerouslySetInnerHTML: {
5398
5241
  __html: nodeData.subheading.metadata.value
5399
5242
  }
5400
- })), /*#__PURE__*/React.createElement("div", {
5243
+ })), /*#__PURE__*/React.createElement("h2", {
5401
5244
  className: classes.sectionHeading
5402
5245
  }, /*#__PURE__*/React.createElement("span", {
5403
5246
  ref: nodeData?.title?.refSetter,
@@ -5461,10 +5304,13 @@ const useTextGridStyles = createUseStyles(theme => ({
5461
5304
  padding: ({
5462
5305
  isMobile
5463
5306
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5464
- background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
5307
+ backgroundColor: theme?.palette?.background?.primary,
5465
5308
  '&, & *, & *:before, & *:after': {
5466
5309
  fontFamily: theme?.typography?.fontFamily,
5467
5310
  boxSizing: 'border-box'
5311
+ },
5312
+ '& h2,& h3,& p': {
5313
+ marginTop: '0'
5468
5314
  }
5469
5315
  // '& h2,& h3': {
5470
5316
  // fontWeight: '500',
@@ -5582,7 +5428,7 @@ const TextGrid = ({
5582
5428
  dangerouslySetInnerHTML: {
5583
5429
  __html: item.contentHeading.metadata.value
5584
5430
  }
5585
- }), /*#__PURE__*/React.createElement("div", {
5431
+ }), /*#__PURE__*/React.createElement("p", {
5586
5432
  ref: item?.contentPara?.refSetter,
5587
5433
  className: classes.nodePara,
5588
5434
  dangerouslySetInnerHTML: {
@@ -5600,7 +5446,7 @@ const TextGrid = ({
5600
5446
  dangerouslySetInnerHTML: {
5601
5447
  __html: nodeData.subheading.metadata.value
5602
5448
  }
5603
- })), /*#__PURE__*/React.createElement("div", {
5449
+ })), /*#__PURE__*/React.createElement("h2", {
5604
5450
  className: classes.heading
5605
5451
  }, /*#__PURE__*/React.createElement("span", {
5606
5452
  ref: nodeData?.title?.refSetter,
@@ -6153,19 +5999,15 @@ const useTeamStyles = createUseStyles(theme => {
6153
5999
  padding: ({
6154
6000
  isMobile
6155
6001
  } = {}) => 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`,
6156
- background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
6002
+ backgroundColor: theme?.palette?.background?.primary,
6157
6003
  '&, & *, & *:before, & *:after': {
6158
6004
  fontFamily: theme?.typography?.fontFamily,
6159
6005
  boxSizing: 'border-box'
6006
+ },
6007
+ '& h2,& h3': {
6008
+ margin: '0'
6160
6009
  }
6161
- // '& h2,& h3': {
6162
- // fontWeight: '500',
6163
- // '& b,& strong': {
6164
- // fontWeight: '700'
6165
- // }
6166
- // }
6167
6010
  },
6168
-
6169
6011
  sectionContainer: {
6170
6012
  margin: '0 auto',
6171
6013
  maxWidth: ({
@@ -6355,7 +6197,7 @@ function TeamCard({
6355
6197
  dangerouslySetInnerHTML: {
6356
6198
  __html: teamData.teamHeading.metadata.value
6357
6199
  }
6358
- })), /*#__PURE__*/React.createElement("div", {
6200
+ })), /*#__PURE__*/React.createElement("h2", {
6359
6201
  className: classes.teamTitle
6360
6202
  }, /*#__PURE__*/React.createElement("span", {
6361
6203
  ref: teamData?.teamTitle?.refSetter,
@@ -6411,7 +6253,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6411
6253
  width: '100%',
6412
6254
  height: '50%',
6413
6255
  position: 'absolute',
6414
- background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2
6256
+ background: theme?.palette?.background?.primary
6415
6257
  },
6416
6258
  sectionContainer: {
6417
6259
  backgroundColor: theme?.palette?.background?.default,
@@ -6670,7 +6512,6 @@ function FormEnquiry({
6670
6512
  }, /*#__PURE__*/React.createElement("div", {
6671
6513
  className: classes.inputDiv
6672
6514
  }, /*#__PURE__*/React.createElement(Input, {
6673
- theme: theme,
6674
6515
  data: nodeData.nameField,
6675
6516
  value: inputVal.name,
6676
6517
  isValid: validData.nameValid,
@@ -6786,6 +6627,7 @@ const useSectionStyles = createUseStyles(theme => ({
6786
6627
  padding: ({
6787
6628
  isMobile
6788
6629
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6630
+ backgroundColor: theme?.palette?.background?.default,
6789
6631
  '&, & *, & *:before, & *:after': {
6790
6632
  fontFamily: theme?.typography?.fontFamily,
6791
6633
  boxSizing: 'border-box'
@@ -6811,8 +6653,7 @@ const useSectionStyles = createUseStyles(theme => ({
6811
6653
  width: '100%',
6812
6654
  height: '50%',
6813
6655
  position: 'absolute',
6814
- // background: theme?.palette?.background?.primary
6815
- background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.tertiaryBlue2
6656
+ background: theme?.palette?.background?.primary
6816
6657
  },
6817
6658
  sectionContainer: {
6818
6659
  backgroundColor: theme?.palette?.background?.default,
@@ -7188,15 +7029,11 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7188
7029
  '&, & *, & *:before, & *:after': {
7189
7030
  fontFamily: theme?.typography?.fontFamily,
7190
7031
  boxSizing: 'border-box'
7032
+ },
7033
+ '& h2,& h3,& p': {
7034
+ margin: '0'
7191
7035
  }
7192
- // '& h2,& h3': {
7193
- // fontWeight: '500',
7194
- // '& b,& strong': {
7195
- // fontWeight: '700'
7196
- // }
7197
- // }
7198
7036
  },
7199
-
7200
7037
  sectionContainer: {
7201
7038
  margin: '0 auto',
7202
7039
  maxWidth: ({
@@ -7518,7 +7355,7 @@ const SingleVideoSlide$1 = props => {
7518
7355
  color: theme.palette.primary.main,
7519
7356
  width: "20px",
7520
7357
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7521
- })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("div", {
7358
+ })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
7522
7359
  ref: data?.videoTextContent?.refSetter,
7523
7360
  className: classes.courseDetailContent,
7524
7361
  dangerouslySetInnerHTML: {
@@ -7535,7 +7372,7 @@ const SingleVideoSlide$1 = props => {
7535
7372
  }
7536
7373
  }))), /*#__PURE__*/React.createElement("div", {
7537
7374
  className: classes.courseViewContainer
7538
- }, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React.createElement("div", {
7375
+ }, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React.createElement("p", {
7539
7376
  className: classes.offerText
7540
7377
  }, "Offer Ends in", ' ', /*#__PURE__*/React.createElement("span", {
7541
7378
  className: classes.courseDetailTime
@@ -7559,7 +7396,7 @@ const SingleVideoSlide$1 = props => {
7559
7396
  className: classes.priceContainer
7560
7397
  }, /*#__PURE__*/React.createElement("div", {
7561
7398
  className: classes.offerPrice
7562
- }, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("div", {
7399
+ }, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
7563
7400
  style: {
7564
7401
  fontSize: '20px'
7565
7402
  }
@@ -7628,7 +7465,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
7628
7465
  courseSuperContainer: {
7629
7466
  display: 'flex',
7630
7467
  justifyContent: 'center',
7631
- background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
7632
7468
  padding: ({
7633
7469
  isMobile
7634
7470
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7749,7 +7585,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7749
7585
  margin: '0',
7750
7586
  letterSpacing: '-1px',
7751
7587
  wordBreak: 'break-word',
7752
- color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1
7588
+ color: theme.palette.font.default
7753
7589
  },
7754
7590
  courseViewContainer: {
7755
7591
  width: '445px',
@@ -7814,7 +7650,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7814
7650
  fontSize: theme.typography.fontSize.subHead,
7815
7651
  lineHeight: '24px',
7816
7652
  wordBreak: 'break-word',
7817
- color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
7653
+ color: theme.palette.font.primary,
7818
7654
  whiteSpace: 'pre-wrap',
7819
7655
  margin: '10px 0 20px'
7820
7656
  },
@@ -7823,7 +7659,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7823
7659
  fontSize: theme.typography.fontSize.subHead,
7824
7660
  lineHeight: '24px',
7825
7661
  marginTop: '-24px',
7826
- color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
7662
+ color: '#00ADE7',
7827
7663
  wordBreak: 'break-word'
7828
7664
  },
7829
7665
  courseDetailTime: {