diy-template-components 1.0.59 → 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 +311 -242
- package/build/index.es.js.map +1 -1
- package/build/index.js +311 -242
- 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',
|
|
@@ -2076,17 +2074,13 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
|
2076
2074
|
const shape = {
|
|
2077
2075
|
borderRadius
|
|
2078
2076
|
};
|
|
2079
|
-
const spacing = {
|
|
2080
|
-
padding: isMobile ? mobilePadding : padding,
|
|
2081
|
-
margin: isMobile ? mobileMargin : margin
|
|
2082
|
-
};
|
|
2083
2077
|
return {
|
|
2084
2078
|
palette,
|
|
2085
2079
|
shape,
|
|
2086
2080
|
typography,
|
|
2087
2081
|
shadows: generateShadows(palette),
|
|
2088
|
-
borders: generateBorders(palette)
|
|
2089
|
-
spacing
|
|
2082
|
+
borders: generateBorders(palette)
|
|
2083
|
+
// spacing
|
|
2090
2084
|
};
|
|
2091
2085
|
}
|
|
2092
2086
|
|
|
@@ -2208,6 +2202,165 @@ const defaultMetadata = {
|
|
|
2208
2202
|
layout: defaultLayout
|
|
2209
2203
|
};
|
|
2210
2204
|
|
|
2205
|
+
const GRADIENT = `linear-gradient`;
|
|
2206
|
+
const allColors = {
|
|
2207
|
+
white: '#FFFFFF',
|
|
2208
|
+
black: '#000000',
|
|
2209
|
+
lightblack: '#333333',
|
|
2210
|
+
gray: '#999999',
|
|
2211
|
+
// Blue gradient
|
|
2212
|
+
|
|
2213
|
+
blue: '#1676F3',
|
|
2214
|
+
bluegradient: `${GRADIENT}(#5418D1,#2C88FF)`,
|
|
2215
|
+
tertiaryblue: '#F4F9FF',
|
|
2216
|
+
// Orange gradient
|
|
2217
|
+
|
|
2218
|
+
orange: '#FF9000',
|
|
2219
|
+
orangegradient: `${GRADIENT}(#E96263 , #EAAE4C)`,
|
|
2220
|
+
tertiaryorange: '#FFF6EA',
|
|
2221
|
+
// Pink gradient
|
|
2222
|
+
|
|
2223
|
+
pink: '#F72585',
|
|
2224
|
+
pinkgradient: `${GRADIENT}(#F97794,#623AA2)`,
|
|
2225
|
+
tertiarypink: '#FEE9F3',
|
|
2226
|
+
// Violet gradient
|
|
2227
|
+
|
|
2228
|
+
purple: '#6026A8',
|
|
2229
|
+
purplegradient: `${GRADIENT}(#B66EC0 , #460FA1)`,
|
|
2230
|
+
tertiarypurple: '#F5F2FA',
|
|
2231
|
+
// Green gradient
|
|
2232
|
+
|
|
2233
|
+
green: '#8ECE19',
|
|
2234
|
+
greengradient: `${GRADIENT}(#0E5CAD, #79F1A4)`,
|
|
2235
|
+
tertiarygreen: '#F4FAFA',
|
|
2236
|
+
//Red solid
|
|
2237
|
+
|
|
2238
|
+
red: '#F41828',
|
|
2239
|
+
tertiaryred: '#FFF2F3',
|
|
2240
|
+
//Maroon solid
|
|
2241
|
+
|
|
2242
|
+
rust: '#9B2226',
|
|
2243
|
+
tertiaryrust: '#FFF0F0',
|
|
2244
|
+
//Golden gradient
|
|
2245
|
+
|
|
2246
|
+
golden: `#F2BA35`,
|
|
2247
|
+
goldengradient: `${GRADIENT}(#F0EA88, #CFA749)`,
|
|
2248
|
+
//light green gradient
|
|
2249
|
+
|
|
2250
|
+
lightgreen: `#D6E359`,
|
|
2251
|
+
lightgreengradient: `${GRADIENT}(#D6E359, #9DB545)`,
|
|
2252
|
+
//light blue gradient
|
|
2253
|
+
|
|
2254
|
+
lightblue: `#A8EDF8`,
|
|
2255
|
+
lightbluegradient: `${GRADIENT}(#A8EDF8, #5EC9E1)`,
|
|
2256
|
+
skyblue: '#00ADE7',
|
|
2257
|
+
tertiaryskyblue: '#F2FCFF'
|
|
2258
|
+
};
|
|
2259
|
+
|
|
2260
|
+
const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
|
|
2261
|
+
let themeColor = theme.split('-');
|
|
2262
|
+
let color, gradient, darkMode;
|
|
2263
|
+
if (themeColor.length === 1) {
|
|
2264
|
+
color = themeColor[0];
|
|
2265
|
+
} else if (themeColor.length === 2) {
|
|
2266
|
+
color = themeColor[0];
|
|
2267
|
+
gradient = themeColor[1];
|
|
2268
|
+
} else {
|
|
2269
|
+
color = themeColor[0];
|
|
2270
|
+
gradient = themeColor[1];
|
|
2271
|
+
darkMode = themeColor[2];
|
|
2272
|
+
}
|
|
2273
|
+
console.log('color', allColors, gradient, darkMode);
|
|
2274
|
+
|
|
2275
|
+
// switch (color) {
|
|
2276
|
+
// case solidColors:
|
|
2277
|
+
// break;
|
|
2278
|
+
|
|
2279
|
+
// case gradientColors:
|
|
2280
|
+
// break;
|
|
2281
|
+
|
|
2282
|
+
// default:
|
|
2283
|
+
// break;
|
|
2284
|
+
// }
|
|
2285
|
+
|
|
2286
|
+
// type 1
|
|
2287
|
+
// const solidColors = {
|
|
2288
|
+
// font1: solidBaseColors?.black,
|
|
2289
|
+
// font2: solidBaseColors?.black,
|
|
2290
|
+
// font3: solidBaseColors?.black,
|
|
2291
|
+
// font4: solidBaseColors?.black,
|
|
2292
|
+
// AccentColor: solidBaseColors[theme],
|
|
2293
|
+
// background1: solidBaseColors?.white,
|
|
2294
|
+
// background2: solidBaseColors['tertiary' + theme],
|
|
2295
|
+
// background3: solidBaseColors['tertiary' + theme],
|
|
2296
|
+
// ctaColor: solidBaseColors[theme],
|
|
2297
|
+
// CtaTextColor: solidBaseColors?.white,
|
|
2298
|
+
// icon: solidBaseColors[theme],
|
|
2299
|
+
// iconBg: solidBaseColors['tertiary' + theme],
|
|
2300
|
+
// stripBg: solidBaseColors[theme],
|
|
2301
|
+
// stripText: solidBaseColors?.white,
|
|
2302
|
+
// inputBorderColor: solidBaseColors?.blue2,
|
|
2303
|
+
// tertiaryBlue2: solidBaseColors?.tertiaryblue2
|
|
2304
|
+
// };
|
|
2305
|
+
|
|
2306
|
+
//type 2
|
|
2307
|
+
// const gradientColors = {
|
|
2308
|
+
// font1: gradientBaseColors?.white,
|
|
2309
|
+
// font2: gradientBaseColors?.black,
|
|
2310
|
+
// font3: gradientBaseColors?.black,
|
|
2311
|
+
// font4: gradientBaseColors?.white,
|
|
2312
|
+
// AccentColor: gradientBaseColors[theme],
|
|
2313
|
+
// background1: gradientBaseColors[theme + 'gradient'],
|
|
2314
|
+
// background2: gradientBaseColors['tertiary' + theme],
|
|
2315
|
+
// background3: gradientBaseColors[theme + 'gradient'],
|
|
2316
|
+
// ctaColor: gradientBaseColors[theme + 'gradient'],
|
|
2317
|
+
// CtaTextColor: gradientBaseColors?.white,
|
|
2318
|
+
// icon: gradientBaseColors[theme],
|
|
2319
|
+
// iconBg: gradientBaseColors['tertiary' + theme],
|
|
2320
|
+
// stripBg: gradientBaseColors?.black,
|
|
2321
|
+
// stripText: gradientBaseColors?.white
|
|
2322
|
+
// };
|
|
2323
|
+
|
|
2324
|
+
const colors = {
|
|
2325
|
+
font1: gradient ? allColors?.white : allColors?.black,
|
|
2326
|
+
font2: darkMode ? allColors[color] : allColors?.black,
|
|
2327
|
+
font3: darkMode ? allColors?.white : allColors?.black,
|
|
2328
|
+
font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
|
|
2329
|
+
AccentColor: allColors[color],
|
|
2330
|
+
background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
|
|
2331
|
+
background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2332
|
+
background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
|
|
2333
|
+
ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
|
|
2334
|
+
CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2335
|
+
icon: allColors[color],
|
|
2336
|
+
iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2337
|
+
stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
|
|
2338
|
+
stripText: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2339
|
+
inputBorderColor: allColors?.blue2,
|
|
2340
|
+
tertiaryBlue2: allColors?.tertiaryblue2,
|
|
2341
|
+
white: allColors?.white,
|
|
2342
|
+
black: allColors?.black,
|
|
2343
|
+
lightblack: allColors?.lightblack,
|
|
2344
|
+
gray: allColors?.gray
|
|
2345
|
+
};
|
|
2346
|
+
const typography = {
|
|
2347
|
+
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
2348
|
+
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
2349
|
+
fontWeight
|
|
2350
|
+
};
|
|
2351
|
+
// const shape = { borderRadius };
|
|
2352
|
+
const spacing = {
|
|
2353
|
+
padding: isMobile ? mobilePadding : padding,
|
|
2354
|
+
margin: isMobile ? mobileMargin : margin
|
|
2355
|
+
};
|
|
2356
|
+
return {
|
|
2357
|
+
...getTheme(theme),
|
|
2358
|
+
typography,
|
|
2359
|
+
spacing,
|
|
2360
|
+
colors
|
|
2361
|
+
};
|
|
2362
|
+
};
|
|
2363
|
+
|
|
2211
2364
|
function PageRenderer$1({
|
|
2212
2365
|
pageData: {
|
|
2213
2366
|
metadata: {
|
|
@@ -2264,7 +2417,7 @@ function PageRenderer$1({
|
|
|
2264
2417
|
countryCode,
|
|
2265
2418
|
currencySymbol
|
|
2266
2419
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
2267
|
-
const theme = useMemo(() =>
|
|
2420
|
+
const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2268
2421
|
const Wrapper = SectionWrapper || Fragment;
|
|
2269
2422
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
2270
2423
|
theme: theme
|
|
@@ -2302,7 +2455,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2302
2455
|
padding: ({
|
|
2303
2456
|
isMobile
|
|
2304
2457
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
2305
|
-
|
|
2458
|
+
background: theme?.colors?.background2,
|
|
2306
2459
|
'&, & *, & *:before, & *:after': {
|
|
2307
2460
|
fontFamily: theme?.typography?.fontFamily,
|
|
2308
2461
|
boxSizing: 'border-box'
|
|
@@ -2360,14 +2513,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2360
2513
|
marginBottom: '8px',
|
|
2361
2514
|
fontSize: theme.typography.fontSize.subHead,
|
|
2362
2515
|
letterSpacing: '3px',
|
|
2363
|
-
color: theme?.
|
|
2516
|
+
color: theme?.colors?.font3,
|
|
2364
2517
|
wordBreak: 'break-word',
|
|
2365
2518
|
maxWidth: '100%'
|
|
2366
2519
|
},
|
|
2367
2520
|
heading: {
|
|
2368
2521
|
margin: '0',
|
|
2369
2522
|
fontSize: theme.typography.fontSize.h1,
|
|
2370
|
-
color: theme?.
|
|
2523
|
+
color: theme?.colors?.font3,
|
|
2371
2524
|
wordBreak: ({
|
|
2372
2525
|
wordBreakValue
|
|
2373
2526
|
}) => wordBreakValue || 'break-word',
|
|
@@ -2376,7 +2529,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2376
2529
|
},
|
|
2377
2530
|
description: {
|
|
2378
2531
|
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2379
|
-
color: theme?.
|
|
2532
|
+
color: theme?.colors?.font3,
|
|
2380
2533
|
lineHeight: '24px',
|
|
2381
2534
|
wordBreak: 'break-word'
|
|
2382
2535
|
},
|
|
@@ -2493,7 +2646,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2493
2646
|
width: '26px',
|
|
2494
2647
|
background: ({
|
|
2495
2648
|
inverted
|
|
2496
|
-
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.
|
|
2649
|
+
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.colors.AccentColor
|
|
2497
2650
|
},
|
|
2498
2651
|
'@media screen and (max-width: 767px)': {
|
|
2499
2652
|
sliderClass: {
|
|
@@ -2529,7 +2682,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2529
2682
|
height: sizeHandler,
|
|
2530
2683
|
border: ({
|
|
2531
2684
|
inverted
|
|
2532
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2685
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor}`,
|
|
2533
2686
|
borderRadius: '50%',
|
|
2534
2687
|
display: 'flex',
|
|
2535
2688
|
justifyContent: 'center',
|
|
@@ -2551,7 +2704,7 @@ function ArrowButton(props) {
|
|
|
2551
2704
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
2552
2705
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2553
2706
|
name: "Angle",
|
|
2554
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2707
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor,
|
|
2555
2708
|
inverted: true
|
|
2556
2709
|
}));
|
|
2557
2710
|
}
|
|
@@ -2761,7 +2914,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2761
2914
|
justifyContent: 'center',
|
|
2762
2915
|
flexDirection: 'column',
|
|
2763
2916
|
alignItems: 'center',
|
|
2764
|
-
backgroundColor: theme?.palette?.background?.default,
|
|
2765
2917
|
'&, & *, & *:before, & *:after': {
|
|
2766
2918
|
fontFamily: theme?.typography?.fontFamily,
|
|
2767
2919
|
boxSizing: 'border-box'
|
|
@@ -2779,7 +2931,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2779
2931
|
subTitleHeading: {
|
|
2780
2932
|
marginBottom: '8px',
|
|
2781
2933
|
fontSize: theme.typography.fontSize.subHead,
|
|
2782
|
-
color: theme?.
|
|
2934
|
+
color: theme?.colors?.black,
|
|
2783
2935
|
alignItems: 'center',
|
|
2784
2936
|
textAlign: 'center',
|
|
2785
2937
|
wordBreak: 'break-word',
|
|
@@ -2789,7 +2941,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2789
2941
|
heading: {
|
|
2790
2942
|
marginBottom: theme.spacing.margin.tiny,
|
|
2791
2943
|
fontSize: theme.typography.fontSize.h2,
|
|
2792
|
-
color: theme?.
|
|
2944
|
+
color: theme?.colors?.black,
|
|
2793
2945
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2794
2946
|
textAlign: 'center',
|
|
2795
2947
|
wordBreak: 'break-word'
|
|
@@ -2806,7 +2958,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2806
2958
|
display: 'flex',
|
|
2807
2959
|
width: 'calc(100% - 200px)',
|
|
2808
2960
|
alignItems: 'center',
|
|
2809
|
-
background: theme?.
|
|
2961
|
+
background: theme?.colors?.white,
|
|
2810
2962
|
boxShadow: theme?.shadows?.primary,
|
|
2811
2963
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2812
2964
|
overflow: 'hidden',
|
|
@@ -2830,33 +2982,13 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2830
2982
|
'& $contentText': {
|
|
2831
2983
|
marginLeft: '170px'
|
|
2832
2984
|
}
|
|
2833
|
-
},
|
|
2834
|
-
'&:nth-child(7n+1) $contentNumber': {
|
|
2835
|
-
background: palettes.purple.primary.lightest
|
|
2836
|
-
},
|
|
2837
|
-
'&:nth-child(7n+2) $contentNumber': {
|
|
2838
|
-
background: palettes.orange.primary.lightest
|
|
2839
|
-
},
|
|
2840
|
-
'&:nth-child(7n+3) $contentNumber': {
|
|
2841
|
-
background: palettes.red.primary.lightest
|
|
2842
|
-
},
|
|
2843
|
-
'&:nth-child(7n+4) $contentNumber': {
|
|
2844
|
-
background: palettes.green.primary.lightest
|
|
2845
|
-
},
|
|
2846
|
-
'&:nth-child(7n+5) $contentNumber': {
|
|
2847
|
-
background: palettes.pink.primary.lightest
|
|
2848
|
-
},
|
|
2849
|
-
'&:nth-child(7n+6) $contentNumber': {
|
|
2850
|
-
background: palettes.blue.primary.lightest
|
|
2851
|
-
},
|
|
2852
|
-
'&:nth-child(7n) $contentNumber': {
|
|
2853
|
-
background: palettes.rust.primary.lightest
|
|
2854
2985
|
}
|
|
2855
2986
|
},
|
|
2856
2987
|
contentNumber: {
|
|
2857
2988
|
position: 'absolute',
|
|
2858
2989
|
top: '0',
|
|
2859
2990
|
fontWeight: '700',
|
|
2991
|
+
background: theme?.colors?.background3,
|
|
2860
2992
|
fontSize: '72px',
|
|
2861
2993
|
letterSpacing: '-3px',
|
|
2862
2994
|
display: 'flex',
|
|
@@ -2864,7 +2996,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2864
2996
|
justifyContent: 'center',
|
|
2865
2997
|
padding: '48px',
|
|
2866
2998
|
height: '100%',
|
|
2867
|
-
color: theme?.
|
|
2999
|
+
color: theme?.colors?.font4,
|
|
2868
3000
|
wordBreak: 'break-word'
|
|
2869
3001
|
},
|
|
2870
3002
|
contentText: {
|
|
@@ -2876,14 +3008,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2876
3008
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2877
3009
|
lineHeight: '32px',
|
|
2878
3010
|
marginBottom: '8px',
|
|
2879
|
-
color: theme?.
|
|
3011
|
+
color: theme?.colors?.lightblack,
|
|
2880
3012
|
wordBreak: 'break-word'
|
|
2881
3013
|
},
|
|
2882
3014
|
contentPara: {
|
|
2883
3015
|
fontStyle: 'normal',
|
|
2884
3016
|
fontSize: '16px',
|
|
2885
3017
|
lineHeight: '26px',
|
|
2886
|
-
color: theme?.
|
|
3018
|
+
color: theme?.colors?.gray,
|
|
2887
3019
|
wordBreak: 'break-word'
|
|
2888
3020
|
},
|
|
2889
3021
|
'@media screen and (max-width: 767px)': {
|
|
@@ -3140,13 +3272,15 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
3140
3272
|
justifyContent: 'center',
|
|
3141
3273
|
alignItems: 'center',
|
|
3142
3274
|
position: 'absolute',
|
|
3143
|
-
padding: '
|
|
3275
|
+
padding: '24px 16px',
|
|
3144
3276
|
height: '100%',
|
|
3145
3277
|
width: '100%',
|
|
3146
3278
|
zIndex: '99',
|
|
3147
3279
|
background: 'trasparent'
|
|
3148
3280
|
},
|
|
3149
|
-
textContainer: {
|
|
3281
|
+
textContainer: {
|
|
3282
|
+
padding: '24px 16px'
|
|
3283
|
+
},
|
|
3150
3284
|
// textContainer: {
|
|
3151
3285
|
// position: ({ mobileImage }) => mobileImage ? 'absolute' : '',
|
|
3152
3286
|
// padding: ({ mobileImage }) => mobileImage ? '20px 20px' : '24px 16px',
|
|
@@ -3294,6 +3428,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3294
3428
|
return {
|
|
3295
3429
|
section: {
|
|
3296
3430
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3431
|
+
background: theme?.colors?.background2,
|
|
3297
3432
|
'&, & *, & *:before, & *:after': {
|
|
3298
3433
|
fontFamily: theme?.typography?.fontFamily,
|
|
3299
3434
|
boxSizing: 'border-box'
|
|
@@ -3337,7 +3472,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3337
3472
|
}
|
|
3338
3473
|
},
|
|
3339
3474
|
imageBorder: {
|
|
3340
|
-
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3475
|
+
// border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3341
3476
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3342
3477
|
position: 'absolute',
|
|
3343
3478
|
width: '100%',
|
|
@@ -3362,13 +3497,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3362
3497
|
marginBottom: '8px',
|
|
3363
3498
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3364
3499
|
letterSpacing: '3px',
|
|
3365
|
-
color: theme?.
|
|
3500
|
+
color: theme?.colors?.font3,
|
|
3366
3501
|
wordBreak: 'break-word'
|
|
3367
3502
|
},
|
|
3368
3503
|
heading: {
|
|
3369
3504
|
margin: '0',
|
|
3370
3505
|
fontSize: theme?.typography?.fontSize?.h1,
|
|
3371
|
-
color: theme?.
|
|
3506
|
+
color: theme?.colors?.font3,
|
|
3372
3507
|
wordBreak: ({
|
|
3373
3508
|
wordBreakValue
|
|
3374
3509
|
}) => wordBreakValue || 'break-word',
|
|
@@ -3378,7 +3513,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3378
3513
|
description: {
|
|
3379
3514
|
marginTop: theme.spacing.margin.tiny,
|
|
3380
3515
|
marginBottom: theme.spacing.margin.tiny,
|
|
3381
|
-
color: theme?.
|
|
3516
|
+
color: theme?.colors?.font3,
|
|
3382
3517
|
lineHeight: '24px',
|
|
3383
3518
|
wordBreak: 'break-word'
|
|
3384
3519
|
},
|
|
@@ -3544,16 +3679,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3544
3679
|
containerWidth
|
|
3545
3680
|
} = {}) => containerWidth
|
|
3546
3681
|
},
|
|
3547
|
-
partialBackground: {
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
},
|
|
3682
|
+
// partialBackground: {
|
|
3683
|
+
// top: '0',
|
|
3684
|
+
// left: '0',
|
|
3685
|
+
// width: '100%',
|
|
3686
|
+
// height: '50%',
|
|
3687
|
+
// position: 'absolute',
|
|
3688
|
+
// background: theme?.palette?.background?.primary
|
|
3689
|
+
// },
|
|
3555
3690
|
sectionContainer: {
|
|
3556
|
-
backgroundColor: theme?.
|
|
3691
|
+
backgroundColor: theme?.colors?.background2,
|
|
3557
3692
|
boxShadow: theme?.shadows?.secondary,
|
|
3558
3693
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3559
3694
|
padding: theme.spacing.padding.small,
|
|
@@ -3564,7 +3699,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3564
3699
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3565
3700
|
lineHeight: '71px',
|
|
3566
3701
|
letterSpacing: '-3px',
|
|
3567
|
-
color: theme?.
|
|
3702
|
+
color: theme?.colors?.font3,
|
|
3568
3703
|
marginBottom: theme.spacing.padding.tiny,
|
|
3569
3704
|
wordBreak: 'break-word'
|
|
3570
3705
|
},
|
|
@@ -3576,7 +3711,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3576
3711
|
title: {
|
|
3577
3712
|
fontSize: theme.typography.fontSize.h6,
|
|
3578
3713
|
lineHeight: '32px',
|
|
3579
|
-
color: theme?.
|
|
3714
|
+
color: theme?.colors?.font3,
|
|
3580
3715
|
wordBreak: 'break-word',
|
|
3581
3716
|
flex: 1
|
|
3582
3717
|
},
|
|
@@ -3704,8 +3839,8 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3704
3839
|
inputField: {
|
|
3705
3840
|
width: '100%',
|
|
3706
3841
|
// maxWidth: '314px',
|
|
3707
|
-
background: theme?.palette?.background?.default,
|
|
3708
|
-
border: `1px solid ${theme?.
|
|
3842
|
+
// background: theme?.palette?.background?.default,
|
|
3843
|
+
border: `1px solid ${theme?.colors?.icon}`,
|
|
3709
3844
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3710
3845
|
padding: '14px 12px',
|
|
3711
3846
|
display: 'flex',
|
|
@@ -3719,7 +3854,7 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3719
3854
|
fontWeight: '400',
|
|
3720
3855
|
fontSize: '16px',
|
|
3721
3856
|
lineHeight: '20px',
|
|
3722
|
-
color: theme?.
|
|
3857
|
+
color: theme?.colors?.black,
|
|
3723
3858
|
fontFamily: theme?.typography?.fontFamily
|
|
3724
3859
|
},
|
|
3725
3860
|
'&:focus': {
|
|
@@ -3919,7 +4054,6 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
3919
4054
|
|
|
3920
4055
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
3921
4056
|
testimonialContainer: {
|
|
3922
|
-
background: theme?.palette?.background?.primary,
|
|
3923
4057
|
overflow: 'hidden',
|
|
3924
4058
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3925
4059
|
'&, & *, & *:before, & *:after': {
|
|
@@ -3937,14 +4071,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3937
4071
|
} = {}) => containerWidth
|
|
3938
4072
|
},
|
|
3939
4073
|
testimonialText: {
|
|
3940
|
-
color: theme?.
|
|
4074
|
+
color: theme?.colors?.font2,
|
|
3941
4075
|
fontSize: theme.typography.fontSize.subHead,
|
|
3942
4076
|
wordBreak: 'break-word',
|
|
3943
4077
|
textTransform: 'uppercase'
|
|
3944
4078
|
},
|
|
3945
4079
|
testimonialHeader: {
|
|
3946
4080
|
fontSize: theme.typography.fontSize.h2,
|
|
3947
|
-
color: theme?.
|
|
4081
|
+
color: theme?.colors?.font2,
|
|
3948
4082
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3949
4083
|
marginBottom: theme.spacing.margin.tiny,
|
|
3950
4084
|
marginTop: '8px',
|
|
@@ -3961,7 +4095,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3961
4095
|
position: 'relative',
|
|
3962
4096
|
height: 'calc(100% - 12px)',
|
|
3963
4097
|
width: 'calc(100% - 24px)',
|
|
3964
|
-
background: theme?.
|
|
4098
|
+
background: theme?.colors?.background1,
|
|
3965
4099
|
boxShadow: theme?.shadows?.primary,
|
|
3966
4100
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3967
4101
|
},
|
|
@@ -3988,7 +4122,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3988
4122
|
marginBottom: theme.spacing.margin.tiny,
|
|
3989
4123
|
fontSize: theme.typography.fontSize.body,
|
|
3990
4124
|
wordBreak: 'break-word',
|
|
3991
|
-
color: theme?.
|
|
4125
|
+
color: theme?.colors?.font1,
|
|
3992
4126
|
lineHeight: '26px'
|
|
3993
4127
|
},
|
|
3994
4128
|
userContainer: {
|
|
@@ -4017,7 +4151,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4017
4151
|
marginRight: '16px'
|
|
4018
4152
|
},
|
|
4019
4153
|
userName: {
|
|
4020
|
-
color: theme?.
|
|
4154
|
+
color: theme?.colors?.font1,
|
|
4021
4155
|
margin: '0',
|
|
4022
4156
|
fontSize: theme.typography.fontSize.h5,
|
|
4023
4157
|
// paddingTop: '16px',
|
|
@@ -4036,19 +4170,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4036
4170
|
testimonialContainer: {
|
|
4037
4171
|
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
4038
4172
|
},
|
|
4039
|
-
// testimonialCardAndText: {
|
|
4040
|
-
// margin: '0 20px'
|
|
4041
|
-
// },
|
|
4042
|
-
|
|
4043
|
-
// testimonialHeader: {
|
|
4044
|
-
// fontSize: '24px',
|
|
4045
|
-
// color: theme?.palette?.font?.default,
|
|
4046
|
-
// margin: '4px 0 12px 0',
|
|
4047
|
-
// overflow: 'hidden',
|
|
4048
|
-
// // whiteSpace: 'nowrap',
|
|
4049
|
-
// wordBreak: 'break-word',
|
|
4050
|
-
// textOverflow: 'ellipsis'
|
|
4051
|
-
// },
|
|
4052
4173
|
testimonialText: {
|
|
4053
4174
|
textAlign: 'center'
|
|
4054
4175
|
},
|
|
@@ -4101,7 +4222,7 @@ function QuotesComponent() {
|
|
|
4101
4222
|
width: "28px",
|
|
4102
4223
|
height: "21px",
|
|
4103
4224
|
name: "Quote",
|
|
4104
|
-
color: theme?.
|
|
4225
|
+
color: theme?.colors?.icon
|
|
4105
4226
|
}));
|
|
4106
4227
|
}
|
|
4107
4228
|
|
|
@@ -4631,7 +4752,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4631
4752
|
padding: ({
|
|
4632
4753
|
isMobile
|
|
4633
4754
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4634
|
-
backgroundColor: theme?.
|
|
4755
|
+
backgroundColor: theme?.colors?.background2,
|
|
4635
4756
|
'&, & *, & *:before, & *:after': {
|
|
4636
4757
|
fontFamily: theme?.typography?.fontFamily,
|
|
4637
4758
|
boxSizing: 'border-box'
|
|
@@ -4654,7 +4775,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4654
4775
|
fontSize: theme.typography.fontSize.subHead,
|
|
4655
4776
|
textTransform: 'uppercase',
|
|
4656
4777
|
lineHeight: '20px',
|
|
4657
|
-
color: theme?.
|
|
4778
|
+
color: theme?.colors?.font3,
|
|
4658
4779
|
letterSpacing: '3px',
|
|
4659
4780
|
wordBreak: 'break-word'
|
|
4660
4781
|
},
|
|
@@ -4665,14 +4786,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4665
4786
|
letterSpacing: '-3px',
|
|
4666
4787
|
marginBottom: theme.spacing.margin.tiny,
|
|
4667
4788
|
marginTop: '8px',
|
|
4668
|
-
color: theme?.
|
|
4789
|
+
color: theme?.colors?.font3,
|
|
4669
4790
|
wordBreak: 'break-word'
|
|
4670
4791
|
},
|
|
4671
4792
|
sliderContainer: {
|
|
4672
4793
|
marginRight: `-${theme.spacing.padding.medium}px`
|
|
4673
4794
|
},
|
|
4674
4795
|
singleSlideContainer: {
|
|
4675
|
-
backgroundColor:
|
|
4796
|
+
backgroundColor: 'white',
|
|
4676
4797
|
// margin: '20px',
|
|
4677
4798
|
width: 'calc(100% - 24px)',
|
|
4678
4799
|
height: 'calc(100% - 40px)',
|
|
@@ -4709,14 +4830,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4709
4830
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4710
4831
|
lineHeight: '32px',
|
|
4711
4832
|
marginBottom: '8px',
|
|
4712
|
-
color: theme?.
|
|
4833
|
+
color: theme?.colors?.font2,
|
|
4713
4834
|
wordBreak: 'break-word'
|
|
4714
4835
|
},
|
|
4715
4836
|
videoDetailsSubHeading: {
|
|
4716
4837
|
fontSize: theme.typography.fontSize.body,
|
|
4717
4838
|
lineHeight: '24px',
|
|
4718
4839
|
wordBreak: 'break-word',
|
|
4719
|
-
color: theme?.
|
|
4840
|
+
color: theme?.colors?.font2
|
|
4720
4841
|
},
|
|
4721
4842
|
'@media (max-width: 767px)': {
|
|
4722
4843
|
videoHeading: {
|
|
@@ -4863,11 +4984,10 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4863
4984
|
|
|
4864
4985
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4865
4986
|
section: {
|
|
4866
|
-
position: 'relative',
|
|
4867
4987
|
padding: ({
|
|
4868
4988
|
isMobile
|
|
4869
4989
|
} = {}) => 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`,
|
|
4870
|
-
|
|
4990
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
4871
4991
|
'&, & *, & *:before, & *:after': {
|
|
4872
4992
|
fontFamily: theme?.typography?.fontFamily,
|
|
4873
4993
|
boxSizing: 'border-box'
|
|
@@ -4886,21 +5006,13 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4886
5006
|
containerWidth
|
|
4887
5007
|
} = {}) => containerWidth
|
|
4888
5008
|
},
|
|
4889
|
-
partialBackground: {
|
|
4890
|
-
position: 'absolute',
|
|
4891
|
-
top: '0',
|
|
4892
|
-
left: '0',
|
|
4893
|
-
height: '50%',
|
|
4894
|
-
background: theme?.palette?.background?.primary,
|
|
4895
|
-
width: '100%'
|
|
4896
|
-
},
|
|
4897
5009
|
content: {
|
|
4898
5010
|
position: 'relative'
|
|
4899
5011
|
},
|
|
4900
5012
|
subTitleHeading: {
|
|
4901
5013
|
width: '100%',
|
|
4902
5014
|
fontSize: theme.typography.fontSize.subHead,
|
|
4903
|
-
color: theme?.
|
|
5015
|
+
color: theme?.colors?.font2,
|
|
4904
5016
|
textTransform: 'uppercase',
|
|
4905
5017
|
textAlign: 'left',
|
|
4906
5018
|
lineHeight: '20px',
|
|
@@ -4912,7 +5024,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4912
5024
|
fontSize: theme.typography.fontSize.h2,
|
|
4913
5025
|
width: '100%',
|
|
4914
5026
|
lineHeight: '70px',
|
|
4915
|
-
color: theme?.
|
|
5027
|
+
color: theme?.colors?.font2,
|
|
4916
5028
|
textAlign: 'left',
|
|
4917
5029
|
wordBreak: 'break-word'
|
|
4918
5030
|
},
|
|
@@ -4922,7 +5034,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4922
5034
|
// },
|
|
4923
5035
|
|
|
4924
5036
|
card: {
|
|
4925
|
-
background: theme?.
|
|
5037
|
+
background: theme?.colors?.white,
|
|
4926
5038
|
boxShadow: theme?.shadows?.primary,
|
|
4927
5039
|
borderRadius: theme.shape.borderRadius.large,
|
|
4928
5040
|
margin: ({
|
|
@@ -4943,7 +5055,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4943
5055
|
textAlign: 'center',
|
|
4944
5056
|
fontSize: theme.typography.fontSize.h6,
|
|
4945
5057
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4946
|
-
color: theme?.
|
|
5058
|
+
color: theme?.colors?.lightblack,
|
|
4947
5059
|
margin: `16px 0px`,
|
|
4948
5060
|
wordBreak: 'break-word'
|
|
4949
5061
|
},
|
|
@@ -4955,7 +5067,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4955
5067
|
alignItems: 'center',
|
|
4956
5068
|
justifyContent: 'center',
|
|
4957
5069
|
borderRadius: '50%',
|
|
4958
|
-
background: theme?.
|
|
5070
|
+
background: theme?.colors?.background2
|
|
4959
5071
|
},
|
|
4960
5072
|
buttonContainerClass: {
|
|
4961
5073
|
marginRight: theme.spacing.margin.regular,
|
|
@@ -4969,7 +5081,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4969
5081
|
textAlign: 'center',
|
|
4970
5082
|
fontSize: theme.typography.fontSize.body,
|
|
4971
5083
|
lineHeight: '22px',
|
|
4972
|
-
color: theme?.
|
|
5084
|
+
color: theme?.colors?.gray,
|
|
4973
5085
|
margin: '0',
|
|
4974
5086
|
wordBreak: 'break-word'
|
|
4975
5087
|
},
|
|
@@ -5055,7 +5167,7 @@ function Info({
|
|
|
5055
5167
|
className: classes.imageContainer
|
|
5056
5168
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
5057
5169
|
name: dt.icon.metadata.value,
|
|
5058
|
-
color: theme
|
|
5170
|
+
color: theme?.colors?.icon,
|
|
5059
5171
|
width: isMobile ? '30px' : '40px',
|
|
5060
5172
|
height: isMobile ? '30px' : '40px'
|
|
5061
5173
|
})), /*#__PURE__*/React.createElement("h3", {
|
|
@@ -5112,7 +5224,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5112
5224
|
padding: ({
|
|
5113
5225
|
isMobile
|
|
5114
5226
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5115
|
-
backgroundColor: theme?.
|
|
5227
|
+
backgroundColor: theme?.colors?.background2,
|
|
5116
5228
|
'&, & *, & *:before, & *:after': {
|
|
5117
5229
|
fontFamily: theme?.typography?.fontFamily,
|
|
5118
5230
|
boxSizing: 'border-box'
|
|
@@ -5129,7 +5241,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5129
5241
|
subHeading: {
|
|
5130
5242
|
fontSize: theme.typography.fontSize.subHead,
|
|
5131
5243
|
marginBottom: '8px',
|
|
5132
|
-
color: theme?.
|
|
5244
|
+
color: theme?.colors?.font3,
|
|
5133
5245
|
wordBreak: 'break-word',
|
|
5134
5246
|
textTransform: 'uppercase',
|
|
5135
5247
|
letterSpacing: '3px'
|
|
@@ -5139,7 +5251,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5139
5251
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5140
5252
|
lineHeight: 'normal',
|
|
5141
5253
|
margin: '0',
|
|
5142
|
-
color: theme?.
|
|
5254
|
+
color: theme?.colors?.font3,
|
|
5143
5255
|
wordBreak: 'break-word',
|
|
5144
5256
|
marginBottom: theme.spacing.margin.tiny
|
|
5145
5257
|
},
|
|
@@ -5150,7 +5262,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5150
5262
|
padding: '32px 0px'
|
|
5151
5263
|
},
|
|
5152
5264
|
textPara: {
|
|
5153
|
-
color: theme?.
|
|
5265
|
+
color: theme?.colors?.font3,
|
|
5154
5266
|
wordBreak: 'break-word',
|
|
5155
5267
|
fontSize: theme.typography.fontSize.body,
|
|
5156
5268
|
lineHeight: '24px'
|
|
@@ -5457,7 +5569,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5457
5569
|
padding: ({
|
|
5458
5570
|
isMobile
|
|
5459
5571
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5460
|
-
backgroundColor: theme?.
|
|
5572
|
+
backgroundColor: theme?.colors?.background2,
|
|
5461
5573
|
'&, & *, & *:before, & *:after': {
|
|
5462
5574
|
fontFamily: theme?.typography?.fontFamily,
|
|
5463
5575
|
boxSizing: 'border-box'
|
|
@@ -5472,7 +5584,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5472
5584
|
} = {}) => containerWidth
|
|
5473
5585
|
},
|
|
5474
5586
|
sectionSubheading: {
|
|
5475
|
-
color: theme?.
|
|
5587
|
+
color: theme?.colors?.font3,
|
|
5476
5588
|
fontSize: theme.typography.fontSize.subHead,
|
|
5477
5589
|
marginBottom: '8px',
|
|
5478
5590
|
wordBreak: 'break-word'
|
|
@@ -5481,15 +5593,16 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5481
5593
|
fontSize: theme.typography.fontSize.h2,
|
|
5482
5594
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5483
5595
|
wordBreak: 'break-word',
|
|
5484
|
-
marginBottom: `${theme.spacing.margin.tiny}px
|
|
5596
|
+
marginBottom: `${theme.spacing.margin.tiny}px`,
|
|
5597
|
+
color: theme?.colors?.font3
|
|
5485
5598
|
},
|
|
5486
5599
|
container: {
|
|
5487
5600
|
boxShadow: theme?.shadows?.secondary,
|
|
5488
5601
|
borderRadius: '8px',
|
|
5489
|
-
backgroundColor: theme?.
|
|
5602
|
+
backgroundColor: theme?.colors?.white
|
|
5490
5603
|
},
|
|
5491
5604
|
basicCardContainer: {
|
|
5492
|
-
borderBottom: theme?.
|
|
5605
|
+
borderBottom: `1px solid ${theme?.colors?.background2}`,
|
|
5493
5606
|
padding: `${theme.spacing.padding.tiny}px`
|
|
5494
5607
|
},
|
|
5495
5608
|
innerContainer: {
|
|
@@ -5508,14 +5621,14 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5508
5621
|
alignItems: 'center'
|
|
5509
5622
|
},
|
|
5510
5623
|
title: {
|
|
5511
|
-
color: theme?.
|
|
5624
|
+
color: theme?.colors?.lightblack,
|
|
5512
5625
|
fontSize: theme.typography.fontSize.h5,
|
|
5513
5626
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5514
5627
|
margin: '0',
|
|
5515
5628
|
wordBreak: 'break-word'
|
|
5516
5629
|
},
|
|
5517
5630
|
content: {
|
|
5518
|
-
color: theme?.
|
|
5631
|
+
color: theme?.colors?.lightblack,
|
|
5519
5632
|
fontSize: theme.typography.fontSize.body,
|
|
5520
5633
|
lineHeight: '24px',
|
|
5521
5634
|
maxHeight: ({
|
|
@@ -5635,11 +5748,10 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5635
5748
|
|
|
5636
5749
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5637
5750
|
section: {
|
|
5751
|
+
background: theme.colors.background1,
|
|
5638
5752
|
padding: ({
|
|
5639
5753
|
isMobile
|
|
5640
5754
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5641
|
-
// backgroundColor: theme?.palette?.background?.primary,
|
|
5642
|
-
|
|
5643
5755
|
'&, & *, & *:before, & *:after': {
|
|
5644
5756
|
fontFamily: theme?.typography?.fontFamily,
|
|
5645
5757
|
boxSizing: 'border-box'
|
|
@@ -5647,14 +5759,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5647
5759
|
'& h2,& h3,& p': {
|
|
5648
5760
|
marginTop: '0'
|
|
5649
5761
|
}
|
|
5650
|
-
// '& h2,& h3': {
|
|
5651
|
-
// fontWeight: '500',
|
|
5652
|
-
// '& b,& strong': {
|
|
5653
|
-
// fontWeight: '700'
|
|
5654
|
-
// }
|
|
5655
|
-
// }
|
|
5656
5762
|
},
|
|
5657
|
-
|
|
5658
5763
|
sectionContainer: {
|
|
5659
5764
|
margin: '0 auto',
|
|
5660
5765
|
maxWidth: ({
|
|
@@ -5662,7 +5767,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5662
5767
|
} = {}) => containerWidth
|
|
5663
5768
|
},
|
|
5664
5769
|
subheading: {
|
|
5665
|
-
color: theme?.
|
|
5770
|
+
color: theme?.colors?.font1,
|
|
5666
5771
|
fontSize: theme.typography.fontSize.subHead,
|
|
5667
5772
|
lineHeight: '20px',
|
|
5668
5773
|
letterSpacing: '3px',
|
|
@@ -5676,7 +5781,8 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5676
5781
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5677
5782
|
letterSpacing: '-3px',
|
|
5678
5783
|
marginBottom: theme.spacing.margin.tiny,
|
|
5679
|
-
wordBreak: 'break-word'
|
|
5784
|
+
wordBreak: 'break-word',
|
|
5785
|
+
color: theme?.colors?.font1
|
|
5680
5786
|
},
|
|
5681
5787
|
sliderContainer: {
|
|
5682
5788
|
margin: '0 -10px'
|
|
@@ -5946,7 +6052,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5946
6052
|
display: 'flex',
|
|
5947
6053
|
justifyContent: 'flex-start',
|
|
5948
6054
|
alignItems: 'center',
|
|
5949
|
-
fontSize: theme.typography.fontSize.
|
|
6055
|
+
fontSize: theme.typography.fontSize.body,
|
|
5950
6056
|
color: theme?.palette?.font?.primary,
|
|
5951
6057
|
'& img': {
|
|
5952
6058
|
marginRight: '5px'
|
|
@@ -6353,11 +6459,10 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
6353
6459
|
const useTeamStyles = createUseStyles(theme => {
|
|
6354
6460
|
return {
|
|
6355
6461
|
teamSuperContainer: {
|
|
6462
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6356
6463
|
padding: ({
|
|
6357
6464
|
isMobile
|
|
6358
6465
|
} = {}) => 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`,
|
|
6359
|
-
// backgroundColor: theme?.palette?.background?.primary,
|
|
6360
|
-
|
|
6361
6466
|
'&, & *, & *:before, & *:after': {
|
|
6362
6467
|
fontFamily: theme?.typography?.fontFamily,
|
|
6363
6468
|
boxSizing: 'border-box'
|
|
@@ -6378,25 +6483,17 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6378
6483
|
lineHeight: '20px',
|
|
6379
6484
|
letterSpacing: '3px',
|
|
6380
6485
|
marginBottom: '8px',
|
|
6381
|
-
color: theme?.
|
|
6486
|
+
color: theme?.colors?.font2,
|
|
6382
6487
|
// wordBreak: 'break-word',
|
|
6383
6488
|
position: 'relative'
|
|
6384
6489
|
},
|
|
6385
|
-
partialBackground: {
|
|
6386
|
-
position: 'absolute',
|
|
6387
|
-
top: '0',
|
|
6388
|
-
left: '0',
|
|
6389
|
-
height: '50%',
|
|
6390
|
-
background: theme?.palette?.background?.primary,
|
|
6391
|
-
width: '100%'
|
|
6392
|
-
},
|
|
6393
6490
|
teamTitle: {
|
|
6394
6491
|
fontSize: theme.typography.fontSize.h2,
|
|
6395
6492
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6396
6493
|
lineHeight: '70px',
|
|
6397
6494
|
letterSpacing: '-3px',
|
|
6398
6495
|
wordBreak: 'break-word',
|
|
6399
|
-
color: theme?.
|
|
6496
|
+
color: theme?.colors?.font2,
|
|
6400
6497
|
position: 'relative'
|
|
6401
6498
|
},
|
|
6402
6499
|
sliderContainer: {
|
|
@@ -6488,12 +6585,10 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6488
6585
|
teamDetailsHeading: {
|
|
6489
6586
|
fontSize: '16px',
|
|
6490
6587
|
lineHeight: '24px',
|
|
6491
|
-
margin: '0'
|
|
6492
|
-
color: theme?.palette?.font?.body
|
|
6588
|
+
margin: '0'
|
|
6493
6589
|
},
|
|
6494
6590
|
teamDetailsSubHeading: {
|
|
6495
|
-
marginTop: '0px'
|
|
6496
|
-
color: theme?.palette?.font?.primary
|
|
6591
|
+
marginTop: '0px'
|
|
6497
6592
|
}
|
|
6498
6593
|
}
|
|
6499
6594
|
};
|
|
@@ -6604,7 +6699,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6604
6699
|
justifyContent: 'center',
|
|
6605
6700
|
flexDirection: 'column',
|
|
6606
6701
|
alignItems: 'center',
|
|
6607
|
-
|
|
6702
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6608
6703
|
padding: ({
|
|
6609
6704
|
isMobile
|
|
6610
6705
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
@@ -6626,16 +6721,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6626
6721
|
containerWidth
|
|
6627
6722
|
} = {}) => containerWidth
|
|
6628
6723
|
},
|
|
6629
|
-
partialBackground: {
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
},
|
|
6724
|
+
// partialBackground: {
|
|
6725
|
+
// top: '0',
|
|
6726
|
+
// left: '0',
|
|
6727
|
+
// width: '100%',
|
|
6728
|
+
// height: '50%',
|
|
6729
|
+
// position: 'absolute',
|
|
6730
|
+
// background: theme?.colors?.white
|
|
6731
|
+
// },
|
|
6637
6732
|
sectionContainer: {
|
|
6638
|
-
backgroundColor: theme?.
|
|
6733
|
+
backgroundColor: theme?.colors?.white,
|
|
6639
6734
|
boxShadow: theme?.shadows?.secondary,
|
|
6640
6735
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6641
6736
|
padding: '48px',
|
|
@@ -6644,7 +6739,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6644
6739
|
title: {
|
|
6645
6740
|
margin: '0',
|
|
6646
6741
|
fontSize: theme.typography.fontSize.h2,
|
|
6647
|
-
color: theme?.
|
|
6742
|
+
color: theme?.colors?.lightblack,
|
|
6648
6743
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6649
6744
|
lineHeight: '71px',
|
|
6650
6745
|
letterSpacing: '-3px',
|
|
@@ -6667,7 +6762,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6667
6762
|
subtitle: {
|
|
6668
6763
|
// margin: '0 0 40px 0',
|
|
6669
6764
|
fontSize: theme.typography.fontSize.h5,
|
|
6670
|
-
color: theme?.
|
|
6765
|
+
color: theme?.colors?.lightblack,
|
|
6671
6766
|
lineHeight: '32px',
|
|
6672
6767
|
wordBreak: 'break-word',
|
|
6673
6768
|
marginBottom: '32px'
|
|
@@ -6690,7 +6785,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6690
6785
|
},
|
|
6691
6786
|
addressText: {
|
|
6692
6787
|
fontSize: theme.typography.fontSize.h6,
|
|
6693
|
-
color: theme?.
|
|
6788
|
+
color: theme?.colors?.lightblack,
|
|
6694
6789
|
lineHeight: '24px',
|
|
6695
6790
|
fontSize: '16px'
|
|
6696
6791
|
},
|
|
@@ -7027,7 +7122,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7027
7122
|
padding: ({
|
|
7028
7123
|
isMobile
|
|
7029
7124
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
7030
|
-
|
|
7125
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
7031
7126
|
'&, & *, & *:before, & *:after': {
|
|
7032
7127
|
fontFamily: theme?.typography?.fontFamily,
|
|
7033
7128
|
boxSizing: 'border-box'
|
|
@@ -7047,16 +7142,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7047
7142
|
containerWidth
|
|
7048
7143
|
} = {}) => containerWidth
|
|
7049
7144
|
},
|
|
7050
|
-
partialBackground: {
|
|
7051
|
-
top: '0',
|
|
7052
|
-
left: '0',
|
|
7053
|
-
width: '100%',
|
|
7054
|
-
height: '50%',
|
|
7055
|
-
position: 'absolute',
|
|
7056
|
-
background: theme?.palette?.background?.primary
|
|
7057
|
-
},
|
|
7058
7145
|
sectionContainer: {
|
|
7059
|
-
backgroundColor: theme?.
|
|
7146
|
+
backgroundColor: theme?.colors?.white,
|
|
7060
7147
|
boxShadow: theme?.shadows?.secondary,
|
|
7061
7148
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7062
7149
|
padding: '48px',
|
|
@@ -7065,7 +7152,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7065
7152
|
title: {
|
|
7066
7153
|
margin: '0',
|
|
7067
7154
|
fontSize: theme.typography.fontSize.h2,
|
|
7068
|
-
color: theme?.
|
|
7155
|
+
color: theme?.colors?.lightblack?.default,
|
|
7069
7156
|
lineHeight: '71px',
|
|
7070
7157
|
letterSpacing: '-3px',
|
|
7071
7158
|
textAlign: 'left',
|
|
@@ -7090,7 +7177,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7090
7177
|
subtitle: {
|
|
7091
7178
|
// margin: '0 0 auto 0',
|
|
7092
7179
|
fontSize: theme.typography.fontSize.h6,
|
|
7093
|
-
color: theme?.
|
|
7180
|
+
color: theme?.colors?.lightblack,
|
|
7094
7181
|
// lineHeight: '32px',
|
|
7095
7182
|
// margin: '16px 0',
|
|
7096
7183
|
textAlign: 'center',
|
|
@@ -7121,8 +7208,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7121
7208
|
inputField: {
|
|
7122
7209
|
width: '100%',
|
|
7123
7210
|
// maxWidth: '314px',
|
|
7124
|
-
background: theme?.palette?.background?.default,
|
|
7125
|
-
border: `1px solid ${theme?.
|
|
7211
|
+
// background: theme?.palette?.background?.default,
|
|
7212
|
+
border: `1px solid ${theme?.colors?.cta}`,
|
|
7126
7213
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7127
7214
|
// padding: '14px 12px',
|
|
7128
7215
|
display: 'flex',
|
|
@@ -7135,7 +7222,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7135
7222
|
fontWeight: '400',
|
|
7136
7223
|
fontSize: theme.typography.fontSize.subHead,
|
|
7137
7224
|
lineHeight: '20px',
|
|
7138
|
-
color: theme?.
|
|
7225
|
+
color: theme?.colors?.lightblack,
|
|
7139
7226
|
fontFamily: theme?.typography?.fontFamily
|
|
7140
7227
|
},
|
|
7141
7228
|
'&:focus': {
|
|
@@ -7448,6 +7535,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7448
7535
|
webinarSuperContainer: {
|
|
7449
7536
|
display: 'flex',
|
|
7450
7537
|
justifyContent: 'center',
|
|
7538
|
+
background: theme.colors.background1,
|
|
7451
7539
|
padding: ({
|
|
7452
7540
|
isMobile
|
|
7453
7541
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7470,30 +7558,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7470
7558
|
maxWidth: '1440px',
|
|
7471
7559
|
fontFamily: theme?.typography?.fontFamily
|
|
7472
7560
|
},
|
|
7473
|
-
// videoTestimonialHeading: {
|
|
7474
|
-
// fontSize: theme.typography.fontSize.subHead,
|
|
7475
|
-
// lineHeight: '20px',
|
|
7476
|
-
// letterSpacing: '3px',
|
|
7477
|
-
// textTransform: 'uppercase',
|
|
7478
|
-
// color: theme.palette.font.tertiary,
|
|
7479
|
-
// wordBreak: 'break-word',
|
|
7480
|
-
// fontWeight: theme.typography.fontWeight.bold,
|
|
7481
|
-
// },
|
|
7482
|
-
|
|
7483
|
-
// videoTestimonialTitle: {
|
|
7484
|
-
// fontSize: theme.typography.fontSize.h2,
|
|
7485
|
-
// lineHeight: '71px',
|
|
7486
|
-
// fontWeight: theme.typography.fontWeight.bold,
|
|
7487
|
-
// letterSpacing: '-3px',
|
|
7488
|
-
// margin: '0',
|
|
7489
|
-
// color: theme.palette.font.default,
|
|
7490
|
-
// wordBreak: 'break-word'
|
|
7491
|
-
// },
|
|
7492
|
-
|
|
7493
|
-
// videoCarouselContainer: {
|
|
7494
|
-
// marginTop: '16px'
|
|
7495
|
-
// },
|
|
7496
|
-
|
|
7497
7561
|
webinarCarousel: {
|
|
7498
7562
|
display: 'flex',
|
|
7499
7563
|
justifyContent: 'flex-start',
|
|
@@ -7522,7 +7586,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7522
7586
|
},
|
|
7523
7587
|
offerText: {
|
|
7524
7588
|
textAlign: 'center',
|
|
7525
|
-
color: theme
|
|
7589
|
+
color: theme?.colors?.font1,
|
|
7526
7590
|
marginBottom: '5%'
|
|
7527
7591
|
},
|
|
7528
7592
|
offerPrice: {
|
|
@@ -7569,7 +7633,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7569
7633
|
margin: '0',
|
|
7570
7634
|
letterSpacing: '-1px',
|
|
7571
7635
|
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7572
|
-
color: theme
|
|
7636
|
+
color: theme?.colors?.font1
|
|
7573
7637
|
},
|
|
7574
7638
|
courseViewContainer: {
|
|
7575
7639
|
width: '645px',
|
|
@@ -7584,7 +7648,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7584
7648
|
bannerContainer: {
|
|
7585
7649
|
width: '100%',
|
|
7586
7650
|
background: '#EB5757',
|
|
7587
|
-
color:
|
|
7651
|
+
color: theme?.colors?.font1,
|
|
7588
7652
|
textAlign: 'center',
|
|
7589
7653
|
padding: '10px 10px 23px 40px',
|
|
7590
7654
|
wordWrap: 'break-word',
|
|
@@ -7603,24 +7667,26 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7603
7667
|
display: 'flex',
|
|
7604
7668
|
alignItems: 'center',
|
|
7605
7669
|
marginRight: '20px',
|
|
7670
|
+
color: theme?.colors?.font1,
|
|
7606
7671
|
'& div': {
|
|
7607
|
-
fontSize: theme.typography.fontSize.
|
|
7672
|
+
fontSize: theme.typography.fontSize.body,
|
|
7608
7673
|
marginLeft: '10px'
|
|
7609
7674
|
}
|
|
7610
7675
|
},
|
|
7611
7676
|
courseDetailContent: {
|
|
7612
|
-
fontSize: theme.typography.fontSize.
|
|
7677
|
+
fontSize: theme.typography.fontSize.body,
|
|
7678
|
+
lineHeight: '21px',
|
|
7613
7679
|
wordBreak: 'break-word',
|
|
7614
|
-
color: theme
|
|
7680
|
+
color: theme?.colors?.font1,
|
|
7615
7681
|
whiteSpace: 'pre-wrap',
|
|
7616
7682
|
width: '80%'
|
|
7617
7683
|
},
|
|
7618
7684
|
courseDetailViewFullDetails: {
|
|
7619
7685
|
cursor: 'pointer',
|
|
7620
|
-
fontSize: theme.typography.fontSize.
|
|
7686
|
+
fontSize: theme.typography.fontSize.body,
|
|
7621
7687
|
lineHeight: '24px',
|
|
7688
|
+
color: theme?.colors?.font1,
|
|
7622
7689
|
marginTop: '-20px',
|
|
7623
|
-
color: '#00ADE7',
|
|
7624
7690
|
wordBreak: 'break-word'
|
|
7625
7691
|
},
|
|
7626
7692
|
courseDetailTime: {
|
|
@@ -7827,13 +7893,13 @@ const SingleVideoSlide$1 = props => {
|
|
|
7827
7893
|
className: classes.iconBackground
|
|
7828
7894
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7829
7895
|
name: 'Calendar',
|
|
7830
|
-
color: theme
|
|
7896
|
+
color: theme?.colors?.icon
|
|
7831
7897
|
})), /*#__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", {
|
|
7832
7898
|
className: classes.courseDetailTag
|
|
7833
7899
|
}, /*#__PURE__*/React.createElement("span", {
|
|
7834
7900
|
className: classes.iconBackground
|
|
7835
7901
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7836
|
-
color: theme
|
|
7902
|
+
color: theme?.colors?.icon,
|
|
7837
7903
|
width: "20px",
|
|
7838
7904
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7839
7905
|
})), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
|
|
@@ -7941,13 +8007,15 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
7941
8007
|
});
|
|
7942
8008
|
|
|
7943
8009
|
const useCoursePromotionPage = createUseStyles(theme => {
|
|
8010
|
+
console.log(theme, 'themere');
|
|
7944
8011
|
return {
|
|
7945
8012
|
courseSuperContainer: {
|
|
7946
8013
|
display: 'flex',
|
|
7947
8014
|
justifyContent: 'center',
|
|
8015
|
+
background: theme?.colors?.background1,
|
|
7948
8016
|
padding: ({
|
|
7949
8017
|
isMobile
|
|
7950
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
8018
|
+
} = {}) => isMobile ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
7951
8019
|
'&, & *, & *:before, & *:after': {
|
|
7952
8020
|
fontFamily: theme?.typography?.fontFamily,
|
|
7953
8021
|
boxSizing: 'border-box'
|
|
@@ -8057,7 +8125,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8057
8125
|
display: 'flex',
|
|
8058
8126
|
flexDirection: 'column',
|
|
8059
8127
|
alignItems: 'flex-start',
|
|
8060
|
-
gap: '
|
|
8128
|
+
gap: '0px'
|
|
8061
8129
|
},
|
|
8062
8130
|
videoDetailsHeading: {
|
|
8063
8131
|
fontSize: theme.typography.fontSize.h3,
|
|
@@ -8065,7 +8133,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8065
8133
|
margin: '0',
|
|
8066
8134
|
letterSpacing: '-1px',
|
|
8067
8135
|
wordBreak: 'break-word',
|
|
8068
|
-
color: theme
|
|
8136
|
+
color: theme?.colors?.font1
|
|
8069
8137
|
},
|
|
8070
8138
|
courseViewContainer: {
|
|
8071
8139
|
width: '445px',
|
|
@@ -8081,7 +8149,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8081
8149
|
bannerContainer: {
|
|
8082
8150
|
width: '100%',
|
|
8083
8151
|
background: '#EB5757',
|
|
8084
|
-
color:
|
|
8152
|
+
color: theme?.colors.font1,
|
|
8085
8153
|
textAlign: 'center',
|
|
8086
8154
|
padding: '10px 10px 23px 40px',
|
|
8087
8155
|
wordWrap: 'break-word',
|
|
@@ -8120,26 +8188,27 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8120
8188
|
alignItems: 'center',
|
|
8121
8189
|
marginRight: '20px',
|
|
8122
8190
|
'& div': {
|
|
8123
|
-
fontSize: theme.typography.fontSize.
|
|
8191
|
+
fontSize: theme.typography.fontSize.body,
|
|
8124
8192
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8125
8193
|
marginLeft: '10px'
|
|
8126
8194
|
}
|
|
8127
8195
|
},
|
|
8128
8196
|
courseDetailContent: {
|
|
8129
|
-
|
|
8130
|
-
fontSize: theme.typography.fontSize.
|
|
8131
|
-
lineHeight: '
|
|
8197
|
+
marginTop: '20px',
|
|
8198
|
+
fontSize: theme.typography.fontSize.body,
|
|
8199
|
+
lineHeight: '21px',
|
|
8132
8200
|
wordBreak: 'break-word',
|
|
8133
|
-
color: theme
|
|
8201
|
+
color: theme?.colors?.font1,
|
|
8134
8202
|
whiteSpace: 'pre-wrap',
|
|
8135
8203
|
margin: '10px 0 20px'
|
|
8136
8204
|
},
|
|
8137
8205
|
courseDetailViewFullDetails: {
|
|
8138
8206
|
cursor: 'pointer',
|
|
8139
|
-
fontSize: theme.typography.fontSize.
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8207
|
+
fontSize: theme.typography.fontSize.body,
|
|
8208
|
+
textDecoration: 'underline',
|
|
8209
|
+
lineHeight: '21px',
|
|
8210
|
+
marginTop: '20px',
|
|
8211
|
+
color: theme.colors?.font1,
|
|
8143
8212
|
wordBreak: 'break-word'
|
|
8144
8213
|
},
|
|
8145
8214
|
courseDetailTime: {
|
|
@@ -8210,7 +8279,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8210
8279
|
// fontSize: '20px',
|
|
8211
8280
|
fontWeight: '600',
|
|
8212
8281
|
lineHeight: 'normal',
|
|
8213
|
-
letterSpacing: '0px'
|
|
8282
|
+
letterSpacing: '0px',
|
|
8283
|
+
color: theme?.colors?.font1
|
|
8214
8284
|
},
|
|
8215
8285
|
videoTestimonialTitle: {
|
|
8216
8286
|
// fontSize: '24px',
|
|
@@ -8527,7 +8597,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8527
8597
|
padding: ({
|
|
8528
8598
|
isMobile
|
|
8529
8599
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8530
|
-
background:
|
|
8600
|
+
background: theme?.colors?.background3,
|
|
8531
8601
|
'&, & *, & *:before, & *:after': {
|
|
8532
8602
|
fontFamily: theme?.typography?.fontFamily,
|
|
8533
8603
|
boxSizing: 'border-box'
|
|
@@ -8544,7 +8614,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8544
8614
|
marginTop: '8px',
|
|
8545
8615
|
fontSize: theme.typography.fontSize.h6,
|
|
8546
8616
|
lineHeight: '23px',
|
|
8547
|
-
color:
|
|
8617
|
+
color: theme?.colors?.gray,
|
|
8548
8618
|
marginBottom: theme.spacing.margin.tiny
|
|
8549
8619
|
},
|
|
8550
8620
|
formPageFormContainer: {
|
|
@@ -8563,8 +8633,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8563
8633
|
},
|
|
8564
8634
|
|
|
8565
8635
|
inputFieldLabel: {
|
|
8566
|
-
color:
|
|
8567
|
-
fontSize: theme.typography.fontSize.
|
|
8636
|
+
color: theme?.colors?.lightblack,
|
|
8637
|
+
fontSize: theme.typography.fontSize.body,
|
|
8568
8638
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8569
8639
|
display: 'block',
|
|
8570
8640
|
marginTop: '20px',
|
|
@@ -8575,8 +8645,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8575
8645
|
borderRadius: '8px',
|
|
8576
8646
|
border: '1px solid #D8E0F0',
|
|
8577
8647
|
padding: '12px 16px',
|
|
8578
|
-
color:
|
|
8579
|
-
fontSize: theme.typography.fontSize.
|
|
8648
|
+
color: theme?.colors?.lightblack,
|
|
8649
|
+
fontSize: theme.typography.fontSize.body
|
|
8580
8650
|
},
|
|
8581
8651
|
checkboxField: {
|
|
8582
8652
|
// padding: '20px',
|
|
@@ -8584,21 +8654,21 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8584
8654
|
// borderRadius: '8px'
|
|
8585
8655
|
},
|
|
8586
8656
|
checkBoxFieldLabel: {
|
|
8587
|
-
color:
|
|
8588
|
-
fontSize: theme.typography.fontSize.
|
|
8657
|
+
color: theme?.colors?.lightblack,
|
|
8658
|
+
fontSize: theme.typography.fontSize.body,
|
|
8589
8659
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8590
8660
|
marginTop: '20px',
|
|
8591
8661
|
marginBottom: '12px'
|
|
8592
8662
|
},
|
|
8593
8663
|
inputFieldRequired: {
|
|
8594
|
-
color:
|
|
8664
|
+
color: theme?.colors?.lightblack
|
|
8595
8665
|
},
|
|
8596
8666
|
checkboxFieldControl: {
|
|
8597
8667
|
padding: '8px 0',
|
|
8598
8668
|
'& label': {
|
|
8599
|
-
fontSize: theme.typography.fontSize.
|
|
8669
|
+
fontSize: theme.typography.fontSize.body,
|
|
8600
8670
|
marginLeft: '10px',
|
|
8601
|
-
color:
|
|
8671
|
+
color: theme?.colors?.lightblack
|
|
8602
8672
|
}
|
|
8603
8673
|
},
|
|
8604
8674
|
submitBtnContainer: {
|
|
@@ -8611,8 +8681,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8611
8681
|
'& button': {
|
|
8612
8682
|
// height: '44px',
|
|
8613
8683
|
padding: '16px 24px',
|
|
8614
|
-
|
|
8615
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
8684
|
+
fontSize: theme.typography.fontSize.body,
|
|
8616
8685
|
cursor: 'pointer',
|
|
8617
8686
|
borderRadius: '8px'
|
|
8618
8687
|
}
|
|
@@ -9620,7 +9689,7 @@ function PageRenderer({
|
|
|
9620
9689
|
countryCode,
|
|
9621
9690
|
currencySymbol
|
|
9622
9691
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
9623
|
-
const theme = useMemo(() =>
|
|
9692
|
+
const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
9624
9693
|
const Wrapper = SectionWrapper || Fragment;
|
|
9625
9694
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
9626
9695
|
theme: theme
|