diy-template-components 2.0.10 → 2.0.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 +382 -449
- package/build/index.es.js.map +1 -1
- package/build/index.js +382 -449
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -73,7 +73,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
73
73
|
height: '60px'
|
|
74
74
|
},
|
|
75
75
|
headerContainer: {
|
|
76
|
-
background: theme?.
|
|
76
|
+
background: theme?.palette?.background?.default,
|
|
77
77
|
boxShadow: theme?.shadows?.primary,
|
|
78
78
|
padding: '20px 40px',
|
|
79
79
|
display: 'flex',
|
|
@@ -131,11 +131,11 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
131
131
|
lineHeight: '20px',
|
|
132
132
|
display: 'flex',
|
|
133
133
|
alignItems: 'center',
|
|
134
|
-
color: theme
|
|
134
|
+
color: theme.palette.primary.main,
|
|
135
135
|
padding: '20px',
|
|
136
136
|
'&:hover': {
|
|
137
137
|
cursor: 'pointer',
|
|
138
|
-
background: theme
|
|
138
|
+
background: theme.palette.primary.lightest,
|
|
139
139
|
borderRadius: theme?.shape?.borderRadius?.small
|
|
140
140
|
}
|
|
141
141
|
},
|
|
@@ -144,7 +144,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
144
144
|
alignItems: 'center',
|
|
145
145
|
justifyContent: 'space-between',
|
|
146
146
|
padding: '18px 24px 18px 16px',
|
|
147
|
-
background: theme?.
|
|
147
|
+
background: theme?.palette?.background?.default,
|
|
148
148
|
boxShadow: theme?.shadows?.primary,
|
|
149
149
|
position: ({
|
|
150
150
|
isFixed
|
|
@@ -220,7 +220,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
220
220
|
height: '100%'
|
|
221
221
|
},
|
|
222
222
|
menuContainer: {
|
|
223
|
-
background: theme?.
|
|
223
|
+
background: theme?.palette?.background?.default,
|
|
224
224
|
boxShadow: theme.shadows.secondary,
|
|
225
225
|
width: '75%',
|
|
226
226
|
height: '100%',
|
|
@@ -337,9 +337,9 @@ const alpha = {
|
|
|
337
337
|
eightyPercent: 0.8
|
|
338
338
|
};
|
|
339
339
|
const getRGBFromHex = hex => {
|
|
340
|
-
const r = parseInt(hex
|
|
341
|
-
const g = parseInt(hex
|
|
342
|
-
const b = parseInt(hex
|
|
340
|
+
const r = parseInt(hex.slice(1, 3), 16);
|
|
341
|
+
const g = parseInt(hex.slice(3, 5), 16);
|
|
342
|
+
const b = parseInt(hex.slice(5, 7), 16);
|
|
343
343
|
return [r, g, b];
|
|
344
344
|
};
|
|
345
345
|
const hexToRgbA = (hex, alpha = null) => {
|
|
@@ -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',
|
|
@@ -1042,25 +1044,6 @@ var appStore = "data:image/svg+xml,%3Csvg%20width%3D%22116%22%20height%3D%2240%2
|
|
|
1042
1044
|
|
|
1043
1045
|
var downloadApkImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQwAAABLCAYAAACFprnzAAAMPmlDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnltSIbTQpYTepEgNICWEFkB6EWyEJEAoMQaCih1ZVHAtqFjAhq6KKHZA7IidRbH3xYKKsi4W7MqbFNB1X/nefN/c+e8/Z/5z5tyZe+8AoH6cKxbnoRoA5IsKJfFhQYzRqWkM0lNAAcaADJyBJ5dXIGbFxkYBWAbbv5d31wEia684yrT+2f9fiyZfUMADAImFOINfwMuHeD8AeA1PLCkEgCjjLSYXimUYVqAtgQFCPF+GsxS4RoYzFHi33CYxng1xGwBkVS5XkgWA2iXIM4p4WVBDrQ9iFxFfKAJAnQGxf37+RD7E6RDbQhsxxDJ9ZsYPOll/08wY0uRys4awYi7yQg4WFojzuFP/z3T875KfJx30YQ2rarYkPF42Z5i3m7kTI2VYFeJeUUZ0DMRaEH8Q8uX2E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2dBh8AMXeQ1B+C3UU1D9XMVsgW6BNC9iJ4jBlyhQORb4DfF9huN87Yfp3fSgn02bb5TbQ+zaAT9C3V2ocBq6DSdCqr3jlC9H7C5Ftmm060tsAvgCfIKhzGCqwidD8pM+9ndwGRnEbwAek8H8VNOJO7rX6rgAAAABJRU5ErkJggg==";
|
|
1044
1046
|
|
|
1045
|
-
function getShortenedSubstring(name, length, allowDots = true) {
|
|
1046
|
-
if (name) {
|
|
1047
|
-
return name.length < length ? name : `${name.substr(0, length)}${allowDots && '...'}`;
|
|
1048
|
-
}
|
|
1049
|
-
return '';
|
|
1050
|
-
}
|
|
1051
|
-
function getAppDownloadLink(androidLink = '', iosLink = '') {
|
|
1052
|
-
if (typeof window !== 'undefined') {
|
|
1053
|
-
const userAgent = window.navigator?.userAgent;
|
|
1054
|
-
if (/Android/.test(userAgent) && androidLink) {
|
|
1055
|
-
return androidLink;
|
|
1056
|
-
}
|
|
1057
|
-
if (/iPad|iPhone|iPod/.test(userAgent) && iosLink) {
|
|
1058
|
-
return iosLink;
|
|
1059
|
-
}
|
|
1060
|
-
return androidLink || iosLink;
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
1047
|
function OptionList({
|
|
1065
1048
|
optionsData,
|
|
1066
1049
|
headerData,
|
|
@@ -1068,7 +1051,8 @@ function OptionList({
|
|
|
1068
1051
|
moreContent,
|
|
1069
1052
|
navDataCount,
|
|
1070
1053
|
isTutorWebsite,
|
|
1071
|
-
isLandingPages
|
|
1054
|
+
isLandingPages,
|
|
1055
|
+
onDownloadAppTriggered
|
|
1072
1056
|
}) {
|
|
1073
1057
|
const {
|
|
1074
1058
|
isPreview,
|
|
@@ -1087,7 +1071,6 @@ function OptionList({
|
|
|
1087
1071
|
};
|
|
1088
1072
|
const tabData = tabsDataModifier();
|
|
1089
1073
|
const classes = useSectionStyles$a();
|
|
1090
|
-
console.log(headerData, 'sakshat header options');
|
|
1091
1074
|
const isAndroidDelisted = headerData?.isAndroidDelisted;
|
|
1092
1075
|
const apkURL = headerData?.apkURL;
|
|
1093
1076
|
const downloadApkURL = isAndroidDelisted && apkURL ? apkURL : null;
|
|
@@ -1097,7 +1080,12 @@ function OptionList({
|
|
|
1097
1080
|
download: true,
|
|
1098
1081
|
href: headerData?.apkURL,
|
|
1099
1082
|
target: "_blank",
|
|
1100
|
-
className: classes.socialBtnItems
|
|
1083
|
+
className: classes.socialBtnItems,
|
|
1084
|
+
onClick: () => {
|
|
1085
|
+
if (typeof onDownloadAppTriggered == "function") {
|
|
1086
|
+
onDownloadAppTriggered(isAndroidDelisted, headerData?.apkURL);
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1101
1089
|
}, /*#__PURE__*/React__default["default"].createElement("img", {
|
|
1102
1090
|
style: {
|
|
1103
1091
|
width: '139px',
|
|
@@ -1133,9 +1121,6 @@ function OptionList({
|
|
|
1133
1121
|
alt: "appStore"
|
|
1134
1122
|
})) : null);
|
|
1135
1123
|
};
|
|
1136
|
-
const iosLink = isTutorWebsite ? headerData?.iosDownloadLink : headerData?.iosUrl;
|
|
1137
|
-
const androidLink = isTutorWebsite ? headerData?.androidDownloadLink : headerData?.appLink;
|
|
1138
|
-
console.log(iosLink, 'sakshat ios link');
|
|
1139
1124
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1140
1125
|
className: classes.listSection
|
|
1141
1126
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1159,9 +1144,9 @@ function OptionList({
|
|
|
1159
1144
|
list: moreContent,
|
|
1160
1145
|
label: 'More',
|
|
1161
1146
|
icon: arrowDown
|
|
1162
|
-
}) : null, isTutorWebsite && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 ||
|
|
1147
|
+
}) : null, isTutorWebsite && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 || headerData?.appLink?.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1163
1148
|
data: {
|
|
1164
|
-
link:
|
|
1149
|
+
link: downloadApkURL ? downloadApkURL : headerData?.appLink,
|
|
1165
1150
|
isLink: 1,
|
|
1166
1151
|
value: downloadAppText,
|
|
1167
1152
|
isExternal: 1
|
|
@@ -1285,7 +1270,8 @@ function DesktopHeader({
|
|
|
1285
1270
|
header,
|
|
1286
1271
|
navData,
|
|
1287
1272
|
isTutorWebsite,
|
|
1288
|
-
isLandingPage = false
|
|
1273
|
+
isLandingPage = false,
|
|
1274
|
+
onDownloadAppTriggered
|
|
1289
1275
|
}) {
|
|
1290
1276
|
const {
|
|
1291
1277
|
isFixed = true
|
|
@@ -1319,7 +1305,6 @@ function DesktopHeader({
|
|
|
1319
1305
|
}
|
|
1320
1306
|
return moreContent;
|
|
1321
1307
|
};
|
|
1322
|
-
console.log(header, 'sakshat header desktop');
|
|
1323
1308
|
return /*#__PURE__*/React__default["default"].createElement("nav", {
|
|
1324
1309
|
className: classes.section
|
|
1325
1310
|
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -1352,7 +1337,8 @@ function DesktopHeader({
|
|
|
1352
1337
|
isMobile: false,
|
|
1353
1338
|
isLandingPages: isLandingPage,
|
|
1354
1339
|
moreContent: moreContentFn(),
|
|
1355
|
-
isTutorWebsite: isTutorWebsite
|
|
1340
|
+
isTutorWebsite: isTutorWebsite,
|
|
1341
|
+
onDownloadAppTriggered: onDownloadAppTriggered
|
|
1356
1342
|
}))) : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1357
1343
|
style: {
|
|
1358
1344
|
paddingTop: '30px'
|
|
@@ -1360,11 +1346,16 @@ function DesktopHeader({
|
|
|
1360
1346
|
}));
|
|
1361
1347
|
}
|
|
1362
1348
|
|
|
1349
|
+
var phoneIos = "data:image/svg+xml,%3Csvg%20width%3D%2244%22%20height%3D%2244%22%20viewBox%3D%220%200%2044%2044%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20filter%3D%22url%28%23filter0_d_3094_7439%29%22%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%2240%22%20height%3D%2240%22%20rx%3D%224%22%20fill%3D%22%23F0F4F8%22%2F%3E%3Cpath%20d%3D%22M30.4539%2016.8288C30.3555%2016.8912%2028.0131%2018.1908%2028.0131%2021.0732C28.1235%2024.3612%2030.9687%2025.5132%2031.0179%2025.5132C30.9699%2025.5744%2030.5883%2027.084%2029.4603%2028.6656C28.5651%2030.0276%2027.5715%2031.4016%2026.0631%2031.4016C24.6279%2031.4016%2024.1119%2030.4932%2022.4559%2030.4932C20.6775%2030.4932%2020.1747%2031.4016%2018.8127%2031.4016C17.3043%2031.4016%2016.2375%2029.9544%2015.2931%2028.6044C14.0667%2026.838%2013.0251%2024.066%2012.9879%2021.4044C12.9627%2019.9944%2013.2327%2018.6084%2013.9191%2017.43C14.8887%2015.786%2016.6179%2014.67%2018.5067%2014.634C19.9539%2014.5848%2021.2427%2015.6264%2022.1247%2015.6264C22.9719%2015.6264%2024.5535%2014.6328%2026.3439%2014.6328C27.1167%2014.634%2029.1783%2014.8668%2030.4539%2016.8288ZM22.0023%2014.352C21.7455%2013.0632%2022.4559%2011.7756%2023.1183%2010.9536C23.9655%209.95998%2025.3023%209.28558%2026.4543%209.28558C26.5287%2010.5744%2026.0619%2011.8368%2025.2279%2012.7572C24.4803%2013.7508%2023.1927%2014.4984%2022.0023%2014.352Z%22%20fill%3D%22%234D4D4D%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3Cfilter%20id%3D%22filter0_d_3094_7439%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2244%22%20height%3D%2244%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%20result%3D%22hardAlpha%22%2F%3E%3CfeOffset%20dy%3D%221%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%221%22%2F%3E%3CfeComposite%20in2%3D%22hardAlpha%22%20operator%3D%22out%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200.16%200%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22effect1_dropShadow_3094_7439%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22effect1_dropShadow_3094_7439%22%20result%3D%22shape%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";
|
|
1350
|
+
|
|
1351
|
+
var phoneAndroid = "data:image/svg+xml,%3Csvg%20width%3D%2244%22%20height%3D%2244%22%20viewBox%3D%220%200%2044%2044%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20filter%3D%22url%28%23filter0_d_3094_7442%29%22%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%2240%22%20height%3D%2240%22%20rx%3D%224%22%20fill%3D%22%23F0F4F8%22%2F%3E%3Cpath%20d%3D%22M13.9713%2011.7196C13.7108%2012.0303%2013.579%2012.4279%2013.6028%2012.8316V30.3709C13.5804%2030.7744%2013.712%2031.1716%2013.9713%2031.4829L14.0316%2031.5428L23.9128%2021.7144V21.4814L14.0316%2011.6597L13.9713%2011.7196Z%22%20fill%3D%22url%28%23paint0_linear_3094_7442%29%22%2F%3E%3Cpath%20d%3D%22M27.2088%2024.9906L23.9128%2021.7144V21.4814L27.2088%2018.2119L27.2825%2018.2519L31.1881%2020.4559C32.3069%2021.0819%2032.3069%2022.114%2031.1881%2022.7466L27.2825%2024.9506L27.2088%2024.9906Z%22%20fill%3D%22url%28%23paint1_linear_3094_7442%29%22%2F%3E%3Cpath%20d%3D%22M27.2824%2024.9507L23.9328%2021.6213L13.9712%2031.4829C14.2008%2031.6706%2014.4867%2031.777%2014.7838%2031.7854C15.0809%2031.7939%2015.3725%2031.7039%2015.6125%2031.5296L27.2623%2024.9507%22%20fill%3D%22url%28%23paint2_linear_3094_7442%29%22%2F%3E%3Cpath%20d%3D%22M27.2824%2018.2519L15.6125%2011.6663C15.375%2011.4849%2015.0816%2011.391%2014.7822%2011.4007C14.4829%2011.4104%2014.1962%2011.5231%2013.9712%2011.7196L23.9127%2021.6012L27.2824%2018.2519Z%22%20fill%3D%22url%28%23paint3_linear_3094_7442%29%22%2F%3E%3Cpath%20opacity%3D%220.1%22%20d%3D%22M27.209%2024.8774L15.6128%2031.4163C15.3815%2031.5876%2015.1007%2031.6802%2014.8123%2031.6802C14.5238%2031.6802%2014.243%2031.5876%2014.0117%2031.4163L13.9514%2031.4762L14.0117%2031.5362C14.243%2031.7075%2014.5238%2031.8%2014.8123%2031.8C15.1007%2031.8%2015.3815%2031.7075%2015.6128%2031.5362L27.2626%2024.9573L27.209%2024.8774Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20opacity%3D%220.07%22%20d%3D%22M13.9713%2031.3764C13.7116%2031.0627%2013.5801%2030.6633%2013.6029%2030.2577V30.3709C13.5804%2030.7745%2013.712%2031.1716%2013.9713%2031.4829L14.0316%2031.423L13.9713%2031.3764Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20opacity%3D%220.07%22%20d%3D%22M31.188%2022.6267L27.2087%2024.8773L27.2824%2024.9506L31.188%2022.7199C31.4171%2022.6198%2031.6154%2022.461%2031.7625%2022.2597C31.9096%2022.0585%2032.0003%2021.8221%2032.0254%2021.5746C31.9797%2021.8034%2031.88%2022.0181%2031.7344%2022.201C31.5888%2022.3839%2031.4015%2022.5298%2031.188%2022.6267Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20opacity%3D%220.3%22%20d%3D%22M15.6123%2011.7861L31.1878%2020.5691C31.3992%2020.6635%2031.5852%2020.8062%2031.7307%2020.9856C31.8762%2021.1649%2031.9771%2021.3758%2032.0252%2021.6012C32.0015%2021.3533%2031.9113%2021.1162%2031.764%2020.9148C31.6167%2020.7133%2031.4177%2020.5548%2031.1878%2020.4559L15.6123%2011.6663C14.5136%2011.0403%2013.6025%2011.5597%2013.6025%2012.8315V12.9447C13.6025%2011.6796%2014.5136%2011.1535%2015.6123%2011.7861Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3Cfilter%20id%3D%22filter0_d_3094_7442%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2244%22%20height%3D%2244%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%20result%3D%22hardAlpha%22%2F%3E%3CfeOffset%20dy%3D%221%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%221%22%2F%3E%3CfeComposite%20in2%3D%22hardAlpha%22%20operator%3D%22out%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200.16%200%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22effect1_dropShadow_3094_7442%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22effect1_dropShadow_3094_7442%22%20result%3D%22shape%22%2F%3E%3C%2Ffilter%3E%3ClinearGradient%20id%3D%22paint0_linear_3094_7442%22%20x1%3D%2223.0419%22%20y1%3D%2212.6452%22%20x2%3D%229.73126%22%20y2%3D%2226.0365%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23008EFF%22%2F%3E%3Cstop%20offset%3D%220.01%22%20stop-color%3D%22%23008FFF%22%2F%3E%3Cstop%20offset%3D%220.26%22%20stop-color%3D%22%2300ACFF%22%2F%3E%3Cstop%20offset%3D%220.51%22%20stop-color%3D%22%2300C0FF%22%2F%3E%3Cstop%20offset%3D%220.76%22%20stop-color%3D%22%2300CDFF%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2300D1FF%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_3094_7442%22%20x1%3D%2231.3221%22%20y1%3D%2221.6012%22%20x2%3D%2212.0152%22%20y2%3D%2221.6012%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FFD800%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FF8A00%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint2_linear_3094_7442%22%20x1%3D%2225.4535%22%20y1%3D%2223.4192%22%20x2%3D%227.40854%22%20y2%3D%2241.5735%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FF3A44%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23B11162%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint3_linear_3094_7442%22%20x1%3D%2211.4657%22%20y1%3D%225.87984%22%20x2%3D%2219.5294%22%20y2%3D%2213.9857%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23328E71%22%2F%3E%3Cstop%20offset%3D%220.07%22%20stop-color%3D%22%232D9571%22%2F%3E%3Cstop%20offset%3D%220.48%22%20stop-color%3D%22%2315BD74%22%2F%3E%3Cstop%20offset%3D%220.8%22%20stop-color%3D%22%2306D575%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2300DE76%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";
|
|
1352
|
+
|
|
1363
1353
|
function MobileHeader({
|
|
1364
1354
|
header,
|
|
1365
1355
|
navData,
|
|
1366
1356
|
isTutorWebsite,
|
|
1367
|
-
isLandingPage = false
|
|
1357
|
+
isLandingPage = false,
|
|
1358
|
+
onDownloadAppTriggered
|
|
1368
1359
|
}) {
|
|
1369
1360
|
const {
|
|
1370
1361
|
isCustomWebsite,
|
|
@@ -1392,33 +1383,91 @@ function MobileHeader({
|
|
|
1392
1383
|
body?.removeAttribute('style');
|
|
1393
1384
|
}
|
|
1394
1385
|
}, [sideMenu]);
|
|
1386
|
+
let iosUrl = null;
|
|
1387
|
+
let androidUrl = null;
|
|
1395
1388
|
let downloadLink = null;
|
|
1396
1389
|
const downloadAppText = countryCode === 'KR' ? '앱다운로드' : 'Download App';
|
|
1397
|
-
const apkURL = header?.apkURL;
|
|
1398
|
-
const isAndroidDelisted = header?.isAndroidDelisted;
|
|
1399
|
-
const iosDownloadLink = header?.iosDownloadLink;
|
|
1400
|
-
const androidDownloadLink = header?.androidDownloadLink;
|
|
1401
|
-
console.log(header, 'sakshat header mobile');
|
|
1402
1390
|
if (isTutorWebsite) {
|
|
1403
|
-
|
|
1404
|
-
|
|
1391
|
+
console.log("potato");
|
|
1392
|
+
if (header?.iosUrl) {
|
|
1393
|
+
iosUrl = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1394
|
+
data: {
|
|
1395
|
+
link: header?.iosUrl,
|
|
1396
|
+
isLink: 1,
|
|
1397
|
+
value: /*#__PURE__*/React__default["default"].createElement("img", {
|
|
1398
|
+
src: phoneIos,
|
|
1399
|
+
alt: "iosUrl"
|
|
1400
|
+
}),
|
|
1401
|
+
isExternal: 1
|
|
1402
|
+
},
|
|
1403
|
+
type: '',
|
|
1404
|
+
size: 'small',
|
|
1405
|
+
target: 'blank',
|
|
1406
|
+
rel: null,
|
|
1407
|
+
style: {
|
|
1408
|
+
padding: 0,
|
|
1409
|
+
paddingRight: '8px'
|
|
1410
|
+
}
|
|
1411
|
+
});
|
|
1412
|
+
}
|
|
1413
|
+
if (header?.androidURL) {
|
|
1414
|
+
androidUrl = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1405
1415
|
data: {
|
|
1406
|
-
link:
|
|
1416
|
+
link: header?.androidURL,
|
|
1407
1417
|
isLink: 1,
|
|
1418
|
+
value: /*#__PURE__*/React__default["default"].createElement("img", {
|
|
1419
|
+
src: phoneAndroid,
|
|
1420
|
+
alt: "iosUrl"
|
|
1421
|
+
}),
|
|
1422
|
+
isExternal: 1
|
|
1423
|
+
},
|
|
1424
|
+
type: '',
|
|
1425
|
+
size: 'small',
|
|
1426
|
+
target: 'blank',
|
|
1427
|
+
rel: null,
|
|
1428
|
+
style: {
|
|
1429
|
+
padding: 0
|
|
1430
|
+
}
|
|
1431
|
+
});
|
|
1432
|
+
}
|
|
1433
|
+
if (header?.isAndroidDelisted && header?.apkURL) {
|
|
1434
|
+
downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1435
|
+
data: {
|
|
1408
1436
|
value: downloadAppText,
|
|
1409
1437
|
isExternal: 1
|
|
1410
1438
|
},
|
|
1411
1439
|
type: 'primary',
|
|
1412
1440
|
size: 'small',
|
|
1413
1441
|
target: 'blank',
|
|
1442
|
+
rel: null,
|
|
1443
|
+
onClick: () => {
|
|
1444
|
+
window.open(header?.iosUrl ? header?.iosUrl : header?.apkURL, "_blank");
|
|
1445
|
+
if (!header?.iosUrl && typeof onDownloadAppTriggered == "function") {
|
|
1446
|
+
onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
});
|
|
1450
|
+
} else if (iosUrl && androidUrl) {
|
|
1451
|
+
downloadLink = /*#__PURE__*/React__default["default"].createElement("div", null, iosUrl, androidUrl);
|
|
1452
|
+
} else if (header?.iosUrl) {
|
|
1453
|
+
downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1454
|
+
data: {
|
|
1455
|
+
link: header?.iosUrl,
|
|
1456
|
+
isLink: 1,
|
|
1457
|
+
value: header?.downloadAppButtonText || downloadAppText,
|
|
1458
|
+
isExternal: 1
|
|
1459
|
+
},
|
|
1460
|
+
type: 'primary',
|
|
1461
|
+
size: 'small',
|
|
1462
|
+
target: 'blank',
|
|
1414
1463
|
rel: null
|
|
1415
1464
|
});
|
|
1416
|
-
} else if (
|
|
1465
|
+
} else if (header?.androidURL) {
|
|
1417
1466
|
downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1418
1467
|
data: {
|
|
1419
|
-
link:
|
|
1468
|
+
link: header?.androidURL,
|
|
1420
1469
|
isLink: 1,
|
|
1421
|
-
value: downloadAppText,
|
|
1470
|
+
value: header?.downloadAppButtonText || downloadAppText,
|
|
1422
1471
|
isExternal: 1
|
|
1423
1472
|
},
|
|
1424
1473
|
type: 'primary',
|
|
@@ -1430,24 +1479,27 @@ function MobileHeader({
|
|
|
1430
1479
|
downloadLink = null;
|
|
1431
1480
|
}
|
|
1432
1481
|
} else {
|
|
1433
|
-
if (isAndroidDelisted && apkURL) {
|
|
1482
|
+
if (header?.isAndroidDelisted && header?.apkURL) {
|
|
1434
1483
|
downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1435
1484
|
data: {
|
|
1436
|
-
link: getAppDownloadLink(header?.apkURL, header?.iosUrl),
|
|
1437
|
-
isLink: 1,
|
|
1438
1485
|
value: downloadAppText,
|
|
1439
1486
|
isExternal: 1
|
|
1440
1487
|
},
|
|
1441
1488
|
type: 'primary',
|
|
1442
1489
|
size: 'small',
|
|
1443
1490
|
target: 'blank',
|
|
1444
|
-
rel: null
|
|
1491
|
+
rel: null,
|
|
1492
|
+
onClick: () => {
|
|
1493
|
+
window.open(header?.iosUrl ? header?.iosUrl : header?.apkURL, "_blank");
|
|
1494
|
+
if (!header?.iosUrl && typeof onDownloadAppTriggered == "function") {
|
|
1495
|
+
onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1445
1498
|
});
|
|
1446
|
-
} else if (header?.appLink
|
|
1447
|
-
console.log('inside custom website');
|
|
1499
|
+
} else if (header?.appLink) {
|
|
1448
1500
|
downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
1449
1501
|
data: {
|
|
1450
|
-
link:
|
|
1502
|
+
link: header?.appLink,
|
|
1451
1503
|
isLink: 1,
|
|
1452
1504
|
value: downloadAppText,
|
|
1453
1505
|
isExternal: 1
|
|
@@ -1519,7 +1571,8 @@ function MobileHeader({
|
|
|
1519
1571
|
|
|
1520
1572
|
function Header({
|
|
1521
1573
|
data,
|
|
1522
|
-
isLandingPage
|
|
1574
|
+
isLandingPage,
|
|
1575
|
+
extraProps
|
|
1523
1576
|
}) {
|
|
1524
1577
|
const {
|
|
1525
1578
|
isMobile,
|
|
@@ -1532,12 +1585,14 @@ function Header({
|
|
|
1532
1585
|
navData: filterHiddenNavs(),
|
|
1533
1586
|
header: data,
|
|
1534
1587
|
isTutorWebsite: isTutorWebsite,
|
|
1535
|
-
isLandingPage: isLandingPage
|
|
1588
|
+
isLandingPage: isLandingPage,
|
|
1589
|
+
onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
|
|
1536
1590
|
}) : /*#__PURE__*/React__default["default"].createElement(DesktopHeader, {
|
|
1537
1591
|
navData: filterHiddenNavs(),
|
|
1538
1592
|
header: data,
|
|
1539
1593
|
isTutorWebsite: isTutorWebsite,
|
|
1540
|
-
isLandingPage: isLandingPage
|
|
1594
|
+
isLandingPage: isLandingPage,
|
|
1595
|
+
onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
|
|
1541
1596
|
});
|
|
1542
1597
|
}
|
|
1543
1598
|
|
|
@@ -1576,7 +1631,6 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1576
1631
|
|
|
1577
1632
|
// '& img': { maxHeight: '55px' }
|
|
1578
1633
|
},
|
|
1579
|
-
|
|
1580
1634
|
upperContainerItem1Img: {
|
|
1581
1635
|
maxHeight: '55px',
|
|
1582
1636
|
paddingBottom: '84px',
|
|
@@ -2003,7 +2057,6 @@ const mobilePadding = {
|
|
|
2003
2057
|
// 24px
|
|
2004
2058
|
medium: baseFactor * 6 // 48px
|
|
2005
2059
|
};
|
|
2006
|
-
|
|
2007
2060
|
const padding = {
|
|
2008
2061
|
minute: baseFactor * 2,
|
|
2009
2062
|
// 16px
|
|
@@ -2063,13 +2116,17 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
|
2063
2116
|
const shape = {
|
|
2064
2117
|
borderRadius
|
|
2065
2118
|
};
|
|
2119
|
+
const spacing = {
|
|
2120
|
+
padding: isMobile ? mobilePadding : padding,
|
|
2121
|
+
margin: isMobile ? mobileMargin : margin
|
|
2122
|
+
};
|
|
2066
2123
|
return {
|
|
2067
2124
|
palette,
|
|
2068
2125
|
shape,
|
|
2069
2126
|
typography,
|
|
2070
2127
|
shadows: generateShadows(palette),
|
|
2071
|
-
borders: generateBorders(palette)
|
|
2072
|
-
|
|
2128
|
+
borders: generateBorders(palette),
|
|
2129
|
+
spacing
|
|
2073
2130
|
};
|
|
2074
2131
|
}
|
|
2075
2132
|
|
|
@@ -2191,178 +2248,6 @@ const defaultMetadata = {
|
|
|
2191
2248
|
layout: defaultLayout
|
|
2192
2249
|
};
|
|
2193
2250
|
|
|
2194
|
-
const GRADIENT = `linear-gradient`;
|
|
2195
|
-
const allColors = {
|
|
2196
|
-
white: '#FFFFFF',
|
|
2197
|
-
black: '#000000',
|
|
2198
|
-
lightblack: '#333333',
|
|
2199
|
-
gray: '#999999',
|
|
2200
|
-
bannerRed: '#EB5757',
|
|
2201
|
-
// Blue gradient
|
|
2202
|
-
|
|
2203
|
-
blue: '#1676F3',
|
|
2204
|
-
bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
|
|
2205
|
-
tertiaryblue: '#F4F9FF',
|
|
2206
|
-
// Orange gradient
|
|
2207
|
-
|
|
2208
|
-
orange: '#FF9000',
|
|
2209
|
-
orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
|
|
2210
|
-
tertiaryorange: '#FFF6EA',
|
|
2211
|
-
// Pink gradient
|
|
2212
|
-
|
|
2213
|
-
pink: '#F72585',
|
|
2214
|
-
pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
|
|
2215
|
-
tertiarypink: '#FEE9F3',
|
|
2216
|
-
// Violet gradient
|
|
2217
|
-
|
|
2218
|
-
violet: '#6026A8',
|
|
2219
|
-
violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
|
|
2220
|
-
tertiaryviolet: '#F5F2FA',
|
|
2221
|
-
// Teal gradient
|
|
2222
|
-
|
|
2223
|
-
teal: '#46A9A9',
|
|
2224
|
-
tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
|
|
2225
|
-
tertiaryteal: '#F4FAFA',
|
|
2226
|
-
//Red solid
|
|
2227
|
-
|
|
2228
|
-
red: '#F41828',
|
|
2229
|
-
tertiaryred: '#FFF2F3',
|
|
2230
|
-
// Green
|
|
2231
|
-
|
|
2232
|
-
green: '#8ECE19',
|
|
2233
|
-
tertiarygreen: '#F4FAFA',
|
|
2234
|
-
//Maroon solid
|
|
2235
|
-
|
|
2236
|
-
rust: '#9B2226',
|
|
2237
|
-
tertiaryrust: '#FFF0F0',
|
|
2238
|
-
//Purple solid
|
|
2239
|
-
|
|
2240
|
-
purple: '#6269C9',
|
|
2241
|
-
tertiarypurple: '#F4F6FF',
|
|
2242
|
-
//Golden gradient
|
|
2243
|
-
|
|
2244
|
-
golden: `#F2BA35`,
|
|
2245
|
-
goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
|
|
2246
|
-
//light green gradient
|
|
2247
|
-
|
|
2248
|
-
lightgreen: `#D6E359`,
|
|
2249
|
-
lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
|
|
2250
|
-
//light blue gradient
|
|
2251
|
-
|
|
2252
|
-
lightblue: `#A8EDF8`,
|
|
2253
|
-
lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
|
|
2254
|
-
skyblue: '#00ADE7',
|
|
2255
|
-
tertiaryskyblue: '#F2FCFF'
|
|
2256
|
-
};
|
|
2257
|
-
|
|
2258
|
-
const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
|
|
2259
|
-
let themeColor = theme.split('-');
|
|
2260
|
-
let color, gradient, darkMode;
|
|
2261
|
-
if (themeColor.length === 1) {
|
|
2262
|
-
color = themeColor[0] == 'default' ? 'skyblue' : themeColor[0];
|
|
2263
|
-
} else if (themeColor.length === 2) {
|
|
2264
|
-
color = themeColor[0];
|
|
2265
|
-
gradient = themeColor[1];
|
|
2266
|
-
} else {
|
|
2267
|
-
color = themeColor[0];
|
|
2268
|
-
gradient = themeColor[1];
|
|
2269
|
-
darkMode = themeColor[2];
|
|
2270
|
-
}
|
|
2271
|
-
console.log('color', allColors, gradient, darkMode);
|
|
2272
|
-
|
|
2273
|
-
// switch (color) {
|
|
2274
|
-
// case solidColors:
|
|
2275
|
-
// break;
|
|
2276
|
-
|
|
2277
|
-
// case gradientColors:
|
|
2278
|
-
// break;
|
|
2279
|
-
|
|
2280
|
-
// default:
|
|
2281
|
-
// break;
|
|
2282
|
-
// }
|
|
2283
|
-
|
|
2284
|
-
// type 1
|
|
2285
|
-
// const solidColors = {
|
|
2286
|
-
// font1: solidBaseColors?.black,
|
|
2287
|
-
// font2: solidBaseColors?.black,
|
|
2288
|
-
// font3: solidBaseColors?.black,
|
|
2289
|
-
// font4: solidBaseColors?.black,
|
|
2290
|
-
// AccentColor: solidBaseColors[theme],
|
|
2291
|
-
// background1: solidBaseColors?.white,
|
|
2292
|
-
// background2: solidBaseColors['tertiary' + theme],
|
|
2293
|
-
// background3: solidBaseColors['tertiary' + theme],
|
|
2294
|
-
// ctaColor: solidBaseColors[theme],
|
|
2295
|
-
// CtaTextColor: solidBaseColors?.white,
|
|
2296
|
-
// icon: solidBaseColors[theme],
|
|
2297
|
-
// iconBg: solidBaseColors['tertiary' + theme],
|
|
2298
|
-
// stripBg: solidBaseColors[theme],
|
|
2299
|
-
// stripText: solidBaseColors?.white,
|
|
2300
|
-
// inputBorderColor: solidBaseColors?.blue2,
|
|
2301
|
-
// tertiaryBlue2: solidBaseColors?.tertiaryblue2
|
|
2302
|
-
// };
|
|
2303
|
-
|
|
2304
|
-
//type 2
|
|
2305
|
-
// const gradientColors = {
|
|
2306
|
-
// font1: gradientBaseColors?.white,
|
|
2307
|
-
// font2: gradientBaseColors?.black,
|
|
2308
|
-
// font3: gradientBaseColors?.black,
|
|
2309
|
-
// font4: gradientBaseColors?.white,
|
|
2310
|
-
// AccentColor: gradientBaseColors[theme],
|
|
2311
|
-
// background1: gradientBaseColors[theme + 'gradient'],
|
|
2312
|
-
// background2: gradientBaseColors['tertiary' + theme],
|
|
2313
|
-
// background3: gradientBaseColors[theme + 'gradient'],
|
|
2314
|
-
// ctaColor: gradientBaseColors[theme + 'gradient'],
|
|
2315
|
-
// CtaTextColor: gradientBaseColors?.white,
|
|
2316
|
-
// icon: gradientBaseColors[theme],
|
|
2317
|
-
// iconBg: gradientBaseColors['tertiary' + theme],
|
|
2318
|
-
// stripBg: gradientBaseColors?.black,
|
|
2319
|
-
// stripText: gradientBaseColors?.white
|
|
2320
|
-
// };
|
|
2321
|
-
|
|
2322
|
-
const colors = {
|
|
2323
|
-
font1: gradient ? allColors?.white : allColors?.black,
|
|
2324
|
-
font2: darkMode ? allColors[color] : allColors?.black,
|
|
2325
|
-
font3: darkMode ? allColors?.white : allColors?.black,
|
|
2326
|
-
font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
|
|
2327
|
-
AccentColor: allColors[color],
|
|
2328
|
-
background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
|
|
2329
|
-
background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2330
|
-
background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
|
|
2331
|
-
ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
|
|
2332
|
-
CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2333
|
-
icon: allColors[color],
|
|
2334
|
-
iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2335
|
-
stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
|
|
2336
|
-
stripText: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2337
|
-
inputBorderColor: allColors?.blue2,
|
|
2338
|
-
tertiaryBlue2: allColors?.tertiaryblue2,
|
|
2339
|
-
white: allColors?.white,
|
|
2340
|
-
black: allColors?.black,
|
|
2341
|
-
lightblack: allColors?.lightblack,
|
|
2342
|
-
gray: allColors?.gray,
|
|
2343
|
-
bannerColor: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.bannerRed,
|
|
2344
|
-
bannerCtaColor: gradient ? allColors?.lightblack : allColors?.white,
|
|
2345
|
-
headerText: allColors[color],
|
|
2346
|
-
headerHover: allColors['tertiary' + color]
|
|
2347
|
-
};
|
|
2348
|
-
const typography = {
|
|
2349
|
-
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
2350
|
-
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
2351
|
-
fontWeight
|
|
2352
|
-
};
|
|
2353
|
-
// const shape = { borderRadius };
|
|
2354
|
-
const spacing = {
|
|
2355
|
-
padding: isMobile ? mobilePadding : padding,
|
|
2356
|
-
margin: isMobile ? mobileMargin : margin
|
|
2357
|
-
};
|
|
2358
|
-
return {
|
|
2359
|
-
...getTheme(theme),
|
|
2360
|
-
typography,
|
|
2361
|
-
spacing,
|
|
2362
|
-
colors
|
|
2363
|
-
};
|
|
2364
|
-
};
|
|
2365
|
-
|
|
2366
2251
|
function PageRenderer$1({
|
|
2367
2252
|
pageData: {
|
|
2368
2253
|
metadata: {
|
|
@@ -2419,7 +2304,7 @@ function PageRenderer$1({
|
|
|
2419
2304
|
countryCode,
|
|
2420
2305
|
currencySymbol
|
|
2421
2306
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
2422
|
-
const theme = React.useMemo(() =>
|
|
2307
|
+
const theme = React.useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2423
2308
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
2424
2309
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
2425
2310
|
theme: theme
|
|
@@ -2457,7 +2342,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2457
2342
|
padding: ({
|
|
2458
2343
|
isMobile
|
|
2459
2344
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
2460
|
-
|
|
2345
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
2461
2346
|
'&, & *, & *:before, & *:after': {
|
|
2462
2347
|
fontFamily: theme?.typography?.fontFamily,
|
|
2463
2348
|
boxSizing: 'border-box'
|
|
@@ -2469,7 +2354,6 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2469
2354
|
// }
|
|
2470
2355
|
// }
|
|
2471
2356
|
},
|
|
2472
|
-
|
|
2473
2357
|
sectionContainer: {
|
|
2474
2358
|
margin: '0 auto',
|
|
2475
2359
|
maxWidth: ({
|
|
@@ -2515,14 +2399,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2515
2399
|
marginBottom: '8px',
|
|
2516
2400
|
fontSize: theme.typography.fontSize.subHead,
|
|
2517
2401
|
letterSpacing: '3px',
|
|
2518
|
-
color: theme?.
|
|
2402
|
+
color: theme?.palette?.font?.default,
|
|
2519
2403
|
wordBreak: 'break-word',
|
|
2520
2404
|
maxWidth: '100%'
|
|
2521
2405
|
},
|
|
2522
2406
|
heading: {
|
|
2523
2407
|
margin: '0',
|
|
2524
2408
|
fontSize: theme.typography.fontSize.h1,
|
|
2525
|
-
color: theme?.
|
|
2409
|
+
color: theme?.palette?.font?.default,
|
|
2526
2410
|
wordBreak: ({
|
|
2527
2411
|
wordBreakValue
|
|
2528
2412
|
}) => wordBreakValue || 'break-word',
|
|
@@ -2531,7 +2415,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2531
2415
|
},
|
|
2532
2416
|
description: {
|
|
2533
2417
|
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2534
|
-
color: theme?.
|
|
2418
|
+
color: theme?.palette?.font?.primary,
|
|
2535
2419
|
lineHeight: '24px',
|
|
2536
2420
|
wordBreak: 'break-word'
|
|
2537
2421
|
},
|
|
@@ -2648,7 +2532,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2648
2532
|
width: '26px',
|
|
2649
2533
|
background: ({
|
|
2650
2534
|
inverted
|
|
2651
|
-
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.
|
|
2535
|
+
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
|
|
2652
2536
|
},
|
|
2653
2537
|
'@media screen and (max-width: 767px)': {
|
|
2654
2538
|
sliderClass: {
|
|
@@ -2684,7 +2568,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2684
2568
|
height: sizeHandler,
|
|
2685
2569
|
border: ({
|
|
2686
2570
|
inverted
|
|
2687
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2571
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
|
|
2688
2572
|
borderRadius: '50%',
|
|
2689
2573
|
display: 'flex',
|
|
2690
2574
|
justifyContent: 'center',
|
|
@@ -2706,7 +2590,7 @@ function ArrowButton(props) {
|
|
|
2706
2590
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
2707
2591
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2708
2592
|
name: "Angle",
|
|
2709
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2593
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
|
|
2710
2594
|
inverted: true
|
|
2711
2595
|
}));
|
|
2712
2596
|
}
|
|
@@ -2916,6 +2800,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2916
2800
|
justifyContent: 'center',
|
|
2917
2801
|
flexDirection: 'column',
|
|
2918
2802
|
alignItems: 'center',
|
|
2803
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
2919
2804
|
'&, & *, & *:before, & *:after': {
|
|
2920
2805
|
fontFamily: theme?.typography?.fontFamily,
|
|
2921
2806
|
boxSizing: 'border-box'
|
|
@@ -2933,7 +2818,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2933
2818
|
subTitleHeading: {
|
|
2934
2819
|
marginBottom: '8px',
|
|
2935
2820
|
fontSize: theme.typography.fontSize.subHead,
|
|
2936
|
-
color: theme?.
|
|
2821
|
+
color: theme?.palette?.font?.default,
|
|
2937
2822
|
alignItems: 'center',
|
|
2938
2823
|
textAlign: 'center',
|
|
2939
2824
|
wordBreak: 'break-word',
|
|
@@ -2943,7 +2828,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2943
2828
|
heading: {
|
|
2944
2829
|
marginBottom: theme.spacing.margin.tiny,
|
|
2945
2830
|
fontSize: theme.typography.fontSize.h2,
|
|
2946
|
-
color: theme?.
|
|
2831
|
+
color: theme?.palette?.font?.default,
|
|
2947
2832
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2948
2833
|
textAlign: 'center',
|
|
2949
2834
|
wordBreak: 'break-word'
|
|
@@ -2960,7 +2845,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2960
2845
|
display: 'flex',
|
|
2961
2846
|
width: 'calc(100% - 200px)',
|
|
2962
2847
|
alignItems: 'center',
|
|
2963
|
-
background: theme?.
|
|
2848
|
+
background: theme?.palette?.background?.default,
|
|
2964
2849
|
boxShadow: theme?.shadows?.primary,
|
|
2965
2850
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2966
2851
|
overflow: 'hidden',
|
|
@@ -2984,13 +2869,33 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2984
2869
|
'& $contentText': {
|
|
2985
2870
|
marginLeft: '170px'
|
|
2986
2871
|
}
|
|
2872
|
+
},
|
|
2873
|
+
'&:nth-child(7n+1) $contentNumber': {
|
|
2874
|
+
background: palettes.purple.primary.lightest
|
|
2875
|
+
},
|
|
2876
|
+
'&:nth-child(7n+2) $contentNumber': {
|
|
2877
|
+
background: palettes.orange.primary.lightest
|
|
2878
|
+
},
|
|
2879
|
+
'&:nth-child(7n+3) $contentNumber': {
|
|
2880
|
+
background: palettes.red.primary.lightest
|
|
2881
|
+
},
|
|
2882
|
+
'&:nth-child(7n+4) $contentNumber': {
|
|
2883
|
+
background: palettes.green.primary.lightest
|
|
2884
|
+
},
|
|
2885
|
+
'&:nth-child(7n+5) $contentNumber': {
|
|
2886
|
+
background: palettes.pink.primary.lightest
|
|
2887
|
+
},
|
|
2888
|
+
'&:nth-child(7n+6) $contentNumber': {
|
|
2889
|
+
background: palettes.blue.primary.lightest
|
|
2890
|
+
},
|
|
2891
|
+
'&:nth-child(7n) $contentNumber': {
|
|
2892
|
+
background: palettes.rust.primary.lightest
|
|
2987
2893
|
}
|
|
2988
2894
|
},
|
|
2989
2895
|
contentNumber: {
|
|
2990
2896
|
position: 'absolute',
|
|
2991
2897
|
top: '0',
|
|
2992
2898
|
fontWeight: '700',
|
|
2993
|
-
background: theme?.colors?.background3,
|
|
2994
2899
|
fontSize: '72px',
|
|
2995
2900
|
letterSpacing: '-3px',
|
|
2996
2901
|
display: 'flex',
|
|
@@ -2998,7 +2903,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2998
2903
|
justifyContent: 'center',
|
|
2999
2904
|
padding: '48px',
|
|
3000
2905
|
height: '100%',
|
|
3001
|
-
color: theme?.
|
|
2906
|
+
color: theme?.palette?.font?.default,
|
|
3002
2907
|
wordBreak: 'break-word'
|
|
3003
2908
|
},
|
|
3004
2909
|
contentText: {
|
|
@@ -3010,14 +2915,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3010
2915
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3011
2916
|
lineHeight: '32px',
|
|
3012
2917
|
marginBottom: '8px',
|
|
3013
|
-
color: theme?.
|
|
2918
|
+
color: theme?.palette?.font?.default,
|
|
3014
2919
|
wordBreak: 'break-word'
|
|
3015
2920
|
},
|
|
3016
2921
|
contentPara: {
|
|
3017
2922
|
fontStyle: 'normal',
|
|
3018
2923
|
fontSize: '16px',
|
|
3019
2924
|
lineHeight: '26px',
|
|
3020
|
-
color: theme?.
|
|
2925
|
+
color: theme?.palette?.font?.primary,
|
|
3021
2926
|
wordBreak: 'break-word'
|
|
3022
2927
|
},
|
|
3023
2928
|
'@media screen and (max-width: 767px)': {
|
|
@@ -3039,7 +2944,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3039
2944
|
// padding: '0'
|
|
3040
2945
|
}
|
|
3041
2946
|
},
|
|
3042
|
-
|
|
3043
2947
|
'&:nth-child(2n+1)': {
|
|
3044
2948
|
marginRight: '0',
|
|
3045
2949
|
'& $contentText': {
|
|
@@ -3049,7 +2953,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3049
2953
|
}
|
|
3050
2954
|
}
|
|
3051
2955
|
},
|
|
3052
|
-
|
|
3053
2956
|
contentNumber: {
|
|
3054
2957
|
width: '100%',
|
|
3055
2958
|
padding: '24px',
|
|
@@ -3430,7 +3333,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3430
3333
|
return {
|
|
3431
3334
|
section: {
|
|
3432
3335
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3433
|
-
background: theme?.colors?.background2,
|
|
3434
3336
|
'&, & *, & *:before, & *:after': {
|
|
3435
3337
|
fontFamily: theme?.typography?.fontFamily,
|
|
3436
3338
|
boxSizing: 'border-box'
|
|
@@ -3442,7 +3344,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3442
3344
|
// }
|
|
3443
3345
|
// }
|
|
3444
3346
|
},
|
|
3445
|
-
|
|
3446
3347
|
sectionContainer: {
|
|
3447
3348
|
margin: '0 auto',
|
|
3448
3349
|
maxWidth: ({
|
|
@@ -3456,7 +3357,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3456
3357
|
|
|
3457
3358
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3458
3359
|
},
|
|
3459
|
-
|
|
3460
3360
|
imageContainerDiv: {
|
|
3461
3361
|
width: '50%',
|
|
3462
3362
|
position: 'relative'
|
|
@@ -3474,7 +3374,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3474
3374
|
}
|
|
3475
3375
|
},
|
|
3476
3376
|
imageBorder: {
|
|
3477
|
-
|
|
3377
|
+
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3478
3378
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3479
3379
|
position: 'absolute',
|
|
3480
3380
|
width: '100%',
|
|
@@ -3499,13 +3399,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3499
3399
|
marginBottom: '8px',
|
|
3500
3400
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3501
3401
|
letterSpacing: '3px',
|
|
3502
|
-
color: theme?.
|
|
3402
|
+
color: theme?.palette?.font?.default,
|
|
3503
3403
|
wordBreak: 'break-word'
|
|
3504
3404
|
},
|
|
3505
3405
|
heading: {
|
|
3506
3406
|
margin: '0',
|
|
3507
3407
|
fontSize: theme?.typography?.fontSize?.h1,
|
|
3508
|
-
color: theme?.
|
|
3408
|
+
color: theme?.palette?.font?.default,
|
|
3509
3409
|
wordBreak: ({
|
|
3510
3410
|
wordBreakValue
|
|
3511
3411
|
}) => wordBreakValue || 'break-word',
|
|
@@ -3515,7 +3415,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3515
3415
|
description: {
|
|
3516
3416
|
marginTop: theme.spacing.margin.tiny,
|
|
3517
3417
|
marginBottom: theme.spacing.margin.tiny,
|
|
3518
|
-
color: theme?.
|
|
3418
|
+
color: theme?.palette?.font?.primary,
|
|
3519
3419
|
lineHeight: '24px',
|
|
3520
3420
|
wordBreak: 'break-word'
|
|
3521
3421
|
},
|
|
@@ -3528,7 +3428,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3528
3428
|
width: '100%'
|
|
3529
3429
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3530
3430
|
},
|
|
3531
|
-
|
|
3532
3431
|
imageContainer: {
|
|
3533
3432
|
height: 'unset !important',
|
|
3534
3433
|
'& img': {
|
|
@@ -3681,16 +3580,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3681
3580
|
containerWidth
|
|
3682
3581
|
} = {}) => containerWidth
|
|
3683
3582
|
},
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3583
|
+
partialBackground: {
|
|
3584
|
+
top: '0',
|
|
3585
|
+
left: '0',
|
|
3586
|
+
width: '100%',
|
|
3587
|
+
height: '50%',
|
|
3588
|
+
position: 'absolute',
|
|
3589
|
+
background: theme?.palette?.background?.primary
|
|
3590
|
+
},
|
|
3692
3591
|
sectionContainer: {
|
|
3693
|
-
backgroundColor: theme?.
|
|
3592
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
3694
3593
|
boxShadow: theme?.shadows?.secondary,
|
|
3695
3594
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3696
3595
|
padding: theme.spacing.padding.small,
|
|
@@ -3701,7 +3600,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3701
3600
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3702
3601
|
lineHeight: '71px',
|
|
3703
3602
|
letterSpacing: '-3px',
|
|
3704
|
-
color: theme?.
|
|
3603
|
+
color: theme?.palette?.font?.default,
|
|
3705
3604
|
marginBottom: theme.spacing.padding.tiny,
|
|
3706
3605
|
wordBreak: 'break-word'
|
|
3707
3606
|
},
|
|
@@ -3713,7 +3612,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3713
3612
|
title: {
|
|
3714
3613
|
fontSize: theme.typography.fontSize.h6,
|
|
3715
3614
|
lineHeight: '32px',
|
|
3716
|
-
color: theme?.
|
|
3615
|
+
color: theme?.palette?.font?.primary,
|
|
3717
3616
|
wordBreak: 'break-word',
|
|
3718
3617
|
flex: 1
|
|
3719
3618
|
},
|
|
@@ -3841,8 +3740,8 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3841
3740
|
inputField: {
|
|
3842
3741
|
width: '100%',
|
|
3843
3742
|
// maxWidth: '314px',
|
|
3844
|
-
|
|
3845
|
-
border: `1px solid ${theme?.
|
|
3743
|
+
background: theme?.palette?.background?.default,
|
|
3744
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
3846
3745
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3847
3746
|
padding: '14px 12px',
|
|
3848
3747
|
display: 'flex',
|
|
@@ -3856,7 +3755,7 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3856
3755
|
fontWeight: '400',
|
|
3857
3756
|
fontSize: '16px',
|
|
3858
3757
|
lineHeight: '20px',
|
|
3859
|
-
color: theme?.
|
|
3758
|
+
color: theme?.palette?.font?.primary,
|
|
3860
3759
|
fontFamily: theme?.typography?.fontFamily
|
|
3861
3760
|
},
|
|
3862
3761
|
'&:focus': {
|
|
@@ -4056,6 +3955,7 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
4056
3955
|
|
|
4057
3956
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
4058
3957
|
testimonialContainer: {
|
|
3958
|
+
background: theme?.palette?.background?.primary,
|
|
4059
3959
|
overflow: 'hidden',
|
|
4060
3960
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4061
3961
|
'&, & *, & *:before, & *:after': {
|
|
@@ -4073,14 +3973,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4073
3973
|
} = {}) => containerWidth
|
|
4074
3974
|
},
|
|
4075
3975
|
testimonialText: {
|
|
4076
|
-
color: theme?.
|
|
3976
|
+
color: theme?.palette?.font?.default,
|
|
4077
3977
|
fontSize: theme.typography.fontSize.subHead,
|
|
4078
3978
|
wordBreak: 'break-word',
|
|
4079
3979
|
textTransform: 'uppercase'
|
|
4080
3980
|
},
|
|
4081
3981
|
testimonialHeader: {
|
|
4082
3982
|
fontSize: theme.typography.fontSize.h2,
|
|
4083
|
-
color: theme?.
|
|
3983
|
+
color: theme?.palette?.font?.default,
|
|
4084
3984
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4085
3985
|
marginBottom: theme.spacing.margin.tiny,
|
|
4086
3986
|
marginTop: '8px',
|
|
@@ -4097,7 +3997,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4097
3997
|
position: 'relative',
|
|
4098
3998
|
height: 'calc(100% - 12px)',
|
|
4099
3999
|
width: 'calc(100% - 24px)',
|
|
4100
|
-
background: theme?.
|
|
4000
|
+
background: theme?.palette?.background?.default,
|
|
4101
4001
|
boxShadow: theme?.shadows?.primary,
|
|
4102
4002
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
4103
4003
|
},
|
|
@@ -4124,7 +4024,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4124
4024
|
marginBottom: theme.spacing.margin.tiny,
|
|
4125
4025
|
fontSize: theme.typography.fontSize.body,
|
|
4126
4026
|
wordBreak: 'break-word',
|
|
4127
|
-
color: theme?.
|
|
4027
|
+
color: theme?.palette?.font?.primary,
|
|
4128
4028
|
lineHeight: '26px'
|
|
4129
4029
|
},
|
|
4130
4030
|
userContainer: {
|
|
@@ -4153,7 +4053,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4153
4053
|
marginRight: '16px'
|
|
4154
4054
|
},
|
|
4155
4055
|
userName: {
|
|
4156
|
-
color: theme?.
|
|
4056
|
+
color: theme?.palette?.font?.default,
|
|
4157
4057
|
margin: '0',
|
|
4158
4058
|
fontSize: theme.typography.fontSize.h5,
|
|
4159
4059
|
// paddingTop: '16px',
|
|
@@ -4172,6 +4072,19 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4172
4072
|
testimonialContainer: {
|
|
4173
4073
|
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
4174
4074
|
},
|
|
4075
|
+
// testimonialCardAndText: {
|
|
4076
|
+
// margin: '0 20px'
|
|
4077
|
+
// },
|
|
4078
|
+
|
|
4079
|
+
// testimonialHeader: {
|
|
4080
|
+
// fontSize: '24px',
|
|
4081
|
+
// color: theme?.palette?.font?.default,
|
|
4082
|
+
// margin: '4px 0 12px 0',
|
|
4083
|
+
// overflow: 'hidden',
|
|
4084
|
+
// // whiteSpace: 'nowrap',
|
|
4085
|
+
// wordBreak: 'break-word',
|
|
4086
|
+
// textOverflow: 'ellipsis'
|
|
4087
|
+
// },
|
|
4175
4088
|
testimonialText: {
|
|
4176
4089
|
textAlign: 'center'
|
|
4177
4090
|
},
|
|
@@ -4224,7 +4137,7 @@ function QuotesComponent() {
|
|
|
4224
4137
|
width: "28px",
|
|
4225
4138
|
height: "21px",
|
|
4226
4139
|
name: "Quote",
|
|
4227
|
-
color: theme?.
|
|
4140
|
+
color: theme?.palette?.primary?.main
|
|
4228
4141
|
}));
|
|
4229
4142
|
}
|
|
4230
4143
|
|
|
@@ -4535,7 +4448,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4535
4448
|
fontFamily: theme?.typography?.fontFamily
|
|
4536
4449
|
// boxSizing: 'border-box'
|
|
4537
4450
|
},
|
|
4538
|
-
|
|
4539
4451
|
'& h2,& h3,& p': {
|
|
4540
4452
|
marginTop: '0'
|
|
4541
4453
|
}
|
|
@@ -4560,7 +4472,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4560
4472
|
wordBreak: 'break-word'
|
|
4561
4473
|
// marginBottom: '8px'
|
|
4562
4474
|
},
|
|
4563
|
-
|
|
4564
4475
|
videoTestimonialTitle: {
|
|
4565
4476
|
fontSize: theme.typography.fontSize.h2,
|
|
4566
4477
|
// lineHeight: '71px',
|
|
@@ -4754,7 +4665,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4754
4665
|
padding: ({
|
|
4755
4666
|
isMobile
|
|
4756
4667
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4757
|
-
backgroundColor: theme?.
|
|
4668
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
4758
4669
|
'&, & *, & *:before, & *:after': {
|
|
4759
4670
|
fontFamily: theme?.typography?.fontFamily,
|
|
4760
4671
|
boxSizing: 'border-box'
|
|
@@ -4777,7 +4688,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4777
4688
|
fontSize: theme.typography.fontSize.subHead,
|
|
4778
4689
|
textTransform: 'uppercase',
|
|
4779
4690
|
lineHeight: '20px',
|
|
4780
|
-
color: theme?.
|
|
4691
|
+
color: theme?.palette?.font?.default,
|
|
4781
4692
|
letterSpacing: '3px',
|
|
4782
4693
|
wordBreak: 'break-word'
|
|
4783
4694
|
},
|
|
@@ -4788,14 +4699,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4788
4699
|
letterSpacing: '-3px',
|
|
4789
4700
|
marginBottom: theme.spacing.margin.tiny,
|
|
4790
4701
|
marginTop: '8px',
|
|
4791
|
-
color: theme?.
|
|
4702
|
+
color: theme?.palette?.font?.default,
|
|
4792
4703
|
wordBreak: 'break-word'
|
|
4793
4704
|
},
|
|
4794
4705
|
sliderContainer: {
|
|
4795
4706
|
marginRight: `-${theme.spacing.padding.medium}px`
|
|
4796
4707
|
},
|
|
4797
4708
|
singleSlideContainer: {
|
|
4798
|
-
backgroundColor:
|
|
4709
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
4799
4710
|
// margin: '20px',
|
|
4800
4711
|
width: 'calc(100% - 24px)',
|
|
4801
4712
|
height: 'calc(100% - 40px)',
|
|
@@ -4832,14 +4743,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4832
4743
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4833
4744
|
lineHeight: '32px',
|
|
4834
4745
|
marginBottom: '8px',
|
|
4835
|
-
color: theme?.
|
|
4746
|
+
color: theme?.palette?.font?.default,
|
|
4836
4747
|
wordBreak: 'break-word'
|
|
4837
4748
|
},
|
|
4838
4749
|
videoDetailsSubHeading: {
|
|
4839
4750
|
fontSize: theme.typography.fontSize.body,
|
|
4840
4751
|
lineHeight: '24px',
|
|
4841
4752
|
wordBreak: 'break-word',
|
|
4842
|
-
color: theme?.
|
|
4753
|
+
color: theme?.palette?.font?.primary
|
|
4843
4754
|
},
|
|
4844
4755
|
'@media (max-width: 767px)': {
|
|
4845
4756
|
videoHeading: {
|
|
@@ -4986,10 +4897,11 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4986
4897
|
|
|
4987
4898
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4988
4899
|
section: {
|
|
4900
|
+
position: 'relative',
|
|
4989
4901
|
padding: ({
|
|
4990
4902
|
isMobile
|
|
4991
4903
|
} = {}) => 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`,
|
|
4992
|
-
|
|
4904
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
4993
4905
|
'&, & *, & *:before, & *:after': {
|
|
4994
4906
|
fontFamily: theme?.typography?.fontFamily,
|
|
4995
4907
|
boxSizing: 'border-box'
|
|
@@ -5001,20 +4913,27 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5001
4913
|
// }
|
|
5002
4914
|
// }
|
|
5003
4915
|
},
|
|
5004
|
-
|
|
5005
4916
|
sectionContainer: {
|
|
5006
4917
|
margin: '0 auto',
|
|
5007
4918
|
maxWidth: ({
|
|
5008
4919
|
containerWidth
|
|
5009
4920
|
} = {}) => containerWidth
|
|
5010
4921
|
},
|
|
4922
|
+
partialBackground: {
|
|
4923
|
+
position: 'absolute',
|
|
4924
|
+
top: '0',
|
|
4925
|
+
left: '0',
|
|
4926
|
+
height: '50%',
|
|
4927
|
+
background: theme?.palette?.background?.primary,
|
|
4928
|
+
width: '100%'
|
|
4929
|
+
},
|
|
5011
4930
|
content: {
|
|
5012
4931
|
position: 'relative'
|
|
5013
4932
|
},
|
|
5014
4933
|
subTitleHeading: {
|
|
5015
4934
|
width: '100%',
|
|
5016
4935
|
fontSize: theme.typography.fontSize.subHead,
|
|
5017
|
-
color: theme?.
|
|
4936
|
+
color: theme?.palette?.font?.default,
|
|
5018
4937
|
textTransform: 'uppercase',
|
|
5019
4938
|
textAlign: 'left',
|
|
5020
4939
|
lineHeight: '20px',
|
|
@@ -5026,7 +4945,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5026
4945
|
fontSize: theme.typography.fontSize.h2,
|
|
5027
4946
|
width: '100%',
|
|
5028
4947
|
lineHeight: '70px',
|
|
5029
|
-
color: theme?.
|
|
4948
|
+
color: theme?.palette?.font?.default,
|
|
5030
4949
|
textAlign: 'left',
|
|
5031
4950
|
wordBreak: 'break-word'
|
|
5032
4951
|
},
|
|
@@ -5036,7 +4955,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5036
4955
|
// },
|
|
5037
4956
|
|
|
5038
4957
|
card: {
|
|
5039
|
-
background: theme?.
|
|
4958
|
+
background: theme?.palette?.background?.default,
|
|
5040
4959
|
boxShadow: theme?.shadows?.primary,
|
|
5041
4960
|
borderRadius: theme.shape.borderRadius.large,
|
|
5042
4961
|
margin: ({
|
|
@@ -5057,7 +4976,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5057
4976
|
textAlign: 'center',
|
|
5058
4977
|
fontSize: theme.typography.fontSize.h6,
|
|
5059
4978
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5060
|
-
color: theme?.
|
|
4979
|
+
color: theme?.palette?.font?.default,
|
|
5061
4980
|
margin: `16px 0px`,
|
|
5062
4981
|
wordBreak: 'break-word'
|
|
5063
4982
|
},
|
|
@@ -5069,7 +4988,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5069
4988
|
alignItems: 'center',
|
|
5070
4989
|
justifyContent: 'center',
|
|
5071
4990
|
borderRadius: '50%',
|
|
5072
|
-
background: theme?.
|
|
4991
|
+
background: theme?.palette?.background?.primary
|
|
5073
4992
|
},
|
|
5074
4993
|
buttonContainerClass: {
|
|
5075
4994
|
marginRight: theme.spacing.margin.regular,
|
|
@@ -5083,7 +5002,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5083
5002
|
textAlign: 'center',
|
|
5084
5003
|
fontSize: theme.typography.fontSize.body,
|
|
5085
5004
|
lineHeight: '22px',
|
|
5086
|
-
color: theme?.
|
|
5005
|
+
color: theme?.palette?.font?.primary,
|
|
5087
5006
|
margin: '0',
|
|
5088
5007
|
wordBreak: 'break-word'
|
|
5089
5008
|
},
|
|
@@ -5169,7 +5088,7 @@ function Info({
|
|
|
5169
5088
|
className: classes.imageContainer
|
|
5170
5089
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
5171
5090
|
name: dt.icon.metadata.value,
|
|
5172
|
-
color: theme
|
|
5091
|
+
color: theme.palette.primary.main,
|
|
5173
5092
|
width: isMobile ? '30px' : '40px',
|
|
5174
5093
|
height: isMobile ? '30px' : '40px'
|
|
5175
5094
|
})), /*#__PURE__*/React__default["default"].createElement("h3", {
|
|
@@ -5226,7 +5145,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5226
5145
|
padding: ({
|
|
5227
5146
|
isMobile
|
|
5228
5147
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5229
|
-
backgroundColor: theme?.
|
|
5148
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
5230
5149
|
'&, & *, & *:before, & *:after': {
|
|
5231
5150
|
fontFamily: theme?.typography?.fontFamily,
|
|
5232
5151
|
boxSizing: 'border-box'
|
|
@@ -5243,7 +5162,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5243
5162
|
subHeading: {
|
|
5244
5163
|
fontSize: theme.typography.fontSize.subHead,
|
|
5245
5164
|
marginBottom: '8px',
|
|
5246
|
-
color: theme?.
|
|
5165
|
+
color: theme?.palette?.font?.default,
|
|
5247
5166
|
wordBreak: 'break-word',
|
|
5248
5167
|
textTransform: 'uppercase',
|
|
5249
5168
|
letterSpacing: '3px'
|
|
@@ -5253,7 +5172,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5253
5172
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5254
5173
|
lineHeight: 'normal',
|
|
5255
5174
|
margin: '0',
|
|
5256
|
-
color: theme?.
|
|
5175
|
+
color: theme?.palette?.font?.default,
|
|
5257
5176
|
wordBreak: 'break-word',
|
|
5258
5177
|
marginBottom: theme.spacing.margin.tiny
|
|
5259
5178
|
},
|
|
@@ -5264,7 +5183,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5264
5183
|
padding: '32px 0px'
|
|
5265
5184
|
},
|
|
5266
5185
|
textPara: {
|
|
5267
|
-
color: theme?.
|
|
5186
|
+
color: theme?.palette?.font?.primary,
|
|
5268
5187
|
wordBreak: 'break-word',
|
|
5269
5188
|
fontSize: theme.typography.fontSize.body,
|
|
5270
5189
|
lineHeight: '24px'
|
|
@@ -5359,7 +5278,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5359
5278
|
// }
|
|
5360
5279
|
// }
|
|
5361
5280
|
},
|
|
5362
|
-
|
|
5363
5281
|
sectionContainer: {
|
|
5364
5282
|
margin: '0 auto',
|
|
5365
5283
|
maxWidth: ({
|
|
@@ -5390,7 +5308,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5390
5308
|
position: 'relative',
|
|
5391
5309
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5392
5310
|
},
|
|
5393
|
-
|
|
5394
5311
|
contentRow: {
|
|
5395
5312
|
display: 'grid',
|
|
5396
5313
|
gridTemplateColumns: ({
|
|
@@ -5571,7 +5488,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5571
5488
|
padding: ({
|
|
5572
5489
|
isMobile
|
|
5573
5490
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5574
|
-
backgroundColor: theme?.
|
|
5491
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
5575
5492
|
'&, & *, & *:before, & *:after': {
|
|
5576
5493
|
fontFamily: theme?.typography?.fontFamily,
|
|
5577
5494
|
boxSizing: 'border-box'
|
|
@@ -5586,7 +5503,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5586
5503
|
} = {}) => containerWidth
|
|
5587
5504
|
},
|
|
5588
5505
|
sectionSubheading: {
|
|
5589
|
-
color: theme?.
|
|
5506
|
+
color: theme?.palette?.font.default,
|
|
5590
5507
|
fontSize: theme.typography.fontSize.subHead,
|
|
5591
5508
|
marginBottom: '8px',
|
|
5592
5509
|
wordBreak: 'break-word'
|
|
@@ -5595,16 +5512,15 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5595
5512
|
fontSize: theme.typography.fontSize.h2,
|
|
5596
5513
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5597
5514
|
wordBreak: 'break-word',
|
|
5598
|
-
marginBottom: `${theme.spacing.margin.tiny}px
|
|
5599
|
-
color: theme?.colors?.font3
|
|
5515
|
+
marginBottom: `${theme.spacing.margin.tiny}px`
|
|
5600
5516
|
},
|
|
5601
5517
|
container: {
|
|
5602
5518
|
boxShadow: theme?.shadows?.secondary,
|
|
5603
5519
|
borderRadius: '8px',
|
|
5604
|
-
backgroundColor: theme?.
|
|
5520
|
+
backgroundColor: theme?.palette?.background?.default
|
|
5605
5521
|
},
|
|
5606
5522
|
basicCardContainer: {
|
|
5607
|
-
borderBottom:
|
|
5523
|
+
borderBottom: theme?.borders?.secondary,
|
|
5608
5524
|
padding: `${theme.spacing.padding.tiny}px`
|
|
5609
5525
|
},
|
|
5610
5526
|
innerContainer: {
|
|
@@ -5623,14 +5539,14 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5623
5539
|
alignItems: 'center'
|
|
5624
5540
|
},
|
|
5625
5541
|
title: {
|
|
5626
|
-
color: theme?.
|
|
5542
|
+
color: theme?.palette?.font.default,
|
|
5627
5543
|
fontSize: theme.typography.fontSize.h5,
|
|
5628
5544
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5629
5545
|
margin: '0',
|
|
5630
5546
|
wordBreak: 'break-word'
|
|
5631
5547
|
},
|
|
5632
5548
|
content: {
|
|
5633
|
-
color: theme?.
|
|
5549
|
+
color: theme?.palette?.font.primary,
|
|
5634
5550
|
fontSize: theme.typography.fontSize.body,
|
|
5635
5551
|
lineHeight: '24px',
|
|
5636
5552
|
maxHeight: ({
|
|
@@ -5750,10 +5666,11 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5750
5666
|
|
|
5751
5667
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5752
5668
|
section: {
|
|
5753
|
-
background: theme.colors.background1,
|
|
5754
5669
|
padding: ({
|
|
5755
5670
|
isMobile
|
|
5756
5671
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5672
|
+
// backgroundColor: theme?.palette?.background?.primary,
|
|
5673
|
+
|
|
5757
5674
|
'&, & *, & *:before, & *:after': {
|
|
5758
5675
|
fontFamily: theme?.typography?.fontFamily,
|
|
5759
5676
|
boxSizing: 'border-box'
|
|
@@ -5761,6 +5678,12 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5761
5678
|
'& h2,& h3,& p': {
|
|
5762
5679
|
marginTop: '0'
|
|
5763
5680
|
}
|
|
5681
|
+
// '& h2,& h3': {
|
|
5682
|
+
// fontWeight: '500',
|
|
5683
|
+
// '& b,& strong': {
|
|
5684
|
+
// fontWeight: '700'
|
|
5685
|
+
// }
|
|
5686
|
+
// }
|
|
5764
5687
|
},
|
|
5765
5688
|
sectionContainer: {
|
|
5766
5689
|
margin: '0 auto',
|
|
@@ -5769,7 +5692,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5769
5692
|
} = {}) => containerWidth
|
|
5770
5693
|
},
|
|
5771
5694
|
subheading: {
|
|
5772
|
-
color: theme?.
|
|
5695
|
+
color: theme?.palette?.font.default,
|
|
5773
5696
|
fontSize: theme.typography.fontSize.subHead,
|
|
5774
5697
|
lineHeight: '20px',
|
|
5775
5698
|
letterSpacing: '3px',
|
|
@@ -5783,8 +5706,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5783
5706
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5784
5707
|
letterSpacing: '-3px',
|
|
5785
5708
|
marginBottom: theme.spacing.margin.tiny,
|
|
5786
|
-
wordBreak: 'break-word'
|
|
5787
|
-
color: theme?.colors?.font1
|
|
5709
|
+
wordBreak: 'break-word'
|
|
5788
5710
|
},
|
|
5789
5711
|
sliderContainer: {
|
|
5790
5712
|
margin: '0 -10px'
|
|
@@ -5937,7 +5859,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5937
5859
|
// }
|
|
5938
5860
|
// }
|
|
5939
5861
|
},
|
|
5940
|
-
|
|
5941
5862
|
sectionContainer: {
|
|
5942
5863
|
margin: '0 auto',
|
|
5943
5864
|
maxWidth: ({
|
|
@@ -5970,7 +5891,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5970
5891
|
// textAlign: 'center',
|
|
5971
5892
|
// wordBreak: 'break-word'
|
|
5972
5893
|
},
|
|
5973
|
-
|
|
5974
5894
|
slickContainer: {
|
|
5975
5895
|
marginRight: '-20px'
|
|
5976
5896
|
},
|
|
@@ -6018,7 +5938,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6018
5938
|
justifyContent: 'space-between'
|
|
6019
5939
|
//alignItems: 'center',
|
|
6020
5940
|
},
|
|
6021
|
-
|
|
6022
5941
|
courseCardTags: {
|
|
6023
5942
|
display: 'flex',
|
|
6024
5943
|
justifyContent: 'flex-start',
|
|
@@ -6049,12 +5968,11 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6049
5968
|
// whiteSpace: 'nowrap',
|
|
6050
5969
|
// textOverflow: 'ellipsis'
|
|
6051
5970
|
},
|
|
6052
|
-
|
|
6053
5971
|
courseCardDiscount: {
|
|
6054
5972
|
display: 'flex',
|
|
6055
5973
|
justifyContent: 'flex-start',
|
|
6056
5974
|
alignItems: 'center',
|
|
6057
|
-
fontSize: theme.typography.fontSize.
|
|
5975
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6058
5976
|
color: theme?.palette?.font?.primary,
|
|
6059
5977
|
'& img': {
|
|
6060
5978
|
marginRight: '5px'
|
|
@@ -6087,8 +6005,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6087
6005
|
},
|
|
6088
6006
|
courseCardBuyBtn: {
|
|
6089
6007
|
cursor: 'pointer',
|
|
6090
|
-
background: theme?.
|
|
6091
|
-
color: theme?.
|
|
6008
|
+
background: theme?.palette?.primary?.main,
|
|
6009
|
+
color: theme?.palette?.font?.invertedDefault,
|
|
6092
6010
|
padding: '8px 16px',
|
|
6093
6011
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6094
6012
|
cursor: 'pointer',
|
|
@@ -6156,7 +6074,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6156
6074
|
// whiteSpace: 'nowrap',
|
|
6157
6075
|
// textOverflow: 'ellipsis'
|
|
6158
6076
|
},
|
|
6159
|
-
|
|
6160
6077
|
singleCard: {
|
|
6161
6078
|
margin: '6px 2px'
|
|
6162
6079
|
// width: 'calc(100% - 12px)'
|
|
@@ -6187,6 +6104,13 @@ async function getCourseList(baseURLs, hashToken) {
|
|
|
6187
6104
|
|
|
6188
6105
|
var tagIcon = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2018%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M16.843%208.64984L9.34297%201.14984C9.04297%200.849837%208.6263%200.666504%208.16797%200.666504H2.33464C1.41797%200.666504%200.667969%201.4165%200.667969%202.33317V8.1665C0.667969%208.62484%200.851302%209.0415%201.15964%209.34984L8.65964%2016.8498C8.95964%2017.1498%209.3763%2017.3332%209.83464%2017.3332C10.293%2017.3332%2010.7096%2017.1498%2011.0096%2016.8415L16.843%2011.0082C17.1513%2010.7082%2017.3346%2010.2915%2017.3346%209.83317C17.3346%209.37484%2017.143%208.94984%2016.843%208.64984ZM3.58464%204.83317C2.89297%204.83317%202.33464%204.27484%202.33464%203.58317C2.33464%202.8915%202.89297%202.33317%203.58464%202.33317C4.2763%202.33317%204.83464%202.8915%204.83464%203.58317C4.83464%204.27484%204.2763%204.83317%203.58464%204.83317Z%22%20fill%3D%22%23FE9B0E%22%2F%3E%3C%2Fsvg%3E";
|
|
6189
6106
|
|
|
6107
|
+
function getShortenedSubstring(name, length, allowDots = true) {
|
|
6108
|
+
if (name) {
|
|
6109
|
+
return name.length < length ? name : `${name.substr(0, length)}${allowDots && '...'}`;
|
|
6110
|
+
}
|
|
6111
|
+
return '';
|
|
6112
|
+
}
|
|
6113
|
+
|
|
6190
6114
|
const formatCurrency = (countryCode, value, currencySymbol) => {
|
|
6191
6115
|
let formattedValue = Number(value);
|
|
6192
6116
|
const getFormattedValue = (countryCode, currencySymbol, value) => {
|
|
@@ -6454,10 +6378,11 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
6454
6378
|
const useTeamStyles = createUseStyles(theme => {
|
|
6455
6379
|
return {
|
|
6456
6380
|
teamSuperContainer: {
|
|
6457
|
-
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6458
6381
|
padding: ({
|
|
6459
6382
|
isMobile
|
|
6460
6383
|
} = {}) => 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`,
|
|
6384
|
+
// backgroundColor: theme?.palette?.background?.primary,
|
|
6385
|
+
|
|
6461
6386
|
'&, & *, & *:before, & *:after': {
|
|
6462
6387
|
fontFamily: theme?.typography?.fontFamily,
|
|
6463
6388
|
boxSizing: 'border-box'
|
|
@@ -6478,17 +6403,25 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6478
6403
|
lineHeight: '20px',
|
|
6479
6404
|
letterSpacing: '3px',
|
|
6480
6405
|
marginBottom: '8px',
|
|
6481
|
-
color: theme?.
|
|
6406
|
+
color: theme?.palette?.font?.default,
|
|
6482
6407
|
// wordBreak: 'break-word',
|
|
6483
6408
|
position: 'relative'
|
|
6484
6409
|
},
|
|
6410
|
+
partialBackground: {
|
|
6411
|
+
position: 'absolute',
|
|
6412
|
+
top: '0',
|
|
6413
|
+
left: '0',
|
|
6414
|
+
height: '50%',
|
|
6415
|
+
background: theme?.palette?.background?.primary,
|
|
6416
|
+
width: '100%'
|
|
6417
|
+
},
|
|
6485
6418
|
teamTitle: {
|
|
6486
6419
|
fontSize: theme.typography.fontSize.h2,
|
|
6487
6420
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6488
6421
|
lineHeight: '70px',
|
|
6489
6422
|
letterSpacing: '-3px',
|
|
6490
6423
|
wordBreak: 'break-word',
|
|
6491
|
-
color: theme?.
|
|
6424
|
+
color: theme?.palette?.font?.default,
|
|
6492
6425
|
position: 'relative'
|
|
6493
6426
|
},
|
|
6494
6427
|
sliderContainer: {
|
|
@@ -6532,7 +6465,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6532
6465
|
margin: '20px 0 0'
|
|
6533
6466
|
// overflowWrap: 'break-word'
|
|
6534
6467
|
},
|
|
6535
|
-
|
|
6536
6468
|
teamDetailsHeading: {
|
|
6537
6469
|
fontSize: theme.typography.fontSize.h6,
|
|
6538
6470
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -6576,14 +6508,15 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6576
6508
|
// margin: '15px 0 0',
|
|
6577
6509
|
// paddingBottom: '0'
|
|
6578
6510
|
},
|
|
6579
|
-
|
|
6580
6511
|
teamDetailsHeading: {
|
|
6581
6512
|
fontSize: '16px',
|
|
6582
6513
|
lineHeight: '24px',
|
|
6583
|
-
margin: '0'
|
|
6514
|
+
margin: '0',
|
|
6515
|
+
color: theme?.palette?.font?.body
|
|
6584
6516
|
},
|
|
6585
6517
|
teamDetailsSubHeading: {
|
|
6586
|
-
marginTop: '0px'
|
|
6518
|
+
marginTop: '0px',
|
|
6519
|
+
color: theme?.palette?.font?.primary
|
|
6587
6520
|
}
|
|
6588
6521
|
}
|
|
6589
6522
|
};
|
|
@@ -6694,7 +6627,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6694
6627
|
justifyContent: 'center',
|
|
6695
6628
|
flexDirection: 'column',
|
|
6696
6629
|
alignItems: 'center',
|
|
6697
|
-
|
|
6630
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6698
6631
|
padding: ({
|
|
6699
6632
|
isMobile
|
|
6700
6633
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
@@ -6709,23 +6642,22 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6709
6642
|
// }
|
|
6710
6643
|
// }
|
|
6711
6644
|
},
|
|
6712
|
-
|
|
6713
6645
|
formContainer: {
|
|
6714
6646
|
margin: '0 auto',
|
|
6715
6647
|
maxWidth: ({
|
|
6716
6648
|
containerWidth
|
|
6717
6649
|
} = {}) => containerWidth
|
|
6718
6650
|
},
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6651
|
+
partialBackground: {
|
|
6652
|
+
top: '0',
|
|
6653
|
+
left: '0',
|
|
6654
|
+
width: '100%',
|
|
6655
|
+
height: '50%',
|
|
6656
|
+
position: 'absolute',
|
|
6657
|
+
background: theme?.palette?.background?.primary
|
|
6658
|
+
},
|
|
6727
6659
|
sectionContainer: {
|
|
6728
|
-
backgroundColor: theme?.
|
|
6660
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6729
6661
|
boxShadow: theme?.shadows?.secondary,
|
|
6730
6662
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6731
6663
|
padding: '48px',
|
|
@@ -6734,7 +6666,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6734
6666
|
title: {
|
|
6735
6667
|
margin: '0',
|
|
6736
6668
|
fontSize: theme.typography.fontSize.h2,
|
|
6737
|
-
color: theme?.
|
|
6669
|
+
color: theme?.palette?.font?.default,
|
|
6738
6670
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6739
6671
|
lineHeight: '71px',
|
|
6740
6672
|
letterSpacing: '-3px',
|
|
@@ -6746,18 +6678,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6746
6678
|
display: 'flex'
|
|
6747
6679
|
// alignItems: 'flex-start',
|
|
6748
6680
|
},
|
|
6749
|
-
|
|
6750
6681
|
leftContainerForm: {
|
|
6751
6682
|
width: '65%',
|
|
6752
6683
|
display: 'flex',
|
|
6753
6684
|
flexDirection: 'column'
|
|
6754
6685
|
// justifyContent: 'space-between'
|
|
6755
6686
|
},
|
|
6756
|
-
|
|
6757
6687
|
subtitle: {
|
|
6758
6688
|
// margin: '0 0 40px 0',
|
|
6759
6689
|
fontSize: theme.typography.fontSize.h5,
|
|
6760
|
-
color: theme?.
|
|
6690
|
+
color: theme?.palette?.font?.default,
|
|
6761
6691
|
lineHeight: '32px',
|
|
6762
6692
|
wordBreak: 'break-word',
|
|
6763
6693
|
marginBottom: '32px'
|
|
@@ -6780,7 +6710,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6780
6710
|
},
|
|
6781
6711
|
addressText: {
|
|
6782
6712
|
fontSize: theme.typography.fontSize.h6,
|
|
6783
|
-
color: theme?.
|
|
6713
|
+
color: theme?.palette?.font?.default,
|
|
6784
6714
|
lineHeight: '24px',
|
|
6785
6715
|
fontSize: '16px'
|
|
6786
6716
|
},
|
|
@@ -6821,7 +6751,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6821
6751
|
width: '100%'
|
|
6822
6752
|
// padding: '0 16ox'
|
|
6823
6753
|
},
|
|
6824
|
-
|
|
6825
6754
|
rightContainer: {
|
|
6826
6755
|
width: '100%',
|
|
6827
6756
|
padding: '0'
|
|
@@ -7117,7 +7046,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7117
7046
|
padding: ({
|
|
7118
7047
|
isMobile
|
|
7119
7048
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
7120
|
-
|
|
7049
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
7121
7050
|
'&, & *, & *:before, & *:after': {
|
|
7122
7051
|
fontFamily: theme?.typography?.fontFamily,
|
|
7123
7052
|
boxSizing: 'border-box'
|
|
@@ -7129,7 +7058,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7129
7058
|
// }
|
|
7130
7059
|
// }
|
|
7131
7060
|
},
|
|
7132
|
-
|
|
7133
7061
|
contactContainer: {
|
|
7134
7062
|
width: '100%',
|
|
7135
7063
|
margin: '0 auto',
|
|
@@ -7137,8 +7065,16 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7137
7065
|
containerWidth
|
|
7138
7066
|
} = {}) => containerWidth
|
|
7139
7067
|
},
|
|
7068
|
+
partialBackground: {
|
|
7069
|
+
top: '0',
|
|
7070
|
+
left: '0',
|
|
7071
|
+
width: '100%',
|
|
7072
|
+
height: '50%',
|
|
7073
|
+
position: 'absolute',
|
|
7074
|
+
background: theme?.palette?.background?.primary
|
|
7075
|
+
},
|
|
7140
7076
|
sectionContainer: {
|
|
7141
|
-
backgroundColor: theme?.
|
|
7077
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
7142
7078
|
boxShadow: theme?.shadows?.secondary,
|
|
7143
7079
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7144
7080
|
padding: '48px',
|
|
@@ -7147,7 +7083,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7147
7083
|
title: {
|
|
7148
7084
|
margin: '0',
|
|
7149
7085
|
fontSize: theme.typography.fontSize.h2,
|
|
7150
|
-
color: theme?.
|
|
7086
|
+
color: theme?.palette?.font?.default,
|
|
7151
7087
|
lineHeight: '71px',
|
|
7152
7088
|
letterSpacing: '-3px',
|
|
7153
7089
|
textAlign: 'left',
|
|
@@ -7168,11 +7104,10 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7168
7104
|
// justifyContent: 'space-between',
|
|
7169
7105
|
// flex: 1
|
|
7170
7106
|
},
|
|
7171
|
-
|
|
7172
7107
|
subtitle: {
|
|
7173
7108
|
// margin: '0 0 auto 0',
|
|
7174
7109
|
fontSize: theme.typography.fontSize.h6,
|
|
7175
|
-
color: theme?.
|
|
7110
|
+
color: theme?.palette?.font?.default,
|
|
7176
7111
|
// lineHeight: '32px',
|
|
7177
7112
|
// margin: '16px 0',
|
|
7178
7113
|
textAlign: 'center',
|
|
@@ -7203,8 +7138,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7203
7138
|
inputField: {
|
|
7204
7139
|
width: '100%',
|
|
7205
7140
|
// maxWidth: '314px',
|
|
7206
|
-
|
|
7207
|
-
border: `1px solid ${theme?.
|
|
7141
|
+
background: theme?.palette?.background?.default,
|
|
7142
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
7208
7143
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7209
7144
|
// padding: '14px 12px',
|
|
7210
7145
|
display: 'flex',
|
|
@@ -7217,7 +7152,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7217
7152
|
fontWeight: '400',
|
|
7218
7153
|
fontSize: theme.typography.fontSize.subHead,
|
|
7219
7154
|
lineHeight: '20px',
|
|
7220
|
-
color: theme?.
|
|
7155
|
+
color: theme?.palette?.font?.primary,
|
|
7221
7156
|
fontFamily: theme?.typography?.fontFamily
|
|
7222
7157
|
},
|
|
7223
7158
|
'&:focus': {
|
|
@@ -7530,7 +7465,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7530
7465
|
webinarSuperContainer: {
|
|
7531
7466
|
display: 'flex',
|
|
7532
7467
|
justifyContent: 'center',
|
|
7533
|
-
background: theme.colors.background1,
|
|
7534
7468
|
padding: ({
|
|
7535
7469
|
isMobile
|
|
7536
7470
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7553,6 +7487,30 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7553
7487
|
maxWidth: '1440px',
|
|
7554
7488
|
fontFamily: theme?.typography?.fontFamily
|
|
7555
7489
|
},
|
|
7490
|
+
// videoTestimonialHeading: {
|
|
7491
|
+
// fontSize: theme.typography.fontSize.subHead,
|
|
7492
|
+
// lineHeight: '20px',
|
|
7493
|
+
// letterSpacing: '3px',
|
|
7494
|
+
// textTransform: 'uppercase',
|
|
7495
|
+
// color: theme.palette.font.tertiary,
|
|
7496
|
+
// wordBreak: 'break-word',
|
|
7497
|
+
// fontWeight: theme.typography.fontWeight.bold,
|
|
7498
|
+
// },
|
|
7499
|
+
|
|
7500
|
+
// videoTestimonialTitle: {
|
|
7501
|
+
// fontSize: theme.typography.fontSize.h2,
|
|
7502
|
+
// lineHeight: '71px',
|
|
7503
|
+
// fontWeight: theme.typography.fontWeight.bold,
|
|
7504
|
+
// letterSpacing: '-3px',
|
|
7505
|
+
// margin: '0',
|
|
7506
|
+
// color: theme.palette.font.default,
|
|
7507
|
+
// wordBreak: 'break-word'
|
|
7508
|
+
// },
|
|
7509
|
+
|
|
7510
|
+
// videoCarouselContainer: {
|
|
7511
|
+
// marginTop: '16px'
|
|
7512
|
+
// },
|
|
7513
|
+
|
|
7556
7514
|
webinarCarousel: {
|
|
7557
7515
|
display: 'flex',
|
|
7558
7516
|
justifyContent: 'flex-start',
|
|
@@ -7573,7 +7531,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7573
7531
|
iframeContainer: {
|
|
7574
7532
|
width: '100%',
|
|
7575
7533
|
position: 'relative',
|
|
7576
|
-
|
|
7534
|
+
paddingBottom: '56.25%',
|
|
7577
7535
|
// top: "6%",
|
|
7578
7536
|
// left: '5%'
|
|
7579
7537
|
borderRadius: '8px',
|
|
@@ -7581,9 +7539,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7581
7539
|
},
|
|
7582
7540
|
offerText: {
|
|
7583
7541
|
textAlign: 'center',
|
|
7584
|
-
color: theme
|
|
7585
|
-
marginBottom: '5%
|
|
7586
|
-
fontWeight: '700'
|
|
7542
|
+
color: theme.palette.font.primary,
|
|
7543
|
+
marginBottom: '5%'
|
|
7587
7544
|
},
|
|
7588
7545
|
offerPrice: {
|
|
7589
7546
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -7608,7 +7565,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7608
7565
|
marginTop: '5%'
|
|
7609
7566
|
// padding: '0px 5% 0px 5%'
|
|
7610
7567
|
},
|
|
7611
|
-
|
|
7612
7568
|
iframe: {
|
|
7613
7569
|
position: 'absolute',
|
|
7614
7570
|
width: '100%',
|
|
@@ -7629,7 +7585,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7629
7585
|
margin: '0',
|
|
7630
7586
|
letterSpacing: '-1px',
|
|
7631
7587
|
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7632
|
-
color: theme
|
|
7588
|
+
color: theme.palette.font.default
|
|
7633
7589
|
},
|
|
7634
7590
|
courseViewContainer: {
|
|
7635
7591
|
width: '645px',
|
|
@@ -7643,9 +7599,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7643
7599
|
},
|
|
7644
7600
|
bannerContainer: {
|
|
7645
7601
|
width: '100%',
|
|
7646
|
-
background:
|
|
7647
|
-
color:
|
|
7648
|
-
fontWeight: '600',
|
|
7602
|
+
background: '#EB5757',
|
|
7603
|
+
color: '#fff',
|
|
7649
7604
|
textAlign: 'center',
|
|
7650
7605
|
padding: '10px 10px 23px 40px',
|
|
7651
7606
|
wordWrap: 'break-word',
|
|
@@ -7664,26 +7619,24 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7664
7619
|
display: 'flex',
|
|
7665
7620
|
alignItems: 'center',
|
|
7666
7621
|
marginRight: '20px',
|
|
7667
|
-
color: theme?.colors?.font1,
|
|
7668
7622
|
'& div': {
|
|
7669
|
-
fontSize: theme.typography.fontSize.
|
|
7623
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7670
7624
|
marginLeft: '10px'
|
|
7671
7625
|
}
|
|
7672
7626
|
},
|
|
7673
7627
|
courseDetailContent: {
|
|
7674
|
-
fontSize: theme.typography.fontSize.
|
|
7675
|
-
lineHeight: '21px',
|
|
7628
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7676
7629
|
wordBreak: 'break-word',
|
|
7677
|
-
color: theme
|
|
7630
|
+
color: theme.palette.font.primary,
|
|
7678
7631
|
whiteSpace: 'pre-wrap',
|
|
7679
7632
|
width: '80%'
|
|
7680
7633
|
},
|
|
7681
7634
|
courseDetailViewFullDetails: {
|
|
7682
7635
|
cursor: 'pointer',
|
|
7683
|
-
fontSize: theme.typography.fontSize.
|
|
7636
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7684
7637
|
lineHeight: '24px',
|
|
7685
|
-
color: theme?.colors?.font1,
|
|
7686
7638
|
marginTop: '-20px',
|
|
7639
|
+
color: '#00ADE7',
|
|
7687
7640
|
wordBreak: 'break-word'
|
|
7688
7641
|
},
|
|
7689
7642
|
courseDetailTime: {
|
|
@@ -7698,7 +7651,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7698
7651
|
display: 'flex',
|
|
7699
7652
|
width: '36px',
|
|
7700
7653
|
height: '36px',
|
|
7701
|
-
backgroundColor:
|
|
7654
|
+
backgroundColor: 'rgb(240, 244, 248)',
|
|
7702
7655
|
justifyContent: 'center',
|
|
7703
7656
|
alignItems: 'center',
|
|
7704
7657
|
borderRadius: '6px'
|
|
@@ -7890,15 +7843,14 @@ const SingleVideoSlide$1 = props => {
|
|
|
7890
7843
|
className: classes.iconBackground
|
|
7891
7844
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
7892
7845
|
name: 'Calendar',
|
|
7893
|
-
|
|
7894
|
-
color: theme?.colors?.background2
|
|
7846
|
+
color: theme.palette.primary.main
|
|
7895
7847
|
})), /*#__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", {
|
|
7896
7848
|
className: classes.courseDetailTag
|
|
7897
7849
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
7898
7850
|
className: classes.iconBackground
|
|
7899
7851
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
7900
|
-
color: theme
|
|
7901
|
-
width: "
|
|
7852
|
+
color: theme.palette.primary.main,
|
|
7853
|
+
width: "20px",
|
|
7902
7854
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7903
7855
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
7904
7856
|
ref: data?.videoTextContent?.refSetter,
|
|
@@ -7956,7 +7908,6 @@ const SingleVideoSlide$1 = props => {
|
|
|
7956
7908
|
value: data.isPaid ? buyNowText : registerNowText
|
|
7957
7909
|
// isExternal: 1
|
|
7958
7910
|
},
|
|
7959
|
-
|
|
7960
7911
|
onClick: webinarCtaClick,
|
|
7961
7912
|
type: 'primary',
|
|
7962
7913
|
size: 'medium',
|
|
@@ -8005,15 +7956,13 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
8005
7956
|
});
|
|
8006
7957
|
|
|
8007
7958
|
const useCoursePromotionPage = createUseStyles(theme => {
|
|
8008
|
-
console.log(theme, 'themere');
|
|
8009
7959
|
return {
|
|
8010
7960
|
courseSuperContainer: {
|
|
8011
7961
|
display: 'flex',
|
|
8012
7962
|
justifyContent: 'center',
|
|
8013
|
-
background: theme?.colors?.background1,
|
|
8014
7963
|
padding: ({
|
|
8015
7964
|
isMobile
|
|
8016
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
7965
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8017
7966
|
'&, & *, & *:before, & *:after': {
|
|
8018
7967
|
fontFamily: theme?.typography?.fontFamily,
|
|
8019
7968
|
boxSizing: 'border-box'
|
|
@@ -8025,7 +7974,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8025
7974
|
// }
|
|
8026
7975
|
// }
|
|
8027
7976
|
},
|
|
8028
|
-
|
|
8029
7977
|
sectionContainer: {
|
|
8030
7978
|
margin: '0 auto',
|
|
8031
7979
|
maxWidth: ({
|
|
@@ -8077,14 +8025,13 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8077
8025
|
iframeContainer: {
|
|
8078
8026
|
width: '100%',
|
|
8079
8027
|
position: 'relative',
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8028
|
+
paddingBottom: '56.25%'
|
|
8029
|
+
// top: "6%",
|
|
8030
|
+
// left: '5%'
|
|
8083
8031
|
},
|
|
8084
8032
|
offerText: {
|
|
8085
8033
|
textAlign: 'center',
|
|
8086
|
-
color: theme.palette.font.primary
|
|
8087
|
-
fontWeight: '700'
|
|
8034
|
+
color: theme.palette.font.primary
|
|
8088
8035
|
},
|
|
8089
8036
|
offerPrice: {
|
|
8090
8037
|
fontSize: theme.typography.fontSize.h4,
|
|
@@ -8131,7 +8078,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8131
8078
|
margin: '0',
|
|
8132
8079
|
letterSpacing: '-1px',
|
|
8133
8080
|
wordBreak: 'break-word',
|
|
8134
|
-
color: theme
|
|
8081
|
+
color: theme.palette.font.default
|
|
8135
8082
|
},
|
|
8136
8083
|
courseViewContainer: {
|
|
8137
8084
|
width: '445px',
|
|
@@ -8143,22 +8090,19 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8143
8090
|
// paddingBottom: '10px',
|
|
8144
8091
|
// paddingTop: '10px'
|
|
8145
8092
|
},
|
|
8146
|
-
|
|
8147
8093
|
bannerContainer: {
|
|
8148
8094
|
width: '100%',
|
|
8149
|
-
background:
|
|
8150
|
-
color:
|
|
8151
|
-
fontWeight: '600',
|
|
8095
|
+
background: '#EB5757',
|
|
8096
|
+
color: '#fff',
|
|
8152
8097
|
textAlign: 'center',
|
|
8153
8098
|
padding: '10px 10px 23px 40px',
|
|
8154
8099
|
wordWrap: 'break-word',
|
|
8155
8100
|
position: 'relative',
|
|
8156
|
-
fontSize:
|
|
8101
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8157
8102
|
transform: 'rotate(180deg)',
|
|
8158
8103
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8159
8104
|
// marginBottom: '16px'
|
|
8160
8105
|
},
|
|
8161
|
-
|
|
8162
8106
|
bannerContainerText: {
|
|
8163
8107
|
transform: 'rotate(180deg)'
|
|
8164
8108
|
},
|
|
@@ -8169,8 +8113,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8169
8113
|
},
|
|
8170
8114
|
courseEmblem: {
|
|
8171
8115
|
background: '#F0F4F8',
|
|
8172
|
-
fontSize: theme.typography.fontSize.
|
|
8173
|
-
borderRadius: '
|
|
8116
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8117
|
+
borderRadius: '2.00337px',
|
|
8174
8118
|
padding: '8px',
|
|
8175
8119
|
display: 'flex',
|
|
8176
8120
|
alignItems: 'center',
|
|
@@ -8186,29 +8130,27 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8186
8130
|
display: 'flex',
|
|
8187
8131
|
alignItems: 'center',
|
|
8188
8132
|
marginRight: '20px',
|
|
8189
|
-
color: theme?.colors?.font1,
|
|
8190
8133
|
'& div': {
|
|
8191
|
-
fontSize: theme.typography.fontSize.
|
|
8192
|
-
fontWeight: theme.typography.fontWeight.
|
|
8134
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8135
|
+
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8193
8136
|
marginLeft: '10px'
|
|
8194
8137
|
}
|
|
8195
8138
|
},
|
|
8196
8139
|
courseDetailContent: {
|
|
8197
|
-
marginTop: '
|
|
8198
|
-
fontSize: theme.typography.fontSize.
|
|
8199
|
-
lineHeight: '
|
|
8140
|
+
// marginTop: '16px',
|
|
8141
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8142
|
+
lineHeight: '24px',
|
|
8200
8143
|
wordBreak: 'break-word',
|
|
8201
|
-
color: theme
|
|
8144
|
+
color: theme.palette.font.primary,
|
|
8202
8145
|
whiteSpace: 'pre-wrap',
|
|
8203
8146
|
margin: '10px 0 20px'
|
|
8204
8147
|
},
|
|
8205
8148
|
courseDetailViewFullDetails: {
|
|
8206
8149
|
cursor: 'pointer',
|
|
8207
|
-
fontSize: theme.typography.fontSize.
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
color: theme.colors?.font1,
|
|
8150
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8151
|
+
lineHeight: '24px',
|
|
8152
|
+
marginTop: '-24px',
|
|
8153
|
+
color: '#00ADE7',
|
|
8212
8154
|
wordBreak: 'break-word'
|
|
8213
8155
|
},
|
|
8214
8156
|
courseDetailTime: {
|
|
@@ -8219,7 +8161,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8219
8161
|
display: 'flex',
|
|
8220
8162
|
width: '36px',
|
|
8221
8163
|
height: '36px',
|
|
8222
|
-
backgroundColor:
|
|
8164
|
+
backgroundColor: 'rgb(240, 244, 248)',
|
|
8223
8165
|
justifyContent: 'center',
|
|
8224
8166
|
alignItems: 'center',
|
|
8225
8167
|
borderRadius: '6px'
|
|
@@ -8271,7 +8213,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8271
8213
|
height: 'max-content'
|
|
8272
8214
|
// paddingRight: '10px'
|
|
8273
8215
|
},
|
|
8274
|
-
|
|
8275
8216
|
videoDetails: {
|
|
8276
8217
|
width: '100%'
|
|
8277
8218
|
},
|
|
@@ -8279,8 +8220,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8279
8220
|
// fontSize: '20px',
|
|
8280
8221
|
fontWeight: '600',
|
|
8281
8222
|
lineHeight: 'normal',
|
|
8282
|
-
letterSpacing: '0px'
|
|
8283
|
-
color: theme?.colors?.font1
|
|
8223
|
+
letterSpacing: '0px'
|
|
8284
8224
|
},
|
|
8285
8225
|
videoTestimonialTitle: {
|
|
8286
8226
|
// fontSize: '24px',
|
|
@@ -8449,32 +8389,28 @@ const SingleVideoSlide = props => {
|
|
|
8449
8389
|
className: classes.iconBackground
|
|
8450
8390
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8451
8391
|
name: 'Clock',
|
|
8452
|
-
|
|
8453
|
-
color: theme?.colors?.background2
|
|
8392
|
+
color: theme.palette.primary.main
|
|
8454
8393
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8455
8394
|
className: classes.courseDetailTag
|
|
8456
8395
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8457
8396
|
className: classes.iconBackground
|
|
8458
8397
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8459
8398
|
name: 'Book Saved',
|
|
8460
|
-
color: theme
|
|
8461
|
-
width: "24px"
|
|
8399
|
+
color: theme.palette.primary.main
|
|
8462
8400
|
})), /*#__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", {
|
|
8463
8401
|
className: classes.courseDetailTag
|
|
8464
8402
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8465
8403
|
className: classes.iconBackground
|
|
8466
8404
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8467
8405
|
name: 'Certificate',
|
|
8468
|
-
color: theme
|
|
8469
|
-
|
|
8470
|
-
})), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText?.heading ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8406
|
+
color: theme.palette.primary.main
|
|
8407
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
8471
8408
|
className: classes.courseDetailTag
|
|
8472
8409
|
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
8473
8410
|
className: classes.iconBackground
|
|
8474
8411
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
8475
8412
|
name: 'Certificate',
|
|
8476
|
-
color: theme
|
|
8477
|
-
width: "20px"
|
|
8413
|
+
color: theme.palette.primary.main
|
|
8478
8414
|
})), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React__default["default"].createElement("p", {
|
|
8479
8415
|
ref: data?.videoTextContent?.refSetter,
|
|
8480
8416
|
className: classes.courseDetailContent,
|
|
@@ -8530,7 +8466,6 @@ const SingleVideoSlide = props => {
|
|
|
8530
8466
|
value: buyNowText
|
|
8531
8467
|
// isExternal: 1
|
|
8532
8468
|
},
|
|
8533
|
-
|
|
8534
8469
|
onClick: courseBuyNow,
|
|
8535
8470
|
type: 'primary',
|
|
8536
8471
|
size: 'medium',
|
|
@@ -8601,7 +8536,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8601
8536
|
padding: ({
|
|
8602
8537
|
isMobile
|
|
8603
8538
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8604
|
-
background:
|
|
8539
|
+
background: '#F4F9FF',
|
|
8605
8540
|
'&, & *, & *:before, & *:after': {
|
|
8606
8541
|
fontFamily: theme?.typography?.fontFamily,
|
|
8607
8542
|
boxSizing: 'border-box'
|
|
@@ -8618,7 +8553,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8618
8553
|
marginTop: '8px',
|
|
8619
8554
|
fontSize: theme.typography.fontSize.h6,
|
|
8620
8555
|
lineHeight: '23px',
|
|
8621
|
-
color:
|
|
8556
|
+
color: 'rgba(51, 51, 51, 0.5)',
|
|
8622
8557
|
marginBottom: theme.spacing.margin.tiny
|
|
8623
8558
|
},
|
|
8624
8559
|
formPageFormContainer: {
|
|
@@ -8635,10 +8570,9 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8635
8570
|
// border: '1px solid #D8E0F0',
|
|
8636
8571
|
// borderRadius: '16px'
|
|
8637
8572
|
},
|
|
8638
|
-
|
|
8639
8573
|
inputFieldLabel: {
|
|
8640
|
-
color:
|
|
8641
|
-
fontSize: theme.typography.fontSize.
|
|
8574
|
+
color: '#333',
|
|
8575
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8642
8576
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8643
8577
|
display: 'block',
|
|
8644
8578
|
marginTop: '20px',
|
|
@@ -8649,8 +8583,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8649
8583
|
borderRadius: '8px',
|
|
8650
8584
|
border: '1px solid #D8E0F0',
|
|
8651
8585
|
padding: '12px 16px',
|
|
8652
|
-
color:
|
|
8653
|
-
fontSize: theme.typography.fontSize.
|
|
8586
|
+
color: '#7D8592',
|
|
8587
|
+
fontSize: theme.typography.fontSize.subHead
|
|
8654
8588
|
},
|
|
8655
8589
|
checkboxField: {
|
|
8656
8590
|
// padding: '20px',
|
|
@@ -8658,21 +8592,21 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8658
8592
|
// borderRadius: '8px'
|
|
8659
8593
|
},
|
|
8660
8594
|
checkBoxFieldLabel: {
|
|
8661
|
-
color:
|
|
8662
|
-
fontSize: theme.typography.fontSize.
|
|
8595
|
+
color: '#333',
|
|
8596
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8663
8597
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8664
8598
|
marginTop: '20px',
|
|
8665
8599
|
marginBottom: '12px'
|
|
8666
8600
|
},
|
|
8667
8601
|
inputFieldRequired: {
|
|
8668
|
-
color:
|
|
8602
|
+
color: '#F41828'
|
|
8669
8603
|
},
|
|
8670
8604
|
checkboxFieldControl: {
|
|
8671
8605
|
padding: '8px 0',
|
|
8672
8606
|
'& label': {
|
|
8673
|
-
fontSize: theme.typography.fontSize.
|
|
8607
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8674
8608
|
marginLeft: '10px',
|
|
8675
|
-
color:
|
|
8609
|
+
color: '#7D8592'
|
|
8676
8610
|
}
|
|
8677
8611
|
},
|
|
8678
8612
|
submitBtnContainer: {
|
|
@@ -8685,7 +8619,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8685
8619
|
'& button': {
|
|
8686
8620
|
// height: '44px',
|
|
8687
8621
|
padding: '16px 24px',
|
|
8688
|
-
|
|
8622
|
+
color: '#FFFFFF',
|
|
8623
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8689
8624
|
cursor: 'pointer',
|
|
8690
8625
|
borderRadius: '8px'
|
|
8691
8626
|
}
|
|
@@ -8948,7 +8883,6 @@ const FormPage = ({
|
|
|
8948
8883
|
value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
|
|
8949
8884
|
// isExternal: 1
|
|
8950
8885
|
},
|
|
8951
|
-
|
|
8952
8886
|
type: 'primary',
|
|
8953
8887
|
size: 'medium',
|
|
8954
8888
|
target: null,
|
|
@@ -9131,7 +9065,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9131
9065
|
height: '48px'
|
|
9132
9066
|
/* margin: 18px 0px; */
|
|
9133
9067
|
},
|
|
9134
|
-
|
|
9135
9068
|
'p-young-guru-title': {
|
|
9136
9069
|
fontFamily: theme?.typography?.fontFamily,
|
|
9137
9070
|
fontStyle: 'normal',
|
|
@@ -9159,7 +9092,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9159
9092
|
textAlign: 'center'
|
|
9160
9093
|
/* padding:35px 0 40px */
|
|
9161
9094
|
},
|
|
9162
|
-
|
|
9163
9095
|
'two-columns .column': {
|
|
9164
9096
|
width: '100%',
|
|
9165
9097
|
maxWidth: '275px',
|
|
@@ -9693,7 +9625,7 @@ function PageRenderer({
|
|
|
9693
9625
|
countryCode,
|
|
9694
9626
|
currencySymbol
|
|
9695
9627
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
9696
|
-
const theme = React.useMemo(() =>
|
|
9628
|
+
const theme = React.useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
9697
9629
|
const Wrapper = SectionWrapper || React.Fragment;
|
|
9698
9630
|
return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
|
|
9699
9631
|
theme: theme
|
|
@@ -9706,7 +9638,8 @@ function PageRenderer({
|
|
|
9706
9638
|
isHeader: true
|
|
9707
9639
|
}, /*#__PURE__*/React__default["default"].createElement(Header, {
|
|
9708
9640
|
data: header,
|
|
9709
|
-
isLandingPage: isLandingPage
|
|
9641
|
+
isLandingPage: isLandingPage,
|
|
9642
|
+
extraProps: extraProps
|
|
9710
9643
|
})), sections?.length ? sections?.map((sectionData, sectionIndex) => /*#__PURE__*/React__default["default"].createElement(Wrapper, _extends({}, !!SectionWrapper && {
|
|
9711
9644
|
sectionData,
|
|
9712
9645
|
sectionIndex
|