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