diy-template-components 0.2.74 → 0.2.75

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,153 +338,118 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
338
338
  };
339
339
  };
340
340
 
341
- const solidBaseColors = {
342
- white: '#FFFFFF',
343
- blue: '#1676F3',
344
- tertiaryblue: '#F4F9FF',
345
- orange: '#FF9000',
346
- tertiaryorange: '#FFF6EA',
347
- pink: '#F72585',
348
- tertiarypink: '#FEE9F3',
349
- green: '#8ECE19',
350
- tertiarygreen: '#F4FAEB',
351
- violet: '#6269C9',
352
- tertiaryviolet: '#F4F6FF',
353
- red: '#F41828',
354
- tertiaryred: '#FFF2F3',
355
- maroon: '#9B2226',
356
- tertiarymaroon: '#FFF0F0',
357
- blue2: '#00ADE7',
358
- tertiaryblue2: '#F2FCFF'
359
- };
360
- const generateTheme = theme => {
361
- const generatedTheme = {
362
- AccentColor: solidBaseColors[theme],
363
- background1: solidBaseColors?.white,
364
- background2: solidBaseColors['tertiary' + theme],
365
- background3: solidBaseColors['tertiary' + theme],
366
- ctaColor: solidBaseColors[theme],
367
- CtaTextColor: solidBaseColors?.white,
368
- icon: solidBaseColors[theme],
369
- iconBg: solidBaseColors['tertiary' + theme],
370
- stripBg: solidBaseColors[theme],
371
- stripText: solidBaseColors?.white
372
- };
373
- console.log('generatedTheme', generatedTheme, theme);
374
- return generatedTheme;
375
- };
376
-
377
- const buttonStyles = createUseStyles(theme => ({
378
- primary: {
379
- width: ({
380
- fluid
381
- } = {}) => fluid ? '100%' : '',
382
- borderRadius: theme?.shape?.borderRadius?.regular,
383
- fontWeight: '700',
384
- fontSize: '14px',
385
- lineHeight: '18px',
386
- textAlign: 'center',
387
- color: ({
388
- disabled
389
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : generateTheme('blue')?.CtaTextColor,
390
- background: ({
391
- disabled
392
- } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : generateTheme('blue')?.ctaColor,
393
- border: ({
394
- disabled
395
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${generateTheme('blue')?.ctaColor}`,
396
- textDecoration: 'none',
397
- cursor: ({
398
- disabled
399
- } = {}) => disabled ? 'not-allowed' : 'pointer',
400
- maxWidth: '100%',
401
- display: 'inline-block',
402
- wordBreak: 'break-word',
403
- flexShrink: '0'
404
- },
405
- secondary: {
406
- width: ({
407
- fluid
408
- } = {}) => fluid ? '100%' : '',
409
- borderRadius: theme?.shape?.borderRadius?.regular,
410
- fontSize: '14px',
411
- fontWeight: '700',
412
- display: 'inline-block',
413
- textDecoration: 'none',
414
- lineHeight: '18px',
415
- color: ({
416
- disabled
417
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
418
- background: ({
419
- disabled
420
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
421
- border: ({
422
- disabled
423
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
424
- cursor: ({
425
- disabled
426
- } = {}) => disabled ? 'not-allowed' : 'pointer',
427
- maxWidth: '100%',
428
- display: 'inline-block',
429
- wordBreak: 'break-word',
430
- flexShrink: '0'
431
- },
432
- tertiary: {
433
- width: ({
434
- fluid
435
- } = {}) => fluid ? '100%' : '',
436
- fontWeight: '400',
437
- fontSize: '16px',
438
- lineHeight: '20px',
439
- display: 'flex',
440
- alignItems: 'center',
441
- border: 'none',
442
- color: ({
443
- disabled
444
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
445
- background: ({
446
- disabled
447
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
448
- cursor: ({
449
- disabled
450
- } = {}) => disabled ? 'not-allowed' : 'pointer',
451
- maxWidth: '100%',
452
- display: 'inline-block',
453
- wordBreak: 'break-word',
454
- flexShrink: '0',
455
- '&:hover': {
456
- background: theme.palette.primary.lightest,
457
- borderRadius: '4px'
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'
458
368
  },
459
- '&$active': {
369
+ secondary: {
370
+ width: ({
371
+ fluid
372
+ } = {}) => fluid ? '100%' : '',
373
+ borderRadius: theme?.shape?.borderRadius?.regular,
374
+ fontSize: '14px',
460
375
  fontWeight: '700',
461
- background: theme.palette.primary.lightest,
462
- borderRadius: theme.shape.borderRadius.small,
463
- color: theme.palette.primary.main
464
- }
465
- },
466
- anchorClass: {
467
- textDecoration: 'none'
468
- },
469
- active: {},
470
- large: {
471
- padding: '20px 24px'
472
- },
473
- medium: {
474
- padding: '16px 24px'
475
- },
476
- small: {
477
- padding: '12px 16px'
478
- },
479
- '@media screen and (max-width: 767px)': {
480
- active: {
481
- fontWeight: 'initial',
482
- background: theme?.palette?.background?.default,
483
- borderRadius: '0',
484
- color: theme.palette.primary.main
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
+ }
485
450
  }
486
- }
487
- }));
451
+ };
452
+ });
488
453
 
489
454
  function useLinkBuilder(data) {
490
455
  const {
@@ -2241,20 +2206,137 @@ function PageRenderer$1({
2241
2206
  }))));
2242
2207
  }
2243
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
+
2244
2320
  const useSectionStyles$8 = createUseStyles(theme => ({
2245
2321
  bannerCarouselRightSection: {
2246
2322
  position: 'relative',
2323
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
2324
+ padding: ({
2325
+ isMobile
2326
+ } = {}) => 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,
2247
2328
  '&, & *, & *:before, & *:after': {
2248
2329
  fontFamily: theme?.typography?.fontFamily,
2249
2330
  boxSizing: 'border-box'
2250
- },
2251
- '& h2,& h3': {
2252
- fontWeight: '500',
2253
- '& b,& strong': {
2254
- fontWeight: '700'
2255
- }
2256
2331
  }
2332
+ // '& h2,& h3': {
2333
+ // fontWeight: '500',
2334
+ // '& b,& strong': {
2335
+ // fontWeight: '700'
2336
+ // }
2337
+ // }
2257
2338
  },
2339
+
2258
2340
  sectionContainer: {
2259
2341
  margin: '0 auto',
2260
2342
  maxWidth: ({
@@ -2267,24 +2349,19 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2267
2349
  justifyContent: 'center',
2268
2350
  position: 'relative'
2269
2351
  },
2270
- partialBackground: {
2271
- width: '61%',
2272
- position: 'absolute',
2273
- backgroundColor: generateTheme('blue')?.background2,
2274
- height: '100%',
2275
- top: '0',
2276
- left: '0'
2277
- },
2278
2352
  contentContainer: {
2279
2353
  position: 'relative',
2280
2354
  width: '100%',
2281
2355
  zIndex: '1',
2282
- display: 'grid',
2283
- gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
2284
- maxWidth: '100%'
2356
+ // display: 'grid',
2357
+ // gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
2358
+ display: 'flex',
2359
+ flexDirection: 'row',
2360
+ alignItems: 'center',
2361
+ maxWidth: '100%',
2362
+ gap: '72px'
2285
2363
  },
2286
2364
  textContainer: {
2287
- padding: '140px 18%',
2288
2365
  textAlign: 'left',
2289
2366
  margin: '0 auto',
2290
2367
  maxWidth: '100%'
@@ -2292,23 +2369,28 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2292
2369
  imageContainer: {
2293
2370
  width: '100%',
2294
2371
  position: 'relative',
2295
- height: '90%'
2372
+ height: '100%',
2373
+ display: 'flex',
2374
+ justifyContent: 'center',
2375
+ alignItems: 'center',
2376
+ borderRadius: '8px',
2377
+ overflow: 'hidden'
2296
2378
  },
2297
2379
  subTitleHeading: {
2298
2380
  marginBottom: '8px',
2299
- fontSize: '16px',
2381
+ fontSize: theme.typography.fontSize.subHead,
2300
2382
  color: theme?.palette?.font?.tertiary,
2301
2383
  wordBreak: 'break-word',
2302
2384
  maxWidth: '100%'
2303
2385
  },
2304
2386
  heading: {
2305
2387
  margin: '0',
2306
- fontSize: '72px',
2388
+ fontSize: theme.typography.fontSize.h1,
2307
2389
  color: theme?.palette?.font?.default,
2308
2390
  wordBreak: 'break-word'
2309
2391
  },
2310
2392
  description: {
2311
- margin: '40px 0',
2393
+ margin: `${theme.spacing.margin.tiny}px 0px`,
2312
2394
  color: theme?.palette?.font?.primary,
2313
2395
  lineHeight: '24px',
2314
2396
  wordBreak: 'break-word'
@@ -2323,30 +2405,24 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2323
2405
  display: 'flex',
2324
2406
  gap: '20px',
2325
2407
  justifyContent: 'center',
2326
- bottom: '25px',
2327
- position: 'absolute',
2408
+ marginTop: theme.spacing.margin.tiny,
2328
2409
  width: '100%'
2329
2410
  },
2411
+ partialBackground: {
2412
+ display: 'none'
2413
+ },
2330
2414
  '@media screen and (max-width: 767px)': {
2331
2415
  partialBackground: {
2332
2416
  display: 'none'
2333
2417
  },
2334
- sectionContainer: {
2335
- paddingBottom: '50px'
2336
- },
2337
2418
  contentContainer: {
2338
2419
  display: 'flex',
2339
- flexFlow: 'column-reverse',
2340
- paddingBottom: '20px'
2420
+ flexFlow: 'column',
2421
+ paddingBottom: '48px',
2422
+ gap: '24px'
2341
2423
  },
2342
2424
  textContainer: {
2343
- padding: '20px 20px 0'
2344
- },
2345
- heading: {
2346
- fontSize: '40px'
2347
- },
2348
- description: {
2349
- margin: '16px 0'
2425
+ textAlign: 'center'
2350
2426
  },
2351
2427
  linkButton: {
2352
2428
  padding: '12px 16px'
@@ -2465,7 +2541,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2465
2541
  height: sizeHandler,
2466
2542
  border: ({
2467
2543
  inverted
2468
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : generateTheme('blue')?.ctaColor}`,
2544
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.themeColors?.ctaColor}`,
2469
2545
  borderRadius: '50%',
2470
2546
  display: 'flex',
2471
2547
  justifyContent: 'center',
@@ -2487,7 +2563,7 @@ function ArrowButton(props) {
2487
2563
  }, /*#__PURE__*/React.createElement(Icon, {
2488
2564
  height: props.size === 'small' ? '12px' : '18px',
2489
2565
  name: "Angle",
2490
- color: props.inverted ? theme?.palette?.font?.invertedDefault : generateTheme('blue')?.ctaColor,
2566
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.themeColors?.ctaColor,
2491
2567
  inverted: true
2492
2568
  }));
2493
2569
  }
@@ -2598,7 +2674,8 @@ function Section$4({
2598
2674
  isCustomWebsite
2599
2675
  } = useContext(PageContext);
2600
2676
  const classes = useSectionStyles$8({
2601
- isCustomWebsite
2677
+ isCustomWebsite,
2678
+ isMobile
2602
2679
  });
2603
2680
  return /*#__PURE__*/React.createElement("div", {
2604
2681
  className: classes.centerData
@@ -2647,12 +2724,14 @@ function BannerCarouselRight({
2647
2724
  sectionIndex
2648
2725
  }) {
2649
2726
  const {
2727
+ isMobile,
2650
2728
  layout: {
2651
2729
  containerWidth
2652
2730
  }
2653
2731
  } = useContext(PageContext);
2654
2732
  const classes = useSectionStyles$8({
2655
- containerWidth
2733
+ containerWidth,
2734
+ isMobile
2656
2735
  });
2657
2736
  const [{
2658
2737
  bannerCarousel
@@ -2678,180 +2757,183 @@ var index$l = /*#__PURE__*/Object.freeze({
2678
2757
  'default': BannerCarouselRight
2679
2758
  });
2680
2759
 
2681
- const useSectionStyles$7 = createUseStyles(theme => ({
2682
- section: {
2683
- width: '100%',
2684
- padding: ({
2685
- isMobile
2686
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2687
- display: 'flex',
2688
- justifyContent: 'center',
2689
- flexDirection: 'column',
2690
- alignItems: 'center',
2691
- backgroundColor: theme?.palette?.background?.default,
2692
- '&, & *, & *:before, & *:after': {
2693
- fontFamily: theme?.typography?.fontFamily,
2694
- boxSizing: 'border-box'
2695
- }
2696
- // '& h2,& h3': {
2697
- // fontWeight: '500',
2698
- // '& b,& strong': {
2699
- // fontWeight: '700'
2700
- // }
2701
- // }
2702
- },
2703
-
2704
- sectionContainer: {
2705
- margin: '0 auto',
2706
- maxWidth: ({
2707
- containerWidth
2708
- } = {}) => containerWidth
2709
- },
2710
- subTitleHeading: {
2711
- marginBottom: '8px',
2712
- fontSize: theme.typography.fontSize.subHead,
2713
- color: theme?.palette?.font?.tertiary,
2714
- alignItems: 'center',
2715
- textAlign: 'center',
2716
- wordBreak: 'break-word',
2717
- textTransform: 'uppercase'
2718
- },
2719
- heading: {
2720
- marginBottom: theme.spacing.margin.tiny,
2721
- fontSize: theme.typography.fontSize.h2,
2722
- color: theme?.palette?.font?.default,
2723
- fontWeight: theme.typography.fontWeight.bold,
2724
- textAlign: 'center',
2725
- wordBreak: 'break-word'
2726
- },
2727
- contentContainer: {
2728
- display: 'flex',
2729
- flexDirection: 'column',
2730
- alignItems: 'center',
2731
- justifyContent: 'center',
2732
- width: '770px',
2733
- margin: 'auto'
2734
- },
2735
- content: {
2736
- display: 'flex',
2737
- width: 'calc(100% - 100px)',
2738
- alignItems: 'center',
2739
- background: theme?.palette?.background?.default,
2740
- boxShadow: theme?.shadows?.primary,
2741
- borderRadius: theme?.shape?.borderRadius?.regular,
2742
- overflow: 'hidden',
2743
- minHeight: 200,
2744
- marginBottom: theme.spacing.margin.small,
2745
- position: 'relative',
2746
- '&:nth-child(2n)': {
2747
- alignSelf: 'flex-end',
2748
- '& $contentNumber': {
2749
- right: '0'
2750
- },
2751
- '& $contentText': {
2752
- marginRight: '170px'
2753
- }
2754
- },
2755
- '&:nth-child(2n+1)': {
2756
- alignSelf: 'flex-start',
2757
- '& $contentNumber': {
2758
- left: '0'
2759
- },
2760
- '& $contentText': {
2761
- marginLeft: '170px'
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'
2762
2776
  }
2777
+ // '& h2,& h3': {
2778
+ // fontWeight: '500',
2779
+ // '& b,& strong': {
2780
+ // fontWeight: '700'
2781
+ // }
2782
+ // }
2763
2783
  },
2764
- '&:nth-child(7n+1) $contentNumber': {
2765
- background: palettes.purple.primary.lightest
2766
- },
2767
- '&:nth-child(7n+2) $contentNumber': {
2768
- background: palettes.orange.primary.lightest
2769
- },
2770
- '&:nth-child(7n+3) $contentNumber': {
2771
- background: palettes.red.primary.lightest
2772
- },
2773
- '&:nth-child(7n+4) $contentNumber': {
2774
- background: palettes.green.primary.lightest
2784
+
2785
+ sectionContainer: {
2786
+ margin: '0 auto',
2787
+ maxWidth: ({
2788
+ containerWidth
2789
+ } = {}) => containerWidth
2775
2790
  },
2776
- '&:nth-child(7n+5) $contentNumber': {
2777
- background: palettes.pink.primary.lightest
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'
2778
2799
  },
2779
- '&:nth-child(7n+6) $contentNumber': {
2780
- background: palettes.blue.primary.lightest
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'
2781
2807
  },
2782
- '&:nth-child(7n) $contentNumber': {
2783
- background: palettes.rust.primary.lightest
2784
- }
2785
- },
2786
- contentNumber: {
2787
- position: 'absolute',
2788
- top: '0',
2789
- fontWeight: '700',
2790
- fontSize: '72px',
2791
- letterSpacing: '-3px',
2792
- display: 'flex',
2793
- alignItems: 'center',
2794
- justifyContent: 'center',
2795
- padding: '48px',
2796
- height: '100%',
2797
- color: theme?.palette?.font?.default,
2798
- wordBreak: 'break-word'
2799
- },
2800
- contentText: {
2801
- padding: theme.spacing.padding.tiny
2802
- },
2803
- contentHeading: {
2804
- fontStyle: 'normal',
2805
- fontSize: theme.typography.fontSize.h5,
2806
- fontWeight: theme.typography.fontWeight.bold,
2807
- lineHeight: '32px',
2808
- marginBottom: '8px',
2809
- color: theme?.palette?.font?.default,
2810
- wordBreak: 'break-word'
2811
- },
2812
- contentPara: {
2813
- fontStyle: 'normal',
2814
- fontSize: theme.typography.fontSize.subHead,
2815
- lineHeight: '32px',
2816
- color: theme?.palette?.font?.primary,
2817
- wordBreak: 'break-word'
2818
- },
2819
- '@media screen and (max-width: 767px)': {
2820
2808
  contentContainer: {
2821
- width: '100%'
2809
+ display: 'flex',
2810
+ flexDirection: 'column',
2811
+ alignItems: 'center',
2812
+ justifyContent: 'center',
2813
+ width: '770px',
2814
+ margin: 'auto'
2822
2815
  },
2823
2816
  content: {
2824
2817
  display: 'flex',
2825
- flexDirection: 'column',
2826
- borderRadius: theme.shape.borderRadius.large,
2827
- width: '100%',
2828
- height: 'auto',
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',
2829
2827
  '&:nth-child(2n)': {
2830
- marginLeft: '0',
2828
+ alignSelf: 'flex-end',
2829
+ '& $contentNumber': {
2830
+ right: '0'
2831
+ },
2831
2832
  '& $contentText': {
2832
- marginRight: '0',
2833
- alignSelf: 'flex-start'
2834
- // padding: '0'
2833
+ marginRight: '170px'
2835
2834
  }
2836
2835
  },
2837
-
2838
2836
  '&:nth-child(2n+1)': {
2839
- marginRight: '0',
2837
+ alignSelf: 'flex-start',
2838
+ '& $contentNumber': {
2839
+ left: '0'
2840
+ },
2840
2841
  '& $contentText': {
2841
- marginLeft: '0',
2842
- alignSelf: 'flex-start'
2843
- // padding: '0'
2842
+ marginLeft: '170px'
2844
2843
  }
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
2845
2865
  }
2846
2866
  },
2847
-
2848
2867
  contentNumber: {
2849
- width: '100%',
2850
- padding: '24px',
2851
- position: 'static'
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
+
2929
+ contentNumber: {
2930
+ width: '100%',
2931
+ padding: '24px',
2932
+ position: 'static'
2933
+ }
2852
2934
  }
2853
- }
2854
- }));
2935
+ };
2936
+ });
2855
2937
 
2856
2938
  function List({
2857
2939
  sectionData
@@ -2941,13 +3023,14 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2941
3023
  width: '100%',
2942
3024
  // maxWidth: ({ containerWidth } = {}) => containerWidth,
2943
3025
  position: 'absolute',
2944
- zIndex: '9'
3026
+ zIndex: '9',
3027
+ height: '100%'
2945
3028
  },
2946
3029
  absoluteButtons: {
2947
3030
  display: 'flex',
2948
3031
  gap: '20px',
2949
3032
  justifyContent: 'center',
2950
- bottom: '25px',
3033
+ bottom: '10%',
2951
3034
  position: 'absolute',
2952
3035
  width: '100%'
2953
3036
  },
@@ -2991,7 +3074,12 @@ const useSectionStyles$6 = createUseStyles(theme => ({
2991
3074
  textContainer: {
2992
3075
  padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
2993
3076
  // margin: `0px ${theme.spacing.padding.medium} 0px ${theme.spacing.padding.medium}`,
2994
- width: '100%'
3077
+ width: '100%',
3078
+ height: '100%',
3079
+ display: 'flex',
3080
+ justifyContent: 'center',
3081
+ alignItems: 'center',
3082
+ flexDirection: 'column'
2995
3083
  },
2996
3084
  subTitleHeading: {
2997
3085
  color: theme?.palette?.font?.invertedDefault,
@@ -3154,10 +3242,10 @@ var index$j = /*#__PURE__*/Object.freeze({
3154
3242
  });
3155
3243
 
3156
3244
  const useSectionStyles$5 = createUseStyles(theme => {
3157
- console.log('sdkjfndkjsnfk', theme?.spacing?.padding?.large);
3158
3245
  return {
3159
3246
  section: {
3160
3247
  paddingBottom: `${theme?.spacing?.padding?.regular}px`,
3248
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
3161
3249
  '&, & *, & *:before, & *:after': {
3162
3250
  fontFamily: theme?.typography?.fontFamily,
3163
3251
  boxSizing: 'border-box'
@@ -3198,7 +3286,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3198
3286
  }
3199
3287
  },
3200
3288
  imageBorder: {
3201
- border: `2px solid ${theme?.palette?.primary?.light}`,
3289
+ // border: `2px solid ${theme?.palette?.primary?.light}`,
3202
3290
  borderRadius: theme?.shape?.borderRadius?.small,
3203
3291
  position: 'absolute',
3204
3292
  width: '100%',
@@ -3233,7 +3321,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3233
3321
  },
3234
3322
  description: {
3235
3323
  margin: '40px 0',
3236
- color: theme?.palette?.font?.primary,
3324
+ // color: theme?.palette?.font?.primary,
3237
3325
  lineHeight: '24px',
3238
3326
  wordBreak: 'break-word'
3239
3327
  },
@@ -3398,11 +3486,12 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3398
3486
  left: '0',
3399
3487
  width: '100%',
3400
3488
  height: '50%',
3401
- position: 'absolute',
3402
- background: theme?.palette?.background?.primary
3489
+ position: 'absolute'
3490
+ // background: theme?.palette?.background?.primary
3403
3491
  },
3492
+
3404
3493
  sectionContainer: {
3405
- backgroundColor: theme?.palette?.background?.default,
3494
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
3406
3495
  boxShadow: theme?.shadows?.secondary,
3407
3496
  borderRadius: theme?.shape?.borderRadius?.regular,
3408
3497
  padding: theme.spacing.padding.small,
@@ -3548,56 +3637,59 @@ async function postApiCallForm(baseURLs, data, extraProps) {
3548
3637
  }
3549
3638
  }
3550
3639
 
3551
- const inputStyles = createUseStyles(theme => ({
3552
- inputField: {
3553
- width: '100%',
3554
- maxWidth: '314px',
3555
- background: theme?.palette?.background?.default,
3556
- border: `1px solid ${theme?.palette?.border?.secondary}`,
3557
- borderRadius: theme?.shape?.borderRadius?.regular,
3558
- padding: '14px 12px',
3559
- display: 'flex',
3560
- fontWeight: '400',
3561
- fontSize: '16px',
3562
- lineHeight: '20px',
3563
- verticalalign: 'top',
3564
- resize: 'none',
3565
- fontFamily: 'inherit',
3566
- '&::placeholder': {
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',
3567
3651
  fontWeight: '400',
3568
3652
  fontSize: '16px',
3569
3653
  lineHeight: '20px',
3570
- color: theme?.palette?.font?.primary,
3571
- fontFamily: theme?.typography?.fontFamily
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
+ }
3572
3667
  },
3573
- '&:focus': {
3574
- outline: 'none'
3575
- }
3576
- },
3577
- error: {
3578
- borderBottom: '1px solid red',
3579
- position: 'absolute',
3580
- bottom: '-8px',
3581
- width: 'calc(100% - 24px)'
3582
- },
3583
- errorBorder: {
3584
- border: `1px solid red`,
3585
- color: 'red',
3586
- '&::placeholder': {
3668
+ error: {
3669
+ borderBottom: '1px solid red',
3670
+ position: 'absolute',
3671
+ bottom: '-8px',
3672
+ width: 'calc(100% - 24px)'
3673
+ },
3674
+ errorBorder: {
3675
+ border: `1px solid red`,
3587
3676
  color: 'red',
3588
- opacity: '0.5'
3589
- }
3590
- },
3591
- '@media screen and (max-width: 767px)': {
3592
- inputField: {
3593
- width: '100%',
3594
- maxWidth: 'unset'
3677
+ '&::placeholder': {
3678
+ color: 'red',
3679
+ opacity: '0.5'
3680
+ }
3595
3681
  },
3596
- error: {
3597
- bottom: '-2px'
3682
+ '@media screen and (max-width: 767px)': {
3683
+ inputField: {
3684
+ width: '100%',
3685
+ maxWidth: 'unset'
3686
+ },
3687
+ error: {
3688
+ bottom: '-2px'
3689
+ }
3598
3690
  }
3599
- }
3600
- }));
3691
+ };
3692
+ });
3601
3693
 
3602
3694
  function Input({
3603
3695
  data,
@@ -3610,9 +3702,12 @@ function Input({
3610
3702
  const {
3611
3703
  onChange,
3612
3704
  onBlur,
3613
- onFocus
3705
+ onFocus,
3706
+ theme
3614
3707
  } = props;
3615
- const classes = inputStyles();
3708
+ const classes = inputStyles({
3709
+ theme
3710
+ });
3616
3711
  const Comp = inputType;
3617
3712
  return /*#__PURE__*/React.createElement(Comp, _extends({}, inputType === 'input' ? {
3618
3713
  type: 'text'
@@ -3743,12 +3838,14 @@ function SubscribeToNewsletter({
3743
3838
  type: nodeData?.cta?.metadata?.type,
3744
3839
  size: isMobile ? 'small' : 'medium',
3745
3840
  styling: isMobile ? {
3746
- marginTop: '12px'
3841
+ marginTop: '12px',
3842
+ border: 'none'
3747
3843
  } : {
3748
3844
  maxWidth: '200px',
3749
3845
  whiteSpace: 'nowrap',
3750
3846
  overflow: 'hidden',
3751
- textOverflow: 'ellipsis'
3847
+ textOverflow: 'ellipsis',
3848
+ border: 'none'
3752
3849
  },
3753
3850
  disabled: btnDisabled
3754
3851
  })))))));
@@ -3759,171 +3856,181 @@ var index$h = /*#__PURE__*/Object.freeze({
3759
3856
  'default': SubscribeToNewsletter
3760
3857
  });
3761
3858
 
3762
- const useTestimonialStyles = createUseStyles(theme => {
3763
- return {
3859
+ const useTestimonialStyles = createUseStyles(theme => ({
3860
+ testimonialContainer: {
3861
+ // background: theme?.palette?.background?.primary,
3862
+ overflow: 'hidden',
3863
+ padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
3864
+ '&, & *, & *:before, & *:after': {
3865
+ fontFamily: theme?.typography?.fontFamily,
3866
+ boxSizing: 'border-box'
3867
+ }
3868
+ // '& h2,& h3': {
3869
+ // fontWeight: '500',
3870
+ // '& b,& strong': {
3871
+ // fontWeight: '700'
3872
+ // }
3873
+ // }
3874
+ },
3875
+
3876
+ sectionContainer: {
3877
+ margin: '0 auto',
3878
+ maxWidth: ({
3879
+ containerWidth
3880
+ } = {}) => containerWidth
3881
+ },
3882
+ testimonialText: {
3883
+ color: theme?.palette?.font?.secondary,
3884
+ fontSize: theme.typography.fontSize.subHead,
3885
+ wordBreak: 'break-word',
3886
+ textTransform: 'uppercase'
3887
+ },
3888
+ testimonialHeader: {
3889
+ fontSize: theme.typography.fontSize.h2,
3890
+ color: theme?.palette?.font?.default,
3891
+ fontWeight: theme.typography.fontWeight.bold,
3892
+ marginBottom: theme.spacing.margin.tiny,
3893
+ marginTop: '8px',
3894
+ overflow: 'hidden',
3895
+ wordBreak: 'break-word',
3896
+ // whiteSpace: 'nowrap',
3897
+ textOverflow: 'ellipsis'
3898
+ },
3899
+ sliderContainer: {
3900
+ marginRight: `-${theme.spacing.margin.regular}px`
3901
+ },
3902
+ singleCard: {
3903
+ // margin: '6px 12px',
3904
+ position: 'relative',
3905
+ height: 'calc(100% - 12px)',
3906
+ width: 'calc(100% - 24px)',
3907
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
3908
+ boxShadow: theme?.shadows?.primary,
3909
+ borderRadius: theme?.shape?.borderRadius?.regular
3910
+ },
3911
+ contentRow: {
3912
+ display: 'grid',
3913
+ gridTemplateColumns: ({
3914
+ slidesToShow
3915
+ } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
3916
+ },
3917
+ cardDetails: {
3918
+ height: '100%',
3919
+ display: 'flex',
3920
+ flexDirection: 'column',
3921
+ justifyContent: 'space-between',
3922
+ padding: '48px',
3923
+ borderRadius: '8px',
3924
+ alignItems: 'flex-start'
3925
+ },
3926
+ quoteIcon: {
3927
+ position: 'absolute',
3928
+ right: '20px'
3929
+ },
3930
+ reviewText: {
3931
+ // padding: '48px 41px 0 48px',
3932
+ marginBottom: theme.spacing.margin.tiny,
3933
+ fontSize: theme.typography.fontSize.subHead,
3934
+ wordBreak: 'break-word',
3935
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font2,
3936
+ lineHeight: '22px'
3937
+ },
3938
+ userContainer: {
3939
+ display: 'flex',
3940
+ gap: '16px',
3941
+ alignItems: 'center'
3942
+ },
3943
+ userImageContainer: {
3944
+ width: '64px',
3945
+ height: '64px',
3946
+ position: 'relative',
3947
+ // paddingBottom: '55px',
3948
+ objectFit: 'cover'
3949
+ },
3950
+ userImageDummy: {
3951
+ width: '64px',
3952
+ height: '64px',
3953
+ borderRadius: '32px',
3954
+ background: '#666666',
3955
+ marginRight: '16px',
3956
+ flexShrink: '0'
3957
+ },
3958
+ userImage: {
3959
+ width: '64px',
3960
+ height: '64px',
3961
+ borderRadius: '32px',
3962
+ marginRight: '16px'
3963
+ },
3964
+ userName: {
3965
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font2,
3966
+ margin: '0',
3967
+ fontSize: theme.typography.fontSize.h5,
3968
+ // paddingTop: '16px',
3969
+ overflow: 'hidden',
3970
+ whiteSpace: 'nowrap',
3971
+ textOverflow: 'ellipsis'
3972
+ },
3973
+ buttonContainer: {
3974
+ display: 'flex',
3975
+ gap: '20px',
3976
+ justifyContent: 'center',
3977
+ // paddingRight: theme.spacing.padding.medium,
3978
+ marginTop: theme.spacing.margin.tiny
3979
+ },
3980
+ '@media (max-width: 768px)': {
3764
3981
  testimonialContainer: {
3765
- background: theme?.palette?.background?.primary,
3766
- overflow: 'hidden',
3767
- padding: '70px',
3768
- '&, & *, & *:before, & *:after': {
3769
- fontFamily: theme?.typography?.fontFamily,
3770
- boxSizing: 'border-box'
3771
- },
3772
- '& h2,& h3': {
3773
- fontWeight: '500',
3774
- '& b,& strong': {
3775
- fontWeight: '700'
3776
- }
3777
- }
3778
- },
3779
- sectionContainer: {
3780
- margin: '0 auto',
3781
- maxWidth: ({
3782
- containerWidth
3783
- } = {}) => containerWidth
3784
- },
3785
- testimonialCardAndText: {
3786
- marginTop: '70px'
3787
- },
3788
- testimonialText: {
3789
- color: theme?.palette?.font?.secondary,
3790
- fontSize: '16px',
3791
- marginLeft: '10px',
3792
- wordBreak: 'break-word'
3793
- },
3794
- testimonialHeader: {
3795
- fontSize: '56px',
3796
- color: theme?.palette?.font?.default,
3797
- margin: '10px 0 40px 10px',
3798
- overflow: 'hidden',
3799
- wordBreak: 'break-word',
3800
- // whiteSpace: 'nowrap',
3801
- textOverflow: 'ellipsis'
3802
- },
3803
- sliderContainer: {
3804
- marginRight: '-20px'
3805
- },
3806
- singleCard: {
3807
- margin: '6px 12px',
3808
- position: 'relative',
3809
- height: 'calc(100% - 12px)',
3810
- width: 'calc(100% - 24px)',
3811
- background: theme?.palette?.background?.default,
3812
- boxShadow: theme?.shadows?.primary,
3813
- borderRadius: theme?.shape?.borderRadius?.regular
3814
- },
3815
- contentRow: {
3816
- display: 'grid',
3817
- gridTemplateColumns: ({
3818
- slidesToShow
3819
- } = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
3820
- },
3821
- cardDetails: {
3822
- height: '100%',
3823
- display: 'flex',
3824
- flexDirection: 'column',
3825
- justifyContent: 'space-between'
3826
- },
3827
- quoteIcon: {
3828
- position: 'absolute',
3829
- right: '20px'
3830
- },
3831
- reviewText: {
3832
- padding: '48px 41px 0 48px',
3833
- marginBottom: '48px',
3834
- fontSize: '18px',
3835
- wordBreak: 'break-word',
3836
- color: theme?.palette?.font?.primary
3837
- },
3838
- userContainer: {
3839
- display: 'flex',
3840
- gap: '15px',
3841
- padding: '0 0 29px 48px'
3842
- },
3843
- userImageContainer: {
3844
- width: '64px',
3845
- height: '64px',
3846
- position: 'relative',
3847
- // paddingBottom: '55px',
3848
- objectFit: 'cover'
3982
+ padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
3849
3983
  },
3984
+ // testimonialCardAndText: {
3985
+ // margin: '0 20px'
3986
+ // },
3987
+
3988
+ // testimonialHeader: {
3989
+ // fontSize: '24px',
3990
+ // color: theme?.palette?.font?.default,
3991
+ // margin: '4px 0 12px 0',
3992
+ // overflow: 'hidden',
3993
+ // // whiteSpace: 'nowrap',
3994
+ // wordBreak: 'break-word',
3995
+ // textOverflow: 'ellipsis'
3996
+ // },
3850
3997
  userImageDummy: {
3851
- width: '64px',
3852
- height: '64px',
3853
- borderRadius: '32px',
3854
- background: '#666666',
3855
- marginRight: '16px',
3856
- flexShrink: '0'
3998
+ width: '48px',
3999
+ height: '48px',
4000
+ borderRadius: '24px',
4001
+ marginRight: '16px'
3857
4002
  },
3858
4003
  userImage: {
3859
- width: '64px',
3860
- height: '64px',
3861
- borderRadius: '32px',
4004
+ width: '48px',
4005
+ height: '48px',
4006
+ borderRadius: '24px',
3862
4007
  marginRight: '16px'
3863
4008
  },
4009
+ reviewText: {
4010
+ marginBottom: '16px'
4011
+ },
4012
+ singleCard: {
4013
+ margin: '6px 2px',
4014
+ width: 'calc(100% - 14px)'
4015
+ },
3864
4016
  userName: {
3865
- color: theme?.palette?.font?.default,
3866
- margin: '0',
3867
- fontSize: '24px',
3868
- paddingTop: '16px',
4017
+ // paddingTop: '8px',
3869
4018
  overflow: 'hidden',
3870
4019
  whiteSpace: 'nowrap',
3871
4020
  textOverflow: 'ellipsis'
3872
4021
  },
3873
- buttonContainer: {
3874
- display: 'flex',
3875
- width: '120px',
3876
- justifyContent: 'space-between',
3877
- margin: '36px auto 81px auto'
4022
+ userImageContainer: {
4023
+ width: '48px',
4024
+ height: '48px'
3878
4025
  },
3879
- '@media (max-width: 768px)': {
3880
- testimonialContainer: {
3881
- padding: '60px 0'
3882
- },
3883
- testimonialCardAndText: {
3884
- margin: '0 20px'
3885
- },
3886
- testimonialHeader: {
3887
- fontSize: '24px',
3888
- color: theme?.palette?.font?.default,
3889
- margin: '4px 0 12px 0',
3890
- overflow: 'hidden',
3891
- // whiteSpace: 'nowrap',
3892
- wordBreak: 'break-word',
3893
- textOverflow: 'ellipsis'
3894
- },
3895
- userImageDummy: {
3896
- width: '48px',
3897
- height: '48px',
3898
- borderRadius: '24px',
3899
- marginRight: '16px'
3900
- },
3901
- userImage: {
3902
- width: '48px',
3903
- height: '48px',
3904
- borderRadius: '24px',
3905
- marginRight: '16px'
3906
- },
3907
- reviewText: {
3908
- marginBottom: '40px'
3909
- },
3910
- singleCard: {
3911
- margin: '6px 2px',
3912
- width: 'calc(100% - 4px)'
3913
- },
3914
- userName: {
3915
- paddingTop: '8px',
3916
- overflow: 'hidden',
3917
- whiteSpace: 'nowrap',
3918
- textOverflow: 'ellipsis'
3919
- },
3920
- userImageContainer: {
3921
- width: '48px',
3922
- height: '48px'
3923
- }
4026
+ cardDetails: {
4027
+ padding: '16px'
3924
4028
  }
3925
- };
3926
- });
4029
+ // sliderContainer: {
4030
+ // marginRight: '-24px'
4031
+ // },
4032
+ }
4033
+ }));
3927
4034
 
3928
4035
  function QuotesComponent() {
3929
4036
  const theme = useTheme();
@@ -3951,13 +4058,14 @@ function Section$1({
3951
4058
  const classes = useTestimonialStyles({
3952
4059
  containerWidth,
3953
4060
  cardsCount,
3954
- slidesToShow
4061
+ slidesToShow,
4062
+ isMobile
3955
4063
  });
3956
4064
  const settings = {
3957
4065
  className: classes.sliderContainer,
3958
4066
  slidesToShow,
3959
4067
  centerMode: true,
3960
- centerPadding: isMobile ? '10px 0 0' : '80px 0 0'
4068
+ centerPadding: isMobile ? '0px 0 0' : '80px 0 0'
3961
4069
  };
3962
4070
  const carouselContent = carouselList.map((el, idx) =>
3963
4071
  /*#__PURE__*/
@@ -3971,7 +4079,7 @@ function Section$1({
3971
4079
  className: classes.quoteIcon
3972
4080
  }, /*#__PURE__*/React.createElement(QuotesComponent, null)), /*#__PURE__*/React.createElement("div", {
3973
4081
  className: classes.cardDetails
3974
- }, /*#__PURE__*/React.createElement("p", {
4082
+ }, /*#__PURE__*/React.createElement("div", {
3975
4083
  ref: el?.cardTextContent?.refSetter,
3976
4084
  className: classes.reviewText,
3977
4085
  dangerouslySetInnerHTML: {
@@ -4016,7 +4124,7 @@ function Section$1({
4016
4124
  dangerouslySetInnerHTML: {
4017
4125
  __html: nodeData?.carouselHeading?.metadata?.value
4018
4126
  }
4019
- })), /*#__PURE__*/React.createElement("h2", {
4127
+ })), /*#__PURE__*/React.createElement("div", {
4020
4128
  className: classes.testimonialHeader
4021
4129
  }, /*#__PURE__*/React.createElement("span", {
4022
4130
  ref: nodeData?.title?.refSetter,
@@ -4438,47 +4546,51 @@ var index$f = /*#__PURE__*/Object.freeze({
4438
4546
  const useVideoStyles = createUseStyles(theme => {
4439
4547
  return {
4440
4548
  videoSuperContainer: {
4441
- padding: '70px',
4442
- backgroundColor: theme?.palette?.background?.primary,
4549
+ padding: ({
4550
+ isMobile
4551
+ } = {}) => 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,
4443
4553
  '&, & *, & *:before, & *:after': {
4444
4554
  fontFamily: theme?.typography?.fontFamily,
4445
4555
  boxSizing: 'border-box'
4446
- },
4447
- '& h2,& h3': {
4448
- fontWeight: '500',
4449
- '& b,& strong': {
4450
- fontWeight: '700'
4451
- }
4452
4556
  }
4557
+ // '& h2,& h3': {
4558
+ // fontWeight: '500',
4559
+ // '& b,& strong': {
4560
+ // fontWeight: '700'
4561
+ // }
4562
+ // }
4453
4563
  },
4564
+
4454
4565
  sectionContainer: {
4455
4566
  margin: '0 auto',
4456
4567
  maxWidth: ({
4457
4568
  containerWidth
4458
4569
  } = {}) => containerWidth
4459
4570
  },
4460
- videoContainer: {
4461
- marginTop: '70px'
4462
- },
4571
+ // videoContainer: {
4572
+ // marginTop: '70px'
4573
+ // },
4574
+
4463
4575
  videoHeading: {
4464
- fontSize: '16px',
4576
+ fontSize: theme.typography.fontSize.subHead,
4577
+ textTransform: 'uppercase',
4465
4578
  lineHeight: '20px',
4466
- marginBottom: '4px',
4467
- letterSpacing: '3px',
4468
4579
  color: theme?.palette?.font?.primary,
4469
4580
  wordBreak: 'break-word'
4470
4581
  },
4471
4582
  videoTitle: {
4472
- fontSize: '56px',
4583
+ fontSize: theme.typography.fontSize.h2,
4584
+ fontWeight: theme.typography.fontWeight.bold,
4473
4585
  lineHeight: '71px',
4474
4586
  letterSpacing: '-3px',
4475
- marginBottom: '20px',
4476
- marginTop: '0',
4587
+ marginBottom: theme.spacing.margin.tiny,
4588
+ marginTop: '8px',
4477
4589
  color: theme?.palette?.font?.default,
4478
4590
  wordBreak: 'break-word'
4479
4591
  },
4480
4592
  sliderContainer: {
4481
- marginRight: '-35px'
4593
+ marginRight: `-${theme.spacing.padding.medium}px`
4482
4594
  },
4483
4595
  singleSlideContainer: {
4484
4596
  backgroundColor: theme?.palette?.background?.default,
@@ -4486,7 +4598,7 @@ const useVideoStyles = createUseStyles(theme => {
4486
4598
  width: 'calc(100% - 40px)',
4487
4599
  height: 'calc(100% - 40px)',
4488
4600
  borderRadius: theme?.shape?.borderRadius?.regular,
4489
- padding: '40px',
4601
+ padding: '48px',
4490
4602
  boxShadow: theme?.shadows?.primary
4491
4603
  },
4492
4604
  contentRow: {
@@ -4499,6 +4611,7 @@ const useVideoStyles = createUseStyles(theme => {
4499
4611
  width: '100%',
4500
4612
  borderRadius: theme?.shape?.borderRadius?.regular,
4501
4613
  position: 'relative',
4614
+ overflow: 'hidden',
4502
4615
  paddingBottom: '56.25%'
4503
4616
  },
4504
4617
  iframe: {
@@ -4513,43 +4626,32 @@ const useVideoStyles = createUseStyles(theme => {
4513
4626
  margin: '12px 12px 0'
4514
4627
  },
4515
4628
  videoDetailsHeading: {
4516
- fontSize: '24px',
4629
+ fontSize: theme.typography.fontSize.h5,
4630
+ fontWeight: theme.typography.fontWeight.bold,
4517
4631
  lineHeight: '32px',
4518
- margin: '0',
4632
+ marginBottom: '8px',
4519
4633
  color: theme?.palette?.font?.default,
4520
4634
  wordBreak: 'break-word'
4521
4635
  },
4522
4636
  videoDetailsSubHeading: {
4523
- fontSize: '16px',
4637
+ fontSize: theme.typography.fontSize.subHead,
4524
4638
  lineHeight: '24px',
4525
4639
  wordBreak: 'break-word',
4526
4640
  color: theme?.palette?.font?.primary
4527
4641
  },
4528
4642
  '@media (max-width: 767px)': {
4529
- videoSuperContainer: {
4530
- padding: '70px 20px 60px'
4531
- },
4532
4643
  videoHeading: {
4533
- fontSize: '16px',
4534
- lineHeight: '20px',
4535
- letterSpacing: '3px'
4536
- },
4537
- videoTitle: {
4538
- fontSize: '24px',
4539
- lineHeight: '36px',
4540
- letterSpacing: '-1px',
4541
- marginBottom: '0',
4542
- marginTop: '0'
4644
+ lineHeight: '20px'
4543
4645
  },
4544
4646
  videoContainer: {
4545
4647
  margin: '0'
4546
4648
  },
4547
4649
  sliderContainer: {
4548
- marginLeft: '-6px',
4549
- marginRight: '-20px'
4650
+ // marginLeft: '-6px',
4651
+ marginRight: '0px'
4550
4652
  },
4551
4653
  singleSlideContainer: {
4552
- padding: '0',
4654
+ padding: '16px',
4553
4655
  width: 'calc(100% - 12px)',
4554
4656
  height: 'calc(100% - 24px)',
4555
4657
  margin: '12px 6px'
@@ -4561,14 +4663,28 @@ const useVideoStyles = createUseStyles(theme => {
4561
4663
  textAlign: 'left',
4562
4664
  margin: '12px 12px 0'
4563
4665
  },
4564
- videoDetailsHeading: {
4565
- fontSize: '18px',
4566
- margin: '0'
4666
+ videoTitle: {
4667
+ display: 'flex',
4668
+ justifyContent: 'center',
4669
+ textAlign: 'center',
4670
+ lineHeight: '36px',
4671
+ letterSpacing: '-1px'
4567
4672
  },
4568
- videoDetailsSubHeading: {
4569
- fontSize: '12px',
4570
- paddingBottom: '20px'
4673
+ videoHeading: {
4674
+ display: 'flex',
4675
+ justifyContent: 'center',
4676
+ textAlign: 'center'
4571
4677
  }
4678
+
4679
+ // videoDetailsHeading: {
4680
+ // fontSize: '18px',
4681
+ // margin: '0'
4682
+ // },
4683
+
4684
+ // videoDetailsSubHeading: {
4685
+ // fontSize: '12px',
4686
+ // paddingBottom: '20px'
4687
+ // }
4572
4688
  }
4573
4689
  };
4574
4690
  });
@@ -4588,7 +4704,7 @@ const SingleSlide$1 = props => {
4588
4704
  videoUrl: data.videoFrame.metadata?.value
4589
4705
  })), /*#__PURE__*/React.createElement("div", {
4590
4706
  className: classes.videoDetailsContainer
4591
- }, /*#__PURE__*/React.createElement("h3", {
4707
+ }, /*#__PURE__*/React.createElement("div", {
4592
4708
  ref: data?.videoTitle?.refSetter,
4593
4709
  className: classes.videoDetailsHeading,
4594
4710
  dangerouslySetInnerHTML: {
@@ -4618,12 +4734,13 @@ function Video({
4618
4734
  const classes = useVideoStyles({
4619
4735
  containerWidth,
4620
4736
  cardsCount,
4621
- slidesToShow
4737
+ slidesToShow,
4738
+ isMobile
4622
4739
  });
4623
4740
  const settings = {
4624
4741
  className: classes.sliderContainer,
4625
4742
  slidesToShow,
4626
- centerPadding: isMobile ? '40px 0 0' : '100px 0 0',
4743
+ centerPadding: isMobile ? '0px' : '100px 0 0',
4627
4744
  centerMode: true
4628
4745
  };
4629
4746
  const carouselContent = videoData.videoCarousel.components.map((data, index) => /*#__PURE__*/React.createElement(SingleSlide$1, {
@@ -4643,7 +4760,7 @@ function Video({
4643
4760
  dangerouslySetInnerHTML: {
4644
4761
  __html: videoData.videoHeading.metadata.value
4645
4762
  }
4646
- })), /*#__PURE__*/React.createElement("h2", {
4763
+ })), /*#__PURE__*/React.createElement("div", {
4647
4764
  className: classes.videoTitle
4648
4765
  }, /*#__PURE__*/React.createElement("span", {
4649
4766
  ref: videoData?.videoTitle?.refSetter,
@@ -4663,7 +4780,7 @@ var index$e = /*#__PURE__*/Object.freeze({
4663
4780
  'default': Video
4664
4781
  });
4665
4782
 
4666
- const useSectionStyles$3 = createUseStyles(theme => ({
4783
+ const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
4667
4784
  section: {
4668
4785
  position: 'relative',
4669
4786
  padding: `${theme?.spacing?.padding?.regular}px 0px ${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px`,
@@ -4690,7 +4807,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4690
4807
  top: '0',
4691
4808
  left: '0',
4692
4809
  height: '350px',
4693
- background: theme?.palette?.background?.primary,
4810
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
4694
4811
  width: '100%'
4695
4812
  },
4696
4813
  content: {
@@ -4884,7 +5001,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
4884
5001
  padding: ({
4885
5002
  isMobile
4886
5003
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
4887
- backgroundColor: theme?.palette?.background?.default,
5004
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
4888
5005
  '&, & *, & *:before, & *:after': {
4889
5006
  fontFamily: theme?.typography?.fontFamily,
4890
5007
  boxSizing: 'border-box'
@@ -4905,7 +5022,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
4905
5022
  subHeading: {
4906
5023
  fontSize: theme.typography.fontSize.subHead,
4907
5024
  marginBottom: '8px',
4908
- color: theme?.palette?.font?.tertiary,
5025
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
4909
5026
  wordBreak: 'break-word',
4910
5027
  textTransform: 'uppercase',
4911
5028
  letterSpacing: '3px'
@@ -4915,7 +5032,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
4915
5032
  fontWeight: theme.typography.fontWeight.bold,
4916
5033
  lineHeight: 'normal',
4917
5034
  margin: '0',
4918
- color: theme?.palette?.font?.default,
5035
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
4919
5036
  wordBreak: 'break-word',
4920
5037
  marginBottom: theme.spacing.margin.tiny
4921
5038
  },
@@ -4926,10 +5043,14 @@ const useSectionStyles$2 = createUseStyles(theme => ({
4926
5043
  padding: '48px 0px'
4927
5044
  },
4928
5045
  textPara: {
5046
+ background: 'white',
5047
+ borderRadius: '8px',
5048
+ padding: '40px',
4929
5049
  lineHeight: '24px',
4930
5050
  color: theme?.palette?.font?.primary,
4931
5051
  wordBreak: 'break-word',
4932
- fontSize: theme.typography.fontSize.subHead
5052
+ fontSize: theme.typography.fontSize.subHead,
5053
+ boxShadow: '0px 2px 8px 0px rgba(0, 0, 0, 0.08)'
4933
5054
  },
4934
5055
  '@media screen and (max-width: 767px)': {
4935
5056
  textContent: {
@@ -4997,18 +5118,21 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
4997
5118
  return {
4998
5119
  container: {
4999
5120
  background: theme?.palette?.background?.default,
5000
- padding: '70px',
5121
+ padding: ({
5122
+ isMobile
5123
+ } = {}) => 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`,
5001
5124
  '&, & *, & *:before, & *:after': {
5002
5125
  fontFamily: theme?.typography?.fontFamily,
5003
5126
  boxSizing: 'border-box'
5004
- },
5005
- '& h2,& h3': {
5006
- fontWeight: '500',
5007
- '& b,& strong': {
5008
- fontWeight: '700'
5009
- }
5010
5127
  }
5128
+ // '& h2,& h3': {
5129
+ // fontWeight: '500',
5130
+ // '& b,& strong': {
5131
+ // fontWeight: '700'
5132
+ // }
5133
+ // }
5011
5134
  },
5135
+
5012
5136
  sectionContainer: {
5013
5137
  margin: '0 auto',
5014
5138
  maxWidth: ({
@@ -5017,13 +5141,15 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5017
5141
  },
5018
5142
  cardHeading: {
5019
5143
  color: theme?.palette?.font?.secondary,
5020
- fontSize: '16px',
5144
+ fontSize: theme.typography.fontSize.subHead,
5021
5145
  letterSpacing: '3px',
5022
- wordBreak: 'break-word'
5023
- },
5024
- sliderContainer: {
5025
- marginRight: '-70px'
5146
+ wordBreak: 'break-word',
5147
+ textTransform: 'uppercase'
5026
5148
  },
5149
+ // sliderContainer: {
5150
+ // marginRight: '-70px'
5151
+ // },
5152
+
5027
5153
  singleCard: {
5028
5154
  margin: '0 1px',
5029
5155
  width: 'calc(100% - 2px)',
@@ -5046,24 +5172,26 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5046
5172
  height: '100%'
5047
5173
  },
5048
5174
  title: {
5049
- fontSize: '56px',
5175
+ fontSize: theme.typography.fontSize.h2,
5050
5176
  lineHeight: '70px',
5051
5177
  letterSpacing: '-3px',
5052
5178
  color: theme?.palette?.font?.default,
5053
- margin: '8px 0 20px',
5179
+ marginTop: '8px',
5180
+ marginBottom: theme.spacing.margin.tiny,
5054
5181
  overflow: 'hidden',
5055
5182
  whiteSpace: 'nowrap',
5056
5183
  textOverflow: 'ellipsis'
5057
5184
  },
5058
5185
  '@media (max-width: 768px)': {
5059
- container: {
5060
- padding: '60px 20px'
5061
- },
5062
- cardHeading: {
5063
- marginLeft: '3px'
5064
- },
5186
+ // container: {
5187
+ // padding: '60px 20px'
5188
+ // },
5189
+
5190
+ // cardHeading: {
5191
+ // marginLeft: '3px'
5192
+ // },
5193
+
5065
5194
  title: {
5066
- fontSize: '24px',
5067
5195
  lineHeight: '36px',
5068
5196
  letterSpacing: '-1px',
5069
5197
  color: theme?.palette?.font?.default,
@@ -5071,10 +5199,11 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5071
5199
  overflow: 'hidden',
5072
5200
  whiteSpace: 'nowrap',
5073
5201
  textOverflow: 'ellipsis'
5074
- },
5075
- sliderContainer: {
5076
- marginRight: '-20px'
5077
5202
  }
5203
+
5204
+ // sliderContainer: {
5205
+ // marginRight: '-20px'
5206
+ // }
5078
5207
  }
5079
5208
  };
5080
5209
  });
@@ -5096,11 +5225,12 @@ function PhotoGallery({
5096
5225
  const classes = usePhotoGalleryStyles({
5097
5226
  containerWidth,
5098
5227
  cardsCount,
5099
- slidesToShow
5228
+ slidesToShow,
5229
+ isMobile
5100
5230
  });
5101
5231
  const settings = {
5102
5232
  className: classes.sliderContainer,
5103
- dots: false,
5233
+ dots: true,
5104
5234
  infinite: true,
5105
5235
  speed: 500,
5106
5236
  slidesToShow,
@@ -5154,10 +5284,10 @@ var index$b = /*#__PURE__*/Object.freeze({
5154
5284
  const useFaqListStyles = createUseStyles(theme => ({
5155
5285
  section: {
5156
5286
  width: '100%',
5287
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
5157
5288
  padding: ({
5158
5289
  isMobile
5159
5290
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5160
- backgroundColor: theme?.palette?.background?.primary,
5161
5291
  '&, & *, & *:before, & *:after': {
5162
5292
  fontFamily: theme?.typography?.fontFamily,
5163
5293
  boxSizing: 'border-box'
@@ -5331,7 +5461,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5331
5461
  padding: ({
5332
5462
  isMobile
5333
5463
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5334
- backgroundColor: theme?.palette?.background?.primary,
5464
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
5335
5465
  '&, & *, & *:before, & *:after': {
5336
5466
  fontFamily: theme?.typography?.fontFamily,
5337
5467
  boxSizing: 'border-box'
@@ -5496,39 +5626,46 @@ const useCourseStyles = createUseStyles(theme => {
5496
5626
  return {
5497
5627
  coursesContainer: {
5498
5628
  overflow: 'hidden',
5629
+ padding: ({
5630
+ isMobile
5631
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
5499
5632
  '&, & *, & *:before, & *:after': {
5500
5633
  fontFamily: theme?.typography?.fontFamily,
5501
5634
  boxSizing: 'border-box'
5502
- },
5503
- '& h2,& h3': {
5504
- fontWeight: '500',
5505
- '& b,& strong': {
5506
- fontWeight: '700'
5507
- }
5508
5635
  }
5636
+ // '& h2,& h3': {
5637
+ // fontWeight: '500',
5638
+ // '& b,& strong': {
5639
+ // fontWeight: '700'
5640
+ // }
5641
+ // }
5509
5642
  },
5643
+
5510
5644
  sectionContainer: {
5511
5645
  margin: '0 auto',
5512
5646
  maxWidth: ({
5513
5647
  containerWidth
5514
5648
  } = {}) => containerWidth
5515
5649
  },
5516
- coursesCardAndText: {
5517
- padding: '70px'
5518
- },
5650
+ // coursesCardAndText: {
5651
+ // padding: '70px'
5652
+ // },
5653
+
5519
5654
  coursesText: {
5520
5655
  color: theme?.palette?.font?.secondary,
5521
5656
  fontWeight: '400',
5522
- fontSize: '16px',
5657
+ fontSize: theme.typography.fontSize.subHead,
5523
5658
  lineHeight: '20px',
5524
5659
  textAlign: 'center',
5660
+ textTransform: 'uppercase',
5525
5661
  wordBreak: 'break-word'
5526
5662
  },
5527
5663
  coursesHeader: {
5528
- fontSize: '56px',
5664
+ fontSize: theme.typography.fontSize.h2,
5529
5665
  lineHeight: '70px',
5530
5666
  color: theme?.palette?.font?.default,
5531
- margin: '10px 0 40px 10px',
5667
+ marginTop: '8px',
5668
+ marginBottom: theme.spacing.margin.tiny,
5532
5669
  overflow: 'hidden',
5533
5670
  whiteSpace: 'nowrap',
5534
5671
  textOverflow: 'ellipsis',
@@ -5603,7 +5740,7 @@ const useCourseStyles = createUseStyles(theme => {
5603
5740
  courseCardName: {
5604
5741
  color: theme?.palette?.font?.default,
5605
5742
  fontWeight: '700',
5606
- fontSize: '24px',
5743
+ fontSize: theme.typography.fontSize.h5,
5607
5744
  lineHeight: '32px',
5608
5745
  wordBreak: 'break-word',
5609
5746
  padding: '12px 0px',
@@ -5618,7 +5755,7 @@ const useCourseStyles = createUseStyles(theme => {
5618
5755
  display: 'flex',
5619
5756
  justifyContent: 'flex-start',
5620
5757
  alignItems: 'center',
5621
- fontSize: '16px',
5758
+ fontSize: theme.typography.fontSize.subHead,
5622
5759
  color: theme?.palette?.font?.primary,
5623
5760
  '& img': {
5624
5761
  marginRight: '5px'
@@ -5630,10 +5767,10 @@ const useCourseStyles = createUseStyles(theme => {
5630
5767
  display: 'flex',
5631
5768
  justifyContent: 'space-between',
5632
5769
  alignItems: 'center',
5633
- padding: '13px 0 0 4px'
5770
+ padding: '12px 0 0 4px'
5634
5771
  },
5635
5772
  courseCardPrice: {
5636
- fontSize: '24px',
5773
+ fontSize: theme.typography.fontSize.h5,
5637
5774
  fontWeight: '700'
5638
5775
  },
5639
5776
  coursesAnchorTag: {
@@ -5654,7 +5791,8 @@ const useCourseStyles = createUseStyles(theme => {
5654
5791
  cursor: 'pointer',
5655
5792
  background: theme?.palette?.primary?.main,
5656
5793
  color: theme?.palette?.font?.invertedDefault,
5657
- padding: '12px 16px',
5794
+ padding: '8px 16px',
5795
+ fontWeight: theme.typography.fontWeight.bold,
5658
5796
  cursor: 'pointer',
5659
5797
  borderRadius: theme.shape.borderRadius.regular
5660
5798
  },
@@ -5699,7 +5837,7 @@ const useCourseStyles = createUseStyles(theme => {
5699
5837
  //background: theme?.palette?.background?.primary
5700
5838
  },
5701
5839
  coursesCardAndText: {
5702
- padding: '70px 30px'
5840
+ // padding: '70px 30px'
5703
5841
  },
5704
5842
  singleCardContainer: {
5705
5843
  gridTemplateColumns: '1fr'
@@ -5708,7 +5846,7 @@ const useCourseStyles = createUseStyles(theme => {
5708
5846
  margin: '0'
5709
5847
  },
5710
5848
  coursesHeader: {
5711
- fontSize: '24px',
5849
+ // fontSize: '24px',
5712
5850
  lineHeight: '36px',
5713
5851
  color: theme?.palette?.font?.default,
5714
5852
  margin: '4px 0 12px 0',
@@ -5717,8 +5855,8 @@ const useCourseStyles = createUseStyles(theme => {
5717
5855
  textOverflow: 'ellipsis'
5718
5856
  },
5719
5857
  singleCard: {
5720
- margin: '6px 2px',
5721
- width: 'calc(100% - 4px)'
5858
+ margin: '6px 2px'
5859
+ // width: 'calc(100% - 12px)'
5722
5860
  }
5723
5861
  }
5724
5862
  };
@@ -5883,7 +6021,8 @@ function courses({
5883
6021
  const [fallBackImages, setFallbackImages] = useState([]);
5884
6022
  const [showShimmer, setShowShimmer] = useState(true);
5885
6023
  const classes = useCourseStyles({
5886
- containerWidth
6024
+ containerWidth,
6025
+ isMobile
5887
6026
  });
5888
6027
  const [nodeData] = sectionData?.components;
5889
6028
  const handleApiCall = () => {
@@ -5935,7 +6074,7 @@ function courses({
5935
6074
  const settings = {
5936
6075
  className: classes.slickContainer,
5937
6076
  infinite: false,
5938
- slidesToShow: isMobile ? 1.1 : 3.25
6077
+ slidesToShow: isMobile ? 1 : 3.5
5939
6078
  };
5940
6079
  const Wrapper = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? Carousel : SimpleCardsContainer;
5941
6080
  const wrapperProps = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? {
@@ -6014,7 +6153,7 @@ const useTeamStyles = createUseStyles(theme => {
6014
6153
  padding: ({
6015
6154
  isMobile
6016
6155
  } = {}) => 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`,
6017
- backgroundColor: theme?.palette?.background?.primary,
6156
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
6018
6157
  '&, & *, & *:before, & *:after': {
6019
6158
  fontFamily: theme?.typography?.fontFamily,
6020
6159
  boxSizing: 'border-box'
@@ -6272,7 +6411,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6272
6411
  width: '100%',
6273
6412
  height: '50%',
6274
6413
  position: 'absolute',
6275
- background: theme?.palette?.background?.primary
6414
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2
6276
6415
  },
6277
6416
  sectionContainer: {
6278
6417
  backgroundColor: theme?.palette?.background?.default,
@@ -6531,6 +6670,7 @@ function FormEnquiry({
6531
6670
  }, /*#__PURE__*/React.createElement("div", {
6532
6671
  className: classes.inputDiv
6533
6672
  }, /*#__PURE__*/React.createElement(Input, {
6673
+ theme: theme,
6534
6674
  data: nodeData.nameField,
6535
6675
  value: inputVal.name,
6536
6676
  isValid: validData.nameValid,
@@ -6646,7 +6786,6 @@ const useSectionStyles = createUseStyles(theme => ({
6646
6786
  padding: ({
6647
6787
  isMobile
6648
6788
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
6649
- backgroundColor: theme?.palette?.background?.default,
6650
6789
  '&, & *, & *:before, & *:after': {
6651
6790
  fontFamily: theme?.typography?.fontFamily,
6652
6791
  boxSizing: 'border-box'
@@ -6672,7 +6811,8 @@ const useSectionStyles = createUseStyles(theme => ({
6672
6811
  width: '100%',
6673
6812
  height: '50%',
6674
6813
  position: 'absolute',
6675
- background: theme?.palette?.background?.primary
6814
+ // background: theme?.palette?.background?.primary
6815
+ background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.tertiaryBlue2
6676
6816
  },
6677
6817
  sectionContainer: {
6678
6818
  backgroundColor: theme?.palette?.background?.default,
@@ -7042,18 +7182,21 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7042
7182
  webinarSuperContainer: {
7043
7183
  display: 'flex',
7044
7184
  justifyContent: 'center',
7045
- padding: '70px',
7185
+ padding: ({
7186
+ isMobile
7187
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7046
7188
  '&, & *, & *:before, & *:after': {
7047
7189
  fontFamily: theme?.typography?.fontFamily,
7048
7190
  boxSizing: 'border-box'
7049
- },
7050
- '& h2,& h3': {
7051
- fontWeight: '500',
7052
- '& b,& strong': {
7053
- fontWeight: '700'
7054
- }
7055
7191
  }
7192
+ // '& h2,& h3': {
7193
+ // fontWeight: '500',
7194
+ // '& b,& strong': {
7195
+ // fontWeight: '700'
7196
+ // }
7197
+ // }
7056
7198
  },
7199
+
7057
7200
  sectionContainer: {
7058
7201
  margin: '0 auto',
7059
7202
  maxWidth: ({
@@ -7065,30 +7208,34 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7065
7208
  maxWidth: '1440px',
7066
7209
  fontFamily: theme?.typography?.fontFamily
7067
7210
  },
7068
- videoTestimonialHeading: {
7069
- fontSize: '16px',
7070
- lineHeight: '20px',
7071
- letterSpacing: '3px',
7072
- textTransform: 'uppercase',
7073
- color: theme.palette.font.tertiary,
7074
- wordBreak: 'break-word',
7075
- fontWeight: '700'
7076
- },
7077
- videoTestimonialTitle: {
7078
- fontSize: '56px',
7079
- lineHeight: '71px',
7080
- letterSpacing: '-3px',
7081
- margin: '0',
7082
- color: theme.palette.font.default,
7083
- wordBreak: 'break-word'
7084
- },
7085
- videoCarouselContainer: {
7086
- marginTop: '16px'
7087
- },
7211
+ // videoTestimonialHeading: {
7212
+ // fontSize: theme.typography.fontSize.subHead,
7213
+ // lineHeight: '20px',
7214
+ // letterSpacing: '3px',
7215
+ // textTransform: 'uppercase',
7216
+ // color: theme.palette.font.tertiary,
7217
+ // wordBreak: 'break-word',
7218
+ // fontWeight: theme.typography.fontWeight.bold,
7219
+ // },
7220
+
7221
+ // videoTestimonialTitle: {
7222
+ // fontSize: theme.typography.fontSize.h2,
7223
+ // lineHeight: '71px',
7224
+ // fontWeight: theme.typography.fontWeight.bold,
7225
+ // letterSpacing: '-3px',
7226
+ // margin: '0',
7227
+ // color: theme.palette.font.default,
7228
+ // wordBreak: 'break-word'
7229
+ // },
7230
+
7231
+ // videoCarouselContainer: {
7232
+ // marginTop: '16px'
7233
+ // },
7234
+
7088
7235
  webinarCarousel: {
7089
7236
  display: 'flex',
7090
7237
  justifyContent: 'flex-start',
7091
- gap: '20px'
7238
+ gap: '32px'
7092
7239
  },
7093
7240
  '@media screen and (max-width: 767px)': {
7094
7241
  webinarCarousel: {
@@ -7103,18 +7250,21 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7103
7250
  alignItems: 'center'
7104
7251
  },
7105
7252
  iframeContainer: {
7106
- width: '90%',
7253
+ width: '100%',
7107
7254
  position: 'relative',
7108
7255
  paddingBottom: '56.25%',
7109
7256
  // top: "6%",
7110
- left: '5%'
7257
+ // left: '5%'
7258
+ borderRadius: '8px',
7259
+ overflow: 'hidden'
7111
7260
  },
7112
7261
  offerText: {
7113
7262
  textAlign: 'center',
7114
- color: theme.palette.font.primary
7263
+ color: theme.palette.font.primary,
7264
+ marginBottom: '5%'
7115
7265
  },
7116
7266
  offerPrice: {
7117
- fontSize: '28px',
7267
+ fontSize: theme.typography.fontSize.h5,
7118
7268
  fontWeight: '600'
7119
7269
  },
7120
7270
  priceContainer: {
@@ -7133,9 +7283,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7133
7283
  bottomContainer: {
7134
7284
  display: 'flex',
7135
7285
  justifyContent: 'space-between',
7136
- marginTop: '5%',
7137
- padding: '0px 5% 0px 5%'
7286
+ marginTop: '5%'
7287
+ // padding: '0px 5% 0px 5%'
7138
7288
  },
7289
+
7139
7290
  iframe: {
7140
7291
  position: 'absolute',
7141
7292
  width: '100%',
@@ -7146,10 +7297,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7146
7297
  width: '100%',
7147
7298
  display: 'flex',
7148
7299
  flexDirection: 'column',
7149
- alignItems: 'flex-start'
7300
+ alignItems: 'flex-start',
7301
+ gap: '20px'
7150
7302
  },
7151
7303
  videoDetailsHeading: {
7152
- fontSize: '40px',
7304
+ fontSize: theme.typography.fontSize.h3,
7305
+ fontWeight: theme.typography.fontWeight.bold,
7153
7306
  lineHeight: '48px',
7154
7307
  margin: '0',
7155
7308
  letterSpacing: '-1px',
@@ -7163,7 +7316,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7163
7316
  display: 'flex',
7164
7317
  flexDirection: 'column',
7165
7318
  justifyContent: 'start',
7166
- paddingTop: '20px',
7319
+ padding: '24px',
7167
7320
  borderRadius: '10px'
7168
7321
  },
7169
7322
  bannerContainer: {
@@ -7176,14 +7329,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7176
7329
  position: 'relative',
7177
7330
  fontSize: '18px',
7178
7331
  transform: 'rotate(180deg)',
7179
- clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))',
7180
- marginBottom: '16px'
7332
+ clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
7181
7333
  },
7182
7334
  bannerContainerText: {
7183
7335
  transform: 'rotate(180deg)'
7184
7336
  },
7185
7337
  courseDetailsTags: {
7186
- marginTop: '16px',
7187
7338
  display: 'flex'
7188
7339
  },
7189
7340
  courseDetailTag: {
@@ -7191,23 +7342,22 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7191
7342
  alignItems: 'center',
7192
7343
  marginRight: '20px',
7193
7344
  '& div': {
7194
- fontSize: '14px',
7345
+ fontSize: theme.typography.fontSize.subHead,
7195
7346
  marginLeft: '10px'
7196
7347
  }
7197
7348
  },
7198
7349
  courseDetailContent: {
7199
- marginTop: '16px',
7200
- fontSize: '16px',
7350
+ fontSize: theme.typography.fontSize.subHead,
7201
7351
  wordBreak: 'break-word',
7202
7352
  color: theme.palette.font.primary,
7203
- margin: '10px 0 20px',
7204
- whiteSpace: 'pre-wrap'
7353
+ whiteSpace: 'pre-wrap',
7354
+ width: '80%'
7205
7355
  },
7206
7356
  courseDetailViewFullDetails: {
7207
7357
  cursor: 'pointer',
7208
- fontSize: '16px',
7358
+ fontSize: theme.typography.fontSize.subHead,
7209
7359
  lineHeight: '24px',
7210
- margin: '0',
7360
+ marginTop: '-20px',
7211
7361
  color: '#00ADE7',
7212
7362
  wordBreak: 'break-word'
7213
7363
  },
@@ -7215,9 +7365,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7215
7365
  color: '#EB5757',
7216
7366
  fontWeight: '600'
7217
7367
  },
7218
- webinarButtonContainer: {
7219
- marginBottom: '20px'
7220
- },
7368
+ // webinarButtonContainer: {
7369
+ // marginBottom: '20px'
7370
+ // },
7371
+
7221
7372
  iconBackground: {
7222
7373
  display: 'flex',
7223
7374
  width: '36px',
@@ -7249,11 +7400,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7249
7400
  width: '100%'
7250
7401
  },
7251
7402
  videoDetailsHeading: {
7252
- fontSize: '16px',
7253
7403
  lineHeight: '20px'
7254
7404
  },
7255
7405
  videoTestimonialTitle: {
7256
- fontSize: '24px',
7406
+ // fontSize: '24px',
7257
7407
  lineHeight: '36px',
7258
7408
  letterSpacing: '-1px'
7259
7409
  },
@@ -7368,7 +7518,7 @@ const SingleVideoSlide$1 = props => {
7368
7518
  color: theme.palette.primary.main,
7369
7519
  width: "20px",
7370
7520
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7371
- })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
7521
+ })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("div", {
7372
7522
  ref: data?.videoTextContent?.refSetter,
7373
7523
  className: classes.courseDetailContent,
7374
7524
  dangerouslySetInnerHTML: {
@@ -7385,7 +7535,7 @@ const SingleVideoSlide$1 = props => {
7385
7535
  }
7386
7536
  }))), /*#__PURE__*/React.createElement("div", {
7387
7537
  className: classes.courseViewContainer
7388
- }, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React.createElement("p", {
7538
+ }, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React.createElement("div", {
7389
7539
  className: classes.offerText
7390
7540
  }, "Offer Ends in", ' ', /*#__PURE__*/React.createElement("span", {
7391
7541
  className: classes.courseDetailTime
@@ -7409,10 +7559,9 @@ const SingleVideoSlide$1 = props => {
7409
7559
  className: classes.priceContainer
7410
7560
  }, /*#__PURE__*/React.createElement("div", {
7411
7561
  className: classes.offerPrice
7412
- }, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
7562
+ }, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("div", {
7413
7563
  style: {
7414
- fontSize: '20px',
7415
- marginTop: '0px'
7564
+ fontSize: '20px'
7416
7565
  }
7417
7566
  }, /*#__PURE__*/React.createElement("span", {
7418
7567
  className: classes.originalPrice
@@ -7446,12 +7595,14 @@ function CoursePromotionPage$1({
7446
7595
  sectionIndex
7447
7596
  }) {
7448
7597
  const {
7598
+ isMobile,
7449
7599
  layout: {
7450
7600
  containerWidth
7451
7601
  }
7452
7602
  } = useContext(PageContext);
7453
7603
  const classes = useWebinarPromotionPage({
7454
- containerWidth
7604
+ containerWidth,
7605
+ isMobile
7455
7606
  });
7456
7607
  return /*#__PURE__*/React.createElement("div", {
7457
7608
  className: classes.webinarSuperContainer
@@ -7477,18 +7628,22 @@ const useCoursePromotionPage = createUseStyles(theme => {
7477
7628
  courseSuperContainer: {
7478
7629
  display: 'flex',
7479
7630
  justifyContent: 'center',
7480
- padding: '70px ',
7631
+ background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
7632
+ padding: ({
7633
+ isMobile
7634
+ } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7481
7635
  '&, & *, & *:before, & *:after': {
7482
7636
  fontFamily: theme?.typography?.fontFamily,
7483
7637
  boxSizing: 'border-box'
7484
- },
7485
- '& h2,& h3': {
7486
- fontWeight: '500',
7487
- '& b,& strong': {
7488
- fontWeight: '700'
7489
- }
7490
7638
  }
7639
+ // '& h2,& h3': {
7640
+ // fontWeight: '500',
7641
+ // '& b,& strong': {
7642
+ // fontWeight: '700'
7643
+ // }
7644
+ // }
7491
7645
  },
7646
+
7492
7647
  sectionContainer: {
7493
7648
  margin: '0 auto',
7494
7649
  maxWidth: ({
@@ -7501,7 +7656,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7501
7656
  fontFamily: theme?.typography?.fontFamily
7502
7657
  },
7503
7658
  videoTestimonialHeading: {
7504
- fontSize: '16px',
7659
+ fontSize: theme.typography.fontSize.subHead,
7505
7660
  lineHeight: '20px',
7506
7661
  letterSpacing: '3px',
7507
7662
  textTransform: 'uppercase',
@@ -7510,7 +7665,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7510
7665
  fontWeight: '700'
7511
7666
  },
7512
7667
  videoTestimonialTitle: {
7513
- fontSize: '56px',
7668
+ fontSize: theme.typography.fontSize.h2,
7514
7669
  lineHeight: '71px',
7515
7670
  letterSpacing: '-3px',
7516
7671
  margin: '0',
@@ -7518,12 +7673,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
7518
7673
  wordBreak: 'break-word'
7519
7674
  },
7520
7675
  videoCarouselContainer: {
7521
- marginTop: '16px'
7676
+ // marginTop: '16px'
7522
7677
  },
7523
7678
  coursePageCarousel: {
7524
7679
  display: 'flex',
7525
7680
  justifyContent: 'flex-start',
7526
- gap: '20px'
7681
+ gap: '32px'
7527
7682
  },
7528
7683
  '@media screen and (max-width: 767px)': {
7529
7684
  coursePageCarousel: {
@@ -7538,18 +7693,19 @@ const useCoursePromotionPage = createUseStyles(theme => {
7538
7693
  alignItems: 'center'
7539
7694
  },
7540
7695
  iframeContainer: {
7541
- width: '90%',
7696
+ width: '100%',
7542
7697
  position: 'relative',
7543
- paddingBottom: '56.25%',
7698
+ paddingBottom: '56.25%'
7544
7699
  // top: "6%",
7545
- left: '5%'
7700
+ // left: '5%'
7546
7701
  },
7702
+
7547
7703
  offerText: {
7548
7704
  textAlign: 'center',
7549
7705
  color: theme.palette.font.primary
7550
7706
  },
7551
7707
  offerPrice: {
7552
- fontSize: '28px',
7708
+ fontSize: theme.typography.fontSize.h4,
7553
7709
  fontWeight: '700'
7554
7710
  },
7555
7711
  priceContainer: {
@@ -7567,7 +7723,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7567
7723
  fontWeight: '600'
7568
7724
  },
7569
7725
  bottomContainer: {
7570
- width: '90%',
7726
+ width: '100%',
7571
7727
  marginLeft: 'auto',
7572
7728
  marginRight: 'auto',
7573
7729
  display: 'flex',
@@ -7584,25 +7740,28 @@ const useCoursePromotionPage = createUseStyles(theme => {
7584
7740
  width: '100%',
7585
7741
  display: 'flex',
7586
7742
  flexDirection: 'column',
7587
- alignItems: 'flex-start'
7743
+ alignItems: 'flex-start',
7744
+ gap: '20px'
7588
7745
  },
7589
7746
  videoDetailsHeading: {
7590
- fontSize: '40px',
7747
+ fontSize: theme.typography.fontSize.h3,
7591
7748
  lineHeight: '48px',
7592
7749
  margin: '0',
7593
7750
  letterSpacing: '-1px',
7594
7751
  wordBreak: 'break-word',
7595
- color: theme.palette.font.default
7752
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1
7596
7753
  },
7597
7754
  courseViewContainer: {
7598
7755
  width: '445px',
7599
7756
  backgroundColor: '#f4f9ff',
7600
7757
  display: 'flex',
7758
+ padding: '24px',
7601
7759
  flexDirection: 'column',
7602
- borderRadius: '10px',
7603
- paddingBottom: '10px',
7604
- paddingTop: '10px'
7760
+ borderRadius: '10px'
7761
+ // paddingBottom: '10px',
7762
+ // paddingTop: '10px'
7605
7763
  },
7764
+
7606
7765
  bannerContainer: {
7607
7766
  width: '100%',
7608
7767
  background: '#EB5757',
@@ -7611,11 +7770,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
7611
7770
  padding: '10px 10px 23px 40px',
7612
7771
  wordWrap: 'break-word',
7613
7772
  position: 'relative',
7614
- fontSize: '18px',
7773
+ fontSize: theme.typography.fontSize.subHead,
7615
7774
  transform: 'rotate(180deg)',
7616
- clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))',
7617
- marginBottom: '16px'
7775
+ clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
7776
+ // marginBottom: '16px'
7618
7777
  },
7778
+
7619
7779
  bannerContainerText: {
7620
7780
  transform: 'rotate(180deg)'
7621
7781
  },
@@ -7626,16 +7786,15 @@ const useCoursePromotionPage = createUseStyles(theme => {
7626
7786
  },
7627
7787
  courseEmblem: {
7628
7788
  background: '#F0F4F8',
7789
+ fontSize: theme.typography.fontSize.subHead,
7629
7790
  borderRadius: '2.00337px',
7630
7791
  padding: '8px',
7631
7792
  display: 'flex',
7632
7793
  alignItems: 'center',
7633
- justifyContent: 'center',
7634
- marginTop: '20px',
7635
- marginBottom: '20px'
7794
+ justifyContent: 'center'
7636
7795
  },
7637
7796
  courseDetailsTags: {
7638
- marginTop: '16px',
7797
+ // marginTop: '16px',
7639
7798
  display: 'flex',
7640
7799
  flexWrap: 'wrap'
7641
7800
  },
@@ -7645,25 +7804,26 @@ const useCoursePromotionPage = createUseStyles(theme => {
7645
7804
  alignItems: 'center',
7646
7805
  marginRight: '20px',
7647
7806
  '& div': {
7648
- fontSize: '14px',
7807
+ fontSize: theme.typography.fontSize.subHead,
7808
+ fontWeight: theme.typography.fontWeight.semiBold,
7649
7809
  marginLeft: '10px'
7650
7810
  }
7651
7811
  },
7652
7812
  courseDetailContent: {
7653
- marginTop: '16px',
7654
- fontSize: '16px',
7813
+ // marginTop: '16px',
7814
+ fontSize: theme.typography.fontSize.subHead,
7655
7815
  lineHeight: '24px',
7656
7816
  wordBreak: 'break-word',
7657
- color: theme.palette.font.primary,
7817
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
7658
7818
  whiteSpace: 'pre-wrap',
7659
7819
  margin: '10px 0 20px'
7660
7820
  },
7661
7821
  courseDetailViewFullDetails: {
7662
7822
  cursor: 'pointer',
7663
- fontSize: '16px',
7823
+ fontSize: theme.typography.fontSize.subHead,
7664
7824
  lineHeight: '24px',
7665
- margin: '0',
7666
- color: '#00ADE7',
7825
+ marginTop: '-24px',
7826
+ color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
7667
7827
  wordBreak: 'break-word'
7668
7828
  },
7669
7829
  courseDetailTime: {
@@ -7709,7 +7869,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7709
7869
  },
7710
7870
  '@media (max-width: 767px)': {
7711
7871
  bannerContainerText: {
7712
- fontSize: '16px'
7872
+ // fontSize: '16px'
7713
7873
  },
7714
7874
  courseViewContainer: {
7715
7875
  width: '100%',
@@ -7730,12 +7890,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
7730
7890
  width: '100%'
7731
7891
  },
7732
7892
  videoDetailsHeading: {
7733
- fontSize: '20px',
7893
+ // fontSize: '20px',
7734
7894
  fontWeight: '600',
7735
7895
  lineHeight: '20px'
7736
7896
  },
7737
7897
  videoTestimonialTitle: {
7738
- fontSize: '24px',
7898
+ // fontSize: '24px',
7739
7899
  lineHeight: '36px',
7740
7900
  letterSpacing: '-1px'
7741
7901
  },
@@ -7921,7 +8081,7 @@ const SingleVideoSlide = props => {
7921
8081
  className: classes.offerPrice
7922
8082
  }, "\u20B9 ", data.effectivePrice), checkForShowDiscount() && (data.endDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React.createElement("p", {
7923
8083
  style: {
7924
- fontSize: '20px',
8084
+ // fontSize: '20px',
7925
8085
  marginTop: '0px'
7926
8086
  }
7927
8087
  }, /*#__PURE__*/React.createElement("span", {
@@ -7971,12 +8131,14 @@ function CoursePromotionPage({
7971
8131
  sectionIndex
7972
8132
  }) {
7973
8133
  const {
8134
+ isMobile,
7974
8135
  layout: {
7975
8136
  containerWidth
7976
8137
  }
7977
8138
  } = useContext(PageContext);
7978
8139
  const classes = useCoursePromotionPage({
7979
- containerWidth
8140
+ containerWidth,
8141
+ isMobile
7980
8142
  });
7981
8143
  return /*#__PURE__*/React.createElement("div", {
7982
8144
  className: classes.courseSuperContainer