diy-template-components 1.1.10 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.es.js +260 -343
- package/build/index.es.js.map +1 -1
- package/build/index.js +260 -343
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -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,176 +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
|
-
bannerRed: "#EB5757",
|
|
2228
|
-
// Blue gradient
|
|
2229
|
-
|
|
2230
|
-
blue: '#1676F3',
|
|
2231
|
-
bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
|
|
2232
|
-
tertiaryblue: '#F4F9FF',
|
|
2233
|
-
// Orange gradient
|
|
2234
|
-
|
|
2235
|
-
orange: '#FF9000',
|
|
2236
|
-
orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
|
|
2237
|
-
tertiaryorange: '#FFF6EA',
|
|
2238
|
-
// Pink gradient
|
|
2239
|
-
|
|
2240
|
-
pink: '#F72585',
|
|
2241
|
-
pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
|
|
2242
|
-
tertiarypink: '#FEE9F3',
|
|
2243
|
-
// Violet gradient
|
|
2244
|
-
|
|
2245
|
-
violet: '#6026A8',
|
|
2246
|
-
violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
|
|
2247
|
-
tertiaryviolet: '#F5F2FA',
|
|
2248
|
-
// Teal gradient
|
|
2249
|
-
|
|
2250
|
-
teal: '#46A9A9',
|
|
2251
|
-
tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
|
|
2252
|
-
tertiaryteal: '#F4FAFA',
|
|
2253
|
-
//Red solid
|
|
2254
|
-
|
|
2255
|
-
red: '#F41828',
|
|
2256
|
-
tertiaryred: '#FFF2F3',
|
|
2257
|
-
// Green
|
|
2258
|
-
|
|
2259
|
-
green: '#8ECE19',
|
|
2260
|
-
tertiarygreen: '#F4FAFA',
|
|
2261
|
-
//Maroon solid
|
|
2262
|
-
|
|
2263
|
-
rust: '#9B2226',
|
|
2264
|
-
tertiaryrust: '#FFF0F0',
|
|
2265
|
-
//Purple solid
|
|
2266
|
-
|
|
2267
|
-
purple: '#6269C9',
|
|
2268
|
-
tertiarypurple: '#F4F6FF',
|
|
2269
|
-
//Golden gradient
|
|
2270
|
-
|
|
2271
|
-
golden: `#F2BA35`,
|
|
2272
|
-
goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
|
|
2273
|
-
//light green gradient
|
|
2274
|
-
|
|
2275
|
-
lightgreen: `#D6E359`,
|
|
2276
|
-
lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
|
|
2277
|
-
//light blue gradient
|
|
2278
|
-
|
|
2279
|
-
lightblue: `#A8EDF8`,
|
|
2280
|
-
lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
|
|
2281
|
-
skyblue: '#00ADE7',
|
|
2282
|
-
tertiaryskyblue: '#F2FCFF'
|
|
2283
|
-
};
|
|
2284
|
-
|
|
2285
|
-
const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
|
|
2286
|
-
let themeColor = theme.split('-');
|
|
2287
|
-
let color, gradient, darkMode;
|
|
2288
|
-
if (themeColor.length === 1) {
|
|
2289
|
-
color = themeColor[0] == 'default' ? 'blue' : themeColor[0];
|
|
2290
|
-
} else if (themeColor.length === 2) {
|
|
2291
|
-
color = themeColor[0];
|
|
2292
|
-
gradient = themeColor[1];
|
|
2293
|
-
} else {
|
|
2294
|
-
color = themeColor[0];
|
|
2295
|
-
gradient = themeColor[1];
|
|
2296
|
-
darkMode = themeColor[2];
|
|
2297
|
-
}
|
|
2298
|
-
console.log('color', allColors, gradient, darkMode);
|
|
2299
|
-
|
|
2300
|
-
// switch (color) {
|
|
2301
|
-
// case solidColors:
|
|
2302
|
-
// break;
|
|
2303
|
-
|
|
2304
|
-
// case gradientColors:
|
|
2305
|
-
// break;
|
|
2306
|
-
|
|
2307
|
-
// default:
|
|
2308
|
-
// break;
|
|
2309
|
-
// }
|
|
2310
|
-
|
|
2311
|
-
// type 1
|
|
2312
|
-
// const solidColors = {
|
|
2313
|
-
// font1: solidBaseColors?.black,
|
|
2314
|
-
// font2: solidBaseColors?.black,
|
|
2315
|
-
// font3: solidBaseColors?.black,
|
|
2316
|
-
// font4: solidBaseColors?.black,
|
|
2317
|
-
// AccentColor: solidBaseColors[theme],
|
|
2318
|
-
// background1: solidBaseColors?.white,
|
|
2319
|
-
// background2: solidBaseColors['tertiary' + theme],
|
|
2320
|
-
// background3: solidBaseColors['tertiary' + theme],
|
|
2321
|
-
// ctaColor: solidBaseColors[theme],
|
|
2322
|
-
// CtaTextColor: solidBaseColors?.white,
|
|
2323
|
-
// icon: solidBaseColors[theme],
|
|
2324
|
-
// iconBg: solidBaseColors['tertiary' + theme],
|
|
2325
|
-
// stripBg: solidBaseColors[theme],
|
|
2326
|
-
// stripText: solidBaseColors?.white,
|
|
2327
|
-
// inputBorderColor: solidBaseColors?.blue2,
|
|
2328
|
-
// tertiaryBlue2: solidBaseColors?.tertiaryblue2
|
|
2329
|
-
// };
|
|
2330
|
-
|
|
2331
|
-
//type 2
|
|
2332
|
-
// const gradientColors = {
|
|
2333
|
-
// font1: gradientBaseColors?.white,
|
|
2334
|
-
// font2: gradientBaseColors?.black,
|
|
2335
|
-
// font3: gradientBaseColors?.black,
|
|
2336
|
-
// font4: gradientBaseColors?.white,
|
|
2337
|
-
// AccentColor: gradientBaseColors[theme],
|
|
2338
|
-
// background1: gradientBaseColors[theme + 'gradient'],
|
|
2339
|
-
// background2: gradientBaseColors['tertiary' + theme],
|
|
2340
|
-
// background3: gradientBaseColors[theme + 'gradient'],
|
|
2341
|
-
// ctaColor: gradientBaseColors[theme + 'gradient'],
|
|
2342
|
-
// CtaTextColor: gradientBaseColors?.white,
|
|
2343
|
-
// icon: gradientBaseColors[theme],
|
|
2344
|
-
// iconBg: gradientBaseColors['tertiary' + theme],
|
|
2345
|
-
// stripBg: gradientBaseColors?.black,
|
|
2346
|
-
// stripText: gradientBaseColors?.white
|
|
2347
|
-
// };
|
|
2348
|
-
|
|
2349
|
-
const colors = {
|
|
2350
|
-
font1: gradient ? allColors?.white : allColors?.black,
|
|
2351
|
-
font2: darkMode ? allColors[color] : allColors?.black,
|
|
2352
|
-
font3: darkMode ? allColors?.white : allColors?.black,
|
|
2353
|
-
font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
|
|
2354
|
-
AccentColor: allColors[color],
|
|
2355
|
-
background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
|
|
2356
|
-
background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2357
|
-
background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
|
|
2358
|
-
ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
|
|
2359
|
-
CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2360
|
-
icon: allColors[color],
|
|
2361
|
-
iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2362
|
-
stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
|
|
2363
|
-
stripText: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2364
|
-
inputBorderColor: allColors?.blue2,
|
|
2365
|
-
tertiaryBlue2: allColors?.tertiaryblue2,
|
|
2366
|
-
white: allColors?.white,
|
|
2367
|
-
black: allColors?.black,
|
|
2368
|
-
lightblack: allColors?.lightblack,
|
|
2369
|
-
gray: allColors?.gray,
|
|
2370
|
-
bannerColor: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.bannerRed,
|
|
2371
|
-
bannerCtaColor: gradient ? allColors?.lightblack : allColors?.white
|
|
2372
|
-
};
|
|
2373
|
-
const typography = {
|
|
2374
|
-
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
2375
|
-
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
2376
|
-
fontWeight
|
|
2377
|
-
};
|
|
2378
|
-
// const shape = { borderRadius };
|
|
2379
|
-
const spacing = {
|
|
2380
|
-
padding: isMobile ? mobilePadding : padding,
|
|
2381
|
-
margin: isMobile ? mobileMargin : margin
|
|
2382
|
-
};
|
|
2383
|
-
return {
|
|
2384
|
-
...getTheme(theme),
|
|
2385
|
-
typography,
|
|
2386
|
-
spacing,
|
|
2387
|
-
colors
|
|
2388
|
-
};
|
|
2389
|
-
};
|
|
2390
|
-
|
|
2391
2232
|
function PageRenderer$1({
|
|
2392
2233
|
pageData: {
|
|
2393
2234
|
metadata: {
|
|
@@ -2444,7 +2285,7 @@ function PageRenderer$1({
|
|
|
2444
2285
|
countryCode,
|
|
2445
2286
|
currencySymbol
|
|
2446
2287
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
2447
|
-
const theme = React.useMemo(() =>
|
|
2288
|
+
const theme = React.useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2448
2289
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
2449
2290
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
2450
2291
|
theme: theme
|
|
@@ -2482,7 +2323,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2482
2323
|
padding: ({
|
|
2483
2324
|
isMobile
|
|
2484
2325
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
2485
|
-
|
|
2326
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
2486
2327
|
'&, & *, & *:before, & *:after': {
|
|
2487
2328
|
fontFamily: theme?.typography?.fontFamily,
|
|
2488
2329
|
boxSizing: 'border-box'
|
|
@@ -2540,14 +2381,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2540
2381
|
marginBottom: '8px',
|
|
2541
2382
|
fontSize: theme.typography.fontSize.subHead,
|
|
2542
2383
|
letterSpacing: '3px',
|
|
2543
|
-
color: theme?.
|
|
2384
|
+
color: theme?.palette?.font?.default,
|
|
2544
2385
|
wordBreak: 'break-word',
|
|
2545
2386
|
maxWidth: '100%'
|
|
2546
2387
|
},
|
|
2547
2388
|
heading: {
|
|
2548
2389
|
margin: '0',
|
|
2549
2390
|
fontSize: theme.typography.fontSize.h1,
|
|
2550
|
-
color: theme?.
|
|
2391
|
+
color: theme?.palette?.font?.default,
|
|
2551
2392
|
wordBreak: ({
|
|
2552
2393
|
wordBreakValue
|
|
2553
2394
|
}) => wordBreakValue || 'break-word',
|
|
@@ -2556,7 +2397,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2556
2397
|
},
|
|
2557
2398
|
description: {
|
|
2558
2399
|
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2559
|
-
color: theme?.
|
|
2400
|
+
color: theme?.palette?.font?.primary,
|
|
2560
2401
|
lineHeight: '24px',
|
|
2561
2402
|
wordBreak: 'break-word'
|
|
2562
2403
|
},
|
|
@@ -2673,7 +2514,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2673
2514
|
width: '26px',
|
|
2674
2515
|
background: ({
|
|
2675
2516
|
inverted
|
|
2676
|
-
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.
|
|
2517
|
+
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
|
|
2677
2518
|
},
|
|
2678
2519
|
'@media screen and (max-width: 767px)': {
|
|
2679
2520
|
sliderClass: {
|
|
@@ -2709,7 +2550,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2709
2550
|
height: sizeHandler,
|
|
2710
2551
|
border: ({
|
|
2711
2552
|
inverted
|
|
2712
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2553
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
|
|
2713
2554
|
borderRadius: '50%',
|
|
2714
2555
|
display: 'flex',
|
|
2715
2556
|
justifyContent: 'center',
|
|
@@ -2731,7 +2572,7 @@ function ArrowButton(props) {
|
|
|
2731
2572
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
2732
2573
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2733
2574
|
name: "Angle",
|
|
2734
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2575
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
|
|
2735
2576
|
inverted: true
|
|
2736
2577
|
}));
|
|
2737
2578
|
}
|
|
@@ -2941,6 +2782,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2941
2782
|
justifyContent: 'center',
|
|
2942
2783
|
flexDirection: 'column',
|
|
2943
2784
|
alignItems: 'center',
|
|
2785
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
2944
2786
|
'&, & *, & *:before, & *:after': {
|
|
2945
2787
|
fontFamily: theme?.typography?.fontFamily,
|
|
2946
2788
|
boxSizing: 'border-box'
|
|
@@ -2958,7 +2800,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2958
2800
|
subTitleHeading: {
|
|
2959
2801
|
marginBottom: '8px',
|
|
2960
2802
|
fontSize: theme.typography.fontSize.subHead,
|
|
2961
|
-
color: theme?.
|
|
2803
|
+
color: theme?.palette?.font?.default,
|
|
2962
2804
|
alignItems: 'center',
|
|
2963
2805
|
textAlign: 'center',
|
|
2964
2806
|
wordBreak: 'break-word',
|
|
@@ -2968,7 +2810,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2968
2810
|
heading: {
|
|
2969
2811
|
marginBottom: theme.spacing.margin.tiny,
|
|
2970
2812
|
fontSize: theme.typography.fontSize.h2,
|
|
2971
|
-
color: theme?.
|
|
2813
|
+
color: theme?.palette?.font?.default,
|
|
2972
2814
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2973
2815
|
textAlign: 'center',
|
|
2974
2816
|
wordBreak: 'break-word'
|
|
@@ -2985,7 +2827,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2985
2827
|
display: 'flex',
|
|
2986
2828
|
width: 'calc(100% - 200px)',
|
|
2987
2829
|
alignItems: 'center',
|
|
2988
|
-
background: theme?.
|
|
2830
|
+
background: theme?.palette?.background?.default,
|
|
2989
2831
|
boxShadow: theme?.shadows?.primary,
|
|
2990
2832
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2991
2833
|
overflow: 'hidden',
|
|
@@ -3009,13 +2851,33 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3009
2851
|
'& $contentText': {
|
|
3010
2852
|
marginLeft: '170px'
|
|
3011
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
|
|
3012
2875
|
}
|
|
3013
2876
|
},
|
|
3014
2877
|
contentNumber: {
|
|
3015
2878
|
position: 'absolute',
|
|
3016
2879
|
top: '0',
|
|
3017
2880
|
fontWeight: '700',
|
|
3018
|
-
background: theme?.colors?.background3,
|
|
3019
2881
|
fontSize: '72px',
|
|
3020
2882
|
letterSpacing: '-3px',
|
|
3021
2883
|
display: 'flex',
|
|
@@ -3023,7 +2885,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3023
2885
|
justifyContent: 'center',
|
|
3024
2886
|
padding: '48px',
|
|
3025
2887
|
height: '100%',
|
|
3026
|
-
color: theme?.
|
|
2888
|
+
color: theme?.palette?.font?.default,
|
|
3027
2889
|
wordBreak: 'break-word'
|
|
3028
2890
|
},
|
|
3029
2891
|
contentText: {
|
|
@@ -3035,14 +2897,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3035
2897
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3036
2898
|
lineHeight: '32px',
|
|
3037
2899
|
marginBottom: '8px',
|
|
3038
|
-
color: theme?.
|
|
2900
|
+
color: theme?.palette?.font?.default,
|
|
3039
2901
|
wordBreak: 'break-word'
|
|
3040
2902
|
},
|
|
3041
2903
|
contentPara: {
|
|
3042
2904
|
fontStyle: 'normal',
|
|
3043
2905
|
fontSize: '16px',
|
|
3044
2906
|
lineHeight: '26px',
|
|
3045
|
-
color: theme?.
|
|
2907
|
+
color: theme?.palette?.font?.primary,
|
|
3046
2908
|
wordBreak: 'break-word'
|
|
3047
2909
|
},
|
|
3048
2910
|
'@media screen and (max-width: 767px)': {
|
|
@@ -3455,7 +3317,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3455
3317
|
return {
|
|
3456
3318
|
section: {
|
|
3457
3319
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3458
|
-
background: theme?.colors?.background2,
|
|
3459
3320
|
'&, & *, & *:before, & *:after': {
|
|
3460
3321
|
fontFamily: theme?.typography?.fontFamily,
|
|
3461
3322
|
boxSizing: 'border-box'
|
|
@@ -3499,7 +3360,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3499
3360
|
}
|
|
3500
3361
|
},
|
|
3501
3362
|
imageBorder: {
|
|
3502
|
-
|
|
3363
|
+
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3503
3364
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3504
3365
|
position: 'absolute',
|
|
3505
3366
|
width: '100%',
|
|
@@ -3524,13 +3385,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3524
3385
|
marginBottom: '8px',
|
|
3525
3386
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3526
3387
|
letterSpacing: '3px',
|
|
3527
|
-
color: theme?.
|
|
3388
|
+
color: theme?.palette?.font?.default,
|
|
3528
3389
|
wordBreak: 'break-word'
|
|
3529
3390
|
},
|
|
3530
3391
|
heading: {
|
|
3531
3392
|
margin: '0',
|
|
3532
3393
|
fontSize: theme?.typography?.fontSize?.h1,
|
|
3533
|
-
color: theme?.
|
|
3394
|
+
color: theme?.palette?.font?.default,
|
|
3534
3395
|
wordBreak: ({
|
|
3535
3396
|
wordBreakValue
|
|
3536
3397
|
}) => wordBreakValue || 'break-word',
|
|
@@ -3540,7 +3401,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3540
3401
|
description: {
|
|
3541
3402
|
marginTop: theme.spacing.margin.tiny,
|
|
3542
3403
|
marginBottom: theme.spacing.margin.tiny,
|
|
3543
|
-
color: theme?.
|
|
3404
|
+
color: theme?.palette?.font?.primary,
|
|
3544
3405
|
lineHeight: '24px',
|
|
3545
3406
|
wordBreak: 'break-word'
|
|
3546
3407
|
},
|
|
@@ -3706,16 +3567,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3706
3567
|
containerWidth
|
|
3707
3568
|
} = {}) => containerWidth
|
|
3708
3569
|
},
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3570
|
+
partialBackground: {
|
|
3571
|
+
top: '0',
|
|
3572
|
+
left: '0',
|
|
3573
|
+
width: '100%',
|
|
3574
|
+
height: '50%',
|
|
3575
|
+
position: 'absolute',
|
|
3576
|
+
background: theme?.palette?.background?.primary
|
|
3577
|
+
},
|
|
3717
3578
|
sectionContainer: {
|
|
3718
|
-
backgroundColor: theme?.
|
|
3579
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
3719
3580
|
boxShadow: theme?.shadows?.secondary,
|
|
3720
3581
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3721
3582
|
padding: theme.spacing.padding.small,
|
|
@@ -3726,7 +3587,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3726
3587
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3727
3588
|
lineHeight: '71px',
|
|
3728
3589
|
letterSpacing: '-3px',
|
|
3729
|
-
color: theme?.
|
|
3590
|
+
color: theme?.palette?.font?.default,
|
|
3730
3591
|
marginBottom: theme.spacing.padding.tiny,
|
|
3731
3592
|
wordBreak: 'break-word'
|
|
3732
3593
|
},
|
|
@@ -3738,7 +3599,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3738
3599
|
title: {
|
|
3739
3600
|
fontSize: theme.typography.fontSize.h6,
|
|
3740
3601
|
lineHeight: '32px',
|
|
3741
|
-
color: theme?.
|
|
3602
|
+
color: theme?.palette?.font?.primary,
|
|
3742
3603
|
wordBreak: 'break-word',
|
|
3743
3604
|
flex: 1
|
|
3744
3605
|
},
|
|
@@ -3866,8 +3727,8 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3866
3727
|
inputField: {
|
|
3867
3728
|
width: '100%',
|
|
3868
3729
|
// maxWidth: '314px',
|
|
3869
|
-
|
|
3870
|
-
border: `1px solid ${theme?.
|
|
3730
|
+
background: theme?.palette?.background?.default,
|
|
3731
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
3871
3732
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3872
3733
|
padding: '14px 12px',
|
|
3873
3734
|
display: 'flex',
|
|
@@ -3881,7 +3742,7 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3881
3742
|
fontWeight: '400',
|
|
3882
3743
|
fontSize: '16px',
|
|
3883
3744
|
lineHeight: '20px',
|
|
3884
|
-
color: theme?.
|
|
3745
|
+
color: theme?.palette?.font?.primary,
|
|
3885
3746
|
fontFamily: theme?.typography?.fontFamily
|
|
3886
3747
|
},
|
|
3887
3748
|
'&:focus': {
|
|
@@ -4081,6 +3942,7 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
4081
3942
|
|
|
4082
3943
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
4083
3944
|
testimonialContainer: {
|
|
3945
|
+
background: theme?.palette?.background?.primary,
|
|
4084
3946
|
overflow: 'hidden',
|
|
4085
3947
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4086
3948
|
'&, & *, & *:before, & *:after': {
|
|
@@ -4098,14 +3960,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4098
3960
|
} = {}) => containerWidth
|
|
4099
3961
|
},
|
|
4100
3962
|
testimonialText: {
|
|
4101
|
-
color: theme?.
|
|
3963
|
+
color: theme?.palette?.font?.default,
|
|
4102
3964
|
fontSize: theme.typography.fontSize.subHead,
|
|
4103
3965
|
wordBreak: 'break-word',
|
|
4104
3966
|
textTransform: 'uppercase'
|
|
4105
3967
|
},
|
|
4106
3968
|
testimonialHeader: {
|
|
4107
3969
|
fontSize: theme.typography.fontSize.h2,
|
|
4108
|
-
color: theme?.
|
|
3970
|
+
color: theme?.palette?.font?.default,
|
|
4109
3971
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4110
3972
|
marginBottom: theme.spacing.margin.tiny,
|
|
4111
3973
|
marginTop: '8px',
|
|
@@ -4122,7 +3984,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4122
3984
|
position: 'relative',
|
|
4123
3985
|
height: 'calc(100% - 12px)',
|
|
4124
3986
|
width: 'calc(100% - 24px)',
|
|
4125
|
-
background: theme?.
|
|
3987
|
+
background: theme?.palette?.background?.default,
|
|
4126
3988
|
boxShadow: theme?.shadows?.primary,
|
|
4127
3989
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
4128
3990
|
},
|
|
@@ -4149,7 +4011,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4149
4011
|
marginBottom: theme.spacing.margin.tiny,
|
|
4150
4012
|
fontSize: theme.typography.fontSize.body,
|
|
4151
4013
|
wordBreak: 'break-word',
|
|
4152
|
-
color: theme?.
|
|
4014
|
+
color: theme?.palette?.font?.primary,
|
|
4153
4015
|
lineHeight: '26px'
|
|
4154
4016
|
},
|
|
4155
4017
|
userContainer: {
|
|
@@ -4178,7 +4040,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4178
4040
|
marginRight: '16px'
|
|
4179
4041
|
},
|
|
4180
4042
|
userName: {
|
|
4181
|
-
color: theme?.
|
|
4043
|
+
color: theme?.palette?.font?.default,
|
|
4182
4044
|
margin: '0',
|
|
4183
4045
|
fontSize: theme.typography.fontSize.h5,
|
|
4184
4046
|
// paddingTop: '16px',
|
|
@@ -4197,6 +4059,19 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4197
4059
|
testimonialContainer: {
|
|
4198
4060
|
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
4199
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
|
+
// },
|
|
4200
4075
|
testimonialText: {
|
|
4201
4076
|
textAlign: 'center'
|
|
4202
4077
|
},
|
|
@@ -4249,7 +4124,7 @@ function QuotesComponent() {
|
|
|
4249
4124
|
width: "28px",
|
|
4250
4125
|
height: "21px",
|
|
4251
4126
|
name: "Quote",
|
|
4252
|
-
color: theme?.
|
|
4127
|
+
color: theme?.palette?.primary?.main
|
|
4253
4128
|
}));
|
|
4254
4129
|
}
|
|
4255
4130
|
|
|
@@ -4779,7 +4654,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4779
4654
|
padding: ({
|
|
4780
4655
|
isMobile
|
|
4781
4656
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4782
|
-
backgroundColor: theme?.
|
|
4657
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
4783
4658
|
'&, & *, & *:before, & *:after': {
|
|
4784
4659
|
fontFamily: theme?.typography?.fontFamily,
|
|
4785
4660
|
boxSizing: 'border-box'
|
|
@@ -4802,7 +4677,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4802
4677
|
fontSize: theme.typography.fontSize.subHead,
|
|
4803
4678
|
textTransform: 'uppercase',
|
|
4804
4679
|
lineHeight: '20px',
|
|
4805
|
-
color: theme?.
|
|
4680
|
+
color: theme?.palette?.font?.default,
|
|
4806
4681
|
letterSpacing: '3px',
|
|
4807
4682
|
wordBreak: 'break-word'
|
|
4808
4683
|
},
|
|
@@ -4813,14 +4688,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4813
4688
|
letterSpacing: '-3px',
|
|
4814
4689
|
marginBottom: theme.spacing.margin.tiny,
|
|
4815
4690
|
marginTop: '8px',
|
|
4816
|
-
color: theme?.
|
|
4691
|
+
color: theme?.palette?.font?.default,
|
|
4817
4692
|
wordBreak: 'break-word'
|
|
4818
4693
|
},
|
|
4819
4694
|
sliderContainer: {
|
|
4820
4695
|
marginRight: `-${theme.spacing.padding.medium}px`
|
|
4821
4696
|
},
|
|
4822
4697
|
singleSlideContainer: {
|
|
4823
|
-
backgroundColor:
|
|
4698
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
4824
4699
|
// margin: '20px',
|
|
4825
4700
|
width: 'calc(100% - 24px)',
|
|
4826
4701
|
height: 'calc(100% - 40px)',
|
|
@@ -4857,14 +4732,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4857
4732
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4858
4733
|
lineHeight: '32px',
|
|
4859
4734
|
marginBottom: '8px',
|
|
4860
|
-
color: theme?.
|
|
4735
|
+
color: theme?.palette?.font?.default,
|
|
4861
4736
|
wordBreak: 'break-word'
|
|
4862
4737
|
},
|
|
4863
4738
|
videoDetailsSubHeading: {
|
|
4864
4739
|
fontSize: theme.typography.fontSize.body,
|
|
4865
4740
|
lineHeight: '24px',
|
|
4866
4741
|
wordBreak: 'break-word',
|
|
4867
|
-
color: theme?.
|
|
4742
|
+
color: theme?.palette?.font?.primary
|
|
4868
4743
|
},
|
|
4869
4744
|
'@media (max-width: 767px)': {
|
|
4870
4745
|
videoHeading: {
|
|
@@ -5011,10 +4886,11 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
5011
4886
|
|
|
5012
4887
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
5013
4888
|
section: {
|
|
4889
|
+
position: 'relative',
|
|
5014
4890
|
padding: ({
|
|
5015
4891
|
isMobile
|
|
5016
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`,
|
|
5017
|
-
|
|
4893
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
5018
4894
|
'&, & *, & *:before, & *:after': {
|
|
5019
4895
|
fontFamily: theme?.typography?.fontFamily,
|
|
5020
4896
|
boxSizing: 'border-box'
|
|
@@ -5033,13 +4909,21 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5033
4909
|
containerWidth
|
|
5034
4910
|
} = {}) => containerWidth
|
|
5035
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
|
+
},
|
|
5036
4920
|
content: {
|
|
5037
4921
|
position: 'relative'
|
|
5038
4922
|
},
|
|
5039
4923
|
subTitleHeading: {
|
|
5040
4924
|
width: '100%',
|
|
5041
4925
|
fontSize: theme.typography.fontSize.subHead,
|
|
5042
|
-
color: theme?.
|
|
4926
|
+
color: theme?.palette?.font?.default,
|
|
5043
4927
|
textTransform: 'uppercase',
|
|
5044
4928
|
textAlign: 'left',
|
|
5045
4929
|
lineHeight: '20px',
|
|
@@ -5051,7 +4935,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5051
4935
|
fontSize: theme.typography.fontSize.h2,
|
|
5052
4936
|
width: '100%',
|
|
5053
4937
|
lineHeight: '70px',
|
|
5054
|
-
color: theme?.
|
|
4938
|
+
color: theme?.palette?.font?.default,
|
|
5055
4939
|
textAlign: 'left',
|
|
5056
4940
|
wordBreak: 'break-word'
|
|
5057
4941
|
},
|
|
@@ -5061,7 +4945,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5061
4945
|
// },
|
|
5062
4946
|
|
|
5063
4947
|
card: {
|
|
5064
|
-
background: theme?.
|
|
4948
|
+
background: theme?.palette?.background?.default,
|
|
5065
4949
|
boxShadow: theme?.shadows?.primary,
|
|
5066
4950
|
borderRadius: theme.shape.borderRadius.large,
|
|
5067
4951
|
margin: ({
|
|
@@ -5082,7 +4966,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5082
4966
|
textAlign: 'center',
|
|
5083
4967
|
fontSize: theme.typography.fontSize.h6,
|
|
5084
4968
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5085
|
-
color: theme?.
|
|
4969
|
+
color: theme?.palette?.font?.default,
|
|
5086
4970
|
margin: `16px 0px`,
|
|
5087
4971
|
wordBreak: 'break-word'
|
|
5088
4972
|
},
|
|
@@ -5094,7 +4978,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5094
4978
|
alignItems: 'center',
|
|
5095
4979
|
justifyContent: 'center',
|
|
5096
4980
|
borderRadius: '50%',
|
|
5097
|
-
background: theme?.
|
|
4981
|
+
background: theme?.palette?.background?.primary
|
|
5098
4982
|
},
|
|
5099
4983
|
buttonContainerClass: {
|
|
5100
4984
|
marginRight: theme.spacing.margin.regular,
|
|
@@ -5108,7 +4992,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5108
4992
|
textAlign: 'center',
|
|
5109
4993
|
fontSize: theme.typography.fontSize.body,
|
|
5110
4994
|
lineHeight: '22px',
|
|
5111
|
-
color: theme?.
|
|
4995
|
+
color: theme?.palette?.font?.primary,
|
|
5112
4996
|
margin: '0',
|
|
5113
4997
|
wordBreak: 'break-word'
|
|
5114
4998
|
},
|
|
@@ -5194,7 +5078,7 @@ function Info({
|
|
|
5194
5078
|
className: classes.imageContainer
|
|
5195
5079
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
5196
5080
|
name: dt.icon.metadata.value,
|
|
5197
|
-
color: theme
|
|
5081
|
+
color: theme.palette.primary.main,
|
|
5198
5082
|
width: isMobile ? '30px' : '40px',
|
|
5199
5083
|
height: isMobile ? '30px' : '40px'
|
|
5200
5084
|
})), /*#__PURE__*/React__default["default"].createElement("h3", {
|
|
@@ -5251,7 +5135,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5251
5135
|
padding: ({
|
|
5252
5136
|
isMobile
|
|
5253
5137
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5254
|
-
backgroundColor: theme?.
|
|
5138
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
5255
5139
|
'&, & *, & *:before, & *:after': {
|
|
5256
5140
|
fontFamily: theme?.typography?.fontFamily,
|
|
5257
5141
|
boxSizing: 'border-box'
|
|
@@ -5268,7 +5152,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5268
5152
|
subHeading: {
|
|
5269
5153
|
fontSize: theme.typography.fontSize.subHead,
|
|
5270
5154
|
marginBottom: '8px',
|
|
5271
|
-
color: theme?.
|
|
5155
|
+
color: theme?.palette?.font?.default,
|
|
5272
5156
|
wordBreak: 'break-word',
|
|
5273
5157
|
textTransform: 'uppercase',
|
|
5274
5158
|
letterSpacing: '3px'
|
|
@@ -5278,7 +5162,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5278
5162
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5279
5163
|
lineHeight: 'normal',
|
|
5280
5164
|
margin: '0',
|
|
5281
|
-
color: theme?.
|
|
5165
|
+
color: theme?.palette?.font?.default,
|
|
5282
5166
|
wordBreak: 'break-word',
|
|
5283
5167
|
marginBottom: theme.spacing.margin.tiny
|
|
5284
5168
|
},
|
|
@@ -5289,7 +5173,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5289
5173
|
padding: '32px 0px'
|
|
5290
5174
|
},
|
|
5291
5175
|
textPara: {
|
|
5292
|
-
color: theme?.
|
|
5176
|
+
color: theme?.palette?.font?.primary,
|
|
5293
5177
|
wordBreak: 'break-word',
|
|
5294
5178
|
fontSize: theme.typography.fontSize.body,
|
|
5295
5179
|
lineHeight: '24px'
|
|
@@ -5596,7 +5480,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5596
5480
|
padding: ({
|
|
5597
5481
|
isMobile
|
|
5598
5482
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5599
|
-
backgroundColor: theme?.
|
|
5483
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
5600
5484
|
'&, & *, & *:before, & *:after': {
|
|
5601
5485
|
fontFamily: theme?.typography?.fontFamily,
|
|
5602
5486
|
boxSizing: 'border-box'
|
|
@@ -5611,7 +5495,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5611
5495
|
} = {}) => containerWidth
|
|
5612
5496
|
},
|
|
5613
5497
|
sectionSubheading: {
|
|
5614
|
-
color: theme?.
|
|
5498
|
+
color: theme?.palette?.font.default,
|
|
5615
5499
|
fontSize: theme.typography.fontSize.subHead,
|
|
5616
5500
|
marginBottom: '8px',
|
|
5617
5501
|
wordBreak: 'break-word'
|
|
@@ -5620,16 +5504,15 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5620
5504
|
fontSize: theme.typography.fontSize.h2,
|
|
5621
5505
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5622
5506
|
wordBreak: 'break-word',
|
|
5623
|
-
marginBottom: `${theme.spacing.margin.tiny}px
|
|
5624
|
-
color: theme?.colors?.font3
|
|
5507
|
+
marginBottom: `${theme.spacing.margin.tiny}px`
|
|
5625
5508
|
},
|
|
5626
5509
|
container: {
|
|
5627
5510
|
boxShadow: theme?.shadows?.secondary,
|
|
5628
5511
|
borderRadius: '8px',
|
|
5629
|
-
backgroundColor: theme?.
|
|
5512
|
+
backgroundColor: theme?.palette?.background?.default
|
|
5630
5513
|
},
|
|
5631
5514
|
basicCardContainer: {
|
|
5632
|
-
borderBottom:
|
|
5515
|
+
borderBottom: theme?.borders?.secondary,
|
|
5633
5516
|
padding: `${theme.spacing.padding.tiny}px`
|
|
5634
5517
|
},
|
|
5635
5518
|
innerContainer: {
|
|
@@ -5648,14 +5531,14 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5648
5531
|
alignItems: 'center'
|
|
5649
5532
|
},
|
|
5650
5533
|
title: {
|
|
5651
|
-
color: theme?.
|
|
5534
|
+
color: theme?.palette?.font.default,
|
|
5652
5535
|
fontSize: theme.typography.fontSize.h5,
|
|
5653
5536
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5654
5537
|
margin: '0',
|
|
5655
5538
|
wordBreak: 'break-word'
|
|
5656
5539
|
},
|
|
5657
5540
|
content: {
|
|
5658
|
-
color: theme?.
|
|
5541
|
+
color: theme?.palette?.font.primary,
|
|
5659
5542
|
fontSize: theme.typography.fontSize.body,
|
|
5660
5543
|
lineHeight: '24px',
|
|
5661
5544
|
maxHeight: ({
|
|
@@ -5775,10 +5658,11 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5775
5658
|
|
|
5776
5659
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5777
5660
|
section: {
|
|
5778
|
-
background: theme.colors.background1,
|
|
5779
5661
|
padding: ({
|
|
5780
5662
|
isMobile
|
|
5781
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
|
+
|
|
5782
5666
|
'&, & *, & *:before, & *:after': {
|
|
5783
5667
|
fontFamily: theme?.typography?.fontFamily,
|
|
5784
5668
|
boxSizing: 'border-box'
|
|
@@ -5786,7 +5670,14 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5786
5670
|
'& h2,& h3,& p': {
|
|
5787
5671
|
marginTop: '0'
|
|
5788
5672
|
}
|
|
5673
|
+
// '& h2,& h3': {
|
|
5674
|
+
// fontWeight: '500',
|
|
5675
|
+
// '& b,& strong': {
|
|
5676
|
+
// fontWeight: '700'
|
|
5677
|
+
// }
|
|
5678
|
+
// }
|
|
5789
5679
|
},
|
|
5680
|
+
|
|
5790
5681
|
sectionContainer: {
|
|
5791
5682
|
margin: '0 auto',
|
|
5792
5683
|
maxWidth: ({
|
|
@@ -5794,7 +5685,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5794
5685
|
} = {}) => containerWidth
|
|
5795
5686
|
},
|
|
5796
5687
|
subheading: {
|
|
5797
|
-
color: theme?.
|
|
5688
|
+
color: theme?.palette?.font.default,
|
|
5798
5689
|
fontSize: theme.typography.fontSize.subHead,
|
|
5799
5690
|
lineHeight: '20px',
|
|
5800
5691
|
letterSpacing: '3px',
|
|
@@ -5808,8 +5699,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5808
5699
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5809
5700
|
letterSpacing: '-3px',
|
|
5810
5701
|
marginBottom: theme.spacing.margin.tiny,
|
|
5811
|
-
wordBreak: 'break-word'
|
|
5812
|
-
color: theme?.colors?.font1
|
|
5702
|
+
wordBreak: 'break-word'
|
|
5813
5703
|
},
|
|
5814
5704
|
sliderContainer: {
|
|
5815
5705
|
margin: '0 -10px'
|
|
@@ -6079,7 +5969,7 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6079
5969
|
display: 'flex',
|
|
6080
5970
|
justifyContent: 'flex-start',
|
|
6081
5971
|
alignItems: 'center',
|
|
6082
|
-
fontSize: theme.typography.fontSize.
|
|
5972
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6083
5973
|
color: theme?.palette?.font?.primary,
|
|
6084
5974
|
'& img': {
|
|
6085
5975
|
marginRight: '5px'
|
|
@@ -6112,8 +6002,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6112
6002
|
},
|
|
6113
6003
|
courseCardBuyBtn: {
|
|
6114
6004
|
cursor: 'pointer',
|
|
6115
|
-
background: theme?.
|
|
6116
|
-
color: theme?.
|
|
6005
|
+
background: theme?.palette?.primary?.main,
|
|
6006
|
+
color: theme?.palette?.font?.invertedDefault,
|
|
6117
6007
|
padding: '8px 16px',
|
|
6118
6008
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6119
6009
|
cursor: 'pointer',
|
|
@@ -6486,10 +6376,11 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
6486
6376
|
const useTeamStyles = createUseStyles(theme => {
|
|
6487
6377
|
return {
|
|
6488
6378
|
teamSuperContainer: {
|
|
6489
|
-
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6490
6379
|
padding: ({
|
|
6491
6380
|
isMobile
|
|
6492
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
|
+
|
|
6493
6384
|
'&, & *, & *:before, & *:after': {
|
|
6494
6385
|
fontFamily: theme?.typography?.fontFamily,
|
|
6495
6386
|
boxSizing: 'border-box'
|
|
@@ -6510,17 +6401,25 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6510
6401
|
lineHeight: '20px',
|
|
6511
6402
|
letterSpacing: '3px',
|
|
6512
6403
|
marginBottom: '8px',
|
|
6513
|
-
color: theme?.
|
|
6404
|
+
color: theme?.palette?.font?.default,
|
|
6514
6405
|
// wordBreak: 'break-word',
|
|
6515
6406
|
position: 'relative'
|
|
6516
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
|
+
},
|
|
6517
6416
|
teamTitle: {
|
|
6518
6417
|
fontSize: theme.typography.fontSize.h2,
|
|
6519
6418
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6520
6419
|
lineHeight: '70px',
|
|
6521
6420
|
letterSpacing: '-3px',
|
|
6522
6421
|
wordBreak: 'break-word',
|
|
6523
|
-
color: theme?.
|
|
6422
|
+
color: theme?.palette?.font?.default,
|
|
6524
6423
|
position: 'relative'
|
|
6525
6424
|
},
|
|
6526
6425
|
sliderContainer: {
|
|
@@ -6612,10 +6511,12 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6612
6511
|
teamDetailsHeading: {
|
|
6613
6512
|
fontSize: '16px',
|
|
6614
6513
|
lineHeight: '24px',
|
|
6615
|
-
margin: '0'
|
|
6514
|
+
margin: '0',
|
|
6515
|
+
color: theme?.palette?.font?.body
|
|
6616
6516
|
},
|
|
6617
6517
|
teamDetailsSubHeading: {
|
|
6618
|
-
marginTop: '0px'
|
|
6518
|
+
marginTop: '0px',
|
|
6519
|
+
color: theme?.palette?.font?.primary
|
|
6619
6520
|
}
|
|
6620
6521
|
}
|
|
6621
6522
|
};
|
|
@@ -6726,7 +6627,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6726
6627
|
justifyContent: 'center',
|
|
6727
6628
|
flexDirection: 'column',
|
|
6728
6629
|
alignItems: 'center',
|
|
6729
|
-
|
|
6630
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6730
6631
|
padding: ({
|
|
6731
6632
|
isMobile
|
|
6732
6633
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
@@ -6748,16 +6649,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6748
6649
|
containerWidth
|
|
6749
6650
|
} = {}) => containerWidth
|
|
6750
6651
|
},
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6652
|
+
partialBackground: {
|
|
6653
|
+
top: '0',
|
|
6654
|
+
left: '0',
|
|
6655
|
+
width: '100%',
|
|
6656
|
+
height: '50%',
|
|
6657
|
+
position: 'absolute',
|
|
6658
|
+
background: theme?.palette?.background?.primary
|
|
6659
|
+
},
|
|
6759
6660
|
sectionContainer: {
|
|
6760
|
-
backgroundColor: theme?.
|
|
6661
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6761
6662
|
boxShadow: theme?.shadows?.secondary,
|
|
6762
6663
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6763
6664
|
padding: '48px',
|
|
@@ -6766,7 +6667,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6766
6667
|
title: {
|
|
6767
6668
|
margin: '0',
|
|
6768
6669
|
fontSize: theme.typography.fontSize.h2,
|
|
6769
|
-
color: theme?.
|
|
6670
|
+
color: theme?.palette?.font?.default,
|
|
6770
6671
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6771
6672
|
lineHeight: '71px',
|
|
6772
6673
|
letterSpacing: '-3px',
|
|
@@ -6789,7 +6690,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6789
6690
|
subtitle: {
|
|
6790
6691
|
// margin: '0 0 40px 0',
|
|
6791
6692
|
fontSize: theme.typography.fontSize.h5,
|
|
6792
|
-
color: theme?.
|
|
6693
|
+
color: theme?.palette?.font?.default,
|
|
6793
6694
|
lineHeight: '32px',
|
|
6794
6695
|
wordBreak: 'break-word',
|
|
6795
6696
|
marginBottom: '32px'
|
|
@@ -6812,7 +6713,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6812
6713
|
},
|
|
6813
6714
|
addressText: {
|
|
6814
6715
|
fontSize: theme.typography.fontSize.h6,
|
|
6815
|
-
color: theme?.
|
|
6716
|
+
color: theme?.palette?.font?.default,
|
|
6816
6717
|
lineHeight: '24px',
|
|
6817
6718
|
fontSize: '16px'
|
|
6818
6719
|
},
|
|
@@ -7149,7 +7050,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7149
7050
|
padding: ({
|
|
7150
7051
|
isMobile
|
|
7151
7052
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
7152
|
-
|
|
7053
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
7153
7054
|
'&, & *, & *:before, & *:after': {
|
|
7154
7055
|
fontFamily: theme?.typography?.fontFamily,
|
|
7155
7056
|
boxSizing: 'border-box'
|
|
@@ -7169,8 +7070,16 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7169
7070
|
containerWidth
|
|
7170
7071
|
} = {}) => containerWidth
|
|
7171
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
|
+
},
|
|
7172
7081
|
sectionContainer: {
|
|
7173
|
-
backgroundColor: theme?.
|
|
7082
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
7174
7083
|
boxShadow: theme?.shadows?.secondary,
|
|
7175
7084
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7176
7085
|
padding: '48px',
|
|
@@ -7179,7 +7088,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7179
7088
|
title: {
|
|
7180
7089
|
margin: '0',
|
|
7181
7090
|
fontSize: theme.typography.fontSize.h2,
|
|
7182
|
-
color: theme?.
|
|
7091
|
+
color: theme?.palette?.font?.default,
|
|
7183
7092
|
lineHeight: '71px',
|
|
7184
7093
|
letterSpacing: '-3px',
|
|
7185
7094
|
textAlign: 'left',
|
|
@@ -7204,7 +7113,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7204
7113
|
subtitle: {
|
|
7205
7114
|
// margin: '0 0 auto 0',
|
|
7206
7115
|
fontSize: theme.typography.fontSize.h6,
|
|
7207
|
-
color: theme?.
|
|
7116
|
+
color: theme?.palette?.font?.default,
|
|
7208
7117
|
// lineHeight: '32px',
|
|
7209
7118
|
// margin: '16px 0',
|
|
7210
7119
|
textAlign: 'center',
|
|
@@ -7235,8 +7144,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7235
7144
|
inputField: {
|
|
7236
7145
|
width: '100%',
|
|
7237
7146
|
// maxWidth: '314px',
|
|
7238
|
-
|
|
7239
|
-
border: `1px solid ${theme?.
|
|
7147
|
+
background: theme?.palette?.background?.default,
|
|
7148
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
7240
7149
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7241
7150
|
// padding: '14px 12px',
|
|
7242
7151
|
display: 'flex',
|
|
@@ -7249,7 +7158,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7249
7158
|
fontWeight: '400',
|
|
7250
7159
|
fontSize: theme.typography.fontSize.subHead,
|
|
7251
7160
|
lineHeight: '20px',
|
|
7252
|
-
color: theme?.
|
|
7161
|
+
color: theme?.palette?.font?.primary,
|
|
7253
7162
|
fontFamily: theme?.typography?.fontFamily
|
|
7254
7163
|
},
|
|
7255
7164
|
'&:focus': {
|
|
@@ -7562,7 +7471,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7562
7471
|
webinarSuperContainer: {
|
|
7563
7472
|
display: 'flex',
|
|
7564
7473
|
justifyContent: 'center',
|
|
7565
|
-
background: theme.colors.background1,
|
|
7566
7474
|
padding: ({
|
|
7567
7475
|
isMobile
|
|
7568
7476
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7585,6 +7493,30 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7585
7493
|
maxWidth: '1440px',
|
|
7586
7494
|
fontFamily: theme?.typography?.fontFamily
|
|
7587
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
|
+
|
|
7588
7520
|
webinarCarousel: {
|
|
7589
7521
|
display: 'flex',
|
|
7590
7522
|
justifyContent: 'flex-start',
|
|
@@ -7613,9 +7545,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7613
7545
|
},
|
|
7614
7546
|
offerText: {
|
|
7615
7547
|
textAlign: 'center',
|
|
7616
|
-
color: theme
|
|
7617
|
-
marginBottom: '5%
|
|
7618
|
-
fontWeight: '700'
|
|
7548
|
+
color: theme.palette.font.primary,
|
|
7549
|
+
marginBottom: '5%'
|
|
7619
7550
|
},
|
|
7620
7551
|
offerPrice: {
|
|
7621
7552
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -7661,7 +7592,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7661
7592
|
margin: '0',
|
|
7662
7593
|
letterSpacing: '-1px',
|
|
7663
7594
|
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7664
|
-
color: theme
|
|
7595
|
+
color: theme.palette.font.default
|
|
7665
7596
|
},
|
|
7666
7597
|
courseViewContainer: {
|
|
7667
7598
|
width: '645px',
|
|
@@ -7675,9 +7606,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7675
7606
|
},
|
|
7676
7607
|
bannerContainer: {
|
|
7677
7608
|
width: '100%',
|
|
7678
|
-
background:
|
|
7679
|
-
color:
|
|
7680
|
-
fontWeight: '600',
|
|
7609
|
+
background: '#EB5757',
|
|
7610
|
+
color: '#fff',
|
|
7681
7611
|
textAlign: 'center',
|
|
7682
7612
|
padding: '10px 10px 23px 40px',
|
|
7683
7613
|
wordWrap: 'break-word',
|
|
@@ -7696,26 +7626,24 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7696
7626
|
display: 'flex',
|
|
7697
7627
|
alignItems: 'center',
|
|
7698
7628
|
marginRight: '20px',
|
|
7699
|
-
color: theme?.colors?.font1,
|
|
7700
7629
|
'& div': {
|
|
7701
|
-
fontSize: theme.typography.fontSize.
|
|
7630
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7702
7631
|
marginLeft: '10px'
|
|
7703
7632
|
}
|
|
7704
7633
|
},
|
|
7705
7634
|
courseDetailContent: {
|
|
7706
|
-
fontSize: theme.typography.fontSize.
|
|
7707
|
-
lineHeight: '21px',
|
|
7635
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7708
7636
|
wordBreak: 'break-word',
|
|
7709
|
-
color: theme
|
|
7637
|
+
color: theme.palette.font.primary,
|
|
7710
7638
|
whiteSpace: 'pre-wrap',
|
|
7711
7639
|
width: '80%'
|
|
7712
7640
|
},
|
|
7713
7641
|
courseDetailViewFullDetails: {
|
|
7714
7642
|
cursor: 'pointer',
|
|
7715
|
-
fontSize: theme.typography.fontSize.
|
|
7643
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7716
7644
|
lineHeight: '24px',
|
|
7717
|
-
color: theme?.colors?.font1,
|
|
7718
7645
|
marginTop: '-20px',
|
|
7646
|
+
color: '#00ADE7',
|
|
7719
7647
|
wordBreak: 'break-word'
|
|
7720
7648
|
},
|
|
7721
7649
|
courseDetailTime: {
|
|
@@ -7730,7 +7658,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7730
7658
|
display: 'flex',
|
|
7731
7659
|
width: '36px',
|
|
7732
7660
|
height: '36px',
|
|
7733
|
-
backgroundColor:
|
|
7661
|
+
backgroundColor: 'rgb(240, 244, 248)',
|
|
7734
7662
|
justifyContent: 'center',
|
|
7735
7663
|
alignItems: 'center',
|
|
7736
7664
|
borderRadius: '6px'
|
|
@@ -7922,15 +7850,14 @@ const SingleVideoSlide$1 = props => {
|
|
|
7922
7850
|
className: classes.iconBackground
|
|
7923
7851
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
7924
7852
|
name: 'Calendar',
|
|
7925
|
-
|
|
7926
|
-
color: theme?.colors?.background2
|
|
7853
|
+
color: theme.palette.primary.main
|
|
7927
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", {
|
|
7928
7855
|
className: classes.courseDetailTag
|
|
7929
7856
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
7930
7857
|
className: classes.iconBackground
|
|
7931
7858
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
7932
|
-
color: theme
|
|
7933
|
-
width: "
|
|
7859
|
+
color: theme.palette.primary.main,
|
|
7860
|
+
width: "20px",
|
|
7934
7861
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7935
7862
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7936
7863
|
ref: data?.videoTextContent?.refSetter,
|
|
@@ -8037,15 +7964,13 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
8037
7964
|
});
|
|
8038
7965
|
|
|
8039
7966
|
const useCoursePromotionPage = createUseStyles(theme => {
|
|
8040
|
-
console.log(theme, 'themere');
|
|
8041
7967
|
return {
|
|
8042
7968
|
courseSuperContainer: {
|
|
8043
7969
|
display: 'flex',
|
|
8044
7970
|
justifyContent: 'center',
|
|
8045
|
-
background: theme?.colors?.background1,
|
|
8046
7971
|
padding: ({
|
|
8047
7972
|
isMobile
|
|
8048
|
-
} = {}) => 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`,
|
|
8049
7974
|
'&, & *, & *:before, & *:after': {
|
|
8050
7975
|
fontFamily: theme?.typography?.fontFamily,
|
|
8051
7976
|
boxSizing: 'border-box'
|
|
@@ -8116,8 +8041,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8116
8041
|
|
|
8117
8042
|
offerText: {
|
|
8118
8043
|
textAlign: 'center',
|
|
8119
|
-
color: theme.palette.font.primary
|
|
8120
|
-
fontWeight: '700'
|
|
8044
|
+
color: theme.palette.font.primary
|
|
8121
8045
|
},
|
|
8122
8046
|
offerPrice: {
|
|
8123
8047
|
fontSize: theme.typography.fontSize.h4,
|
|
@@ -8164,7 +8088,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8164
8088
|
margin: '0',
|
|
8165
8089
|
letterSpacing: '-1px',
|
|
8166
8090
|
wordBreak: 'break-word',
|
|
8167
|
-
color: theme
|
|
8091
|
+
color: theme.palette.font.default
|
|
8168
8092
|
},
|
|
8169
8093
|
courseViewContainer: {
|
|
8170
8094
|
width: '445px',
|
|
@@ -8179,14 +8103,13 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8179
8103
|
|
|
8180
8104
|
bannerContainer: {
|
|
8181
8105
|
width: '100%',
|
|
8182
|
-
background:
|
|
8183
|
-
color:
|
|
8184
|
-
fontWeight: '600',
|
|
8106
|
+
background: '#EB5757',
|
|
8107
|
+
color: '#fff',
|
|
8185
8108
|
textAlign: 'center',
|
|
8186
8109
|
padding: '10px 10px 23px 40px',
|
|
8187
8110
|
wordWrap: 'break-word',
|
|
8188
8111
|
position: 'relative',
|
|
8189
|
-
fontSize: '
|
|
8112
|
+
fontSize: '14px',
|
|
8190
8113
|
transform: 'rotate(180deg)',
|
|
8191
8114
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8192
8115
|
// marginBottom: '16px'
|
|
@@ -8202,8 +8125,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8202
8125
|
},
|
|
8203
8126
|
courseEmblem: {
|
|
8204
8127
|
background: '#F0F4F8',
|
|
8205
|
-
fontSize:
|
|
8206
|
-
borderRadius: '
|
|
8128
|
+
fontSize: '18px',
|
|
8129
|
+
borderRadius: '2.00337px',
|
|
8207
8130
|
padding: '8px',
|
|
8208
8131
|
display: 'flex',
|
|
8209
8132
|
alignItems: 'center',
|
|
@@ -8219,29 +8142,27 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8219
8142
|
display: 'flex',
|
|
8220
8143
|
alignItems: 'center',
|
|
8221
8144
|
marginRight: '20px',
|
|
8222
|
-
color: theme?.colors?.font1,
|
|
8223
8145
|
'& div': {
|
|
8224
8146
|
fontSize: theme.typography.fontSize.body,
|
|
8225
|
-
fontWeight: theme.typography.fontWeight.
|
|
8147
|
+
fontWeight: theme.typography.fontWeight.medium,
|
|
8226
8148
|
marginLeft: '10px'
|
|
8227
8149
|
}
|
|
8228
8150
|
},
|
|
8229
8151
|
courseDetailContent: {
|
|
8230
|
-
marginTop: '
|
|
8152
|
+
// marginTop: '16px',
|
|
8231
8153
|
fontSize: theme.typography.fontSize.body,
|
|
8232
|
-
lineHeight: '
|
|
8154
|
+
lineHeight: '24px',
|
|
8233
8155
|
wordBreak: 'break-word',
|
|
8234
|
-
color: theme
|
|
8156
|
+
color: theme.palette.font.primary,
|
|
8235
8157
|
whiteSpace: 'pre-wrap',
|
|
8236
8158
|
margin: '10px 0 20px'
|
|
8237
8159
|
},
|
|
8238
8160
|
courseDetailViewFullDetails: {
|
|
8239
8161
|
cursor: 'pointer',
|
|
8240
|
-
fontSize: theme.typography.fontSize.
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
color: theme.colors?.font1,
|
|
8162
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8163
|
+
lineHeight: '24px',
|
|
8164
|
+
marginTop: '-24px',
|
|
8165
|
+
color: '#00ADE7',
|
|
8245
8166
|
wordBreak: 'break-word'
|
|
8246
8167
|
},
|
|
8247
8168
|
courseDetailTime: {
|
|
@@ -8252,7 +8173,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8252
8173
|
display: 'flex',
|
|
8253
8174
|
width: '36px',
|
|
8254
8175
|
height: '36px',
|
|
8255
|
-
backgroundColor:
|
|
8176
|
+
backgroundColor: 'rgb(240, 244, 248)',
|
|
8256
8177
|
justifyContent: 'center',
|
|
8257
8178
|
alignItems: 'center',
|
|
8258
8179
|
borderRadius: '6px'
|
|
@@ -8312,8 +8233,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8312
8233
|
// fontSize: '20px',
|
|
8313
8234
|
fontWeight: '600',
|
|
8314
8235
|
lineHeight: 'normal',
|
|
8315
|
-
letterSpacing: '0px'
|
|
8316
|
-
color: theme?.colors?.font1
|
|
8236
|
+
letterSpacing: '0px'
|
|
8317
8237
|
},
|
|
8318
8238
|
videoTestimonialTitle: {
|
|
8319
8239
|
// fontSize: '24px',
|
|
@@ -8482,32 +8402,28 @@ const SingleVideoSlide = props => {
|
|
|
8482
8402
|
className: classes.iconBackground
|
|
8483
8403
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8484
8404
|
name: 'Clock',
|
|
8485
|
-
|
|
8486
|
-
color: theme?.colors?.background2
|
|
8405
|
+
color: theme.palette.primary.main
|
|
8487
8406
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8488
8407
|
className: classes.courseDetailTag
|
|
8489
8408
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8490
8409
|
className: classes.iconBackground
|
|
8491
8410
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8492
8411
|
name: 'Book Saved',
|
|
8493
|
-
color: theme
|
|
8494
|
-
width: "24px"
|
|
8412
|
+
color: theme.palette.primary.main
|
|
8495
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", {
|
|
8496
8414
|
className: classes.courseDetailTag
|
|
8497
8415
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8498
8416
|
className: classes.iconBackground
|
|
8499
8417
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8500
8418
|
name: 'Certificate',
|
|
8501
|
-
color: theme
|
|
8502
|
-
width: "24px"
|
|
8419
|
+
color: theme.palette.primary.main
|
|
8503
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", {
|
|
8504
8421
|
className: classes.courseDetailTag
|
|
8505
8422
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8506
8423
|
className: classes.iconBackground
|
|
8507
8424
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8508
8425
|
name: 'Certificate',
|
|
8509
|
-
color: theme
|
|
8510
|
-
width: "24px"
|
|
8426
|
+
color: theme.palette.primary.main
|
|
8511
8427
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8512
8428
|
ref: data?.videoTextContent?.refSetter,
|
|
8513
8429
|
className: classes.courseDetailContent,
|
|
@@ -8634,7 +8550,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8634
8550
|
padding: ({
|
|
8635
8551
|
isMobile
|
|
8636
8552
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8637
|
-
background:
|
|
8553
|
+
background: '#F4F9FF',
|
|
8638
8554
|
'&, & *, & *:before, & *:after': {
|
|
8639
8555
|
fontFamily: theme?.typography?.fontFamily,
|
|
8640
8556
|
boxSizing: 'border-box'
|
|
@@ -8651,7 +8567,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8651
8567
|
marginTop: '8px',
|
|
8652
8568
|
fontSize: theme.typography.fontSize.h6,
|
|
8653
8569
|
lineHeight: '23px',
|
|
8654
|
-
color:
|
|
8570
|
+
color: 'rgba(51, 51, 51, 0.5)',
|
|
8655
8571
|
marginBottom: theme.spacing.margin.tiny
|
|
8656
8572
|
},
|
|
8657
8573
|
formPageFormContainer: {
|
|
@@ -8670,8 +8586,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8670
8586
|
},
|
|
8671
8587
|
|
|
8672
8588
|
inputFieldLabel: {
|
|
8673
|
-
color:
|
|
8674
|
-
fontSize: theme.typography.fontSize.
|
|
8589
|
+
color: '#333',
|
|
8590
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8675
8591
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8676
8592
|
display: 'block',
|
|
8677
8593
|
marginTop: '20px',
|
|
@@ -8682,8 +8598,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8682
8598
|
borderRadius: '8px',
|
|
8683
8599
|
border: '1px solid #D8E0F0',
|
|
8684
8600
|
padding: '12px 16px',
|
|
8685
|
-
color:
|
|
8686
|
-
fontSize: theme.typography.fontSize.
|
|
8601
|
+
color: '#7D8592',
|
|
8602
|
+
fontSize: theme.typography.fontSize.subHead
|
|
8687
8603
|
},
|
|
8688
8604
|
checkboxField: {
|
|
8689
8605
|
// padding: '20px',
|
|
@@ -8691,21 +8607,21 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8691
8607
|
// borderRadius: '8px'
|
|
8692
8608
|
},
|
|
8693
8609
|
checkBoxFieldLabel: {
|
|
8694
|
-
color:
|
|
8695
|
-
fontSize: theme.typography.fontSize.
|
|
8610
|
+
color: '#333',
|
|
8611
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8696
8612
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8697
8613
|
marginTop: '20px',
|
|
8698
8614
|
marginBottom: '12px'
|
|
8699
8615
|
},
|
|
8700
8616
|
inputFieldRequired: {
|
|
8701
|
-
color:
|
|
8617
|
+
color: '#F41828'
|
|
8702
8618
|
},
|
|
8703
8619
|
checkboxFieldControl: {
|
|
8704
8620
|
padding: '8px 0',
|
|
8705
8621
|
'& label': {
|
|
8706
|
-
fontSize: theme.typography.fontSize.
|
|
8622
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8707
8623
|
marginLeft: '10px',
|
|
8708
|
-
color:
|
|
8624
|
+
color: '#7D8592'
|
|
8709
8625
|
}
|
|
8710
8626
|
},
|
|
8711
8627
|
submitBtnContainer: {
|
|
@@ -8718,7 +8634,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8718
8634
|
'& button': {
|
|
8719
8635
|
// height: '44px',
|
|
8720
8636
|
padding: '16px 24px',
|
|
8721
|
-
|
|
8637
|
+
color: '#FFFFFF',
|
|
8638
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8722
8639
|
cursor: 'pointer',
|
|
8723
8640
|
borderRadius: '8px'
|
|
8724
8641
|
}
|
|
@@ -9726,7 +9643,7 @@ function PageRenderer({
|
|
|
9726
9643
|
countryCode,
|
|
9727
9644
|
currencySymbol
|
|
9728
9645
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
9729
|
-
const theme = React.useMemo(() =>
|
|
9646
|
+
const theme = React.useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
9730
9647
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
9731
9648
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
9732
9649
|
theme: theme
|