diy-template-components 1.1.11 → 2.0.0
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 +340 -252
- package/build/index.es.js.map +1 -1
- package/build/index.js +340 -252
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -361,13 +361,11 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
361
361
|
textAlign: 'center',
|
|
362
362
|
color: ({
|
|
363
363
|
disabled
|
|
364
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.
|
|
364
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
|
|
365
365
|
background: ({
|
|
366
366
|
disabled
|
|
367
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.
|
|
368
|
-
border:
|
|
369
|
-
disabled
|
|
370
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
|
|
367
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
|
|
368
|
+
border: 'none',
|
|
371
369
|
textDecoration: 'none',
|
|
372
370
|
cursor: ({
|
|
373
371
|
disabled
|
|
@@ -389,13 +387,13 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
389
387
|
lineHeight: '18px',
|
|
390
388
|
color: ({
|
|
391
389
|
disabled
|
|
392
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme
|
|
390
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
|
|
393
391
|
background: ({
|
|
394
392
|
disabled
|
|
395
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.
|
|
393
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.parimar?.default, 0.5).color : theme?.colors?.ctaColor,
|
|
396
394
|
border: ({
|
|
397
395
|
disabled
|
|
398
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme
|
|
396
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
|
|
399
397
|
cursor: ({
|
|
400
398
|
disabled
|
|
401
399
|
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
@@ -2081,17 +2079,13 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
|
2081
2079
|
const shape = {
|
|
2082
2080
|
borderRadius
|
|
2083
2081
|
};
|
|
2084
|
-
const spacing = {
|
|
2085
|
-
padding: isMobile ? mobilePadding : padding,
|
|
2086
|
-
margin: isMobile ? mobileMargin : margin
|
|
2087
|
-
};
|
|
2088
2082
|
return {
|
|
2089
2083
|
palette,
|
|
2090
2084
|
shape,
|
|
2091
2085
|
typography,
|
|
2092
2086
|
shadows: generateShadows(palette),
|
|
2093
|
-
borders: generateBorders(palette)
|
|
2094
|
-
spacing
|
|
2087
|
+
borders: generateBorders(palette)
|
|
2088
|
+
// spacing
|
|
2095
2089
|
};
|
|
2096
2090
|
}
|
|
2097
2091
|
|
|
@@ -2213,6 +2207,176 @@ const defaultMetadata = {
|
|
|
2213
2207
|
layout: defaultLayout
|
|
2214
2208
|
};
|
|
2215
2209
|
|
|
2210
|
+
const GRADIENT = `linear-gradient`;
|
|
2211
|
+
const allColors = {
|
|
2212
|
+
white: '#FFFFFF',
|
|
2213
|
+
black: '#000000',
|
|
2214
|
+
lightblack: '#333333',
|
|
2215
|
+
gray: '#999999',
|
|
2216
|
+
bannerRed: '#EB5757',
|
|
2217
|
+
// Blue gradient
|
|
2218
|
+
|
|
2219
|
+
blue: '#1676F3',
|
|
2220
|
+
bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
|
|
2221
|
+
tertiaryblue: '#F4F9FF',
|
|
2222
|
+
// Orange gradient
|
|
2223
|
+
|
|
2224
|
+
orange: '#FF9000',
|
|
2225
|
+
orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
|
|
2226
|
+
tertiaryorange: '#FFF6EA',
|
|
2227
|
+
// Pink gradient
|
|
2228
|
+
|
|
2229
|
+
pink: '#F72585',
|
|
2230
|
+
pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
|
|
2231
|
+
tertiarypink: '#FEE9F3',
|
|
2232
|
+
// Violet gradient
|
|
2233
|
+
|
|
2234
|
+
violet: '#6026A8',
|
|
2235
|
+
violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
|
|
2236
|
+
tertiaryviolet: '#F5F2FA',
|
|
2237
|
+
// Teal gradient
|
|
2238
|
+
|
|
2239
|
+
teal: '#46A9A9',
|
|
2240
|
+
tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
|
|
2241
|
+
tertiaryteal: '#F4FAFA',
|
|
2242
|
+
//Red solid
|
|
2243
|
+
|
|
2244
|
+
red: '#F41828',
|
|
2245
|
+
tertiaryred: '#FFF2F3',
|
|
2246
|
+
// Green
|
|
2247
|
+
|
|
2248
|
+
green: '#8ECE19',
|
|
2249
|
+
tertiarygreen: '#F4FAFA',
|
|
2250
|
+
//Maroon solid
|
|
2251
|
+
|
|
2252
|
+
rust: '#9B2226',
|
|
2253
|
+
tertiaryrust: '#FFF0F0',
|
|
2254
|
+
//Purple solid
|
|
2255
|
+
|
|
2256
|
+
purple: '#6269C9',
|
|
2257
|
+
tertiarypurple: '#F4F6FF',
|
|
2258
|
+
//Golden gradient
|
|
2259
|
+
|
|
2260
|
+
golden: `#F2BA35`,
|
|
2261
|
+
goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
|
|
2262
|
+
//light green gradient
|
|
2263
|
+
|
|
2264
|
+
lightgreen: `#D6E359`,
|
|
2265
|
+
lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
|
|
2266
|
+
//light blue gradient
|
|
2267
|
+
|
|
2268
|
+
lightblue: `#A8EDF8`,
|
|
2269
|
+
lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
|
|
2270
|
+
skyblue: '#00ADE7',
|
|
2271
|
+
tertiaryskyblue: '#F2FCFF'
|
|
2272
|
+
};
|
|
2273
|
+
|
|
2274
|
+
const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
|
|
2275
|
+
let themeColor = theme.split('-');
|
|
2276
|
+
let color, gradient, darkMode;
|
|
2277
|
+
if (themeColor.length === 1) {
|
|
2278
|
+
color = themeColor[0] == 'default' ? 'blue' : themeColor[0];
|
|
2279
|
+
} else if (themeColor.length === 2) {
|
|
2280
|
+
color = themeColor[0];
|
|
2281
|
+
gradient = themeColor[1];
|
|
2282
|
+
} else {
|
|
2283
|
+
color = themeColor[0];
|
|
2284
|
+
gradient = themeColor[1];
|
|
2285
|
+
darkMode = themeColor[2];
|
|
2286
|
+
}
|
|
2287
|
+
console.log('color', allColors, gradient, darkMode);
|
|
2288
|
+
|
|
2289
|
+
// switch (color) {
|
|
2290
|
+
// case solidColors:
|
|
2291
|
+
// break;
|
|
2292
|
+
|
|
2293
|
+
// case gradientColors:
|
|
2294
|
+
// break;
|
|
2295
|
+
|
|
2296
|
+
// default:
|
|
2297
|
+
// break;
|
|
2298
|
+
// }
|
|
2299
|
+
|
|
2300
|
+
// type 1
|
|
2301
|
+
// const solidColors = {
|
|
2302
|
+
// font1: solidBaseColors?.black,
|
|
2303
|
+
// font2: solidBaseColors?.black,
|
|
2304
|
+
// font3: solidBaseColors?.black,
|
|
2305
|
+
// font4: solidBaseColors?.black,
|
|
2306
|
+
// AccentColor: solidBaseColors[theme],
|
|
2307
|
+
// background1: solidBaseColors?.white,
|
|
2308
|
+
// background2: solidBaseColors['tertiary' + theme],
|
|
2309
|
+
// background3: solidBaseColors['tertiary' + theme],
|
|
2310
|
+
// ctaColor: solidBaseColors[theme],
|
|
2311
|
+
// CtaTextColor: solidBaseColors?.white,
|
|
2312
|
+
// icon: solidBaseColors[theme],
|
|
2313
|
+
// iconBg: solidBaseColors['tertiary' + theme],
|
|
2314
|
+
// stripBg: solidBaseColors[theme],
|
|
2315
|
+
// stripText: solidBaseColors?.white,
|
|
2316
|
+
// inputBorderColor: solidBaseColors?.blue2,
|
|
2317
|
+
// tertiaryBlue2: solidBaseColors?.tertiaryblue2
|
|
2318
|
+
// };
|
|
2319
|
+
|
|
2320
|
+
//type 2
|
|
2321
|
+
// const gradientColors = {
|
|
2322
|
+
// font1: gradientBaseColors?.white,
|
|
2323
|
+
// font2: gradientBaseColors?.black,
|
|
2324
|
+
// font3: gradientBaseColors?.black,
|
|
2325
|
+
// font4: gradientBaseColors?.white,
|
|
2326
|
+
// AccentColor: gradientBaseColors[theme],
|
|
2327
|
+
// background1: gradientBaseColors[theme + 'gradient'],
|
|
2328
|
+
// background2: gradientBaseColors['tertiary' + theme],
|
|
2329
|
+
// background3: gradientBaseColors[theme + 'gradient'],
|
|
2330
|
+
// ctaColor: gradientBaseColors[theme + 'gradient'],
|
|
2331
|
+
// CtaTextColor: gradientBaseColors?.white,
|
|
2332
|
+
// icon: gradientBaseColors[theme],
|
|
2333
|
+
// iconBg: gradientBaseColors['tertiary' + theme],
|
|
2334
|
+
// stripBg: gradientBaseColors?.black,
|
|
2335
|
+
// stripText: gradientBaseColors?.white
|
|
2336
|
+
// };
|
|
2337
|
+
|
|
2338
|
+
const colors = {
|
|
2339
|
+
font1: gradient ? allColors?.white : allColors?.black,
|
|
2340
|
+
font2: darkMode ? allColors[color] : allColors?.black,
|
|
2341
|
+
font3: darkMode ? allColors?.white : allColors?.black,
|
|
2342
|
+
font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
|
|
2343
|
+
AccentColor: allColors[color],
|
|
2344
|
+
background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
|
|
2345
|
+
background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2346
|
+
background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
|
|
2347
|
+
ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
|
|
2348
|
+
CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2349
|
+
icon: allColors[color],
|
|
2350
|
+
iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2351
|
+
stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
|
|
2352
|
+
stripText: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2353
|
+
inputBorderColor: allColors?.blue2,
|
|
2354
|
+
tertiaryBlue2: allColors?.tertiaryblue2,
|
|
2355
|
+
white: allColors?.white,
|
|
2356
|
+
black: allColors?.black,
|
|
2357
|
+
lightblack: allColors?.lightblack,
|
|
2358
|
+
gray: allColors?.gray,
|
|
2359
|
+
bannerColor: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.bannerRed,
|
|
2360
|
+
bannerCtaColor: gradient ? allColors?.lightblack : allColors?.white
|
|
2361
|
+
};
|
|
2362
|
+
const typography = {
|
|
2363
|
+
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
2364
|
+
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
2365
|
+
fontWeight
|
|
2366
|
+
};
|
|
2367
|
+
// const shape = { borderRadius };
|
|
2368
|
+
const spacing = {
|
|
2369
|
+
padding: isMobile ? mobilePadding : padding,
|
|
2370
|
+
margin: isMobile ? mobileMargin : margin
|
|
2371
|
+
};
|
|
2372
|
+
return {
|
|
2373
|
+
...getTheme(theme),
|
|
2374
|
+
typography,
|
|
2375
|
+
spacing,
|
|
2376
|
+
colors
|
|
2377
|
+
};
|
|
2378
|
+
};
|
|
2379
|
+
|
|
2216
2380
|
function PageRenderer$1({
|
|
2217
2381
|
pageData: {
|
|
2218
2382
|
metadata: {
|
|
@@ -2269,7 +2433,7 @@ function PageRenderer$1({
|
|
|
2269
2433
|
countryCode,
|
|
2270
2434
|
currencySymbol
|
|
2271
2435
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
2272
|
-
const theme = useMemo(() =>
|
|
2436
|
+
const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2273
2437
|
const Wrapper = SectionWrapper || Fragment;
|
|
2274
2438
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
2275
2439
|
theme: theme
|
|
@@ -2307,7 +2471,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2307
2471
|
padding: ({
|
|
2308
2472
|
isMobile
|
|
2309
2473
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
2310
|
-
|
|
2474
|
+
background: theme?.colors?.background2,
|
|
2311
2475
|
'&, & *, & *:before, & *:after': {
|
|
2312
2476
|
fontFamily: theme?.typography?.fontFamily,
|
|
2313
2477
|
boxSizing: 'border-box'
|
|
@@ -2365,14 +2529,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2365
2529
|
marginBottom: '8px',
|
|
2366
2530
|
fontSize: theme.typography.fontSize.subHead,
|
|
2367
2531
|
letterSpacing: '3px',
|
|
2368
|
-
color: theme?.
|
|
2532
|
+
color: theme?.colors?.font3,
|
|
2369
2533
|
wordBreak: 'break-word',
|
|
2370
2534
|
maxWidth: '100%'
|
|
2371
2535
|
},
|
|
2372
2536
|
heading: {
|
|
2373
2537
|
margin: '0',
|
|
2374
2538
|
fontSize: theme.typography.fontSize.h1,
|
|
2375
|
-
color: theme?.
|
|
2539
|
+
color: theme?.colors?.font3,
|
|
2376
2540
|
wordBreak: ({
|
|
2377
2541
|
wordBreakValue
|
|
2378
2542
|
}) => wordBreakValue || 'break-word',
|
|
@@ -2381,7 +2545,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2381
2545
|
},
|
|
2382
2546
|
description: {
|
|
2383
2547
|
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2384
|
-
color: theme?.
|
|
2548
|
+
color: theme?.colors?.font3,
|
|
2385
2549
|
lineHeight: '24px',
|
|
2386
2550
|
wordBreak: 'break-word'
|
|
2387
2551
|
},
|
|
@@ -2498,7 +2662,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2498
2662
|
width: '26px',
|
|
2499
2663
|
background: ({
|
|
2500
2664
|
inverted
|
|
2501
|
-
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.
|
|
2665
|
+
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.colors.AccentColor
|
|
2502
2666
|
},
|
|
2503
2667
|
'@media screen and (max-width: 767px)': {
|
|
2504
2668
|
sliderClass: {
|
|
@@ -2534,7 +2698,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2534
2698
|
height: sizeHandler,
|
|
2535
2699
|
border: ({
|
|
2536
2700
|
inverted
|
|
2537
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2701
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor}`,
|
|
2538
2702
|
borderRadius: '50%',
|
|
2539
2703
|
display: 'flex',
|
|
2540
2704
|
justifyContent: 'center',
|
|
@@ -2556,7 +2720,7 @@ function ArrowButton(props) {
|
|
|
2556
2720
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
2557
2721
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2558
2722
|
name: "Angle",
|
|
2559
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2723
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor,
|
|
2560
2724
|
inverted: true
|
|
2561
2725
|
}));
|
|
2562
2726
|
}
|
|
@@ -2766,7 +2930,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2766
2930
|
justifyContent: 'center',
|
|
2767
2931
|
flexDirection: 'column',
|
|
2768
2932
|
alignItems: 'center',
|
|
2769
|
-
backgroundColor: theme?.palette?.background?.default,
|
|
2770
2933
|
'&, & *, & *:before, & *:after': {
|
|
2771
2934
|
fontFamily: theme?.typography?.fontFamily,
|
|
2772
2935
|
boxSizing: 'border-box'
|
|
@@ -2784,7 +2947,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2784
2947
|
subTitleHeading: {
|
|
2785
2948
|
marginBottom: '8px',
|
|
2786
2949
|
fontSize: theme.typography.fontSize.subHead,
|
|
2787
|
-
color: theme?.
|
|
2950
|
+
color: theme?.colors?.black,
|
|
2788
2951
|
alignItems: 'center',
|
|
2789
2952
|
textAlign: 'center',
|
|
2790
2953
|
wordBreak: 'break-word',
|
|
@@ -2794,7 +2957,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2794
2957
|
heading: {
|
|
2795
2958
|
marginBottom: theme.spacing.margin.tiny,
|
|
2796
2959
|
fontSize: theme.typography.fontSize.h2,
|
|
2797
|
-
color: theme?.
|
|
2960
|
+
color: theme?.colors?.black,
|
|
2798
2961
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2799
2962
|
textAlign: 'center',
|
|
2800
2963
|
wordBreak: 'break-word'
|
|
@@ -2811,7 +2974,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2811
2974
|
display: 'flex',
|
|
2812
2975
|
width: 'calc(100% - 200px)',
|
|
2813
2976
|
alignItems: 'center',
|
|
2814
|
-
background: theme?.
|
|
2977
|
+
background: theme?.colors?.white,
|
|
2815
2978
|
boxShadow: theme?.shadows?.primary,
|
|
2816
2979
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2817
2980
|
overflow: 'hidden',
|
|
@@ -2835,33 +2998,13 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2835
2998
|
'& $contentText': {
|
|
2836
2999
|
marginLeft: '170px'
|
|
2837
3000
|
}
|
|
2838
|
-
},
|
|
2839
|
-
'&:nth-child(7n+1) $contentNumber': {
|
|
2840
|
-
background: palettes.purple.primary.lightest
|
|
2841
|
-
},
|
|
2842
|
-
'&:nth-child(7n+2) $contentNumber': {
|
|
2843
|
-
background: palettes.orange.primary.lightest
|
|
2844
|
-
},
|
|
2845
|
-
'&:nth-child(7n+3) $contentNumber': {
|
|
2846
|
-
background: palettes.red.primary.lightest
|
|
2847
|
-
},
|
|
2848
|
-
'&:nth-child(7n+4) $contentNumber': {
|
|
2849
|
-
background: palettes.green.primary.lightest
|
|
2850
|
-
},
|
|
2851
|
-
'&:nth-child(7n+5) $contentNumber': {
|
|
2852
|
-
background: palettes.pink.primary.lightest
|
|
2853
|
-
},
|
|
2854
|
-
'&:nth-child(7n+6) $contentNumber': {
|
|
2855
|
-
background: palettes.blue.primary.lightest
|
|
2856
|
-
},
|
|
2857
|
-
'&:nth-child(7n) $contentNumber': {
|
|
2858
|
-
background: palettes.rust.primary.lightest
|
|
2859
3001
|
}
|
|
2860
3002
|
},
|
|
2861
3003
|
contentNumber: {
|
|
2862
3004
|
position: 'absolute',
|
|
2863
3005
|
top: '0',
|
|
2864
3006
|
fontWeight: '700',
|
|
3007
|
+
background: theme?.colors?.background3,
|
|
2865
3008
|
fontSize: '72px',
|
|
2866
3009
|
letterSpacing: '-3px',
|
|
2867
3010
|
display: 'flex',
|
|
@@ -2869,7 +3012,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2869
3012
|
justifyContent: 'center',
|
|
2870
3013
|
padding: '48px',
|
|
2871
3014
|
height: '100%',
|
|
2872
|
-
color: theme?.
|
|
3015
|
+
color: theme?.colors?.font4,
|
|
2873
3016
|
wordBreak: 'break-word'
|
|
2874
3017
|
},
|
|
2875
3018
|
contentText: {
|
|
@@ -2881,14 +3024,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2881
3024
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2882
3025
|
lineHeight: '32px',
|
|
2883
3026
|
marginBottom: '8px',
|
|
2884
|
-
color: theme?.
|
|
3027
|
+
color: theme?.colors?.lightblack,
|
|
2885
3028
|
wordBreak: 'break-word'
|
|
2886
3029
|
},
|
|
2887
3030
|
contentPara: {
|
|
2888
3031
|
fontStyle: 'normal',
|
|
2889
3032
|
fontSize: '16px',
|
|
2890
3033
|
lineHeight: '26px',
|
|
2891
|
-
color: theme?.
|
|
3034
|
+
color: theme?.colors?.gray,
|
|
2892
3035
|
wordBreak: 'break-word'
|
|
2893
3036
|
},
|
|
2894
3037
|
'@media screen and (max-width: 767px)': {
|
|
@@ -3301,6 +3444,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3301
3444
|
return {
|
|
3302
3445
|
section: {
|
|
3303
3446
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3447
|
+
background: theme?.colors?.background2,
|
|
3304
3448
|
'&, & *, & *:before, & *:after': {
|
|
3305
3449
|
fontFamily: theme?.typography?.fontFamily,
|
|
3306
3450
|
boxSizing: 'border-box'
|
|
@@ -3344,7 +3488,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3344
3488
|
}
|
|
3345
3489
|
},
|
|
3346
3490
|
imageBorder: {
|
|
3347
|
-
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3491
|
+
// border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3348
3492
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3349
3493
|
position: 'absolute',
|
|
3350
3494
|
width: '100%',
|
|
@@ -3369,13 +3513,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3369
3513
|
marginBottom: '8px',
|
|
3370
3514
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3371
3515
|
letterSpacing: '3px',
|
|
3372
|
-
color: theme?.
|
|
3516
|
+
color: theme?.colors?.font3,
|
|
3373
3517
|
wordBreak: 'break-word'
|
|
3374
3518
|
},
|
|
3375
3519
|
heading: {
|
|
3376
3520
|
margin: '0',
|
|
3377
3521
|
fontSize: theme?.typography?.fontSize?.h1,
|
|
3378
|
-
color: theme?.
|
|
3522
|
+
color: theme?.colors?.font3,
|
|
3379
3523
|
wordBreak: ({
|
|
3380
3524
|
wordBreakValue
|
|
3381
3525
|
}) => wordBreakValue || 'break-word',
|
|
@@ -3385,7 +3529,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3385
3529
|
description: {
|
|
3386
3530
|
marginTop: theme.spacing.margin.tiny,
|
|
3387
3531
|
marginBottom: theme.spacing.margin.tiny,
|
|
3388
|
-
color: theme?.
|
|
3532
|
+
color: theme?.colors?.font3,
|
|
3389
3533
|
lineHeight: '24px',
|
|
3390
3534
|
wordBreak: 'break-word'
|
|
3391
3535
|
},
|
|
@@ -3551,16 +3695,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3551
3695
|
containerWidth
|
|
3552
3696
|
} = {}) => containerWidth
|
|
3553
3697
|
},
|
|
3554
|
-
partialBackground: {
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
},
|
|
3698
|
+
// partialBackground: {
|
|
3699
|
+
// top: '0',
|
|
3700
|
+
// left: '0',
|
|
3701
|
+
// width: '100%',
|
|
3702
|
+
// height: '50%',
|
|
3703
|
+
// position: 'absolute',
|
|
3704
|
+
// background: theme?.palette?.background?.primary
|
|
3705
|
+
// },
|
|
3562
3706
|
sectionContainer: {
|
|
3563
|
-
backgroundColor: theme?.
|
|
3707
|
+
backgroundColor: theme?.colors?.background2,
|
|
3564
3708
|
boxShadow: theme?.shadows?.secondary,
|
|
3565
3709
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3566
3710
|
padding: theme.spacing.padding.small,
|
|
@@ -3571,7 +3715,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3571
3715
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3572
3716
|
lineHeight: '71px',
|
|
3573
3717
|
letterSpacing: '-3px',
|
|
3574
|
-
color: theme?.
|
|
3718
|
+
color: theme?.colors?.font3,
|
|
3575
3719
|
marginBottom: theme.spacing.padding.tiny,
|
|
3576
3720
|
wordBreak: 'break-word'
|
|
3577
3721
|
},
|
|
@@ -3583,7 +3727,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3583
3727
|
title: {
|
|
3584
3728
|
fontSize: theme.typography.fontSize.h6,
|
|
3585
3729
|
lineHeight: '32px',
|
|
3586
|
-
color: theme?.
|
|
3730
|
+
color: theme?.colors?.font3,
|
|
3587
3731
|
wordBreak: 'break-word',
|
|
3588
3732
|
flex: 1
|
|
3589
3733
|
},
|
|
@@ -3711,8 +3855,8 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3711
3855
|
inputField: {
|
|
3712
3856
|
width: '100%',
|
|
3713
3857
|
// maxWidth: '314px',
|
|
3714
|
-
background: theme?.palette?.background?.default,
|
|
3715
|
-
border: `1px solid ${theme?.
|
|
3858
|
+
// background: theme?.palette?.background?.default,
|
|
3859
|
+
border: `1px solid ${theme?.colors?.icon}`,
|
|
3716
3860
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3717
3861
|
padding: '14px 12px',
|
|
3718
3862
|
display: 'flex',
|
|
@@ -3726,7 +3870,7 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3726
3870
|
fontWeight: '400',
|
|
3727
3871
|
fontSize: '16px',
|
|
3728
3872
|
lineHeight: '20px',
|
|
3729
|
-
color: theme?.
|
|
3873
|
+
color: theme?.colors?.black,
|
|
3730
3874
|
fontFamily: theme?.typography?.fontFamily
|
|
3731
3875
|
},
|
|
3732
3876
|
'&:focus': {
|
|
@@ -3926,7 +4070,6 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
3926
4070
|
|
|
3927
4071
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
3928
4072
|
testimonialContainer: {
|
|
3929
|
-
background: theme?.palette?.background?.primary,
|
|
3930
4073
|
overflow: 'hidden',
|
|
3931
4074
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3932
4075
|
'&, & *, & *:before, & *:after': {
|
|
@@ -3944,14 +4087,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3944
4087
|
} = {}) => containerWidth
|
|
3945
4088
|
},
|
|
3946
4089
|
testimonialText: {
|
|
3947
|
-
color: theme?.
|
|
4090
|
+
color: theme?.colors?.lightblack,
|
|
3948
4091
|
fontSize: theme.typography.fontSize.subHead,
|
|
3949
4092
|
wordBreak: 'break-word',
|
|
3950
4093
|
textTransform: 'uppercase'
|
|
3951
4094
|
},
|
|
3952
4095
|
testimonialHeader: {
|
|
3953
4096
|
fontSize: theme.typography.fontSize.h2,
|
|
3954
|
-
color: theme?.
|
|
4097
|
+
color: theme?.colors?.lightblack,
|
|
3955
4098
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3956
4099
|
marginBottom: theme.spacing.margin.tiny,
|
|
3957
4100
|
marginTop: '8px',
|
|
@@ -3968,7 +4111,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3968
4111
|
position: 'relative',
|
|
3969
4112
|
height: 'calc(100% - 12px)',
|
|
3970
4113
|
width: 'calc(100% - 24px)',
|
|
3971
|
-
background: theme?.
|
|
4114
|
+
background: theme?.colors?.background1,
|
|
3972
4115
|
boxShadow: theme?.shadows?.primary,
|
|
3973
4116
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3974
4117
|
},
|
|
@@ -3995,7 +4138,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3995
4138
|
marginBottom: theme.spacing.margin.tiny,
|
|
3996
4139
|
fontSize: theme.typography.fontSize.body,
|
|
3997
4140
|
wordBreak: 'break-word',
|
|
3998
|
-
color: theme?.
|
|
4141
|
+
color: theme?.colors?.font1,
|
|
3999
4142
|
lineHeight: '26px'
|
|
4000
4143
|
},
|
|
4001
4144
|
userContainer: {
|
|
@@ -4024,7 +4167,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4024
4167
|
marginRight: '16px'
|
|
4025
4168
|
},
|
|
4026
4169
|
userName: {
|
|
4027
|
-
color: theme?.
|
|
4170
|
+
color: theme?.colors?.font1,
|
|
4028
4171
|
margin: '0',
|
|
4029
4172
|
fontSize: theme.typography.fontSize.h5,
|
|
4030
4173
|
// paddingTop: '16px',
|
|
@@ -4043,19 +4186,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4043
4186
|
testimonialContainer: {
|
|
4044
4187
|
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
4045
4188
|
},
|
|
4046
|
-
// testimonialCardAndText: {
|
|
4047
|
-
// margin: '0 20px'
|
|
4048
|
-
// },
|
|
4049
|
-
|
|
4050
|
-
// testimonialHeader: {
|
|
4051
|
-
// fontSize: '24px',
|
|
4052
|
-
// color: theme?.palette?.font?.default,
|
|
4053
|
-
// margin: '4px 0 12px 0',
|
|
4054
|
-
// overflow: 'hidden',
|
|
4055
|
-
// // whiteSpace: 'nowrap',
|
|
4056
|
-
// wordBreak: 'break-word',
|
|
4057
|
-
// textOverflow: 'ellipsis'
|
|
4058
|
-
// },
|
|
4059
4189
|
testimonialText: {
|
|
4060
4190
|
textAlign: 'center'
|
|
4061
4191
|
},
|
|
@@ -4108,7 +4238,7 @@ function QuotesComponent() {
|
|
|
4108
4238
|
width: "28px",
|
|
4109
4239
|
height: "21px",
|
|
4110
4240
|
name: "Quote",
|
|
4111
|
-
color: theme?.
|
|
4241
|
+
color: theme?.colors?.icon
|
|
4112
4242
|
}));
|
|
4113
4243
|
}
|
|
4114
4244
|
|
|
@@ -4638,7 +4768,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4638
4768
|
padding: ({
|
|
4639
4769
|
isMobile
|
|
4640
4770
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4641
|
-
backgroundColor: theme?.
|
|
4771
|
+
backgroundColor: theme?.colors?.background2,
|
|
4642
4772
|
'&, & *, & *:before, & *:after': {
|
|
4643
4773
|
fontFamily: theme?.typography?.fontFamily,
|
|
4644
4774
|
boxSizing: 'border-box'
|
|
@@ -4661,7 +4791,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4661
4791
|
fontSize: theme.typography.fontSize.subHead,
|
|
4662
4792
|
textTransform: 'uppercase',
|
|
4663
4793
|
lineHeight: '20px',
|
|
4664
|
-
color: theme?.
|
|
4794
|
+
color: theme?.colors?.font2,
|
|
4665
4795
|
letterSpacing: '3px',
|
|
4666
4796
|
wordBreak: 'break-word'
|
|
4667
4797
|
},
|
|
@@ -4672,14 +4802,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4672
4802
|
letterSpacing: '-3px',
|
|
4673
4803
|
marginBottom: theme.spacing.margin.tiny,
|
|
4674
4804
|
marginTop: '8px',
|
|
4675
|
-
color: theme?.
|
|
4805
|
+
color: theme?.colors?.font2,
|
|
4676
4806
|
wordBreak: 'break-word'
|
|
4677
4807
|
},
|
|
4678
4808
|
sliderContainer: {
|
|
4679
4809
|
marginRight: `-${theme.spacing.padding.medium}px`
|
|
4680
4810
|
},
|
|
4681
4811
|
singleSlideContainer: {
|
|
4682
|
-
backgroundColor:
|
|
4812
|
+
backgroundColor: 'white',
|
|
4683
4813
|
// margin: '20px',
|
|
4684
4814
|
width: 'calc(100% - 24px)',
|
|
4685
4815
|
height: 'calc(100% - 40px)',
|
|
@@ -4716,14 +4846,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4716
4846
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4717
4847
|
lineHeight: '32px',
|
|
4718
4848
|
marginBottom: '8px',
|
|
4719
|
-
color: theme?.
|
|
4849
|
+
color: theme?.colors?.lightblack,
|
|
4720
4850
|
wordBreak: 'break-word'
|
|
4721
4851
|
},
|
|
4722
4852
|
videoDetailsSubHeading: {
|
|
4723
4853
|
fontSize: theme.typography.fontSize.body,
|
|
4724
4854
|
lineHeight: '24px',
|
|
4725
4855
|
wordBreak: 'break-word',
|
|
4726
|
-
color: theme?.
|
|
4856
|
+
color: theme?.colors?.gray
|
|
4727
4857
|
},
|
|
4728
4858
|
'@media (max-width: 767px)': {
|
|
4729
4859
|
videoHeading: {
|
|
@@ -4870,11 +5000,10 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4870
5000
|
|
|
4871
5001
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4872
5002
|
section: {
|
|
4873
|
-
position: 'relative',
|
|
4874
5003
|
padding: ({
|
|
4875
5004
|
isMobile
|
|
4876
5005
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px 0px ${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4877
|
-
|
|
5006
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
4878
5007
|
'&, & *, & *:before, & *:after': {
|
|
4879
5008
|
fontFamily: theme?.typography?.fontFamily,
|
|
4880
5009
|
boxSizing: 'border-box'
|
|
@@ -4893,21 +5022,13 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4893
5022
|
containerWidth
|
|
4894
5023
|
} = {}) => containerWidth
|
|
4895
5024
|
},
|
|
4896
|
-
partialBackground: {
|
|
4897
|
-
position: 'absolute',
|
|
4898
|
-
top: '0',
|
|
4899
|
-
left: '0',
|
|
4900
|
-
height: '50%',
|
|
4901
|
-
background: theme?.palette?.background?.primary,
|
|
4902
|
-
width: '100%'
|
|
4903
|
-
},
|
|
4904
5025
|
content: {
|
|
4905
5026
|
position: 'relative'
|
|
4906
5027
|
},
|
|
4907
5028
|
subTitleHeading: {
|
|
4908
5029
|
width: '100%',
|
|
4909
5030
|
fontSize: theme.typography.fontSize.subHead,
|
|
4910
|
-
color: theme?.
|
|
5031
|
+
color: theme?.colors?.font2,
|
|
4911
5032
|
textTransform: 'uppercase',
|
|
4912
5033
|
textAlign: 'left',
|
|
4913
5034
|
lineHeight: '20px',
|
|
@@ -4919,7 +5040,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4919
5040
|
fontSize: theme.typography.fontSize.h2,
|
|
4920
5041
|
width: '100%',
|
|
4921
5042
|
lineHeight: '70px',
|
|
4922
|
-
color: theme?.
|
|
5043
|
+
color: theme?.colors?.font2,
|
|
4923
5044
|
textAlign: 'left',
|
|
4924
5045
|
wordBreak: 'break-word'
|
|
4925
5046
|
},
|
|
@@ -4929,7 +5050,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4929
5050
|
// },
|
|
4930
5051
|
|
|
4931
5052
|
card: {
|
|
4932
|
-
background: theme?.
|
|
5053
|
+
background: theme?.colors?.white,
|
|
4933
5054
|
boxShadow: theme?.shadows?.primary,
|
|
4934
5055
|
borderRadius: theme.shape.borderRadius.large,
|
|
4935
5056
|
margin: ({
|
|
@@ -4950,7 +5071,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4950
5071
|
textAlign: 'center',
|
|
4951
5072
|
fontSize: theme.typography.fontSize.h6,
|
|
4952
5073
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4953
|
-
color: theme?.
|
|
5074
|
+
color: theme?.colors?.lightblack,
|
|
4954
5075
|
margin: `16px 0px`,
|
|
4955
5076
|
wordBreak: 'break-word'
|
|
4956
5077
|
},
|
|
@@ -4962,7 +5083,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4962
5083
|
alignItems: 'center',
|
|
4963
5084
|
justifyContent: 'center',
|
|
4964
5085
|
borderRadius: '50%',
|
|
4965
|
-
background: theme?.
|
|
5086
|
+
background: theme?.colors?.background2
|
|
4966
5087
|
},
|
|
4967
5088
|
buttonContainerClass: {
|
|
4968
5089
|
marginRight: theme.spacing.margin.regular,
|
|
@@ -4976,7 +5097,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4976
5097
|
textAlign: 'center',
|
|
4977
5098
|
fontSize: theme.typography.fontSize.body,
|
|
4978
5099
|
lineHeight: '22px',
|
|
4979
|
-
color: theme?.
|
|
5100
|
+
color: theme?.colors?.gray,
|
|
4980
5101
|
margin: '0',
|
|
4981
5102
|
wordBreak: 'break-word'
|
|
4982
5103
|
},
|
|
@@ -5062,7 +5183,7 @@ function Info({
|
|
|
5062
5183
|
className: classes.imageContainer
|
|
5063
5184
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
5064
5185
|
name: dt.icon.metadata.value,
|
|
5065
|
-
color: theme
|
|
5186
|
+
color: theme?.colors?.icon,
|
|
5066
5187
|
width: isMobile ? '30px' : '40px',
|
|
5067
5188
|
height: isMobile ? '30px' : '40px'
|
|
5068
5189
|
})), /*#__PURE__*/React.createElement("h3", {
|
|
@@ -5119,7 +5240,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5119
5240
|
padding: ({
|
|
5120
5241
|
isMobile
|
|
5121
5242
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5122
|
-
backgroundColor: theme?.
|
|
5243
|
+
backgroundColor: theme?.colors?.background2,
|
|
5123
5244
|
'&, & *, & *:before, & *:after': {
|
|
5124
5245
|
fontFamily: theme?.typography?.fontFamily,
|
|
5125
5246
|
boxSizing: 'border-box'
|
|
@@ -5136,7 +5257,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5136
5257
|
subHeading: {
|
|
5137
5258
|
fontSize: theme.typography.fontSize.subHead,
|
|
5138
5259
|
marginBottom: '8px',
|
|
5139
|
-
color: theme?.
|
|
5260
|
+
color: theme?.colors?.font3,
|
|
5140
5261
|
wordBreak: 'break-word',
|
|
5141
5262
|
textTransform: 'uppercase',
|
|
5142
5263
|
letterSpacing: '3px'
|
|
@@ -5146,7 +5267,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5146
5267
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5147
5268
|
lineHeight: 'normal',
|
|
5148
5269
|
margin: '0',
|
|
5149
|
-
color: theme?.
|
|
5270
|
+
color: theme?.colors?.font3,
|
|
5150
5271
|
wordBreak: 'break-word',
|
|
5151
5272
|
marginBottom: theme.spacing.margin.tiny
|
|
5152
5273
|
},
|
|
@@ -5157,7 +5278,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5157
5278
|
padding: '32px 0px'
|
|
5158
5279
|
},
|
|
5159
5280
|
textPara: {
|
|
5160
|
-
color: theme?.
|
|
5281
|
+
color: theme?.colors?.font3,
|
|
5161
5282
|
wordBreak: 'break-word',
|
|
5162
5283
|
fontSize: theme.typography.fontSize.body,
|
|
5163
5284
|
lineHeight: '24px'
|
|
@@ -5464,7 +5585,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5464
5585
|
padding: ({
|
|
5465
5586
|
isMobile
|
|
5466
5587
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5467
|
-
backgroundColor: theme?.
|
|
5588
|
+
backgroundColor: theme?.colors?.background2,
|
|
5468
5589
|
'&, & *, & *:before, & *:after': {
|
|
5469
5590
|
fontFamily: theme?.typography?.fontFamily,
|
|
5470
5591
|
boxSizing: 'border-box'
|
|
@@ -5479,7 +5600,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5479
5600
|
} = {}) => containerWidth
|
|
5480
5601
|
},
|
|
5481
5602
|
sectionSubheading: {
|
|
5482
|
-
color: theme?.
|
|
5603
|
+
color: theme?.colors?.font3,
|
|
5483
5604
|
fontSize: theme.typography.fontSize.subHead,
|
|
5484
5605
|
marginBottom: '8px',
|
|
5485
5606
|
wordBreak: 'break-word'
|
|
@@ -5488,15 +5609,16 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5488
5609
|
fontSize: theme.typography.fontSize.h2,
|
|
5489
5610
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5490
5611
|
wordBreak: 'break-word',
|
|
5491
|
-
marginBottom: `${theme.spacing.margin.tiny}px
|
|
5612
|
+
marginBottom: `${theme.spacing.margin.tiny}px`,
|
|
5613
|
+
color: theme?.colors?.font3
|
|
5492
5614
|
},
|
|
5493
5615
|
container: {
|
|
5494
5616
|
boxShadow: theme?.shadows?.secondary,
|
|
5495
5617
|
borderRadius: '8px',
|
|
5496
|
-
backgroundColor: theme?.
|
|
5618
|
+
backgroundColor: theme?.colors?.white
|
|
5497
5619
|
},
|
|
5498
5620
|
basicCardContainer: {
|
|
5499
|
-
borderBottom:
|
|
5621
|
+
borderBottom: `1px solid #D8E0F0`,
|
|
5500
5622
|
padding: `${theme.spacing.padding.tiny}px`
|
|
5501
5623
|
},
|
|
5502
5624
|
innerContainer: {
|
|
@@ -5515,14 +5637,14 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5515
5637
|
alignItems: 'center'
|
|
5516
5638
|
},
|
|
5517
5639
|
title: {
|
|
5518
|
-
color: theme?.
|
|
5640
|
+
color: theme?.colors?.lightblack,
|
|
5519
5641
|
fontSize: theme.typography.fontSize.h5,
|
|
5520
5642
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5521
5643
|
margin: '0',
|
|
5522
5644
|
wordBreak: 'break-word'
|
|
5523
5645
|
},
|
|
5524
5646
|
content: {
|
|
5525
|
-
color: theme?.
|
|
5647
|
+
color: theme?.colors?.lightblack,
|
|
5526
5648
|
fontSize: theme.typography.fontSize.body,
|
|
5527
5649
|
lineHeight: '24px',
|
|
5528
5650
|
maxHeight: ({
|
|
@@ -5642,11 +5764,10 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5642
5764
|
|
|
5643
5765
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5644
5766
|
section: {
|
|
5767
|
+
background: theme.colors.background1,
|
|
5645
5768
|
padding: ({
|
|
5646
5769
|
isMobile
|
|
5647
5770
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5648
|
-
// backgroundColor: theme?.palette?.background?.primary,
|
|
5649
|
-
|
|
5650
5771
|
'&, & *, & *:before, & *:after': {
|
|
5651
5772
|
fontFamily: theme?.typography?.fontFamily,
|
|
5652
5773
|
boxSizing: 'border-box'
|
|
@@ -5654,14 +5775,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5654
5775
|
'& h2,& h3,& p': {
|
|
5655
5776
|
marginTop: '0'
|
|
5656
5777
|
}
|
|
5657
|
-
// '& h2,& h3': {
|
|
5658
|
-
// fontWeight: '500',
|
|
5659
|
-
// '& b,& strong': {
|
|
5660
|
-
// fontWeight: '700'
|
|
5661
|
-
// }
|
|
5662
|
-
// }
|
|
5663
5778
|
},
|
|
5664
|
-
|
|
5665
5779
|
sectionContainer: {
|
|
5666
5780
|
margin: '0 auto',
|
|
5667
5781
|
maxWidth: ({
|
|
@@ -5669,7 +5783,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5669
5783
|
} = {}) => containerWidth
|
|
5670
5784
|
},
|
|
5671
5785
|
subheading: {
|
|
5672
|
-
color: theme?.
|
|
5786
|
+
color: theme?.colors?.font1,
|
|
5673
5787
|
fontSize: theme.typography.fontSize.subHead,
|
|
5674
5788
|
lineHeight: '20px',
|
|
5675
5789
|
letterSpacing: '3px',
|
|
@@ -5683,7 +5797,8 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5683
5797
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5684
5798
|
letterSpacing: '-3px',
|
|
5685
5799
|
marginBottom: theme.spacing.margin.tiny,
|
|
5686
|
-
wordBreak: 'break-word'
|
|
5800
|
+
wordBreak: 'break-word',
|
|
5801
|
+
color: theme?.colors?.font1
|
|
5687
5802
|
},
|
|
5688
5803
|
sliderContainer: {
|
|
5689
5804
|
margin: '0 -10px'
|
|
@@ -5953,7 +6068,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5953
6068
|
display: 'flex',
|
|
5954
6069
|
justifyContent: 'flex-start',
|
|
5955
6070
|
alignItems: 'center',
|
|
5956
|
-
fontSize: theme.typography.fontSize.
|
|
6071
|
+
fontSize: theme.typography.fontSize.body,
|
|
5957
6072
|
color: theme?.palette?.font?.primary,
|
|
5958
6073
|
'& img': {
|
|
5959
6074
|
marginRight: '5px'
|
|
@@ -5986,8 +6101,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5986
6101
|
},
|
|
5987
6102
|
courseCardBuyBtn: {
|
|
5988
6103
|
cursor: 'pointer',
|
|
5989
|
-
background: theme?.
|
|
5990
|
-
color: theme?.
|
|
6104
|
+
background: theme?.colors?.ctaColor,
|
|
6105
|
+
color: theme?.colors?.CtaTextColor,
|
|
5991
6106
|
padding: '8px 16px',
|
|
5992
6107
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5993
6108
|
cursor: 'pointer',
|
|
@@ -6360,11 +6475,10 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
6360
6475
|
const useTeamStyles = createUseStyles(theme => {
|
|
6361
6476
|
return {
|
|
6362
6477
|
teamSuperContainer: {
|
|
6478
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6363
6479
|
padding: ({
|
|
6364
6480
|
isMobile
|
|
6365
6481
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
6366
|
-
// backgroundColor: theme?.palette?.background?.primary,
|
|
6367
|
-
|
|
6368
6482
|
'&, & *, & *:before, & *:after': {
|
|
6369
6483
|
fontFamily: theme?.typography?.fontFamily,
|
|
6370
6484
|
boxSizing: 'border-box'
|
|
@@ -6385,25 +6499,17 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6385
6499
|
lineHeight: '20px',
|
|
6386
6500
|
letterSpacing: '3px',
|
|
6387
6501
|
marginBottom: '8px',
|
|
6388
|
-
color: theme?.
|
|
6502
|
+
color: theme?.colors?.font2,
|
|
6389
6503
|
// wordBreak: 'break-word',
|
|
6390
6504
|
position: 'relative'
|
|
6391
6505
|
},
|
|
6392
|
-
partialBackground: {
|
|
6393
|
-
position: 'absolute',
|
|
6394
|
-
top: '0',
|
|
6395
|
-
left: '0',
|
|
6396
|
-
height: '50%',
|
|
6397
|
-
background: theme?.palette?.background?.primary,
|
|
6398
|
-
width: '100%'
|
|
6399
|
-
},
|
|
6400
6506
|
teamTitle: {
|
|
6401
6507
|
fontSize: theme.typography.fontSize.h2,
|
|
6402
6508
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6403
6509
|
lineHeight: '70px',
|
|
6404
6510
|
letterSpacing: '-3px',
|
|
6405
6511
|
wordBreak: 'break-word',
|
|
6406
|
-
color: theme?.
|
|
6512
|
+
color: theme?.colors?.font2,
|
|
6407
6513
|
position: 'relative'
|
|
6408
6514
|
},
|
|
6409
6515
|
sliderContainer: {
|
|
@@ -6495,12 +6601,10 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6495
6601
|
teamDetailsHeading: {
|
|
6496
6602
|
fontSize: '16px',
|
|
6497
6603
|
lineHeight: '24px',
|
|
6498
|
-
margin: '0'
|
|
6499
|
-
color: theme?.palette?.font?.body
|
|
6604
|
+
margin: '0'
|
|
6500
6605
|
},
|
|
6501
6606
|
teamDetailsSubHeading: {
|
|
6502
|
-
marginTop: '0px'
|
|
6503
|
-
color: theme?.palette?.font?.primary
|
|
6607
|
+
marginTop: '0px'
|
|
6504
6608
|
}
|
|
6505
6609
|
}
|
|
6506
6610
|
};
|
|
@@ -6611,7 +6715,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6611
6715
|
justifyContent: 'center',
|
|
6612
6716
|
flexDirection: 'column',
|
|
6613
6717
|
alignItems: 'center',
|
|
6614
|
-
|
|
6718
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6615
6719
|
padding: ({
|
|
6616
6720
|
isMobile
|
|
6617
6721
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
@@ -6633,16 +6737,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6633
6737
|
containerWidth
|
|
6634
6738
|
} = {}) => containerWidth
|
|
6635
6739
|
},
|
|
6636
|
-
partialBackground: {
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
},
|
|
6740
|
+
// partialBackground: {
|
|
6741
|
+
// top: '0',
|
|
6742
|
+
// left: '0',
|
|
6743
|
+
// width: '100%',
|
|
6744
|
+
// height: '50%',
|
|
6745
|
+
// position: 'absolute',
|
|
6746
|
+
// background: theme?.colors?.white
|
|
6747
|
+
// },
|
|
6644
6748
|
sectionContainer: {
|
|
6645
|
-
backgroundColor: theme?.
|
|
6749
|
+
backgroundColor: theme?.colors?.white,
|
|
6646
6750
|
boxShadow: theme?.shadows?.secondary,
|
|
6647
6751
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6648
6752
|
padding: '48px',
|
|
@@ -6651,7 +6755,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6651
6755
|
title: {
|
|
6652
6756
|
margin: '0',
|
|
6653
6757
|
fontSize: theme.typography.fontSize.h2,
|
|
6654
|
-
color: theme?.
|
|
6758
|
+
color: theme?.colors?.lightblack,
|
|
6655
6759
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6656
6760
|
lineHeight: '71px',
|
|
6657
6761
|
letterSpacing: '-3px',
|
|
@@ -6674,7 +6778,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6674
6778
|
subtitle: {
|
|
6675
6779
|
// margin: '0 0 40px 0',
|
|
6676
6780
|
fontSize: theme.typography.fontSize.h5,
|
|
6677
|
-
color: theme?.
|
|
6781
|
+
color: theme?.colors?.lightblack,
|
|
6678
6782
|
lineHeight: '32px',
|
|
6679
6783
|
wordBreak: 'break-word',
|
|
6680
6784
|
marginBottom: '32px'
|
|
@@ -6697,7 +6801,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6697
6801
|
},
|
|
6698
6802
|
addressText: {
|
|
6699
6803
|
fontSize: theme.typography.fontSize.h6,
|
|
6700
|
-
color: theme?.
|
|
6804
|
+
color: theme?.colors?.lightblack,
|
|
6701
6805
|
lineHeight: '24px',
|
|
6702
6806
|
fontSize: '16px'
|
|
6703
6807
|
},
|
|
@@ -7034,7 +7138,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7034
7138
|
padding: ({
|
|
7035
7139
|
isMobile
|
|
7036
7140
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
7037
|
-
|
|
7141
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
7038
7142
|
'&, & *, & *:before, & *:after': {
|
|
7039
7143
|
fontFamily: theme?.typography?.fontFamily,
|
|
7040
7144
|
boxSizing: 'border-box'
|
|
@@ -7054,16 +7158,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7054
7158
|
containerWidth
|
|
7055
7159
|
} = {}) => containerWidth
|
|
7056
7160
|
},
|
|
7057
|
-
partialBackground: {
|
|
7058
|
-
top: '0',
|
|
7059
|
-
left: '0',
|
|
7060
|
-
width: '100%',
|
|
7061
|
-
height: '50%',
|
|
7062
|
-
position: 'absolute',
|
|
7063
|
-
background: theme?.palette?.background?.primary
|
|
7064
|
-
},
|
|
7065
7161
|
sectionContainer: {
|
|
7066
|
-
backgroundColor: theme?.
|
|
7162
|
+
backgroundColor: theme?.colors?.white,
|
|
7067
7163
|
boxShadow: theme?.shadows?.secondary,
|
|
7068
7164
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7069
7165
|
padding: '48px',
|
|
@@ -7072,7 +7168,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7072
7168
|
title: {
|
|
7073
7169
|
margin: '0',
|
|
7074
7170
|
fontSize: theme.typography.fontSize.h2,
|
|
7075
|
-
color: theme?.
|
|
7171
|
+
color: theme?.colors?.lightblack?.default,
|
|
7076
7172
|
lineHeight: '71px',
|
|
7077
7173
|
letterSpacing: '-3px',
|
|
7078
7174
|
textAlign: 'left',
|
|
@@ -7097,7 +7193,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7097
7193
|
subtitle: {
|
|
7098
7194
|
// margin: '0 0 auto 0',
|
|
7099
7195
|
fontSize: theme.typography.fontSize.h6,
|
|
7100
|
-
color: theme?.
|
|
7196
|
+
color: theme?.colors?.lightblack,
|
|
7101
7197
|
// lineHeight: '32px',
|
|
7102
7198
|
// margin: '16px 0',
|
|
7103
7199
|
textAlign: 'center',
|
|
@@ -7128,8 +7224,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7128
7224
|
inputField: {
|
|
7129
7225
|
width: '100%',
|
|
7130
7226
|
// maxWidth: '314px',
|
|
7131
|
-
background: theme?.palette?.background?.default,
|
|
7132
|
-
border: `1px solid ${theme?.
|
|
7227
|
+
// background: theme?.palette?.background?.default,
|
|
7228
|
+
border: `1px solid ${theme?.colors?.cta}`,
|
|
7133
7229
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7134
7230
|
// padding: '14px 12px',
|
|
7135
7231
|
display: 'flex',
|
|
@@ -7142,7 +7238,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7142
7238
|
fontWeight: '400',
|
|
7143
7239
|
fontSize: theme.typography.fontSize.subHead,
|
|
7144
7240
|
lineHeight: '20px',
|
|
7145
|
-
color: theme?.
|
|
7241
|
+
color: theme?.colors?.lightblack,
|
|
7146
7242
|
fontFamily: theme?.typography?.fontFamily
|
|
7147
7243
|
},
|
|
7148
7244
|
'&:focus': {
|
|
@@ -7455,6 +7551,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7455
7551
|
webinarSuperContainer: {
|
|
7456
7552
|
display: 'flex',
|
|
7457
7553
|
justifyContent: 'center',
|
|
7554
|
+
background: theme.colors.background1,
|
|
7458
7555
|
padding: ({
|
|
7459
7556
|
isMobile
|
|
7460
7557
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7477,30 +7574,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7477
7574
|
maxWidth: '1440px',
|
|
7478
7575
|
fontFamily: theme?.typography?.fontFamily
|
|
7479
7576
|
},
|
|
7480
|
-
// videoTestimonialHeading: {
|
|
7481
|
-
// fontSize: theme.typography.fontSize.subHead,
|
|
7482
|
-
// lineHeight: '20px',
|
|
7483
|
-
// letterSpacing: '3px',
|
|
7484
|
-
// textTransform: 'uppercase',
|
|
7485
|
-
// color: theme.palette.font.tertiary,
|
|
7486
|
-
// wordBreak: 'break-word',
|
|
7487
|
-
// fontWeight: theme.typography.fontWeight.bold,
|
|
7488
|
-
// },
|
|
7489
|
-
|
|
7490
|
-
// videoTestimonialTitle: {
|
|
7491
|
-
// fontSize: theme.typography.fontSize.h2,
|
|
7492
|
-
// lineHeight: '71px',
|
|
7493
|
-
// fontWeight: theme.typography.fontWeight.bold,
|
|
7494
|
-
// letterSpacing: '-3px',
|
|
7495
|
-
// margin: '0',
|
|
7496
|
-
// color: theme.palette.font.default,
|
|
7497
|
-
// wordBreak: 'break-word'
|
|
7498
|
-
// },
|
|
7499
|
-
|
|
7500
|
-
// videoCarouselContainer: {
|
|
7501
|
-
// marginTop: '16px'
|
|
7502
|
-
// },
|
|
7503
|
-
|
|
7504
7577
|
webinarCarousel: {
|
|
7505
7578
|
display: 'flex',
|
|
7506
7579
|
justifyContent: 'flex-start',
|
|
@@ -7529,8 +7602,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7529
7602
|
},
|
|
7530
7603
|
offerText: {
|
|
7531
7604
|
textAlign: 'center',
|
|
7532
|
-
color: theme
|
|
7533
|
-
marginBottom: '5%'
|
|
7605
|
+
color: theme?.colors?.lightblack,
|
|
7606
|
+
marginBottom: '5% !important',
|
|
7607
|
+
fontWeight: '700'
|
|
7534
7608
|
},
|
|
7535
7609
|
offerPrice: {
|
|
7536
7610
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -7576,7 +7650,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7576
7650
|
margin: '0',
|
|
7577
7651
|
letterSpacing: '-1px',
|
|
7578
7652
|
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7579
|
-
color: theme
|
|
7653
|
+
color: theme?.colors?.font1
|
|
7580
7654
|
},
|
|
7581
7655
|
courseViewContainer: {
|
|
7582
7656
|
width: '645px',
|
|
@@ -7590,8 +7664,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7590
7664
|
},
|
|
7591
7665
|
bannerContainer: {
|
|
7592
7666
|
width: '100%',
|
|
7593
|
-
background:
|
|
7594
|
-
color:
|
|
7667
|
+
background: theme?.colors?.bannerColor,
|
|
7668
|
+
color: theme?.colors?.bannerCtaColor,
|
|
7669
|
+
fontWeight: '600',
|
|
7595
7670
|
textAlign: 'center',
|
|
7596
7671
|
padding: '10px 10px 23px 40px',
|
|
7597
7672
|
wordWrap: 'break-word',
|
|
@@ -7610,24 +7685,26 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7610
7685
|
display: 'flex',
|
|
7611
7686
|
alignItems: 'center',
|
|
7612
7687
|
marginRight: '20px',
|
|
7688
|
+
color: theme?.colors?.font1,
|
|
7613
7689
|
'& div': {
|
|
7614
|
-
fontSize: theme.typography.fontSize.
|
|
7690
|
+
fontSize: theme.typography.fontSize.body,
|
|
7615
7691
|
marginLeft: '10px'
|
|
7616
7692
|
}
|
|
7617
7693
|
},
|
|
7618
7694
|
courseDetailContent: {
|
|
7619
|
-
fontSize: theme.typography.fontSize.
|
|
7695
|
+
fontSize: theme.typography.fontSize.body,
|
|
7696
|
+
lineHeight: '21px',
|
|
7620
7697
|
wordBreak: 'break-word',
|
|
7621
|
-
color: theme
|
|
7698
|
+
color: theme?.colors?.font1,
|
|
7622
7699
|
whiteSpace: 'pre-wrap',
|
|
7623
7700
|
width: '80%'
|
|
7624
7701
|
},
|
|
7625
7702
|
courseDetailViewFullDetails: {
|
|
7626
7703
|
cursor: 'pointer',
|
|
7627
|
-
fontSize: theme.typography.fontSize.
|
|
7704
|
+
fontSize: theme.typography.fontSize.body,
|
|
7628
7705
|
lineHeight: '24px',
|
|
7706
|
+
color: theme?.colors?.font1,
|
|
7629
7707
|
marginTop: '-20px',
|
|
7630
|
-
color: '#00ADE7',
|
|
7631
7708
|
wordBreak: 'break-word'
|
|
7632
7709
|
},
|
|
7633
7710
|
courseDetailTime: {
|
|
@@ -7642,7 +7719,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7642
7719
|
display: 'flex',
|
|
7643
7720
|
width: '36px',
|
|
7644
7721
|
height: '36px',
|
|
7645
|
-
backgroundColor:
|
|
7722
|
+
backgroundColor: theme?.colors?.icon,
|
|
7646
7723
|
justifyContent: 'center',
|
|
7647
7724
|
alignItems: 'center',
|
|
7648
7725
|
borderRadius: '6px'
|
|
@@ -7834,14 +7911,15 @@ const SingleVideoSlide$1 = props => {
|
|
|
7834
7911
|
className: classes.iconBackground
|
|
7835
7912
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7836
7913
|
name: 'Calendar',
|
|
7837
|
-
|
|
7914
|
+
width: "24px",
|
|
7915
|
+
color: theme?.colors?.background2
|
|
7838
7916
|
})), /*#__PURE__*/React.createElement("div", null, moment(data.startDate).locale(momentLocale).format('Do MMM YY') + ' ', moment(data.startTime).locale(momentLocale).format('h:mm A'), /*#__PURE__*/React.createElement("span", null, " - "), moment(data.endTime).locale(momentLocale).format('h:mm A'))), /*#__PURE__*/React.createElement("div", {
|
|
7839
7917
|
className: classes.courseDetailTag
|
|
7840
7918
|
}, /*#__PURE__*/React.createElement("span", {
|
|
7841
7919
|
className: classes.iconBackground
|
|
7842
7920
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7843
|
-
color: theme
|
|
7844
|
-
width: "
|
|
7921
|
+
color: theme?.colors?.background2,
|
|
7922
|
+
width: "24px",
|
|
7845
7923
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7846
7924
|
})), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
|
|
7847
7925
|
ref: data?.videoTextContent?.refSetter,
|
|
@@ -7948,13 +8026,15 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
7948
8026
|
});
|
|
7949
8027
|
|
|
7950
8028
|
const useCoursePromotionPage = createUseStyles(theme => {
|
|
8029
|
+
console.log(theme, 'themere');
|
|
7951
8030
|
return {
|
|
7952
8031
|
courseSuperContainer: {
|
|
7953
8032
|
display: 'flex',
|
|
7954
8033
|
justifyContent: 'center',
|
|
8034
|
+
background: theme?.colors?.background1,
|
|
7955
8035
|
padding: ({
|
|
7956
8036
|
isMobile
|
|
7957
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
8037
|
+
} = {}) => isMobile ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
7958
8038
|
'&, & *, & *:before, & *:after': {
|
|
7959
8039
|
fontFamily: theme?.typography?.fontFamily,
|
|
7960
8040
|
boxSizing: 'border-box'
|
|
@@ -8025,7 +8105,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8025
8105
|
|
|
8026
8106
|
offerText: {
|
|
8027
8107
|
textAlign: 'center',
|
|
8028
|
-
color: theme.palette.font.primary
|
|
8108
|
+
color: theme.palette.font.primary,
|
|
8109
|
+
fontWeight: '700'
|
|
8029
8110
|
},
|
|
8030
8111
|
offerPrice: {
|
|
8031
8112
|
fontSize: theme.typography.fontSize.h4,
|
|
@@ -8072,7 +8153,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8072
8153
|
margin: '0',
|
|
8073
8154
|
letterSpacing: '-1px',
|
|
8074
8155
|
wordBreak: 'break-word',
|
|
8075
|
-
color: theme
|
|
8156
|
+
color: theme?.colors?.font1
|
|
8076
8157
|
},
|
|
8077
8158
|
courseViewContainer: {
|
|
8078
8159
|
width: '445px',
|
|
@@ -8087,8 +8168,9 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8087
8168
|
|
|
8088
8169
|
bannerContainer: {
|
|
8089
8170
|
width: '100%',
|
|
8090
|
-
background:
|
|
8091
|
-
color:
|
|
8171
|
+
background: theme?.colors?.bannerColor,
|
|
8172
|
+
color: theme?.colors?.bannerCtaColor,
|
|
8173
|
+
fontWeight: '600',
|
|
8092
8174
|
textAlign: 'center',
|
|
8093
8175
|
padding: '10px 10px 23px 40px',
|
|
8094
8176
|
wordWrap: 'break-word',
|
|
@@ -8109,8 +8191,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8109
8191
|
},
|
|
8110
8192
|
courseEmblem: {
|
|
8111
8193
|
background: '#F0F4F8',
|
|
8112
|
-
fontSize:
|
|
8113
|
-
borderRadius: '
|
|
8194
|
+
fontSize: theme.typography.fontSize.body,
|
|
8195
|
+
borderRadius: '4px',
|
|
8114
8196
|
padding: '8px',
|
|
8115
8197
|
display: 'flex',
|
|
8116
8198
|
alignItems: 'center',
|
|
@@ -8126,6 +8208,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8126
8208
|
display: 'flex',
|
|
8127
8209
|
alignItems: 'center',
|
|
8128
8210
|
marginRight: '20px',
|
|
8211
|
+
color: theme?.colors?.font1,
|
|
8129
8212
|
'& div': {
|
|
8130
8213
|
fontSize: theme.typography.fontSize.body,
|
|
8131
8214
|
fontWeight: theme.typography.fontWeight.medium,
|
|
@@ -8133,20 +8216,21 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8133
8216
|
}
|
|
8134
8217
|
},
|
|
8135
8218
|
courseDetailContent: {
|
|
8136
|
-
|
|
8219
|
+
marginTop: '20px',
|
|
8137
8220
|
fontSize: theme.typography.fontSize.body,
|
|
8138
|
-
lineHeight: '
|
|
8221
|
+
lineHeight: '21px',
|
|
8139
8222
|
wordBreak: 'break-word',
|
|
8140
|
-
color: theme
|
|
8223
|
+
color: theme?.colors?.font1,
|
|
8141
8224
|
whiteSpace: 'pre-wrap',
|
|
8142
8225
|
margin: '10px 0 20px'
|
|
8143
8226
|
},
|
|
8144
8227
|
courseDetailViewFullDetails: {
|
|
8145
8228
|
cursor: 'pointer',
|
|
8146
|
-
fontSize: theme.typography.fontSize.
|
|
8147
|
-
|
|
8148
|
-
|
|
8149
|
-
|
|
8229
|
+
fontSize: theme.typography.fontSize.body,
|
|
8230
|
+
textDecoration: 'underline',
|
|
8231
|
+
lineHeight: '21px',
|
|
8232
|
+
marginTop: '20px',
|
|
8233
|
+
color: theme.colors?.font1,
|
|
8150
8234
|
wordBreak: 'break-word'
|
|
8151
8235
|
},
|
|
8152
8236
|
courseDetailTime: {
|
|
@@ -8157,7 +8241,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8157
8241
|
display: 'flex',
|
|
8158
8242
|
width: '36px',
|
|
8159
8243
|
height: '36px',
|
|
8160
|
-
backgroundColor:
|
|
8244
|
+
backgroundColor: theme?.colors?.icon,
|
|
8161
8245
|
justifyContent: 'center',
|
|
8162
8246
|
alignItems: 'center',
|
|
8163
8247
|
borderRadius: '6px'
|
|
@@ -8217,7 +8301,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8217
8301
|
// fontSize: '20px',
|
|
8218
8302
|
fontWeight: '600',
|
|
8219
8303
|
lineHeight: 'normal',
|
|
8220
|
-
letterSpacing: '0px'
|
|
8304
|
+
letterSpacing: '0px',
|
|
8305
|
+
color: theme?.colors?.font1
|
|
8221
8306
|
},
|
|
8222
8307
|
videoTestimonialTitle: {
|
|
8223
8308
|
// fontSize: '24px',
|
|
@@ -8386,28 +8471,32 @@ const SingleVideoSlide = props => {
|
|
|
8386
8471
|
className: classes.iconBackground
|
|
8387
8472
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8388
8473
|
name: 'Clock',
|
|
8389
|
-
|
|
8474
|
+
width: "24px",
|
|
8475
|
+
color: theme?.colors?.background2
|
|
8390
8476
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
8391
8477
|
className: classes.courseDetailTag
|
|
8392
8478
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8393
8479
|
className: classes.iconBackground
|
|
8394
8480
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8395
8481
|
name: 'Book Saved',
|
|
8396
|
-
color: theme
|
|
8482
|
+
color: theme?.colors?.background2,
|
|
8483
|
+
width: "24px"
|
|
8397
8484
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? 'Physical Books' : null)) : null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
8398
8485
|
className: classes.courseDetailTag
|
|
8399
8486
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8400
8487
|
className: classes.iconBackground
|
|
8401
8488
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8402
8489
|
name: 'Certificate',
|
|
8403
|
-
color: theme
|
|
8490
|
+
color: theme?.colors?.background2,
|
|
8491
|
+
width: "24px"
|
|
8404
8492
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React.createElement("div", {
|
|
8405
8493
|
className: classes.courseDetailTag
|
|
8406
8494
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8407
8495
|
className: classes.iconBackground
|
|
8408
8496
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8409
8497
|
name: 'Certificate',
|
|
8410
|
-
color: theme
|
|
8498
|
+
color: theme?.colors?.background2,
|
|
8499
|
+
width: "24px"
|
|
8411
8500
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React.createElement("p", {
|
|
8412
8501
|
ref: data?.videoTextContent?.refSetter,
|
|
8413
8502
|
className: classes.courseDetailContent,
|
|
@@ -8534,7 +8623,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8534
8623
|
padding: ({
|
|
8535
8624
|
isMobile
|
|
8536
8625
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8537
|
-
background:
|
|
8626
|
+
background: theme?.colors?.background3,
|
|
8538
8627
|
'&, & *, & *:before, & *:after': {
|
|
8539
8628
|
fontFamily: theme?.typography?.fontFamily,
|
|
8540
8629
|
boxSizing: 'border-box'
|
|
@@ -8551,7 +8640,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8551
8640
|
marginTop: '8px',
|
|
8552
8641
|
fontSize: theme.typography.fontSize.h6,
|
|
8553
8642
|
lineHeight: '23px',
|
|
8554
|
-
color:
|
|
8643
|
+
color: theme?.colors?.gray,
|
|
8555
8644
|
marginBottom: theme.spacing.margin.tiny
|
|
8556
8645
|
},
|
|
8557
8646
|
formPageFormContainer: {
|
|
@@ -8570,8 +8659,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8570
8659
|
},
|
|
8571
8660
|
|
|
8572
8661
|
inputFieldLabel: {
|
|
8573
|
-
color:
|
|
8574
|
-
fontSize: theme.typography.fontSize.
|
|
8662
|
+
color: theme?.colors?.lightblack,
|
|
8663
|
+
fontSize: theme.typography.fontSize.body,
|
|
8575
8664
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8576
8665
|
display: 'block',
|
|
8577
8666
|
marginTop: '20px',
|
|
@@ -8582,8 +8671,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8582
8671
|
borderRadius: '8px',
|
|
8583
8672
|
border: '1px solid #D8E0F0',
|
|
8584
8673
|
padding: '12px 16px',
|
|
8585
|
-
color:
|
|
8586
|
-
fontSize: theme.typography.fontSize.
|
|
8674
|
+
color: theme?.colors?.lightblack,
|
|
8675
|
+
fontSize: theme.typography.fontSize.body
|
|
8587
8676
|
},
|
|
8588
8677
|
checkboxField: {
|
|
8589
8678
|
// padding: '20px',
|
|
@@ -8591,21 +8680,21 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8591
8680
|
// borderRadius: '8px'
|
|
8592
8681
|
},
|
|
8593
8682
|
checkBoxFieldLabel: {
|
|
8594
|
-
color:
|
|
8595
|
-
fontSize: theme.typography.fontSize.
|
|
8683
|
+
color: theme?.colors?.lightblack,
|
|
8684
|
+
fontSize: theme.typography.fontSize.body,
|
|
8596
8685
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8597
8686
|
marginTop: '20px',
|
|
8598
8687
|
marginBottom: '12px'
|
|
8599
8688
|
},
|
|
8600
8689
|
inputFieldRequired: {
|
|
8601
|
-
color:
|
|
8690
|
+
color: theme?.colors?.lightblack
|
|
8602
8691
|
},
|
|
8603
8692
|
checkboxFieldControl: {
|
|
8604
8693
|
padding: '8px 0',
|
|
8605
8694
|
'& label': {
|
|
8606
|
-
fontSize: theme.typography.fontSize.
|
|
8695
|
+
fontSize: theme.typography.fontSize.body,
|
|
8607
8696
|
marginLeft: '10px',
|
|
8608
|
-
color:
|
|
8697
|
+
color: theme?.colors?.lightblack
|
|
8609
8698
|
}
|
|
8610
8699
|
},
|
|
8611
8700
|
submitBtnContainer: {
|
|
@@ -8618,8 +8707,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8618
8707
|
'& button': {
|
|
8619
8708
|
// height: '44px',
|
|
8620
8709
|
padding: '16px 24px',
|
|
8621
|
-
|
|
8622
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
8710
|
+
fontSize: theme.typography.fontSize.body,
|
|
8623
8711
|
cursor: 'pointer',
|
|
8624
8712
|
borderRadius: '8px'
|
|
8625
8713
|
}
|
|
@@ -9627,7 +9715,7 @@ function PageRenderer({
|
|
|
9627
9715
|
countryCode,
|
|
9628
9716
|
currencySymbol
|
|
9629
9717
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
9630
|
-
const theme = useMemo(() =>
|
|
9718
|
+
const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
9631
9719
|
const Wrapper = SectionWrapper || Fragment;
|
|
9632
9720
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
9633
9721
|
theme: theme
|