diy-template-components 1.1.6 → 1.1.8
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.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
function ___$insertStyle(css) {
|
|
6
|
-
if (!css ||
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
const style = document.createElement('style');
|
|
10
|
-
style.setAttribute('type', 'text/css');
|
|
11
|
-
style.innerHTML = css;
|
|
12
|
-
document.head.appendChild(style);
|
|
13
|
-
return css;
|
|
5
|
+
function ___$insertStyle(css) {
|
|
6
|
+
if (!css || typeof window === 'undefined') {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const style = document.createElement('style');
|
|
10
|
+
style.setAttribute('type', 'text/css');
|
|
11
|
+
style.innerHTML = css;
|
|
12
|
+
document.head.appendChild(style);
|
|
13
|
+
return css;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -377,13 +377,11 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
377
377
|
textAlign: 'center',
|
|
378
378
|
color: ({
|
|
379
379
|
disabled
|
|
380
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.
|
|
380
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
|
|
381
381
|
background: ({
|
|
382
382
|
disabled
|
|
383
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.
|
|
384
|
-
border:
|
|
385
|
-
disabled
|
|
386
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
|
|
383
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
|
|
384
|
+
border: 'none',
|
|
387
385
|
textDecoration: 'none',
|
|
388
386
|
cursor: ({
|
|
389
387
|
disabled
|
|
@@ -405,13 +403,13 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
405
403
|
lineHeight: '18px',
|
|
406
404
|
color: ({
|
|
407
405
|
disabled
|
|
408
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme
|
|
406
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
|
|
409
407
|
background: ({
|
|
410
408
|
disabled
|
|
411
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.
|
|
409
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.parimar?.default, 0.5).color : theme?.colors?.ctaColor,
|
|
412
410
|
border: ({
|
|
413
411
|
disabled
|
|
414
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme
|
|
412
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
|
|
415
413
|
cursor: ({
|
|
416
414
|
disabled
|
|
417
415
|
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
@@ -1198,13 +1196,8 @@ const NextImageRenderer = ({
|
|
|
1198
1196
|
isMobile
|
|
1199
1197
|
} = React.useContext(PageContext);
|
|
1200
1198
|
|
|
1201
|
-
// return empty div if src is empty string or empty object or null
|
|
1202
|
-
if (!src || typeof src === 'object' && Object.keys(src).length === 0) {
|
|
1203
|
-
return /*#__PURE__*/React__default["default"].createElement("div", null);
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
1199
|
// checkif src url is encoded or not, if not encode it
|
|
1207
|
-
if (src.includes(' ')) {
|
|
1200
|
+
if (src && src.includes(' ')) {
|
|
1208
1201
|
src = encodeURI(src);
|
|
1209
1202
|
}
|
|
1210
1203
|
try {
|
|
@@ -2097,17 +2090,13 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
|
2097
2090
|
const shape = {
|
|
2098
2091
|
borderRadius
|
|
2099
2092
|
};
|
|
2100
|
-
const spacing = {
|
|
2101
|
-
padding: isMobile ? mobilePadding : padding,
|
|
2102
|
-
margin: isMobile ? mobileMargin : margin
|
|
2103
|
-
};
|
|
2104
2093
|
return {
|
|
2105
2094
|
palette,
|
|
2106
2095
|
shape,
|
|
2107
2096
|
typography,
|
|
2108
2097
|
shadows: generateShadows(palette),
|
|
2109
|
-
borders: generateBorders(palette)
|
|
2110
|
-
spacing
|
|
2098
|
+
borders: generateBorders(palette)
|
|
2099
|
+
// spacing
|
|
2111
2100
|
};
|
|
2112
2101
|
}
|
|
2113
2102
|
|
|
@@ -2229,6 +2218,173 @@ const defaultMetadata = {
|
|
|
2229
2218
|
layout: defaultLayout
|
|
2230
2219
|
};
|
|
2231
2220
|
|
|
2221
|
+
const GRADIENT = `linear-gradient`;
|
|
2222
|
+
const allColors = {
|
|
2223
|
+
white: '#FFFFFF',
|
|
2224
|
+
black: '#000000',
|
|
2225
|
+
lightblack: '#333333',
|
|
2226
|
+
gray: '#999999',
|
|
2227
|
+
// Blue gradient
|
|
2228
|
+
|
|
2229
|
+
blue: '#1676F3',
|
|
2230
|
+
bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
|
|
2231
|
+
tertiaryblue: '#F4F9FF',
|
|
2232
|
+
// Orange gradient
|
|
2233
|
+
|
|
2234
|
+
orange: '#FF9000',
|
|
2235
|
+
orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
|
|
2236
|
+
tertiaryorange: '#FFF6EA',
|
|
2237
|
+
// Pink gradient
|
|
2238
|
+
|
|
2239
|
+
pink: '#F72585',
|
|
2240
|
+
pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
|
|
2241
|
+
tertiarypink: '#FEE9F3',
|
|
2242
|
+
// Violet gradient
|
|
2243
|
+
|
|
2244
|
+
violet: '#6026A8',
|
|
2245
|
+
violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
|
|
2246
|
+
tertiaryviolet: '#F5F2FA',
|
|
2247
|
+
// Teal gradient
|
|
2248
|
+
|
|
2249
|
+
teal: '#46A9A9',
|
|
2250
|
+
tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
|
|
2251
|
+
tertiaryteal: '#F4FAFA',
|
|
2252
|
+
//Red solid
|
|
2253
|
+
|
|
2254
|
+
red: '#F41828',
|
|
2255
|
+
tertiaryred: '#FFF2F3',
|
|
2256
|
+
// Green
|
|
2257
|
+
|
|
2258
|
+
green: '#8ECE19',
|
|
2259
|
+
tertiarygreen: '#F4FAFA',
|
|
2260
|
+
//Maroon solid
|
|
2261
|
+
|
|
2262
|
+
rust: '#9B2226',
|
|
2263
|
+
tertiaryrust: '#FFF0F0',
|
|
2264
|
+
//Purple solid
|
|
2265
|
+
|
|
2266
|
+
purple: '#6269C9',
|
|
2267
|
+
tertiarypurple: '#F4F6FF',
|
|
2268
|
+
//Golden gradient
|
|
2269
|
+
|
|
2270
|
+
golden: `#F2BA35`,
|
|
2271
|
+
goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
|
|
2272
|
+
//light green gradient
|
|
2273
|
+
|
|
2274
|
+
lightgreen: `#D6E359`,
|
|
2275
|
+
lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
|
|
2276
|
+
//light blue gradient
|
|
2277
|
+
|
|
2278
|
+
lightblue: `#A8EDF8`,
|
|
2279
|
+
lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
|
|
2280
|
+
skyblue: '#00ADE7',
|
|
2281
|
+
tertiaryskyblue: '#F2FCFF'
|
|
2282
|
+
};
|
|
2283
|
+
|
|
2284
|
+
const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
|
|
2285
|
+
let themeColor = theme.split('-');
|
|
2286
|
+
let color, gradient, darkMode;
|
|
2287
|
+
if (themeColor.length === 1) {
|
|
2288
|
+
color = themeColor[0] === 'default' ? 'blue' : themeColor[0];
|
|
2289
|
+
} else if (themeColor.length === 2) {
|
|
2290
|
+
color = themeColor[0];
|
|
2291
|
+
gradient = themeColor[1];
|
|
2292
|
+
} else {
|
|
2293
|
+
color = themeColor[0];
|
|
2294
|
+
gradient = themeColor[1];
|
|
2295
|
+
darkMode = themeColor[2];
|
|
2296
|
+
}
|
|
2297
|
+
console.log('color', allColors, gradient, darkMode);
|
|
2298
|
+
|
|
2299
|
+
// switch (color) {
|
|
2300
|
+
// case solidColors:
|
|
2301
|
+
// break;
|
|
2302
|
+
|
|
2303
|
+
// case gradientColors:
|
|
2304
|
+
// break;
|
|
2305
|
+
|
|
2306
|
+
// default:
|
|
2307
|
+
// break;
|
|
2308
|
+
// }
|
|
2309
|
+
|
|
2310
|
+
// type 1
|
|
2311
|
+
// const solidColors = {
|
|
2312
|
+
// font1: solidBaseColors?.black,
|
|
2313
|
+
// font2: solidBaseColors?.black,
|
|
2314
|
+
// font3: solidBaseColors?.black,
|
|
2315
|
+
// font4: solidBaseColors?.black,
|
|
2316
|
+
// AccentColor: solidBaseColors[theme],
|
|
2317
|
+
// background1: solidBaseColors?.white,
|
|
2318
|
+
// background2: solidBaseColors['tertiary' + theme],
|
|
2319
|
+
// background3: solidBaseColors['tertiary' + theme],
|
|
2320
|
+
// ctaColor: solidBaseColors[theme],
|
|
2321
|
+
// CtaTextColor: solidBaseColors?.white,
|
|
2322
|
+
// icon: solidBaseColors[theme],
|
|
2323
|
+
// iconBg: solidBaseColors['tertiary' + theme],
|
|
2324
|
+
// stripBg: solidBaseColors[theme],
|
|
2325
|
+
// stripText: solidBaseColors?.white,
|
|
2326
|
+
// inputBorderColor: solidBaseColors?.blue2,
|
|
2327
|
+
// tertiaryBlue2: solidBaseColors?.tertiaryblue2
|
|
2328
|
+
// };
|
|
2329
|
+
|
|
2330
|
+
//type 2
|
|
2331
|
+
// const gradientColors = {
|
|
2332
|
+
// font1: gradientBaseColors?.white,
|
|
2333
|
+
// font2: gradientBaseColors?.black,
|
|
2334
|
+
// font3: gradientBaseColors?.black,
|
|
2335
|
+
// font4: gradientBaseColors?.white,
|
|
2336
|
+
// AccentColor: gradientBaseColors[theme],
|
|
2337
|
+
// background1: gradientBaseColors[theme + 'gradient'],
|
|
2338
|
+
// background2: gradientBaseColors['tertiary' + theme],
|
|
2339
|
+
// background3: gradientBaseColors[theme + 'gradient'],
|
|
2340
|
+
// ctaColor: gradientBaseColors[theme + 'gradient'],
|
|
2341
|
+
// CtaTextColor: gradientBaseColors?.white,
|
|
2342
|
+
// icon: gradientBaseColors[theme],
|
|
2343
|
+
// iconBg: gradientBaseColors['tertiary' + theme],
|
|
2344
|
+
// stripBg: gradientBaseColors?.black,
|
|
2345
|
+
// stripText: gradientBaseColors?.white
|
|
2346
|
+
// };
|
|
2347
|
+
|
|
2348
|
+
const colors = {
|
|
2349
|
+
font1: gradient ? allColors?.white : allColors?.black,
|
|
2350
|
+
font2: darkMode ? allColors[color] : allColors?.black,
|
|
2351
|
+
font3: darkMode ? allColors?.white : allColors?.black,
|
|
2352
|
+
font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
|
|
2353
|
+
AccentColor: allColors[color],
|
|
2354
|
+
background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
|
|
2355
|
+
background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2356
|
+
background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
|
|
2357
|
+
ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
|
|
2358
|
+
CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2359
|
+
icon: allColors[color],
|
|
2360
|
+
iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2361
|
+
stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
|
|
2362
|
+
stripText: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2363
|
+
inputBorderColor: allColors?.blue2,
|
|
2364
|
+
tertiaryBlue2: allColors?.tertiaryblue2,
|
|
2365
|
+
white: allColors?.white,
|
|
2366
|
+
black: allColors?.black,
|
|
2367
|
+
lightblack: allColors?.lightblack,
|
|
2368
|
+
gray: allColors?.gray
|
|
2369
|
+
};
|
|
2370
|
+
const typography = {
|
|
2371
|
+
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
2372
|
+
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
2373
|
+
fontWeight
|
|
2374
|
+
};
|
|
2375
|
+
// const shape = { borderRadius };
|
|
2376
|
+
const spacing = {
|
|
2377
|
+
padding: isMobile ? mobilePadding : padding,
|
|
2378
|
+
margin: isMobile ? mobileMargin : margin
|
|
2379
|
+
};
|
|
2380
|
+
return {
|
|
2381
|
+
...getTheme(theme),
|
|
2382
|
+
typography,
|
|
2383
|
+
spacing,
|
|
2384
|
+
colors
|
|
2385
|
+
};
|
|
2386
|
+
};
|
|
2387
|
+
|
|
2232
2388
|
function PageRenderer$1({
|
|
2233
2389
|
pageData: {
|
|
2234
2390
|
metadata: {
|
|
@@ -2285,7 +2441,7 @@ function PageRenderer$1({
|
|
|
2285
2441
|
countryCode,
|
|
2286
2442
|
currencySymbol
|
|
2287
2443
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
2288
|
-
const theme = React.useMemo(() =>
|
|
2444
|
+
const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2289
2445
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
2290
2446
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
2291
2447
|
theme: theme
|
|
@@ -2323,7 +2479,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2323
2479
|
padding: ({
|
|
2324
2480
|
isMobile
|
|
2325
2481
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
2326
|
-
|
|
2482
|
+
background: theme?.colors?.background2,
|
|
2327
2483
|
'&, & *, & *:before, & *:after': {
|
|
2328
2484
|
fontFamily: theme?.typography?.fontFamily,
|
|
2329
2485
|
boxSizing: 'border-box'
|
|
@@ -2381,14 +2537,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2381
2537
|
marginBottom: '8px',
|
|
2382
2538
|
fontSize: theme.typography.fontSize.subHead,
|
|
2383
2539
|
letterSpacing: '3px',
|
|
2384
|
-
color: theme?.
|
|
2540
|
+
color: theme?.colors?.font3,
|
|
2385
2541
|
wordBreak: 'break-word',
|
|
2386
2542
|
maxWidth: '100%'
|
|
2387
2543
|
},
|
|
2388
2544
|
heading: {
|
|
2389
2545
|
margin: '0',
|
|
2390
2546
|
fontSize: theme.typography.fontSize.h1,
|
|
2391
|
-
color: theme?.
|
|
2547
|
+
color: theme?.colors?.font3,
|
|
2392
2548
|
wordBreak: ({
|
|
2393
2549
|
wordBreakValue
|
|
2394
2550
|
}) => wordBreakValue || 'break-word',
|
|
@@ -2397,7 +2553,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2397
2553
|
},
|
|
2398
2554
|
description: {
|
|
2399
2555
|
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2400
|
-
color: theme?.
|
|
2556
|
+
color: theme?.colors?.font3,
|
|
2401
2557
|
lineHeight: '24px',
|
|
2402
2558
|
wordBreak: 'break-word'
|
|
2403
2559
|
},
|
|
@@ -2514,7 +2670,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2514
2670
|
width: '26px',
|
|
2515
2671
|
background: ({
|
|
2516
2672
|
inverted
|
|
2517
|
-
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.
|
|
2673
|
+
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.colors.AccentColor
|
|
2518
2674
|
},
|
|
2519
2675
|
'@media screen and (max-width: 767px)': {
|
|
2520
2676
|
sliderClass: {
|
|
@@ -2550,7 +2706,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2550
2706
|
height: sizeHandler,
|
|
2551
2707
|
border: ({
|
|
2552
2708
|
inverted
|
|
2553
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2709
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor}`,
|
|
2554
2710
|
borderRadius: '50%',
|
|
2555
2711
|
display: 'flex',
|
|
2556
2712
|
justifyContent: 'center',
|
|
@@ -2572,7 +2728,7 @@ function ArrowButton(props) {
|
|
|
2572
2728
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
2573
2729
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2574
2730
|
name: "Angle",
|
|
2575
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2731
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor,
|
|
2576
2732
|
inverted: true
|
|
2577
2733
|
}));
|
|
2578
2734
|
}
|
|
@@ -2782,7 +2938,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2782
2938
|
justifyContent: 'center',
|
|
2783
2939
|
flexDirection: 'column',
|
|
2784
2940
|
alignItems: 'center',
|
|
2785
|
-
backgroundColor: theme?.palette?.background?.default,
|
|
2786
2941
|
'&, & *, & *:before, & *:after': {
|
|
2787
2942
|
fontFamily: theme?.typography?.fontFamily,
|
|
2788
2943
|
boxSizing: 'border-box'
|
|
@@ -2800,7 +2955,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2800
2955
|
subTitleHeading: {
|
|
2801
2956
|
marginBottom: '8px',
|
|
2802
2957
|
fontSize: theme.typography.fontSize.subHead,
|
|
2803
|
-
color: theme?.
|
|
2958
|
+
color: theme?.colors?.black,
|
|
2804
2959
|
alignItems: 'center',
|
|
2805
2960
|
textAlign: 'center',
|
|
2806
2961
|
wordBreak: 'break-word',
|
|
@@ -2810,7 +2965,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2810
2965
|
heading: {
|
|
2811
2966
|
marginBottom: theme.spacing.margin.tiny,
|
|
2812
2967
|
fontSize: theme.typography.fontSize.h2,
|
|
2813
|
-
color: theme?.
|
|
2968
|
+
color: theme?.colors?.black,
|
|
2814
2969
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2815
2970
|
textAlign: 'center',
|
|
2816
2971
|
wordBreak: 'break-word'
|
|
@@ -2827,7 +2982,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2827
2982
|
display: 'flex',
|
|
2828
2983
|
width: 'calc(100% - 200px)',
|
|
2829
2984
|
alignItems: 'center',
|
|
2830
|
-
background: theme?.
|
|
2985
|
+
background: theme?.colors?.white,
|
|
2831
2986
|
boxShadow: theme?.shadows?.primary,
|
|
2832
2987
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2833
2988
|
overflow: 'hidden',
|
|
@@ -2851,33 +3006,13 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2851
3006
|
'& $contentText': {
|
|
2852
3007
|
marginLeft: '170px'
|
|
2853
3008
|
}
|
|
2854
|
-
},
|
|
2855
|
-
'&:nth-child(7n+1) $contentNumber': {
|
|
2856
|
-
background: palettes.purple.primary.lightest
|
|
2857
|
-
},
|
|
2858
|
-
'&:nth-child(7n+2) $contentNumber': {
|
|
2859
|
-
background: palettes.orange.primary.lightest
|
|
2860
|
-
},
|
|
2861
|
-
'&:nth-child(7n+3) $contentNumber': {
|
|
2862
|
-
background: palettes.red.primary.lightest
|
|
2863
|
-
},
|
|
2864
|
-
'&:nth-child(7n+4) $contentNumber': {
|
|
2865
|
-
background: palettes.green.primary.lightest
|
|
2866
|
-
},
|
|
2867
|
-
'&:nth-child(7n+5) $contentNumber': {
|
|
2868
|
-
background: palettes.pink.primary.lightest
|
|
2869
|
-
},
|
|
2870
|
-
'&:nth-child(7n+6) $contentNumber': {
|
|
2871
|
-
background: palettes.blue.primary.lightest
|
|
2872
|
-
},
|
|
2873
|
-
'&:nth-child(7n) $contentNumber': {
|
|
2874
|
-
background: palettes.rust.primary.lightest
|
|
2875
3009
|
}
|
|
2876
3010
|
},
|
|
2877
3011
|
contentNumber: {
|
|
2878
3012
|
position: 'absolute',
|
|
2879
3013
|
top: '0',
|
|
2880
3014
|
fontWeight: '700',
|
|
3015
|
+
background: theme?.colors?.background3,
|
|
2881
3016
|
fontSize: '72px',
|
|
2882
3017
|
letterSpacing: '-3px',
|
|
2883
3018
|
display: 'flex',
|
|
@@ -2885,7 +3020,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2885
3020
|
justifyContent: 'center',
|
|
2886
3021
|
padding: '48px',
|
|
2887
3022
|
height: '100%',
|
|
2888
|
-
color: theme?.
|
|
3023
|
+
color: theme?.colors?.font4,
|
|
2889
3024
|
wordBreak: 'break-word'
|
|
2890
3025
|
},
|
|
2891
3026
|
contentText: {
|
|
@@ -2897,14 +3032,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2897
3032
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2898
3033
|
lineHeight: '32px',
|
|
2899
3034
|
marginBottom: '8px',
|
|
2900
|
-
color: theme?.
|
|
3035
|
+
color: theme?.colors?.lightblack,
|
|
2901
3036
|
wordBreak: 'break-word'
|
|
2902
3037
|
},
|
|
2903
3038
|
contentPara: {
|
|
2904
3039
|
fontStyle: 'normal',
|
|
2905
3040
|
fontSize: '16px',
|
|
2906
3041
|
lineHeight: '26px',
|
|
2907
|
-
color: theme?.
|
|
3042
|
+
color: theme?.colors?.gray,
|
|
2908
3043
|
wordBreak: 'break-word'
|
|
2909
3044
|
},
|
|
2910
3045
|
'@media screen and (max-width: 767px)': {
|
|
@@ -3317,6 +3452,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3317
3452
|
return {
|
|
3318
3453
|
section: {
|
|
3319
3454
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3455
|
+
background: theme?.colors?.background2,
|
|
3320
3456
|
'&, & *, & *:before, & *:after': {
|
|
3321
3457
|
fontFamily: theme?.typography?.fontFamily,
|
|
3322
3458
|
boxSizing: 'border-box'
|
|
@@ -3360,7 +3496,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3360
3496
|
}
|
|
3361
3497
|
},
|
|
3362
3498
|
imageBorder: {
|
|
3363
|
-
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3499
|
+
// border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3364
3500
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3365
3501
|
position: 'absolute',
|
|
3366
3502
|
width: '100%',
|
|
@@ -3385,13 +3521,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3385
3521
|
marginBottom: '8px',
|
|
3386
3522
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3387
3523
|
letterSpacing: '3px',
|
|
3388
|
-
color: theme?.
|
|
3524
|
+
color: theme?.colors?.font3,
|
|
3389
3525
|
wordBreak: 'break-word'
|
|
3390
3526
|
},
|
|
3391
3527
|
heading: {
|
|
3392
3528
|
margin: '0',
|
|
3393
3529
|
fontSize: theme?.typography?.fontSize?.h1,
|
|
3394
|
-
color: theme?.
|
|
3530
|
+
color: theme?.colors?.font3,
|
|
3395
3531
|
wordBreak: ({
|
|
3396
3532
|
wordBreakValue
|
|
3397
3533
|
}) => wordBreakValue || 'break-word',
|
|
@@ -3401,7 +3537,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3401
3537
|
description: {
|
|
3402
3538
|
marginTop: theme.spacing.margin.tiny,
|
|
3403
3539
|
marginBottom: theme.spacing.margin.tiny,
|
|
3404
|
-
color: theme?.
|
|
3540
|
+
color: theme?.colors?.font3,
|
|
3405
3541
|
lineHeight: '24px',
|
|
3406
3542
|
wordBreak: 'break-word'
|
|
3407
3543
|
},
|
|
@@ -3567,16 +3703,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3567
3703
|
containerWidth
|
|
3568
3704
|
} = {}) => containerWidth
|
|
3569
3705
|
},
|
|
3570
|
-
partialBackground: {
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
},
|
|
3706
|
+
// partialBackground: {
|
|
3707
|
+
// top: '0',
|
|
3708
|
+
// left: '0',
|
|
3709
|
+
// width: '100%',
|
|
3710
|
+
// height: '50%',
|
|
3711
|
+
// position: 'absolute',
|
|
3712
|
+
// background: theme?.palette?.background?.primary
|
|
3713
|
+
// },
|
|
3578
3714
|
sectionContainer: {
|
|
3579
|
-
backgroundColor: theme?.
|
|
3715
|
+
backgroundColor: theme?.colors?.background2,
|
|
3580
3716
|
boxShadow: theme?.shadows?.secondary,
|
|
3581
3717
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3582
3718
|
padding: theme.spacing.padding.small,
|
|
@@ -3587,7 +3723,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3587
3723
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3588
3724
|
lineHeight: '71px',
|
|
3589
3725
|
letterSpacing: '-3px',
|
|
3590
|
-
color: theme?.
|
|
3726
|
+
color: theme?.colors?.font3,
|
|
3591
3727
|
marginBottom: theme.spacing.padding.tiny,
|
|
3592
3728
|
wordBreak: 'break-word'
|
|
3593
3729
|
},
|
|
@@ -3599,7 +3735,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3599
3735
|
title: {
|
|
3600
3736
|
fontSize: theme.typography.fontSize.h6,
|
|
3601
3737
|
lineHeight: '32px',
|
|
3602
|
-
color: theme?.
|
|
3738
|
+
color: theme?.colors?.font3,
|
|
3603
3739
|
wordBreak: 'break-word',
|
|
3604
3740
|
flex: 1
|
|
3605
3741
|
},
|
|
@@ -3727,8 +3863,8 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3727
3863
|
inputField: {
|
|
3728
3864
|
width: '100%',
|
|
3729
3865
|
// maxWidth: '314px',
|
|
3730
|
-
background: theme?.palette?.background?.default,
|
|
3731
|
-
border: `1px solid ${theme?.
|
|
3866
|
+
// background: theme?.palette?.background?.default,
|
|
3867
|
+
border: `1px solid ${theme?.colors?.icon}`,
|
|
3732
3868
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3733
3869
|
padding: '14px 12px',
|
|
3734
3870
|
display: 'flex',
|
|
@@ -3742,7 +3878,7 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3742
3878
|
fontWeight: '400',
|
|
3743
3879
|
fontSize: '16px',
|
|
3744
3880
|
lineHeight: '20px',
|
|
3745
|
-
color: theme?.
|
|
3881
|
+
color: theme?.colors?.black,
|
|
3746
3882
|
fontFamily: theme?.typography?.fontFamily
|
|
3747
3883
|
},
|
|
3748
3884
|
'&:focus': {
|
|
@@ -3942,7 +4078,6 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
3942
4078
|
|
|
3943
4079
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
3944
4080
|
testimonialContainer: {
|
|
3945
|
-
background: theme?.palette?.background?.primary,
|
|
3946
4081
|
overflow: 'hidden',
|
|
3947
4082
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3948
4083
|
'&, & *, & *:before, & *:after': {
|
|
@@ -3960,14 +4095,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3960
4095
|
} = {}) => containerWidth
|
|
3961
4096
|
},
|
|
3962
4097
|
testimonialText: {
|
|
3963
|
-
color: theme?.
|
|
4098
|
+
color: theme?.colors?.lightblack,
|
|
3964
4099
|
fontSize: theme.typography.fontSize.subHead,
|
|
3965
4100
|
wordBreak: 'break-word',
|
|
3966
4101
|
textTransform: 'uppercase'
|
|
3967
4102
|
},
|
|
3968
4103
|
testimonialHeader: {
|
|
3969
4104
|
fontSize: theme.typography.fontSize.h2,
|
|
3970
|
-
color: theme?.
|
|
4105
|
+
color: theme?.colors?.lightblack,
|
|
3971
4106
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3972
4107
|
marginBottom: theme.spacing.margin.tiny,
|
|
3973
4108
|
marginTop: '8px',
|
|
@@ -3984,7 +4119,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
3984
4119
|
position: 'relative',
|
|
3985
4120
|
height: 'calc(100% - 12px)',
|
|
3986
4121
|
width: 'calc(100% - 24px)',
|
|
3987
|
-
background: theme?.
|
|
4122
|
+
background: theme?.colors?.background1,
|
|
3988
4123
|
boxShadow: theme?.shadows?.primary,
|
|
3989
4124
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3990
4125
|
},
|
|
@@ -4011,7 +4146,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4011
4146
|
marginBottom: theme.spacing.margin.tiny,
|
|
4012
4147
|
fontSize: theme.typography.fontSize.body,
|
|
4013
4148
|
wordBreak: 'break-word',
|
|
4014
|
-
color: theme?.
|
|
4149
|
+
color: theme?.colors?.font1,
|
|
4015
4150
|
lineHeight: '26px'
|
|
4016
4151
|
},
|
|
4017
4152
|
userContainer: {
|
|
@@ -4040,7 +4175,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4040
4175
|
marginRight: '16px'
|
|
4041
4176
|
},
|
|
4042
4177
|
userName: {
|
|
4043
|
-
color: theme?.
|
|
4178
|
+
color: theme?.colors?.font1,
|
|
4044
4179
|
margin: '0',
|
|
4045
4180
|
fontSize: theme.typography.fontSize.h5,
|
|
4046
4181
|
// paddingTop: '16px',
|
|
@@ -4059,19 +4194,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4059
4194
|
testimonialContainer: {
|
|
4060
4195
|
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
4061
4196
|
},
|
|
4062
|
-
// testimonialCardAndText: {
|
|
4063
|
-
// margin: '0 20px'
|
|
4064
|
-
// },
|
|
4065
|
-
|
|
4066
|
-
// testimonialHeader: {
|
|
4067
|
-
// fontSize: '24px',
|
|
4068
|
-
// color: theme?.palette?.font?.default,
|
|
4069
|
-
// margin: '4px 0 12px 0',
|
|
4070
|
-
// overflow: 'hidden',
|
|
4071
|
-
// // whiteSpace: 'nowrap',
|
|
4072
|
-
// wordBreak: 'break-word',
|
|
4073
|
-
// textOverflow: 'ellipsis'
|
|
4074
|
-
// },
|
|
4075
4197
|
testimonialText: {
|
|
4076
4198
|
textAlign: 'center'
|
|
4077
4199
|
},
|
|
@@ -4124,7 +4246,7 @@ function QuotesComponent() {
|
|
|
4124
4246
|
width: "28px",
|
|
4125
4247
|
height: "21px",
|
|
4126
4248
|
name: "Quote",
|
|
4127
|
-
color: theme?.
|
|
4249
|
+
color: theme?.colors?.icon
|
|
4128
4250
|
}));
|
|
4129
4251
|
}
|
|
4130
4252
|
|
|
@@ -4654,7 +4776,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4654
4776
|
padding: ({
|
|
4655
4777
|
isMobile
|
|
4656
4778
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4657
|
-
backgroundColor: theme?.
|
|
4779
|
+
backgroundColor: theme?.colors?.background2,
|
|
4658
4780
|
'&, & *, & *:before, & *:after': {
|
|
4659
4781
|
fontFamily: theme?.typography?.fontFamily,
|
|
4660
4782
|
boxSizing: 'border-box'
|
|
@@ -4677,7 +4799,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4677
4799
|
fontSize: theme.typography.fontSize.subHead,
|
|
4678
4800
|
textTransform: 'uppercase',
|
|
4679
4801
|
lineHeight: '20px',
|
|
4680
|
-
color: theme?.
|
|
4802
|
+
color: theme?.colors?.font2,
|
|
4681
4803
|
letterSpacing: '3px',
|
|
4682
4804
|
wordBreak: 'break-word'
|
|
4683
4805
|
},
|
|
@@ -4688,14 +4810,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4688
4810
|
letterSpacing: '-3px',
|
|
4689
4811
|
marginBottom: theme.spacing.margin.tiny,
|
|
4690
4812
|
marginTop: '8px',
|
|
4691
|
-
color: theme?.
|
|
4813
|
+
color: theme?.colors?.font2,
|
|
4692
4814
|
wordBreak: 'break-word'
|
|
4693
4815
|
},
|
|
4694
4816
|
sliderContainer: {
|
|
4695
4817
|
marginRight: `-${theme.spacing.padding.medium}px`
|
|
4696
4818
|
},
|
|
4697
4819
|
singleSlideContainer: {
|
|
4698
|
-
backgroundColor:
|
|
4820
|
+
backgroundColor: 'white',
|
|
4699
4821
|
// margin: '20px',
|
|
4700
4822
|
width: 'calc(100% - 24px)',
|
|
4701
4823
|
height: 'calc(100% - 40px)',
|
|
@@ -4732,14 +4854,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4732
4854
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4733
4855
|
lineHeight: '32px',
|
|
4734
4856
|
marginBottom: '8px',
|
|
4735
|
-
color: theme?.
|
|
4857
|
+
color: theme?.colors?.lightblack,
|
|
4736
4858
|
wordBreak: 'break-word'
|
|
4737
4859
|
},
|
|
4738
4860
|
videoDetailsSubHeading: {
|
|
4739
4861
|
fontSize: theme.typography.fontSize.body,
|
|
4740
4862
|
lineHeight: '24px',
|
|
4741
4863
|
wordBreak: 'break-word',
|
|
4742
|
-
color: theme?.
|
|
4864
|
+
color: theme?.colors?.gray
|
|
4743
4865
|
},
|
|
4744
4866
|
'@media (max-width: 767px)': {
|
|
4745
4867
|
videoHeading: {
|
|
@@ -4886,11 +5008,10 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4886
5008
|
|
|
4887
5009
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4888
5010
|
section: {
|
|
4889
|
-
position: 'relative',
|
|
4890
5011
|
padding: ({
|
|
4891
5012
|
isMobile
|
|
4892
5013
|
} = {}) => 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`,
|
|
4893
|
-
|
|
5014
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
4894
5015
|
'&, & *, & *:before, & *:after': {
|
|
4895
5016
|
fontFamily: theme?.typography?.fontFamily,
|
|
4896
5017
|
boxSizing: 'border-box'
|
|
@@ -4909,21 +5030,13 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4909
5030
|
containerWidth
|
|
4910
5031
|
} = {}) => containerWidth
|
|
4911
5032
|
},
|
|
4912
|
-
partialBackground: {
|
|
4913
|
-
position: 'absolute',
|
|
4914
|
-
top: '0',
|
|
4915
|
-
left: '0',
|
|
4916
|
-
height: '50%',
|
|
4917
|
-
background: theme?.palette?.background?.primary,
|
|
4918
|
-
width: '100%'
|
|
4919
|
-
},
|
|
4920
5033
|
content: {
|
|
4921
5034
|
position: 'relative'
|
|
4922
5035
|
},
|
|
4923
5036
|
subTitleHeading: {
|
|
4924
5037
|
width: '100%',
|
|
4925
5038
|
fontSize: theme.typography.fontSize.subHead,
|
|
4926
|
-
color: theme?.
|
|
5039
|
+
color: theme?.colors?.font2,
|
|
4927
5040
|
textTransform: 'uppercase',
|
|
4928
5041
|
textAlign: 'left',
|
|
4929
5042
|
lineHeight: '20px',
|
|
@@ -4935,7 +5048,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4935
5048
|
fontSize: theme.typography.fontSize.h2,
|
|
4936
5049
|
width: '100%',
|
|
4937
5050
|
lineHeight: '70px',
|
|
4938
|
-
color: theme?.
|
|
5051
|
+
color: theme?.colors?.font2,
|
|
4939
5052
|
textAlign: 'left',
|
|
4940
5053
|
wordBreak: 'break-word'
|
|
4941
5054
|
},
|
|
@@ -4945,7 +5058,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4945
5058
|
// },
|
|
4946
5059
|
|
|
4947
5060
|
card: {
|
|
4948
|
-
background: theme?.
|
|
5061
|
+
background: theme?.colors?.white,
|
|
4949
5062
|
boxShadow: theme?.shadows?.primary,
|
|
4950
5063
|
borderRadius: theme.shape.borderRadius.large,
|
|
4951
5064
|
margin: ({
|
|
@@ -4966,7 +5079,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4966
5079
|
textAlign: 'center',
|
|
4967
5080
|
fontSize: theme.typography.fontSize.h6,
|
|
4968
5081
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4969
|
-
color: theme?.
|
|
5082
|
+
color: theme?.colors?.lightblack,
|
|
4970
5083
|
margin: `16px 0px`,
|
|
4971
5084
|
wordBreak: 'break-word'
|
|
4972
5085
|
},
|
|
@@ -4978,7 +5091,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4978
5091
|
alignItems: 'center',
|
|
4979
5092
|
justifyContent: 'center',
|
|
4980
5093
|
borderRadius: '50%',
|
|
4981
|
-
background: theme?.
|
|
5094
|
+
background: theme?.colors?.background2
|
|
4982
5095
|
},
|
|
4983
5096
|
buttonContainerClass: {
|
|
4984
5097
|
marginRight: theme.spacing.margin.regular,
|
|
@@ -4992,7 +5105,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4992
5105
|
textAlign: 'center',
|
|
4993
5106
|
fontSize: theme.typography.fontSize.body,
|
|
4994
5107
|
lineHeight: '22px',
|
|
4995
|
-
color: theme?.
|
|
5108
|
+
color: theme?.colors?.gray,
|
|
4996
5109
|
margin: '0',
|
|
4997
5110
|
wordBreak: 'break-word'
|
|
4998
5111
|
},
|
|
@@ -5078,7 +5191,7 @@ function Info({
|
|
|
5078
5191
|
className: classes.imageContainer
|
|
5079
5192
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
5080
5193
|
name: dt.icon.metadata.value,
|
|
5081
|
-
color: theme
|
|
5194
|
+
color: theme?.colors?.icon,
|
|
5082
5195
|
width: isMobile ? '30px' : '40px',
|
|
5083
5196
|
height: isMobile ? '30px' : '40px'
|
|
5084
5197
|
})), /*#__PURE__*/React__default["default"].createElement("h3", {
|
|
@@ -5135,7 +5248,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5135
5248
|
padding: ({
|
|
5136
5249
|
isMobile
|
|
5137
5250
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5138
|
-
backgroundColor: theme?.
|
|
5251
|
+
backgroundColor: theme?.colors?.background2,
|
|
5139
5252
|
'&, & *, & *:before, & *:after': {
|
|
5140
5253
|
fontFamily: theme?.typography?.fontFamily,
|
|
5141
5254
|
boxSizing: 'border-box'
|
|
@@ -5152,7 +5265,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5152
5265
|
subHeading: {
|
|
5153
5266
|
fontSize: theme.typography.fontSize.subHead,
|
|
5154
5267
|
marginBottom: '8px',
|
|
5155
|
-
color: theme?.
|
|
5268
|
+
color: theme?.colors?.font3,
|
|
5156
5269
|
wordBreak: 'break-word',
|
|
5157
5270
|
textTransform: 'uppercase',
|
|
5158
5271
|
letterSpacing: '3px'
|
|
@@ -5162,7 +5275,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5162
5275
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5163
5276
|
lineHeight: 'normal',
|
|
5164
5277
|
margin: '0',
|
|
5165
|
-
color: theme?.
|
|
5278
|
+
color: theme?.colors?.font3,
|
|
5166
5279
|
wordBreak: 'break-word',
|
|
5167
5280
|
marginBottom: theme.spacing.margin.tiny
|
|
5168
5281
|
},
|
|
@@ -5173,7 +5286,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5173
5286
|
padding: '32px 0px'
|
|
5174
5287
|
},
|
|
5175
5288
|
textPara: {
|
|
5176
|
-
color: theme?.
|
|
5289
|
+
color: theme?.colors?.font3,
|
|
5177
5290
|
wordBreak: 'break-word',
|
|
5178
5291
|
fontSize: theme.typography.fontSize.body,
|
|
5179
5292
|
lineHeight: '24px'
|
|
@@ -5480,7 +5593,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5480
5593
|
padding: ({
|
|
5481
5594
|
isMobile
|
|
5482
5595
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5483
|
-
backgroundColor: theme?.
|
|
5596
|
+
backgroundColor: theme?.colors?.background2,
|
|
5484
5597
|
'&, & *, & *:before, & *:after': {
|
|
5485
5598
|
fontFamily: theme?.typography?.fontFamily,
|
|
5486
5599
|
boxSizing: 'border-box'
|
|
@@ -5495,7 +5608,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5495
5608
|
} = {}) => containerWidth
|
|
5496
5609
|
},
|
|
5497
5610
|
sectionSubheading: {
|
|
5498
|
-
color: theme?.
|
|
5611
|
+
color: theme?.colors?.font3,
|
|
5499
5612
|
fontSize: theme.typography.fontSize.subHead,
|
|
5500
5613
|
marginBottom: '8px',
|
|
5501
5614
|
wordBreak: 'break-word'
|
|
@@ -5504,15 +5617,16 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5504
5617
|
fontSize: theme.typography.fontSize.h2,
|
|
5505
5618
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5506
5619
|
wordBreak: 'break-word',
|
|
5507
|
-
marginBottom: `${theme.spacing.margin.tiny}px
|
|
5620
|
+
marginBottom: `${theme.spacing.margin.tiny}px`,
|
|
5621
|
+
color: theme?.colors?.font3
|
|
5508
5622
|
},
|
|
5509
5623
|
container: {
|
|
5510
5624
|
boxShadow: theme?.shadows?.secondary,
|
|
5511
5625
|
borderRadius: '8px',
|
|
5512
|
-
backgroundColor: theme?.
|
|
5626
|
+
backgroundColor: theme?.colors?.white
|
|
5513
5627
|
},
|
|
5514
5628
|
basicCardContainer: {
|
|
5515
|
-
borderBottom:
|
|
5629
|
+
borderBottom: `1px solid #D8E0F0`,
|
|
5516
5630
|
padding: `${theme.spacing.padding.tiny}px`
|
|
5517
5631
|
},
|
|
5518
5632
|
innerContainer: {
|
|
@@ -5531,14 +5645,14 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5531
5645
|
alignItems: 'center'
|
|
5532
5646
|
},
|
|
5533
5647
|
title: {
|
|
5534
|
-
color: theme?.
|
|
5648
|
+
color: theme?.colors?.lightblack,
|
|
5535
5649
|
fontSize: theme.typography.fontSize.h5,
|
|
5536
5650
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5537
5651
|
margin: '0',
|
|
5538
5652
|
wordBreak: 'break-word'
|
|
5539
5653
|
},
|
|
5540
5654
|
content: {
|
|
5541
|
-
color: theme?.
|
|
5655
|
+
color: theme?.colors?.lightblack,
|
|
5542
5656
|
fontSize: theme.typography.fontSize.body,
|
|
5543
5657
|
lineHeight: '24px',
|
|
5544
5658
|
maxHeight: ({
|
|
@@ -5658,11 +5772,10 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5658
5772
|
|
|
5659
5773
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5660
5774
|
section: {
|
|
5775
|
+
background: theme.colors.background1,
|
|
5661
5776
|
padding: ({
|
|
5662
5777
|
isMobile
|
|
5663
5778
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5664
|
-
// backgroundColor: theme?.palette?.background?.primary,
|
|
5665
|
-
|
|
5666
5779
|
'&, & *, & *:before, & *:after': {
|
|
5667
5780
|
fontFamily: theme?.typography?.fontFamily,
|
|
5668
5781
|
boxSizing: 'border-box'
|
|
@@ -5670,14 +5783,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5670
5783
|
'& h2,& h3,& p': {
|
|
5671
5784
|
marginTop: '0'
|
|
5672
5785
|
}
|
|
5673
|
-
// '& h2,& h3': {
|
|
5674
|
-
// fontWeight: '500',
|
|
5675
|
-
// '& b,& strong': {
|
|
5676
|
-
// fontWeight: '700'
|
|
5677
|
-
// }
|
|
5678
|
-
// }
|
|
5679
5786
|
},
|
|
5680
|
-
|
|
5681
5787
|
sectionContainer: {
|
|
5682
5788
|
margin: '0 auto',
|
|
5683
5789
|
maxWidth: ({
|
|
@@ -5685,7 +5791,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5685
5791
|
} = {}) => containerWidth
|
|
5686
5792
|
},
|
|
5687
5793
|
subheading: {
|
|
5688
|
-
color: theme?.
|
|
5794
|
+
color: theme?.colors?.font1,
|
|
5689
5795
|
fontSize: theme.typography.fontSize.subHead,
|
|
5690
5796
|
lineHeight: '20px',
|
|
5691
5797
|
letterSpacing: '3px',
|
|
@@ -5699,7 +5805,8 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5699
5805
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5700
5806
|
letterSpacing: '-3px',
|
|
5701
5807
|
marginBottom: theme.spacing.margin.tiny,
|
|
5702
|
-
wordBreak: 'break-word'
|
|
5808
|
+
wordBreak: 'break-word',
|
|
5809
|
+
color: theme?.colors?.font1
|
|
5703
5810
|
},
|
|
5704
5811
|
sliderContainer: {
|
|
5705
5812
|
margin: '0 -10px'
|
|
@@ -5969,7 +6076,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5969
6076
|
display: 'flex',
|
|
5970
6077
|
justifyContent: 'flex-start',
|
|
5971
6078
|
alignItems: 'center',
|
|
5972
|
-
fontSize: theme.typography.fontSize.
|
|
6079
|
+
fontSize: theme.typography.fontSize.body,
|
|
5973
6080
|
color: theme?.palette?.font?.primary,
|
|
5974
6081
|
'& img': {
|
|
5975
6082
|
marginRight: '5px'
|
|
@@ -6002,8 +6109,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6002
6109
|
},
|
|
6003
6110
|
courseCardBuyBtn: {
|
|
6004
6111
|
cursor: 'pointer',
|
|
6005
|
-
background: theme?.
|
|
6006
|
-
color: theme?.
|
|
6112
|
+
background: theme?.colors?.ctaColor,
|
|
6113
|
+
color: theme?.colors?.CtaTextColor,
|
|
6007
6114
|
padding: '8px 16px',
|
|
6008
6115
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6009
6116
|
cursor: 'pointer',
|
|
@@ -6376,11 +6483,10 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
6376
6483
|
const useTeamStyles = createUseStyles(theme => {
|
|
6377
6484
|
return {
|
|
6378
6485
|
teamSuperContainer: {
|
|
6486
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6379
6487
|
padding: ({
|
|
6380
6488
|
isMobile
|
|
6381
6489
|
} = {}) => 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`,
|
|
6382
|
-
// backgroundColor: theme?.palette?.background?.primary,
|
|
6383
|
-
|
|
6384
6490
|
'&, & *, & *:before, & *:after': {
|
|
6385
6491
|
fontFamily: theme?.typography?.fontFamily,
|
|
6386
6492
|
boxSizing: 'border-box'
|
|
@@ -6401,25 +6507,17 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6401
6507
|
lineHeight: '20px',
|
|
6402
6508
|
letterSpacing: '3px',
|
|
6403
6509
|
marginBottom: '8px',
|
|
6404
|
-
color: theme?.
|
|
6510
|
+
color: theme?.colors?.font2,
|
|
6405
6511
|
// wordBreak: 'break-word',
|
|
6406
6512
|
position: 'relative'
|
|
6407
6513
|
},
|
|
6408
|
-
partialBackground: {
|
|
6409
|
-
position: 'absolute',
|
|
6410
|
-
top: '0',
|
|
6411
|
-
left: '0',
|
|
6412
|
-
height: '50%',
|
|
6413
|
-
background: theme?.palette?.background?.primary,
|
|
6414
|
-
width: '100%'
|
|
6415
|
-
},
|
|
6416
6514
|
teamTitle: {
|
|
6417
6515
|
fontSize: theme.typography.fontSize.h2,
|
|
6418
6516
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6419
6517
|
lineHeight: '70px',
|
|
6420
6518
|
letterSpacing: '-3px',
|
|
6421
6519
|
wordBreak: 'break-word',
|
|
6422
|
-
color: theme?.
|
|
6520
|
+
color: theme?.colors?.font2,
|
|
6423
6521
|
position: 'relative'
|
|
6424
6522
|
},
|
|
6425
6523
|
sliderContainer: {
|
|
@@ -6511,12 +6609,10 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6511
6609
|
teamDetailsHeading: {
|
|
6512
6610
|
fontSize: '16px',
|
|
6513
6611
|
lineHeight: '24px',
|
|
6514
|
-
margin: '0'
|
|
6515
|
-
color: theme?.palette?.font?.body
|
|
6612
|
+
margin: '0'
|
|
6516
6613
|
},
|
|
6517
6614
|
teamDetailsSubHeading: {
|
|
6518
|
-
marginTop: '0px'
|
|
6519
|
-
color: theme?.palette?.font?.primary
|
|
6615
|
+
marginTop: '0px'
|
|
6520
6616
|
}
|
|
6521
6617
|
}
|
|
6522
6618
|
};
|
|
@@ -6627,7 +6723,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6627
6723
|
justifyContent: 'center',
|
|
6628
6724
|
flexDirection: 'column',
|
|
6629
6725
|
alignItems: 'center',
|
|
6630
|
-
|
|
6726
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6631
6727
|
padding: ({
|
|
6632
6728
|
isMobile
|
|
6633
6729
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
@@ -6649,16 +6745,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6649
6745
|
containerWidth
|
|
6650
6746
|
} = {}) => containerWidth
|
|
6651
6747
|
},
|
|
6652
|
-
partialBackground: {
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
},
|
|
6748
|
+
// partialBackground: {
|
|
6749
|
+
// top: '0',
|
|
6750
|
+
// left: '0',
|
|
6751
|
+
// width: '100%',
|
|
6752
|
+
// height: '50%',
|
|
6753
|
+
// position: 'absolute',
|
|
6754
|
+
// background: theme?.colors?.white
|
|
6755
|
+
// },
|
|
6660
6756
|
sectionContainer: {
|
|
6661
|
-
backgroundColor: theme?.
|
|
6757
|
+
backgroundColor: theme?.colors?.white,
|
|
6662
6758
|
boxShadow: theme?.shadows?.secondary,
|
|
6663
6759
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6664
6760
|
padding: '48px',
|
|
@@ -6667,7 +6763,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6667
6763
|
title: {
|
|
6668
6764
|
margin: '0',
|
|
6669
6765
|
fontSize: theme.typography.fontSize.h2,
|
|
6670
|
-
color: theme?.
|
|
6766
|
+
color: theme?.colors?.lightblack,
|
|
6671
6767
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6672
6768
|
lineHeight: '71px',
|
|
6673
6769
|
letterSpacing: '-3px',
|
|
@@ -6690,7 +6786,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6690
6786
|
subtitle: {
|
|
6691
6787
|
// margin: '0 0 40px 0',
|
|
6692
6788
|
fontSize: theme.typography.fontSize.h5,
|
|
6693
|
-
color: theme?.
|
|
6789
|
+
color: theme?.colors?.lightblack,
|
|
6694
6790
|
lineHeight: '32px',
|
|
6695
6791
|
wordBreak: 'break-word',
|
|
6696
6792
|
marginBottom: '32px'
|
|
@@ -6713,7 +6809,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6713
6809
|
},
|
|
6714
6810
|
addressText: {
|
|
6715
6811
|
fontSize: theme.typography.fontSize.h6,
|
|
6716
|
-
color: theme?.
|
|
6812
|
+
color: theme?.colors?.lightblack,
|
|
6717
6813
|
lineHeight: '24px',
|
|
6718
6814
|
fontSize: '16px'
|
|
6719
6815
|
},
|
|
@@ -7050,7 +7146,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7050
7146
|
padding: ({
|
|
7051
7147
|
isMobile
|
|
7052
7148
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
7053
|
-
|
|
7149
|
+
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
7054
7150
|
'&, & *, & *:before, & *:after': {
|
|
7055
7151
|
fontFamily: theme?.typography?.fontFamily,
|
|
7056
7152
|
boxSizing: 'border-box'
|
|
@@ -7070,16 +7166,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7070
7166
|
containerWidth
|
|
7071
7167
|
} = {}) => containerWidth
|
|
7072
7168
|
},
|
|
7073
|
-
partialBackground: {
|
|
7074
|
-
top: '0',
|
|
7075
|
-
left: '0',
|
|
7076
|
-
width: '100%',
|
|
7077
|
-
height: '50%',
|
|
7078
|
-
position: 'absolute',
|
|
7079
|
-
background: theme?.palette?.background?.primary
|
|
7080
|
-
},
|
|
7081
7169
|
sectionContainer: {
|
|
7082
|
-
backgroundColor: theme?.
|
|
7170
|
+
backgroundColor: theme?.colors?.white,
|
|
7083
7171
|
boxShadow: theme?.shadows?.secondary,
|
|
7084
7172
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7085
7173
|
padding: '48px',
|
|
@@ -7088,7 +7176,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7088
7176
|
title: {
|
|
7089
7177
|
margin: '0',
|
|
7090
7178
|
fontSize: theme.typography.fontSize.h2,
|
|
7091
|
-
color: theme?.
|
|
7179
|
+
color: theme?.colors?.lightblack?.default,
|
|
7092
7180
|
lineHeight: '71px',
|
|
7093
7181
|
letterSpacing: '-3px',
|
|
7094
7182
|
textAlign: 'left',
|
|
@@ -7113,7 +7201,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7113
7201
|
subtitle: {
|
|
7114
7202
|
// margin: '0 0 auto 0',
|
|
7115
7203
|
fontSize: theme.typography.fontSize.h6,
|
|
7116
|
-
color: theme?.
|
|
7204
|
+
color: theme?.colors?.lightblack,
|
|
7117
7205
|
// lineHeight: '32px',
|
|
7118
7206
|
// margin: '16px 0',
|
|
7119
7207
|
textAlign: 'center',
|
|
@@ -7144,8 +7232,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7144
7232
|
inputField: {
|
|
7145
7233
|
width: '100%',
|
|
7146
7234
|
// maxWidth: '314px',
|
|
7147
|
-
background: theme?.palette?.background?.default,
|
|
7148
|
-
border: `1px solid ${theme?.
|
|
7235
|
+
// background: theme?.palette?.background?.default,
|
|
7236
|
+
border: `1px solid ${theme?.colors?.cta}`,
|
|
7149
7237
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7150
7238
|
// padding: '14px 12px',
|
|
7151
7239
|
display: 'flex',
|
|
@@ -7158,7 +7246,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7158
7246
|
fontWeight: '400',
|
|
7159
7247
|
fontSize: theme.typography.fontSize.subHead,
|
|
7160
7248
|
lineHeight: '20px',
|
|
7161
|
-
color: theme?.
|
|
7249
|
+
color: theme?.colors?.lightblack,
|
|
7162
7250
|
fontFamily: theme?.typography?.fontFamily
|
|
7163
7251
|
},
|
|
7164
7252
|
'&:focus': {
|
|
@@ -7471,6 +7559,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7471
7559
|
webinarSuperContainer: {
|
|
7472
7560
|
display: 'flex',
|
|
7473
7561
|
justifyContent: 'center',
|
|
7562
|
+
background: theme.colors.background1,
|
|
7474
7563
|
padding: ({
|
|
7475
7564
|
isMobile
|
|
7476
7565
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7493,30 +7582,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7493
7582
|
maxWidth: '1440px',
|
|
7494
7583
|
fontFamily: theme?.typography?.fontFamily
|
|
7495
7584
|
},
|
|
7496
|
-
// videoTestimonialHeading: {
|
|
7497
|
-
// fontSize: theme.typography.fontSize.subHead,
|
|
7498
|
-
// lineHeight: '20px',
|
|
7499
|
-
// letterSpacing: '3px',
|
|
7500
|
-
// textTransform: 'uppercase',
|
|
7501
|
-
// color: theme.palette.font.tertiary,
|
|
7502
|
-
// wordBreak: 'break-word',
|
|
7503
|
-
// fontWeight: theme.typography.fontWeight.bold,
|
|
7504
|
-
// },
|
|
7505
|
-
|
|
7506
|
-
// videoTestimonialTitle: {
|
|
7507
|
-
// fontSize: theme.typography.fontSize.h2,
|
|
7508
|
-
// lineHeight: '71px',
|
|
7509
|
-
// fontWeight: theme.typography.fontWeight.bold,
|
|
7510
|
-
// letterSpacing: '-3px',
|
|
7511
|
-
// margin: '0',
|
|
7512
|
-
// color: theme.palette.font.default,
|
|
7513
|
-
// wordBreak: 'break-word'
|
|
7514
|
-
// },
|
|
7515
|
-
|
|
7516
|
-
// videoCarouselContainer: {
|
|
7517
|
-
// marginTop: '16px'
|
|
7518
|
-
// },
|
|
7519
|
-
|
|
7520
7585
|
webinarCarousel: {
|
|
7521
7586
|
display: 'flex',
|
|
7522
7587
|
justifyContent: 'flex-start',
|
|
@@ -7545,8 +7610,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7545
7610
|
},
|
|
7546
7611
|
offerText: {
|
|
7547
7612
|
textAlign: 'center',
|
|
7548
|
-
color: theme
|
|
7549
|
-
marginBottom: '5%'
|
|
7613
|
+
color: theme?.colors?.lightblack,
|
|
7614
|
+
marginBottom: '5% !important'
|
|
7550
7615
|
},
|
|
7551
7616
|
offerPrice: {
|
|
7552
7617
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -7592,7 +7657,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7592
7657
|
margin: '0',
|
|
7593
7658
|
letterSpacing: '-1px',
|
|
7594
7659
|
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7595
|
-
color: theme
|
|
7660
|
+
color: theme?.colors?.font1
|
|
7596
7661
|
},
|
|
7597
7662
|
courseViewContainer: {
|
|
7598
7663
|
width: '645px',
|
|
@@ -7607,7 +7672,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7607
7672
|
bannerContainer: {
|
|
7608
7673
|
width: '100%',
|
|
7609
7674
|
background: '#EB5757',
|
|
7610
|
-
color:
|
|
7675
|
+
color: theme?.colors?.white,
|
|
7611
7676
|
textAlign: 'center',
|
|
7612
7677
|
padding: '10px 10px 23px 40px',
|
|
7613
7678
|
wordWrap: 'break-word',
|
|
@@ -7626,24 +7691,26 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7626
7691
|
display: 'flex',
|
|
7627
7692
|
alignItems: 'center',
|
|
7628
7693
|
marginRight: '20px',
|
|
7694
|
+
color: theme?.colors?.font1,
|
|
7629
7695
|
'& div': {
|
|
7630
|
-
fontSize: theme.typography.fontSize.
|
|
7696
|
+
fontSize: theme.typography.fontSize.body,
|
|
7631
7697
|
marginLeft: '10px'
|
|
7632
7698
|
}
|
|
7633
7699
|
},
|
|
7634
7700
|
courseDetailContent: {
|
|
7635
|
-
fontSize: theme.typography.fontSize.
|
|
7701
|
+
fontSize: theme.typography.fontSize.body,
|
|
7702
|
+
lineHeight: '21px',
|
|
7636
7703
|
wordBreak: 'break-word',
|
|
7637
|
-
color: theme
|
|
7704
|
+
color: theme?.colors?.font1,
|
|
7638
7705
|
whiteSpace: 'pre-wrap',
|
|
7639
7706
|
width: '80%'
|
|
7640
7707
|
},
|
|
7641
7708
|
courseDetailViewFullDetails: {
|
|
7642
7709
|
cursor: 'pointer',
|
|
7643
|
-
fontSize: theme.typography.fontSize.
|
|
7710
|
+
fontSize: theme.typography.fontSize.body,
|
|
7644
7711
|
lineHeight: '24px',
|
|
7712
|
+
color: theme?.colors?.font1,
|
|
7645
7713
|
marginTop: '-20px',
|
|
7646
|
-
color: '#00ADE7',
|
|
7647
7714
|
wordBreak: 'break-word'
|
|
7648
7715
|
},
|
|
7649
7716
|
courseDetailTime: {
|
|
@@ -7658,7 +7725,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7658
7725
|
display: 'flex',
|
|
7659
7726
|
width: '36px',
|
|
7660
7727
|
height: '36px',
|
|
7661
|
-
backgroundColor:
|
|
7728
|
+
backgroundColor: theme?.colors?.icon,
|
|
7662
7729
|
justifyContent: 'center',
|
|
7663
7730
|
alignItems: 'center',
|
|
7664
7731
|
borderRadius: '6px'
|
|
@@ -7850,14 +7917,15 @@ const SingleVideoSlide$1 = props => {
|
|
|
7850
7917
|
className: classes.iconBackground
|
|
7851
7918
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
7852
7919
|
name: 'Calendar',
|
|
7853
|
-
|
|
7920
|
+
width: "24px",
|
|
7921
|
+
color: theme?.colors?.background2
|
|
7854
7922
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, moment__default["default"](data.startDate).locale(momentLocale).format('Do MMM YY') + ' ', moment__default["default"](data.startTime).locale(momentLocale).format('h:mm A'), /*#__PURE__*/React__default["default"].createElement("span", null, " - "), moment__default["default"](data.endTime).locale(momentLocale).format('h:mm A'))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
7855
7923
|
className: classes.courseDetailTag
|
|
7856
7924
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
7857
7925
|
className: classes.iconBackground
|
|
7858
7926
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
7859
|
-
color: theme
|
|
7860
|
-
width: "
|
|
7927
|
+
color: theme?.colors?.background2,
|
|
7928
|
+
width: "24px",
|
|
7861
7929
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7862
7930
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7863
7931
|
ref: data?.videoTextContent?.refSetter,
|
|
@@ -7964,13 +8032,15 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
7964
8032
|
});
|
|
7965
8033
|
|
|
7966
8034
|
const useCoursePromotionPage = createUseStyles(theme => {
|
|
8035
|
+
console.log(theme, 'themere');
|
|
7967
8036
|
return {
|
|
7968
8037
|
courseSuperContainer: {
|
|
7969
8038
|
display: 'flex',
|
|
7970
8039
|
justifyContent: 'center',
|
|
8040
|
+
background: theme?.colors?.background1,
|
|
7971
8041
|
padding: ({
|
|
7972
8042
|
isMobile
|
|
7973
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
8043
|
+
} = {}) => isMobile ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
7974
8044
|
'&, & *, & *:before, & *:after': {
|
|
7975
8045
|
fontFamily: theme?.typography?.fontFamily,
|
|
7976
8046
|
boxSizing: 'border-box'
|
|
@@ -8088,7 +8158,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8088
8158
|
margin: '0',
|
|
8089
8159
|
letterSpacing: '-1px',
|
|
8090
8160
|
wordBreak: 'break-word',
|
|
8091
|
-
color: theme
|
|
8161
|
+
color: theme?.colors?.font1
|
|
8092
8162
|
},
|
|
8093
8163
|
courseViewContainer: {
|
|
8094
8164
|
width: '445px',
|
|
@@ -8104,12 +8174,12 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8104
8174
|
bannerContainer: {
|
|
8105
8175
|
width: '100%',
|
|
8106
8176
|
background: '#EB5757',
|
|
8107
|
-
color:
|
|
8177
|
+
color: theme?.colors?.white,
|
|
8108
8178
|
textAlign: 'center',
|
|
8109
8179
|
padding: '10px 10px 23px 40px',
|
|
8110
8180
|
wordWrap: 'break-word',
|
|
8111
8181
|
position: 'relative',
|
|
8112
|
-
fontSize:
|
|
8182
|
+
fontSize: '18px',
|
|
8113
8183
|
transform: 'rotate(180deg)',
|
|
8114
8184
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8115
8185
|
// marginBottom: '16px'
|
|
@@ -8125,8 +8195,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8125
8195
|
},
|
|
8126
8196
|
courseEmblem: {
|
|
8127
8197
|
background: '#F0F4F8',
|
|
8128
|
-
fontSize: theme.typography.fontSize.
|
|
8129
|
-
borderRadius: '
|
|
8198
|
+
fontSize: theme.typography.fontSize.body,
|
|
8199
|
+
borderRadius: '4px',
|
|
8130
8200
|
padding: '8px',
|
|
8131
8201
|
display: 'flex',
|
|
8132
8202
|
alignItems: 'center',
|
|
@@ -8142,27 +8212,29 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8142
8212
|
display: 'flex',
|
|
8143
8213
|
alignItems: 'center',
|
|
8144
8214
|
marginRight: '20px',
|
|
8215
|
+
color: theme?.colors?.font1,
|
|
8145
8216
|
'& div': {
|
|
8146
|
-
fontSize: theme.typography.fontSize.
|
|
8217
|
+
fontSize: theme.typography.fontSize.body,
|
|
8147
8218
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8148
8219
|
marginLeft: '10px'
|
|
8149
8220
|
}
|
|
8150
8221
|
},
|
|
8151
8222
|
courseDetailContent: {
|
|
8152
|
-
|
|
8153
|
-
fontSize: theme.typography.fontSize.
|
|
8154
|
-
lineHeight: '
|
|
8223
|
+
marginTop: '20px',
|
|
8224
|
+
fontSize: theme.typography.fontSize.body,
|
|
8225
|
+
lineHeight: '21px',
|
|
8155
8226
|
wordBreak: 'break-word',
|
|
8156
|
-
color: theme
|
|
8227
|
+
color: theme?.colors?.font1,
|
|
8157
8228
|
whiteSpace: 'pre-wrap',
|
|
8158
8229
|
margin: '10px 0 20px'
|
|
8159
8230
|
},
|
|
8160
8231
|
courseDetailViewFullDetails: {
|
|
8161
8232
|
cursor: 'pointer',
|
|
8162
|
-
fontSize: theme.typography.fontSize.
|
|
8163
|
-
|
|
8164
|
-
|
|
8165
|
-
|
|
8233
|
+
fontSize: theme.typography.fontSize.body,
|
|
8234
|
+
textDecoration: 'underline',
|
|
8235
|
+
lineHeight: '21px',
|
|
8236
|
+
marginTop: '20px',
|
|
8237
|
+
color: theme.colors?.font1,
|
|
8166
8238
|
wordBreak: 'break-word'
|
|
8167
8239
|
},
|
|
8168
8240
|
courseDetailTime: {
|
|
@@ -8173,7 +8245,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8173
8245
|
display: 'flex',
|
|
8174
8246
|
width: '36px',
|
|
8175
8247
|
height: '36px',
|
|
8176
|
-
backgroundColor:
|
|
8248
|
+
backgroundColor: theme?.colors?.icon,
|
|
8177
8249
|
justifyContent: 'center',
|
|
8178
8250
|
alignItems: 'center',
|
|
8179
8251
|
borderRadius: '6px'
|
|
@@ -8233,7 +8305,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8233
8305
|
// fontSize: '20px',
|
|
8234
8306
|
fontWeight: '600',
|
|
8235
8307
|
lineHeight: 'normal',
|
|
8236
|
-
letterSpacing: '0px'
|
|
8308
|
+
letterSpacing: '0px',
|
|
8309
|
+
color: theme?.colors?.font1
|
|
8237
8310
|
},
|
|
8238
8311
|
videoTestimonialTitle: {
|
|
8239
8312
|
// fontSize: '24px',
|
|
@@ -8402,28 +8475,32 @@ const SingleVideoSlide = props => {
|
|
|
8402
8475
|
className: classes.iconBackground
|
|
8403
8476
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8404
8477
|
name: 'Clock',
|
|
8405
|
-
|
|
8478
|
+
width: "24px",
|
|
8479
|
+
color: theme?.colors?.background2
|
|
8406
8480
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8407
8481
|
className: classes.courseDetailTag
|
|
8408
8482
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8409
8483
|
className: classes.iconBackground
|
|
8410
8484
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8411
8485
|
name: 'Book Saved',
|
|
8412
|
-
color: theme
|
|
8486
|
+
color: theme?.colors?.background2,
|
|
8487
|
+
width: "24px"
|
|
8413
8488
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? 'Physical Books' : null)) : null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8414
8489
|
className: classes.courseDetailTag
|
|
8415
8490
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8416
8491
|
className: classes.iconBackground
|
|
8417
8492
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8418
8493
|
name: 'Certificate',
|
|
8419
|
-
color: theme
|
|
8494
|
+
color: theme?.colors?.background2,
|
|
8495
|
+
width: "24px"
|
|
8420
8496
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8421
8497
|
className: classes.courseDetailTag
|
|
8422
8498
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8423
8499
|
className: classes.iconBackground
|
|
8424
8500
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8425
8501
|
name: 'Certificate',
|
|
8426
|
-
color: theme
|
|
8502
|
+
color: theme?.colors?.background2,
|
|
8503
|
+
width: "24px"
|
|
8427
8504
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8428
8505
|
ref: data?.videoTextContent?.refSetter,
|
|
8429
8506
|
className: classes.courseDetailContent,
|
|
@@ -8550,7 +8627,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8550
8627
|
padding: ({
|
|
8551
8628
|
isMobile
|
|
8552
8629
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8553
|
-
background:
|
|
8630
|
+
background: theme?.colors?.background3,
|
|
8554
8631
|
'&, & *, & *:before, & *:after': {
|
|
8555
8632
|
fontFamily: theme?.typography?.fontFamily,
|
|
8556
8633
|
boxSizing: 'border-box'
|
|
@@ -8567,7 +8644,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8567
8644
|
marginTop: '8px',
|
|
8568
8645
|
fontSize: theme.typography.fontSize.h6,
|
|
8569
8646
|
lineHeight: '23px',
|
|
8570
|
-
color:
|
|
8647
|
+
color: theme?.colors?.gray,
|
|
8571
8648
|
marginBottom: theme.spacing.margin.tiny
|
|
8572
8649
|
},
|
|
8573
8650
|
formPageFormContainer: {
|
|
@@ -8586,8 +8663,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8586
8663
|
},
|
|
8587
8664
|
|
|
8588
8665
|
inputFieldLabel: {
|
|
8589
|
-
color:
|
|
8590
|
-
fontSize: theme.typography.fontSize.
|
|
8666
|
+
color: theme?.colors?.lightblack,
|
|
8667
|
+
fontSize: theme.typography.fontSize.body,
|
|
8591
8668
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8592
8669
|
display: 'block',
|
|
8593
8670
|
marginTop: '20px',
|
|
@@ -8598,8 +8675,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8598
8675
|
borderRadius: '8px',
|
|
8599
8676
|
border: '1px solid #D8E0F0',
|
|
8600
8677
|
padding: '12px 16px',
|
|
8601
|
-
color:
|
|
8602
|
-
fontSize: theme.typography.fontSize.
|
|
8678
|
+
color: theme?.colors?.lightblack,
|
|
8679
|
+
fontSize: theme.typography.fontSize.body
|
|
8603
8680
|
},
|
|
8604
8681
|
checkboxField: {
|
|
8605
8682
|
// padding: '20px',
|
|
@@ -8607,21 +8684,21 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8607
8684
|
// borderRadius: '8px'
|
|
8608
8685
|
},
|
|
8609
8686
|
checkBoxFieldLabel: {
|
|
8610
|
-
color:
|
|
8611
|
-
fontSize: theme.typography.fontSize.
|
|
8687
|
+
color: theme?.colors?.lightblack,
|
|
8688
|
+
fontSize: theme.typography.fontSize.body,
|
|
8612
8689
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8613
8690
|
marginTop: '20px',
|
|
8614
8691
|
marginBottom: '12px'
|
|
8615
8692
|
},
|
|
8616
8693
|
inputFieldRequired: {
|
|
8617
|
-
color:
|
|
8694
|
+
color: theme?.colors?.lightblack
|
|
8618
8695
|
},
|
|
8619
8696
|
checkboxFieldControl: {
|
|
8620
8697
|
padding: '8px 0',
|
|
8621
8698
|
'& label': {
|
|
8622
|
-
fontSize: theme.typography.fontSize.
|
|
8699
|
+
fontSize: theme.typography.fontSize.body,
|
|
8623
8700
|
marginLeft: '10px',
|
|
8624
|
-
color:
|
|
8701
|
+
color: theme?.colors?.lightblack
|
|
8625
8702
|
}
|
|
8626
8703
|
},
|
|
8627
8704
|
submitBtnContainer: {
|
|
@@ -8634,8 +8711,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8634
8711
|
'& button': {
|
|
8635
8712
|
// height: '44px',
|
|
8636
8713
|
padding: '16px 24px',
|
|
8637
|
-
|
|
8638
|
-
fontSize: theme.typography.fontSize.subHead,
|
|
8714
|
+
fontSize: theme.typography.fontSize.body,
|
|
8639
8715
|
cursor: 'pointer',
|
|
8640
8716
|
borderRadius: '8px'
|
|
8641
8717
|
}
|
|
@@ -9643,7 +9719,7 @@ function PageRenderer({
|
|
|
9643
9719
|
countryCode,
|
|
9644
9720
|
currencySymbol
|
|
9645
9721
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
9646
|
-
const theme = React.useMemo(() =>
|
|
9722
|
+
const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
9647
9723
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
9648
9724
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
9649
9725
|
theme: theme
|