diy-template-components 1.1.9 → 1.1.11
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 +257 -333
- package/build/index.es.js.map +1 -1
- package/build/index.js +257 -333
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -361,11 +361,13 @@ 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?.palette?.background?.default,
|
|
365
365
|
background: ({
|
|
366
366
|
disabled
|
|
367
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.
|
|
368
|
-
border:
|
|
367
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
|
|
368
|
+
border: ({
|
|
369
|
+
disabled
|
|
370
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
|
|
369
371
|
textDecoration: 'none',
|
|
370
372
|
cursor: ({
|
|
371
373
|
disabled
|
|
@@ -387,13 +389,13 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
387
389
|
lineHeight: '18px',
|
|
388
390
|
color: ({
|
|
389
391
|
disabled
|
|
390
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme
|
|
392
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
391
393
|
background: ({
|
|
392
394
|
disabled
|
|
393
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.
|
|
395
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
394
396
|
border: ({
|
|
395
397
|
disabled
|
|
396
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme
|
|
398
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
|
|
397
399
|
cursor: ({
|
|
398
400
|
disabled
|
|
399
401
|
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
@@ -1180,8 +1182,13 @@ const NextImageRenderer = ({
|
|
|
1180
1182
|
isMobile
|
|
1181
1183
|
} = useContext(PageContext);
|
|
1182
1184
|
|
|
1185
|
+
// return empty div if src is empty string or empty object or null
|
|
1186
|
+
if (!src || typeof src === 'object' && Object.keys(src).length === 0) {
|
|
1187
|
+
return /*#__PURE__*/React.createElement("div", null);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1183
1190
|
// checkif src url is encoded or not, if not encode it
|
|
1184
|
-
if (src
|
|
1191
|
+
if (src.includes(' ')) {
|
|
1185
1192
|
src = encodeURI(src);
|
|
1186
1193
|
}
|
|
1187
1194
|
try {
|
|
@@ -2074,13 +2081,17 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
|
2074
2081
|
const shape = {
|
|
2075
2082
|
borderRadius
|
|
2076
2083
|
};
|
|
2084
|
+
const spacing = {
|
|
2085
|
+
padding: isMobile ? mobilePadding : padding,
|
|
2086
|
+
margin: isMobile ? mobileMargin : margin
|
|
2087
|
+
};
|
|
2077
2088
|
return {
|
|
2078
2089
|
palette,
|
|
2079
2090
|
shape,
|
|
2080
2091
|
typography,
|
|
2081
2092
|
shadows: generateShadows(palette),
|
|
2082
|
-
borders: generateBorders(palette)
|
|
2083
|
-
|
|
2093
|
+
borders: generateBorders(palette),
|
|
2094
|
+
spacing
|
|
2084
2095
|
};
|
|
2085
2096
|
}
|
|
2086
2097
|
|
|
@@ -2202,173 +2213,6 @@ const defaultMetadata = {
|
|
|
2202
2213
|
layout: defaultLayout
|
|
2203
2214
|
};
|
|
2204
2215
|
|
|
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}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
|
|
2215
|
-
tertiaryblue: '#F4F9FF',
|
|
2216
|
-
// Orange gradient
|
|
2217
|
-
|
|
2218
|
-
orange: '#FF9000',
|
|
2219
|
-
orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
|
|
2220
|
-
tertiaryorange: '#FFF6EA',
|
|
2221
|
-
// Pink gradient
|
|
2222
|
-
|
|
2223
|
-
pink: '#F72585',
|
|
2224
|
-
pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
|
|
2225
|
-
tertiarypink: '#FEE9F3',
|
|
2226
|
-
// Violet gradient
|
|
2227
|
-
|
|
2228
|
-
violet: '#6026A8',
|
|
2229
|
-
violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
|
|
2230
|
-
tertiaryviolet: '#F5F2FA',
|
|
2231
|
-
// Teal gradient
|
|
2232
|
-
|
|
2233
|
-
teal: '#46A9A9',
|
|
2234
|
-
tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
|
|
2235
|
-
tertiaryteal: '#F4FAFA',
|
|
2236
|
-
//Red solid
|
|
2237
|
-
|
|
2238
|
-
red: '#F41828',
|
|
2239
|
-
tertiaryred: '#FFF2F3',
|
|
2240
|
-
// Green
|
|
2241
|
-
|
|
2242
|
-
green: '#8ECE19',
|
|
2243
|
-
tertiarygreen: '#F4FAFA',
|
|
2244
|
-
//Maroon solid
|
|
2245
|
-
|
|
2246
|
-
rust: '#9B2226',
|
|
2247
|
-
tertiaryrust: '#FFF0F0',
|
|
2248
|
-
//Purple solid
|
|
2249
|
-
|
|
2250
|
-
purple: '#6269C9',
|
|
2251
|
-
tertiarypurple: '#F4F6FF',
|
|
2252
|
-
//Golden gradient
|
|
2253
|
-
|
|
2254
|
-
golden: `#F2BA35`,
|
|
2255
|
-
goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
|
|
2256
|
-
//light green gradient
|
|
2257
|
-
|
|
2258
|
-
lightgreen: `#D6E359`,
|
|
2259
|
-
lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
|
|
2260
|
-
//light blue gradient
|
|
2261
|
-
|
|
2262
|
-
lightblue: `#A8EDF8`,
|
|
2263
|
-
lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
|
|
2264
|
-
skyblue: '#00ADE7',
|
|
2265
|
-
tertiaryskyblue: '#F2FCFF'
|
|
2266
|
-
};
|
|
2267
|
-
|
|
2268
|
-
const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
|
|
2269
|
-
let themeColor = theme.split('-');
|
|
2270
|
-
let color, gradient, darkMode;
|
|
2271
|
-
if (themeColor.length === 1) {
|
|
2272
|
-
color = themeColor[0] == 'default' ? 'blue' : themeColor[0];
|
|
2273
|
-
} else if (themeColor.length === 2) {
|
|
2274
|
-
color = themeColor[0];
|
|
2275
|
-
gradient = themeColor[1];
|
|
2276
|
-
} else {
|
|
2277
|
-
color = themeColor[0];
|
|
2278
|
-
gradient = themeColor[1];
|
|
2279
|
-
darkMode = themeColor[2];
|
|
2280
|
-
}
|
|
2281
|
-
console.log('color', allColors, gradient, darkMode);
|
|
2282
|
-
|
|
2283
|
-
// switch (color) {
|
|
2284
|
-
// case solidColors:
|
|
2285
|
-
// break;
|
|
2286
|
-
|
|
2287
|
-
// case gradientColors:
|
|
2288
|
-
// break;
|
|
2289
|
-
|
|
2290
|
-
// default:
|
|
2291
|
-
// break;
|
|
2292
|
-
// }
|
|
2293
|
-
|
|
2294
|
-
// type 1
|
|
2295
|
-
// const solidColors = {
|
|
2296
|
-
// font1: solidBaseColors?.black,
|
|
2297
|
-
// font2: solidBaseColors?.black,
|
|
2298
|
-
// font3: solidBaseColors?.black,
|
|
2299
|
-
// font4: solidBaseColors?.black,
|
|
2300
|
-
// AccentColor: solidBaseColors[theme],
|
|
2301
|
-
// background1: solidBaseColors?.white,
|
|
2302
|
-
// background2: solidBaseColors['tertiary' + theme],
|
|
2303
|
-
// background3: solidBaseColors['tertiary' + theme],
|
|
2304
|
-
// ctaColor: solidBaseColors[theme],
|
|
2305
|
-
// CtaTextColor: solidBaseColors?.white,
|
|
2306
|
-
// icon: solidBaseColors[theme],
|
|
2307
|
-
// iconBg: solidBaseColors['tertiary' + theme],
|
|
2308
|
-
// stripBg: solidBaseColors[theme],
|
|
2309
|
-
// stripText: solidBaseColors?.white,
|
|
2310
|
-
// inputBorderColor: solidBaseColors?.blue2,
|
|
2311
|
-
// tertiaryBlue2: solidBaseColors?.tertiaryblue2
|
|
2312
|
-
// };
|
|
2313
|
-
|
|
2314
|
-
//type 2
|
|
2315
|
-
// const gradientColors = {
|
|
2316
|
-
// font1: gradientBaseColors?.white,
|
|
2317
|
-
// font2: gradientBaseColors?.black,
|
|
2318
|
-
// font3: gradientBaseColors?.black,
|
|
2319
|
-
// font4: gradientBaseColors?.white,
|
|
2320
|
-
// AccentColor: gradientBaseColors[theme],
|
|
2321
|
-
// background1: gradientBaseColors[theme + 'gradient'],
|
|
2322
|
-
// background2: gradientBaseColors['tertiary' + theme],
|
|
2323
|
-
// background3: gradientBaseColors[theme + 'gradient'],
|
|
2324
|
-
// ctaColor: gradientBaseColors[theme + 'gradient'],
|
|
2325
|
-
// CtaTextColor: gradientBaseColors?.white,
|
|
2326
|
-
// icon: gradientBaseColors[theme],
|
|
2327
|
-
// iconBg: gradientBaseColors['tertiary' + theme],
|
|
2328
|
-
// stripBg: gradientBaseColors?.black,
|
|
2329
|
-
// stripText: gradientBaseColors?.white
|
|
2330
|
-
// };
|
|
2331
|
-
|
|
2332
|
-
const colors = {
|
|
2333
|
-
font1: gradient ? allColors?.white : allColors?.black,
|
|
2334
|
-
font2: darkMode ? allColors[color] : allColors?.black,
|
|
2335
|
-
font3: darkMode ? allColors?.white : allColors?.black,
|
|
2336
|
-
font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
|
|
2337
|
-
AccentColor: allColors[color],
|
|
2338
|
-
background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
|
|
2339
|
-
background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2340
|
-
background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
|
|
2341
|
-
ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
|
|
2342
|
-
CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2343
|
-
icon: allColors[color],
|
|
2344
|
-
iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2345
|
-
stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
|
|
2346
|
-
stripText: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2347
|
-
inputBorderColor: allColors?.blue2,
|
|
2348
|
-
tertiaryBlue2: allColors?.tertiaryblue2,
|
|
2349
|
-
white: allColors?.white,
|
|
2350
|
-
black: allColors?.black,
|
|
2351
|
-
lightblack: allColors?.lightblack,
|
|
2352
|
-
gray: allColors?.gray
|
|
2353
|
-
};
|
|
2354
|
-
const typography = {
|
|
2355
|
-
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
2356
|
-
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
2357
|
-
fontWeight
|
|
2358
|
-
};
|
|
2359
|
-
// const shape = { borderRadius };
|
|
2360
|
-
const spacing = {
|
|
2361
|
-
padding: isMobile ? mobilePadding : padding,
|
|
2362
|
-
margin: isMobile ? mobileMargin : margin
|
|
2363
|
-
};
|
|
2364
|
-
return {
|
|
2365
|
-
...getTheme(theme),
|
|
2366
|
-
typography,
|
|
2367
|
-
spacing,
|
|
2368
|
-
colors
|
|
2369
|
-
};
|
|
2370
|
-
};
|
|
2371
|
-
|
|
2372
2216
|
function PageRenderer$1({
|
|
2373
2217
|
pageData: {
|
|
2374
2218
|
metadata: {
|
|
@@ -2425,7 +2269,7 @@ function PageRenderer$1({
|
|
|
2425
2269
|
countryCode,
|
|
2426
2270
|
currencySymbol
|
|
2427
2271
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
2428
|
-
const theme = useMemo(() =>
|
|
2272
|
+
const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2429
2273
|
const Wrapper = SectionWrapper || Fragment;
|
|
2430
2274
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
2431
2275
|
theme: theme
|
|
@@ -2463,7 +2307,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2463
2307
|
padding: ({
|
|
2464
2308
|
isMobile
|
|
2465
2309
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
2466
|
-
|
|
2310
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
2467
2311
|
'&, & *, & *:before, & *:after': {
|
|
2468
2312
|
fontFamily: theme?.typography?.fontFamily,
|
|
2469
2313
|
boxSizing: 'border-box'
|
|
@@ -2521,14 +2365,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2521
2365
|
marginBottom: '8px',
|
|
2522
2366
|
fontSize: theme.typography.fontSize.subHead,
|
|
2523
2367
|
letterSpacing: '3px',
|
|
2524
|
-
color: theme?.
|
|
2368
|
+
color: theme?.palette?.font?.default,
|
|
2525
2369
|
wordBreak: 'break-word',
|
|
2526
2370
|
maxWidth: '100%'
|
|
2527
2371
|
},
|
|
2528
2372
|
heading: {
|
|
2529
2373
|
margin: '0',
|
|
2530
2374
|
fontSize: theme.typography.fontSize.h1,
|
|
2531
|
-
color: theme?.
|
|
2375
|
+
color: theme?.palette?.font?.default,
|
|
2532
2376
|
wordBreak: ({
|
|
2533
2377
|
wordBreakValue
|
|
2534
2378
|
}) => wordBreakValue || 'break-word',
|
|
@@ -2537,7 +2381,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2537
2381
|
},
|
|
2538
2382
|
description: {
|
|
2539
2383
|
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2540
|
-
color: theme?.
|
|
2384
|
+
color: theme?.palette?.font?.primary,
|
|
2541
2385
|
lineHeight: '24px',
|
|
2542
2386
|
wordBreak: 'break-word'
|
|
2543
2387
|
},
|
|
@@ -2654,7 +2498,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2654
2498
|
width: '26px',
|
|
2655
2499
|
background: ({
|
|
2656
2500
|
inverted
|
|
2657
|
-
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.
|
|
2501
|
+
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
|
|
2658
2502
|
},
|
|
2659
2503
|
'@media screen and (max-width: 767px)': {
|
|
2660
2504
|
sliderClass: {
|
|
@@ -2690,7 +2534,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2690
2534
|
height: sizeHandler,
|
|
2691
2535
|
border: ({
|
|
2692
2536
|
inverted
|
|
2693
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2537
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
|
|
2694
2538
|
borderRadius: '50%',
|
|
2695
2539
|
display: 'flex',
|
|
2696
2540
|
justifyContent: 'center',
|
|
@@ -2712,7 +2556,7 @@ function ArrowButton(props) {
|
|
|
2712
2556
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
2713
2557
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2714
2558
|
name: "Angle",
|
|
2715
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2559
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
|
|
2716
2560
|
inverted: true
|
|
2717
2561
|
}));
|
|
2718
2562
|
}
|
|
@@ -2922,6 +2766,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2922
2766
|
justifyContent: 'center',
|
|
2923
2767
|
flexDirection: 'column',
|
|
2924
2768
|
alignItems: 'center',
|
|
2769
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
2925
2770
|
'&, & *, & *:before, & *:after': {
|
|
2926
2771
|
fontFamily: theme?.typography?.fontFamily,
|
|
2927
2772
|
boxSizing: 'border-box'
|
|
@@ -2939,7 +2784,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2939
2784
|
subTitleHeading: {
|
|
2940
2785
|
marginBottom: '8px',
|
|
2941
2786
|
fontSize: theme.typography.fontSize.subHead,
|
|
2942
|
-
color: theme?.
|
|
2787
|
+
color: theme?.palette?.font?.default,
|
|
2943
2788
|
alignItems: 'center',
|
|
2944
2789
|
textAlign: 'center',
|
|
2945
2790
|
wordBreak: 'break-word',
|
|
@@ -2949,7 +2794,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2949
2794
|
heading: {
|
|
2950
2795
|
marginBottom: theme.spacing.margin.tiny,
|
|
2951
2796
|
fontSize: theme.typography.fontSize.h2,
|
|
2952
|
-
color: theme?.
|
|
2797
|
+
color: theme?.palette?.font?.default,
|
|
2953
2798
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2954
2799
|
textAlign: 'center',
|
|
2955
2800
|
wordBreak: 'break-word'
|
|
@@ -2966,7 +2811,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2966
2811
|
display: 'flex',
|
|
2967
2812
|
width: 'calc(100% - 200px)',
|
|
2968
2813
|
alignItems: 'center',
|
|
2969
|
-
background: theme?.
|
|
2814
|
+
background: theme?.palette?.background?.default,
|
|
2970
2815
|
boxShadow: theme?.shadows?.primary,
|
|
2971
2816
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2972
2817
|
overflow: 'hidden',
|
|
@@ -2990,13 +2835,33 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2990
2835
|
'& $contentText': {
|
|
2991
2836
|
marginLeft: '170px'
|
|
2992
2837
|
}
|
|
2838
|
+
},
|
|
2839
|
+
'&:nth-child(7n+1) $contentNumber': {
|
|
2840
|
+
background: palettes.purple.primary.lightest
|
|
2841
|
+
},
|
|
2842
|
+
'&:nth-child(7n+2) $contentNumber': {
|
|
2843
|
+
background: palettes.orange.primary.lightest
|
|
2844
|
+
},
|
|
2845
|
+
'&:nth-child(7n+3) $contentNumber': {
|
|
2846
|
+
background: palettes.red.primary.lightest
|
|
2847
|
+
},
|
|
2848
|
+
'&:nth-child(7n+4) $contentNumber': {
|
|
2849
|
+
background: palettes.green.primary.lightest
|
|
2850
|
+
},
|
|
2851
|
+
'&:nth-child(7n+5) $contentNumber': {
|
|
2852
|
+
background: palettes.pink.primary.lightest
|
|
2853
|
+
},
|
|
2854
|
+
'&:nth-child(7n+6) $contentNumber': {
|
|
2855
|
+
background: palettes.blue.primary.lightest
|
|
2856
|
+
},
|
|
2857
|
+
'&:nth-child(7n) $contentNumber': {
|
|
2858
|
+
background: palettes.rust.primary.lightest
|
|
2993
2859
|
}
|
|
2994
2860
|
},
|
|
2995
2861
|
contentNumber: {
|
|
2996
2862
|
position: 'absolute',
|
|
2997
2863
|
top: '0',
|
|
2998
2864
|
fontWeight: '700',
|
|
2999
|
-
background: theme?.colors?.background3,
|
|
3000
2865
|
fontSize: '72px',
|
|
3001
2866
|
letterSpacing: '-3px',
|
|
3002
2867
|
display: 'flex',
|
|
@@ -3004,7 +2869,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3004
2869
|
justifyContent: 'center',
|
|
3005
2870
|
padding: '48px',
|
|
3006
2871
|
height: '100%',
|
|
3007
|
-
color: theme?.
|
|
2872
|
+
color: theme?.palette?.font?.default,
|
|
3008
2873
|
wordBreak: 'break-word'
|
|
3009
2874
|
},
|
|
3010
2875
|
contentText: {
|
|
@@ -3016,14 +2881,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3016
2881
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3017
2882
|
lineHeight: '32px',
|
|
3018
2883
|
marginBottom: '8px',
|
|
3019
|
-
color: theme?.
|
|
2884
|
+
color: theme?.palette?.font?.default,
|
|
3020
2885
|
wordBreak: 'break-word'
|
|
3021
2886
|
},
|
|
3022
2887
|
contentPara: {
|
|
3023
2888
|
fontStyle: 'normal',
|
|
3024
2889
|
fontSize: '16px',
|
|
3025
2890
|
lineHeight: '26px',
|
|
3026
|
-
color: theme?.
|
|
2891
|
+
color: theme?.palette?.font?.primary,
|
|
3027
2892
|
wordBreak: 'break-word'
|
|
3028
2893
|
},
|
|
3029
2894
|
'@media screen and (max-width: 767px)': {
|
|
@@ -3436,7 +3301,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3436
3301
|
return {
|
|
3437
3302
|
section: {
|
|
3438
3303
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3439
|
-
background: theme?.colors?.background2,
|
|
3440
3304
|
'&, & *, & *:before, & *:after': {
|
|
3441
3305
|
fontFamily: theme?.typography?.fontFamily,
|
|
3442
3306
|
boxSizing: 'border-box'
|
|
@@ -3480,7 +3344,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3480
3344
|
}
|
|
3481
3345
|
},
|
|
3482
3346
|
imageBorder: {
|
|
3483
|
-
|
|
3347
|
+
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3484
3348
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3485
3349
|
position: 'absolute',
|
|
3486
3350
|
width: '100%',
|
|
@@ -3505,13 +3369,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3505
3369
|
marginBottom: '8px',
|
|
3506
3370
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3507
3371
|
letterSpacing: '3px',
|
|
3508
|
-
color: theme?.
|
|
3372
|
+
color: theme?.palette?.font?.default,
|
|
3509
3373
|
wordBreak: 'break-word'
|
|
3510
3374
|
},
|
|
3511
3375
|
heading: {
|
|
3512
3376
|
margin: '0',
|
|
3513
3377
|
fontSize: theme?.typography?.fontSize?.h1,
|
|
3514
|
-
color: theme?.
|
|
3378
|
+
color: theme?.palette?.font?.default,
|
|
3515
3379
|
wordBreak: ({
|
|
3516
3380
|
wordBreakValue
|
|
3517
3381
|
}) => wordBreakValue || 'break-word',
|
|
@@ -3521,7 +3385,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3521
3385
|
description: {
|
|
3522
3386
|
marginTop: theme.spacing.margin.tiny,
|
|
3523
3387
|
marginBottom: theme.spacing.margin.tiny,
|
|
3524
|
-
color: theme?.
|
|
3388
|
+
color: theme?.palette?.font?.primary,
|
|
3525
3389
|
lineHeight: '24px',
|
|
3526
3390
|
wordBreak: 'break-word'
|
|
3527
3391
|
},
|
|
@@ -3687,16 +3551,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3687
3551
|
containerWidth
|
|
3688
3552
|
} = {}) => containerWidth
|
|
3689
3553
|
},
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3554
|
+
partialBackground: {
|
|
3555
|
+
top: '0',
|
|
3556
|
+
left: '0',
|
|
3557
|
+
width: '100%',
|
|
3558
|
+
height: '50%',
|
|
3559
|
+
position: 'absolute',
|
|
3560
|
+
background: theme?.palette?.background?.primary
|
|
3561
|
+
},
|
|
3698
3562
|
sectionContainer: {
|
|
3699
|
-
backgroundColor: theme?.
|
|
3563
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
3700
3564
|
boxShadow: theme?.shadows?.secondary,
|
|
3701
3565
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3702
3566
|
padding: theme.spacing.padding.small,
|
|
@@ -3707,7 +3571,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3707
3571
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3708
3572
|
lineHeight: '71px',
|
|
3709
3573
|
letterSpacing: '-3px',
|
|
3710
|
-
color: theme?.
|
|
3574
|
+
color: theme?.palette?.font?.default,
|
|
3711
3575
|
marginBottom: theme.spacing.padding.tiny,
|
|
3712
3576
|
wordBreak: 'break-word'
|
|
3713
3577
|
},
|
|
@@ -3719,7 +3583,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3719
3583
|
title: {
|
|
3720
3584
|
fontSize: theme.typography.fontSize.h6,
|
|
3721
3585
|
lineHeight: '32px',
|
|
3722
|
-
color: theme?.
|
|
3586
|
+
color: theme?.palette?.font?.primary,
|
|
3723
3587
|
wordBreak: 'break-word',
|
|
3724
3588
|
flex: 1
|
|
3725
3589
|
},
|
|
@@ -3847,8 +3711,8 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3847
3711
|
inputField: {
|
|
3848
3712
|
width: '100%',
|
|
3849
3713
|
// maxWidth: '314px',
|
|
3850
|
-
|
|
3851
|
-
border: `1px solid ${theme?.
|
|
3714
|
+
background: theme?.palette?.background?.default,
|
|
3715
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
3852
3716
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3853
3717
|
padding: '14px 12px',
|
|
3854
3718
|
display: 'flex',
|
|
@@ -3862,7 +3726,7 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3862
3726
|
fontWeight: '400',
|
|
3863
3727
|
fontSize: '16px',
|
|
3864
3728
|
lineHeight: '20px',
|
|
3865
|
-
color: theme?.
|
|
3729
|
+
color: theme?.palette?.font?.primary,
|
|
3866
3730
|
fontFamily: theme?.typography?.fontFamily
|
|
3867
3731
|
},
|
|
3868
3732
|
'&:focus': {
|
|
@@ -4062,6 +3926,7 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
4062
3926
|
|
|
4063
3927
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
4064
3928
|
testimonialContainer: {
|
|
3929
|
+
background: theme?.palette?.background?.primary,
|
|
4065
3930
|
overflow: 'hidden',
|
|
4066
3931
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4067
3932
|
'&, & *, & *:before, & *:after': {
|
|
@@ -4079,14 +3944,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4079
3944
|
} = {}) => containerWidth
|
|
4080
3945
|
},
|
|
4081
3946
|
testimonialText: {
|
|
4082
|
-
color: theme?.
|
|
3947
|
+
color: theme?.palette?.font?.default,
|
|
4083
3948
|
fontSize: theme.typography.fontSize.subHead,
|
|
4084
3949
|
wordBreak: 'break-word',
|
|
4085
3950
|
textTransform: 'uppercase'
|
|
4086
3951
|
},
|
|
4087
3952
|
testimonialHeader: {
|
|
4088
3953
|
fontSize: theme.typography.fontSize.h2,
|
|
4089
|
-
color: theme?.
|
|
3954
|
+
color: theme?.palette?.font?.default,
|
|
4090
3955
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4091
3956
|
marginBottom: theme.spacing.margin.tiny,
|
|
4092
3957
|
marginTop: '8px',
|
|
@@ -4103,7 +3968,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4103
3968
|
position: 'relative',
|
|
4104
3969
|
height: 'calc(100% - 12px)',
|
|
4105
3970
|
width: 'calc(100% - 24px)',
|
|
4106
|
-
background: theme?.
|
|
3971
|
+
background: theme?.palette?.background?.default,
|
|
4107
3972
|
boxShadow: theme?.shadows?.primary,
|
|
4108
3973
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
4109
3974
|
},
|
|
@@ -4130,7 +3995,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4130
3995
|
marginBottom: theme.spacing.margin.tiny,
|
|
4131
3996
|
fontSize: theme.typography.fontSize.body,
|
|
4132
3997
|
wordBreak: 'break-word',
|
|
4133
|
-
color: theme?.
|
|
3998
|
+
color: theme?.palette?.font?.primary,
|
|
4134
3999
|
lineHeight: '26px'
|
|
4135
4000
|
},
|
|
4136
4001
|
userContainer: {
|
|
@@ -4159,7 +4024,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4159
4024
|
marginRight: '16px'
|
|
4160
4025
|
},
|
|
4161
4026
|
userName: {
|
|
4162
|
-
color: theme?.
|
|
4027
|
+
color: theme?.palette?.font?.default,
|
|
4163
4028
|
margin: '0',
|
|
4164
4029
|
fontSize: theme.typography.fontSize.h5,
|
|
4165
4030
|
// paddingTop: '16px',
|
|
@@ -4178,6 +4043,19 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4178
4043
|
testimonialContainer: {
|
|
4179
4044
|
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
4180
4045
|
},
|
|
4046
|
+
// testimonialCardAndText: {
|
|
4047
|
+
// margin: '0 20px'
|
|
4048
|
+
// },
|
|
4049
|
+
|
|
4050
|
+
// testimonialHeader: {
|
|
4051
|
+
// fontSize: '24px',
|
|
4052
|
+
// color: theme?.palette?.font?.default,
|
|
4053
|
+
// margin: '4px 0 12px 0',
|
|
4054
|
+
// overflow: 'hidden',
|
|
4055
|
+
// // whiteSpace: 'nowrap',
|
|
4056
|
+
// wordBreak: 'break-word',
|
|
4057
|
+
// textOverflow: 'ellipsis'
|
|
4058
|
+
// },
|
|
4181
4059
|
testimonialText: {
|
|
4182
4060
|
textAlign: 'center'
|
|
4183
4061
|
},
|
|
@@ -4230,7 +4108,7 @@ function QuotesComponent() {
|
|
|
4230
4108
|
width: "28px",
|
|
4231
4109
|
height: "21px",
|
|
4232
4110
|
name: "Quote",
|
|
4233
|
-
color: theme?.
|
|
4111
|
+
color: theme?.palette?.primary?.main
|
|
4234
4112
|
}));
|
|
4235
4113
|
}
|
|
4236
4114
|
|
|
@@ -4760,7 +4638,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4760
4638
|
padding: ({
|
|
4761
4639
|
isMobile
|
|
4762
4640
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4763
|
-
backgroundColor: theme?.
|
|
4641
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
4764
4642
|
'&, & *, & *:before, & *:after': {
|
|
4765
4643
|
fontFamily: theme?.typography?.fontFamily,
|
|
4766
4644
|
boxSizing: 'border-box'
|
|
@@ -4783,7 +4661,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4783
4661
|
fontSize: theme.typography.fontSize.subHead,
|
|
4784
4662
|
textTransform: 'uppercase',
|
|
4785
4663
|
lineHeight: '20px',
|
|
4786
|
-
color: theme?.
|
|
4664
|
+
color: theme?.palette?.font?.default,
|
|
4787
4665
|
letterSpacing: '3px',
|
|
4788
4666
|
wordBreak: 'break-word'
|
|
4789
4667
|
},
|
|
@@ -4794,14 +4672,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4794
4672
|
letterSpacing: '-3px',
|
|
4795
4673
|
marginBottom: theme.spacing.margin.tiny,
|
|
4796
4674
|
marginTop: '8px',
|
|
4797
|
-
color: theme?.
|
|
4675
|
+
color: theme?.palette?.font?.default,
|
|
4798
4676
|
wordBreak: 'break-word'
|
|
4799
4677
|
},
|
|
4800
4678
|
sliderContainer: {
|
|
4801
4679
|
marginRight: `-${theme.spacing.padding.medium}px`
|
|
4802
4680
|
},
|
|
4803
4681
|
singleSlideContainer: {
|
|
4804
|
-
backgroundColor:
|
|
4682
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
4805
4683
|
// margin: '20px',
|
|
4806
4684
|
width: 'calc(100% - 24px)',
|
|
4807
4685
|
height: 'calc(100% - 40px)',
|
|
@@ -4838,14 +4716,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4838
4716
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4839
4717
|
lineHeight: '32px',
|
|
4840
4718
|
marginBottom: '8px',
|
|
4841
|
-
color: theme?.
|
|
4719
|
+
color: theme?.palette?.font?.default,
|
|
4842
4720
|
wordBreak: 'break-word'
|
|
4843
4721
|
},
|
|
4844
4722
|
videoDetailsSubHeading: {
|
|
4845
4723
|
fontSize: theme.typography.fontSize.body,
|
|
4846
4724
|
lineHeight: '24px',
|
|
4847
4725
|
wordBreak: 'break-word',
|
|
4848
|
-
color: theme?.
|
|
4726
|
+
color: theme?.palette?.font?.primary
|
|
4849
4727
|
},
|
|
4850
4728
|
'@media (max-width: 767px)': {
|
|
4851
4729
|
videoHeading: {
|
|
@@ -4992,10 +4870,11 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4992
4870
|
|
|
4993
4871
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4994
4872
|
section: {
|
|
4873
|
+
position: 'relative',
|
|
4995
4874
|
padding: ({
|
|
4996
4875
|
isMobile
|
|
4997
4876
|
} = {}) => 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`,
|
|
4998
|
-
|
|
4877
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
4999
4878
|
'&, & *, & *:before, & *:after': {
|
|
5000
4879
|
fontFamily: theme?.typography?.fontFamily,
|
|
5001
4880
|
boxSizing: 'border-box'
|
|
@@ -5014,13 +4893,21 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5014
4893
|
containerWidth
|
|
5015
4894
|
} = {}) => containerWidth
|
|
5016
4895
|
},
|
|
4896
|
+
partialBackground: {
|
|
4897
|
+
position: 'absolute',
|
|
4898
|
+
top: '0',
|
|
4899
|
+
left: '0',
|
|
4900
|
+
height: '50%',
|
|
4901
|
+
background: theme?.palette?.background?.primary,
|
|
4902
|
+
width: '100%'
|
|
4903
|
+
},
|
|
5017
4904
|
content: {
|
|
5018
4905
|
position: 'relative'
|
|
5019
4906
|
},
|
|
5020
4907
|
subTitleHeading: {
|
|
5021
4908
|
width: '100%',
|
|
5022
4909
|
fontSize: theme.typography.fontSize.subHead,
|
|
5023
|
-
color: theme?.
|
|
4910
|
+
color: theme?.palette?.font?.default,
|
|
5024
4911
|
textTransform: 'uppercase',
|
|
5025
4912
|
textAlign: 'left',
|
|
5026
4913
|
lineHeight: '20px',
|
|
@@ -5032,7 +4919,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5032
4919
|
fontSize: theme.typography.fontSize.h2,
|
|
5033
4920
|
width: '100%',
|
|
5034
4921
|
lineHeight: '70px',
|
|
5035
|
-
color: theme?.
|
|
4922
|
+
color: theme?.palette?.font?.default,
|
|
5036
4923
|
textAlign: 'left',
|
|
5037
4924
|
wordBreak: 'break-word'
|
|
5038
4925
|
},
|
|
@@ -5042,7 +4929,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5042
4929
|
// },
|
|
5043
4930
|
|
|
5044
4931
|
card: {
|
|
5045
|
-
background: theme?.
|
|
4932
|
+
background: theme?.palette?.background?.default,
|
|
5046
4933
|
boxShadow: theme?.shadows?.primary,
|
|
5047
4934
|
borderRadius: theme.shape.borderRadius.large,
|
|
5048
4935
|
margin: ({
|
|
@@ -5063,7 +4950,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5063
4950
|
textAlign: 'center',
|
|
5064
4951
|
fontSize: theme.typography.fontSize.h6,
|
|
5065
4952
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5066
|
-
color: theme?.
|
|
4953
|
+
color: theme?.palette?.font?.default,
|
|
5067
4954
|
margin: `16px 0px`,
|
|
5068
4955
|
wordBreak: 'break-word'
|
|
5069
4956
|
},
|
|
@@ -5075,7 +4962,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5075
4962
|
alignItems: 'center',
|
|
5076
4963
|
justifyContent: 'center',
|
|
5077
4964
|
borderRadius: '50%',
|
|
5078
|
-
background: theme?.
|
|
4965
|
+
background: theme?.palette?.background?.primary
|
|
5079
4966
|
},
|
|
5080
4967
|
buttonContainerClass: {
|
|
5081
4968
|
marginRight: theme.spacing.margin.regular,
|
|
@@ -5089,7 +4976,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5089
4976
|
textAlign: 'center',
|
|
5090
4977
|
fontSize: theme.typography.fontSize.body,
|
|
5091
4978
|
lineHeight: '22px',
|
|
5092
|
-
color: theme?.
|
|
4979
|
+
color: theme?.palette?.font?.primary,
|
|
5093
4980
|
margin: '0',
|
|
5094
4981
|
wordBreak: 'break-word'
|
|
5095
4982
|
},
|
|
@@ -5175,7 +5062,7 @@ function Info({
|
|
|
5175
5062
|
className: classes.imageContainer
|
|
5176
5063
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
5177
5064
|
name: dt.icon.metadata.value,
|
|
5178
|
-
color: theme
|
|
5065
|
+
color: theme.palette.primary.main,
|
|
5179
5066
|
width: isMobile ? '30px' : '40px',
|
|
5180
5067
|
height: isMobile ? '30px' : '40px'
|
|
5181
5068
|
})), /*#__PURE__*/React.createElement("h3", {
|
|
@@ -5232,7 +5119,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5232
5119
|
padding: ({
|
|
5233
5120
|
isMobile
|
|
5234
5121
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5235
|
-
backgroundColor: theme?.
|
|
5122
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
5236
5123
|
'&, & *, & *:before, & *:after': {
|
|
5237
5124
|
fontFamily: theme?.typography?.fontFamily,
|
|
5238
5125
|
boxSizing: 'border-box'
|
|
@@ -5249,7 +5136,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5249
5136
|
subHeading: {
|
|
5250
5137
|
fontSize: theme.typography.fontSize.subHead,
|
|
5251
5138
|
marginBottom: '8px',
|
|
5252
|
-
color: theme?.
|
|
5139
|
+
color: theme?.palette?.font?.default,
|
|
5253
5140
|
wordBreak: 'break-word',
|
|
5254
5141
|
textTransform: 'uppercase',
|
|
5255
5142
|
letterSpacing: '3px'
|
|
@@ -5259,7 +5146,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5259
5146
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5260
5147
|
lineHeight: 'normal',
|
|
5261
5148
|
margin: '0',
|
|
5262
|
-
color: theme?.
|
|
5149
|
+
color: theme?.palette?.font?.default,
|
|
5263
5150
|
wordBreak: 'break-word',
|
|
5264
5151
|
marginBottom: theme.spacing.margin.tiny
|
|
5265
5152
|
},
|
|
@@ -5270,7 +5157,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5270
5157
|
padding: '32px 0px'
|
|
5271
5158
|
},
|
|
5272
5159
|
textPara: {
|
|
5273
|
-
color: theme?.
|
|
5160
|
+
color: theme?.palette?.font?.primary,
|
|
5274
5161
|
wordBreak: 'break-word',
|
|
5275
5162
|
fontSize: theme.typography.fontSize.body,
|
|
5276
5163
|
lineHeight: '24px'
|
|
@@ -5577,7 +5464,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5577
5464
|
padding: ({
|
|
5578
5465
|
isMobile
|
|
5579
5466
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5580
|
-
backgroundColor: theme?.
|
|
5467
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
5581
5468
|
'&, & *, & *:before, & *:after': {
|
|
5582
5469
|
fontFamily: theme?.typography?.fontFamily,
|
|
5583
5470
|
boxSizing: 'border-box'
|
|
@@ -5592,7 +5479,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5592
5479
|
} = {}) => containerWidth
|
|
5593
5480
|
},
|
|
5594
5481
|
sectionSubheading: {
|
|
5595
|
-
color: theme?.
|
|
5482
|
+
color: theme?.palette?.font.default,
|
|
5596
5483
|
fontSize: theme.typography.fontSize.subHead,
|
|
5597
5484
|
marginBottom: '8px',
|
|
5598
5485
|
wordBreak: 'break-word'
|
|
@@ -5601,16 +5488,15 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5601
5488
|
fontSize: theme.typography.fontSize.h2,
|
|
5602
5489
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5603
5490
|
wordBreak: 'break-word',
|
|
5604
|
-
marginBottom: `${theme.spacing.margin.tiny}px
|
|
5605
|
-
color: theme?.colors?.font3
|
|
5491
|
+
marginBottom: `${theme.spacing.margin.tiny}px`
|
|
5606
5492
|
},
|
|
5607
5493
|
container: {
|
|
5608
5494
|
boxShadow: theme?.shadows?.secondary,
|
|
5609
5495
|
borderRadius: '8px',
|
|
5610
|
-
backgroundColor: theme?.
|
|
5496
|
+
backgroundColor: theme?.palette?.background?.default
|
|
5611
5497
|
},
|
|
5612
5498
|
basicCardContainer: {
|
|
5613
|
-
borderBottom:
|
|
5499
|
+
borderBottom: theme?.borders?.secondary,
|
|
5614
5500
|
padding: `${theme.spacing.padding.tiny}px`
|
|
5615
5501
|
},
|
|
5616
5502
|
innerContainer: {
|
|
@@ -5629,14 +5515,14 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5629
5515
|
alignItems: 'center'
|
|
5630
5516
|
},
|
|
5631
5517
|
title: {
|
|
5632
|
-
color: theme?.
|
|
5518
|
+
color: theme?.palette?.font.default,
|
|
5633
5519
|
fontSize: theme.typography.fontSize.h5,
|
|
5634
5520
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5635
5521
|
margin: '0',
|
|
5636
5522
|
wordBreak: 'break-word'
|
|
5637
5523
|
},
|
|
5638
5524
|
content: {
|
|
5639
|
-
color: theme?.
|
|
5525
|
+
color: theme?.palette?.font.primary,
|
|
5640
5526
|
fontSize: theme.typography.fontSize.body,
|
|
5641
5527
|
lineHeight: '24px',
|
|
5642
5528
|
maxHeight: ({
|
|
@@ -5756,10 +5642,11 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5756
5642
|
|
|
5757
5643
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5758
5644
|
section: {
|
|
5759
|
-
background: theme.colors.background1,
|
|
5760
5645
|
padding: ({
|
|
5761
5646
|
isMobile
|
|
5762
5647
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5648
|
+
// backgroundColor: theme?.palette?.background?.primary,
|
|
5649
|
+
|
|
5763
5650
|
'&, & *, & *:before, & *:after': {
|
|
5764
5651
|
fontFamily: theme?.typography?.fontFamily,
|
|
5765
5652
|
boxSizing: 'border-box'
|
|
@@ -5767,7 +5654,14 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5767
5654
|
'& h2,& h3,& p': {
|
|
5768
5655
|
marginTop: '0'
|
|
5769
5656
|
}
|
|
5657
|
+
// '& h2,& h3': {
|
|
5658
|
+
// fontWeight: '500',
|
|
5659
|
+
// '& b,& strong': {
|
|
5660
|
+
// fontWeight: '700'
|
|
5661
|
+
// }
|
|
5662
|
+
// }
|
|
5770
5663
|
},
|
|
5664
|
+
|
|
5771
5665
|
sectionContainer: {
|
|
5772
5666
|
margin: '0 auto',
|
|
5773
5667
|
maxWidth: ({
|
|
@@ -5775,7 +5669,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5775
5669
|
} = {}) => containerWidth
|
|
5776
5670
|
},
|
|
5777
5671
|
subheading: {
|
|
5778
|
-
color: theme?.
|
|
5672
|
+
color: theme?.palette?.font.default,
|
|
5779
5673
|
fontSize: theme.typography.fontSize.subHead,
|
|
5780
5674
|
lineHeight: '20px',
|
|
5781
5675
|
letterSpacing: '3px',
|
|
@@ -5789,8 +5683,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5789
5683
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5790
5684
|
letterSpacing: '-3px',
|
|
5791
5685
|
marginBottom: theme.spacing.margin.tiny,
|
|
5792
|
-
wordBreak: 'break-word'
|
|
5793
|
-
color: theme?.colors?.font1
|
|
5686
|
+
wordBreak: 'break-word'
|
|
5794
5687
|
},
|
|
5795
5688
|
sliderContainer: {
|
|
5796
5689
|
margin: '0 -10px'
|
|
@@ -6060,7 +5953,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6060
5953
|
display: 'flex',
|
|
6061
5954
|
justifyContent: 'flex-start',
|
|
6062
5955
|
alignItems: 'center',
|
|
6063
|
-
fontSize: theme.typography.fontSize.
|
|
5956
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6064
5957
|
color: theme?.palette?.font?.primary,
|
|
6065
5958
|
'& img': {
|
|
6066
5959
|
marginRight: '5px'
|
|
@@ -6093,8 +5986,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6093
5986
|
},
|
|
6094
5987
|
courseCardBuyBtn: {
|
|
6095
5988
|
cursor: 'pointer',
|
|
6096
|
-
background: theme?.
|
|
6097
|
-
color: theme?.
|
|
5989
|
+
background: theme?.palette?.primary?.main,
|
|
5990
|
+
color: theme?.palette?.font?.invertedDefault,
|
|
6098
5991
|
padding: '8px 16px',
|
|
6099
5992
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6100
5993
|
cursor: 'pointer',
|
|
@@ -6467,10 +6360,11 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
6467
6360
|
const useTeamStyles = createUseStyles(theme => {
|
|
6468
6361
|
return {
|
|
6469
6362
|
teamSuperContainer: {
|
|
6470
|
-
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6471
6363
|
padding: ({
|
|
6472
6364
|
isMobile
|
|
6473
6365
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
6366
|
+
// backgroundColor: theme?.palette?.background?.primary,
|
|
6367
|
+
|
|
6474
6368
|
'&, & *, & *:before, & *:after': {
|
|
6475
6369
|
fontFamily: theme?.typography?.fontFamily,
|
|
6476
6370
|
boxSizing: 'border-box'
|
|
@@ -6491,17 +6385,25 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6491
6385
|
lineHeight: '20px',
|
|
6492
6386
|
letterSpacing: '3px',
|
|
6493
6387
|
marginBottom: '8px',
|
|
6494
|
-
color: theme?.
|
|
6388
|
+
color: theme?.palette?.font?.default,
|
|
6495
6389
|
// wordBreak: 'break-word',
|
|
6496
6390
|
position: 'relative'
|
|
6497
6391
|
},
|
|
6392
|
+
partialBackground: {
|
|
6393
|
+
position: 'absolute',
|
|
6394
|
+
top: '0',
|
|
6395
|
+
left: '0',
|
|
6396
|
+
height: '50%',
|
|
6397
|
+
background: theme?.palette?.background?.primary,
|
|
6398
|
+
width: '100%'
|
|
6399
|
+
},
|
|
6498
6400
|
teamTitle: {
|
|
6499
6401
|
fontSize: theme.typography.fontSize.h2,
|
|
6500
6402
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6501
6403
|
lineHeight: '70px',
|
|
6502
6404
|
letterSpacing: '-3px',
|
|
6503
6405
|
wordBreak: 'break-word',
|
|
6504
|
-
color: theme?.
|
|
6406
|
+
color: theme?.palette?.font?.default,
|
|
6505
6407
|
position: 'relative'
|
|
6506
6408
|
},
|
|
6507
6409
|
sliderContainer: {
|
|
@@ -6593,10 +6495,12 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6593
6495
|
teamDetailsHeading: {
|
|
6594
6496
|
fontSize: '16px',
|
|
6595
6497
|
lineHeight: '24px',
|
|
6596
|
-
margin: '0'
|
|
6498
|
+
margin: '0',
|
|
6499
|
+
color: theme?.palette?.font?.body
|
|
6597
6500
|
},
|
|
6598
6501
|
teamDetailsSubHeading: {
|
|
6599
|
-
marginTop: '0px'
|
|
6502
|
+
marginTop: '0px',
|
|
6503
|
+
color: theme?.palette?.font?.primary
|
|
6600
6504
|
}
|
|
6601
6505
|
}
|
|
6602
6506
|
};
|
|
@@ -6707,7 +6611,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6707
6611
|
justifyContent: 'center',
|
|
6708
6612
|
flexDirection: 'column',
|
|
6709
6613
|
alignItems: 'center',
|
|
6710
|
-
|
|
6614
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6711
6615
|
padding: ({
|
|
6712
6616
|
isMobile
|
|
6713
6617
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
@@ -6729,16 +6633,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6729
6633
|
containerWidth
|
|
6730
6634
|
} = {}) => containerWidth
|
|
6731
6635
|
},
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6636
|
+
partialBackground: {
|
|
6637
|
+
top: '0',
|
|
6638
|
+
left: '0',
|
|
6639
|
+
width: '100%',
|
|
6640
|
+
height: '50%',
|
|
6641
|
+
position: 'absolute',
|
|
6642
|
+
background: theme?.palette?.background?.primary
|
|
6643
|
+
},
|
|
6740
6644
|
sectionContainer: {
|
|
6741
|
-
backgroundColor: theme?.
|
|
6645
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6742
6646
|
boxShadow: theme?.shadows?.secondary,
|
|
6743
6647
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6744
6648
|
padding: '48px',
|
|
@@ -6747,7 +6651,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6747
6651
|
title: {
|
|
6748
6652
|
margin: '0',
|
|
6749
6653
|
fontSize: theme.typography.fontSize.h2,
|
|
6750
|
-
color: theme?.
|
|
6654
|
+
color: theme?.palette?.font?.default,
|
|
6751
6655
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6752
6656
|
lineHeight: '71px',
|
|
6753
6657
|
letterSpacing: '-3px',
|
|
@@ -6770,7 +6674,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6770
6674
|
subtitle: {
|
|
6771
6675
|
// margin: '0 0 40px 0',
|
|
6772
6676
|
fontSize: theme.typography.fontSize.h5,
|
|
6773
|
-
color: theme?.
|
|
6677
|
+
color: theme?.palette?.font?.default,
|
|
6774
6678
|
lineHeight: '32px',
|
|
6775
6679
|
wordBreak: 'break-word',
|
|
6776
6680
|
marginBottom: '32px'
|
|
@@ -6793,7 +6697,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6793
6697
|
},
|
|
6794
6698
|
addressText: {
|
|
6795
6699
|
fontSize: theme.typography.fontSize.h6,
|
|
6796
|
-
color: theme?.
|
|
6700
|
+
color: theme?.palette?.font?.default,
|
|
6797
6701
|
lineHeight: '24px',
|
|
6798
6702
|
fontSize: '16px'
|
|
6799
6703
|
},
|
|
@@ -7130,7 +7034,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7130
7034
|
padding: ({
|
|
7131
7035
|
isMobile
|
|
7132
7036
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
7133
|
-
|
|
7037
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
7134
7038
|
'&, & *, & *:before, & *:after': {
|
|
7135
7039
|
fontFamily: theme?.typography?.fontFamily,
|
|
7136
7040
|
boxSizing: 'border-box'
|
|
@@ -7150,8 +7054,16 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7150
7054
|
containerWidth
|
|
7151
7055
|
} = {}) => containerWidth
|
|
7152
7056
|
},
|
|
7057
|
+
partialBackground: {
|
|
7058
|
+
top: '0',
|
|
7059
|
+
left: '0',
|
|
7060
|
+
width: '100%',
|
|
7061
|
+
height: '50%',
|
|
7062
|
+
position: 'absolute',
|
|
7063
|
+
background: theme?.palette?.background?.primary
|
|
7064
|
+
},
|
|
7153
7065
|
sectionContainer: {
|
|
7154
|
-
backgroundColor: theme?.
|
|
7066
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
7155
7067
|
boxShadow: theme?.shadows?.secondary,
|
|
7156
7068
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7157
7069
|
padding: '48px',
|
|
@@ -7160,7 +7072,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7160
7072
|
title: {
|
|
7161
7073
|
margin: '0',
|
|
7162
7074
|
fontSize: theme.typography.fontSize.h2,
|
|
7163
|
-
color: theme?.
|
|
7075
|
+
color: theme?.palette?.font?.default,
|
|
7164
7076
|
lineHeight: '71px',
|
|
7165
7077
|
letterSpacing: '-3px',
|
|
7166
7078
|
textAlign: 'left',
|
|
@@ -7185,7 +7097,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7185
7097
|
subtitle: {
|
|
7186
7098
|
// margin: '0 0 auto 0',
|
|
7187
7099
|
fontSize: theme.typography.fontSize.h6,
|
|
7188
|
-
color: theme?.
|
|
7100
|
+
color: theme?.palette?.font?.default,
|
|
7189
7101
|
// lineHeight: '32px',
|
|
7190
7102
|
// margin: '16px 0',
|
|
7191
7103
|
textAlign: 'center',
|
|
@@ -7216,8 +7128,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7216
7128
|
inputField: {
|
|
7217
7129
|
width: '100%',
|
|
7218
7130
|
// maxWidth: '314px',
|
|
7219
|
-
|
|
7220
|
-
border: `1px solid ${theme?.
|
|
7131
|
+
background: theme?.palette?.background?.default,
|
|
7132
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
7221
7133
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7222
7134
|
// padding: '14px 12px',
|
|
7223
7135
|
display: 'flex',
|
|
@@ -7230,7 +7142,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7230
7142
|
fontWeight: '400',
|
|
7231
7143
|
fontSize: theme.typography.fontSize.subHead,
|
|
7232
7144
|
lineHeight: '20px',
|
|
7233
|
-
color: theme?.
|
|
7145
|
+
color: theme?.palette?.font?.primary,
|
|
7234
7146
|
fontFamily: theme?.typography?.fontFamily
|
|
7235
7147
|
},
|
|
7236
7148
|
'&:focus': {
|
|
@@ -7543,7 +7455,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7543
7455
|
webinarSuperContainer: {
|
|
7544
7456
|
display: 'flex',
|
|
7545
7457
|
justifyContent: 'center',
|
|
7546
|
-
background: theme.colors.background1,
|
|
7547
7458
|
padding: ({
|
|
7548
7459
|
isMobile
|
|
7549
7460
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7566,6 +7477,30 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7566
7477
|
maxWidth: '1440px',
|
|
7567
7478
|
fontFamily: theme?.typography?.fontFamily
|
|
7568
7479
|
},
|
|
7480
|
+
// videoTestimonialHeading: {
|
|
7481
|
+
// fontSize: theme.typography.fontSize.subHead,
|
|
7482
|
+
// lineHeight: '20px',
|
|
7483
|
+
// letterSpacing: '3px',
|
|
7484
|
+
// textTransform: 'uppercase',
|
|
7485
|
+
// color: theme.palette.font.tertiary,
|
|
7486
|
+
// wordBreak: 'break-word',
|
|
7487
|
+
// fontWeight: theme.typography.fontWeight.bold,
|
|
7488
|
+
// },
|
|
7489
|
+
|
|
7490
|
+
// videoTestimonialTitle: {
|
|
7491
|
+
// fontSize: theme.typography.fontSize.h2,
|
|
7492
|
+
// lineHeight: '71px',
|
|
7493
|
+
// fontWeight: theme.typography.fontWeight.bold,
|
|
7494
|
+
// letterSpacing: '-3px',
|
|
7495
|
+
// margin: '0',
|
|
7496
|
+
// color: theme.palette.font.default,
|
|
7497
|
+
// wordBreak: 'break-word'
|
|
7498
|
+
// },
|
|
7499
|
+
|
|
7500
|
+
// videoCarouselContainer: {
|
|
7501
|
+
// marginTop: '16px'
|
|
7502
|
+
// },
|
|
7503
|
+
|
|
7569
7504
|
webinarCarousel: {
|
|
7570
7505
|
display: 'flex',
|
|
7571
7506
|
justifyContent: 'flex-start',
|
|
@@ -7594,8 +7529,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7594
7529
|
},
|
|
7595
7530
|
offerText: {
|
|
7596
7531
|
textAlign: 'center',
|
|
7597
|
-
color: theme
|
|
7598
|
-
marginBottom: '5%
|
|
7532
|
+
color: theme.palette.font.primary,
|
|
7533
|
+
marginBottom: '5%'
|
|
7599
7534
|
},
|
|
7600
7535
|
offerPrice: {
|
|
7601
7536
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -7641,7 +7576,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7641
7576
|
margin: '0',
|
|
7642
7577
|
letterSpacing: '-1px',
|
|
7643
7578
|
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7644
|
-
color: theme
|
|
7579
|
+
color: theme.palette.font.default
|
|
7645
7580
|
},
|
|
7646
7581
|
courseViewContainer: {
|
|
7647
7582
|
width: '645px',
|
|
@@ -7656,7 +7591,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7656
7591
|
bannerContainer: {
|
|
7657
7592
|
width: '100%',
|
|
7658
7593
|
background: '#EB5757',
|
|
7659
|
-
color:
|
|
7594
|
+
color: '#fff',
|
|
7660
7595
|
textAlign: 'center',
|
|
7661
7596
|
padding: '10px 10px 23px 40px',
|
|
7662
7597
|
wordWrap: 'break-word',
|
|
@@ -7675,26 +7610,24 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7675
7610
|
display: 'flex',
|
|
7676
7611
|
alignItems: 'center',
|
|
7677
7612
|
marginRight: '20px',
|
|
7678
|
-
color: theme?.colors?.font1,
|
|
7679
7613
|
'& div': {
|
|
7680
|
-
fontSize: theme.typography.fontSize.
|
|
7614
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7681
7615
|
marginLeft: '10px'
|
|
7682
7616
|
}
|
|
7683
7617
|
},
|
|
7684
7618
|
courseDetailContent: {
|
|
7685
|
-
fontSize: theme.typography.fontSize.
|
|
7686
|
-
lineHeight: '21px',
|
|
7619
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7687
7620
|
wordBreak: 'break-word',
|
|
7688
|
-
color: theme
|
|
7621
|
+
color: theme.palette.font.primary,
|
|
7689
7622
|
whiteSpace: 'pre-wrap',
|
|
7690
7623
|
width: '80%'
|
|
7691
7624
|
},
|
|
7692
7625
|
courseDetailViewFullDetails: {
|
|
7693
7626
|
cursor: 'pointer',
|
|
7694
|
-
fontSize: theme.typography.fontSize.
|
|
7627
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7695
7628
|
lineHeight: '24px',
|
|
7696
|
-
color: theme?.colors?.font1,
|
|
7697
7629
|
marginTop: '-20px',
|
|
7630
|
+
color: '#00ADE7',
|
|
7698
7631
|
wordBreak: 'break-word'
|
|
7699
7632
|
},
|
|
7700
7633
|
courseDetailTime: {
|
|
@@ -7709,7 +7642,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7709
7642
|
display: 'flex',
|
|
7710
7643
|
width: '36px',
|
|
7711
7644
|
height: '36px',
|
|
7712
|
-
backgroundColor:
|
|
7645
|
+
backgroundColor: 'rgb(240, 244, 248)',
|
|
7713
7646
|
justifyContent: 'center',
|
|
7714
7647
|
alignItems: 'center',
|
|
7715
7648
|
borderRadius: '6px'
|
|
@@ -7901,15 +7834,14 @@ const SingleVideoSlide$1 = props => {
|
|
|
7901
7834
|
className: classes.iconBackground
|
|
7902
7835
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7903
7836
|
name: 'Calendar',
|
|
7904
|
-
|
|
7905
|
-
color: theme?.colors?.background2
|
|
7837
|
+
color: theme.palette.primary.main
|
|
7906
7838
|
})), /*#__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", {
|
|
7907
7839
|
className: classes.courseDetailTag
|
|
7908
7840
|
}, /*#__PURE__*/React.createElement("span", {
|
|
7909
7841
|
className: classes.iconBackground
|
|
7910
7842
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7911
|
-
color: theme
|
|
7912
|
-
width: "
|
|
7843
|
+
color: theme.palette.primary.main,
|
|
7844
|
+
width: "20px",
|
|
7913
7845
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7914
7846
|
})), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
|
|
7915
7847
|
ref: data?.videoTextContent?.refSetter,
|
|
@@ -8016,15 +7948,13 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
8016
7948
|
});
|
|
8017
7949
|
|
|
8018
7950
|
const useCoursePromotionPage = createUseStyles(theme => {
|
|
8019
|
-
console.log(theme, 'themere');
|
|
8020
7951
|
return {
|
|
8021
7952
|
courseSuperContainer: {
|
|
8022
7953
|
display: 'flex',
|
|
8023
7954
|
justifyContent: 'center',
|
|
8024
|
-
background: theme?.colors?.background1,
|
|
8025
7955
|
padding: ({
|
|
8026
7956
|
isMobile
|
|
8027
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
7957
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8028
7958
|
'&, & *, & *:before, & *:after': {
|
|
8029
7959
|
fontFamily: theme?.typography?.fontFamily,
|
|
8030
7960
|
boxSizing: 'border-box'
|
|
@@ -8142,7 +8072,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8142
8072
|
margin: '0',
|
|
8143
8073
|
letterSpacing: '-1px',
|
|
8144
8074
|
wordBreak: 'break-word',
|
|
8145
|
-
color: theme
|
|
8075
|
+
color: theme.palette.font.default
|
|
8146
8076
|
},
|
|
8147
8077
|
courseViewContainer: {
|
|
8148
8078
|
width: '445px',
|
|
@@ -8158,12 +8088,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8158
8088
|
bannerContainer: {
|
|
8159
8089
|
width: '100%',
|
|
8160
8090
|
background: '#EB5757',
|
|
8161
|
-
color:
|
|
8091
|
+
color: '#fff',
|
|
8162
8092
|
textAlign: 'center',
|
|
8163
8093
|
padding: '10px 10px 23px 40px',
|
|
8164
8094
|
wordWrap: 'break-word',
|
|
8165
8095
|
position: 'relative',
|
|
8166
|
-
fontSize: '
|
|
8096
|
+
fontSize: '14px',
|
|
8167
8097
|
transform: 'rotate(180deg)',
|
|
8168
8098
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8169
8099
|
// marginBottom: '16px'
|
|
@@ -8179,8 +8109,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8179
8109
|
},
|
|
8180
8110
|
courseEmblem: {
|
|
8181
8111
|
background: '#F0F4F8',
|
|
8182
|
-
fontSize:
|
|
8183
|
-
borderRadius: '
|
|
8112
|
+
fontSize: '18px',
|
|
8113
|
+
borderRadius: '2.00337px',
|
|
8184
8114
|
padding: '8px',
|
|
8185
8115
|
display: 'flex',
|
|
8186
8116
|
alignItems: 'center',
|
|
@@ -8196,29 +8126,27 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8196
8126
|
display: 'flex',
|
|
8197
8127
|
alignItems: 'center',
|
|
8198
8128
|
marginRight: '20px',
|
|
8199
|
-
color: theme?.colors?.font1,
|
|
8200
8129
|
'& div': {
|
|
8201
8130
|
fontSize: theme.typography.fontSize.body,
|
|
8202
|
-
fontWeight: theme.typography.fontWeight.
|
|
8131
|
+
fontWeight: theme.typography.fontWeight.medium,
|
|
8203
8132
|
marginLeft: '10px'
|
|
8204
8133
|
}
|
|
8205
8134
|
},
|
|
8206
8135
|
courseDetailContent: {
|
|
8207
|
-
marginTop: '
|
|
8136
|
+
// marginTop: '16px',
|
|
8208
8137
|
fontSize: theme.typography.fontSize.body,
|
|
8209
|
-
lineHeight: '
|
|
8138
|
+
lineHeight: '24px',
|
|
8210
8139
|
wordBreak: 'break-word',
|
|
8211
|
-
color: theme
|
|
8140
|
+
color: theme.palette.font.primary,
|
|
8212
8141
|
whiteSpace: 'pre-wrap',
|
|
8213
8142
|
margin: '10px 0 20px'
|
|
8214
8143
|
},
|
|
8215
8144
|
courseDetailViewFullDetails: {
|
|
8216
8145
|
cursor: 'pointer',
|
|
8217
|
-
fontSize: theme.typography.fontSize.
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
color: theme.colors?.font1,
|
|
8146
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8147
|
+
lineHeight: '24px',
|
|
8148
|
+
marginTop: '-24px',
|
|
8149
|
+
color: '#00ADE7',
|
|
8222
8150
|
wordBreak: 'break-word'
|
|
8223
8151
|
},
|
|
8224
8152
|
courseDetailTime: {
|
|
@@ -8229,7 +8157,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8229
8157
|
display: 'flex',
|
|
8230
8158
|
width: '36px',
|
|
8231
8159
|
height: '36px',
|
|
8232
|
-
backgroundColor:
|
|
8160
|
+
backgroundColor: 'rgb(240, 244, 248)',
|
|
8233
8161
|
justifyContent: 'center',
|
|
8234
8162
|
alignItems: 'center',
|
|
8235
8163
|
borderRadius: '6px'
|
|
@@ -8289,8 +8217,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8289
8217
|
// fontSize: '20px',
|
|
8290
8218
|
fontWeight: '600',
|
|
8291
8219
|
lineHeight: 'normal',
|
|
8292
|
-
letterSpacing: '0px'
|
|
8293
|
-
color: theme?.colors?.font1
|
|
8220
|
+
letterSpacing: '0px'
|
|
8294
8221
|
},
|
|
8295
8222
|
videoTestimonialTitle: {
|
|
8296
8223
|
// fontSize: '24px',
|
|
@@ -8459,32 +8386,28 @@ const SingleVideoSlide = props => {
|
|
|
8459
8386
|
className: classes.iconBackground
|
|
8460
8387
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8461
8388
|
name: 'Clock',
|
|
8462
|
-
|
|
8463
|
-
color: theme?.colors?.background2
|
|
8389
|
+
color: theme.palette.primary.main
|
|
8464
8390
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
8465
8391
|
className: classes.courseDetailTag
|
|
8466
8392
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8467
8393
|
className: classes.iconBackground
|
|
8468
8394
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8469
8395
|
name: 'Book Saved',
|
|
8470
|
-
color: theme
|
|
8471
|
-
width: "24px"
|
|
8396
|
+
color: theme.palette.primary.main
|
|
8472
8397
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? 'Physical Books' : null)) : null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
8473
8398
|
className: classes.courseDetailTag
|
|
8474
8399
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8475
8400
|
className: classes.iconBackground
|
|
8476
8401
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8477
8402
|
name: 'Certificate',
|
|
8478
|
-
color: theme
|
|
8479
|
-
width: "24px"
|
|
8403
|
+
color: theme.palette.primary.main
|
|
8480
8404
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React.createElement("div", {
|
|
8481
8405
|
className: classes.courseDetailTag
|
|
8482
8406
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8483
8407
|
className: classes.iconBackground
|
|
8484
8408
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8485
8409
|
name: 'Certificate',
|
|
8486
|
-
color: theme
|
|
8487
|
-
width: "24px"
|
|
8410
|
+
color: theme.palette.primary.main
|
|
8488
8411
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React.createElement("p", {
|
|
8489
8412
|
ref: data?.videoTextContent?.refSetter,
|
|
8490
8413
|
className: classes.courseDetailContent,
|
|
@@ -8611,7 +8534,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8611
8534
|
padding: ({
|
|
8612
8535
|
isMobile
|
|
8613
8536
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8614
|
-
background:
|
|
8537
|
+
background: '#F4F9FF',
|
|
8615
8538
|
'&, & *, & *:before, & *:after': {
|
|
8616
8539
|
fontFamily: theme?.typography?.fontFamily,
|
|
8617
8540
|
boxSizing: 'border-box'
|
|
@@ -8628,7 +8551,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8628
8551
|
marginTop: '8px',
|
|
8629
8552
|
fontSize: theme.typography.fontSize.h6,
|
|
8630
8553
|
lineHeight: '23px',
|
|
8631
|
-
color:
|
|
8554
|
+
color: 'rgba(51, 51, 51, 0.5)',
|
|
8632
8555
|
marginBottom: theme.spacing.margin.tiny
|
|
8633
8556
|
},
|
|
8634
8557
|
formPageFormContainer: {
|
|
@@ -8647,8 +8570,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8647
8570
|
},
|
|
8648
8571
|
|
|
8649
8572
|
inputFieldLabel: {
|
|
8650
|
-
color:
|
|
8651
|
-
fontSize: theme.typography.fontSize.
|
|
8573
|
+
color: '#333',
|
|
8574
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8652
8575
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8653
8576
|
display: 'block',
|
|
8654
8577
|
marginTop: '20px',
|
|
@@ -8659,8 +8582,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8659
8582
|
borderRadius: '8px',
|
|
8660
8583
|
border: '1px solid #D8E0F0',
|
|
8661
8584
|
padding: '12px 16px',
|
|
8662
|
-
color:
|
|
8663
|
-
fontSize: theme.typography.fontSize.
|
|
8585
|
+
color: '#7D8592',
|
|
8586
|
+
fontSize: theme.typography.fontSize.subHead
|
|
8664
8587
|
},
|
|
8665
8588
|
checkboxField: {
|
|
8666
8589
|
// padding: '20px',
|
|
@@ -8668,21 +8591,21 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8668
8591
|
// borderRadius: '8px'
|
|
8669
8592
|
},
|
|
8670
8593
|
checkBoxFieldLabel: {
|
|
8671
|
-
color:
|
|
8672
|
-
fontSize: theme.typography.fontSize.
|
|
8594
|
+
color: '#333',
|
|
8595
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8673
8596
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8674
8597
|
marginTop: '20px',
|
|
8675
8598
|
marginBottom: '12px'
|
|
8676
8599
|
},
|
|
8677
8600
|
inputFieldRequired: {
|
|
8678
|
-
color:
|
|
8601
|
+
color: '#F41828'
|
|
8679
8602
|
},
|
|
8680
8603
|
checkboxFieldControl: {
|
|
8681
8604
|
padding: '8px 0',
|
|
8682
8605
|
'& label': {
|
|
8683
|
-
fontSize: theme.typography.fontSize.
|
|
8606
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8684
8607
|
marginLeft: '10px',
|
|
8685
|
-
color:
|
|
8608
|
+
color: '#7D8592'
|
|
8686
8609
|
}
|
|
8687
8610
|
},
|
|
8688
8611
|
submitBtnContainer: {
|
|
@@ -8695,7 +8618,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8695
8618
|
'& button': {
|
|
8696
8619
|
// height: '44px',
|
|
8697
8620
|
padding: '16px 24px',
|
|
8698
|
-
|
|
8621
|
+
color: '#FFFFFF',
|
|
8622
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8699
8623
|
cursor: 'pointer',
|
|
8700
8624
|
borderRadius: '8px'
|
|
8701
8625
|
}
|
|
@@ -9703,7 +9627,7 @@ function PageRenderer({
|
|
|
9703
9627
|
countryCode,
|
|
9704
9628
|
currencySymbol
|
|
9705
9629
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
9706
|
-
const theme = useMemo(() =>
|
|
9630
|
+
const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
9707
9631
|
const Wrapper = SectionWrapper || Fragment;
|
|
9708
9632
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
9709
9633
|
theme: theme
|