diy-template-components 1.0.60 → 1.1.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 +307 -240
- package/build/index.es.js.map +1 -1
- package/build/index.js +307 -240
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -377,13 +377,11 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
377
377
|
textAlign: 'center',
|
|
378
378
|
color: ({
|
|
379
379
|
disabled
|
|
380
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.
|
|
380
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
|
|
381
381
|
background: ({
|
|
382
382
|
disabled
|
|
383
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.
|
|
384
|
-
border:
|
|
385
|
-
disabled
|
|
386
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
|
|
383
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
|
|
384
|
+
border: 'none',
|
|
387
385
|
textDecoration: 'none',
|
|
388
386
|
cursor: ({
|
|
389
387
|
disabled
|
|
@@ -405,13 +403,13 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
405
403
|
lineHeight: '18px',
|
|
406
404
|
color: ({
|
|
407
405
|
disabled
|
|
408
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme
|
|
406
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
|
|
409
407
|
background: ({
|
|
410
408
|
disabled
|
|
411
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.
|
|
409
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.parimar?.default, 0.5).color : theme?.colors?.ctaColor,
|
|
412
410
|
border: ({
|
|
413
411
|
disabled
|
|
414
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme
|
|
412
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
|
|
415
413
|
cursor: ({
|
|
416
414
|
disabled
|
|
417
415
|
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
@@ -2092,17 +2090,13 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
|
2092
2090
|
const shape = {
|
|
2093
2091
|
borderRadius
|
|
2094
2092
|
};
|
|
2095
|
-
const spacing = {
|
|
2096
|
-
padding: isMobile ? mobilePadding : padding,
|
|
2097
|
-
margin: isMobile ? mobileMargin : margin
|
|
2098
|
-
};
|
|
2099
2093
|
return {
|
|
2100
2094
|
palette,
|
|
2101
2095
|
shape,
|
|
2102
2096
|
typography,
|
|
2103
2097
|
shadows: generateShadows(palette),
|
|
2104
|
-
borders: generateBorders(palette)
|
|
2105
|
-
spacing
|
|
2098
|
+
borders: generateBorders(palette)
|
|
2099
|
+
// spacing
|
|
2106
2100
|
};
|
|
2107
2101
|
}
|
|
2108
2102
|
|
|
@@ -2224,6 +2218,165 @@ const defaultMetadata = {
|
|
|
2224
2218
|
layout: defaultLayout
|
|
2225
2219
|
};
|
|
2226
2220
|
|
|
2221
|
+
const GRADIENT = `linear-gradient`;
|
|
2222
|
+
const allColors = {
|
|
2223
|
+
white: '#FFFFFF',
|
|
2224
|
+
black: '#000000',
|
|
2225
|
+
lightblack: '#333333',
|
|
2226
|
+
gray: '#999999',
|
|
2227
|
+
// Blue gradient
|
|
2228
|
+
|
|
2229
|
+
blue: '#1676F3',
|
|
2230
|
+
bluegradient: `${GRADIENT}(#5418D1,#2C88FF)`,
|
|
2231
|
+
tertiaryblue: '#F4F9FF',
|
|
2232
|
+
// Orange gradient
|
|
2233
|
+
|
|
2234
|
+
orange: '#FF9000',
|
|
2235
|
+
orangegradient: `${GRADIENT}(#E96263 , #EAAE4C)`,
|
|
2236
|
+
tertiaryorange: '#FFF6EA',
|
|
2237
|
+
// Pink gradient
|
|
2238
|
+
|
|
2239
|
+
pink: '#F72585',
|
|
2240
|
+
pinkgradient: `${GRADIENT}(#F97794,#623AA2)`,
|
|
2241
|
+
tertiarypink: '#FEE9F3',
|
|
2242
|
+
// Violet gradient
|
|
2243
|
+
|
|
2244
|
+
purple: '#6026A8',
|
|
2245
|
+
purplegradient: `${GRADIENT}(#B66EC0 , #460FA1)`,
|
|
2246
|
+
tertiarypurple: '#F5F2FA',
|
|
2247
|
+
// Green gradient
|
|
2248
|
+
|
|
2249
|
+
green: '#8ECE19',
|
|
2250
|
+
greengradient: `${GRADIENT}(#0E5CAD, #79F1A4)`,
|
|
2251
|
+
tertiarygreen: '#F4FAFA',
|
|
2252
|
+
//Red solid
|
|
2253
|
+
|
|
2254
|
+
red: '#F41828',
|
|
2255
|
+
tertiaryred: '#FFF2F3',
|
|
2256
|
+
//Maroon solid
|
|
2257
|
+
|
|
2258
|
+
rust: '#9B2226',
|
|
2259
|
+
tertiaryrust: '#FFF0F0',
|
|
2260
|
+
//Golden gradient
|
|
2261
|
+
|
|
2262
|
+
golden: `#F2BA35`,
|
|
2263
|
+
goldengradient: `${GRADIENT}(#F0EA88, #CFA749)`,
|
|
2264
|
+
//light green gradient
|
|
2265
|
+
|
|
2266
|
+
lightgreen: `#D6E359`,
|
|
2267
|
+
lightgreengradient: `${GRADIENT}(#D6E359, #9DB545)`,
|
|
2268
|
+
//light blue gradient
|
|
2269
|
+
|
|
2270
|
+
lightblue: `#A8EDF8`,
|
|
2271
|
+
lightbluegradient: `${GRADIENT}(#A8EDF8, #5EC9E1)`,
|
|
2272
|
+
skyblue: '#00ADE7',
|
|
2273
|
+
tertiaryskyblue: '#F2FCFF'
|
|
2274
|
+
};
|
|
2275
|
+
|
|
2276
|
+
const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
|
|
2277
|
+
let themeColor = theme.split('-');
|
|
2278
|
+
let color, gradient, darkMode;
|
|
2279
|
+
if (themeColor.length === 1) {
|
|
2280
|
+
color = themeColor[0];
|
|
2281
|
+
} else if (themeColor.length === 2) {
|
|
2282
|
+
color = themeColor[0];
|
|
2283
|
+
gradient = themeColor[1];
|
|
2284
|
+
} else {
|
|
2285
|
+
color = themeColor[0];
|
|
2286
|
+
gradient = themeColor[1];
|
|
2287
|
+
darkMode = themeColor[2];
|
|
2288
|
+
}
|
|
2289
|
+
console.log('color', allColors, gradient, darkMode);
|
|
2290
|
+
|
|
2291
|
+
// switch (color) {
|
|
2292
|
+
// case solidColors:
|
|
2293
|
+
// break;
|
|
2294
|
+
|
|
2295
|
+
// case gradientColors:
|
|
2296
|
+
// break;
|
|
2297
|
+
|
|
2298
|
+
// default:
|
|
2299
|
+
// break;
|
|
2300
|
+
// }
|
|
2301
|
+
|
|
2302
|
+
// type 1
|
|
2303
|
+
// const solidColors = {
|
|
2304
|
+
// font1: solidBaseColors?.black,
|
|
2305
|
+
// font2: solidBaseColors?.black,
|
|
2306
|
+
// font3: solidBaseColors?.black,
|
|
2307
|
+
// font4: solidBaseColors?.black,
|
|
2308
|
+
// AccentColor: solidBaseColors[theme],
|
|
2309
|
+
// background1: solidBaseColors?.white,
|
|
2310
|
+
// background2: solidBaseColors['tertiary' + theme],
|
|
2311
|
+
// background3: solidBaseColors['tertiary' + theme],
|
|
2312
|
+
// ctaColor: solidBaseColors[theme],
|
|
2313
|
+
// CtaTextColor: solidBaseColors?.white,
|
|
2314
|
+
// icon: solidBaseColors[theme],
|
|
2315
|
+
// iconBg: solidBaseColors['tertiary' + theme],
|
|
2316
|
+
// stripBg: solidBaseColors[theme],
|
|
2317
|
+
// stripText: solidBaseColors?.white,
|
|
2318
|
+
// inputBorderColor: solidBaseColors?.blue2,
|
|
2319
|
+
// tertiaryBlue2: solidBaseColors?.tertiaryblue2
|
|
2320
|
+
// };
|
|
2321
|
+
|
|
2322
|
+
//type 2
|
|
2323
|
+
// const gradientColors = {
|
|
2324
|
+
// font1: gradientBaseColors?.white,
|
|
2325
|
+
// font2: gradientBaseColors?.black,
|
|
2326
|
+
// font3: gradientBaseColors?.black,
|
|
2327
|
+
// font4: gradientBaseColors?.white,
|
|
2328
|
+
// AccentColor: gradientBaseColors[theme],
|
|
2329
|
+
// background1: gradientBaseColors[theme + 'gradient'],
|
|
2330
|
+
// background2: gradientBaseColors['tertiary' + theme],
|
|
2331
|
+
// background3: gradientBaseColors[theme + 'gradient'],
|
|
2332
|
+
// ctaColor: gradientBaseColors[theme + 'gradient'],
|
|
2333
|
+
// CtaTextColor: gradientBaseColors?.white,
|
|
2334
|
+
// icon: gradientBaseColors[theme],
|
|
2335
|
+
// iconBg: gradientBaseColors['tertiary' + theme],
|
|
2336
|
+
// stripBg: gradientBaseColors?.black,
|
|
2337
|
+
// stripText: gradientBaseColors?.white
|
|
2338
|
+
// };
|
|
2339
|
+
|
|
2340
|
+
const colors = {
|
|
2341
|
+
font1: gradient ? allColors?.white : allColors?.black,
|
|
2342
|
+
font2: darkMode ? allColors[color] : allColors?.black,
|
|
2343
|
+
font3: darkMode ? allColors?.white : allColors?.black,
|
|
2344
|
+
font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
|
|
2345
|
+
AccentColor: allColors[color],
|
|
2346
|
+
background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
|
|
2347
|
+
background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2348
|
+
background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
|
|
2349
|
+
ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
|
|
2350
|
+
CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2351
|
+
icon: allColors[color],
|
|
2352
|
+
iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2353
|
+
stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
|
|
2354
|
+
stripText: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2355
|
+
inputBorderColor: allColors?.blue2,
|
|
2356
|
+
tertiaryBlue2: allColors?.tertiaryblue2,
|
|
2357
|
+
white: allColors?.white,
|
|
2358
|
+
black: allColors?.black,
|
|
2359
|
+
lightblack: allColors?.lightblack,
|
|
2360
|
+
gray: allColors?.gray
|
|
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
|
+
|
|
2227
2380
|
function PageRenderer$1({
|
|
2228
2381
|
pageData: {
|
|
2229
2382
|
metadata: {
|
|
@@ -2280,7 +2433,7 @@ function PageRenderer$1({
|
|
|
2280
2433
|
countryCode,
|
|
2281
2434
|
currencySymbol
|
|
2282
2435
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
2283
|
-
const theme = React.useMemo(() =>
|
|
2436
|
+
const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2284
2437
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
2285
2438
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
2286
2439
|
theme: theme
|
|
@@ -2318,7 +2471,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2318
2471
|
padding: ({
|
|
2319
2472
|
isMobile
|
|
2320
2473
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
2321
|
-
|
|
2474
|
+
background: theme?.colors?.background2,
|
|
2322
2475
|
'&, & *, & *:before, & *:after': {
|
|
2323
2476
|
fontFamily: theme?.typography?.fontFamily,
|
|
2324
2477
|
boxSizing: 'border-box'
|
|
@@ -2376,14 +2529,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2376
2529
|
marginBottom: '8px',
|
|
2377
2530
|
fontSize: theme.typography.fontSize.subHead,
|
|
2378
2531
|
letterSpacing: '3px',
|
|
2379
|
-
color: theme?.
|
|
2532
|
+
color: theme?.colors?.font3,
|
|
2380
2533
|
wordBreak: 'break-word',
|
|
2381
2534
|
maxWidth: '100%'
|
|
2382
2535
|
},
|
|
2383
2536
|
heading: {
|
|
2384
2537
|
margin: '0',
|
|
2385
2538
|
fontSize: theme.typography.fontSize.h1,
|
|
2386
|
-
color: theme?.
|
|
2539
|
+
color: theme?.colors?.font3,
|
|
2387
2540
|
wordBreak: ({
|
|
2388
2541
|
wordBreakValue
|
|
2389
2542
|
}) => wordBreakValue || 'break-word',
|
|
@@ -2392,7 +2545,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2392
2545
|
},
|
|
2393
2546
|
description: {
|
|
2394
2547
|
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2395
|
-
color: theme?.
|
|
2548
|
+
color: theme?.colors?.font3,
|
|
2396
2549
|
lineHeight: '24px',
|
|
2397
2550
|
wordBreak: 'break-word'
|
|
2398
2551
|
},
|
|
@@ -2509,7 +2662,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2509
2662
|
width: '26px',
|
|
2510
2663
|
background: ({
|
|
2511
2664
|
inverted
|
|
2512
|
-
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.
|
|
2665
|
+
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.colors.AccentColor
|
|
2513
2666
|
},
|
|
2514
2667
|
'@media screen and (max-width: 767px)': {
|
|
2515
2668
|
sliderClass: {
|
|
@@ -2545,7 +2698,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2545
2698
|
height: sizeHandler,
|
|
2546
2699
|
border: ({
|
|
2547
2700
|
inverted
|
|
2548
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2701
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor}`,
|
|
2549
2702
|
borderRadius: '50%',
|
|
2550
2703
|
display: 'flex',
|
|
2551
2704
|
justifyContent: 'center',
|
|
@@ -2567,7 +2720,7 @@ function ArrowButton(props) {
|
|
|
2567
2720
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
2568
2721
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2569
2722
|
name: "Angle",
|
|
2570
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2723
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor,
|
|
2571
2724
|
inverted: true
|
|
2572
2725
|
}));
|
|
2573
2726
|
}
|
|
@@ -2777,7 +2930,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2777
2930
|
justifyContent: 'center',
|
|
2778
2931
|
flexDirection: 'column',
|
|
2779
2932
|
alignItems: 'center',
|
|
2780
|
-
backgroundColor: theme?.palette?.background?.default,
|
|
2781
2933
|
'&, & *, & *:before, & *:after': {
|
|
2782
2934
|
fontFamily: theme?.typography?.fontFamily,
|
|
2783
2935
|
boxSizing: 'border-box'
|
|
@@ -2795,7 +2947,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2795
2947
|
subTitleHeading: {
|
|
2796
2948
|
marginBottom: '8px',
|
|
2797
2949
|
fontSize: theme.typography.fontSize.subHead,
|
|
2798
|
-
color: theme?.
|
|
2950
|
+
color: theme?.colors?.black,
|
|
2799
2951
|
alignItems: 'center',
|
|
2800
2952
|
textAlign: 'center',
|
|
2801
2953
|
wordBreak: 'break-word',
|
|
@@ -2805,7 +2957,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2805
2957
|
heading: {
|
|
2806
2958
|
marginBottom: theme.spacing.margin.tiny,
|
|
2807
2959
|
fontSize: theme.typography.fontSize.h2,
|
|
2808
|
-
color: theme?.
|
|
2960
|
+
color: theme?.colors?.black,
|
|
2809
2961
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2810
2962
|
textAlign: 'center',
|
|
2811
2963
|
wordBreak: 'break-word'
|
|
@@ -2822,7 +2974,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2822
2974
|
display: 'flex',
|
|
2823
2975
|
width: 'calc(100% - 200px)',
|
|
2824
2976
|
alignItems: 'center',
|
|
2825
|
-
background: theme?.
|
|
2977
|
+
background: theme?.colors?.white,
|
|
2826
2978
|
boxShadow: theme?.shadows?.primary,
|
|
2827
2979
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2828
2980
|
overflow: 'hidden',
|
|
@@ -2846,33 +2998,13 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2846
2998
|
'& $contentText': {
|
|
2847
2999
|
marginLeft: '170px'
|
|
2848
3000
|
}
|
|
2849
|
-
},
|
|
2850
|
-
'&:nth-child(7n+1) $contentNumber': {
|
|
2851
|
-
background: palettes.purple.primary.lightest
|
|
2852
|
-
},
|
|
2853
|
-
'&:nth-child(7n+2) $contentNumber': {
|
|
2854
|
-
background: palettes.orange.primary.lightest
|
|
2855
|
-
},
|
|
2856
|
-
'&:nth-child(7n+3) $contentNumber': {
|
|
2857
|
-
background: palettes.red.primary.lightest
|
|
2858
|
-
},
|
|
2859
|
-
'&:nth-child(7n+4) $contentNumber': {
|
|
2860
|
-
background: palettes.green.primary.lightest
|
|
2861
|
-
},
|
|
2862
|
-
'&:nth-child(7n+5) $contentNumber': {
|
|
2863
|
-
background: palettes.pink.primary.lightest
|
|
2864
|
-
},
|
|
2865
|
-
'&:nth-child(7n+6) $contentNumber': {
|
|
2866
|
-
background: palettes.blue.primary.lightest
|
|
2867
|
-
},
|
|
2868
|
-
'&:nth-child(7n) $contentNumber': {
|
|
2869
|
-
background: palettes.rust.primary.lightest
|
|
2870
3001
|
}
|
|
2871
3002
|
},
|
|
2872
3003
|
contentNumber: {
|
|
2873
3004
|
position: 'absolute',
|
|
2874
3005
|
top: '0',
|
|
2875
3006
|
fontWeight: '700',
|
|
3007
|
+
background: theme?.colors?.background3,
|
|
2876
3008
|
fontSize: '72px',
|
|
2877
3009
|
letterSpacing: '-3px',
|
|
2878
3010
|
display: 'flex',
|
|
@@ -2880,7 +3012,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2880
3012
|
justifyContent: 'center',
|
|
2881
3013
|
padding: '48px',
|
|
2882
3014
|
height: '100%',
|
|
2883
|
-
color: theme?.
|
|
3015
|
+
color: theme?.colors?.font4,
|
|
2884
3016
|
wordBreak: 'break-word'
|
|
2885
3017
|
},
|
|
2886
3018
|
contentText: {
|
|
@@ -2892,14 +3024,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2892
3024
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2893
3025
|
lineHeight: '32px',
|
|
2894
3026
|
marginBottom: '8px',
|
|
2895
|
-
color: theme?.
|
|
3027
|
+
color: theme?.colors?.lightblack,
|
|
2896
3028
|
wordBreak: 'break-word'
|
|
2897
3029
|
},
|
|
2898
3030
|
contentPara: {
|
|
2899
3031
|
fontStyle: 'normal',
|
|
2900
3032
|
fontSize: '16px',
|
|
2901
3033
|
lineHeight: '26px',
|
|
2902
|
-
color: theme?.
|
|
3034
|
+
color: theme?.colors?.gray,
|
|
2903
3035
|
wordBreak: 'break-word'
|
|
2904
3036
|
},
|
|
2905
3037
|
'@media screen and (max-width: 767px)': {
|
|
@@ -3312,6 +3444,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3312
3444
|
return {
|
|
3313
3445
|
section: {
|
|
3314
3446
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3447
|
+
background: theme?.colors?.background2,
|
|
3315
3448
|
'&, & *, & *:before, & *:after': {
|
|
3316
3449
|
fontFamily: theme?.typography?.fontFamily,
|
|
3317
3450
|
boxSizing: 'border-box'
|
|
@@ -3355,7 +3488,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3355
3488
|
}
|
|
3356
3489
|
},
|
|
3357
3490
|
imageBorder: {
|
|
3358
|
-
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3491
|
+
// border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3359
3492
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3360
3493
|
position: 'absolute',
|
|
3361
3494
|
width: '100%',
|
|
@@ -3380,13 +3513,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3380
3513
|
marginBottom: '8px',
|
|
3381
3514
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3382
3515
|
letterSpacing: '3px',
|
|
3383
|
-
color: theme?.
|
|
3516
|
+
color: theme?.colors?.font3,
|
|
3384
3517
|
wordBreak: 'break-word'
|
|
3385
3518
|
},
|
|
3386
3519
|
heading: {
|
|
3387
3520
|
margin: '0',
|
|
3388
3521
|
fontSize: theme?.typography?.fontSize?.h1,
|
|
3389
|
-
color: theme?.
|
|
3522
|
+
color: theme?.colors?.font3,
|
|
3390
3523
|
wordBreak: ({
|
|
3391
3524
|
wordBreakValue
|
|
3392
3525
|
}) => wordBreakValue || 'break-word',
|
|
@@ -3396,7 +3529,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3396
3529
|
description: {
|
|
3397
3530
|
marginTop: theme.spacing.margin.tiny,
|
|
3398
3531
|
marginBottom: theme.spacing.margin.tiny,
|
|
3399
|
-
color: theme?.
|
|
3532
|
+
color: theme?.colors?.font3,
|
|
3400
3533
|
lineHeight: '24px',
|
|
3401
3534
|
wordBreak: 'break-word'
|
|
3402
3535
|
},
|
|
@@ -3562,16 +3695,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3562
3695
|
containerWidth
|
|
3563
3696
|
} = {}) => containerWidth
|
|
3564
3697
|
},
|
|
3565
|
-
partialBackground: {
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
},
|
|
3698
|
+
// partialBackground: {
|
|
3699
|
+
// top: '0',
|
|
3700
|
+
// left: '0',
|
|
3701
|
+
// width: '100%',
|
|
3702
|
+
// height: '50%',
|
|
3703
|
+
// position: 'absolute',
|
|
3704
|
+
// background: theme?.palette?.background?.primary
|
|
3705
|
+
// },
|
|
3573
3706
|
sectionContainer: {
|
|
3574
|
-
backgroundColor: theme?.
|
|
3707
|
+
backgroundColor: theme?.colors?.background2,
|
|
3575
3708
|
boxShadow: theme?.shadows?.secondary,
|
|
3576
3709
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3577
3710
|
padding: theme.spacing.padding.small,
|
|
@@ -3582,7 +3715,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3582
3715
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3583
3716
|
lineHeight: '71px',
|
|
3584
3717
|
letterSpacing: '-3px',
|
|
3585
|
-
color: theme?.
|
|
3718
|
+
color: theme?.colors?.font3,
|
|
3586
3719
|
marginBottom: theme.spacing.padding.tiny,
|
|
3587
3720
|
wordBreak: 'break-word'
|
|
3588
3721
|
},
|
|
@@ -3594,7 +3727,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3594
3727
|
title: {
|
|
3595
3728
|
fontSize: theme.typography.fontSize.h6,
|
|
3596
3729
|
lineHeight: '32px',
|
|
3597
|
-
color: theme?.
|
|
3730
|
+
color: theme?.colors?.font3,
|
|
3598
3731
|
wordBreak: 'break-word',
|
|
3599
3732
|
flex: 1
|
|
3600
3733
|
},
|
|
@@ -3722,8 +3855,8 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3722
3855
|
inputField: {
|
|
3723
3856
|
width: '100%',
|
|
3724
3857
|
// maxWidth: '314px',
|
|
3725
|
-
background: theme?.palette?.background?.default,
|
|
3726
|
-
border: `1px solid ${theme?.
|
|
3858
|
+
// background: theme?.palette?.background?.default,
|
|
3859
|
+
border: `1px solid ${theme?.colors?.icon}`,
|
|
3727
3860
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3728
3861
|
padding: '14px 12px',
|
|
3729
3862
|
display: 'flex',
|
|
@@ -3737,7 +3870,7 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3737
3870
|
fontWeight: '400',
|
|
3738
3871
|
fontSize: '16px',
|
|
3739
3872
|
lineHeight: '20px',
|
|
3740
|
-
color: theme?.
|
|
3873
|
+
color: theme?.colors?.black,
|
|
3741
3874
|
fontFamily: theme?.typography?.fontFamily
|
|
3742
3875
|
},
|
|
3743
3876
|
'&:focus': {
|
|
@@ -3937,7 +4070,6 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
3937
4070
|
|
|
3938
4071
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
3939
4072
|
testimonialContainer: {
|
|
3940
|
-
background: theme?.palette?.background?.primary,
|
|
3941
4073
|
overflow: 'hidden',
|
|
3942
4074
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3943
4075
|
'&, & *, & *:before, & *:after': {
|
|
@@ -3955,14 +4087,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3955
4087
|
} = {}) => containerWidth
|
|
3956
4088
|
},
|
|
3957
4089
|
testimonialText: {
|
|
3958
|
-
color: theme?.
|
|
4090
|
+
color: theme?.colors?.font2,
|
|
3959
4091
|
fontSize: theme.typography.fontSize.subHead,
|
|
3960
4092
|
wordBreak: 'break-word',
|
|
3961
4093
|
textTransform: 'uppercase'
|
|
3962
4094
|
},
|
|
3963
4095
|
testimonialHeader: {
|
|
3964
4096
|
fontSize: theme.typography.fontSize.h2,
|
|
3965
|
-
color: theme?.
|
|
4097
|
+
color: theme?.colors?.font2,
|
|
3966
4098
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3967
4099
|
marginBottom: theme.spacing.margin.tiny,
|
|
3968
4100
|
marginTop: '8px',
|
|
@@ -3979,7 +4111,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3979
4111
|
position: 'relative',
|
|
3980
4112
|
height: 'calc(100% - 12px)',
|
|
3981
4113
|
width: 'calc(100% - 24px)',
|
|
3982
|
-
background: theme?.
|
|
4114
|
+
background: theme?.colors?.background1,
|
|
3983
4115
|
boxShadow: theme?.shadows?.primary,
|
|
3984
4116
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3985
4117
|
},
|
|
@@ -4006,7 +4138,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4006
4138
|
marginBottom: theme.spacing.margin.tiny,
|
|
4007
4139
|
fontSize: theme.typography.fontSize.body,
|
|
4008
4140
|
wordBreak: 'break-word',
|
|
4009
|
-
color: theme?.
|
|
4141
|
+
color: theme?.colors?.font1,
|
|
4010
4142
|
lineHeight: '26px'
|
|
4011
4143
|
},
|
|
4012
4144
|
userContainer: {
|
|
@@ -4035,7 +4167,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4035
4167
|
marginRight: '16px'
|
|
4036
4168
|
},
|
|
4037
4169
|
userName: {
|
|
4038
|
-
color: theme?.
|
|
4170
|
+
color: theme?.colors?.font1,
|
|
4039
4171
|
margin: '0',
|
|
4040
4172
|
fontSize: theme.typography.fontSize.h5,
|
|
4041
4173
|
// paddingTop: '16px',
|
|
@@ -4054,19 +4186,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4054
4186
|
testimonialContainer: {
|
|
4055
4187
|
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
4056
4188
|
},
|
|
4057
|
-
// testimonialCardAndText: {
|
|
4058
|
-
// margin: '0 20px'
|
|
4059
|
-
// },
|
|
4060
|
-
|
|
4061
|
-
// testimonialHeader: {
|
|
4062
|
-
// fontSize: '24px',
|
|
4063
|
-
// color: theme?.palette?.font?.default,
|
|
4064
|
-
// margin: '4px 0 12px 0',
|
|
4065
|
-
// overflow: 'hidden',
|
|
4066
|
-
// // whiteSpace: 'nowrap',
|
|
4067
|
-
// wordBreak: 'break-word',
|
|
4068
|
-
// textOverflow: 'ellipsis'
|
|
4069
|
-
// },
|
|
4070
4189
|
testimonialText: {
|
|
4071
4190
|
textAlign: 'center'
|
|
4072
4191
|
},
|
|
@@ -4119,7 +4238,7 @@ function QuotesComponent() {
|
|
|
4119
4238
|
width: "28px",
|
|
4120
4239
|
height: "21px",
|
|
4121
4240
|
name: "Quote",
|
|
4122
|
-
color: theme?.
|
|
4241
|
+
color: theme?.colors?.icon
|
|
4123
4242
|
}));
|
|
4124
4243
|
}
|
|
4125
4244
|
|
|
@@ -4649,7 +4768,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4649
4768
|
padding: ({
|
|
4650
4769
|
isMobile
|
|
4651
4770
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4652
|
-
backgroundColor: theme?.
|
|
4771
|
+
backgroundColor: theme?.colors?.background2,
|
|
4653
4772
|
'&, & *, & *:before, & *:after': {
|
|
4654
4773
|
fontFamily: theme?.typography?.fontFamily,
|
|
4655
4774
|
boxSizing: 'border-box'
|
|
@@ -4672,7 +4791,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4672
4791
|
fontSize: theme.typography.fontSize.subHead,
|
|
4673
4792
|
textTransform: 'uppercase',
|
|
4674
4793
|
lineHeight: '20px',
|
|
4675
|
-
color: theme?.
|
|
4794
|
+
color: theme?.colors?.font3,
|
|
4676
4795
|
letterSpacing: '3px',
|
|
4677
4796
|
wordBreak: 'break-word'
|
|
4678
4797
|
},
|
|
@@ -4683,14 +4802,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4683
4802
|
letterSpacing: '-3px',
|
|
4684
4803
|
marginBottom: theme.spacing.margin.tiny,
|
|
4685
4804
|
marginTop: '8px',
|
|
4686
|
-
color: theme?.
|
|
4805
|
+
color: theme?.colors?.font3,
|
|
4687
4806
|
wordBreak: 'break-word'
|
|
4688
4807
|
},
|
|
4689
4808
|
sliderContainer: {
|
|
4690
4809
|
marginRight: `-${theme.spacing.padding.medium}px`
|
|
4691
4810
|
},
|
|
4692
4811
|
singleSlideContainer: {
|
|
4693
|
-
backgroundColor:
|
|
4812
|
+
backgroundColor: 'white',
|
|
4694
4813
|
// margin: '20px',
|
|
4695
4814
|
width: 'calc(100% - 24px)',
|
|
4696
4815
|
height: 'calc(100% - 40px)',
|
|
@@ -4727,14 +4846,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4727
4846
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4728
4847
|
lineHeight: '32px',
|
|
4729
4848
|
marginBottom: '8px',
|
|
4730
|
-
color: theme?.
|
|
4849
|
+
color: theme?.colors?.font2,
|
|
4731
4850
|
wordBreak: 'break-word'
|
|
4732
4851
|
},
|
|
4733
4852
|
videoDetailsSubHeading: {
|
|
4734
4853
|
fontSize: theme.typography.fontSize.body,
|
|
4735
4854
|
lineHeight: '24px',
|
|
4736
4855
|
wordBreak: 'break-word',
|
|
4737
|
-
color: theme?.
|
|
4856
|
+
color: theme?.colors?.font2
|
|
4738
4857
|
},
|
|
4739
4858
|
'@media (max-width: 767px)': {
|
|
4740
4859
|
videoHeading: {
|
|
@@ -4881,11 +5000,10 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4881
5000
|
|
|
4882
5001
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4883
5002
|
section: {
|
|
4884
|
-
position: 'relative',
|
|
4885
5003
|
padding: ({
|
|
4886
5004
|
isMobile
|
|
4887
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`,
|
|
4888
|
-
|
|
5006
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
4889
5007
|
'&, & *, & *:before, & *:after': {
|
|
4890
5008
|
fontFamily: theme?.typography?.fontFamily,
|
|
4891
5009
|
boxSizing: 'border-box'
|
|
@@ -4904,21 +5022,13 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4904
5022
|
containerWidth
|
|
4905
5023
|
} = {}) => containerWidth
|
|
4906
5024
|
},
|
|
4907
|
-
partialBackground: {
|
|
4908
|
-
position: 'absolute',
|
|
4909
|
-
top: '0',
|
|
4910
|
-
left: '0',
|
|
4911
|
-
height: '50%',
|
|
4912
|
-
background: theme?.palette?.background?.primary,
|
|
4913
|
-
width: '100%'
|
|
4914
|
-
},
|
|
4915
5025
|
content: {
|
|
4916
5026
|
position: 'relative'
|
|
4917
5027
|
},
|
|
4918
5028
|
subTitleHeading: {
|
|
4919
5029
|
width: '100%',
|
|
4920
5030
|
fontSize: theme.typography.fontSize.subHead,
|
|
4921
|
-
color: theme?.
|
|
5031
|
+
color: theme?.colors?.font2,
|
|
4922
5032
|
textTransform: 'uppercase',
|
|
4923
5033
|
textAlign: 'left',
|
|
4924
5034
|
lineHeight: '20px',
|
|
@@ -4930,7 +5040,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4930
5040
|
fontSize: theme.typography.fontSize.h2,
|
|
4931
5041
|
width: '100%',
|
|
4932
5042
|
lineHeight: '70px',
|
|
4933
|
-
color: theme?.
|
|
5043
|
+
color: theme?.colors?.font2,
|
|
4934
5044
|
textAlign: 'left',
|
|
4935
5045
|
wordBreak: 'break-word'
|
|
4936
5046
|
},
|
|
@@ -4940,7 +5050,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4940
5050
|
// },
|
|
4941
5051
|
|
|
4942
5052
|
card: {
|
|
4943
|
-
background: theme?.
|
|
5053
|
+
background: theme?.colors?.white,
|
|
4944
5054
|
boxShadow: theme?.shadows?.primary,
|
|
4945
5055
|
borderRadius: theme.shape.borderRadius.large,
|
|
4946
5056
|
margin: ({
|
|
@@ -4961,7 +5071,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4961
5071
|
textAlign: 'center',
|
|
4962
5072
|
fontSize: theme.typography.fontSize.h6,
|
|
4963
5073
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4964
|
-
color: theme?.
|
|
5074
|
+
color: theme?.colors?.lightblack,
|
|
4965
5075
|
margin: `16px 0px`,
|
|
4966
5076
|
wordBreak: 'break-word'
|
|
4967
5077
|
},
|
|
@@ -4973,7 +5083,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4973
5083
|
alignItems: 'center',
|
|
4974
5084
|
justifyContent: 'center',
|
|
4975
5085
|
borderRadius: '50%',
|
|
4976
|
-
background: theme?.
|
|
5086
|
+
background: theme?.colors?.background2
|
|
4977
5087
|
},
|
|
4978
5088
|
buttonContainerClass: {
|
|
4979
5089
|
marginRight: theme.spacing.margin.regular,
|
|
@@ -4987,7 +5097,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4987
5097
|
textAlign: 'center',
|
|
4988
5098
|
fontSize: theme.typography.fontSize.body,
|
|
4989
5099
|
lineHeight: '22px',
|
|
4990
|
-
color: theme?.
|
|
5100
|
+
color: theme?.colors?.gray,
|
|
4991
5101
|
margin: '0',
|
|
4992
5102
|
wordBreak: 'break-word'
|
|
4993
5103
|
},
|
|
@@ -5073,7 +5183,7 @@ function Info({
|
|
|
5073
5183
|
className: classes.imageContainer
|
|
5074
5184
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
5075
5185
|
name: dt.icon.metadata.value,
|
|
5076
|
-
color: theme
|
|
5186
|
+
color: theme?.colors?.icon,
|
|
5077
5187
|
width: isMobile ? '30px' : '40px',
|
|
5078
5188
|
height: isMobile ? '30px' : '40px'
|
|
5079
5189
|
})), /*#__PURE__*/React__default["default"].createElement("h3", {
|
|
@@ -5130,7 +5240,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5130
5240
|
padding: ({
|
|
5131
5241
|
isMobile
|
|
5132
5242
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5133
|
-
backgroundColor: theme?.
|
|
5243
|
+
backgroundColor: theme?.colors?.background2,
|
|
5134
5244
|
'&, & *, & *:before, & *:after': {
|
|
5135
5245
|
fontFamily: theme?.typography?.fontFamily,
|
|
5136
5246
|
boxSizing: 'border-box'
|
|
@@ -5147,7 +5257,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5147
5257
|
subHeading: {
|
|
5148
5258
|
fontSize: theme.typography.fontSize.subHead,
|
|
5149
5259
|
marginBottom: '8px',
|
|
5150
|
-
color: theme?.
|
|
5260
|
+
color: theme?.colors?.font3,
|
|
5151
5261
|
wordBreak: 'break-word',
|
|
5152
5262
|
textTransform: 'uppercase',
|
|
5153
5263
|
letterSpacing: '3px'
|
|
@@ -5157,7 +5267,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5157
5267
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5158
5268
|
lineHeight: 'normal',
|
|
5159
5269
|
margin: '0',
|
|
5160
|
-
color: theme?.
|
|
5270
|
+
color: theme?.colors?.font3,
|
|
5161
5271
|
wordBreak: 'break-word',
|
|
5162
5272
|
marginBottom: theme.spacing.margin.tiny
|
|
5163
5273
|
},
|
|
@@ -5168,7 +5278,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5168
5278
|
padding: '32px 0px'
|
|
5169
5279
|
},
|
|
5170
5280
|
textPara: {
|
|
5171
|
-
color: theme?.
|
|
5281
|
+
color: theme?.colors?.font3,
|
|
5172
5282
|
wordBreak: 'break-word',
|
|
5173
5283
|
fontSize: theme.typography.fontSize.body,
|
|
5174
5284
|
lineHeight: '24px'
|
|
@@ -5475,7 +5585,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5475
5585
|
padding: ({
|
|
5476
5586
|
isMobile
|
|
5477
5587
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5478
|
-
backgroundColor: theme?.
|
|
5588
|
+
backgroundColor: theme?.colors?.background2,
|
|
5479
5589
|
'&, & *, & *:before, & *:after': {
|
|
5480
5590
|
fontFamily: theme?.typography?.fontFamily,
|
|
5481
5591
|
boxSizing: 'border-box'
|
|
@@ -5490,7 +5600,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5490
5600
|
} = {}) => containerWidth
|
|
5491
5601
|
},
|
|
5492
5602
|
sectionSubheading: {
|
|
5493
|
-
color: theme?.
|
|
5603
|
+
color: theme?.colors?.font3,
|
|
5494
5604
|
fontSize: theme.typography.fontSize.subHead,
|
|
5495
5605
|
marginBottom: '8px',
|
|
5496
5606
|
wordBreak: 'break-word'
|
|
@@ -5499,15 +5609,16 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5499
5609
|
fontSize: theme.typography.fontSize.h2,
|
|
5500
5610
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5501
5611
|
wordBreak: 'break-word',
|
|
5502
|
-
marginBottom: `${theme.spacing.margin.tiny}px
|
|
5612
|
+
marginBottom: `${theme.spacing.margin.tiny}px`,
|
|
5613
|
+
color: theme?.colors?.font3
|
|
5503
5614
|
},
|
|
5504
5615
|
container: {
|
|
5505
5616
|
boxShadow: theme?.shadows?.secondary,
|
|
5506
5617
|
borderRadius: '8px',
|
|
5507
|
-
backgroundColor: theme?.
|
|
5618
|
+
backgroundColor: theme?.colors?.white
|
|
5508
5619
|
},
|
|
5509
5620
|
basicCardContainer: {
|
|
5510
|
-
borderBottom: theme?.
|
|
5621
|
+
borderBottom: `1px solid ${theme?.colors?.background2}`,
|
|
5511
5622
|
padding: `${theme.spacing.padding.tiny}px`
|
|
5512
5623
|
},
|
|
5513
5624
|
innerContainer: {
|
|
@@ -5526,14 +5637,14 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5526
5637
|
alignItems: 'center'
|
|
5527
5638
|
},
|
|
5528
5639
|
title: {
|
|
5529
|
-
color: theme?.
|
|
5640
|
+
color: theme?.colors?.lightblack,
|
|
5530
5641
|
fontSize: theme.typography.fontSize.h5,
|
|
5531
5642
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5532
5643
|
margin: '0',
|
|
5533
5644
|
wordBreak: 'break-word'
|
|
5534
5645
|
},
|
|
5535
5646
|
content: {
|
|
5536
|
-
color: theme?.
|
|
5647
|
+
color: theme?.colors?.lightblack,
|
|
5537
5648
|
fontSize: theme.typography.fontSize.body,
|
|
5538
5649
|
lineHeight: '24px',
|
|
5539
5650
|
maxHeight: ({
|
|
@@ -5653,11 +5764,10 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5653
5764
|
|
|
5654
5765
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5655
5766
|
section: {
|
|
5767
|
+
background: theme.colors.background1,
|
|
5656
5768
|
padding: ({
|
|
5657
5769
|
isMobile
|
|
5658
5770
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5659
|
-
// backgroundColor: theme?.palette?.background?.primary,
|
|
5660
|
-
|
|
5661
5771
|
'&, & *, & *:before, & *:after': {
|
|
5662
5772
|
fontFamily: theme?.typography?.fontFamily,
|
|
5663
5773
|
boxSizing: 'border-box'
|
|
@@ -5665,14 +5775,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5665
5775
|
'& h2,& h3,& p': {
|
|
5666
5776
|
marginTop: '0'
|
|
5667
5777
|
}
|
|
5668
|
-
// '& h2,& h3': {
|
|
5669
|
-
// fontWeight: '500',
|
|
5670
|
-
// '& b,& strong': {
|
|
5671
|
-
// fontWeight: '700'
|
|
5672
|
-
// }
|
|
5673
|
-
// }
|
|
5674
5778
|
},
|
|
5675
|
-
|
|
5676
5779
|
sectionContainer: {
|
|
5677
5780
|
margin: '0 auto',
|
|
5678
5781
|
maxWidth: ({
|
|
@@ -5680,7 +5783,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5680
5783
|
} = {}) => containerWidth
|
|
5681
5784
|
},
|
|
5682
5785
|
subheading: {
|
|
5683
|
-
color: theme?.
|
|
5786
|
+
color: theme?.colors?.font1,
|
|
5684
5787
|
fontSize: theme.typography.fontSize.subHead,
|
|
5685
5788
|
lineHeight: '20px',
|
|
5686
5789
|
letterSpacing: '3px',
|
|
@@ -5694,7 +5797,8 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5694
5797
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5695
5798
|
letterSpacing: '-3px',
|
|
5696
5799
|
marginBottom: theme.spacing.margin.tiny,
|
|
5697
|
-
wordBreak: 'break-word'
|
|
5800
|
+
wordBreak: 'break-word',
|
|
5801
|
+
color: theme?.colors?.font1
|
|
5698
5802
|
},
|
|
5699
5803
|
sliderContainer: {
|
|
5700
5804
|
margin: '0 -10px'
|
|
@@ -5964,7 +6068,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5964
6068
|
display: 'flex',
|
|
5965
6069
|
justifyContent: 'flex-start',
|
|
5966
6070
|
alignItems: 'center',
|
|
5967
|
-
fontSize: theme.typography.fontSize.
|
|
6071
|
+
fontSize: theme.typography.fontSize.body,
|
|
5968
6072
|
color: theme?.palette?.font?.primary,
|
|
5969
6073
|
'& img': {
|
|
5970
6074
|
marginRight: '5px'
|
|
@@ -6371,11 +6475,10 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
6371
6475
|
const useTeamStyles = createUseStyles(theme => {
|
|
6372
6476
|
return {
|
|
6373
6477
|
teamSuperContainer: {
|
|
6478
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6374
6479
|
padding: ({
|
|
6375
6480
|
isMobile
|
|
6376
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`,
|
|
6377
|
-
// backgroundColor: theme?.palette?.background?.primary,
|
|
6378
|
-
|
|
6379
6482
|
'&, & *, & *:before, & *:after': {
|
|
6380
6483
|
fontFamily: theme?.typography?.fontFamily,
|
|
6381
6484
|
boxSizing: 'border-box'
|
|
@@ -6396,25 +6499,17 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6396
6499
|
lineHeight: '20px',
|
|
6397
6500
|
letterSpacing: '3px',
|
|
6398
6501
|
marginBottom: '8px',
|
|
6399
|
-
color: theme?.
|
|
6502
|
+
color: theme?.colors?.font2,
|
|
6400
6503
|
// wordBreak: 'break-word',
|
|
6401
6504
|
position: 'relative'
|
|
6402
6505
|
},
|
|
6403
|
-
partialBackground: {
|
|
6404
|
-
position: 'absolute',
|
|
6405
|
-
top: '0',
|
|
6406
|
-
left: '0',
|
|
6407
|
-
height: '50%',
|
|
6408
|
-
background: theme?.palette?.background?.primary,
|
|
6409
|
-
width: '100%'
|
|
6410
|
-
},
|
|
6411
6506
|
teamTitle: {
|
|
6412
6507
|
fontSize: theme.typography.fontSize.h2,
|
|
6413
6508
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6414
6509
|
lineHeight: '70px',
|
|
6415
6510
|
letterSpacing: '-3px',
|
|
6416
6511
|
wordBreak: 'break-word',
|
|
6417
|
-
color: theme?.
|
|
6512
|
+
color: theme?.colors?.font2,
|
|
6418
6513
|
position: 'relative'
|
|
6419
6514
|
},
|
|
6420
6515
|
sliderContainer: {
|
|
@@ -6506,12 +6601,10 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6506
6601
|
teamDetailsHeading: {
|
|
6507
6602
|
fontSize: '16px',
|
|
6508
6603
|
lineHeight: '24px',
|
|
6509
|
-
margin: '0'
|
|
6510
|
-
color: theme?.palette?.font?.body
|
|
6604
|
+
margin: '0'
|
|
6511
6605
|
},
|
|
6512
6606
|
teamDetailsSubHeading: {
|
|
6513
|
-
marginTop: '0px'
|
|
6514
|
-
color: theme?.palette?.font?.primary
|
|
6607
|
+
marginTop: '0px'
|
|
6515
6608
|
}
|
|
6516
6609
|
}
|
|
6517
6610
|
};
|
|
@@ -6622,7 +6715,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6622
6715
|
justifyContent: 'center',
|
|
6623
6716
|
flexDirection: 'column',
|
|
6624
6717
|
alignItems: 'center',
|
|
6625
|
-
|
|
6718
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6626
6719
|
padding: ({
|
|
6627
6720
|
isMobile
|
|
6628
6721
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
@@ -6644,16 +6737,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6644
6737
|
containerWidth
|
|
6645
6738
|
} = {}) => containerWidth
|
|
6646
6739
|
},
|
|
6647
|
-
partialBackground: {
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
},
|
|
6740
|
+
// partialBackground: {
|
|
6741
|
+
// top: '0',
|
|
6742
|
+
// left: '0',
|
|
6743
|
+
// width: '100%',
|
|
6744
|
+
// height: '50%',
|
|
6745
|
+
// position: 'absolute',
|
|
6746
|
+
// background: theme?.colors?.white
|
|
6747
|
+
// },
|
|
6655
6748
|
sectionContainer: {
|
|
6656
|
-
backgroundColor: theme?.
|
|
6749
|
+
backgroundColor: theme?.colors?.white,
|
|
6657
6750
|
boxShadow: theme?.shadows?.secondary,
|
|
6658
6751
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6659
6752
|
padding: '48px',
|
|
@@ -6662,7 +6755,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6662
6755
|
title: {
|
|
6663
6756
|
margin: '0',
|
|
6664
6757
|
fontSize: theme.typography.fontSize.h2,
|
|
6665
|
-
color: theme?.
|
|
6758
|
+
color: theme?.colors?.lightblack,
|
|
6666
6759
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6667
6760
|
lineHeight: '71px',
|
|
6668
6761
|
letterSpacing: '-3px',
|
|
@@ -6685,7 +6778,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6685
6778
|
subtitle: {
|
|
6686
6779
|
// margin: '0 0 40px 0',
|
|
6687
6780
|
fontSize: theme.typography.fontSize.h5,
|
|
6688
|
-
color: theme?.
|
|
6781
|
+
color: theme?.colors?.lightblack,
|
|
6689
6782
|
lineHeight: '32px',
|
|
6690
6783
|
wordBreak: 'break-word',
|
|
6691
6784
|
marginBottom: '32px'
|
|
@@ -6708,7 +6801,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6708
6801
|
},
|
|
6709
6802
|
addressText: {
|
|
6710
6803
|
fontSize: theme.typography.fontSize.h6,
|
|
6711
|
-
color: theme?.
|
|
6804
|
+
color: theme?.colors?.lightblack,
|
|
6712
6805
|
lineHeight: '24px',
|
|
6713
6806
|
fontSize: '16px'
|
|
6714
6807
|
},
|
|
@@ -7045,7 +7138,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7045
7138
|
padding: ({
|
|
7046
7139
|
isMobile
|
|
7047
7140
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
7048
|
-
|
|
7141
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
7049
7142
|
'&, & *, & *:before, & *:after': {
|
|
7050
7143
|
fontFamily: theme?.typography?.fontFamily,
|
|
7051
7144
|
boxSizing: 'border-box'
|
|
@@ -7065,16 +7158,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7065
7158
|
containerWidth
|
|
7066
7159
|
} = {}) => containerWidth
|
|
7067
7160
|
},
|
|
7068
|
-
partialBackground: {
|
|
7069
|
-
top: '0',
|
|
7070
|
-
left: '0',
|
|
7071
|
-
width: '100%',
|
|
7072
|
-
height: '50%',
|
|
7073
|
-
position: 'absolute',
|
|
7074
|
-
background: theme?.palette?.background?.primary
|
|
7075
|
-
},
|
|
7076
7161
|
sectionContainer: {
|
|
7077
|
-
backgroundColor: theme?.
|
|
7162
|
+
backgroundColor: theme?.colors?.white,
|
|
7078
7163
|
boxShadow: theme?.shadows?.secondary,
|
|
7079
7164
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7080
7165
|
padding: '48px',
|
|
@@ -7083,7 +7168,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7083
7168
|
title: {
|
|
7084
7169
|
margin: '0',
|
|
7085
7170
|
fontSize: theme.typography.fontSize.h2,
|
|
7086
|
-
color: theme?.
|
|
7171
|
+
color: theme?.colors?.lightblack?.default,
|
|
7087
7172
|
lineHeight: '71px',
|
|
7088
7173
|
letterSpacing: '-3px',
|
|
7089
7174
|
textAlign: 'left',
|
|
@@ -7108,7 +7193,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7108
7193
|
subtitle: {
|
|
7109
7194
|
// margin: '0 0 auto 0',
|
|
7110
7195
|
fontSize: theme.typography.fontSize.h6,
|
|
7111
|
-
color: theme?.
|
|
7196
|
+
color: theme?.colors?.lightblack,
|
|
7112
7197
|
// lineHeight: '32px',
|
|
7113
7198
|
// margin: '16px 0',
|
|
7114
7199
|
textAlign: 'center',
|
|
@@ -7139,8 +7224,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7139
7224
|
inputField: {
|
|
7140
7225
|
width: '100%',
|
|
7141
7226
|
// maxWidth: '314px',
|
|
7142
|
-
background: theme?.palette?.background?.default,
|
|
7143
|
-
border: `1px solid ${theme?.
|
|
7227
|
+
// background: theme?.palette?.background?.default,
|
|
7228
|
+
border: `1px solid ${theme?.colors?.cta}`,
|
|
7144
7229
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7145
7230
|
// padding: '14px 12px',
|
|
7146
7231
|
display: 'flex',
|
|
@@ -7153,7 +7238,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7153
7238
|
fontWeight: '400',
|
|
7154
7239
|
fontSize: theme.typography.fontSize.subHead,
|
|
7155
7240
|
lineHeight: '20px',
|
|
7156
|
-
color: theme?.
|
|
7241
|
+
color: theme?.colors?.lightblack,
|
|
7157
7242
|
fontFamily: theme?.typography?.fontFamily
|
|
7158
7243
|
},
|
|
7159
7244
|
'&:focus': {
|
|
@@ -7466,6 +7551,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7466
7551
|
webinarSuperContainer: {
|
|
7467
7552
|
display: 'flex',
|
|
7468
7553
|
justifyContent: 'center',
|
|
7554
|
+
background: theme.colors.background1,
|
|
7469
7555
|
padding: ({
|
|
7470
7556
|
isMobile
|
|
7471
7557
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7488,30 +7574,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7488
7574
|
maxWidth: '1440px',
|
|
7489
7575
|
fontFamily: theme?.typography?.fontFamily
|
|
7490
7576
|
},
|
|
7491
|
-
// videoTestimonialHeading: {
|
|
7492
|
-
// fontSize: theme.typography.fontSize.subHead,
|
|
7493
|
-
// lineHeight: '20px',
|
|
7494
|
-
// letterSpacing: '3px',
|
|
7495
|
-
// textTransform: 'uppercase',
|
|
7496
|
-
// color: theme.palette.font.tertiary,
|
|
7497
|
-
// wordBreak: 'break-word',
|
|
7498
|
-
// fontWeight: theme.typography.fontWeight.bold,
|
|
7499
|
-
// },
|
|
7500
|
-
|
|
7501
|
-
// videoTestimonialTitle: {
|
|
7502
|
-
// fontSize: theme.typography.fontSize.h2,
|
|
7503
|
-
// lineHeight: '71px',
|
|
7504
|
-
// fontWeight: theme.typography.fontWeight.bold,
|
|
7505
|
-
// letterSpacing: '-3px',
|
|
7506
|
-
// margin: '0',
|
|
7507
|
-
// color: theme.palette.font.default,
|
|
7508
|
-
// wordBreak: 'break-word'
|
|
7509
|
-
// },
|
|
7510
|
-
|
|
7511
|
-
// videoCarouselContainer: {
|
|
7512
|
-
// marginTop: '16px'
|
|
7513
|
-
// },
|
|
7514
|
-
|
|
7515
7577
|
webinarCarousel: {
|
|
7516
7578
|
display: 'flex',
|
|
7517
7579
|
justifyContent: 'flex-start',
|
|
@@ -7540,7 +7602,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7540
7602
|
},
|
|
7541
7603
|
offerText: {
|
|
7542
7604
|
textAlign: 'center',
|
|
7543
|
-
color: theme
|
|
7605
|
+
color: theme?.colors?.font1,
|
|
7544
7606
|
marginBottom: '5%'
|
|
7545
7607
|
},
|
|
7546
7608
|
offerPrice: {
|
|
@@ -7587,7 +7649,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7587
7649
|
margin: '0',
|
|
7588
7650
|
letterSpacing: '-1px',
|
|
7589
7651
|
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7590
|
-
color: theme
|
|
7652
|
+
color: theme?.colors?.font1
|
|
7591
7653
|
},
|
|
7592
7654
|
courseViewContainer: {
|
|
7593
7655
|
width: '645px',
|
|
@@ -7602,7 +7664,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7602
7664
|
bannerContainer: {
|
|
7603
7665
|
width: '100%',
|
|
7604
7666
|
background: '#EB5757',
|
|
7605
|
-
color:
|
|
7667
|
+
color: theme?.colors?.font1,
|
|
7606
7668
|
textAlign: 'center',
|
|
7607
7669
|
padding: '10px 10px 23px 40px',
|
|
7608
7670
|
wordWrap: 'break-word',
|
|
@@ -7621,24 +7683,26 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7621
7683
|
display: 'flex',
|
|
7622
7684
|
alignItems: 'center',
|
|
7623
7685
|
marginRight: '20px',
|
|
7686
|
+
color: theme?.colors?.font1,
|
|
7624
7687
|
'& div': {
|
|
7625
|
-
fontSize: theme.typography.fontSize.
|
|
7688
|
+
fontSize: theme.typography.fontSize.body,
|
|
7626
7689
|
marginLeft: '10px'
|
|
7627
7690
|
}
|
|
7628
7691
|
},
|
|
7629
7692
|
courseDetailContent: {
|
|
7630
|
-
fontSize: theme.typography.fontSize.
|
|
7693
|
+
fontSize: theme.typography.fontSize.body,
|
|
7694
|
+
lineHeight: '21px',
|
|
7631
7695
|
wordBreak: 'break-word',
|
|
7632
|
-
color: theme
|
|
7696
|
+
color: theme?.colors?.font1,
|
|
7633
7697
|
whiteSpace: 'pre-wrap',
|
|
7634
7698
|
width: '80%'
|
|
7635
7699
|
},
|
|
7636
7700
|
courseDetailViewFullDetails: {
|
|
7637
7701
|
cursor: 'pointer',
|
|
7638
|
-
fontSize: theme.typography.fontSize.
|
|
7702
|
+
fontSize: theme.typography.fontSize.body,
|
|
7639
7703
|
lineHeight: '24px',
|
|
7704
|
+
color: theme?.colors?.font1,
|
|
7640
7705
|
marginTop: '-20px',
|
|
7641
|
-
color: '#00ADE7',
|
|
7642
7706
|
wordBreak: 'break-word'
|
|
7643
7707
|
},
|
|
7644
7708
|
courseDetailTime: {
|
|
@@ -7845,13 +7909,13 @@ const SingleVideoSlide$1 = props => {
|
|
|
7845
7909
|
className: classes.iconBackground
|
|
7846
7910
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
7847
7911
|
name: 'Calendar',
|
|
7848
|
-
color: theme
|
|
7912
|
+
color: theme?.colors?.icon
|
|
7849
7913
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, moment__default["default"](data.startDate).locale(momentLocale).format('Do MMM YY') + ' ', moment__default["default"](data.startTime).locale(momentLocale).format('h:mm A'), /*#__PURE__*/React__default["default"].createElement("span", null, " - "), moment__default["default"](data.endTime).locale(momentLocale).format('h:mm A'))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7850
7914
|
className: classes.courseDetailTag
|
|
7851
7915
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
7852
7916
|
className: classes.iconBackground
|
|
7853
7917
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
7854
|
-
color: theme
|
|
7918
|
+
color: theme?.colors?.icon,
|
|
7855
7919
|
width: "20px",
|
|
7856
7920
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7857
7921
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
@@ -7959,13 +8023,15 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
7959
8023
|
});
|
|
7960
8024
|
|
|
7961
8025
|
const useCoursePromotionPage = createUseStyles(theme => {
|
|
8026
|
+
console.log(theme, 'themere');
|
|
7962
8027
|
return {
|
|
7963
8028
|
courseSuperContainer: {
|
|
7964
8029
|
display: 'flex',
|
|
7965
8030
|
justifyContent: 'center',
|
|
8031
|
+
background: theme?.colors?.background1,
|
|
7966
8032
|
padding: ({
|
|
7967
8033
|
isMobile
|
|
7968
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
8034
|
+
} = {}) => isMobile ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
7969
8035
|
'&, & *, & *:before, & *:after': {
|
|
7970
8036
|
fontFamily: theme?.typography?.fontFamily,
|
|
7971
8037
|
boxSizing: 'border-box'
|
|
@@ -8075,7 +8141,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8075
8141
|
display: 'flex',
|
|
8076
8142
|
flexDirection: 'column',
|
|
8077
8143
|
alignItems: 'flex-start',
|
|
8078
|
-
gap: '
|
|
8144
|
+
gap: '0px'
|
|
8079
8145
|
},
|
|
8080
8146
|
videoDetailsHeading: {
|
|
8081
8147
|
fontSize: theme.typography.fontSize.h3,
|
|
@@ -8083,7 +8149,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8083
8149
|
margin: '0',
|
|
8084
8150
|
letterSpacing: '-1px',
|
|
8085
8151
|
wordBreak: 'break-word',
|
|
8086
|
-
color: theme
|
|
8152
|
+
color: theme?.colors?.font1
|
|
8087
8153
|
},
|
|
8088
8154
|
courseViewContainer: {
|
|
8089
8155
|
width: '445px',
|
|
@@ -8099,7 +8165,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8099
8165
|
bannerContainer: {
|
|
8100
8166
|
width: '100%',
|
|
8101
8167
|
background: '#EB5757',
|
|
8102
|
-
color:
|
|
8168
|
+
color: theme?.colors.font1,
|
|
8103
8169
|
textAlign: 'center',
|
|
8104
8170
|
padding: '10px 10px 23px 40px',
|
|
8105
8171
|
wordWrap: 'break-word',
|
|
@@ -8138,26 +8204,27 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8138
8204
|
alignItems: 'center',
|
|
8139
8205
|
marginRight: '20px',
|
|
8140
8206
|
'& div': {
|
|
8141
|
-
fontSize: theme.typography.fontSize.
|
|
8207
|
+
fontSize: theme.typography.fontSize.body,
|
|
8142
8208
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8143
8209
|
marginLeft: '10px'
|
|
8144
8210
|
}
|
|
8145
8211
|
},
|
|
8146
8212
|
courseDetailContent: {
|
|
8147
|
-
|
|
8148
|
-
fontSize: theme.typography.fontSize.
|
|
8149
|
-
lineHeight: '
|
|
8213
|
+
marginTop: '20px',
|
|
8214
|
+
fontSize: theme.typography.fontSize.body,
|
|
8215
|
+
lineHeight: '21px',
|
|
8150
8216
|
wordBreak: 'break-word',
|
|
8151
|
-
color: theme
|
|
8217
|
+
color: theme?.colors?.font1,
|
|
8152
8218
|
whiteSpace: 'pre-wrap',
|
|
8153
8219
|
margin: '10px 0 20px'
|
|
8154
8220
|
},
|
|
8155
8221
|
courseDetailViewFullDetails: {
|
|
8156
8222
|
cursor: 'pointer',
|
|
8157
|
-
fontSize: theme.typography.fontSize.
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8223
|
+
fontSize: theme.typography.fontSize.body,
|
|
8224
|
+
textDecoration: 'underline',
|
|
8225
|
+
lineHeight: '21px',
|
|
8226
|
+
marginTop: '20px',
|
|
8227
|
+
color: theme.colors?.font1,
|
|
8161
8228
|
wordBreak: 'break-word'
|
|
8162
8229
|
},
|
|
8163
8230
|
courseDetailTime: {
|
|
@@ -8228,7 +8295,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8228
8295
|
// fontSize: '20px',
|
|
8229
8296
|
fontWeight: '600',
|
|
8230
8297
|
lineHeight: 'normal',
|
|
8231
|
-
letterSpacing: '0px'
|
|
8298
|
+
letterSpacing: '0px',
|
|
8299
|
+
color: theme?.colors?.font1
|
|
8232
8300
|
},
|
|
8233
8301
|
videoTestimonialTitle: {
|
|
8234
8302
|
// fontSize: '24px',
|
|
@@ -8545,7 +8613,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8545
8613
|
padding: ({
|
|
8546
8614
|
isMobile
|
|
8547
8615
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8548
|
-
background:
|
|
8616
|
+
background: theme?.colors?.background3,
|
|
8549
8617
|
'&, & *, & *:before, & *:after': {
|
|
8550
8618
|
fontFamily: theme?.typography?.fontFamily,
|
|
8551
8619
|
boxSizing: 'border-box'
|
|
@@ -8562,7 +8630,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8562
8630
|
marginTop: '8px',
|
|
8563
8631
|
fontSize: theme.typography.fontSize.h6,
|
|
8564
8632
|
lineHeight: '23px',
|
|
8565
|
-
color:
|
|
8633
|
+
color: theme?.colors?.gray,
|
|
8566
8634
|
marginBottom: theme.spacing.margin.tiny
|
|
8567
8635
|
},
|
|
8568
8636
|
formPageFormContainer: {
|
|
@@ -8581,8 +8649,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8581
8649
|
},
|
|
8582
8650
|
|
|
8583
8651
|
inputFieldLabel: {
|
|
8584
|
-
color:
|
|
8585
|
-
fontSize: theme.typography.fontSize.
|
|
8652
|
+
color: theme?.colors?.lightblack,
|
|
8653
|
+
fontSize: theme.typography.fontSize.body,
|
|
8586
8654
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8587
8655
|
display: 'block',
|
|
8588
8656
|
marginTop: '20px',
|
|
@@ -8593,8 +8661,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8593
8661
|
borderRadius: '8px',
|
|
8594
8662
|
border: '1px solid #D8E0F0',
|
|
8595
8663
|
padding: '12px 16px',
|
|
8596
|
-
color:
|
|
8597
|
-
fontSize: theme.typography.fontSize.
|
|
8664
|
+
color: theme?.colors?.lightblack,
|
|
8665
|
+
fontSize: theme.typography.fontSize.body
|
|
8598
8666
|
},
|
|
8599
8667
|
checkboxField: {
|
|
8600
8668
|
// padding: '20px',
|
|
@@ -8602,21 +8670,21 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8602
8670
|
// borderRadius: '8px'
|
|
8603
8671
|
},
|
|
8604
8672
|
checkBoxFieldLabel: {
|
|
8605
|
-
color:
|
|
8606
|
-
fontSize: theme.typography.fontSize.
|
|
8673
|
+
color: theme?.colors?.lightblack,
|
|
8674
|
+
fontSize: theme.typography.fontSize.body,
|
|
8607
8675
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8608
8676
|
marginTop: '20px',
|
|
8609
8677
|
marginBottom: '12px'
|
|
8610
8678
|
},
|
|
8611
8679
|
inputFieldRequired: {
|
|
8612
|
-
color:
|
|
8680
|
+
color: theme?.colors?.lightblack
|
|
8613
8681
|
},
|
|
8614
8682
|
checkboxFieldControl: {
|
|
8615
8683
|
padding: '8px 0',
|
|
8616
8684
|
'& label': {
|
|
8617
|
-
fontSize: theme.typography.fontSize.
|
|
8685
|
+
fontSize: theme.typography.fontSize.body,
|
|
8618
8686
|
marginLeft: '10px',
|
|
8619
|
-
color:
|
|
8687
|
+
color: theme?.colors?.lightblack
|
|
8620
8688
|
}
|
|
8621
8689
|
},
|
|
8622
8690
|
submitBtnContainer: {
|
|
@@ -8629,8 +8697,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8629
8697
|
'& button': {
|
|
8630
8698
|
// height: '44px',
|
|
8631
8699
|
padding: '16px 24px',
|
|
8632
|
-
|
|
8633
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
8700
|
+
fontSize: theme.typography.fontSize.body,
|
|
8634
8701
|
cursor: 'pointer',
|
|
8635
8702
|
borderRadius: '8px'
|
|
8636
8703
|
}
|
|
@@ -9638,7 +9705,7 @@ function PageRenderer({
|
|
|
9638
9705
|
countryCode,
|
|
9639
9706
|
currencySymbol
|
|
9640
9707
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
9641
|
-
const theme = React.useMemo(() =>
|
|
9708
|
+
const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
9642
9709
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
9643
9710
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
9644
9711
|
theme: theme
|