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 +919 -757
- package/build/index.es.js.map +1 -1
- package/build/index.js +919 -757
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -353,153 +353,118 @@ const colorMixer = (hex1, weightage = 1, hex2 = colors.white) => {
|
|
|
353
353
|
};
|
|
354
354
|
};
|
|
355
355
|
|
|
356
|
-
const
|
|
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
|
-
|
|
383
|
-
icon: solidBaseColors[theme],
|
|
384
|
-
iconBg: solidBaseColors['tertiary' + theme],
|
|
385
|
-
stripBg: solidBaseColors[theme],
|
|
386
|
-
stripText: solidBaseColors?.white
|
|
387
|
-
};
|
|
388
|
-
console.log('generatedTheme', generatedTheme, theme);
|
|
389
|
-
return generatedTheme;
|
|
390
|
-
};
|
|
391
|
-
|
|
392
|
-
const buttonStyles = createUseStyles(theme => ({
|
|
393
|
-
primary: {
|
|
394
|
-
width: ({
|
|
395
|
-
fluid
|
|
396
|
-
} = {}) => fluid ? '100%' : '',
|
|
397
|
-
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
398
|
-
fontWeight: '700',
|
|
399
|
-
fontSize: '14px',
|
|
400
|
-
lineHeight: '18px',
|
|
401
|
-
textAlign: 'center',
|
|
402
|
-
color: ({
|
|
403
|
-
disabled
|
|
404
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : generateTheme('blue')?.CtaTextColor,
|
|
405
|
-
background: ({
|
|
406
|
-
disabled
|
|
407
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : generateTheme('blue')?.ctaColor,
|
|
408
|
-
border: ({
|
|
409
|
-
disabled
|
|
410
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${generateTheme('blue')?.ctaColor}`,
|
|
411
|
-
textDecoration: 'none',
|
|
412
|
-
cursor: ({
|
|
413
|
-
disabled
|
|
414
|
-
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
415
|
-
maxWidth: '100%',
|
|
416
|
-
display: 'inline-block',
|
|
417
|
-
wordBreak: 'break-word',
|
|
418
|
-
flexShrink: '0'
|
|
419
|
-
},
|
|
420
|
-
secondary: {
|
|
421
|
-
width: ({
|
|
422
|
-
fluid
|
|
423
|
-
} = {}) => fluid ? '100%' : '',
|
|
424
|
-
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
425
|
-
fontSize: '14px',
|
|
426
|
-
fontWeight: '700',
|
|
427
|
-
display: 'inline-block',
|
|
428
|
-
textDecoration: 'none',
|
|
429
|
-
lineHeight: '18px',
|
|
430
|
-
color: ({
|
|
431
|
-
disabled
|
|
432
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
433
|
-
background: ({
|
|
434
|
-
disabled
|
|
435
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
436
|
-
border: ({
|
|
437
|
-
disabled
|
|
438
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
|
|
439
|
-
cursor: ({
|
|
440
|
-
disabled
|
|
441
|
-
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
442
|
-
maxWidth: '100%',
|
|
443
|
-
display: 'inline-block',
|
|
444
|
-
wordBreak: 'break-word',
|
|
445
|
-
flexShrink: '0'
|
|
446
|
-
},
|
|
447
|
-
tertiary: {
|
|
448
|
-
width: ({
|
|
449
|
-
fluid
|
|
450
|
-
} = {}) => fluid ? '100%' : '',
|
|
451
|
-
fontWeight: '400',
|
|
452
|
-
fontSize: '16px',
|
|
453
|
-
lineHeight: '20px',
|
|
454
|
-
display: 'flex',
|
|
455
|
-
alignItems: 'center',
|
|
456
|
-
border: 'none',
|
|
457
|
-
color: ({
|
|
458
|
-
disabled
|
|
459
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
460
|
-
background: ({
|
|
461
|
-
disabled
|
|
462
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
463
|
-
cursor: ({
|
|
464
|
-
disabled
|
|
465
|
-
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
466
|
-
maxWidth: '100%',
|
|
467
|
-
display: 'inline-block',
|
|
468
|
-
wordBreak: 'break-word',
|
|
469
|
-
flexShrink: '0',
|
|
470
|
-
'&:hover': {
|
|
471
|
-
background: theme.palette.primary.lightest,
|
|
472
|
-
borderRadius: '4px'
|
|
356
|
+
const buttonStyles = createUseStyles(theme => {
|
|
357
|
+
console.log('themexxxxdsfb', theme);
|
|
358
|
+
return {
|
|
359
|
+
primary: {
|
|
360
|
+
width: ({
|
|
361
|
+
fluid
|
|
362
|
+
} = {}) => fluid ? '100%' : '',
|
|
363
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
364
|
+
fontWeight: '700',
|
|
365
|
+
fontSize: '14px',
|
|
366
|
+
lineHeight: '18px',
|
|
367
|
+
textAlign: 'center',
|
|
368
|
+
color: ({
|
|
369
|
+
disabled
|
|
370
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.isGradient ? theme?.themeGradient?.CtaTextColor : theme?.themeColors?.CtaTextColor,
|
|
371
|
+
background: ({
|
|
372
|
+
disabled
|
|
373
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.isGradient ? theme?.themeGradient?.ctaColor : theme?.themeColors?.ctaColor,
|
|
374
|
+
border: 'none',
|
|
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'
|
|
473
383
|
},
|
|
474
|
-
|
|
384
|
+
secondary: {
|
|
385
|
+
width: ({
|
|
386
|
+
fluid
|
|
387
|
+
} = {}) => fluid ? '100%' : '',
|
|
388
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
389
|
+
fontSize: '14px',
|
|
475
390
|
fontWeight: '700',
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
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?.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
|
+
}
|
|
500
465
|
}
|
|
501
|
-
}
|
|
502
|
-
})
|
|
466
|
+
};
|
|
467
|
+
});
|
|
503
468
|
|
|
504
469
|
function useLinkBuilder(data) {
|
|
505
470
|
const {
|
|
@@ -2256,20 +2221,137 @@ function PageRenderer$1({
|
|
|
2256
2221
|
}))));
|
|
2257
2222
|
}
|
|
2258
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
|
+
|
|
2259
2335
|
const useSectionStyles$8 = createUseStyles(theme => ({
|
|
2260
2336
|
bannerCarouselRightSection: {
|
|
2261
2337
|
position: 'relative',
|
|
2338
|
+
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
2339
|
+
padding: ({
|
|
2340
|
+
isMobile
|
|
2341
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2342
|
+
backgroundColor: generateTheme('blue')?.background2,
|
|
2262
2343
|
'&, & *, & *:before, & *:after': {
|
|
2263
2344
|
fontFamily: theme?.typography?.fontFamily,
|
|
2264
2345
|
boxSizing: 'border-box'
|
|
2265
|
-
},
|
|
2266
|
-
'& h2,& h3': {
|
|
2267
|
-
fontWeight: '500',
|
|
2268
|
-
'& b,& strong': {
|
|
2269
|
-
fontWeight: '700'
|
|
2270
|
-
}
|
|
2271
2346
|
}
|
|
2347
|
+
// '& h2,& h3': {
|
|
2348
|
+
// fontWeight: '500',
|
|
2349
|
+
// '& b,& strong': {
|
|
2350
|
+
// fontWeight: '700'
|
|
2351
|
+
// }
|
|
2352
|
+
// }
|
|
2272
2353
|
},
|
|
2354
|
+
|
|
2273
2355
|
sectionContainer: {
|
|
2274
2356
|
margin: '0 auto',
|
|
2275
2357
|
maxWidth: ({
|
|
@@ -2282,24 +2364,19 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2282
2364
|
justifyContent: 'center',
|
|
2283
2365
|
position: 'relative'
|
|
2284
2366
|
},
|
|
2285
|
-
partialBackground: {
|
|
2286
|
-
width: '61%',
|
|
2287
|
-
position: 'absolute',
|
|
2288
|
-
backgroundColor: generateTheme('blue')?.background2,
|
|
2289
|
-
height: '100%',
|
|
2290
|
-
top: '0',
|
|
2291
|
-
left: '0'
|
|
2292
|
-
},
|
|
2293
2367
|
contentContainer: {
|
|
2294
2368
|
position: 'relative',
|
|
2295
2369
|
width: '100%',
|
|
2296
2370
|
zIndex: '1',
|
|
2297
|
-
display: 'grid',
|
|
2298
|
-
gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
|
|
2299
|
-
|
|
2371
|
+
// display: 'grid',
|
|
2372
|
+
// gridTemplateColumns: 'repeat(2,minmax(0, 1fr))',
|
|
2373
|
+
display: 'flex',
|
|
2374
|
+
flexDirection: 'row',
|
|
2375
|
+
alignItems: 'center',
|
|
2376
|
+
maxWidth: '100%',
|
|
2377
|
+
gap: '72px'
|
|
2300
2378
|
},
|
|
2301
2379
|
textContainer: {
|
|
2302
|
-
padding: '140px 18%',
|
|
2303
2380
|
textAlign: 'left',
|
|
2304
2381
|
margin: '0 auto',
|
|
2305
2382
|
maxWidth: '100%'
|
|
@@ -2307,23 +2384,28 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2307
2384
|
imageContainer: {
|
|
2308
2385
|
width: '100%',
|
|
2309
2386
|
position: 'relative',
|
|
2310
|
-
height: '
|
|
2387
|
+
height: '100%',
|
|
2388
|
+
display: 'flex',
|
|
2389
|
+
justifyContent: 'center',
|
|
2390
|
+
alignItems: 'center',
|
|
2391
|
+
borderRadius: '8px',
|
|
2392
|
+
overflow: 'hidden'
|
|
2311
2393
|
},
|
|
2312
2394
|
subTitleHeading: {
|
|
2313
2395
|
marginBottom: '8px',
|
|
2314
|
-
fontSize:
|
|
2396
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
2315
2397
|
color: theme?.palette?.font?.tertiary,
|
|
2316
2398
|
wordBreak: 'break-word',
|
|
2317
2399
|
maxWidth: '100%'
|
|
2318
2400
|
},
|
|
2319
2401
|
heading: {
|
|
2320
2402
|
margin: '0',
|
|
2321
|
-
fontSize:
|
|
2403
|
+
fontSize: theme.typography.fontSize.h1,
|
|
2322
2404
|
color: theme?.palette?.font?.default,
|
|
2323
2405
|
wordBreak: 'break-word'
|
|
2324
2406
|
},
|
|
2325
2407
|
description: {
|
|
2326
|
-
margin:
|
|
2408
|
+
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2327
2409
|
color: theme?.palette?.font?.primary,
|
|
2328
2410
|
lineHeight: '24px',
|
|
2329
2411
|
wordBreak: 'break-word'
|
|
@@ -2338,30 +2420,24 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2338
2420
|
display: 'flex',
|
|
2339
2421
|
gap: '20px',
|
|
2340
2422
|
justifyContent: 'center',
|
|
2341
|
-
|
|
2342
|
-
position: 'absolute',
|
|
2423
|
+
marginTop: theme.spacing.margin.tiny,
|
|
2343
2424
|
width: '100%'
|
|
2344
2425
|
},
|
|
2426
|
+
partialBackground: {
|
|
2427
|
+
display: 'none'
|
|
2428
|
+
},
|
|
2345
2429
|
'@media screen and (max-width: 767px)': {
|
|
2346
2430
|
partialBackground: {
|
|
2347
2431
|
display: 'none'
|
|
2348
2432
|
},
|
|
2349
|
-
sectionContainer: {
|
|
2350
|
-
paddingBottom: '50px'
|
|
2351
|
-
},
|
|
2352
2433
|
contentContainer: {
|
|
2353
2434
|
display: 'flex',
|
|
2354
|
-
flexFlow: 'column
|
|
2355
|
-
paddingBottom: '
|
|
2435
|
+
flexFlow: 'column',
|
|
2436
|
+
paddingBottom: '48px',
|
|
2437
|
+
gap: '24px'
|
|
2356
2438
|
},
|
|
2357
2439
|
textContainer: {
|
|
2358
|
-
|
|
2359
|
-
},
|
|
2360
|
-
heading: {
|
|
2361
|
-
fontSize: '40px'
|
|
2362
|
-
},
|
|
2363
|
-
description: {
|
|
2364
|
-
margin: '16px 0'
|
|
2440
|
+
textAlign: 'center'
|
|
2365
2441
|
},
|
|
2366
2442
|
linkButton: {
|
|
2367
2443
|
padding: '12px 16px'
|
|
@@ -2480,7 +2556,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2480
2556
|
height: sizeHandler,
|
|
2481
2557
|
border: ({
|
|
2482
2558
|
inverted
|
|
2483
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault :
|
|
2559
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.themeColors?.ctaColor}`,
|
|
2484
2560
|
borderRadius: '50%',
|
|
2485
2561
|
display: 'flex',
|
|
2486
2562
|
justifyContent: 'center',
|
|
@@ -2502,7 +2578,7 @@ function ArrowButton(props) {
|
|
|
2502
2578
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
2503
2579
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2504
2580
|
name: "Angle",
|
|
2505
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault :
|
|
2581
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.themeColors?.ctaColor,
|
|
2506
2582
|
inverted: true
|
|
2507
2583
|
}));
|
|
2508
2584
|
}
|
|
@@ -2613,7 +2689,8 @@ function Section$4({
|
|
|
2613
2689
|
isCustomWebsite
|
|
2614
2690
|
} = React.useContext(PageContext);
|
|
2615
2691
|
const classes = useSectionStyles$8({
|
|
2616
|
-
isCustomWebsite
|
|
2692
|
+
isCustomWebsite,
|
|
2693
|
+
isMobile
|
|
2617
2694
|
});
|
|
2618
2695
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2619
2696
|
className: classes.centerData
|
|
@@ -2662,12 +2739,14 @@ function BannerCarouselRight({
|
|
|
2662
2739
|
sectionIndex
|
|
2663
2740
|
}) {
|
|
2664
2741
|
const {
|
|
2742
|
+
isMobile,
|
|
2665
2743
|
layout: {
|
|
2666
2744
|
containerWidth
|
|
2667
2745
|
}
|
|
2668
2746
|
} = React.useContext(PageContext);
|
|
2669
2747
|
const classes = useSectionStyles$8({
|
|
2670
|
-
containerWidth
|
|
2748
|
+
containerWidth,
|
|
2749
|
+
isMobile
|
|
2671
2750
|
});
|
|
2672
2751
|
const [{
|
|
2673
2752
|
bannerCarousel
|
|
@@ -2693,180 +2772,183 @@ var index$l = /*#__PURE__*/Object.freeze({
|
|
|
2693
2772
|
'default': BannerCarouselRight
|
|
2694
2773
|
});
|
|
2695
2774
|
|
|
2696
|
-
const useSectionStyles$7 = createUseStyles(theme =>
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
// fontWeight: '500',
|
|
2713
|
-
// '& b,& strong': {
|
|
2714
|
-
// fontWeight: '700'
|
|
2715
|
-
// }
|
|
2716
|
-
// }
|
|
2717
|
-
},
|
|
2718
|
-
|
|
2719
|
-
sectionContainer: {
|
|
2720
|
-
margin: '0 auto',
|
|
2721
|
-
maxWidth: ({
|
|
2722
|
-
containerWidth
|
|
2723
|
-
} = {}) => containerWidth
|
|
2724
|
-
},
|
|
2725
|
-
subTitleHeading: {
|
|
2726
|
-
marginBottom: '8px',
|
|
2727
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
2728
|
-
color: theme?.palette?.font?.tertiary,
|
|
2729
|
-
alignItems: 'center',
|
|
2730
|
-
textAlign: 'center',
|
|
2731
|
-
wordBreak: 'break-word',
|
|
2732
|
-
textTransform: 'uppercase'
|
|
2733
|
-
},
|
|
2734
|
-
heading: {
|
|
2735
|
-
marginBottom: theme.spacing.margin.tiny,
|
|
2736
|
-
fontSize: theme.typography.fontSize.h2,
|
|
2737
|
-
color: theme?.palette?.font?.default,
|
|
2738
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
2739
|
-
textAlign: 'center',
|
|
2740
|
-
wordBreak: 'break-word'
|
|
2741
|
-
},
|
|
2742
|
-
contentContainer: {
|
|
2743
|
-
display: 'flex',
|
|
2744
|
-
flexDirection: 'column',
|
|
2745
|
-
alignItems: 'center',
|
|
2746
|
-
justifyContent: 'center',
|
|
2747
|
-
width: '770px',
|
|
2748
|
-
margin: 'auto'
|
|
2749
|
-
},
|
|
2750
|
-
content: {
|
|
2751
|
-
display: 'flex',
|
|
2752
|
-
width: 'calc(100% - 100px)',
|
|
2753
|
-
alignItems: 'center',
|
|
2754
|
-
background: theme?.palette?.background?.default,
|
|
2755
|
-
boxShadow: theme?.shadows?.primary,
|
|
2756
|
-
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2757
|
-
overflow: 'hidden',
|
|
2758
|
-
minHeight: 200,
|
|
2759
|
-
marginBottom: theme.spacing.margin.small,
|
|
2760
|
-
position: 'relative',
|
|
2761
|
-
'&:nth-child(2n)': {
|
|
2762
|
-
alignSelf: 'flex-end',
|
|
2763
|
-
'& $contentNumber': {
|
|
2764
|
-
right: '0'
|
|
2765
|
-
},
|
|
2766
|
-
'& $contentText': {
|
|
2767
|
-
marginRight: '170px'
|
|
2768
|
-
}
|
|
2769
|
-
},
|
|
2770
|
-
'&:nth-child(2n+1)': {
|
|
2771
|
-
alignSelf: 'flex-start',
|
|
2772
|
-
'& $contentNumber': {
|
|
2773
|
-
left: '0'
|
|
2774
|
-
},
|
|
2775
|
-
'& $contentText': {
|
|
2776
|
-
marginLeft: '170px'
|
|
2775
|
+
const useSectionStyles$7 = createUseStyles(theme => {
|
|
2776
|
+
console.log('sdkjfndkjsnfk', theme);
|
|
2777
|
+
return {
|
|
2778
|
+
section: {
|
|
2779
|
+
width: '100%',
|
|
2780
|
+
padding: ({
|
|
2781
|
+
isMobile
|
|
2782
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
2783
|
+
display: 'flex',
|
|
2784
|
+
justifyContent: 'center',
|
|
2785
|
+
flexDirection: 'column',
|
|
2786
|
+
alignItems: 'center',
|
|
2787
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
2788
|
+
'&, & *, & *:before, & *:after': {
|
|
2789
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
2790
|
+
boxSizing: 'border-box'
|
|
2777
2791
|
}
|
|
2792
|
+
// '& h2,& h3': {
|
|
2793
|
+
// fontWeight: '500',
|
|
2794
|
+
// '& b,& strong': {
|
|
2795
|
+
// fontWeight: '700'
|
|
2796
|
+
// }
|
|
2797
|
+
// }
|
|
2778
2798
|
},
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
'&:nth-child(7n+3) $contentNumber': {
|
|
2786
|
-
background: palettes.red.primary.lightest
|
|
2787
|
-
},
|
|
2788
|
-
'&:nth-child(7n+4) $contentNumber': {
|
|
2789
|
-
background: palettes.green.primary.lightest
|
|
2799
|
+
|
|
2800
|
+
sectionContainer: {
|
|
2801
|
+
margin: '0 auto',
|
|
2802
|
+
maxWidth: ({
|
|
2803
|
+
containerWidth
|
|
2804
|
+
} = {}) => containerWidth
|
|
2790
2805
|
},
|
|
2791
|
-
|
|
2792
|
-
|
|
2806
|
+
subTitleHeading: {
|
|
2807
|
+
marginBottom: '8px',
|
|
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'
|
|
2793
2814
|
},
|
|
2794
|
-
|
|
2795
|
-
|
|
2815
|
+
heading: {
|
|
2816
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
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'
|
|
2796
2822
|
},
|
|
2797
|
-
'&:nth-child(7n) $contentNumber': {
|
|
2798
|
-
background: palettes.rust.primary.lightest
|
|
2799
|
-
}
|
|
2800
|
-
},
|
|
2801
|
-
contentNumber: {
|
|
2802
|
-
position: 'absolute',
|
|
2803
|
-
top: '0',
|
|
2804
|
-
fontWeight: '700',
|
|
2805
|
-
fontSize: '72px',
|
|
2806
|
-
letterSpacing: '-3px',
|
|
2807
|
-
display: 'flex',
|
|
2808
|
-
alignItems: 'center',
|
|
2809
|
-
justifyContent: 'center',
|
|
2810
|
-
padding: '48px',
|
|
2811
|
-
height: '100%',
|
|
2812
|
-
color: theme?.palette?.font?.default,
|
|
2813
|
-
wordBreak: 'break-word'
|
|
2814
|
-
},
|
|
2815
|
-
contentText: {
|
|
2816
|
-
padding: theme.spacing.padding.tiny
|
|
2817
|
-
},
|
|
2818
|
-
contentHeading: {
|
|
2819
|
-
fontStyle: 'normal',
|
|
2820
|
-
fontSize: theme.typography.fontSize.h5,
|
|
2821
|
-
fontWeight: theme.typography.fontWeight.bold,
|
|
2822
|
-
lineHeight: '32px',
|
|
2823
|
-
marginBottom: '8px',
|
|
2824
|
-
color: theme?.palette?.font?.default,
|
|
2825
|
-
wordBreak: 'break-word'
|
|
2826
|
-
},
|
|
2827
|
-
contentPara: {
|
|
2828
|
-
fontStyle: 'normal',
|
|
2829
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
2830
|
-
lineHeight: '32px',
|
|
2831
|
-
color: theme?.palette?.font?.primary,
|
|
2832
|
-
wordBreak: 'break-word'
|
|
2833
|
-
},
|
|
2834
|
-
'@media screen and (max-width: 767px)': {
|
|
2835
2823
|
contentContainer: {
|
|
2836
|
-
|
|
2824
|
+
display: 'flex',
|
|
2825
|
+
flexDirection: 'column',
|
|
2826
|
+
alignItems: 'center',
|
|
2827
|
+
justifyContent: 'center',
|
|
2828
|
+
width: '770px',
|
|
2829
|
+
margin: 'auto'
|
|
2837
2830
|
},
|
|
2838
2831
|
content: {
|
|
2839
2832
|
display: 'flex',
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2833
|
+
width: 'calc(100% - 100px)',
|
|
2834
|
+
alignItems: 'center',
|
|
2835
|
+
background: theme?.palette?.background?.default,
|
|
2836
|
+
boxShadow: theme?.shadows?.primary,
|
|
2837
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2838
|
+
overflow: 'hidden',
|
|
2839
|
+
minHeight: 200,
|
|
2840
|
+
marginBottom: theme.spacing.margin.small,
|
|
2841
|
+
position: 'relative',
|
|
2844
2842
|
'&:nth-child(2n)': {
|
|
2845
|
-
|
|
2843
|
+
alignSelf: 'flex-end',
|
|
2844
|
+
'& $contentNumber': {
|
|
2845
|
+
right: '0'
|
|
2846
|
+
},
|
|
2846
2847
|
'& $contentText': {
|
|
2847
|
-
marginRight: '
|
|
2848
|
-
alignSelf: 'flex-start'
|
|
2849
|
-
// padding: '0'
|
|
2848
|
+
marginRight: '170px'
|
|
2850
2849
|
}
|
|
2851
2850
|
},
|
|
2852
|
-
|
|
2853
2851
|
'&:nth-child(2n+1)': {
|
|
2854
|
-
|
|
2852
|
+
alignSelf: 'flex-start',
|
|
2853
|
+
'& $contentNumber': {
|
|
2854
|
+
left: '0'
|
|
2855
|
+
},
|
|
2855
2856
|
'& $contentText': {
|
|
2856
|
-
marginLeft: '
|
|
2857
|
-
alignSelf: 'flex-start'
|
|
2858
|
-
// padding: '0'
|
|
2857
|
+
marginLeft: '170px'
|
|
2859
2858
|
}
|
|
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
|
|
2860
2880
|
}
|
|
2861
2881
|
},
|
|
2862
|
-
|
|
2863
2882
|
contentNumber: {
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
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
|
+
|
|
2944
|
+
contentNumber: {
|
|
2945
|
+
width: '100%',
|
|
2946
|
+
padding: '24px',
|
|
2947
|
+
position: 'static'
|
|
2948
|
+
}
|
|
2867
2949
|
}
|
|
2868
|
-
}
|
|
2869
|
-
})
|
|
2950
|
+
};
|
|
2951
|
+
});
|
|
2870
2952
|
|
|
2871
2953
|
function List({
|
|
2872
2954
|
sectionData
|
|
@@ -2956,13 +3038,14 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
2956
3038
|
width: '100%',
|
|
2957
3039
|
// maxWidth: ({ containerWidth } = {}) => containerWidth,
|
|
2958
3040
|
position: 'absolute',
|
|
2959
|
-
zIndex: '9'
|
|
3041
|
+
zIndex: '9',
|
|
3042
|
+
height: '100%'
|
|
2960
3043
|
},
|
|
2961
3044
|
absoluteButtons: {
|
|
2962
3045
|
display: 'flex',
|
|
2963
3046
|
gap: '20px',
|
|
2964
3047
|
justifyContent: 'center',
|
|
2965
|
-
bottom: '
|
|
3048
|
+
bottom: '10%',
|
|
2966
3049
|
position: 'absolute',
|
|
2967
3050
|
width: '100%'
|
|
2968
3051
|
},
|
|
@@ -3006,7 +3089,12 @@ const useSectionStyles$6 = createUseStyles(theme => ({
|
|
|
3006
3089
|
textContainer: {
|
|
3007
3090
|
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3008
3091
|
// margin: `0px ${theme.spacing.padding.medium} 0px ${theme.spacing.padding.medium}`,
|
|
3009
|
-
width: '100%'
|
|
3092
|
+
width: '100%',
|
|
3093
|
+
height: '100%',
|
|
3094
|
+
display: 'flex',
|
|
3095
|
+
justifyContent: 'center',
|
|
3096
|
+
alignItems: 'center',
|
|
3097
|
+
flexDirection: 'column'
|
|
3010
3098
|
},
|
|
3011
3099
|
subTitleHeading: {
|
|
3012
3100
|
color: theme?.palette?.font?.invertedDefault,
|
|
@@ -3169,10 +3257,10 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
3169
3257
|
});
|
|
3170
3258
|
|
|
3171
3259
|
const useSectionStyles$5 = createUseStyles(theme => {
|
|
3172
|
-
console.log('sdkjfndkjsnfk', theme?.spacing?.padding?.large);
|
|
3173
3260
|
return {
|
|
3174
3261
|
section: {
|
|
3175
3262
|
paddingBottom: `${theme?.spacing?.padding?.regular}px`,
|
|
3263
|
+
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
3176
3264
|
'&, & *, & *:before, & *:after': {
|
|
3177
3265
|
fontFamily: theme?.typography?.fontFamily,
|
|
3178
3266
|
boxSizing: 'border-box'
|
|
@@ -3213,7 +3301,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3213
3301
|
}
|
|
3214
3302
|
},
|
|
3215
3303
|
imageBorder: {
|
|
3216
|
-
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3304
|
+
// border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3217
3305
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3218
3306
|
position: 'absolute',
|
|
3219
3307
|
width: '100%',
|
|
@@ -3248,7 +3336,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3248
3336
|
},
|
|
3249
3337
|
description: {
|
|
3250
3338
|
margin: '40px 0',
|
|
3251
|
-
color: theme?.palette?.font?.primary,
|
|
3339
|
+
// color: theme?.palette?.font?.primary,
|
|
3252
3340
|
lineHeight: '24px',
|
|
3253
3341
|
wordBreak: 'break-word'
|
|
3254
3342
|
},
|
|
@@ -3413,11 +3501,12 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3413
3501
|
left: '0',
|
|
3414
3502
|
width: '100%',
|
|
3415
3503
|
height: '50%',
|
|
3416
|
-
position: 'absolute'
|
|
3417
|
-
background: theme?.palette?.background?.primary
|
|
3504
|
+
position: 'absolute'
|
|
3505
|
+
// background: theme?.palette?.background?.primary
|
|
3418
3506
|
},
|
|
3507
|
+
|
|
3419
3508
|
sectionContainer: {
|
|
3420
|
-
|
|
3509
|
+
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
3421
3510
|
boxShadow: theme?.shadows?.secondary,
|
|
3422
3511
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3423
3512
|
padding: theme.spacing.padding.small,
|
|
@@ -3563,56 +3652,59 @@ async function postApiCallForm(baseURLs, data, extraProps) {
|
|
|
3563
3652
|
}
|
|
3564
3653
|
}
|
|
3565
3654
|
|
|
3566
|
-
const inputStyles = createUseStyles(theme =>
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
lineHeight: '20px',
|
|
3578
|
-
verticalalign: 'top',
|
|
3579
|
-
resize: 'none',
|
|
3580
|
-
fontFamily: 'inherit',
|
|
3581
|
-
'&::placeholder': {
|
|
3655
|
+
const inputStyles = createUseStyles(theme => {
|
|
3656
|
+
console.log('themexxxxdsf', theme);
|
|
3657
|
+
return {
|
|
3658
|
+
inputField: {
|
|
3659
|
+
width: '100%',
|
|
3660
|
+
maxWidth: '314px',
|
|
3661
|
+
background: theme?.palette?.background?.default,
|
|
3662
|
+
border: `1px solid ${theme?.isGradient ? theme?.themeGradient?.AccentColor : theme?.themeColors?.inputBorderColor}`,
|
|
3663
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3664
|
+
padding: '14px 12px',
|
|
3665
|
+
display: 'flex',
|
|
3582
3666
|
fontWeight: '400',
|
|
3583
3667
|
fontSize: '16px',
|
|
3584
3668
|
lineHeight: '20px',
|
|
3585
|
-
|
|
3586
|
-
|
|
3669
|
+
verticalalign: 'top',
|
|
3670
|
+
resize: 'none',
|
|
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
|
+
}
|
|
3587
3682
|
},
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
width: 'calc(100% - 24px)'
|
|
3597
|
-
},
|
|
3598
|
-
errorBorder: {
|
|
3599
|
-
border: `1px solid red`,
|
|
3600
|
-
color: 'red',
|
|
3601
|
-
'&::placeholder': {
|
|
3683
|
+
error: {
|
|
3684
|
+
borderBottom: '1px solid red',
|
|
3685
|
+
position: 'absolute',
|
|
3686
|
+
bottom: '-8px',
|
|
3687
|
+
width: 'calc(100% - 24px)'
|
|
3688
|
+
},
|
|
3689
|
+
errorBorder: {
|
|
3690
|
+
border: `1px solid red`,
|
|
3602
3691
|
color: 'red',
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
inputField: {
|
|
3608
|
-
width: '100%',
|
|
3609
|
-
maxWidth: 'unset'
|
|
3692
|
+
'&::placeholder': {
|
|
3693
|
+
color: 'red',
|
|
3694
|
+
opacity: '0.5'
|
|
3695
|
+
}
|
|
3610
3696
|
},
|
|
3611
|
-
|
|
3612
|
-
|
|
3697
|
+
'@media screen and (max-width: 767px)': {
|
|
3698
|
+
inputField: {
|
|
3699
|
+
width: '100%',
|
|
3700
|
+
maxWidth: 'unset'
|
|
3701
|
+
},
|
|
3702
|
+
error: {
|
|
3703
|
+
bottom: '-2px'
|
|
3704
|
+
}
|
|
3613
3705
|
}
|
|
3614
|
-
}
|
|
3615
|
-
})
|
|
3706
|
+
};
|
|
3707
|
+
});
|
|
3616
3708
|
|
|
3617
3709
|
function Input({
|
|
3618
3710
|
data,
|
|
@@ -3625,9 +3717,12 @@ function Input({
|
|
|
3625
3717
|
const {
|
|
3626
3718
|
onChange,
|
|
3627
3719
|
onBlur,
|
|
3628
|
-
onFocus
|
|
3720
|
+
onFocus,
|
|
3721
|
+
theme
|
|
3629
3722
|
} = props;
|
|
3630
|
-
const classes = inputStyles(
|
|
3723
|
+
const classes = inputStyles({
|
|
3724
|
+
theme
|
|
3725
|
+
});
|
|
3631
3726
|
const Comp = inputType;
|
|
3632
3727
|
return /*#__PURE__*/React__default["default"].createElement(Comp, _extends({}, inputType === 'input' ? {
|
|
3633
3728
|
type: 'text'
|
|
@@ -3758,12 +3853,14 @@ function SubscribeToNewsletter({
|
|
|
3758
3853
|
type: nodeData?.cta?.metadata?.type,
|
|
3759
3854
|
size: isMobile ? 'small' : 'medium',
|
|
3760
3855
|
styling: isMobile ? {
|
|
3761
|
-
marginTop: '12px'
|
|
3856
|
+
marginTop: '12px',
|
|
3857
|
+
border: 'none'
|
|
3762
3858
|
} : {
|
|
3763
3859
|
maxWidth: '200px',
|
|
3764
3860
|
whiteSpace: 'nowrap',
|
|
3765
3861
|
overflow: 'hidden',
|
|
3766
|
-
textOverflow: 'ellipsis'
|
|
3862
|
+
textOverflow: 'ellipsis',
|
|
3863
|
+
border: 'none'
|
|
3767
3864
|
},
|
|
3768
3865
|
disabled: btnDisabled
|
|
3769
3866
|
})))))));
|
|
@@ -3774,171 +3871,181 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
3774
3871
|
'default': SubscribeToNewsletter
|
|
3775
3872
|
});
|
|
3776
3873
|
|
|
3777
|
-
const useTestimonialStyles = createUseStyles(theme => {
|
|
3778
|
-
|
|
3874
|
+
const useTestimonialStyles = createUseStyles(theme => ({
|
|
3875
|
+
testimonialContainer: {
|
|
3876
|
+
// background: theme?.palette?.background?.primary,
|
|
3877
|
+
overflow: 'hidden',
|
|
3878
|
+
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
3879
|
+
'&, & *, & *:before, & *:after': {
|
|
3880
|
+
fontFamily: theme?.typography?.fontFamily,
|
|
3881
|
+
boxSizing: 'border-box'
|
|
3882
|
+
}
|
|
3883
|
+
// '& h2,& h3': {
|
|
3884
|
+
// fontWeight: '500',
|
|
3885
|
+
// '& b,& strong': {
|
|
3886
|
+
// fontWeight: '700'
|
|
3887
|
+
// }
|
|
3888
|
+
// }
|
|
3889
|
+
},
|
|
3890
|
+
|
|
3891
|
+
sectionContainer: {
|
|
3892
|
+
margin: '0 auto',
|
|
3893
|
+
maxWidth: ({
|
|
3894
|
+
containerWidth
|
|
3895
|
+
} = {}) => containerWidth
|
|
3896
|
+
},
|
|
3897
|
+
testimonialText: {
|
|
3898
|
+
color: theme?.palette?.font?.secondary,
|
|
3899
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
3900
|
+
wordBreak: 'break-word',
|
|
3901
|
+
textTransform: 'uppercase'
|
|
3902
|
+
},
|
|
3903
|
+
testimonialHeader: {
|
|
3904
|
+
fontSize: theme.typography.fontSize.h2,
|
|
3905
|
+
color: theme?.palette?.font?.default,
|
|
3906
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
3907
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
3908
|
+
marginTop: '8px',
|
|
3909
|
+
overflow: 'hidden',
|
|
3910
|
+
wordBreak: 'break-word',
|
|
3911
|
+
// whiteSpace: 'nowrap',
|
|
3912
|
+
textOverflow: 'ellipsis'
|
|
3913
|
+
},
|
|
3914
|
+
sliderContainer: {
|
|
3915
|
+
marginRight: `-${theme.spacing.margin.regular}px`
|
|
3916
|
+
},
|
|
3917
|
+
singleCard: {
|
|
3918
|
+
// margin: '6px 12px',
|
|
3919
|
+
position: 'relative',
|
|
3920
|
+
height: 'calc(100% - 12px)',
|
|
3921
|
+
width: 'calc(100% - 24px)',
|
|
3922
|
+
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
|
|
3923
|
+
boxShadow: theme?.shadows?.primary,
|
|
3924
|
+
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3925
|
+
},
|
|
3926
|
+
contentRow: {
|
|
3927
|
+
display: 'grid',
|
|
3928
|
+
gridTemplateColumns: ({
|
|
3929
|
+
slidesToShow
|
|
3930
|
+
} = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
3931
|
+
},
|
|
3932
|
+
cardDetails: {
|
|
3933
|
+
height: '100%',
|
|
3934
|
+
display: 'flex',
|
|
3935
|
+
flexDirection: 'column',
|
|
3936
|
+
justifyContent: 'space-between',
|
|
3937
|
+
padding: '48px',
|
|
3938
|
+
borderRadius: '8px',
|
|
3939
|
+
alignItems: 'flex-start'
|
|
3940
|
+
},
|
|
3941
|
+
quoteIcon: {
|
|
3942
|
+
position: 'absolute',
|
|
3943
|
+
right: '20px'
|
|
3944
|
+
},
|
|
3945
|
+
reviewText: {
|
|
3946
|
+
// padding: '48px 41px 0 48px',
|
|
3947
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
3948
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
3949
|
+
wordBreak: 'break-word',
|
|
3950
|
+
color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font2,
|
|
3951
|
+
lineHeight: '22px'
|
|
3952
|
+
},
|
|
3953
|
+
userContainer: {
|
|
3954
|
+
display: 'flex',
|
|
3955
|
+
gap: '16px',
|
|
3956
|
+
alignItems: 'center'
|
|
3957
|
+
},
|
|
3958
|
+
userImageContainer: {
|
|
3959
|
+
width: '64px',
|
|
3960
|
+
height: '64px',
|
|
3961
|
+
position: 'relative',
|
|
3962
|
+
// paddingBottom: '55px',
|
|
3963
|
+
objectFit: 'cover'
|
|
3964
|
+
},
|
|
3965
|
+
userImageDummy: {
|
|
3966
|
+
width: '64px',
|
|
3967
|
+
height: '64px',
|
|
3968
|
+
borderRadius: '32px',
|
|
3969
|
+
background: '#666666',
|
|
3970
|
+
marginRight: '16px',
|
|
3971
|
+
flexShrink: '0'
|
|
3972
|
+
},
|
|
3973
|
+
userImage: {
|
|
3974
|
+
width: '64px',
|
|
3975
|
+
height: '64px',
|
|
3976
|
+
borderRadius: '32px',
|
|
3977
|
+
marginRight: '16px'
|
|
3978
|
+
},
|
|
3979
|
+
userName: {
|
|
3980
|
+
color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font2,
|
|
3981
|
+
margin: '0',
|
|
3982
|
+
fontSize: theme.typography.fontSize.h5,
|
|
3983
|
+
// paddingTop: '16px',
|
|
3984
|
+
overflow: 'hidden',
|
|
3985
|
+
whiteSpace: 'nowrap',
|
|
3986
|
+
textOverflow: 'ellipsis'
|
|
3987
|
+
},
|
|
3988
|
+
buttonContainer: {
|
|
3989
|
+
display: 'flex',
|
|
3990
|
+
gap: '20px',
|
|
3991
|
+
justifyContent: 'center',
|
|
3992
|
+
// paddingRight: theme.spacing.padding.medium,
|
|
3993
|
+
marginTop: theme.spacing.margin.tiny
|
|
3994
|
+
},
|
|
3995
|
+
'@media (max-width: 768px)': {
|
|
3779
3996
|
testimonialContainer: {
|
|
3780
|
-
|
|
3781
|
-
overflow: 'hidden',
|
|
3782
|
-
padding: '70px',
|
|
3783
|
-
'&, & *, & *:before, & *:after': {
|
|
3784
|
-
fontFamily: theme?.typography?.fontFamily,
|
|
3785
|
-
boxSizing: 'border-box'
|
|
3786
|
-
},
|
|
3787
|
-
'& h2,& h3': {
|
|
3788
|
-
fontWeight: '500',
|
|
3789
|
-
'& b,& strong': {
|
|
3790
|
-
fontWeight: '700'
|
|
3791
|
-
}
|
|
3792
|
-
}
|
|
3793
|
-
},
|
|
3794
|
-
sectionContainer: {
|
|
3795
|
-
margin: '0 auto',
|
|
3796
|
-
maxWidth: ({
|
|
3797
|
-
containerWidth
|
|
3798
|
-
} = {}) => containerWidth
|
|
3799
|
-
},
|
|
3800
|
-
testimonialCardAndText: {
|
|
3801
|
-
marginTop: '70px'
|
|
3802
|
-
},
|
|
3803
|
-
testimonialText: {
|
|
3804
|
-
color: theme?.palette?.font?.secondary,
|
|
3805
|
-
fontSize: '16px',
|
|
3806
|
-
marginLeft: '10px',
|
|
3807
|
-
wordBreak: 'break-word'
|
|
3808
|
-
},
|
|
3809
|
-
testimonialHeader: {
|
|
3810
|
-
fontSize: '56px',
|
|
3811
|
-
color: theme?.palette?.font?.default,
|
|
3812
|
-
margin: '10px 0 40px 10px',
|
|
3813
|
-
overflow: 'hidden',
|
|
3814
|
-
wordBreak: 'break-word',
|
|
3815
|
-
// whiteSpace: 'nowrap',
|
|
3816
|
-
textOverflow: 'ellipsis'
|
|
3817
|
-
},
|
|
3818
|
-
sliderContainer: {
|
|
3819
|
-
marginRight: '-20px'
|
|
3820
|
-
},
|
|
3821
|
-
singleCard: {
|
|
3822
|
-
margin: '6px 12px',
|
|
3823
|
-
position: 'relative',
|
|
3824
|
-
height: 'calc(100% - 12px)',
|
|
3825
|
-
width: 'calc(100% - 24px)',
|
|
3826
|
-
background: theme?.palette?.background?.default,
|
|
3827
|
-
boxShadow: theme?.shadows?.primary,
|
|
3828
|
-
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3829
|
-
},
|
|
3830
|
-
contentRow: {
|
|
3831
|
-
display: 'grid',
|
|
3832
|
-
gridTemplateColumns: ({
|
|
3833
|
-
slidesToShow
|
|
3834
|
-
} = {}) => `repeat(${slidesToShow},minmax(0, 1fr))`
|
|
3835
|
-
},
|
|
3836
|
-
cardDetails: {
|
|
3837
|
-
height: '100%',
|
|
3838
|
-
display: 'flex',
|
|
3839
|
-
flexDirection: 'column',
|
|
3840
|
-
justifyContent: 'space-between'
|
|
3841
|
-
},
|
|
3842
|
-
quoteIcon: {
|
|
3843
|
-
position: 'absolute',
|
|
3844
|
-
right: '20px'
|
|
3845
|
-
},
|
|
3846
|
-
reviewText: {
|
|
3847
|
-
padding: '48px 41px 0 48px',
|
|
3848
|
-
marginBottom: '48px',
|
|
3849
|
-
fontSize: '18px',
|
|
3850
|
-
wordBreak: 'break-word',
|
|
3851
|
-
color: theme?.palette?.font?.primary
|
|
3852
|
-
},
|
|
3853
|
-
userContainer: {
|
|
3854
|
-
display: 'flex',
|
|
3855
|
-
gap: '15px',
|
|
3856
|
-
padding: '0 0 29px 48px'
|
|
3857
|
-
},
|
|
3858
|
-
userImageContainer: {
|
|
3859
|
-
width: '64px',
|
|
3860
|
-
height: '64px',
|
|
3861
|
-
position: 'relative',
|
|
3862
|
-
// paddingBottom: '55px',
|
|
3863
|
-
objectFit: 'cover'
|
|
3997
|
+
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px`
|
|
3864
3998
|
},
|
|
3999
|
+
// testimonialCardAndText: {
|
|
4000
|
+
// margin: '0 20px'
|
|
4001
|
+
// },
|
|
4002
|
+
|
|
4003
|
+
// testimonialHeader: {
|
|
4004
|
+
// fontSize: '24px',
|
|
4005
|
+
// color: theme?.palette?.font?.default,
|
|
4006
|
+
// margin: '4px 0 12px 0',
|
|
4007
|
+
// overflow: 'hidden',
|
|
4008
|
+
// // whiteSpace: 'nowrap',
|
|
4009
|
+
// wordBreak: 'break-word',
|
|
4010
|
+
// textOverflow: 'ellipsis'
|
|
4011
|
+
// },
|
|
3865
4012
|
userImageDummy: {
|
|
3866
|
-
width: '
|
|
3867
|
-
height: '
|
|
3868
|
-
borderRadius: '
|
|
3869
|
-
|
|
3870
|
-
marginRight: '16px',
|
|
3871
|
-
flexShrink: '0'
|
|
4013
|
+
width: '48px',
|
|
4014
|
+
height: '48px',
|
|
4015
|
+
borderRadius: '24px',
|
|
4016
|
+
marginRight: '16px'
|
|
3872
4017
|
},
|
|
3873
4018
|
userImage: {
|
|
3874
|
-
width: '
|
|
3875
|
-
height: '
|
|
3876
|
-
borderRadius: '
|
|
4019
|
+
width: '48px',
|
|
4020
|
+
height: '48px',
|
|
4021
|
+
borderRadius: '24px',
|
|
3877
4022
|
marginRight: '16px'
|
|
3878
4023
|
},
|
|
4024
|
+
reviewText: {
|
|
4025
|
+
marginBottom: '16px'
|
|
4026
|
+
},
|
|
4027
|
+
singleCard: {
|
|
4028
|
+
margin: '6px 2px',
|
|
4029
|
+
width: 'calc(100% - 14px)'
|
|
4030
|
+
},
|
|
3879
4031
|
userName: {
|
|
3880
|
-
|
|
3881
|
-
margin: '0',
|
|
3882
|
-
fontSize: '24px',
|
|
3883
|
-
paddingTop: '16px',
|
|
4032
|
+
// paddingTop: '8px',
|
|
3884
4033
|
overflow: 'hidden',
|
|
3885
4034
|
whiteSpace: 'nowrap',
|
|
3886
4035
|
textOverflow: 'ellipsis'
|
|
3887
4036
|
},
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
justifyContent: 'space-between',
|
|
3892
|
-
margin: '36px auto 81px auto'
|
|
4037
|
+
userImageContainer: {
|
|
4038
|
+
width: '48px',
|
|
4039
|
+
height: '48px'
|
|
3893
4040
|
},
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
padding: '60px 0'
|
|
3897
|
-
},
|
|
3898
|
-
testimonialCardAndText: {
|
|
3899
|
-
margin: '0 20px'
|
|
3900
|
-
},
|
|
3901
|
-
testimonialHeader: {
|
|
3902
|
-
fontSize: '24px',
|
|
3903
|
-
color: theme?.palette?.font?.default,
|
|
3904
|
-
margin: '4px 0 12px 0',
|
|
3905
|
-
overflow: 'hidden',
|
|
3906
|
-
// whiteSpace: 'nowrap',
|
|
3907
|
-
wordBreak: 'break-word',
|
|
3908
|
-
textOverflow: 'ellipsis'
|
|
3909
|
-
},
|
|
3910
|
-
userImageDummy: {
|
|
3911
|
-
width: '48px',
|
|
3912
|
-
height: '48px',
|
|
3913
|
-
borderRadius: '24px',
|
|
3914
|
-
marginRight: '16px'
|
|
3915
|
-
},
|
|
3916
|
-
userImage: {
|
|
3917
|
-
width: '48px',
|
|
3918
|
-
height: '48px',
|
|
3919
|
-
borderRadius: '24px',
|
|
3920
|
-
marginRight: '16px'
|
|
3921
|
-
},
|
|
3922
|
-
reviewText: {
|
|
3923
|
-
marginBottom: '40px'
|
|
3924
|
-
},
|
|
3925
|
-
singleCard: {
|
|
3926
|
-
margin: '6px 2px',
|
|
3927
|
-
width: 'calc(100% - 4px)'
|
|
3928
|
-
},
|
|
3929
|
-
userName: {
|
|
3930
|
-
paddingTop: '8px',
|
|
3931
|
-
overflow: 'hidden',
|
|
3932
|
-
whiteSpace: 'nowrap',
|
|
3933
|
-
textOverflow: 'ellipsis'
|
|
3934
|
-
},
|
|
3935
|
-
userImageContainer: {
|
|
3936
|
-
width: '48px',
|
|
3937
|
-
height: '48px'
|
|
3938
|
-
}
|
|
4041
|
+
cardDetails: {
|
|
4042
|
+
padding: '16px'
|
|
3939
4043
|
}
|
|
3940
|
-
|
|
3941
|
-
|
|
4044
|
+
// sliderContainer: {
|
|
4045
|
+
// marginRight: '-24px'
|
|
4046
|
+
// },
|
|
4047
|
+
}
|
|
4048
|
+
}));
|
|
3942
4049
|
|
|
3943
4050
|
function QuotesComponent() {
|
|
3944
4051
|
const theme = useTheme();
|
|
@@ -3966,13 +4073,14 @@ function Section$1({
|
|
|
3966
4073
|
const classes = useTestimonialStyles({
|
|
3967
4074
|
containerWidth,
|
|
3968
4075
|
cardsCount,
|
|
3969
|
-
slidesToShow
|
|
4076
|
+
slidesToShow,
|
|
4077
|
+
isMobile
|
|
3970
4078
|
});
|
|
3971
4079
|
const settings = {
|
|
3972
4080
|
className: classes.sliderContainer,
|
|
3973
4081
|
slidesToShow,
|
|
3974
4082
|
centerMode: true,
|
|
3975
|
-
centerPadding: isMobile ? '
|
|
4083
|
+
centerPadding: isMobile ? '0px 0 0' : '80px 0 0'
|
|
3976
4084
|
};
|
|
3977
4085
|
const carouselContent = carouselList.map((el, idx) =>
|
|
3978
4086
|
/*#__PURE__*/
|
|
@@ -3986,7 +4094,7 @@ function Section$1({
|
|
|
3986
4094
|
className: classes.quoteIcon
|
|
3987
4095
|
}, /*#__PURE__*/React__default["default"].createElement(QuotesComponent, null)), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3988
4096
|
className: classes.cardDetails
|
|
3989
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
4097
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3990
4098
|
ref: el?.cardTextContent?.refSetter,
|
|
3991
4099
|
className: classes.reviewText,
|
|
3992
4100
|
dangerouslySetInnerHTML: {
|
|
@@ -4031,7 +4139,7 @@ function Section$1({
|
|
|
4031
4139
|
dangerouslySetInnerHTML: {
|
|
4032
4140
|
__html: nodeData?.carouselHeading?.metadata?.value
|
|
4033
4141
|
}
|
|
4034
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
4142
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4035
4143
|
className: classes.testimonialHeader
|
|
4036
4144
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4037
4145
|
ref: nodeData?.title?.refSetter,
|
|
@@ -4453,47 +4561,51 @@ var index$f = /*#__PURE__*/Object.freeze({
|
|
|
4453
4561
|
const useVideoStyles = createUseStyles(theme => {
|
|
4454
4562
|
return {
|
|
4455
4563
|
videoSuperContainer: {
|
|
4456
|
-
padding:
|
|
4457
|
-
|
|
4564
|
+
padding: ({
|
|
4565
|
+
isMobile
|
|
4566
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4567
|
+
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
4458
4568
|
'&, & *, & *:before, & *:after': {
|
|
4459
4569
|
fontFamily: theme?.typography?.fontFamily,
|
|
4460
4570
|
boxSizing: 'border-box'
|
|
4461
|
-
},
|
|
4462
|
-
'& h2,& h3': {
|
|
4463
|
-
fontWeight: '500',
|
|
4464
|
-
'& b,& strong': {
|
|
4465
|
-
fontWeight: '700'
|
|
4466
|
-
}
|
|
4467
4571
|
}
|
|
4572
|
+
// '& h2,& h3': {
|
|
4573
|
+
// fontWeight: '500',
|
|
4574
|
+
// '& b,& strong': {
|
|
4575
|
+
// fontWeight: '700'
|
|
4576
|
+
// }
|
|
4577
|
+
// }
|
|
4468
4578
|
},
|
|
4579
|
+
|
|
4469
4580
|
sectionContainer: {
|
|
4470
4581
|
margin: '0 auto',
|
|
4471
4582
|
maxWidth: ({
|
|
4472
4583
|
containerWidth
|
|
4473
4584
|
} = {}) => containerWidth
|
|
4474
4585
|
},
|
|
4475
|
-
videoContainer: {
|
|
4476
|
-
|
|
4477
|
-
},
|
|
4586
|
+
// videoContainer: {
|
|
4587
|
+
// marginTop: '70px'
|
|
4588
|
+
// },
|
|
4589
|
+
|
|
4478
4590
|
videoHeading: {
|
|
4479
|
-
fontSize:
|
|
4591
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4592
|
+
textTransform: 'uppercase',
|
|
4480
4593
|
lineHeight: '20px',
|
|
4481
|
-
marginBottom: '4px',
|
|
4482
|
-
letterSpacing: '3px',
|
|
4483
4594
|
color: theme?.palette?.font?.primary,
|
|
4484
4595
|
wordBreak: 'break-word'
|
|
4485
4596
|
},
|
|
4486
4597
|
videoTitle: {
|
|
4487
|
-
fontSize:
|
|
4598
|
+
fontSize: theme.typography.fontSize.h2,
|
|
4599
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
4488
4600
|
lineHeight: '71px',
|
|
4489
4601
|
letterSpacing: '-3px',
|
|
4490
|
-
marginBottom:
|
|
4491
|
-
marginTop: '
|
|
4602
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
4603
|
+
marginTop: '8px',
|
|
4492
4604
|
color: theme?.palette?.font?.default,
|
|
4493
4605
|
wordBreak: 'break-word'
|
|
4494
4606
|
},
|
|
4495
4607
|
sliderContainer: {
|
|
4496
|
-
marginRight:
|
|
4608
|
+
marginRight: `-${theme.spacing.padding.medium}px`
|
|
4497
4609
|
},
|
|
4498
4610
|
singleSlideContainer: {
|
|
4499
4611
|
backgroundColor: theme?.palette?.background?.default,
|
|
@@ -4501,7 +4613,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4501
4613
|
width: 'calc(100% - 40px)',
|
|
4502
4614
|
height: 'calc(100% - 40px)',
|
|
4503
4615
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
4504
|
-
padding: '
|
|
4616
|
+
padding: '48px',
|
|
4505
4617
|
boxShadow: theme?.shadows?.primary
|
|
4506
4618
|
},
|
|
4507
4619
|
contentRow: {
|
|
@@ -4514,6 +4626,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4514
4626
|
width: '100%',
|
|
4515
4627
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
4516
4628
|
position: 'relative',
|
|
4629
|
+
overflow: 'hidden',
|
|
4517
4630
|
paddingBottom: '56.25%'
|
|
4518
4631
|
},
|
|
4519
4632
|
iframe: {
|
|
@@ -4528,43 +4641,32 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4528
4641
|
margin: '12px 12px 0'
|
|
4529
4642
|
},
|
|
4530
4643
|
videoDetailsHeading: {
|
|
4531
|
-
fontSize:
|
|
4644
|
+
fontSize: theme.typography.fontSize.h5,
|
|
4645
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
4532
4646
|
lineHeight: '32px',
|
|
4533
|
-
|
|
4647
|
+
marginBottom: '8px',
|
|
4534
4648
|
color: theme?.palette?.font?.default,
|
|
4535
4649
|
wordBreak: 'break-word'
|
|
4536
4650
|
},
|
|
4537
4651
|
videoDetailsSubHeading: {
|
|
4538
|
-
fontSize:
|
|
4652
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
4539
4653
|
lineHeight: '24px',
|
|
4540
4654
|
wordBreak: 'break-word',
|
|
4541
4655
|
color: theme?.palette?.font?.primary
|
|
4542
4656
|
},
|
|
4543
4657
|
'@media (max-width: 767px)': {
|
|
4544
|
-
videoSuperContainer: {
|
|
4545
|
-
padding: '70px 20px 60px'
|
|
4546
|
-
},
|
|
4547
4658
|
videoHeading: {
|
|
4548
|
-
|
|
4549
|
-
lineHeight: '20px',
|
|
4550
|
-
letterSpacing: '3px'
|
|
4551
|
-
},
|
|
4552
|
-
videoTitle: {
|
|
4553
|
-
fontSize: '24px',
|
|
4554
|
-
lineHeight: '36px',
|
|
4555
|
-
letterSpacing: '-1px',
|
|
4556
|
-
marginBottom: '0',
|
|
4557
|
-
marginTop: '0'
|
|
4659
|
+
lineHeight: '20px'
|
|
4558
4660
|
},
|
|
4559
4661
|
videoContainer: {
|
|
4560
4662
|
margin: '0'
|
|
4561
4663
|
},
|
|
4562
4664
|
sliderContainer: {
|
|
4563
|
-
marginLeft: '-6px',
|
|
4564
|
-
marginRight: '
|
|
4665
|
+
// marginLeft: '-6px',
|
|
4666
|
+
marginRight: '0px'
|
|
4565
4667
|
},
|
|
4566
4668
|
singleSlideContainer: {
|
|
4567
|
-
padding: '
|
|
4669
|
+
padding: '16px',
|
|
4568
4670
|
width: 'calc(100% - 12px)',
|
|
4569
4671
|
height: 'calc(100% - 24px)',
|
|
4570
4672
|
margin: '12px 6px'
|
|
@@ -4576,14 +4678,28 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4576
4678
|
textAlign: 'left',
|
|
4577
4679
|
margin: '12px 12px 0'
|
|
4578
4680
|
},
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4681
|
+
videoTitle: {
|
|
4682
|
+
display: 'flex',
|
|
4683
|
+
justifyContent: 'center',
|
|
4684
|
+
textAlign: 'center',
|
|
4685
|
+
lineHeight: '36px',
|
|
4686
|
+
letterSpacing: '-1px'
|
|
4582
4687
|
},
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4688
|
+
videoHeading: {
|
|
4689
|
+
display: 'flex',
|
|
4690
|
+
justifyContent: 'center',
|
|
4691
|
+
textAlign: 'center'
|
|
4586
4692
|
}
|
|
4693
|
+
|
|
4694
|
+
// videoDetailsHeading: {
|
|
4695
|
+
// fontSize: '18px',
|
|
4696
|
+
// margin: '0'
|
|
4697
|
+
// },
|
|
4698
|
+
|
|
4699
|
+
// videoDetailsSubHeading: {
|
|
4700
|
+
// fontSize: '12px',
|
|
4701
|
+
// paddingBottom: '20px'
|
|
4702
|
+
// }
|
|
4587
4703
|
}
|
|
4588
4704
|
};
|
|
4589
4705
|
});
|
|
@@ -4603,7 +4719,7 @@ const SingleSlide$1 = props => {
|
|
|
4603
4719
|
videoUrl: data.videoFrame.metadata?.value
|
|
4604
4720
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4605
4721
|
className: classes.videoDetailsContainer
|
|
4606
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
4722
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4607
4723
|
ref: data?.videoTitle?.refSetter,
|
|
4608
4724
|
className: classes.videoDetailsHeading,
|
|
4609
4725
|
dangerouslySetInnerHTML: {
|
|
@@ -4633,12 +4749,13 @@ function Video({
|
|
|
4633
4749
|
const classes = useVideoStyles({
|
|
4634
4750
|
containerWidth,
|
|
4635
4751
|
cardsCount,
|
|
4636
|
-
slidesToShow
|
|
4752
|
+
slidesToShow,
|
|
4753
|
+
isMobile
|
|
4637
4754
|
});
|
|
4638
4755
|
const settings = {
|
|
4639
4756
|
className: classes.sliderContainer,
|
|
4640
4757
|
slidesToShow,
|
|
4641
|
-
centerPadding: isMobile ? '
|
|
4758
|
+
centerPadding: isMobile ? '0px' : '100px 0 0',
|
|
4642
4759
|
centerMode: true
|
|
4643
4760
|
};
|
|
4644
4761
|
const carouselContent = videoData.videoCarousel.components.map((data, index) => /*#__PURE__*/React__default["default"].createElement(SingleSlide$1, {
|
|
@@ -4658,7 +4775,7 @@ function Video({
|
|
|
4658
4775
|
dangerouslySetInnerHTML: {
|
|
4659
4776
|
__html: videoData.videoHeading.metadata.value
|
|
4660
4777
|
}
|
|
4661
|
-
})), /*#__PURE__*/React__default["default"].createElement("
|
|
4778
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4662
4779
|
className: classes.videoTitle
|
|
4663
4780
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
4664
4781
|
ref: videoData?.videoTitle?.refSetter,
|
|
@@ -4678,7 +4795,7 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4678
4795
|
'default': Video
|
|
4679
4796
|
});
|
|
4680
4797
|
|
|
4681
|
-
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4798
|
+
const useSectionStyles$3 = createUseStyles(theme => (console.log(theme), {
|
|
4682
4799
|
section: {
|
|
4683
4800
|
position: 'relative',
|
|
4684
4801
|
padding: `${theme?.spacing?.padding?.regular}px 0px ${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px`,
|
|
@@ -4705,7 +4822,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4705
4822
|
top: '0',
|
|
4706
4823
|
left: '0',
|
|
4707
4824
|
height: '350px',
|
|
4708
|
-
background: theme?.
|
|
4825
|
+
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
4709
4826
|
width: '100%'
|
|
4710
4827
|
},
|
|
4711
4828
|
content: {
|
|
@@ -4899,7 +5016,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
4899
5016
|
padding: ({
|
|
4900
5017
|
isMobile
|
|
4901
5018
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
4902
|
-
|
|
5019
|
+
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
|
|
4903
5020
|
'&, & *, & *:before, & *:after': {
|
|
4904
5021
|
fontFamily: theme?.typography?.fontFamily,
|
|
4905
5022
|
boxSizing: 'border-box'
|
|
@@ -4920,7 +5037,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
4920
5037
|
subHeading: {
|
|
4921
5038
|
fontSize: theme.typography.fontSize.subHead,
|
|
4922
5039
|
marginBottom: '8px',
|
|
4923
|
-
color: theme?.
|
|
5040
|
+
color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
|
|
4924
5041
|
wordBreak: 'break-word',
|
|
4925
5042
|
textTransform: 'uppercase',
|
|
4926
5043
|
letterSpacing: '3px'
|
|
@@ -4930,7 +5047,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
4930
5047
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4931
5048
|
lineHeight: 'normal',
|
|
4932
5049
|
margin: '0',
|
|
4933
|
-
color: theme?.
|
|
5050
|
+
color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
|
|
4934
5051
|
wordBreak: 'break-word',
|
|
4935
5052
|
marginBottom: theme.spacing.margin.tiny
|
|
4936
5053
|
},
|
|
@@ -4941,10 +5058,14 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
4941
5058
|
padding: '48px 0px'
|
|
4942
5059
|
},
|
|
4943
5060
|
textPara: {
|
|
5061
|
+
background: 'white',
|
|
5062
|
+
borderRadius: '8px',
|
|
5063
|
+
padding: '40px',
|
|
4944
5064
|
lineHeight: '24px',
|
|
4945
5065
|
color: theme?.palette?.font?.primary,
|
|
4946
5066
|
wordBreak: 'break-word',
|
|
4947
|
-
fontSize: theme.typography.fontSize.subHead
|
|
5067
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5068
|
+
boxShadow: '0px 2px 8px 0px rgba(0, 0, 0, 0.08)'
|
|
4948
5069
|
},
|
|
4949
5070
|
'@media screen and (max-width: 767px)': {
|
|
4950
5071
|
textContent: {
|
|
@@ -5012,18 +5133,21 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5012
5133
|
return {
|
|
5013
5134
|
container: {
|
|
5014
5135
|
background: theme?.palette?.background?.default,
|
|
5015
|
-
padding:
|
|
5136
|
+
padding: ({
|
|
5137
|
+
isMobile
|
|
5138
|
+
} = {}) => 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`,
|
|
5016
5139
|
'&, & *, & *:before, & *:after': {
|
|
5017
5140
|
fontFamily: theme?.typography?.fontFamily,
|
|
5018
5141
|
boxSizing: 'border-box'
|
|
5019
|
-
},
|
|
5020
|
-
'& h2,& h3': {
|
|
5021
|
-
fontWeight: '500',
|
|
5022
|
-
'& b,& strong': {
|
|
5023
|
-
fontWeight: '700'
|
|
5024
|
-
}
|
|
5025
5142
|
}
|
|
5143
|
+
// '& h2,& h3': {
|
|
5144
|
+
// fontWeight: '500',
|
|
5145
|
+
// '& b,& strong': {
|
|
5146
|
+
// fontWeight: '700'
|
|
5147
|
+
// }
|
|
5148
|
+
// }
|
|
5026
5149
|
},
|
|
5150
|
+
|
|
5027
5151
|
sectionContainer: {
|
|
5028
5152
|
margin: '0 auto',
|
|
5029
5153
|
maxWidth: ({
|
|
@@ -5032,13 +5156,15 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5032
5156
|
},
|
|
5033
5157
|
cardHeading: {
|
|
5034
5158
|
color: theme?.palette?.font?.secondary,
|
|
5035
|
-
fontSize:
|
|
5159
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5036
5160
|
letterSpacing: '3px',
|
|
5037
|
-
wordBreak: 'break-word'
|
|
5038
|
-
|
|
5039
|
-
sliderContainer: {
|
|
5040
|
-
marginRight: '-70px'
|
|
5161
|
+
wordBreak: 'break-word',
|
|
5162
|
+
textTransform: 'uppercase'
|
|
5041
5163
|
},
|
|
5164
|
+
// sliderContainer: {
|
|
5165
|
+
// marginRight: '-70px'
|
|
5166
|
+
// },
|
|
5167
|
+
|
|
5042
5168
|
singleCard: {
|
|
5043
5169
|
margin: '0 1px',
|
|
5044
5170
|
width: 'calc(100% - 2px)',
|
|
@@ -5061,24 +5187,26 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5061
5187
|
height: '100%'
|
|
5062
5188
|
},
|
|
5063
5189
|
title: {
|
|
5064
|
-
fontSize:
|
|
5190
|
+
fontSize: theme.typography.fontSize.h2,
|
|
5065
5191
|
lineHeight: '70px',
|
|
5066
5192
|
letterSpacing: '-3px',
|
|
5067
5193
|
color: theme?.palette?.font?.default,
|
|
5068
|
-
|
|
5194
|
+
marginTop: '8px',
|
|
5195
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
5069
5196
|
overflow: 'hidden',
|
|
5070
5197
|
whiteSpace: 'nowrap',
|
|
5071
5198
|
textOverflow: 'ellipsis'
|
|
5072
5199
|
},
|
|
5073
5200
|
'@media (max-width: 768px)': {
|
|
5074
|
-
container: {
|
|
5075
|
-
|
|
5076
|
-
},
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5201
|
+
// container: {
|
|
5202
|
+
// padding: '60px 20px'
|
|
5203
|
+
// },
|
|
5204
|
+
|
|
5205
|
+
// cardHeading: {
|
|
5206
|
+
// marginLeft: '3px'
|
|
5207
|
+
// },
|
|
5208
|
+
|
|
5080
5209
|
title: {
|
|
5081
|
-
fontSize: '24px',
|
|
5082
5210
|
lineHeight: '36px',
|
|
5083
5211
|
letterSpacing: '-1px',
|
|
5084
5212
|
color: theme?.palette?.font?.default,
|
|
@@ -5086,10 +5214,11 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5086
5214
|
overflow: 'hidden',
|
|
5087
5215
|
whiteSpace: 'nowrap',
|
|
5088
5216
|
textOverflow: 'ellipsis'
|
|
5089
|
-
},
|
|
5090
|
-
sliderContainer: {
|
|
5091
|
-
marginRight: '-20px'
|
|
5092
5217
|
}
|
|
5218
|
+
|
|
5219
|
+
// sliderContainer: {
|
|
5220
|
+
// marginRight: '-20px'
|
|
5221
|
+
// }
|
|
5093
5222
|
}
|
|
5094
5223
|
};
|
|
5095
5224
|
});
|
|
@@ -5111,11 +5240,12 @@ function PhotoGallery({
|
|
|
5111
5240
|
const classes = usePhotoGalleryStyles({
|
|
5112
5241
|
containerWidth,
|
|
5113
5242
|
cardsCount,
|
|
5114
|
-
slidesToShow
|
|
5243
|
+
slidesToShow,
|
|
5244
|
+
isMobile
|
|
5115
5245
|
});
|
|
5116
5246
|
const settings = {
|
|
5117
5247
|
className: classes.sliderContainer,
|
|
5118
|
-
dots:
|
|
5248
|
+
dots: true,
|
|
5119
5249
|
infinite: true,
|
|
5120
5250
|
speed: 500,
|
|
5121
5251
|
slidesToShow,
|
|
@@ -5169,10 +5299,10 @@ var index$b = /*#__PURE__*/Object.freeze({
|
|
|
5169
5299
|
const useFaqListStyles = createUseStyles(theme => ({
|
|
5170
5300
|
section: {
|
|
5171
5301
|
width: '100%',
|
|
5302
|
+
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
5172
5303
|
padding: ({
|
|
5173
5304
|
isMobile
|
|
5174
5305
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5175
|
-
backgroundColor: theme?.palette?.background?.primary,
|
|
5176
5306
|
'&, & *, & *:before, & *:after': {
|
|
5177
5307
|
fontFamily: theme?.typography?.fontFamily,
|
|
5178
5308
|
boxSizing: 'border-box'
|
|
@@ -5346,7 +5476,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5346
5476
|
padding: ({
|
|
5347
5477
|
isMobile
|
|
5348
5478
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5349
|
-
|
|
5479
|
+
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
5350
5480
|
'&, & *, & *:before, & *:after': {
|
|
5351
5481
|
fontFamily: theme?.typography?.fontFamily,
|
|
5352
5482
|
boxSizing: 'border-box'
|
|
@@ -5511,39 +5641,46 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5511
5641
|
return {
|
|
5512
5642
|
coursesContainer: {
|
|
5513
5643
|
overflow: 'hidden',
|
|
5644
|
+
padding: ({
|
|
5645
|
+
isMobile
|
|
5646
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
5514
5647
|
'&, & *, & *:before, & *:after': {
|
|
5515
5648
|
fontFamily: theme?.typography?.fontFamily,
|
|
5516
5649
|
boxSizing: 'border-box'
|
|
5517
|
-
},
|
|
5518
|
-
'& h2,& h3': {
|
|
5519
|
-
fontWeight: '500',
|
|
5520
|
-
'& b,& strong': {
|
|
5521
|
-
fontWeight: '700'
|
|
5522
|
-
}
|
|
5523
5650
|
}
|
|
5651
|
+
// '& h2,& h3': {
|
|
5652
|
+
// fontWeight: '500',
|
|
5653
|
+
// '& b,& strong': {
|
|
5654
|
+
// fontWeight: '700'
|
|
5655
|
+
// }
|
|
5656
|
+
// }
|
|
5524
5657
|
},
|
|
5658
|
+
|
|
5525
5659
|
sectionContainer: {
|
|
5526
5660
|
margin: '0 auto',
|
|
5527
5661
|
maxWidth: ({
|
|
5528
5662
|
containerWidth
|
|
5529
5663
|
} = {}) => containerWidth
|
|
5530
5664
|
},
|
|
5531
|
-
coursesCardAndText: {
|
|
5532
|
-
|
|
5533
|
-
},
|
|
5665
|
+
// coursesCardAndText: {
|
|
5666
|
+
// padding: '70px'
|
|
5667
|
+
// },
|
|
5668
|
+
|
|
5534
5669
|
coursesText: {
|
|
5535
5670
|
color: theme?.palette?.font?.secondary,
|
|
5536
5671
|
fontWeight: '400',
|
|
5537
|
-
fontSize:
|
|
5672
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5538
5673
|
lineHeight: '20px',
|
|
5539
5674
|
textAlign: 'center',
|
|
5675
|
+
textTransform: 'uppercase',
|
|
5540
5676
|
wordBreak: 'break-word'
|
|
5541
5677
|
},
|
|
5542
5678
|
coursesHeader: {
|
|
5543
|
-
fontSize:
|
|
5679
|
+
fontSize: theme.typography.fontSize.h2,
|
|
5544
5680
|
lineHeight: '70px',
|
|
5545
5681
|
color: theme?.palette?.font?.default,
|
|
5546
|
-
|
|
5682
|
+
marginTop: '8px',
|
|
5683
|
+
marginBottom: theme.spacing.margin.tiny,
|
|
5547
5684
|
overflow: 'hidden',
|
|
5548
5685
|
whiteSpace: 'nowrap',
|
|
5549
5686
|
textOverflow: 'ellipsis',
|
|
@@ -5618,7 +5755,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5618
5755
|
courseCardName: {
|
|
5619
5756
|
color: theme?.palette?.font?.default,
|
|
5620
5757
|
fontWeight: '700',
|
|
5621
|
-
fontSize:
|
|
5758
|
+
fontSize: theme.typography.fontSize.h5,
|
|
5622
5759
|
lineHeight: '32px',
|
|
5623
5760
|
wordBreak: 'break-word',
|
|
5624
5761
|
padding: '12px 0px',
|
|
@@ -5633,7 +5770,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5633
5770
|
display: 'flex',
|
|
5634
5771
|
justifyContent: 'flex-start',
|
|
5635
5772
|
alignItems: 'center',
|
|
5636
|
-
fontSize:
|
|
5773
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
5637
5774
|
color: theme?.palette?.font?.primary,
|
|
5638
5775
|
'& img': {
|
|
5639
5776
|
marginRight: '5px'
|
|
@@ -5645,10 +5782,10 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5645
5782
|
display: 'flex',
|
|
5646
5783
|
justifyContent: 'space-between',
|
|
5647
5784
|
alignItems: 'center',
|
|
5648
|
-
padding: '
|
|
5785
|
+
padding: '12px 0 0 4px'
|
|
5649
5786
|
},
|
|
5650
5787
|
courseCardPrice: {
|
|
5651
|
-
fontSize:
|
|
5788
|
+
fontSize: theme.typography.fontSize.h5,
|
|
5652
5789
|
fontWeight: '700'
|
|
5653
5790
|
},
|
|
5654
5791
|
coursesAnchorTag: {
|
|
@@ -5669,7 +5806,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5669
5806
|
cursor: 'pointer',
|
|
5670
5807
|
background: theme?.palette?.primary?.main,
|
|
5671
5808
|
color: theme?.palette?.font?.invertedDefault,
|
|
5672
|
-
padding: '
|
|
5809
|
+
padding: '8px 16px',
|
|
5810
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
5673
5811
|
cursor: 'pointer',
|
|
5674
5812
|
borderRadius: theme.shape.borderRadius.regular
|
|
5675
5813
|
},
|
|
@@ -5714,7 +5852,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5714
5852
|
//background: theme?.palette?.background?.primary
|
|
5715
5853
|
},
|
|
5716
5854
|
coursesCardAndText: {
|
|
5717
|
-
padding: '70px 30px'
|
|
5855
|
+
// padding: '70px 30px'
|
|
5718
5856
|
},
|
|
5719
5857
|
singleCardContainer: {
|
|
5720
5858
|
gridTemplateColumns: '1fr'
|
|
@@ -5723,7 +5861,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5723
5861
|
margin: '0'
|
|
5724
5862
|
},
|
|
5725
5863
|
coursesHeader: {
|
|
5726
|
-
fontSize: '24px',
|
|
5864
|
+
// fontSize: '24px',
|
|
5727
5865
|
lineHeight: '36px',
|
|
5728
5866
|
color: theme?.palette?.font?.default,
|
|
5729
5867
|
margin: '4px 0 12px 0',
|
|
@@ -5732,8 +5870,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5732
5870
|
textOverflow: 'ellipsis'
|
|
5733
5871
|
},
|
|
5734
5872
|
singleCard: {
|
|
5735
|
-
margin: '6px 2px'
|
|
5736
|
-
width: 'calc(100% -
|
|
5873
|
+
margin: '6px 2px'
|
|
5874
|
+
// width: 'calc(100% - 12px)'
|
|
5737
5875
|
}
|
|
5738
5876
|
}
|
|
5739
5877
|
};
|
|
@@ -5898,7 +6036,8 @@ function courses({
|
|
|
5898
6036
|
const [fallBackImages, setFallbackImages] = React.useState([]);
|
|
5899
6037
|
const [showShimmer, setShowShimmer] = React.useState(true);
|
|
5900
6038
|
const classes = useCourseStyles({
|
|
5901
|
-
containerWidth
|
|
6039
|
+
containerWidth,
|
|
6040
|
+
isMobile
|
|
5902
6041
|
});
|
|
5903
6042
|
const [nodeData] = sectionData?.components;
|
|
5904
6043
|
const handleApiCall = () => {
|
|
@@ -5950,7 +6089,7 @@ function courses({
|
|
|
5950
6089
|
const settings = {
|
|
5951
6090
|
className: classes.slickContainer,
|
|
5952
6091
|
infinite: false,
|
|
5953
|
-
slidesToShow: isMobile ? 1
|
|
6092
|
+
slidesToShow: isMobile ? 1 : 3.5
|
|
5954
6093
|
};
|
|
5955
6094
|
const Wrapper = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? Carousel : SimpleCardsContainer;
|
|
5956
6095
|
const wrapperProps = (cardList?.length || fallBackImages?.length) > settings.slidesToShow ? {
|
|
@@ -6029,7 +6168,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6029
6168
|
padding: ({
|
|
6030
6169
|
isMobile
|
|
6031
6170
|
} = {}) => 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`,
|
|
6032
|
-
|
|
6171
|
+
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2,
|
|
6033
6172
|
'&, & *, & *:before, & *:after': {
|
|
6034
6173
|
fontFamily: theme?.typography?.fontFamily,
|
|
6035
6174
|
boxSizing: 'border-box'
|
|
@@ -6287,7 +6426,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6287
6426
|
width: '100%',
|
|
6288
6427
|
height: '50%',
|
|
6289
6428
|
position: 'absolute',
|
|
6290
|
-
background: theme?.
|
|
6429
|
+
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.background2
|
|
6291
6430
|
},
|
|
6292
6431
|
sectionContainer: {
|
|
6293
6432
|
backgroundColor: theme?.palette?.background?.default,
|
|
@@ -6546,6 +6685,7 @@ function FormEnquiry({
|
|
|
6546
6685
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6547
6686
|
className: classes.inputDiv
|
|
6548
6687
|
}, /*#__PURE__*/React__default["default"].createElement(Input, {
|
|
6688
|
+
theme: theme,
|
|
6549
6689
|
data: nodeData.nameField,
|
|
6550
6690
|
value: inputVal.name,
|
|
6551
6691
|
isValid: validData.nameValid,
|
|
@@ -6661,7 +6801,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6661
6801
|
padding: ({
|
|
6662
6802
|
isMobile
|
|
6663
6803
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
6664
|
-
backgroundColor: theme?.palette?.background?.default,
|
|
6665
6804
|
'&, & *, & *:before, & *:after': {
|
|
6666
6805
|
fontFamily: theme?.typography?.fontFamily,
|
|
6667
6806
|
boxSizing: 'border-box'
|
|
@@ -6687,7 +6826,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
6687
6826
|
width: '100%',
|
|
6688
6827
|
height: '50%',
|
|
6689
6828
|
position: 'absolute',
|
|
6690
|
-
background: theme?.palette?.background?.primary
|
|
6829
|
+
// background: theme?.palette?.background?.primary
|
|
6830
|
+
background: theme?.isGradient ? theme?.themeGradient?.background2 : theme?.themeColors?.tertiaryBlue2
|
|
6691
6831
|
},
|
|
6692
6832
|
sectionContainer: {
|
|
6693
6833
|
backgroundColor: theme?.palette?.background?.default,
|
|
@@ -7057,18 +7197,21 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7057
7197
|
webinarSuperContainer: {
|
|
7058
7198
|
display: 'flex',
|
|
7059
7199
|
justifyContent: 'center',
|
|
7060
|
-
padding:
|
|
7200
|
+
padding: ({
|
|
7201
|
+
isMobile
|
|
7202
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
7061
7203
|
'&, & *, & *:before, & *:after': {
|
|
7062
7204
|
fontFamily: theme?.typography?.fontFamily,
|
|
7063
7205
|
boxSizing: 'border-box'
|
|
7064
|
-
},
|
|
7065
|
-
'& h2,& h3': {
|
|
7066
|
-
fontWeight: '500',
|
|
7067
|
-
'& b,& strong': {
|
|
7068
|
-
fontWeight: '700'
|
|
7069
|
-
}
|
|
7070
7206
|
}
|
|
7207
|
+
// '& h2,& h3': {
|
|
7208
|
+
// fontWeight: '500',
|
|
7209
|
+
// '& b,& strong': {
|
|
7210
|
+
// fontWeight: '700'
|
|
7211
|
+
// }
|
|
7212
|
+
// }
|
|
7071
7213
|
},
|
|
7214
|
+
|
|
7072
7215
|
sectionContainer: {
|
|
7073
7216
|
margin: '0 auto',
|
|
7074
7217
|
maxWidth: ({
|
|
@@ -7080,30 +7223,34 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7080
7223
|
maxWidth: '1440px',
|
|
7081
7224
|
fontFamily: theme?.typography?.fontFamily
|
|
7082
7225
|
},
|
|
7083
|
-
videoTestimonialHeading: {
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
},
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7226
|
+
// videoTestimonialHeading: {
|
|
7227
|
+
// fontSize: theme.typography.fontSize.subHead,
|
|
7228
|
+
// lineHeight: '20px',
|
|
7229
|
+
// letterSpacing: '3px',
|
|
7230
|
+
// textTransform: 'uppercase',
|
|
7231
|
+
// color: theme.palette.font.tertiary,
|
|
7232
|
+
// wordBreak: 'break-word',
|
|
7233
|
+
// fontWeight: theme.typography.fontWeight.bold,
|
|
7234
|
+
// },
|
|
7235
|
+
|
|
7236
|
+
// videoTestimonialTitle: {
|
|
7237
|
+
// fontSize: theme.typography.fontSize.h2,
|
|
7238
|
+
// lineHeight: '71px',
|
|
7239
|
+
// fontWeight: theme.typography.fontWeight.bold,
|
|
7240
|
+
// letterSpacing: '-3px',
|
|
7241
|
+
// margin: '0',
|
|
7242
|
+
// color: theme.palette.font.default,
|
|
7243
|
+
// wordBreak: 'break-word'
|
|
7244
|
+
// },
|
|
7245
|
+
|
|
7246
|
+
// videoCarouselContainer: {
|
|
7247
|
+
// marginTop: '16px'
|
|
7248
|
+
// },
|
|
7249
|
+
|
|
7103
7250
|
webinarCarousel: {
|
|
7104
7251
|
display: 'flex',
|
|
7105
7252
|
justifyContent: 'flex-start',
|
|
7106
|
-
gap: '
|
|
7253
|
+
gap: '32px'
|
|
7107
7254
|
},
|
|
7108
7255
|
'@media screen and (max-width: 767px)': {
|
|
7109
7256
|
webinarCarousel: {
|
|
@@ -7118,18 +7265,21 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7118
7265
|
alignItems: 'center'
|
|
7119
7266
|
},
|
|
7120
7267
|
iframeContainer: {
|
|
7121
|
-
width: '
|
|
7268
|
+
width: '100%',
|
|
7122
7269
|
position: 'relative',
|
|
7123
7270
|
paddingBottom: '56.25%',
|
|
7124
7271
|
// top: "6%",
|
|
7125
|
-
left: '5%'
|
|
7272
|
+
// left: '5%'
|
|
7273
|
+
borderRadius: '8px',
|
|
7274
|
+
overflow: 'hidden'
|
|
7126
7275
|
},
|
|
7127
7276
|
offerText: {
|
|
7128
7277
|
textAlign: 'center',
|
|
7129
|
-
color: theme.palette.font.primary
|
|
7278
|
+
color: theme.palette.font.primary,
|
|
7279
|
+
marginBottom: '5%'
|
|
7130
7280
|
},
|
|
7131
7281
|
offerPrice: {
|
|
7132
|
-
fontSize:
|
|
7282
|
+
fontSize: theme.typography.fontSize.h5,
|
|
7133
7283
|
fontWeight: '600'
|
|
7134
7284
|
},
|
|
7135
7285
|
priceContainer: {
|
|
@@ -7148,9 +7298,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7148
7298
|
bottomContainer: {
|
|
7149
7299
|
display: 'flex',
|
|
7150
7300
|
justifyContent: 'space-between',
|
|
7151
|
-
marginTop: '5%'
|
|
7152
|
-
padding: '0px 5% 0px 5%'
|
|
7301
|
+
marginTop: '5%'
|
|
7302
|
+
// padding: '0px 5% 0px 5%'
|
|
7153
7303
|
},
|
|
7304
|
+
|
|
7154
7305
|
iframe: {
|
|
7155
7306
|
position: 'absolute',
|
|
7156
7307
|
width: '100%',
|
|
@@ -7161,10 +7312,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7161
7312
|
width: '100%',
|
|
7162
7313
|
display: 'flex',
|
|
7163
7314
|
flexDirection: 'column',
|
|
7164
|
-
alignItems: 'flex-start'
|
|
7315
|
+
alignItems: 'flex-start',
|
|
7316
|
+
gap: '20px'
|
|
7165
7317
|
},
|
|
7166
7318
|
videoDetailsHeading: {
|
|
7167
|
-
fontSize:
|
|
7319
|
+
fontSize: theme.typography.fontSize.h3,
|
|
7320
|
+
fontWeight: theme.typography.fontWeight.bold,
|
|
7168
7321
|
lineHeight: '48px',
|
|
7169
7322
|
margin: '0',
|
|
7170
7323
|
letterSpacing: '-1px',
|
|
@@ -7178,7 +7331,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7178
7331
|
display: 'flex',
|
|
7179
7332
|
flexDirection: 'column',
|
|
7180
7333
|
justifyContent: 'start',
|
|
7181
|
-
|
|
7334
|
+
padding: '24px',
|
|
7182
7335
|
borderRadius: '10px'
|
|
7183
7336
|
},
|
|
7184
7337
|
bannerContainer: {
|
|
@@ -7191,14 +7344,12 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7191
7344
|
position: 'relative',
|
|
7192
7345
|
fontSize: '18px',
|
|
7193
7346
|
transform: 'rotate(180deg)',
|
|
7194
|
-
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
7195
|
-
marginBottom: '16px'
|
|
7347
|
+
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
7196
7348
|
},
|
|
7197
7349
|
bannerContainerText: {
|
|
7198
7350
|
transform: 'rotate(180deg)'
|
|
7199
7351
|
},
|
|
7200
7352
|
courseDetailsTags: {
|
|
7201
|
-
marginTop: '16px',
|
|
7202
7353
|
display: 'flex'
|
|
7203
7354
|
},
|
|
7204
7355
|
courseDetailTag: {
|
|
@@ -7206,23 +7357,22 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7206
7357
|
alignItems: 'center',
|
|
7207
7358
|
marginRight: '20px',
|
|
7208
7359
|
'& div': {
|
|
7209
|
-
fontSize:
|
|
7360
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7210
7361
|
marginLeft: '10px'
|
|
7211
7362
|
}
|
|
7212
7363
|
},
|
|
7213
7364
|
courseDetailContent: {
|
|
7214
|
-
|
|
7215
|
-
fontSize: '16px',
|
|
7365
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7216
7366
|
wordBreak: 'break-word',
|
|
7217
7367
|
color: theme.palette.font.primary,
|
|
7218
|
-
|
|
7219
|
-
|
|
7368
|
+
whiteSpace: 'pre-wrap',
|
|
7369
|
+
width: '80%'
|
|
7220
7370
|
},
|
|
7221
7371
|
courseDetailViewFullDetails: {
|
|
7222
7372
|
cursor: 'pointer',
|
|
7223
|
-
fontSize:
|
|
7373
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7224
7374
|
lineHeight: '24px',
|
|
7225
|
-
|
|
7375
|
+
marginTop: '-20px',
|
|
7226
7376
|
color: '#00ADE7',
|
|
7227
7377
|
wordBreak: 'break-word'
|
|
7228
7378
|
},
|
|
@@ -7230,9 +7380,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7230
7380
|
color: '#EB5757',
|
|
7231
7381
|
fontWeight: '600'
|
|
7232
7382
|
},
|
|
7233
|
-
webinarButtonContainer: {
|
|
7234
|
-
|
|
7235
|
-
},
|
|
7383
|
+
// webinarButtonContainer: {
|
|
7384
|
+
// marginBottom: '20px'
|
|
7385
|
+
// },
|
|
7386
|
+
|
|
7236
7387
|
iconBackground: {
|
|
7237
7388
|
display: 'flex',
|
|
7238
7389
|
width: '36px',
|
|
@@ -7264,11 +7415,10 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7264
7415
|
width: '100%'
|
|
7265
7416
|
},
|
|
7266
7417
|
videoDetailsHeading: {
|
|
7267
|
-
fontSize: '16px',
|
|
7268
7418
|
lineHeight: '20px'
|
|
7269
7419
|
},
|
|
7270
7420
|
videoTestimonialTitle: {
|
|
7271
|
-
fontSize: '24px',
|
|
7421
|
+
// fontSize: '24px',
|
|
7272
7422
|
lineHeight: '36px',
|
|
7273
7423
|
letterSpacing: '-1px'
|
|
7274
7424
|
},
|
|
@@ -7383,7 +7533,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7383
7533
|
color: theme.palette.primary.main,
|
|
7384
7534
|
width: "20px",
|
|
7385
7535
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7386
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("
|
|
7536
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7387
7537
|
ref: data?.videoTextContent?.refSetter,
|
|
7388
7538
|
className: classes.courseDetailContent,
|
|
7389
7539
|
dangerouslySetInnerHTML: {
|
|
@@ -7400,7 +7550,7 @@ const SingleVideoSlide$1 = props => {
|
|
|
7400
7550
|
}
|
|
7401
7551
|
}))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7402
7552
|
className: classes.courseViewContainer
|
|
7403
|
-
}, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React__default["default"].createElement("
|
|
7553
|
+
}, data.isPaid !== 0 && checkIfOfferIsValid() && (data.offerPriceValidFor !== null ? data.offerPriceValidFor - conversions > 0 : true) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7404
7554
|
className: classes.offerText
|
|
7405
7555
|
}, "Offer Ends in", ' ', /*#__PURE__*/React__default["default"].createElement("span", {
|
|
7406
7556
|
className: classes.courseDetailTime
|
|
@@ -7424,10 +7574,9 @@ const SingleVideoSlide$1 = props => {
|
|
|
7424
7574
|
className: classes.priceContainer
|
|
7425
7575
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7426
7576
|
className: classes.offerPrice
|
|
7427
|
-
}, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React__default["default"].createElement("
|
|
7577
|
+
}, "\u20B9", data?.effectivePrice), checkForShowDiscount() && (data.offerPriceEndDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7428
7578
|
style: {
|
|
7429
|
-
fontSize: '20px'
|
|
7430
|
-
marginTop: '0px'
|
|
7579
|
+
fontSize: '20px'
|
|
7431
7580
|
}
|
|
7432
7581
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
7433
7582
|
className: classes.originalPrice
|
|
@@ -7461,12 +7610,14 @@ function CoursePromotionPage$1({
|
|
|
7461
7610
|
sectionIndex
|
|
7462
7611
|
}) {
|
|
7463
7612
|
const {
|
|
7613
|
+
isMobile,
|
|
7464
7614
|
layout: {
|
|
7465
7615
|
containerWidth
|
|
7466
7616
|
}
|
|
7467
7617
|
} = React.useContext(PageContext);
|
|
7468
7618
|
const classes = useWebinarPromotionPage({
|
|
7469
|
-
containerWidth
|
|
7619
|
+
containerWidth,
|
|
7620
|
+
isMobile
|
|
7470
7621
|
});
|
|
7471
7622
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7472
7623
|
className: classes.webinarSuperContainer
|
|
@@ -7492,18 +7643,22 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7492
7643
|
courseSuperContainer: {
|
|
7493
7644
|
display: 'flex',
|
|
7494
7645
|
justifyContent: 'center',
|
|
7495
|
-
|
|
7646
|
+
background: theme?.isGradient ? theme?.themeGradient?.background1 : theme?.themeColors?.background1,
|
|
7647
|
+
padding: ({
|
|
7648
|
+
isMobile
|
|
7649
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
7496
7650
|
'&, & *, & *:before, & *:after': {
|
|
7497
7651
|
fontFamily: theme?.typography?.fontFamily,
|
|
7498
7652
|
boxSizing: 'border-box'
|
|
7499
|
-
},
|
|
7500
|
-
'& h2,& h3': {
|
|
7501
|
-
fontWeight: '500',
|
|
7502
|
-
'& b,& strong': {
|
|
7503
|
-
fontWeight: '700'
|
|
7504
|
-
}
|
|
7505
7653
|
}
|
|
7654
|
+
// '& h2,& h3': {
|
|
7655
|
+
// fontWeight: '500',
|
|
7656
|
+
// '& b,& strong': {
|
|
7657
|
+
// fontWeight: '700'
|
|
7658
|
+
// }
|
|
7659
|
+
// }
|
|
7506
7660
|
},
|
|
7661
|
+
|
|
7507
7662
|
sectionContainer: {
|
|
7508
7663
|
margin: '0 auto',
|
|
7509
7664
|
maxWidth: ({
|
|
@@ -7516,7 +7671,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7516
7671
|
fontFamily: theme?.typography?.fontFamily
|
|
7517
7672
|
},
|
|
7518
7673
|
videoTestimonialHeading: {
|
|
7519
|
-
fontSize:
|
|
7674
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7520
7675
|
lineHeight: '20px',
|
|
7521
7676
|
letterSpacing: '3px',
|
|
7522
7677
|
textTransform: 'uppercase',
|
|
@@ -7525,7 +7680,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7525
7680
|
fontWeight: '700'
|
|
7526
7681
|
},
|
|
7527
7682
|
videoTestimonialTitle: {
|
|
7528
|
-
fontSize:
|
|
7683
|
+
fontSize: theme.typography.fontSize.h2,
|
|
7529
7684
|
lineHeight: '71px',
|
|
7530
7685
|
letterSpacing: '-3px',
|
|
7531
7686
|
margin: '0',
|
|
@@ -7533,12 +7688,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7533
7688
|
wordBreak: 'break-word'
|
|
7534
7689
|
},
|
|
7535
7690
|
videoCarouselContainer: {
|
|
7536
|
-
marginTop: '16px'
|
|
7691
|
+
// marginTop: '16px'
|
|
7537
7692
|
},
|
|
7538
7693
|
coursePageCarousel: {
|
|
7539
7694
|
display: 'flex',
|
|
7540
7695
|
justifyContent: 'flex-start',
|
|
7541
|
-
gap: '
|
|
7696
|
+
gap: '32px'
|
|
7542
7697
|
},
|
|
7543
7698
|
'@media screen and (max-width: 767px)': {
|
|
7544
7699
|
coursePageCarousel: {
|
|
@@ -7553,18 +7708,19 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7553
7708
|
alignItems: 'center'
|
|
7554
7709
|
},
|
|
7555
7710
|
iframeContainer: {
|
|
7556
|
-
width: '
|
|
7711
|
+
width: '100%',
|
|
7557
7712
|
position: 'relative',
|
|
7558
|
-
paddingBottom: '56.25%'
|
|
7713
|
+
paddingBottom: '56.25%'
|
|
7559
7714
|
// top: "6%",
|
|
7560
|
-
left: '5%'
|
|
7715
|
+
// left: '5%'
|
|
7561
7716
|
},
|
|
7717
|
+
|
|
7562
7718
|
offerText: {
|
|
7563
7719
|
textAlign: 'center',
|
|
7564
7720
|
color: theme.palette.font.primary
|
|
7565
7721
|
},
|
|
7566
7722
|
offerPrice: {
|
|
7567
|
-
fontSize:
|
|
7723
|
+
fontSize: theme.typography.fontSize.h4,
|
|
7568
7724
|
fontWeight: '700'
|
|
7569
7725
|
},
|
|
7570
7726
|
priceContainer: {
|
|
@@ -7582,7 +7738,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7582
7738
|
fontWeight: '600'
|
|
7583
7739
|
},
|
|
7584
7740
|
bottomContainer: {
|
|
7585
|
-
width: '
|
|
7741
|
+
width: '100%',
|
|
7586
7742
|
marginLeft: 'auto',
|
|
7587
7743
|
marginRight: 'auto',
|
|
7588
7744
|
display: 'flex',
|
|
@@ -7599,25 +7755,28 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7599
7755
|
width: '100%',
|
|
7600
7756
|
display: 'flex',
|
|
7601
7757
|
flexDirection: 'column',
|
|
7602
|
-
alignItems: 'flex-start'
|
|
7758
|
+
alignItems: 'flex-start',
|
|
7759
|
+
gap: '20px'
|
|
7603
7760
|
},
|
|
7604
7761
|
videoDetailsHeading: {
|
|
7605
|
-
fontSize:
|
|
7762
|
+
fontSize: theme.typography.fontSize.h3,
|
|
7606
7763
|
lineHeight: '48px',
|
|
7607
7764
|
margin: '0',
|
|
7608
7765
|
letterSpacing: '-1px',
|
|
7609
7766
|
wordBreak: 'break-word',
|
|
7610
|
-
color: theme
|
|
7767
|
+
color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1
|
|
7611
7768
|
},
|
|
7612
7769
|
courseViewContainer: {
|
|
7613
7770
|
width: '445px',
|
|
7614
7771
|
backgroundColor: '#f4f9ff',
|
|
7615
7772
|
display: 'flex',
|
|
7773
|
+
padding: '24px',
|
|
7616
7774
|
flexDirection: 'column',
|
|
7617
|
-
borderRadius: '10px'
|
|
7618
|
-
paddingBottom: '10px',
|
|
7619
|
-
paddingTop: '10px'
|
|
7775
|
+
borderRadius: '10px'
|
|
7776
|
+
// paddingBottom: '10px',
|
|
7777
|
+
// paddingTop: '10px'
|
|
7620
7778
|
},
|
|
7779
|
+
|
|
7621
7780
|
bannerContainer: {
|
|
7622
7781
|
width: '100%',
|
|
7623
7782
|
background: '#EB5757',
|
|
@@ -7626,11 +7785,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7626
7785
|
padding: '10px 10px 23px 40px',
|
|
7627
7786
|
wordWrap: 'break-word',
|
|
7628
7787
|
position: 'relative',
|
|
7629
|
-
fontSize:
|
|
7788
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7630
7789
|
transform: 'rotate(180deg)',
|
|
7631
|
-
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
7632
|
-
marginBottom: '16px'
|
|
7790
|
+
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
7791
|
+
// marginBottom: '16px'
|
|
7633
7792
|
},
|
|
7793
|
+
|
|
7634
7794
|
bannerContainerText: {
|
|
7635
7795
|
transform: 'rotate(180deg)'
|
|
7636
7796
|
},
|
|
@@ -7641,16 +7801,15 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7641
7801
|
},
|
|
7642
7802
|
courseEmblem: {
|
|
7643
7803
|
background: '#F0F4F8',
|
|
7804
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7644
7805
|
borderRadius: '2.00337px',
|
|
7645
7806
|
padding: '8px',
|
|
7646
7807
|
display: 'flex',
|
|
7647
7808
|
alignItems: 'center',
|
|
7648
|
-
justifyContent: 'center'
|
|
7649
|
-
marginTop: '20px',
|
|
7650
|
-
marginBottom: '20px'
|
|
7809
|
+
justifyContent: 'center'
|
|
7651
7810
|
},
|
|
7652
7811
|
courseDetailsTags: {
|
|
7653
|
-
marginTop: '16px',
|
|
7812
|
+
// marginTop: '16px',
|
|
7654
7813
|
display: 'flex',
|
|
7655
7814
|
flexWrap: 'wrap'
|
|
7656
7815
|
},
|
|
@@ -7660,25 +7819,26 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7660
7819
|
alignItems: 'center',
|
|
7661
7820
|
marginRight: '20px',
|
|
7662
7821
|
'& div': {
|
|
7663
|
-
fontSize:
|
|
7822
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7823
|
+
fontWeight: theme.typography.fontWeight.semiBold,
|
|
7664
7824
|
marginLeft: '10px'
|
|
7665
7825
|
}
|
|
7666
7826
|
},
|
|
7667
7827
|
courseDetailContent: {
|
|
7668
|
-
marginTop: '16px',
|
|
7669
|
-
fontSize:
|
|
7828
|
+
// marginTop: '16px',
|
|
7829
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7670
7830
|
lineHeight: '24px',
|
|
7671
7831
|
wordBreak: 'break-word',
|
|
7672
|
-
color: theme
|
|
7832
|
+
color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
|
|
7673
7833
|
whiteSpace: 'pre-wrap',
|
|
7674
7834
|
margin: '10px 0 20px'
|
|
7675
7835
|
},
|
|
7676
7836
|
courseDetailViewFullDetails: {
|
|
7677
7837
|
cursor: 'pointer',
|
|
7678
|
-
fontSize:
|
|
7838
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7679
7839
|
lineHeight: '24px',
|
|
7680
|
-
|
|
7681
|
-
color:
|
|
7840
|
+
marginTop: '-24px',
|
|
7841
|
+
color: theme?.isGradient ? theme?.themeGradient?.font1 : theme?.themeColors?.font1,
|
|
7682
7842
|
wordBreak: 'break-word'
|
|
7683
7843
|
},
|
|
7684
7844
|
courseDetailTime: {
|
|
@@ -7724,7 +7884,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7724
7884
|
},
|
|
7725
7885
|
'@media (max-width: 767px)': {
|
|
7726
7886
|
bannerContainerText: {
|
|
7727
|
-
fontSize: '16px'
|
|
7887
|
+
// fontSize: '16px'
|
|
7728
7888
|
},
|
|
7729
7889
|
courseViewContainer: {
|
|
7730
7890
|
width: '100%',
|
|
@@ -7745,12 +7905,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
7745
7905
|
width: '100%'
|
|
7746
7906
|
},
|
|
7747
7907
|
videoDetailsHeading: {
|
|
7748
|
-
fontSize: '20px',
|
|
7908
|
+
// fontSize: '20px',
|
|
7749
7909
|
fontWeight: '600',
|
|
7750
7910
|
lineHeight: '20px'
|
|
7751
7911
|
},
|
|
7752
7912
|
videoTestimonialTitle: {
|
|
7753
|
-
fontSize: '24px',
|
|
7913
|
+
// fontSize: '24px',
|
|
7754
7914
|
lineHeight: '36px',
|
|
7755
7915
|
letterSpacing: '-1px'
|
|
7756
7916
|
},
|
|
@@ -7936,7 +8096,7 @@ const SingleVideoSlide = props => {
|
|
|
7936
8096
|
className: classes.offerPrice
|
|
7937
8097
|
}, "\u20B9 ", data.effectivePrice), checkForShowDiscount() && (data.endDate ? checkIfOfferIsValid() : true) && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7938
8098
|
style: {
|
|
7939
|
-
fontSize: '20px',
|
|
8099
|
+
// fontSize: '20px',
|
|
7940
8100
|
marginTop: '0px'
|
|
7941
8101
|
}
|
|
7942
8102
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
@@ -7986,12 +8146,14 @@ function CoursePromotionPage({
|
|
|
7986
8146
|
sectionIndex
|
|
7987
8147
|
}) {
|
|
7988
8148
|
const {
|
|
8149
|
+
isMobile,
|
|
7989
8150
|
layout: {
|
|
7990
8151
|
containerWidth
|
|
7991
8152
|
}
|
|
7992
8153
|
} = React.useContext(PageContext);
|
|
7993
8154
|
const classes = useCoursePromotionPage({
|
|
7994
|
-
containerWidth
|
|
8155
|
+
containerWidth,
|
|
8156
|
+
isMobile
|
|
7995
8157
|
});
|
|
7996
8158
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7997
8159
|
className: classes.courseSuperContainer
|