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