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 +387 -551
- package/build/index.es.js.map +1 -1
- package/build/index.js +387 -551
- package/build/index.js.map +1 -1
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -353,118 +353,117 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
|
|
|
353
353
|
};
|
|
354
354
|
};
|
|
355
355
|
|
|
356
|
-
const buttonStyles = createUseStyles(theme => {
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
356
|
+
const buttonStyles = createUseStyles(theme => ({
|
|
357
|
+
primary: {
|
|
358
|
+
width: ({
|
|
359
|
+
fluid
|
|
360
|
+
} = {}) => fluid ? '100%' : '',
|
|
361
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
362
|
+
fontWeight: '700',
|
|
363
|
+
fontSize: '14px',
|
|
364
|
+
lineHeight: '18px',
|
|
365
|
+
textAlign: 'center',
|
|
366
|
+
color: ({
|
|
367
|
+
disabled
|
|
368
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
369
|
+
background: ({
|
|
370
|
+
disabled
|
|
371
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
|
|
372
|
+
border: ({
|
|
373
|
+
disabled
|
|
374
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
|
|
375
|
+
textDecoration: 'none',
|
|
376
|
+
cursor: ({
|
|
377
|
+
disabled
|
|
378
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
379
|
+
maxWidth: '100%',
|
|
380
|
+
display: 'inline-block',
|
|
381
|
+
wordBreak: 'break-word',
|
|
382
|
+
flexShrink: '0'
|
|
383
|
+
},
|
|
384
|
+
secondary: {
|
|
385
|
+
width: ({
|
|
386
|
+
fluid
|
|
387
|
+
} = {}) => fluid ? '100%' : '',
|
|
388
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
389
|
+
fontSize: '14px',
|
|
390
|
+
fontWeight: '700',
|
|
391
|
+
display: 'inline-block',
|
|
392
|
+
textDecoration: 'none',
|
|
393
|
+
lineHeight: '18px',
|
|
394
|
+
color: ({
|
|
395
|
+
disabled
|
|
396
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
397
|
+
background: ({
|
|
398
|
+
disabled
|
|
399
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
400
|
+
border: ({
|
|
401
|
+
disabled
|
|
402
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
|
|
403
|
+
cursor: ({
|
|
404
|
+
disabled
|
|
405
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
406
|
+
maxWidth: '100%',
|
|
407
|
+
display: 'inline-block',
|
|
408
|
+
wordBreak: 'break-word',
|
|
409
|
+
flexShrink: '0'
|
|
410
|
+
},
|
|
411
|
+
tertiary: {
|
|
412
|
+
width: ({
|
|
413
|
+
fluid
|
|
414
|
+
} = {}) => fluid ? '100%' : '',
|
|
415
|
+
fontWeight: '400',
|
|
416
|
+
fontSize: '16px',
|
|
417
|
+
lineHeight: '20px',
|
|
418
|
+
display: 'flex',
|
|
419
|
+
alignItems: 'center',
|
|
420
|
+
border: 'none',
|
|
421
|
+
color: ({
|
|
422
|
+
disabled
|
|
423
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
424
|
+
background: ({
|
|
425
|
+
disabled
|
|
426
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
427
|
+
cursor: ({
|
|
428
|
+
disabled
|
|
429
|
+
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
430
|
+
maxWidth: '100%',
|
|
431
|
+
display: 'inline-block',
|
|
432
|
+
wordBreak: 'break-word',
|
|
433
|
+
flexShrink: '0',
|
|
434
|
+
'&:hover': {
|
|
435
|
+
background: theme.palette.primary.lightest,
|
|
436
|
+
borderRadius: '4px'
|
|
383
437
|
},
|
|
384
|
-
|
|
385
|
-
width: ({
|
|
386
|
-
fluid
|
|
387
|
-
} = {}) => fluid ? '100%' : '',
|
|
388
|
-
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
389
|
-
fontSize: '14px',
|
|
438
|
+
'&$active': {
|
|
390
439
|
fontWeight: '700',
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
color: ({
|
|
395
|
-
disabled
|
|
396
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.themeColors?.CtaTextColor,
|
|
397
|
-
background: ({
|
|
398
|
-
disabled
|
|
399
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.isGradient ? theme?.themeGradient?.ctaColor : theme?.themeColors?.ctaColor,
|
|
400
|
-
border: ({
|
|
401
|
-
disabled
|
|
402
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.themeColors?.ctaColor}`,
|
|
403
|
-
cursor: ({
|
|
404
|
-
disabled
|
|
405
|
-
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
406
|
-
maxWidth: '100%',
|
|
407
|
-
display: 'inline-block',
|
|
408
|
-
wordBreak: 'break-word',
|
|
409
|
-
flexShrink: '0'
|
|
410
|
-
},
|
|
411
|
-
tertiary: {
|
|
412
|
-
width: ({
|
|
413
|
-
fluid
|
|
414
|
-
} = {}) => fluid ? '100%' : '',
|
|
415
|
-
fontWeight: '400',
|
|
416
|
-
fontSize: '16px',
|
|
417
|
-
lineHeight: '20px',
|
|
418
|
-
display: 'flex',
|
|
419
|
-
alignItems: 'center',
|
|
420
|
-
border: 'none',
|
|
421
|
-
color: ({
|
|
422
|
-
disabled
|
|
423
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
424
|
-
background: ({
|
|
425
|
-
disabled
|
|
426
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
427
|
-
cursor: ({
|
|
428
|
-
disabled
|
|
429
|
-
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
430
|
-
maxWidth: '100%',
|
|
431
|
-
display: 'inline-block',
|
|
432
|
-
wordBreak: 'break-word',
|
|
433
|
-
flexShrink: '0',
|
|
434
|
-
'&:hover': {
|
|
435
|
-
background: theme.palette.primary.lightest,
|
|
436
|
-
borderRadius: '4px'
|
|
437
|
-
},
|
|
438
|
-
'&$active': {
|
|
439
|
-
fontWeight: '700',
|
|
440
|
-
background: theme.palette.primary.lightest,
|
|
441
|
-
borderRadius: theme.shape.borderRadius.small,
|
|
442
|
-
color: theme.palette.primary.main
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
anchorClass: {
|
|
446
|
-
textDecoration: 'none'
|
|
447
|
-
},
|
|
448
|
-
active: {},
|
|
449
|
-
large: {
|
|
450
|
-
padding: '20px 24px'
|
|
451
|
-
},
|
|
452
|
-
medium: {
|
|
453
|
-
padding: '16px 24px'
|
|
454
|
-
},
|
|
455
|
-
small: {
|
|
456
|
-
padding: '12px 16px'
|
|
457
|
-
},
|
|
458
|
-
'@media screen and (max-width: 767px)': {
|
|
459
|
-
active: {
|
|
460
|
-
fontWeight: 'initial',
|
|
461
|
-
background: theme?.palette?.background?.default,
|
|
462
|
-
borderRadius: '0',
|
|
463
|
-
color: theme.palette.primary.main
|
|
464
|
-
}
|
|
440
|
+
background: theme.palette.primary.lightest,
|
|
441
|
+
borderRadius: theme.shape.borderRadius.small,
|
|
442
|
+
color: theme.palette.primary.main
|
|
465
443
|
}
|
|
466
|
-
}
|
|
467
|
-
|
|
444
|
+
},
|
|
445
|
+
anchorClass: {
|
|
446
|
+
textDecoration: 'none'
|
|
447
|
+
},
|
|
448
|
+
active: {},
|
|
449
|
+
large: {
|
|
450
|
+
padding: '20px 24px'
|
|
451
|
+
},
|
|
452
|
+
medium: {
|
|
453
|
+
padding: '16px 24px'
|
|
454
|
+
},
|
|
455
|
+
small: {
|
|
456
|
+
padding: '12px 16px'
|
|
457
|
+
},
|
|
458
|
+
'@media screen and (max-width: 767px)': {
|
|
459
|
+
active: {
|
|
460
|
+
fontWeight: 'initial',
|
|
461
|
+
background: theme?.palette?.background?.default,
|
|
462
|
+
borderRadius: '0',
|
|
463
|
+
color: theme.palette.primary.main
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}));
|
|
468
467
|
|
|
469
468
|
function useLinkBuilder(data) {
|
|
470
469
|
const {
|
|
@@ -2001,6 +2000,7 @@ const fontWeight = {
|
|
|
2001
2000
|
};
|
|
2002
2001
|
|
|
2003
2002
|
function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
2003
|
+
console.log(isMobile, "isMobileisMobile");
|
|
2004
2004
|
const palette = palettes[colorTheme] || palettes['blue'];
|
|
2005
2005
|
const typography = {
|
|
2006
2006
|
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
@@ -2221,125 +2221,13 @@ function PageRenderer$1({
|
|
|
2221
2221
|
}))));
|
|
2222
2222
|
}
|
|
2223
2223
|
|
|
2224
|
-
const GRADIENT = `linear-gradient`;
|
|
2225
|
-
const solidBaseColors = {
|
|
2226
|
-
white: '#FFFFFF',
|
|
2227
|
-
blue: '#1676F3',
|
|
2228
|
-
tertiaryblue: '#F4F9FF',
|
|
2229
|
-
orange: '#FF9000',
|
|
2230
|
-
tertiaryorange: '#FFF6EA',
|
|
2231
|
-
pink: '#F72585',
|
|
2232
|
-
tertiarypink: '#FEE9F3',
|
|
2233
|
-
green: '#8ECE19',
|
|
2234
|
-
tertiarygreen: '#F4FAEB',
|
|
2235
|
-
violet: '#6269C9',
|
|
2236
|
-
tertiaryviolet: '#F4F6FF',
|
|
2237
|
-
red: '#F41828',
|
|
2238
|
-
tertiaryred: '#FFF2F3',
|
|
2239
|
-
maroon: '#9B2226',
|
|
2240
|
-
tertiarymaroon: '#FFF0F0',
|
|
2241
|
-
blue2: '#00ADE7',
|
|
2242
|
-
tertiaryblue2: '#F2FCFF'
|
|
2243
|
-
};
|
|
2244
|
-
const gradientColors = {
|
|
2245
|
-
white: '#FFFFFF',
|
|
2246
|
-
black: '#000000',
|
|
2247
|
-
// Blue gradient
|
|
2248
|
-
|
|
2249
|
-
blue: '#1676F3',
|
|
2250
|
-
bluegradient: `${GRADIENT}(#5418D1,#2C88FF)`,
|
|
2251
|
-
tertiaryblue: '#F4F9FF',
|
|
2252
|
-
// Orange gradient
|
|
2253
|
-
|
|
2254
|
-
orange: '#FF9000',
|
|
2255
|
-
orangegradient: `${GRADIENT}(#E96263 , #EAAE4C)`,
|
|
2256
|
-
tertiaryorange: '#FFF6EA',
|
|
2257
|
-
// Pink gradient
|
|
2258
|
-
|
|
2259
|
-
pink: '#F72585',
|
|
2260
|
-
pinkgradient: `${GRADIENT}(#F97794,#623AA2)`,
|
|
2261
|
-
tertiarypink: '#FEE9F3',
|
|
2262
|
-
// Violet gradient
|
|
2263
|
-
|
|
2264
|
-
violet: '#6026A8',
|
|
2265
|
-
violetgradient: `${GRADIENT}(#B66EC0 , #460FA1)`,
|
|
2266
|
-
tertiaryviolet: '#F5F2FA',
|
|
2267
|
-
// Green gradient
|
|
2268
|
-
|
|
2269
|
-
green: '#46A9A9',
|
|
2270
|
-
greengradient: `${GRADIENT}(#0E5CAD, #79F1A4)`,
|
|
2271
|
-
tertiarygreen: '#F4FAFA'
|
|
2272
|
-
};
|
|
2273
|
-
|
|
2274
|
-
// temporary , will move this
|
|
2275
|
-
|
|
2276
|
-
let fontFamily = 'Arial';
|
|
2277
|
-
const typography = {
|
|
2278
|
-
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
2279
|
-
fontSize: fontSize,
|
|
2280
|
-
fontWeight
|
|
2281
|
-
};
|
|
2282
|
-
const spacing = {
|
|
2283
|
-
padding: padding,
|
|
2284
|
-
margin: margin
|
|
2285
|
-
};
|
|
2286
|
-
|
|
2287
|
-
// till here
|
|
2288
|
-
|
|
2289
|
-
const generateTheme = (theme, isGradient) => {
|
|
2290
|
-
console.log('isGradient', isGradient);
|
|
2291
|
-
const themeColors = {
|
|
2292
|
-
font1: solidBaseColors?.black,
|
|
2293
|
-
font2: solidBaseColors?.black,
|
|
2294
|
-
font3: solidBaseColors?.black,
|
|
2295
|
-
font4: solidBaseColors?.black,
|
|
2296
|
-
AccentColor: solidBaseColors[theme],
|
|
2297
|
-
background1: solidBaseColors?.white,
|
|
2298
|
-
background2: solidBaseColors['tertiary' + theme],
|
|
2299
|
-
background3: solidBaseColors['tertiary' + theme],
|
|
2300
|
-
ctaColor: solidBaseColors[theme],
|
|
2301
|
-
CtaTextColor: solidBaseColors?.white,
|
|
2302
|
-
icon: solidBaseColors[theme],
|
|
2303
|
-
iconBg: solidBaseColors['tertiary' + theme],
|
|
2304
|
-
stripBg: solidBaseColors[theme],
|
|
2305
|
-
stripText: solidBaseColors?.white,
|
|
2306
|
-
inputBorderColor: solidBaseColors?.blue2,
|
|
2307
|
-
tertiaryBlue2: solidBaseColors?.tertiaryblue2
|
|
2308
|
-
};
|
|
2309
|
-
const themeGradient = {
|
|
2310
|
-
font1: gradientColors?.white,
|
|
2311
|
-
font2: gradientColors?.black,
|
|
2312
|
-
font3: gradientColors?.black,
|
|
2313
|
-
font4: gradientColors?.white,
|
|
2314
|
-
AccentColor: gradientColors[theme],
|
|
2315
|
-
background1: gradientColors[theme + 'gradient'],
|
|
2316
|
-
background2: gradientColors['tertiary' + theme],
|
|
2317
|
-
background3: gradientColors[theme + 'gradient'],
|
|
2318
|
-
ctaColor: gradientColors[theme + 'gradient'],
|
|
2319
|
-
CtaTextColor: gradientColors?.white,
|
|
2320
|
-
icon: gradientColors[theme],
|
|
2321
|
-
iconBg: gradientColors['tertiary' + theme],
|
|
2322
|
-
stripBg: gradientColors?.black,
|
|
2323
|
-
stripText: gradientColors?.white
|
|
2324
|
-
};
|
|
2325
|
-
return {
|
|
2326
|
-
...getTheme(theme),
|
|
2327
|
-
themeColors,
|
|
2328
|
-
typography,
|
|
2329
|
-
spacing,
|
|
2330
|
-
isGradient,
|
|
2331
|
-
themeGradient
|
|
2332
|
-
};
|
|
2333
|
-
};
|
|
2334
|
-
|
|
2335
2224
|
const useSectionStyles$8 = createUseStyles(theme => ({
|
|
2336
2225
|
bannerCarouselRightSection: {
|
|
2337
2226
|
position: 'relative',
|
|
2338
|
-
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
2339
2227
|
padding: ({
|
|
2340
2228
|
isMobile
|
|
2341
2229
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2342
|
-
backgroundColor:
|
|
2230
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
2343
2231
|
'&, & *, & *:before, & *:after': {
|
|
2344
2232
|
fontFamily: theme?.typography?.fontFamily,
|
|
2345
2233
|
boxSizing: 'border-box'
|
|
@@ -2556,7 +2444,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2556
2444
|
height: sizeHandler,
|
|
2557
2445
|
border: ({
|
|
2558
2446
|
inverted
|
|
2559
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2447
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
|
|
2560
2448
|
borderRadius: '50%',
|
|
2561
2449
|
display: 'flex',
|
|
2562
2450
|
justifyContent: 'center',
|
|
@@ -2578,7 +2466,7 @@ function ArrowButton(props) {
|
|
|
2578
2466
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
2579
2467
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2580
2468
|
name: "Angle",
|
|
2581
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2469
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
|
|
2582
2470
|
inverted: true
|
|
2583
2471
|
}));
|
|
2584
2472
|
}
|
|
@@ -2772,183 +2660,176 @@ var index$l = /*#__PURE__*/Object.freeze({
|
|
|
2772
2660
|
'default': BannerCarouselRight
|
|
2773
2661
|
});
|
|
2774
2662
|
|
|
2775
|
-
const useSectionStyles$7 = createUseStyles(theme => {
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2663
|
+
const useSectionStyles$7 = createUseStyles(theme => ({
|
|
2664
|
+
section: {
|
|
2665
|
+
width: '100%',
|
|
2666
|
+
padding: ({
|
|
2667
|
+
isMobile
|
|
2668
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2669
|
+
display: 'flex',
|
|
2670
|
+
justifyContent: 'center',
|
|
2671
|
+
flexDirection: 'column',
|
|
2672
|
+
alignItems: 'center',
|
|
2673
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
2674
|
+
'&, & *, & *:before, & *:after': {
|
|
2675
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
2676
|
+
boxSizing: 'border-box'
|
|
2677
|
+
},
|
|
2678
|
+
'& h2,& h3': {
|
|
2679
|
+
marginTop: '0'
|
|
2680
|
+
}
|
|
2681
|
+
},
|
|
2682
|
+
sectionContainer: {
|
|
2683
|
+
margin: '0 auto',
|
|
2684
|
+
maxWidth: ({
|
|
2685
|
+
containerWidth
|
|
2686
|
+
} = {}) => containerWidth
|
|
2687
|
+
},
|
|
2688
|
+
subTitleHeading: {
|
|
2689
|
+
marginBottom: '8px',
|
|
2690
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2691
|
+
color: theme?.palette?.font?.tertiary,
|
|
2692
|
+
alignItems: 'center',
|
|
2693
|
+
textAlign: 'center',
|
|
2694
|
+
wordBreak: 'break-word',
|
|
2695
|
+
textTransform: 'uppercase'
|
|
2696
|
+
},
|
|
2697
|
+
heading: {
|
|
2698
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
2699
|
+
fontSize: theme.typography.fontSize.h2,
|
|
2700
|
+
color: theme?.palette?.font?.default,
|
|
2701
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
2702
|
+
textAlign: 'center',
|
|
2703
|
+
wordBreak: 'break-word'
|
|
2704
|
+
},
|
|
2705
|
+
contentContainer: {
|
|
2706
|
+
display: 'flex',
|
|
2707
|
+
flexDirection: 'column',
|
|
2708
|
+
alignItems: 'center',
|
|
2709
|
+
justifyContent: 'center',
|
|
2710
|
+
width: '770px',
|
|
2711
|
+
margin: 'auto'
|
|
2712
|
+
},
|
|
2713
|
+
content: {
|
|
2714
|
+
display: 'flex',
|
|
2715
|
+
width: 'calc(100% - 100px)',
|
|
2716
|
+
alignItems: 'center',
|
|
2717
|
+
background: theme?.palette?.background?.default,
|
|
2718
|
+
boxShadow: theme?.shadows?.primary,
|
|
2719
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2720
|
+
overflow: 'hidden',
|
|
2721
|
+
minHeight: 200,
|
|
2722
|
+
marginBottom: theme.spacing.margin.small,
|
|
2723
|
+
position: 'relative',
|
|
2724
|
+
'&:nth-child(2n)': {
|
|
2725
|
+
alignSelf: 'flex-end',
|
|
2726
|
+
'& $contentNumber': {
|
|
2727
|
+
right: '0'
|
|
2728
|
+
},
|
|
2729
|
+
'& $contentText': {
|
|
2730
|
+
marginRight: '170px'
|
|
2791
2731
|
}
|
|
2792
|
-
// '& h2,& h3': {
|
|
2793
|
-
// fontWeight: '500',
|
|
2794
|
-
// '& b,& strong': {
|
|
2795
|
-
// fontWeight: '700'
|
|
2796
|
-
// }
|
|
2797
|
-
// }
|
|
2798
2732
|
},
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2733
|
+
'&:nth-child(2n+1)': {
|
|
2734
|
+
alignSelf: 'flex-start',
|
|
2735
|
+
'& $contentNumber': {
|
|
2736
|
+
left: '0'
|
|
2737
|
+
},
|
|
2738
|
+
'& $contentText': {
|
|
2739
|
+
marginLeft: '170px'
|
|
2740
|
+
}
|
|
2805
2741
|
},
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
2809
|
-
color: theme?.palette?.font?.tertiary,
|
|
2810
|
-
alignItems: 'center',
|
|
2811
|
-
textAlign: 'center',
|
|
2812
|
-
wordBreak: 'break-word',
|
|
2813
|
-
textTransform: 'uppercase'
|
|
2742
|
+
'&:nth-child(7n+1) $contentNumber': {
|
|
2743
|
+
background: palettes.purple.primary.lightest
|
|
2814
2744
|
},
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
fontSize: theme.typography.fontSize.h2,
|
|
2818
|
-
color: theme?.palette?.font?.default,
|
|
2819
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
2820
|
-
textAlign: 'center',
|
|
2821
|
-
wordBreak: 'break-word'
|
|
2745
|
+
'&:nth-child(7n+2) $contentNumber': {
|
|
2746
|
+
background: palettes.orange.primary.lightest
|
|
2822
2747
|
},
|
|
2748
|
+
'&:nth-child(7n+3) $contentNumber': {
|
|
2749
|
+
background: palettes.red.primary.lightest
|
|
2750
|
+
},
|
|
2751
|
+
'&:nth-child(7n+4) $contentNumber': {
|
|
2752
|
+
background: palettes.green.primary.lightest
|
|
2753
|
+
},
|
|
2754
|
+
'&:nth-child(7n+5) $contentNumber': {
|
|
2755
|
+
background: palettes.pink.primary.lightest
|
|
2756
|
+
},
|
|
2757
|
+
'&:nth-child(7n+6) $contentNumber': {
|
|
2758
|
+
background: palettes.blue.primary.lightest
|
|
2759
|
+
},
|
|
2760
|
+
'&:nth-child(7n) $contentNumber': {
|
|
2761
|
+
background: palettes.rust.primary.lightest
|
|
2762
|
+
}
|
|
2763
|
+
},
|
|
2764
|
+
contentNumber: {
|
|
2765
|
+
position: 'absolute',
|
|
2766
|
+
top: '0',
|
|
2767
|
+
fontWeight: '700',
|
|
2768
|
+
fontSize: '72px',
|
|
2769
|
+
letterSpacing: '-3px',
|
|
2770
|
+
display: 'flex',
|
|
2771
|
+
alignItems: 'center',
|
|
2772
|
+
justifyContent: 'center',
|
|
2773
|
+
padding: '48px',
|
|
2774
|
+
height: '100%',
|
|
2775
|
+
color: theme?.palette?.font?.default,
|
|
2776
|
+
wordBreak: 'break-word'
|
|
2777
|
+
},
|
|
2778
|
+
contentText: {
|
|
2779
|
+
padding: theme.spacing.padding.tiny
|
|
2780
|
+
},
|
|
2781
|
+
contentHeading: {
|
|
2782
|
+
fontStyle: 'normal',
|
|
2783
|
+
fontSize: theme.typography.fontSize.h5,
|
|
2784
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
2785
|
+
lineHeight: '32px',
|
|
2786
|
+
marginBottom: '8px',
|
|
2787
|
+
color: theme?.palette?.font?.default,
|
|
2788
|
+
wordBreak: 'break-word'
|
|
2789
|
+
},
|
|
2790
|
+
contentPara: {
|
|
2791
|
+
fontStyle: 'normal',
|
|
2792
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2793
|
+
lineHeight: '32px',
|
|
2794
|
+
color: theme?.palette?.font?.primary,
|
|
2795
|
+
wordBreak: 'break-word'
|
|
2796
|
+
},
|
|
2797
|
+
'@media screen and (max-width: 767px)': {
|
|
2823
2798
|
contentContainer: {
|
|
2824
|
-
|
|
2825
|
-
flexDirection: 'column',
|
|
2826
|
-
alignItems: 'center',
|
|
2827
|
-
justifyContent: 'center',
|
|
2828
|
-
width: '770px',
|
|
2829
|
-
margin: 'auto'
|
|
2799
|
+
width: '100%'
|
|
2830
2800
|
},
|
|
2831
2801
|
content: {
|
|
2832
2802
|
display: 'flex',
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2838
|
-
overflow: 'hidden',
|
|
2839
|
-
minHeight: 200,
|
|
2840
|
-
marginBottom: theme.spacing.margin.small,
|
|
2841
|
-
position: 'relative',
|
|
2803
|
+
flexDirection: 'column',
|
|
2804
|
+
borderRadius: theme.shape.borderRadius.large,
|
|
2805
|
+
width: '100%',
|
|
2806
|
+
height: 'auto',
|
|
2842
2807
|
'&:nth-child(2n)': {
|
|
2843
|
-
|
|
2844
|
-
'& $contentNumber': {
|
|
2845
|
-
right: '0'
|
|
2846
|
-
},
|
|
2808
|
+
marginLeft: '0',
|
|
2847
2809
|
'& $contentText': {
|
|
2848
|
-
marginRight: '
|
|
2810
|
+
marginRight: '0',
|
|
2811
|
+
alignSelf: 'flex-start'
|
|
2812
|
+
// padding: '0'
|
|
2849
2813
|
}
|
|
2850
2814
|
},
|
|
2815
|
+
|
|
2851
2816
|
'&:nth-child(2n+1)': {
|
|
2852
|
-
|
|
2853
|
-
'& $contentNumber': {
|
|
2854
|
-
left: '0'
|
|
2855
|
-
},
|
|
2817
|
+
marginRight: '0',
|
|
2856
2818
|
'& $contentText': {
|
|
2857
|
-
marginLeft: '
|
|
2819
|
+
marginLeft: '0',
|
|
2820
|
+
alignSelf: 'flex-start'
|
|
2821
|
+
// padding: '0'
|
|
2858
2822
|
}
|
|
2859
|
-
},
|
|
2860
|
-
'&:nth-child(7n+1) $contentNumber': {
|
|
2861
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2862
|
-
},
|
|
2863
|
-
'&:nth-child(7n+2) $contentNumber': {
|
|
2864
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2865
|
-
},
|
|
2866
|
-
'&:nth-child(7n+3) $contentNumber': {
|
|
2867
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2868
|
-
},
|
|
2869
|
-
'&:nth-child(7n+4) $contentNumber': {
|
|
2870
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2871
|
-
},
|
|
2872
|
-
'&:nth-child(7n+5) $contentNumber': {
|
|
2873
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2874
|
-
},
|
|
2875
|
-
'&:nth-child(7n+6) $contentNumber': {
|
|
2876
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2877
|
-
},
|
|
2878
|
-
'&:nth-child(7n) $contentNumber': {
|
|
2879
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background3
|
|
2880
2823
|
}
|
|
2881
2824
|
},
|
|
2882
|
-
contentNumber: {
|
|
2883
|
-
position: 'absolute',
|
|
2884
|
-
top: '0',
|
|
2885
|
-
fontWeight: '700',
|
|
2886
|
-
fontSize: '72px',
|
|
2887
|
-
letterSpacing: '-3px',
|
|
2888
|
-
display: 'flex',
|
|
2889
|
-
alignItems: 'center',
|
|
2890
|
-
justifyContent: 'center',
|
|
2891
|
-
padding: '48px',
|
|
2892
|
-
height: '100%',
|
|
2893
|
-
color: theme?.isGradient ? theme?.themeGradient?.font4 : theme?.themeColors?.font4,
|
|
2894
|
-
wordBreak: 'break-word'
|
|
2895
|
-
},
|
|
2896
|
-
contentText: {
|
|
2897
|
-
padding: theme.spacing.padding.tiny
|
|
2898
|
-
},
|
|
2899
|
-
contentHeading: {
|
|
2900
|
-
fontStyle: 'normal',
|
|
2901
|
-
fontSize: theme.typography.fontSize.h5,
|
|
2902
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
2903
|
-
lineHeight: '32px',
|
|
2904
|
-
marginBottom: '8px',
|
|
2905
|
-
color: theme?.palette?.font?.default,
|
|
2906
|
-
wordBreak: 'break-word'
|
|
2907
|
-
},
|
|
2908
|
-
contentPara: {
|
|
2909
|
-
fontStyle: 'normal',
|
|
2910
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
2911
|
-
lineHeight: '32px',
|
|
2912
|
-
color: theme?.palette?.font?.primary,
|
|
2913
|
-
wordBreak: 'break-word'
|
|
2914
|
-
},
|
|
2915
|
-
'@media screen and (max-width: 767px)': {
|
|
2916
|
-
contentContainer: {
|
|
2917
|
-
width: '100%'
|
|
2918
|
-
},
|
|
2919
|
-
content: {
|
|
2920
|
-
display: 'flex',
|
|
2921
|
-
flexDirection: 'column',
|
|
2922
|
-
borderRadius: theme.shape.borderRadius.large,
|
|
2923
|
-
width: '100%',
|
|
2924
|
-
height: 'auto',
|
|
2925
|
-
'&:nth-child(2n)': {
|
|
2926
|
-
marginLeft: '0',
|
|
2927
|
-
'& $contentText': {
|
|
2928
|
-
marginRight: '0',
|
|
2929
|
-
alignSelf: 'flex-start'
|
|
2930
|
-
// padding: '0'
|
|
2931
|
-
}
|
|
2932
|
-
},
|
|
2933
|
-
|
|
2934
|
-
'&:nth-child(2n+1)': {
|
|
2935
|
-
marginRight: '0',
|
|
2936
|
-
'& $contentText': {
|
|
2937
|
-
marginLeft: '0',
|
|
2938
|
-
alignSelf: 'flex-start'
|
|
2939
|
-
// padding: '0'
|
|
2940
|
-
}
|
|
2941
|
-
}
|
|
2942
|
-
},
|
|
2943
2825
|
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
}
|
|
2826
|
+
contentNumber: {
|
|
2827
|
+
width: '100%',
|
|
2828
|
+
padding: '24px',
|
|
2829
|
+
position: 'static'
|
|
2949
2830
|
}
|
|
2950
|
-
}
|
|
2951
|
-
});
|
|
2831
|
+
}
|
|
2832
|
+
}));
|
|
2952
2833
|
|
|
2953
2834
|
function List({
|
|
2954
2835
|
sectionData
|
|
@@ -2978,7 +2859,7 @@ function List({
|
|
|
2978
2859
|
dangerouslySetInnerHTML: {
|
|
2979
2860
|
__html: nodeData.cardHeading.metadata.value
|
|
2980
2861
|
}
|
|
2981
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
2862
|
+
})), /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
2982
2863
|
className: classes.heading
|
|
2983
2864
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
2984
2865
|
ref: nodeData?.title?.refSetter,
|
|
@@ -2995,13 +2876,13 @@ function List({
|
|
|
2995
2876
|
className: classes.contentNumber
|
|
2996
2877
|
}, getNumber(ind + 1)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2997
2878
|
className: classes.contentText
|
|
2998
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
2879
|
+
}, /*#__PURE__*/React__default["default"].createElement("h3", {
|
|
2999
2880
|
ref: dt?.contentHeading?.refSetter,
|
|
3000
2881
|
className: classes.contentHeading,
|
|
3001
2882
|
dangerouslySetInnerHTML: {
|
|
3002
2883
|
__html: dt.contentHeading.metadata.value
|
|
3003
2884
|
}
|
|
3004
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
2885
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
3005
2886
|
ref: dt?.contentPara?.refSetter,
|
|
3006
2887
|
className: classes.contentPara,
|
|
3007
2888
|
dangerouslySetInnerHTML: {
|
|
@@ -3259,16 +3140,15 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
3259
3140
|
const useSectionStyles$5 = createUseStyles(theme => {
|
|
3260
3141
|
return {
|
|
3261
3142
|
section: {
|
|
3262
|
-
paddingBottom:
|
|
3263
|
-
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
3143
|
+
paddingBottom: theme?.spacing?.padding?.regular,
|
|
3264
3144
|
'&, & *, & *:before, & *:after': {
|
|
3265
3145
|
fontFamily: theme?.typography?.fontFamily,
|
|
3266
3146
|
boxSizing: 'border-box'
|
|
3267
3147
|
},
|
|
3268
3148
|
'& h2,& h3': {
|
|
3269
|
-
fontWeight:
|
|
3149
|
+
fontWeight: theme?.typography?.fontWeight?.medium,
|
|
3270
3150
|
'& b,& strong': {
|
|
3271
|
-
fontWeight:
|
|
3151
|
+
fontWeight: theme?.typography?.fontWeight?.bold
|
|
3272
3152
|
}
|
|
3273
3153
|
}
|
|
3274
3154
|
},
|
|
@@ -3301,7 +3181,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3301
3181
|
}
|
|
3302
3182
|
},
|
|
3303
3183
|
imageBorder: {
|
|
3304
|
-
|
|
3184
|
+
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3305
3185
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3306
3186
|
position: 'absolute',
|
|
3307
3187
|
width: '100%',
|
|
@@ -3336,7 +3216,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3336
3216
|
},
|
|
3337
3217
|
description: {
|
|
3338
3218
|
margin: '40px 0',
|
|
3339
|
-
|
|
3219
|
+
color: theme?.palette?.font?.primary,
|
|
3340
3220
|
lineHeight: '24px',
|
|
3341
3221
|
wordBreak: 'break-word'
|
|
3342
3222
|
},
|
|
@@ -3481,15 +3361,11 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3481
3361
|
'&, & *, & *:before, & *:after': {
|
|
3482
3362
|
fontFamily: theme?.typography?.fontFamily,
|
|
3483
3363
|
boxSizing: 'border-box'
|
|
3364
|
+
},
|
|
3365
|
+
'& h2,& h3': {
|
|
3366
|
+
marginTop: '0'
|
|
3484
3367
|
}
|
|
3485
|
-
// '& h2,& h3': {
|
|
3486
|
-
// fontWeight: '500',
|
|
3487
|
-
// '& b,& strong': {
|
|
3488
|
-
// fontWeight: '700'
|
|
3489
|
-
// }
|
|
3490
|
-
// }
|
|
3491
3368
|
},
|
|
3492
|
-
|
|
3493
3369
|
newsLetterContainer: {
|
|
3494
3370
|
margin: '0 auto',
|
|
3495
3371
|
maxWidth: ({
|
|
@@ -3501,12 +3377,11 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3501
3377
|
left: '0',
|
|
3502
3378
|
width: '100%',
|
|
3503
3379
|
height: '50%',
|
|
3504
|
-
position: 'absolute'
|
|
3505
|
-
|
|
3380
|
+
position: 'absolute',
|
|
3381
|
+
background: theme?.palette?.background?.primary
|
|
3506
3382
|
},
|
|
3507
|
-
|
|
3508
3383
|
sectionContainer: {
|
|
3509
|
-
|
|
3384
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
3510
3385
|
boxShadow: theme?.shadows?.secondary,
|
|
3511
3386
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3512
3387
|
padding: theme.spacing.padding.small,
|
|
@@ -3652,59 +3527,56 @@ async function postApiCallForm(baseURLs, data, extraProps) {
|
|
|
3652
3527
|
}
|
|
3653
3528
|
}
|
|
3654
3529
|
|
|
3655
|
-
const inputStyles = createUseStyles(theme => {
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3530
|
+
const inputStyles = createUseStyles(theme => ({
|
|
3531
|
+
inputField: {
|
|
3532
|
+
width: '100%',
|
|
3533
|
+
maxWidth: '314px',
|
|
3534
|
+
background: theme?.palette?.background?.default,
|
|
3535
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
3536
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3537
|
+
padding: '14px 12px',
|
|
3538
|
+
display: 'flex',
|
|
3539
|
+
fontWeight: '400',
|
|
3540
|
+
fontSize: '16px',
|
|
3541
|
+
lineHeight: '20px',
|
|
3542
|
+
verticalalign: 'top',
|
|
3543
|
+
resize: 'none',
|
|
3544
|
+
fontFamily: 'inherit',
|
|
3545
|
+
'&::placeholder': {
|
|
3666
3546
|
fontWeight: '400',
|
|
3667
3547
|
fontSize: '16px',
|
|
3668
3548
|
lineHeight: '20px',
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
fontFamily: 'inherit',
|
|
3672
|
-
'&::placeholder': {
|
|
3673
|
-
fontWeight: '400',
|
|
3674
|
-
fontSize: '16px',
|
|
3675
|
-
lineHeight: '20px',
|
|
3676
|
-
color: theme?.palette?.font?.primary,
|
|
3677
|
-
fontFamily: theme?.typography?.fontFamily
|
|
3678
|
-
},
|
|
3679
|
-
'&:focus': {
|
|
3680
|
-
outline: 'none'
|
|
3681
|
-
}
|
|
3682
|
-
},
|
|
3683
|
-
error: {
|
|
3684
|
-
borderBottom: '1px solid red',
|
|
3685
|
-
position: 'absolute',
|
|
3686
|
-
bottom: '-8px',
|
|
3687
|
-
width: 'calc(100% - 24px)'
|
|
3549
|
+
color: theme?.palette?.font?.primary,
|
|
3550
|
+
fontFamily: theme?.typography?.fontFamily
|
|
3688
3551
|
},
|
|
3689
|
-
|
|
3690
|
-
|
|
3552
|
+
'&:focus': {
|
|
3553
|
+
outline: 'none'
|
|
3554
|
+
}
|
|
3555
|
+
},
|
|
3556
|
+
error: {
|
|
3557
|
+
borderBottom: '1px solid red',
|
|
3558
|
+
position: 'absolute',
|
|
3559
|
+
bottom: '-8px',
|
|
3560
|
+
width: 'calc(100% - 24px)'
|
|
3561
|
+
},
|
|
3562
|
+
errorBorder: {
|
|
3563
|
+
border: `1px solid red`,
|
|
3564
|
+
color: 'red',
|
|
3565
|
+
'&::placeholder': {
|
|
3691
3566
|
color: 'red',
|
|
3692
|
-
'
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3567
|
+
opacity: '0.5'
|
|
3568
|
+
}
|
|
3569
|
+
},
|
|
3570
|
+
'@media screen and (max-width: 767px)': {
|
|
3571
|
+
inputField: {
|
|
3572
|
+
width: '100%',
|
|
3573
|
+
maxWidth: 'unset'
|
|
3696
3574
|
},
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
width: '100%',
|
|
3700
|
-
maxWidth: 'unset'
|
|
3701
|
-
},
|
|
3702
|
-
error: {
|
|
3703
|
-
bottom: '-2px'
|
|
3704
|
-
}
|
|
3575
|
+
error: {
|
|
3576
|
+
bottom: '-2px'
|
|
3705
3577
|
}
|
|
3706
|
-
}
|
|
3707
|
-
});
|
|
3578
|
+
}
|
|
3579
|
+
}));
|
|
3708
3580
|
|
|
3709
3581
|
function Input({
|
|
3710
3582
|
data,
|
|
@@ -3717,12 +3589,9 @@ function Input({
|
|
|
3717
3589
|
const {
|
|
3718
3590
|
onChange,
|
|
3719
3591
|
onBlur,
|
|
3720
|
-
onFocus
|
|
3721
|
-
theme
|
|
3592
|
+
onFocus
|
|
3722
3593
|
} = props;
|
|
3723
|
-
const classes = inputStyles(
|
|
3724
|
-
theme
|
|
3725
|
-
});
|
|
3594
|
+
const classes = inputStyles();
|
|
3726
3595
|
const Comp = inputType;
|
|
3727
3596
|
return /*#__PURE__*/React__default["default"].createElement(Comp, _extends({}, inputType === 'input' ? {
|
|
3728
3597
|
type: 'text'
|
|
@@ -3802,7 +3671,7 @@ function SubscribeToNewsletter({
|
|
|
3802
3671
|
className: classes.partialBackground
|
|
3803
3672
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3804
3673
|
className: classes.sectionContainer
|
|
3805
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
3674
|
+
}, /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
3806
3675
|
className: classes.cardHeading
|
|
3807
3676
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
3808
3677
|
ref: nodeData?.cardHeading?.refSetter,
|
|
@@ -3853,14 +3722,12 @@ function SubscribeToNewsletter({
|
|
|
3853
3722
|
type: nodeData?.cta?.metadata?.type,
|
|
3854
3723
|
size: isMobile ? 'small' : 'medium',
|
|
3855
3724
|
styling: isMobile ? {
|
|
3856
|
-
marginTop: '12px'
|
|
3857
|
-
border: 'none'
|
|
3725
|
+
marginTop: '12px'
|
|
3858
3726
|
} : {
|
|
3859
3727
|
maxWidth: '200px',
|
|
3860
3728
|
whiteSpace: 'nowrap',
|
|
3861
3729
|
overflow: 'hidden',
|
|
3862
|
-
textOverflow: 'ellipsis'
|
|
3863
|
-
border: 'none'
|
|
3730
|
+
textOverflow: 'ellipsis'
|
|
3864
3731
|
},
|
|
3865
3732
|
disabled: btnDisabled
|
|
3866
3733
|
})))))));
|
|
@@ -3873,21 +3740,17 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
3873
3740
|
|
|
3874
3741
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
3875
3742
|
testimonialContainer: {
|
|
3876
|
-
|
|
3743
|
+
background: theme?.palette?.background?.primary,
|
|
3877
3744
|
overflow: 'hidden',
|
|
3878
3745
|
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3879
3746
|
'&, & *, & *:before, & *:after': {
|
|
3880
3747
|
fontFamily: theme?.typography?.fontFamily,
|
|
3881
3748
|
boxSizing: 'border-box'
|
|
3749
|
+
},
|
|
3750
|
+
'& h3,& p': {
|
|
3751
|
+
marginTop: '0'
|
|
3882
3752
|
}
|
|
3883
|
-
// '& h2,& h3': {
|
|
3884
|
-
// fontWeight: '500',
|
|
3885
|
-
// '& b,& strong': {
|
|
3886
|
-
// fontWeight: '700'
|
|
3887
|
-
// }
|
|
3888
|
-
// }
|
|
3889
3753
|
},
|
|
3890
|
-
|
|
3891
3754
|
sectionContainer: {
|
|
3892
3755
|
margin: '0 auto',
|
|
3893
3756
|
maxWidth: ({
|
|
@@ -3919,7 +3782,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3919
3782
|
position: 'relative',
|
|
3920
3783
|
height: 'calc(100% - 12px)',
|
|
3921
3784
|
width: 'calc(100% - 24px)',
|
|
3922
|
-
background: theme?.
|
|
3785
|
+
background: theme?.palette?.background?.default,
|
|
3923
3786
|
boxShadow: theme?.shadows?.primary,
|
|
3924
3787
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3925
3788
|
},
|
|
@@ -3935,7 +3798,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3935
3798
|
flexDirection: 'column',
|
|
3936
3799
|
justifyContent: 'space-between',
|
|
3937
3800
|
padding: '48px',
|
|
3938
|
-
borderRadius: '8px',
|
|
3939
3801
|
alignItems: 'flex-start'
|
|
3940
3802
|
},
|
|
3941
3803
|
quoteIcon: {
|
|
@@ -3947,7 +3809,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3947
3809
|
marginBottom: theme.spacing.margin.tiny,
|
|
3948
3810
|
fontSize: theme.typography.fontSize.subHead,
|
|
3949
3811
|
wordBreak: 'break-word',
|
|
3950
|
-
color: theme?.
|
|
3812
|
+
color: theme?.palette?.font?.primary,
|
|
3951
3813
|
lineHeight: '22px'
|
|
3952
3814
|
},
|
|
3953
3815
|
userContainer: {
|
|
@@ -3977,7 +3839,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3977
3839
|
marginRight: '16px'
|
|
3978
3840
|
},
|
|
3979
3841
|
userName: {
|
|
3980
|
-
color: theme?.
|
|
3842
|
+
color: theme?.palette?.font?.default,
|
|
3981
3843
|
margin: '0',
|
|
3982
3844
|
fontSize: theme.typography.fontSize.h5,
|
|
3983
3845
|
// paddingTop: '16px',
|
|
@@ -4094,7 +3956,7 @@ function Section$1({
|
|
|
4094
3956
|
className: classes.quoteIcon
|
|
4095
3957
|
}, /*#__PURE__*/React__default["default"].createElement(QuotesComponent, null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4096
3958
|
className: classes.cardDetails
|
|
4097
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
3959
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4098
3960
|
ref: el?.cardTextContent?.refSetter,
|
|
4099
3961
|
className: classes.reviewText,
|
|
4100
3962
|
dangerouslySetInnerHTML: {
|
|
@@ -4139,7 +4001,7 @@ function Section$1({
|
|
|
4139
4001
|
dangerouslySetInnerHTML: {
|
|
4140
4002
|
__html: nodeData?.carouselHeading?.metadata?.value
|
|
4141
4003
|
}
|
|
4142
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
4004
|
+
})), /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
4143
4005
|
className: classes.testimonialHeader
|
|
4144
4006
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4145
4007
|
ref: nodeData?.title?.refSetter,
|
|
@@ -4357,15 +4219,12 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4357
4219
|
'&, & *, & *:before, & *:after': {
|
|
4358
4220
|
fontFamily: theme?.typography?.fontFamily
|
|
4359
4221
|
// boxSizing: 'border-box'
|
|
4222
|
+
},
|
|
4223
|
+
|
|
4224
|
+
'& h2,& h3,& p': {
|
|
4225
|
+
marginTop: '0'
|
|
4360
4226
|
}
|
|
4361
|
-
// '& h2,& h3': {
|
|
4362
|
-
// fontWeight: '500',
|
|
4363
|
-
// '& b,& strong': {
|
|
4364
|
-
// fontWeight: '700'
|
|
4365
|
-
// }
|
|
4366
|
-
// }
|
|
4367
4227
|
},
|
|
4368
|
-
|
|
4369
4228
|
sectionContainer: {
|
|
4370
4229
|
// margin: '0 auto',
|
|
4371
4230
|
maxWidth: ({
|
|
@@ -4489,19 +4348,19 @@ const SingleVideoSlide$2 = props => {
|
|
|
4489
4348
|
sectionIndex: props?.sectionIndex
|
|
4490
4349
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4491
4350
|
className: classes.videoDetails
|
|
4492
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
4351
|
+
}, /*#__PURE__*/React__default["default"].createElement("h3", {
|
|
4493
4352
|
ref: data?.videoTextHeading?.refSetter,
|
|
4494
4353
|
className: classes.videoDetailsHeading,
|
|
4495
4354
|
dangerouslySetInnerHTML: {
|
|
4496
4355
|
__html: data.videoTextHeading.metadata.value
|
|
4497
4356
|
}
|
|
4498
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
4357
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4499
4358
|
ref: data?.videoTextContent?.refSetter,
|
|
4500
4359
|
className: classes.videoDetailsContent,
|
|
4501
4360
|
dangerouslySetInnerHTML: {
|
|
4502
4361
|
__html: data.videoTextContent.metadata.value
|
|
4503
4362
|
}
|
|
4504
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
4363
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
4505
4364
|
ref: data?.videoTextSubContent?.refSetter,
|
|
4506
4365
|
className: classes.videoDetailsSubContent,
|
|
4507
4366
|
dangerouslySetInnerHTML: {
|
|
@@ -4539,7 +4398,7 @@ function VideoTestimonial({
|
|
|
4539
4398
|
dangerouslySetInnerHTML: {
|
|
4540
4399
|
__html: videoData.videoHeading.metadata.value
|
|
4541
4400
|
}
|
|
4542
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
4401
|
+
})), /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
4543
4402
|
className: classes.videoTestimonialTitle
|
|
4544
4403
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4545
4404
|
ref: videoData?.title?.refSetter,
|
|
@@ -4564,19 +4423,15 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4564
4423
|
padding: ({
|
|
4565
4424
|
isMobile
|
|
4566
4425
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4567
|
-
|
|
4426
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
4568
4427
|
'&, & *, & *:before, & *:after': {
|
|
4569
4428
|
fontFamily: theme?.typography?.fontFamily,
|
|
4570
4429
|
boxSizing: 'border-box'
|
|
4430
|
+
},
|
|
4431
|
+
'& h3': {
|
|
4432
|
+
marginTop: '0'
|
|
4571
4433
|
}
|
|
4572
|
-
// '& h2,& h3': {
|
|
4573
|
-
// fontWeight: '500',
|
|
4574
|
-
// '& b,& strong': {
|
|
4575
|
-
// fontWeight: '700'
|
|
4576
|
-
// }
|
|
4577
|
-
// }
|
|
4578
4434
|
},
|
|
4579
|
-
|
|
4580
4435
|
sectionContainer: {
|
|
4581
4436
|
margin: '0 auto',
|
|
4582
4437
|
maxWidth: ({
|
|
@@ -4719,7 +4574,7 @@ const SingleSlide$1 = props => {
|
|
|
4719
4574
|
videoUrl: data.videoFrame.metadata?.value
|
|
4720
4575
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4721
4576
|
className: classes.videoDetailsContainer
|
|
4722
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
4577
|
+
}, /*#__PURE__*/React__default["default"].createElement("h3", {
|
|
4723
4578
|
ref: data?.videoTitle?.refSetter,
|
|
4724
4579
|
className: classes.videoDetailsHeading,
|
|
4725
4580
|
dangerouslySetInnerHTML: {
|
|
@@ -4775,7 +4630,7 @@ function Video({
|
|
|
4775
4630
|
dangerouslySetInnerHTML: {
|
|
4776
4631
|
__html: videoData.videoHeading.metadata.value
|
|
4777
4632
|
}
|
|
4778
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
4633
|
+
})), /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
4779
4634
|
className: classes.videoTitle
|
|
4780
4635
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4781
4636
|
ref: videoData?.videoTitle?.refSetter,
|
|
@@ -4795,7 +4650,7 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4795
4650
|
'default': Video
|
|
4796
4651
|
});
|
|
4797
4652
|
|
|
4798
|
-
const useSectionStyles$3 = createUseStyles(theme => (
|
|
4653
|
+
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4799
4654
|
section: {
|
|
4800
4655
|
position: 'relative',
|
|
4801
4656
|
padding: `${theme?.spacing?.padding?.regular}px 0px ${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px`,
|
|
@@ -4822,7 +4677,7 @@ const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
|
|
|
4822
4677
|
top: '0',
|
|
4823
4678
|
left: '0',
|
|
4824
4679
|
height: '350px',
|
|
4825
|
-
background: theme?.
|
|
4680
|
+
background: theme?.palette?.background?.primary,
|
|
4826
4681
|
width: '100%'
|
|
4827
4682
|
},
|
|
4828
4683
|
content: {
|
|
@@ -5016,19 +4871,15 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5016
4871
|
padding: ({
|
|
5017
4872
|
isMobile
|
|
5018
4873
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5019
|
-
|
|
4874
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
5020
4875
|
'&, & *, & *:before, & *:after': {
|
|
5021
4876
|
fontFamily: theme?.typography?.fontFamily,
|
|
5022
4877
|
boxSizing: 'border-box'
|
|
4878
|
+
},
|
|
4879
|
+
'& h2,& h3,& p': {
|
|
4880
|
+
margin: '0'
|
|
5023
4881
|
}
|
|
5024
|
-
// '& h2,& h3': {
|
|
5025
|
-
// fontWeight: '500',
|
|
5026
|
-
// '& b,& strong': {
|
|
5027
|
-
// fontWeight: '700'
|
|
5028
|
-
// }
|
|
5029
|
-
// }
|
|
5030
4882
|
},
|
|
5031
|
-
|
|
5032
4883
|
sectionContainer: {
|
|
5033
4884
|
maxWidth: ({
|
|
5034
4885
|
containerWidth
|
|
@@ -5037,7 +4888,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5037
4888
|
subHeading: {
|
|
5038
4889
|
fontSize: theme.typography.fontSize.subHead,
|
|
5039
4890
|
marginBottom: '8px',
|
|
5040
|
-
color: theme?.
|
|
4891
|
+
color: theme?.palette?.font?.tertiary,
|
|
5041
4892
|
wordBreak: 'break-word',
|
|
5042
4893
|
textTransform: 'uppercase',
|
|
5043
4894
|
letterSpacing: '3px'
|
|
@@ -5047,7 +4898,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5047
4898
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5048
4899
|
lineHeight: 'normal',
|
|
5049
4900
|
margin: '0',
|
|
5050
|
-
color: theme?.
|
|
4901
|
+
color: theme?.palette?.font?.default,
|
|
5051
4902
|
wordBreak: 'break-word',
|
|
5052
4903
|
marginBottom: theme.spacing.margin.tiny
|
|
5053
4904
|
},
|
|
@@ -5058,14 +4909,10 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5058
4909
|
padding: '48px 0px'
|
|
5059
4910
|
},
|
|
5060
4911
|
textPara: {
|
|
5061
|
-
background: 'white',
|
|
5062
|
-
borderRadius: '8px',
|
|
5063
|
-
padding: '40px',
|
|
5064
4912
|
lineHeight: '24px',
|
|
5065
4913
|
color: theme?.palette?.font?.primary,
|
|
5066
4914
|
wordBreak: 'break-word',
|
|
5067
|
-
fontSize: theme.typography.fontSize.subHead
|
|
5068
|
-
boxShadow: '0px 2px 8px 0px rgba(0, 0, 0, 0.08)'
|
|
4915
|
+
fontSize: theme.typography.fontSize.subHead
|
|
5069
4916
|
},
|
|
5070
4917
|
'@media screen and (max-width: 767px)': {
|
|
5071
4918
|
textContent: {
|
|
@@ -5109,13 +4956,13 @@ const TextSection = ({
|
|
|
5109
4956
|
}
|
|
5110
4957
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5111
4958
|
className: classes.textContent
|
|
5112
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
4959
|
+
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5113
4960
|
ref: nodeData?.textLeft?.refSetter,
|
|
5114
4961
|
className: classes.textPara,
|
|
5115
4962
|
dangerouslySetInnerHTML: {
|
|
5116
4963
|
__html: nodeData.textLeft.metadata.value
|
|
5117
4964
|
}
|
|
5118
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
4965
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5119
4966
|
ref: nodeData?.textRight?.refSetter,
|
|
5120
4967
|
className: classes.textPara,
|
|
5121
4968
|
dangerouslySetInnerHTML: {
|
|
@@ -5245,7 +5092,7 @@ function PhotoGallery({
|
|
|
5245
5092
|
});
|
|
5246
5093
|
const settings = {
|
|
5247
5094
|
className: classes.sliderContainer,
|
|
5248
|
-
dots:
|
|
5095
|
+
dots: isMobile,
|
|
5249
5096
|
infinite: true,
|
|
5250
5097
|
speed: 500,
|
|
5251
5098
|
slidesToShow,
|
|
@@ -5299,22 +5146,18 @@ var index$b = /*#__PURE__*/Object.freeze({
|
|
|
5299
5146
|
const useFaqListStyles = createUseStyles(theme => ({
|
|
5300
5147
|
section: {
|
|
5301
5148
|
width: '100%',
|
|
5302
|
-
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
5303
5149
|
padding: ({
|
|
5304
5150
|
isMobile
|
|
5305
5151
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5152
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
5306
5153
|
'&, & *, & *:before, & *:after': {
|
|
5307
5154
|
fontFamily: theme?.typography?.fontFamily,
|
|
5308
5155
|
boxSizing: 'border-box'
|
|
5156
|
+
},
|
|
5157
|
+
'& h2,& h3': {
|
|
5158
|
+
marginTop: '0'
|
|
5309
5159
|
}
|
|
5310
|
-
// '& h2,& h3': {
|
|
5311
|
-
// fontWeight: '500',
|
|
5312
|
-
// '& b,& strong': {
|
|
5313
|
-
// fontWeight: '700'
|
|
5314
|
-
// }
|
|
5315
|
-
// }
|
|
5316
5160
|
},
|
|
5317
|
-
|
|
5318
5161
|
sectionContainer: {
|
|
5319
5162
|
maxWidth: ({
|
|
5320
5163
|
containerWidth
|
|
@@ -5412,7 +5255,7 @@ const FAQListing = ({
|
|
|
5412
5255
|
dangerouslySetInnerHTML: {
|
|
5413
5256
|
__html: nodeData.subheading.metadata.value
|
|
5414
5257
|
}
|
|
5415
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
5258
|
+
})), /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
5416
5259
|
className: classes.sectionHeading
|
|
5417
5260
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5418
5261
|
ref: nodeData?.title?.refSetter,
|
|
@@ -5476,10 +5319,13 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5476
5319
|
padding: ({
|
|
5477
5320
|
isMobile
|
|
5478
5321
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5479
|
-
|
|
5322
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
5480
5323
|
'&, & *, & *:before, & *:after': {
|
|
5481
5324
|
fontFamily: theme?.typography?.fontFamily,
|
|
5482
5325
|
boxSizing: 'border-box'
|
|
5326
|
+
},
|
|
5327
|
+
'& h2,& h3,& p': {
|
|
5328
|
+
marginTop: '0'
|
|
5483
5329
|
}
|
|
5484
5330
|
// '& h2,& h3': {
|
|
5485
5331
|
// fontWeight: '500',
|
|
@@ -5597,7 +5443,7 @@ const TextGrid = ({
|
|
|
5597
5443
|
dangerouslySetInnerHTML: {
|
|
5598
5444
|
__html: item.contentHeading.metadata.value
|
|
5599
5445
|
}
|
|
5600
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
5446
|
+
}), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
5601
5447
|
ref: item?.contentPara?.refSetter,
|
|
5602
5448
|
className: classes.nodePara,
|
|
5603
5449
|
dangerouslySetInnerHTML: {
|
|
@@ -5615,7 +5461,7 @@ const TextGrid = ({
|
|
|
5615
5461
|
dangerouslySetInnerHTML: {
|
|
5616
5462
|
__html: nodeData.subheading.metadata.value
|
|
5617
5463
|
}
|
|
5618
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
5464
|
+
})), /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
5619
5465
|
className: classes.heading
|
|
5620
5466
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
5621
5467
|
ref: nodeData?.title?.refSetter,
|
|
@@ -6168,19 +6014,15 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6168
6014
|
padding: ({
|
|
6169
6015
|
isMobile
|
|
6170
6016
|
} = {}) => 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`,
|
|
6171
|
-
|
|
6017
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
6172
6018
|
'&, & *, & *:before, & *:after': {
|
|
6173
6019
|
fontFamily: theme?.typography?.fontFamily,
|
|
6174
6020
|
boxSizing: 'border-box'
|
|
6021
|
+
},
|
|
6022
|
+
'& h2,& h3': {
|
|
6023
|
+
margin: '0'
|
|
6175
6024
|
}
|
|
6176
|
-
// '& h2,& h3': {
|
|
6177
|
-
// fontWeight: '500',
|
|
6178
|
-
// '& b,& strong': {
|
|
6179
|
-
// fontWeight: '700'
|
|
6180
|
-
// }
|
|
6181
|
-
// }
|
|
6182
6025
|
},
|
|
6183
|
-
|
|
6184
6026
|
sectionContainer: {
|
|
6185
6027
|
margin: '0 auto',
|
|
6186
6028
|
maxWidth: ({
|
|
@@ -6370,7 +6212,7 @@ function TeamCard({
|
|
|
6370
6212
|
dangerouslySetInnerHTML: {
|
|
6371
6213
|
__html: teamData.teamHeading.metadata.value
|
|
6372
6214
|
}
|
|
6373
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
6215
|
+
})), /*#__PURE__*/React__default["default"].createElement("h2", {
|
|
6374
6216
|
className: classes.teamTitle
|
|
6375
6217
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
6376
6218
|
ref: teamData?.teamTitle?.refSetter,
|
|
@@ -6426,7 +6268,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6426
6268
|
width: '100%',
|
|
6427
6269
|
height: '50%',
|
|
6428
6270
|
position: 'absolute',
|
|
6429
|
-
background: theme?.
|
|
6271
|
+
background: theme?.palette?.background?.primary
|
|
6430
6272
|
},
|
|
6431
6273
|
sectionContainer: {
|
|
6432
6274
|
backgroundColor: theme?.palette?.background?.default,
|
|
@@ -6685,7 +6527,6 @@ function FormEnquiry({
|
|
|
6685
6527
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6686
6528
|
className: classes.inputDiv
|
|
6687
6529
|
}, /*#__PURE__*/React__default["default"].createElement(Input, {
|
|
6688
|
-
theme: theme,
|
|
6689
6530
|
data: nodeData.nameField,
|
|
6690
6531
|
value: inputVal.name,
|
|
6691
6532
|
isValid: validData.nameValid,
|
|
@@ -6801,6 +6642,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6801
6642
|
padding: ({
|
|
6802
6643
|
isMobile
|
|
6803
6644
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6645
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6804
6646
|
'&, & *, & *:before, & *:after': {
|
|
6805
6647
|
fontFamily: theme?.typography?.fontFamily,
|
|
6806
6648
|
boxSizing: 'border-box'
|
|
@@ -6826,8 +6668,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6826
6668
|
width: '100%',
|
|
6827
6669
|
height: '50%',
|
|
6828
6670
|
position: 'absolute',
|
|
6829
|
-
|
|
6830
|
-
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.tertiaryBlue2
|
|
6671
|
+
background: theme?.palette?.background?.primary
|
|
6831
6672
|
},
|
|
6832
6673
|
sectionContainer: {
|
|
6833
6674
|
backgroundColor: theme?.palette?.background?.default,
|
|
@@ -7203,15 +7044,11 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7203
7044
|
'&, & *, & *:before, & *:after': {
|
|
7204
7045
|
fontFamily: theme?.typography?.fontFamily,
|
|
7205
7046
|
boxSizing: 'border-box'
|
|
7047
|
+
},
|
|
7048
|
+
'& h2,& h3,& p': {
|
|
7049
|
+
margin: '0'
|
|
7206
7050
|
}
|
|
7207
|
-
// '& h2,& h3': {
|
|
7208
|
-
// fontWeight: '500',
|
|
7209
|
-
// '& b,& strong': {
|
|
7210
|
-
// fontWeight: '700'
|
|
7211
|
-
// }
|
|
7212
|
-
// }
|
|
7213
7051
|
},
|
|
7214
|
-
|
|
7215
7052
|
sectionContainer: {
|
|
7216
7053
|
margin: '0 auto',
|
|
7217
7054
|
maxWidth: ({
|
|
@@ -7533,7 +7370,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7533
7370
|
color: theme.palette.primary.main,
|
|
7534
7371
|
width: "20px",
|
|
7535
7372
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7536
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("
|
|
7373
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7537
7374
|
ref: data?.videoTextContent?.refSetter,
|
|
7538
7375
|
className: classes.courseDetailContent,
|
|
7539
7376
|
dangerouslySetInnerHTML: {
|
|
@@ -7550,7 +7387,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7550
7387
|
}
|
|
7551
7388
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7552
7389
|
className: classes.courseViewContainer
|
|
7553
|
-
}, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React__default["default"].createElement("
|
|
7390
|
+
}, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7554
7391
|
className: classes.offerText
|
|
7555
7392
|
}, "Offer Ends in", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
7556
7393
|
className: classes.courseDetailTime
|
|
@@ -7574,7 +7411,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7574
7411
|
className: classes.priceContainer
|
|
7575
7412
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7576
7413
|
className: classes.offerPrice
|
|
7577
|
-
}, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React__default["default"].createElement("
|
|
7414
|
+
}, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7578
7415
|
style: {
|
|
7579
7416
|
fontSize: '20px'
|
|
7580
7417
|
}
|
|
@@ -7643,7 +7480,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7643
7480
|
courseSuperContainer: {
|
|
7644
7481
|
display: 'flex',
|
|
7645
7482
|
justifyContent: 'center',
|
|
7646
|
-
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
|
|
7647
7483
|
padding: ({
|
|
7648
7484
|
isMobile
|
|
7649
7485
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7764,7 +7600,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7764
7600
|
margin: '0',
|
|
7765
7601
|
letterSpacing: '-1px',
|
|
7766
7602
|
wordBreak: 'break-word',
|
|
7767
|
-
color: theme
|
|
7603
|
+
color: theme.palette.font.default
|
|
7768
7604
|
},
|
|
7769
7605
|
courseViewContainer: {
|
|
7770
7606
|
width: '445px',
|
|
@@ -7829,7 +7665,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7829
7665
|
fontSize: theme.typography.fontSize.subHead,
|
|
7830
7666
|
lineHeight: '24px',
|
|
7831
7667
|
wordBreak: 'break-word',
|
|
7832
|
-
color: theme
|
|
7668
|
+
color: theme.palette.font.primary,
|
|
7833
7669
|
whiteSpace: 'pre-wrap',
|
|
7834
7670
|
margin: '10px 0 20px'
|
|
7835
7671
|
},
|
|
@@ -7838,7 +7674,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7838
7674
|
fontSize: theme.typography.fontSize.subHead,
|
|
7839
7675
|
lineHeight: '24px',
|
|
7840
7676
|
marginTop: '-24px',
|
|
7841
|
-
color:
|
|
7677
|
+
color: '#00ADE7',
|
|
7842
7678
|
wordBreak: 'break-word'
|
|
7843
7679
|
},
|
|
7844
7680
|
courseDetailTime: {
|