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.es.js
CHANGED
|
@@ -57,7 +57,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
57
57
|
height: '60px'
|
|
58
58
|
},
|
|
59
59
|
headerContainer: {
|
|
60
|
-
background: theme?.
|
|
60
|
+
background: theme?.palette?.background?.default,
|
|
61
61
|
boxShadow: theme?.shadows?.primary,
|
|
62
62
|
padding: '20px 40px',
|
|
63
63
|
display: 'flex',
|
|
@@ -115,11 +115,11 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
115
115
|
lineHeight: '20px',
|
|
116
116
|
display: 'flex',
|
|
117
117
|
alignItems: 'center',
|
|
118
|
-
color: theme
|
|
118
|
+
color: theme.palette.primary.main,
|
|
119
119
|
padding: '20px',
|
|
120
120
|
'&:hover': {
|
|
121
121
|
cursor: 'pointer',
|
|
122
|
-
background: theme
|
|
122
|
+
background: theme.palette.primary.lightest,
|
|
123
123
|
borderRadius: theme?.shape?.borderRadius?.small
|
|
124
124
|
}
|
|
125
125
|
},
|
|
@@ -128,7 +128,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
128
128
|
alignItems: 'center',
|
|
129
129
|
justifyContent: 'space-between',
|
|
130
130
|
padding: '18px 24px 18px 16px',
|
|
131
|
-
background: theme?.
|
|
131
|
+
background: theme?.palette?.background?.default,
|
|
132
132
|
boxShadow: theme?.shadows?.primary,
|
|
133
133
|
position: ({
|
|
134
134
|
isFixed
|
|
@@ -204,7 +204,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
204
204
|
height: '100%'
|
|
205
205
|
},
|
|
206
206
|
menuContainer: {
|
|
207
|
-
background: theme?.
|
|
207
|
+
background: theme?.palette?.background?.default,
|
|
208
208
|
boxShadow: theme.shadows.secondary,
|
|
209
209
|
width: '75%',
|
|
210
210
|
height: '100%',
|
|
@@ -321,9 +321,9 @@ const alpha = {
|
|
|
321
321
|
eightyPercent: 0.8
|
|
322
322
|
};
|
|
323
323
|
const getRGBFromHex = hex => {
|
|
324
|
-
const r = parseInt(hex
|
|
325
|
-
const g = parseInt(hex
|
|
326
|
-
const b = parseInt(hex
|
|
324
|
+
const r = parseInt(hex.slice(1, 3), 16);
|
|
325
|
+
const g = parseInt(hex.slice(3, 5), 16);
|
|
326
|
+
const b = parseInt(hex.slice(5, 7), 16);
|
|
327
327
|
return [r, g, b];
|
|
328
328
|
};
|
|
329
329
|
const hexToRgbA = (hex, alpha = null) => {
|
|
@@ -361,11 +361,13 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
361
361
|
textAlign: 'center',
|
|
362
362
|
color: ({
|
|
363
363
|
disabled
|
|
364
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.
|
|
364
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
365
365
|
background: ({
|
|
366
366
|
disabled
|
|
367
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.
|
|
368
|
-
border:
|
|
367
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
|
|
368
|
+
border: ({
|
|
369
|
+
disabled
|
|
370
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
|
|
369
371
|
textDecoration: 'none',
|
|
370
372
|
cursor: ({
|
|
371
373
|
disabled
|
|
@@ -387,13 +389,13 @@ const buttonStyles = createUseStyles(theme => ({
|
|
|
387
389
|
lineHeight: '18px',
|
|
388
390
|
color: ({
|
|
389
391
|
disabled
|
|
390
|
-
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme
|
|
392
|
+
} = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
|
|
391
393
|
background: ({
|
|
392
394
|
disabled
|
|
393
|
-
} = {}) => disabled ? colorMixer(theme?.palette?.
|
|
395
|
+
} = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
|
|
394
396
|
border: ({
|
|
395
397
|
disabled
|
|
396
|
-
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme
|
|
398
|
+
} = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
|
|
397
399
|
cursor: ({
|
|
398
400
|
disabled
|
|
399
401
|
} = {}) => disabled ? 'not-allowed' : 'pointer',
|
|
@@ -1026,25 +1028,6 @@ var appStore = "data:image/svg+xml,%3Csvg%20width%3D%22116%22%20height%3D%2240%2
|
|
|
1026
1028
|
|
|
1027
1029
|
var downloadApkImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQwAAABLCAYAAACFprnzAAAMPmlDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnltSIbTQpYTepEgNICWEFkB6EWyEJEAoMQaCih1ZVHAtqFjAhq6KKHZA7IidRbH3xYKKsi4W7MqbFNB1X/nefN/c+e8/Z/5z5tyZe+8AoH6cKxbnoRoA5IsKJfFhQYzRqWkM0lNAAcaADJyBJ5dXIGbFxkYBWAbbv5d31wEia684yrT+2f9fiyZfUMADAImFOINfwMuHeD8AeA1PLCkEgCjjLSYXimUYVqAtgQFCPF+GsxS4RoYzFHi33CYxng1xGwBkVS5XkgWA2iXIM4p4WVBDrQ9iFxFfKAJAnQGxf37+RD7E6RDbQhsxxDJ9ZsYPOll/08wY0uRys4awYi7yQg4WFojzuFP/z3T875KfJx30YQ2rarYkPF42Z5i3m7kTI2VYFeJeUUZ0DMRaEH8Q8uX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D+2dBh8AMXeQ1B+C3UU1D9XMVsgW6BNC9iJ4jBlyhQORb4DfF9huN87Yfp3fSgn02bb5TbQ+zaAT9C3V2ocBq6DSdCqr3jlC9H7C5Ftmm060tsAvgCfIKhzGCqwidD8pM+9ndwGRnEbwAek8H8VNOJO7rX6rgAAAABJRU5ErkJggg==";
|
|
1028
1030
|
|
|
1029
|
-
function getShortenedSubstring(name, length, allowDots = true) {
|
|
1030
|
-
if (name) {
|
|
1031
|
-
return name.length < length ? name : `${name.substr(0, length)}${allowDots && '...'}`;
|
|
1032
|
-
}
|
|
1033
|
-
return '';
|
|
1034
|
-
}
|
|
1035
|
-
function getAppDownloadLink(androidLink = '', iosLink = '') {
|
|
1036
|
-
if (typeof window !== 'undefined') {
|
|
1037
|
-
const userAgent = window.navigator?.userAgent;
|
|
1038
|
-
if (/Android/.test(userAgent) && androidLink) {
|
|
1039
|
-
return androidLink;
|
|
1040
|
-
}
|
|
1041
|
-
if (/iPad|iPhone|iPod/.test(userAgent) && iosLink) {
|
|
1042
|
-
return iosLink;
|
|
1043
|
-
}
|
|
1044
|
-
return androidLink || iosLink;
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
1031
|
function OptionList({
|
|
1049
1032
|
optionsData,
|
|
1050
1033
|
headerData,
|
|
@@ -1052,7 +1035,8 @@ function OptionList({
|
|
|
1052
1035
|
moreContent,
|
|
1053
1036
|
navDataCount,
|
|
1054
1037
|
isTutorWebsite,
|
|
1055
|
-
isLandingPages
|
|
1038
|
+
isLandingPages,
|
|
1039
|
+
onDownloadAppTriggered
|
|
1056
1040
|
}) {
|
|
1057
1041
|
const {
|
|
1058
1042
|
isPreview,
|
|
@@ -1071,7 +1055,6 @@ function OptionList({
|
|
|
1071
1055
|
};
|
|
1072
1056
|
const tabData = tabsDataModifier();
|
|
1073
1057
|
const classes = useSectionStyles$a();
|
|
1074
|
-
console.log(headerData, 'sakshat header options');
|
|
1075
1058
|
const isAndroidDelisted = headerData?.isAndroidDelisted;
|
|
1076
1059
|
const apkURL = headerData?.apkURL;
|
|
1077
1060
|
const downloadApkURL = isAndroidDelisted && apkURL ? apkURL : null;
|
|
@@ -1081,7 +1064,12 @@ function OptionList({
|
|
|
1081
1064
|
download: true,
|
|
1082
1065
|
href: headerData?.apkURL,
|
|
1083
1066
|
target: "_blank",
|
|
1084
|
-
className: classes.socialBtnItems
|
|
1067
|
+
className: classes.socialBtnItems,
|
|
1068
|
+
onClick: () => {
|
|
1069
|
+
if (typeof onDownloadAppTriggered == "function") {
|
|
1070
|
+
onDownloadAppTriggered(isAndroidDelisted, headerData?.apkURL);
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1085
1073
|
}, /*#__PURE__*/React.createElement("img", {
|
|
1086
1074
|
style: {
|
|
1087
1075
|
width: '139px',
|
|
@@ -1117,9 +1105,6 @@ function OptionList({
|
|
|
1117
1105
|
alt: "appStore"
|
|
1118
1106
|
})) : null);
|
|
1119
1107
|
};
|
|
1120
|
-
const iosLink = isTutorWebsite ? headerData?.iosDownloadLink : headerData?.iosUrl;
|
|
1121
|
-
const androidLink = isTutorWebsite ? headerData?.androidDownloadLink : headerData?.appLink;
|
|
1122
|
-
console.log(iosLink, 'sakshat ios link');
|
|
1123
1108
|
return /*#__PURE__*/React.createElement("div", {
|
|
1124
1109
|
className: classes.listSection
|
|
1125
1110
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -1143,9 +1128,9 @@ function OptionList({
|
|
|
1143
1128
|
list: moreContent,
|
|
1144
1129
|
label: 'More',
|
|
1145
1130
|
icon: arrowDown
|
|
1146
|
-
}) : null, isTutorWebsite && /*#__PURE__*/React.createElement(React.Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React.createElement(React.Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React.createElement(React.Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 ||
|
|
1131
|
+
}) : null, isTutorWebsite && /*#__PURE__*/React.createElement(React.Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React.createElement(React.Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React.createElement(React.Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 || headerData?.appLink?.length > 0 ? /*#__PURE__*/React.createElement(Button, {
|
|
1147
1132
|
data: {
|
|
1148
|
-
link:
|
|
1133
|
+
link: downloadApkURL ? downloadApkURL : headerData?.appLink,
|
|
1149
1134
|
isLink: 1,
|
|
1150
1135
|
value: downloadAppText,
|
|
1151
1136
|
isExternal: 1
|
|
@@ -1269,7 +1254,8 @@ function DesktopHeader({
|
|
|
1269
1254
|
header,
|
|
1270
1255
|
navData,
|
|
1271
1256
|
isTutorWebsite,
|
|
1272
|
-
isLandingPage = false
|
|
1257
|
+
isLandingPage = false,
|
|
1258
|
+
onDownloadAppTriggered
|
|
1273
1259
|
}) {
|
|
1274
1260
|
const {
|
|
1275
1261
|
isFixed = true
|
|
@@ -1303,7 +1289,6 @@ function DesktopHeader({
|
|
|
1303
1289
|
}
|
|
1304
1290
|
return moreContent;
|
|
1305
1291
|
};
|
|
1306
|
-
console.log(header, 'sakshat header desktop');
|
|
1307
1292
|
return /*#__PURE__*/React.createElement("nav", {
|
|
1308
1293
|
className: classes.section
|
|
1309
1294
|
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -1336,7 +1321,8 @@ function DesktopHeader({
|
|
|
1336
1321
|
isMobile: false,
|
|
1337
1322
|
isLandingPages: isLandingPage,
|
|
1338
1323
|
moreContent: moreContentFn(),
|
|
1339
|
-
isTutorWebsite: isTutorWebsite
|
|
1324
|
+
isTutorWebsite: isTutorWebsite,
|
|
1325
|
+
onDownloadAppTriggered: onDownloadAppTriggered
|
|
1340
1326
|
}))) : /*#__PURE__*/React.createElement("div", {
|
|
1341
1327
|
style: {
|
|
1342
1328
|
paddingTop: '30px'
|
|
@@ -1344,11 +1330,16 @@ function DesktopHeader({
|
|
|
1344
1330
|
}));
|
|
1345
1331
|
}
|
|
1346
1332
|
|
|
1333
|
+
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";
|
|
1334
|
+
|
|
1335
|
+
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";
|
|
1336
|
+
|
|
1347
1337
|
function MobileHeader({
|
|
1348
1338
|
header,
|
|
1349
1339
|
navData,
|
|
1350
1340
|
isTutorWebsite,
|
|
1351
|
-
isLandingPage = false
|
|
1341
|
+
isLandingPage = false,
|
|
1342
|
+
onDownloadAppTriggered
|
|
1352
1343
|
}) {
|
|
1353
1344
|
const {
|
|
1354
1345
|
isCustomWebsite,
|
|
@@ -1376,33 +1367,91 @@ function MobileHeader({
|
|
|
1376
1367
|
body?.removeAttribute('style');
|
|
1377
1368
|
}
|
|
1378
1369
|
}, [sideMenu]);
|
|
1370
|
+
let iosUrl = null;
|
|
1371
|
+
let androidUrl = null;
|
|
1379
1372
|
let downloadLink = null;
|
|
1380
1373
|
const downloadAppText = countryCode === 'KR' ? '앱다운로드' : 'Download App';
|
|
1381
|
-
const apkURL = header?.apkURL;
|
|
1382
|
-
const isAndroidDelisted = header?.isAndroidDelisted;
|
|
1383
|
-
const iosDownloadLink = header?.iosDownloadLink;
|
|
1384
|
-
const androidDownloadLink = header?.androidDownloadLink;
|
|
1385
|
-
console.log(header, 'sakshat header mobile');
|
|
1386
1374
|
if (isTutorWebsite) {
|
|
1387
|
-
|
|
1388
|
-
|
|
1375
|
+
console.log("potato");
|
|
1376
|
+
if (header?.iosUrl) {
|
|
1377
|
+
iosUrl = /*#__PURE__*/React.createElement(Button, {
|
|
1378
|
+
data: {
|
|
1379
|
+
link: header?.iosUrl,
|
|
1380
|
+
isLink: 1,
|
|
1381
|
+
value: /*#__PURE__*/React.createElement("img", {
|
|
1382
|
+
src: phoneIos,
|
|
1383
|
+
alt: "iosUrl"
|
|
1384
|
+
}),
|
|
1385
|
+
isExternal: 1
|
|
1386
|
+
},
|
|
1387
|
+
type: '',
|
|
1388
|
+
size: 'small',
|
|
1389
|
+
target: 'blank',
|
|
1390
|
+
rel: null,
|
|
1391
|
+
style: {
|
|
1392
|
+
padding: 0,
|
|
1393
|
+
paddingRight: '8px'
|
|
1394
|
+
}
|
|
1395
|
+
});
|
|
1396
|
+
}
|
|
1397
|
+
if (header?.androidURL) {
|
|
1398
|
+
androidUrl = /*#__PURE__*/React.createElement(Button, {
|
|
1389
1399
|
data: {
|
|
1390
|
-
link:
|
|
1400
|
+
link: header?.androidURL,
|
|
1391
1401
|
isLink: 1,
|
|
1402
|
+
value: /*#__PURE__*/React.createElement("img", {
|
|
1403
|
+
src: phoneAndroid,
|
|
1404
|
+
alt: "iosUrl"
|
|
1405
|
+
}),
|
|
1406
|
+
isExternal: 1
|
|
1407
|
+
},
|
|
1408
|
+
type: '',
|
|
1409
|
+
size: 'small',
|
|
1410
|
+
target: 'blank',
|
|
1411
|
+
rel: null,
|
|
1412
|
+
style: {
|
|
1413
|
+
padding: 0
|
|
1414
|
+
}
|
|
1415
|
+
});
|
|
1416
|
+
}
|
|
1417
|
+
if (header?.isAndroidDelisted && header?.apkURL) {
|
|
1418
|
+
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1419
|
+
data: {
|
|
1392
1420
|
value: downloadAppText,
|
|
1393
1421
|
isExternal: 1
|
|
1394
1422
|
},
|
|
1395
1423
|
type: 'primary',
|
|
1396
1424
|
size: 'small',
|
|
1397
1425
|
target: 'blank',
|
|
1426
|
+
rel: null,
|
|
1427
|
+
onClick: () => {
|
|
1428
|
+
window.open(header?.iosUrl ? header?.iosUrl : header?.apkURL, "_blank");
|
|
1429
|
+
if (!header?.iosUrl && typeof onDownloadAppTriggered == "function") {
|
|
1430
|
+
onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
});
|
|
1434
|
+
} else if (iosUrl && androidUrl) {
|
|
1435
|
+
downloadLink = /*#__PURE__*/React.createElement("div", null, iosUrl, androidUrl);
|
|
1436
|
+
} else if (header?.iosUrl) {
|
|
1437
|
+
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1438
|
+
data: {
|
|
1439
|
+
link: header?.iosUrl,
|
|
1440
|
+
isLink: 1,
|
|
1441
|
+
value: header?.downloadAppButtonText || downloadAppText,
|
|
1442
|
+
isExternal: 1
|
|
1443
|
+
},
|
|
1444
|
+
type: 'primary',
|
|
1445
|
+
size: 'small',
|
|
1446
|
+
target: 'blank',
|
|
1398
1447
|
rel: null
|
|
1399
1448
|
});
|
|
1400
|
-
} else if (
|
|
1449
|
+
} else if (header?.androidURL) {
|
|
1401
1450
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1402
1451
|
data: {
|
|
1403
|
-
link:
|
|
1452
|
+
link: header?.androidURL,
|
|
1404
1453
|
isLink: 1,
|
|
1405
|
-
value: downloadAppText,
|
|
1454
|
+
value: header?.downloadAppButtonText || downloadAppText,
|
|
1406
1455
|
isExternal: 1
|
|
1407
1456
|
},
|
|
1408
1457
|
type: 'primary',
|
|
@@ -1414,24 +1463,27 @@ function MobileHeader({
|
|
|
1414
1463
|
downloadLink = null;
|
|
1415
1464
|
}
|
|
1416
1465
|
} else {
|
|
1417
|
-
if (isAndroidDelisted && apkURL) {
|
|
1466
|
+
if (header?.isAndroidDelisted && header?.apkURL) {
|
|
1418
1467
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1419
1468
|
data: {
|
|
1420
|
-
link: getAppDownloadLink(header?.apkURL, header?.iosUrl),
|
|
1421
|
-
isLink: 1,
|
|
1422
1469
|
value: downloadAppText,
|
|
1423
1470
|
isExternal: 1
|
|
1424
1471
|
},
|
|
1425
1472
|
type: 'primary',
|
|
1426
1473
|
size: 'small',
|
|
1427
1474
|
target: 'blank',
|
|
1428
|
-
rel: null
|
|
1475
|
+
rel: null,
|
|
1476
|
+
onClick: () => {
|
|
1477
|
+
window.open(header?.iosUrl ? header?.iosUrl : header?.apkURL, "_blank");
|
|
1478
|
+
if (!header?.iosUrl && typeof onDownloadAppTriggered == "function") {
|
|
1479
|
+
onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1429
1482
|
});
|
|
1430
|
-
} else if (header?.appLink
|
|
1431
|
-
console.log('inside custom website');
|
|
1483
|
+
} else if (header?.appLink) {
|
|
1432
1484
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1433
1485
|
data: {
|
|
1434
|
-
link:
|
|
1486
|
+
link: header?.appLink,
|
|
1435
1487
|
isLink: 1,
|
|
1436
1488
|
value: downloadAppText,
|
|
1437
1489
|
isExternal: 1
|
|
@@ -1503,7 +1555,8 @@ function MobileHeader({
|
|
|
1503
1555
|
|
|
1504
1556
|
function Header({
|
|
1505
1557
|
data,
|
|
1506
|
-
isLandingPage
|
|
1558
|
+
isLandingPage,
|
|
1559
|
+
extraProps
|
|
1507
1560
|
}) {
|
|
1508
1561
|
const {
|
|
1509
1562
|
isMobile,
|
|
@@ -1516,12 +1569,14 @@ function Header({
|
|
|
1516
1569
|
navData: filterHiddenNavs(),
|
|
1517
1570
|
header: data,
|
|
1518
1571
|
isTutorWebsite: isTutorWebsite,
|
|
1519
|
-
isLandingPage: isLandingPage
|
|
1572
|
+
isLandingPage: isLandingPage,
|
|
1573
|
+
onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
|
|
1520
1574
|
}) : /*#__PURE__*/React.createElement(DesktopHeader, {
|
|
1521
1575
|
navData: filterHiddenNavs(),
|
|
1522
1576
|
header: data,
|
|
1523
1577
|
isTutorWebsite: isTutorWebsite,
|
|
1524
|
-
isLandingPage: isLandingPage
|
|
1578
|
+
isLandingPage: isLandingPage,
|
|
1579
|
+
onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
|
|
1525
1580
|
});
|
|
1526
1581
|
}
|
|
1527
1582
|
|
|
@@ -1560,7 +1615,6 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1560
1615
|
|
|
1561
1616
|
// '& img': { maxHeight: '55px' }
|
|
1562
1617
|
},
|
|
1563
|
-
|
|
1564
1618
|
upperContainerItem1Img: {
|
|
1565
1619
|
maxHeight: '55px',
|
|
1566
1620
|
paddingBottom: '84px',
|
|
@@ -1987,7 +2041,6 @@ const mobilePadding = {
|
|
|
1987
2041
|
// 24px
|
|
1988
2042
|
medium: baseFactor * 6 // 48px
|
|
1989
2043
|
};
|
|
1990
|
-
|
|
1991
2044
|
const padding = {
|
|
1992
2045
|
minute: baseFactor * 2,
|
|
1993
2046
|
// 16px
|
|
@@ -2047,13 +2100,17 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
|
2047
2100
|
const shape = {
|
|
2048
2101
|
borderRadius
|
|
2049
2102
|
};
|
|
2103
|
+
const spacing = {
|
|
2104
|
+
padding: isMobile ? mobilePadding : padding,
|
|
2105
|
+
margin: isMobile ? mobileMargin : margin
|
|
2106
|
+
};
|
|
2050
2107
|
return {
|
|
2051
2108
|
palette,
|
|
2052
2109
|
shape,
|
|
2053
2110
|
typography,
|
|
2054
2111
|
shadows: generateShadows(palette),
|
|
2055
|
-
borders: generateBorders(palette)
|
|
2056
|
-
|
|
2112
|
+
borders: generateBorders(palette),
|
|
2113
|
+
spacing
|
|
2057
2114
|
};
|
|
2058
2115
|
}
|
|
2059
2116
|
|
|
@@ -2175,178 +2232,6 @@ const defaultMetadata = {
|
|
|
2175
2232
|
layout: defaultLayout
|
|
2176
2233
|
};
|
|
2177
2234
|
|
|
2178
|
-
const GRADIENT = `linear-gradient`;
|
|
2179
|
-
const allColors = {
|
|
2180
|
-
white: '#FFFFFF',
|
|
2181
|
-
black: '#000000',
|
|
2182
|
-
lightblack: '#333333',
|
|
2183
|
-
gray: '#999999',
|
|
2184
|
-
bannerRed: '#EB5757',
|
|
2185
|
-
// Blue gradient
|
|
2186
|
-
|
|
2187
|
-
blue: '#1676F3',
|
|
2188
|
-
bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
|
|
2189
|
-
tertiaryblue: '#F4F9FF',
|
|
2190
|
-
// Orange gradient
|
|
2191
|
-
|
|
2192
|
-
orange: '#FF9000',
|
|
2193
|
-
orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
|
|
2194
|
-
tertiaryorange: '#FFF6EA',
|
|
2195
|
-
// Pink gradient
|
|
2196
|
-
|
|
2197
|
-
pink: '#F72585',
|
|
2198
|
-
pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
|
|
2199
|
-
tertiarypink: '#FEE9F3',
|
|
2200
|
-
// Violet gradient
|
|
2201
|
-
|
|
2202
|
-
violet: '#6026A8',
|
|
2203
|
-
violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
|
|
2204
|
-
tertiaryviolet: '#F5F2FA',
|
|
2205
|
-
// Teal gradient
|
|
2206
|
-
|
|
2207
|
-
teal: '#46A9A9',
|
|
2208
|
-
tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
|
|
2209
|
-
tertiaryteal: '#F4FAFA',
|
|
2210
|
-
//Red solid
|
|
2211
|
-
|
|
2212
|
-
red: '#F41828',
|
|
2213
|
-
tertiaryred: '#FFF2F3',
|
|
2214
|
-
// Green
|
|
2215
|
-
|
|
2216
|
-
green: '#8ECE19',
|
|
2217
|
-
tertiarygreen: '#F4FAFA',
|
|
2218
|
-
//Maroon solid
|
|
2219
|
-
|
|
2220
|
-
rust: '#9B2226',
|
|
2221
|
-
tertiaryrust: '#FFF0F0',
|
|
2222
|
-
//Purple solid
|
|
2223
|
-
|
|
2224
|
-
purple: '#6269C9',
|
|
2225
|
-
tertiarypurple: '#F4F6FF',
|
|
2226
|
-
//Golden gradient
|
|
2227
|
-
|
|
2228
|
-
golden: `#F2BA35`,
|
|
2229
|
-
goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
|
|
2230
|
-
//light green gradient
|
|
2231
|
-
|
|
2232
|
-
lightgreen: `#D6E359`,
|
|
2233
|
-
lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
|
|
2234
|
-
//light blue gradient
|
|
2235
|
-
|
|
2236
|
-
lightblue: `#A8EDF8`,
|
|
2237
|
-
lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
|
|
2238
|
-
skyblue: '#00ADE7',
|
|
2239
|
-
tertiaryskyblue: '#F2FCFF'
|
|
2240
|
-
};
|
|
2241
|
-
|
|
2242
|
-
const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
|
|
2243
|
-
let themeColor = theme.split('-');
|
|
2244
|
-
let color, gradient, darkMode;
|
|
2245
|
-
if (themeColor.length === 1) {
|
|
2246
|
-
color = themeColor[0] == 'default' ? 'skyblue' : themeColor[0];
|
|
2247
|
-
} else if (themeColor.length === 2) {
|
|
2248
|
-
color = themeColor[0];
|
|
2249
|
-
gradient = themeColor[1];
|
|
2250
|
-
} else {
|
|
2251
|
-
color = themeColor[0];
|
|
2252
|
-
gradient = themeColor[1];
|
|
2253
|
-
darkMode = themeColor[2];
|
|
2254
|
-
}
|
|
2255
|
-
console.log('color', allColors, gradient, darkMode);
|
|
2256
|
-
|
|
2257
|
-
// switch (color) {
|
|
2258
|
-
// case solidColors:
|
|
2259
|
-
// break;
|
|
2260
|
-
|
|
2261
|
-
// case gradientColors:
|
|
2262
|
-
// break;
|
|
2263
|
-
|
|
2264
|
-
// default:
|
|
2265
|
-
// break;
|
|
2266
|
-
// }
|
|
2267
|
-
|
|
2268
|
-
// type 1
|
|
2269
|
-
// const solidColors = {
|
|
2270
|
-
// font1: solidBaseColors?.black,
|
|
2271
|
-
// font2: solidBaseColors?.black,
|
|
2272
|
-
// font3: solidBaseColors?.black,
|
|
2273
|
-
// font4: solidBaseColors?.black,
|
|
2274
|
-
// AccentColor: solidBaseColors[theme],
|
|
2275
|
-
// background1: solidBaseColors?.white,
|
|
2276
|
-
// background2: solidBaseColors['tertiary' + theme],
|
|
2277
|
-
// background3: solidBaseColors['tertiary' + theme],
|
|
2278
|
-
// ctaColor: solidBaseColors[theme],
|
|
2279
|
-
// CtaTextColor: solidBaseColors?.white,
|
|
2280
|
-
// icon: solidBaseColors[theme],
|
|
2281
|
-
// iconBg: solidBaseColors['tertiary' + theme],
|
|
2282
|
-
// stripBg: solidBaseColors[theme],
|
|
2283
|
-
// stripText: solidBaseColors?.white,
|
|
2284
|
-
// inputBorderColor: solidBaseColors?.blue2,
|
|
2285
|
-
// tertiaryBlue2: solidBaseColors?.tertiaryblue2
|
|
2286
|
-
// };
|
|
2287
|
-
|
|
2288
|
-
//type 2
|
|
2289
|
-
// const gradientColors = {
|
|
2290
|
-
// font1: gradientBaseColors?.white,
|
|
2291
|
-
// font2: gradientBaseColors?.black,
|
|
2292
|
-
// font3: gradientBaseColors?.black,
|
|
2293
|
-
// font4: gradientBaseColors?.white,
|
|
2294
|
-
// AccentColor: gradientBaseColors[theme],
|
|
2295
|
-
// background1: gradientBaseColors[theme + 'gradient'],
|
|
2296
|
-
// background2: gradientBaseColors['tertiary' + theme],
|
|
2297
|
-
// background3: gradientBaseColors[theme + 'gradient'],
|
|
2298
|
-
// ctaColor: gradientBaseColors[theme + 'gradient'],
|
|
2299
|
-
// CtaTextColor: gradientBaseColors?.white,
|
|
2300
|
-
// icon: gradientBaseColors[theme],
|
|
2301
|
-
// iconBg: gradientBaseColors['tertiary' + theme],
|
|
2302
|
-
// stripBg: gradientBaseColors?.black,
|
|
2303
|
-
// stripText: gradientBaseColors?.white
|
|
2304
|
-
// };
|
|
2305
|
-
|
|
2306
|
-
const colors = {
|
|
2307
|
-
font1: gradient ? allColors?.white : allColors?.black,
|
|
2308
|
-
font2: darkMode ? allColors[color] : allColors?.black,
|
|
2309
|
-
font3: darkMode ? allColors?.white : allColors?.black,
|
|
2310
|
-
font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
|
|
2311
|
-
AccentColor: allColors[color],
|
|
2312
|
-
background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
|
|
2313
|
-
background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2314
|
-
background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
|
|
2315
|
-
ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
|
|
2316
|
-
CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2317
|
-
icon: allColors[color],
|
|
2318
|
-
iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2319
|
-
stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
|
|
2320
|
-
stripText: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2321
|
-
inputBorderColor: allColors?.blue2,
|
|
2322
|
-
tertiaryBlue2: allColors?.tertiaryblue2,
|
|
2323
|
-
white: allColors?.white,
|
|
2324
|
-
black: allColors?.black,
|
|
2325
|
-
lightblack: allColors?.lightblack,
|
|
2326
|
-
gray: allColors?.gray,
|
|
2327
|
-
bannerColor: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.bannerRed,
|
|
2328
|
-
bannerCtaColor: gradient ? allColors?.lightblack : allColors?.white,
|
|
2329
|
-
headerText: allColors[color],
|
|
2330
|
-
headerHover: allColors['tertiary' + color]
|
|
2331
|
-
};
|
|
2332
|
-
const typography = {
|
|
2333
|
-
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
2334
|
-
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
2335
|
-
fontWeight
|
|
2336
|
-
};
|
|
2337
|
-
// const shape = { borderRadius };
|
|
2338
|
-
const spacing = {
|
|
2339
|
-
padding: isMobile ? mobilePadding : padding,
|
|
2340
|
-
margin: isMobile ? mobileMargin : margin
|
|
2341
|
-
};
|
|
2342
|
-
return {
|
|
2343
|
-
...getTheme(theme),
|
|
2344
|
-
typography,
|
|
2345
|
-
spacing,
|
|
2346
|
-
colors
|
|
2347
|
-
};
|
|
2348
|
-
};
|
|
2349
|
-
|
|
2350
2235
|
function PageRenderer$1({
|
|
2351
2236
|
pageData: {
|
|
2352
2237
|
metadata: {
|
|
@@ -2403,7 +2288,7 @@ function PageRenderer$1({
|
|
|
2403
2288
|
countryCode,
|
|
2404
2289
|
currencySymbol
|
|
2405
2290
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
2406
|
-
const theme = useMemo(() =>
|
|
2291
|
+
const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2407
2292
|
const Wrapper = SectionWrapper || Fragment;
|
|
2408
2293
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
2409
2294
|
theme: theme
|
|
@@ -2441,7 +2326,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2441
2326
|
padding: ({
|
|
2442
2327
|
isMobile
|
|
2443
2328
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
2444
|
-
|
|
2329
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
2445
2330
|
'&, & *, & *:before, & *:after': {
|
|
2446
2331
|
fontFamily: theme?.typography?.fontFamily,
|
|
2447
2332
|
boxSizing: 'border-box'
|
|
@@ -2453,7 +2338,6 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2453
2338
|
// }
|
|
2454
2339
|
// }
|
|
2455
2340
|
},
|
|
2456
|
-
|
|
2457
2341
|
sectionContainer: {
|
|
2458
2342
|
margin: '0 auto',
|
|
2459
2343
|
maxWidth: ({
|
|
@@ -2499,14 +2383,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2499
2383
|
marginBottom: '8px',
|
|
2500
2384
|
fontSize: theme.typography.fontSize.subHead,
|
|
2501
2385
|
letterSpacing: '3px',
|
|
2502
|
-
color: theme?.
|
|
2386
|
+
color: theme?.palette?.font?.default,
|
|
2503
2387
|
wordBreak: 'break-word',
|
|
2504
2388
|
maxWidth: '100%'
|
|
2505
2389
|
},
|
|
2506
2390
|
heading: {
|
|
2507
2391
|
margin: '0',
|
|
2508
2392
|
fontSize: theme.typography.fontSize.h1,
|
|
2509
|
-
color: theme?.
|
|
2393
|
+
color: theme?.palette?.font?.default,
|
|
2510
2394
|
wordBreak: ({
|
|
2511
2395
|
wordBreakValue
|
|
2512
2396
|
}) => wordBreakValue || 'break-word',
|
|
@@ -2515,7 +2399,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2515
2399
|
},
|
|
2516
2400
|
description: {
|
|
2517
2401
|
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2518
|
-
color: theme?.
|
|
2402
|
+
color: theme?.palette?.font?.primary,
|
|
2519
2403
|
lineHeight: '24px',
|
|
2520
2404
|
wordBreak: 'break-word'
|
|
2521
2405
|
},
|
|
@@ -2632,7 +2516,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2632
2516
|
width: '26px',
|
|
2633
2517
|
background: ({
|
|
2634
2518
|
inverted
|
|
2635
|
-
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.
|
|
2519
|
+
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
|
|
2636
2520
|
},
|
|
2637
2521
|
'@media screen and (max-width: 767px)': {
|
|
2638
2522
|
sliderClass: {
|
|
@@ -2668,7 +2552,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2668
2552
|
height: sizeHandler,
|
|
2669
2553
|
border: ({
|
|
2670
2554
|
inverted
|
|
2671
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2555
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
|
|
2672
2556
|
borderRadius: '50%',
|
|
2673
2557
|
display: 'flex',
|
|
2674
2558
|
justifyContent: 'center',
|
|
@@ -2690,7 +2574,7 @@ function ArrowButton(props) {
|
|
|
2690
2574
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
2691
2575
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2692
2576
|
name: "Angle",
|
|
2693
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2577
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
|
|
2694
2578
|
inverted: true
|
|
2695
2579
|
}));
|
|
2696
2580
|
}
|
|
@@ -2900,6 +2784,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2900
2784
|
justifyContent: 'center',
|
|
2901
2785
|
flexDirection: 'column',
|
|
2902
2786
|
alignItems: 'center',
|
|
2787
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
2903
2788
|
'&, & *, & *:before, & *:after': {
|
|
2904
2789
|
fontFamily: theme?.typography?.fontFamily,
|
|
2905
2790
|
boxSizing: 'border-box'
|
|
@@ -2917,7 +2802,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2917
2802
|
subTitleHeading: {
|
|
2918
2803
|
marginBottom: '8px',
|
|
2919
2804
|
fontSize: theme.typography.fontSize.subHead,
|
|
2920
|
-
color: theme?.
|
|
2805
|
+
color: theme?.palette?.font?.default,
|
|
2921
2806
|
alignItems: 'center',
|
|
2922
2807
|
textAlign: 'center',
|
|
2923
2808
|
wordBreak: 'break-word',
|
|
@@ -2927,7 +2812,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2927
2812
|
heading: {
|
|
2928
2813
|
marginBottom: theme.spacing.margin.tiny,
|
|
2929
2814
|
fontSize: theme.typography.fontSize.h2,
|
|
2930
|
-
color: theme?.
|
|
2815
|
+
color: theme?.palette?.font?.default,
|
|
2931
2816
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2932
2817
|
textAlign: 'center',
|
|
2933
2818
|
wordBreak: 'break-word'
|
|
@@ -2944,7 +2829,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2944
2829
|
display: 'flex',
|
|
2945
2830
|
width: 'calc(100% - 200px)',
|
|
2946
2831
|
alignItems: 'center',
|
|
2947
|
-
background: theme?.
|
|
2832
|
+
background: theme?.palette?.background?.default,
|
|
2948
2833
|
boxShadow: theme?.shadows?.primary,
|
|
2949
2834
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2950
2835
|
overflow: 'hidden',
|
|
@@ -2968,13 +2853,33 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2968
2853
|
'& $contentText': {
|
|
2969
2854
|
marginLeft: '170px'
|
|
2970
2855
|
}
|
|
2856
|
+
},
|
|
2857
|
+
'&:nth-child(7n+1) $contentNumber': {
|
|
2858
|
+
background: palettes.purple.primary.lightest
|
|
2859
|
+
},
|
|
2860
|
+
'&:nth-child(7n+2) $contentNumber': {
|
|
2861
|
+
background: palettes.orange.primary.lightest
|
|
2862
|
+
},
|
|
2863
|
+
'&:nth-child(7n+3) $contentNumber': {
|
|
2864
|
+
background: palettes.red.primary.lightest
|
|
2865
|
+
},
|
|
2866
|
+
'&:nth-child(7n+4) $contentNumber': {
|
|
2867
|
+
background: palettes.green.primary.lightest
|
|
2868
|
+
},
|
|
2869
|
+
'&:nth-child(7n+5) $contentNumber': {
|
|
2870
|
+
background: palettes.pink.primary.lightest
|
|
2871
|
+
},
|
|
2872
|
+
'&:nth-child(7n+6) $contentNumber': {
|
|
2873
|
+
background: palettes.blue.primary.lightest
|
|
2874
|
+
},
|
|
2875
|
+
'&:nth-child(7n) $contentNumber': {
|
|
2876
|
+
background: palettes.rust.primary.lightest
|
|
2971
2877
|
}
|
|
2972
2878
|
},
|
|
2973
2879
|
contentNumber: {
|
|
2974
2880
|
position: 'absolute',
|
|
2975
2881
|
top: '0',
|
|
2976
2882
|
fontWeight: '700',
|
|
2977
|
-
background: theme?.colors?.background3,
|
|
2978
2883
|
fontSize: '72px',
|
|
2979
2884
|
letterSpacing: '-3px',
|
|
2980
2885
|
display: 'flex',
|
|
@@ -2982,7 +2887,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2982
2887
|
justifyContent: 'center',
|
|
2983
2888
|
padding: '48px',
|
|
2984
2889
|
height: '100%',
|
|
2985
|
-
color: theme?.
|
|
2890
|
+
color: theme?.palette?.font?.default,
|
|
2986
2891
|
wordBreak: 'break-word'
|
|
2987
2892
|
},
|
|
2988
2893
|
contentText: {
|
|
@@ -2994,14 +2899,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2994
2899
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2995
2900
|
lineHeight: '32px',
|
|
2996
2901
|
marginBottom: '8px',
|
|
2997
|
-
color: theme?.
|
|
2902
|
+
color: theme?.palette?.font?.default,
|
|
2998
2903
|
wordBreak: 'break-word'
|
|
2999
2904
|
},
|
|
3000
2905
|
contentPara: {
|
|
3001
2906
|
fontStyle: 'normal',
|
|
3002
2907
|
fontSize: '16px',
|
|
3003
2908
|
lineHeight: '26px',
|
|
3004
|
-
color: theme?.
|
|
2909
|
+
color: theme?.palette?.font?.primary,
|
|
3005
2910
|
wordBreak: 'break-word'
|
|
3006
2911
|
},
|
|
3007
2912
|
'@media screen and (max-width: 767px)': {
|
|
@@ -3023,7 +2928,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3023
2928
|
// padding: '0'
|
|
3024
2929
|
}
|
|
3025
2930
|
},
|
|
3026
|
-
|
|
3027
2931
|
'&:nth-child(2n+1)': {
|
|
3028
2932
|
marginRight: '0',
|
|
3029
2933
|
'& $contentText': {
|
|
@@ -3033,7 +2937,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3033
2937
|
}
|
|
3034
2938
|
}
|
|
3035
2939
|
},
|
|
3036
|
-
|
|
3037
2940
|
contentNumber: {
|
|
3038
2941
|
width: '100%',
|
|
3039
2942
|
padding: '24px',
|
|
@@ -3414,7 +3317,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3414
3317
|
return {
|
|
3415
3318
|
section: {
|
|
3416
3319
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3417
|
-
background: theme?.colors?.background2,
|
|
3418
3320
|
'&, & *, & *:before, & *:after': {
|
|
3419
3321
|
fontFamily: theme?.typography?.fontFamily,
|
|
3420
3322
|
boxSizing: 'border-box'
|
|
@@ -3426,7 +3328,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3426
3328
|
// }
|
|
3427
3329
|
// }
|
|
3428
3330
|
},
|
|
3429
|
-
|
|
3430
3331
|
sectionContainer: {
|
|
3431
3332
|
margin: '0 auto',
|
|
3432
3333
|
maxWidth: ({
|
|
@@ -3440,7 +3341,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3440
3341
|
|
|
3441
3342
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3442
3343
|
},
|
|
3443
|
-
|
|
3444
3344
|
imageContainerDiv: {
|
|
3445
3345
|
width: '50%',
|
|
3446
3346
|
position: 'relative'
|
|
@@ -3458,7 +3358,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3458
3358
|
}
|
|
3459
3359
|
},
|
|
3460
3360
|
imageBorder: {
|
|
3461
|
-
|
|
3361
|
+
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3462
3362
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3463
3363
|
position: 'absolute',
|
|
3464
3364
|
width: '100%',
|
|
@@ -3483,13 +3383,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3483
3383
|
marginBottom: '8px',
|
|
3484
3384
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3485
3385
|
letterSpacing: '3px',
|
|
3486
|
-
color: theme?.
|
|
3386
|
+
color: theme?.palette?.font?.default,
|
|
3487
3387
|
wordBreak: 'break-word'
|
|
3488
3388
|
},
|
|
3489
3389
|
heading: {
|
|
3490
3390
|
margin: '0',
|
|
3491
3391
|
fontSize: theme?.typography?.fontSize?.h1,
|
|
3492
|
-
color: theme?.
|
|
3392
|
+
color: theme?.palette?.font?.default,
|
|
3493
3393
|
wordBreak: ({
|
|
3494
3394
|
wordBreakValue
|
|
3495
3395
|
}) => wordBreakValue || 'break-word',
|
|
@@ -3499,7 +3399,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3499
3399
|
description: {
|
|
3500
3400
|
marginTop: theme.spacing.margin.tiny,
|
|
3501
3401
|
marginBottom: theme.spacing.margin.tiny,
|
|
3502
|
-
color: theme?.
|
|
3402
|
+
color: theme?.palette?.font?.primary,
|
|
3503
3403
|
lineHeight: '24px',
|
|
3504
3404
|
wordBreak: 'break-word'
|
|
3505
3405
|
},
|
|
@@ -3512,7 +3412,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3512
3412
|
width: '100%'
|
|
3513
3413
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3514
3414
|
},
|
|
3515
|
-
|
|
3516
3415
|
imageContainer: {
|
|
3517
3416
|
height: 'unset !important',
|
|
3518
3417
|
'& img': {
|
|
@@ -3665,16 +3564,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3665
3564
|
containerWidth
|
|
3666
3565
|
} = {}) => containerWidth
|
|
3667
3566
|
},
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3567
|
+
partialBackground: {
|
|
3568
|
+
top: '0',
|
|
3569
|
+
left: '0',
|
|
3570
|
+
width: '100%',
|
|
3571
|
+
height: '50%',
|
|
3572
|
+
position: 'absolute',
|
|
3573
|
+
background: theme?.palette?.background?.primary
|
|
3574
|
+
},
|
|
3676
3575
|
sectionContainer: {
|
|
3677
|
-
backgroundColor: theme?.
|
|
3576
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
3678
3577
|
boxShadow: theme?.shadows?.secondary,
|
|
3679
3578
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3680
3579
|
padding: theme.spacing.padding.small,
|
|
@@ -3685,7 +3584,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3685
3584
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3686
3585
|
lineHeight: '71px',
|
|
3687
3586
|
letterSpacing: '-3px',
|
|
3688
|
-
color: theme?.
|
|
3587
|
+
color: theme?.palette?.font?.default,
|
|
3689
3588
|
marginBottom: theme.spacing.padding.tiny,
|
|
3690
3589
|
wordBreak: 'break-word'
|
|
3691
3590
|
},
|
|
@@ -3697,7 +3596,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3697
3596
|
title: {
|
|
3698
3597
|
fontSize: theme.typography.fontSize.h6,
|
|
3699
3598
|
lineHeight: '32px',
|
|
3700
|
-
color: theme?.
|
|
3599
|
+
color: theme?.palette?.font?.primary,
|
|
3701
3600
|
wordBreak: 'break-word',
|
|
3702
3601
|
flex: 1
|
|
3703
3602
|
},
|
|
@@ -3825,8 +3724,8 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3825
3724
|
inputField: {
|
|
3826
3725
|
width: '100%',
|
|
3827
3726
|
// maxWidth: '314px',
|
|
3828
|
-
|
|
3829
|
-
border: `1px solid ${theme?.
|
|
3727
|
+
background: theme?.palette?.background?.default,
|
|
3728
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
3830
3729
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3831
3730
|
padding: '14px 12px',
|
|
3832
3731
|
display: 'flex',
|
|
@@ -3840,7 +3739,7 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3840
3739
|
fontWeight: '400',
|
|
3841
3740
|
fontSize: '16px',
|
|
3842
3741
|
lineHeight: '20px',
|
|
3843
|
-
color: theme?.
|
|
3742
|
+
color: theme?.palette?.font?.primary,
|
|
3844
3743
|
fontFamily: theme?.typography?.fontFamily
|
|
3845
3744
|
},
|
|
3846
3745
|
'&:focus': {
|
|
@@ -4040,6 +3939,7 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
4040
3939
|
|
|
4041
3940
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
4042
3941
|
testimonialContainer: {
|
|
3942
|
+
background: theme?.palette?.background?.primary,
|
|
4043
3943
|
overflow: 'hidden',
|
|
4044
3944
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4045
3945
|
'&, & *, & *:before, & *:after': {
|
|
@@ -4057,14 +3957,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4057
3957
|
} = {}) => containerWidth
|
|
4058
3958
|
},
|
|
4059
3959
|
testimonialText: {
|
|
4060
|
-
color: theme?.
|
|
3960
|
+
color: theme?.palette?.font?.default,
|
|
4061
3961
|
fontSize: theme.typography.fontSize.subHead,
|
|
4062
3962
|
wordBreak: 'break-word',
|
|
4063
3963
|
textTransform: 'uppercase'
|
|
4064
3964
|
},
|
|
4065
3965
|
testimonialHeader: {
|
|
4066
3966
|
fontSize: theme.typography.fontSize.h2,
|
|
4067
|
-
color: theme?.
|
|
3967
|
+
color: theme?.palette?.font?.default,
|
|
4068
3968
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4069
3969
|
marginBottom: theme.spacing.margin.tiny,
|
|
4070
3970
|
marginTop: '8px',
|
|
@@ -4081,7 +3981,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4081
3981
|
position: 'relative',
|
|
4082
3982
|
height: 'calc(100% - 12px)',
|
|
4083
3983
|
width: 'calc(100% - 24px)',
|
|
4084
|
-
background: theme?.
|
|
3984
|
+
background: theme?.palette?.background?.default,
|
|
4085
3985
|
boxShadow: theme?.shadows?.primary,
|
|
4086
3986
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
4087
3987
|
},
|
|
@@ -4108,7 +4008,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4108
4008
|
marginBottom: theme.spacing.margin.tiny,
|
|
4109
4009
|
fontSize: theme.typography.fontSize.body,
|
|
4110
4010
|
wordBreak: 'break-word',
|
|
4111
|
-
color: theme?.
|
|
4011
|
+
color: theme?.palette?.font?.primary,
|
|
4112
4012
|
lineHeight: '26px'
|
|
4113
4013
|
},
|
|
4114
4014
|
userContainer: {
|
|
@@ -4137,7 +4037,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4137
4037
|
marginRight: '16px'
|
|
4138
4038
|
},
|
|
4139
4039
|
userName: {
|
|
4140
|
-
color: theme?.
|
|
4040
|
+
color: theme?.palette?.font?.default,
|
|
4141
4041
|
margin: '0',
|
|
4142
4042
|
fontSize: theme.typography.fontSize.h5,
|
|
4143
4043
|
// paddingTop: '16px',
|
|
@@ -4156,6 +4056,19 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4156
4056
|
testimonialContainer: {
|
|
4157
4057
|
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
4158
4058
|
},
|
|
4059
|
+
// testimonialCardAndText: {
|
|
4060
|
+
// margin: '0 20px'
|
|
4061
|
+
// },
|
|
4062
|
+
|
|
4063
|
+
// testimonialHeader: {
|
|
4064
|
+
// fontSize: '24px',
|
|
4065
|
+
// color: theme?.palette?.font?.default,
|
|
4066
|
+
// margin: '4px 0 12px 0',
|
|
4067
|
+
// overflow: 'hidden',
|
|
4068
|
+
// // whiteSpace: 'nowrap',
|
|
4069
|
+
// wordBreak: 'break-word',
|
|
4070
|
+
// textOverflow: 'ellipsis'
|
|
4071
|
+
// },
|
|
4159
4072
|
testimonialText: {
|
|
4160
4073
|
textAlign: 'center'
|
|
4161
4074
|
},
|
|
@@ -4208,7 +4121,7 @@ function QuotesComponent() {
|
|
|
4208
4121
|
width: "28px",
|
|
4209
4122
|
height: "21px",
|
|
4210
4123
|
name: "Quote",
|
|
4211
|
-
color: theme?.
|
|
4124
|
+
color: theme?.palette?.primary?.main
|
|
4212
4125
|
}));
|
|
4213
4126
|
}
|
|
4214
4127
|
|
|
@@ -4519,7 +4432,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4519
4432
|
fontFamily: theme?.typography?.fontFamily
|
|
4520
4433
|
// boxSizing: 'border-box'
|
|
4521
4434
|
},
|
|
4522
|
-
|
|
4523
4435
|
'& h2,& h3,& p': {
|
|
4524
4436
|
marginTop: '0'
|
|
4525
4437
|
}
|
|
@@ -4544,7 +4456,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4544
4456
|
wordBreak: 'break-word'
|
|
4545
4457
|
// marginBottom: '8px'
|
|
4546
4458
|
},
|
|
4547
|
-
|
|
4548
4459
|
videoTestimonialTitle: {
|
|
4549
4460
|
fontSize: theme.typography.fontSize.h2,
|
|
4550
4461
|
// lineHeight: '71px',
|
|
@@ -4738,7 +4649,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4738
4649
|
padding: ({
|
|
4739
4650
|
isMobile
|
|
4740
4651
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4741
|
-
backgroundColor: theme?.
|
|
4652
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
4742
4653
|
'&, & *, & *:before, & *:after': {
|
|
4743
4654
|
fontFamily: theme?.typography?.fontFamily,
|
|
4744
4655
|
boxSizing: 'border-box'
|
|
@@ -4761,7 +4672,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4761
4672
|
fontSize: theme.typography.fontSize.subHead,
|
|
4762
4673
|
textTransform: 'uppercase',
|
|
4763
4674
|
lineHeight: '20px',
|
|
4764
|
-
color: theme?.
|
|
4675
|
+
color: theme?.palette?.font?.default,
|
|
4765
4676
|
letterSpacing: '3px',
|
|
4766
4677
|
wordBreak: 'break-word'
|
|
4767
4678
|
},
|
|
@@ -4772,14 +4683,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4772
4683
|
letterSpacing: '-3px',
|
|
4773
4684
|
marginBottom: theme.spacing.margin.tiny,
|
|
4774
4685
|
marginTop: '8px',
|
|
4775
|
-
color: theme?.
|
|
4686
|
+
color: theme?.palette?.font?.default,
|
|
4776
4687
|
wordBreak: 'break-word'
|
|
4777
4688
|
},
|
|
4778
4689
|
sliderContainer: {
|
|
4779
4690
|
marginRight: `-${theme.spacing.padding.medium}px`
|
|
4780
4691
|
},
|
|
4781
4692
|
singleSlideContainer: {
|
|
4782
|
-
backgroundColor:
|
|
4693
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
4783
4694
|
// margin: '20px',
|
|
4784
4695
|
width: 'calc(100% - 24px)',
|
|
4785
4696
|
height: 'calc(100% - 40px)',
|
|
@@ -4816,14 +4727,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4816
4727
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4817
4728
|
lineHeight: '32px',
|
|
4818
4729
|
marginBottom: '8px',
|
|
4819
|
-
color: theme?.
|
|
4730
|
+
color: theme?.palette?.font?.default,
|
|
4820
4731
|
wordBreak: 'break-word'
|
|
4821
4732
|
},
|
|
4822
4733
|
videoDetailsSubHeading: {
|
|
4823
4734
|
fontSize: theme.typography.fontSize.body,
|
|
4824
4735
|
lineHeight: '24px',
|
|
4825
4736
|
wordBreak: 'break-word',
|
|
4826
|
-
color: theme?.
|
|
4737
|
+
color: theme?.palette?.font?.primary
|
|
4827
4738
|
},
|
|
4828
4739
|
'@media (max-width: 767px)': {
|
|
4829
4740
|
videoHeading: {
|
|
@@ -4970,10 +4881,11 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4970
4881
|
|
|
4971
4882
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4972
4883
|
section: {
|
|
4884
|
+
position: 'relative',
|
|
4973
4885
|
padding: ({
|
|
4974
4886
|
isMobile
|
|
4975
4887
|
} = {}) => 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`,
|
|
4976
|
-
|
|
4888
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
4977
4889
|
'&, & *, & *:before, & *:after': {
|
|
4978
4890
|
fontFamily: theme?.typography?.fontFamily,
|
|
4979
4891
|
boxSizing: 'border-box'
|
|
@@ -4985,20 +4897,27 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4985
4897
|
// }
|
|
4986
4898
|
// }
|
|
4987
4899
|
},
|
|
4988
|
-
|
|
4989
4900
|
sectionContainer: {
|
|
4990
4901
|
margin: '0 auto',
|
|
4991
4902
|
maxWidth: ({
|
|
4992
4903
|
containerWidth
|
|
4993
4904
|
} = {}) => containerWidth
|
|
4994
4905
|
},
|
|
4906
|
+
partialBackground: {
|
|
4907
|
+
position: 'absolute',
|
|
4908
|
+
top: '0',
|
|
4909
|
+
left: '0',
|
|
4910
|
+
height: '50%',
|
|
4911
|
+
background: theme?.palette?.background?.primary,
|
|
4912
|
+
width: '100%'
|
|
4913
|
+
},
|
|
4995
4914
|
content: {
|
|
4996
4915
|
position: 'relative'
|
|
4997
4916
|
},
|
|
4998
4917
|
subTitleHeading: {
|
|
4999
4918
|
width: '100%',
|
|
5000
4919
|
fontSize: theme.typography.fontSize.subHead,
|
|
5001
|
-
color: theme?.
|
|
4920
|
+
color: theme?.palette?.font?.default,
|
|
5002
4921
|
textTransform: 'uppercase',
|
|
5003
4922
|
textAlign: 'left',
|
|
5004
4923
|
lineHeight: '20px',
|
|
@@ -5010,7 +4929,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5010
4929
|
fontSize: theme.typography.fontSize.h2,
|
|
5011
4930
|
width: '100%',
|
|
5012
4931
|
lineHeight: '70px',
|
|
5013
|
-
color: theme?.
|
|
4932
|
+
color: theme?.palette?.font?.default,
|
|
5014
4933
|
textAlign: 'left',
|
|
5015
4934
|
wordBreak: 'break-word'
|
|
5016
4935
|
},
|
|
@@ -5020,7 +4939,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5020
4939
|
// },
|
|
5021
4940
|
|
|
5022
4941
|
card: {
|
|
5023
|
-
background: theme?.
|
|
4942
|
+
background: theme?.palette?.background?.default,
|
|
5024
4943
|
boxShadow: theme?.shadows?.primary,
|
|
5025
4944
|
borderRadius: theme.shape.borderRadius.large,
|
|
5026
4945
|
margin: ({
|
|
@@ -5041,7 +4960,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5041
4960
|
textAlign: 'center',
|
|
5042
4961
|
fontSize: theme.typography.fontSize.h6,
|
|
5043
4962
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5044
|
-
color: theme?.
|
|
4963
|
+
color: theme?.palette?.font?.default,
|
|
5045
4964
|
margin: `16px 0px`,
|
|
5046
4965
|
wordBreak: 'break-word'
|
|
5047
4966
|
},
|
|
@@ -5053,7 +4972,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5053
4972
|
alignItems: 'center',
|
|
5054
4973
|
justifyContent: 'center',
|
|
5055
4974
|
borderRadius: '50%',
|
|
5056
|
-
background: theme?.
|
|
4975
|
+
background: theme?.palette?.background?.primary
|
|
5057
4976
|
},
|
|
5058
4977
|
buttonContainerClass: {
|
|
5059
4978
|
marginRight: theme.spacing.margin.regular,
|
|
@@ -5067,7 +4986,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5067
4986
|
textAlign: 'center',
|
|
5068
4987
|
fontSize: theme.typography.fontSize.body,
|
|
5069
4988
|
lineHeight: '22px',
|
|
5070
|
-
color: theme?.
|
|
4989
|
+
color: theme?.palette?.font?.primary,
|
|
5071
4990
|
margin: '0',
|
|
5072
4991
|
wordBreak: 'break-word'
|
|
5073
4992
|
},
|
|
@@ -5153,7 +5072,7 @@ function Info({
|
|
|
5153
5072
|
className: classes.imageContainer
|
|
5154
5073
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
5155
5074
|
name: dt.icon.metadata.value,
|
|
5156
|
-
color: theme
|
|
5075
|
+
color: theme.palette.primary.main,
|
|
5157
5076
|
width: isMobile ? '30px' : '40px',
|
|
5158
5077
|
height: isMobile ? '30px' : '40px'
|
|
5159
5078
|
})), /*#__PURE__*/React.createElement("h3", {
|
|
@@ -5210,7 +5129,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5210
5129
|
padding: ({
|
|
5211
5130
|
isMobile
|
|
5212
5131
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5213
|
-
backgroundColor: theme?.
|
|
5132
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
5214
5133
|
'&, & *, & *:before, & *:after': {
|
|
5215
5134
|
fontFamily: theme?.typography?.fontFamily,
|
|
5216
5135
|
boxSizing: 'border-box'
|
|
@@ -5227,7 +5146,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5227
5146
|
subHeading: {
|
|
5228
5147
|
fontSize: theme.typography.fontSize.subHead,
|
|
5229
5148
|
marginBottom: '8px',
|
|
5230
|
-
color: theme?.
|
|
5149
|
+
color: theme?.palette?.font?.default,
|
|
5231
5150
|
wordBreak: 'break-word',
|
|
5232
5151
|
textTransform: 'uppercase',
|
|
5233
5152
|
letterSpacing: '3px'
|
|
@@ -5237,7 +5156,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5237
5156
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5238
5157
|
lineHeight: 'normal',
|
|
5239
5158
|
margin: '0',
|
|
5240
|
-
color: theme?.
|
|
5159
|
+
color: theme?.palette?.font?.default,
|
|
5241
5160
|
wordBreak: 'break-word',
|
|
5242
5161
|
marginBottom: theme.spacing.margin.tiny
|
|
5243
5162
|
},
|
|
@@ -5248,7 +5167,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5248
5167
|
padding: '32px 0px'
|
|
5249
5168
|
},
|
|
5250
5169
|
textPara: {
|
|
5251
|
-
color: theme?.
|
|
5170
|
+
color: theme?.palette?.font?.primary,
|
|
5252
5171
|
wordBreak: 'break-word',
|
|
5253
5172
|
fontSize: theme.typography.fontSize.body,
|
|
5254
5173
|
lineHeight: '24px'
|
|
@@ -5343,7 +5262,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5343
5262
|
// }
|
|
5344
5263
|
// }
|
|
5345
5264
|
},
|
|
5346
|
-
|
|
5347
5265
|
sectionContainer: {
|
|
5348
5266
|
margin: '0 auto',
|
|
5349
5267
|
maxWidth: ({
|
|
@@ -5374,7 +5292,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5374
5292
|
position: 'relative',
|
|
5375
5293
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5376
5294
|
},
|
|
5377
|
-
|
|
5378
5295
|
contentRow: {
|
|
5379
5296
|
display: 'grid',
|
|
5380
5297
|
gridTemplateColumns: ({
|
|
@@ -5555,7 +5472,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5555
5472
|
padding: ({
|
|
5556
5473
|
isMobile
|
|
5557
5474
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5558
|
-
backgroundColor: theme?.
|
|
5475
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
5559
5476
|
'&, & *, & *:before, & *:after': {
|
|
5560
5477
|
fontFamily: theme?.typography?.fontFamily,
|
|
5561
5478
|
boxSizing: 'border-box'
|
|
@@ -5570,7 +5487,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5570
5487
|
} = {}) => containerWidth
|
|
5571
5488
|
},
|
|
5572
5489
|
sectionSubheading: {
|
|
5573
|
-
color: theme?.
|
|
5490
|
+
color: theme?.palette?.font.default,
|
|
5574
5491
|
fontSize: theme.typography.fontSize.subHead,
|
|
5575
5492
|
marginBottom: '8px',
|
|
5576
5493
|
wordBreak: 'break-word'
|
|
@@ -5579,16 +5496,15 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5579
5496
|
fontSize: theme.typography.fontSize.h2,
|
|
5580
5497
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5581
5498
|
wordBreak: 'break-word',
|
|
5582
|
-
marginBottom: `${theme.spacing.margin.tiny}px
|
|
5583
|
-
color: theme?.colors?.font3
|
|
5499
|
+
marginBottom: `${theme.spacing.margin.tiny}px`
|
|
5584
5500
|
},
|
|
5585
5501
|
container: {
|
|
5586
5502
|
boxShadow: theme?.shadows?.secondary,
|
|
5587
5503
|
borderRadius: '8px',
|
|
5588
|
-
backgroundColor: theme?.
|
|
5504
|
+
backgroundColor: theme?.palette?.background?.default
|
|
5589
5505
|
},
|
|
5590
5506
|
basicCardContainer: {
|
|
5591
|
-
borderBottom:
|
|
5507
|
+
borderBottom: theme?.borders?.secondary,
|
|
5592
5508
|
padding: `${theme.spacing.padding.tiny}px`
|
|
5593
5509
|
},
|
|
5594
5510
|
innerContainer: {
|
|
@@ -5607,14 +5523,14 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5607
5523
|
alignItems: 'center'
|
|
5608
5524
|
},
|
|
5609
5525
|
title: {
|
|
5610
|
-
color: theme?.
|
|
5526
|
+
color: theme?.palette?.font.default,
|
|
5611
5527
|
fontSize: theme.typography.fontSize.h5,
|
|
5612
5528
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5613
5529
|
margin: '0',
|
|
5614
5530
|
wordBreak: 'break-word'
|
|
5615
5531
|
},
|
|
5616
5532
|
content: {
|
|
5617
|
-
color: theme?.
|
|
5533
|
+
color: theme?.palette?.font.primary,
|
|
5618
5534
|
fontSize: theme.typography.fontSize.body,
|
|
5619
5535
|
lineHeight: '24px',
|
|
5620
5536
|
maxHeight: ({
|
|
@@ -5734,10 +5650,11 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5734
5650
|
|
|
5735
5651
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5736
5652
|
section: {
|
|
5737
|
-
background: theme.colors.background1,
|
|
5738
5653
|
padding: ({
|
|
5739
5654
|
isMobile
|
|
5740
5655
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5656
|
+
// backgroundColor: theme?.palette?.background?.primary,
|
|
5657
|
+
|
|
5741
5658
|
'&, & *, & *:before, & *:after': {
|
|
5742
5659
|
fontFamily: theme?.typography?.fontFamily,
|
|
5743
5660
|
boxSizing: 'border-box'
|
|
@@ -5745,6 +5662,12 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5745
5662
|
'& h2,& h3,& p': {
|
|
5746
5663
|
marginTop: '0'
|
|
5747
5664
|
}
|
|
5665
|
+
// '& h2,& h3': {
|
|
5666
|
+
// fontWeight: '500',
|
|
5667
|
+
// '& b,& strong': {
|
|
5668
|
+
// fontWeight: '700'
|
|
5669
|
+
// }
|
|
5670
|
+
// }
|
|
5748
5671
|
},
|
|
5749
5672
|
sectionContainer: {
|
|
5750
5673
|
margin: '0 auto',
|
|
@@ -5753,7 +5676,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5753
5676
|
} = {}) => containerWidth
|
|
5754
5677
|
},
|
|
5755
5678
|
subheading: {
|
|
5756
|
-
color: theme?.
|
|
5679
|
+
color: theme?.palette?.font.default,
|
|
5757
5680
|
fontSize: theme.typography.fontSize.subHead,
|
|
5758
5681
|
lineHeight: '20px',
|
|
5759
5682
|
letterSpacing: '3px',
|
|
@@ -5767,8 +5690,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5767
5690
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5768
5691
|
letterSpacing: '-3px',
|
|
5769
5692
|
marginBottom: theme.spacing.margin.tiny,
|
|
5770
|
-
wordBreak: 'break-word'
|
|
5771
|
-
color: theme?.colors?.font1
|
|
5693
|
+
wordBreak: 'break-word'
|
|
5772
5694
|
},
|
|
5773
5695
|
sliderContainer: {
|
|
5774
5696
|
margin: '0 -10px'
|
|
@@ -5921,7 +5843,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5921
5843
|
// }
|
|
5922
5844
|
// }
|
|
5923
5845
|
},
|
|
5924
|
-
|
|
5925
5846
|
sectionContainer: {
|
|
5926
5847
|
margin: '0 auto',
|
|
5927
5848
|
maxWidth: ({
|
|
@@ -5954,7 +5875,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5954
5875
|
// textAlign: 'center',
|
|
5955
5876
|
// wordBreak: 'break-word'
|
|
5956
5877
|
},
|
|
5957
|
-
|
|
5958
5878
|
slickContainer: {
|
|
5959
5879
|
marginRight: '-20px'
|
|
5960
5880
|
},
|
|
@@ -6002,7 +5922,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6002
5922
|
justifyContent: 'space-between'
|
|
6003
5923
|
//alignItems: 'center',
|
|
6004
5924
|
},
|
|
6005
|
-
|
|
6006
5925
|
courseCardTags: {
|
|
6007
5926
|
display: 'flex',
|
|
6008
5927
|
justifyContent: 'flex-start',
|
|
@@ -6033,12 +5952,11 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6033
5952
|
// whiteSpace: 'nowrap',
|
|
6034
5953
|
// textOverflow: 'ellipsis'
|
|
6035
5954
|
},
|
|
6036
|
-
|
|
6037
5955
|
courseCardDiscount: {
|
|
6038
5956
|
display: 'flex',
|
|
6039
5957
|
justifyContent: 'flex-start',
|
|
6040
5958
|
alignItems: 'center',
|
|
6041
|
-
fontSize: theme.typography.fontSize.
|
|
5959
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6042
5960
|
color: theme?.palette?.font?.primary,
|
|
6043
5961
|
'& img': {
|
|
6044
5962
|
marginRight: '5px'
|
|
@@ -6071,8 +5989,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6071
5989
|
},
|
|
6072
5990
|
courseCardBuyBtn: {
|
|
6073
5991
|
cursor: 'pointer',
|
|
6074
|
-
background: theme?.
|
|
6075
|
-
color: theme?.
|
|
5992
|
+
background: theme?.palette?.primary?.main,
|
|
5993
|
+
color: theme?.palette?.font?.invertedDefault,
|
|
6076
5994
|
padding: '8px 16px',
|
|
6077
5995
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6078
5996
|
cursor: 'pointer',
|
|
@@ -6140,7 +6058,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6140
6058
|
// whiteSpace: 'nowrap',
|
|
6141
6059
|
// textOverflow: 'ellipsis'
|
|
6142
6060
|
},
|
|
6143
|
-
|
|
6144
6061
|
singleCard: {
|
|
6145
6062
|
margin: '6px 2px'
|
|
6146
6063
|
// width: 'calc(100% - 12px)'
|
|
@@ -6171,6 +6088,13 @@ async function getCourseList(baseURLs, hashToken) {
|
|
|
6171
6088
|
|
|
6172
6089
|
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";
|
|
6173
6090
|
|
|
6091
|
+
function getShortenedSubstring(name, length, allowDots = true) {
|
|
6092
|
+
if (name) {
|
|
6093
|
+
return name.length < length ? name : `${name.substr(0, length)}${allowDots && '...'}`;
|
|
6094
|
+
}
|
|
6095
|
+
return '';
|
|
6096
|
+
}
|
|
6097
|
+
|
|
6174
6098
|
const formatCurrency = (countryCode, value, currencySymbol) => {
|
|
6175
6099
|
let formattedValue = Number(value);
|
|
6176
6100
|
const getFormattedValue = (countryCode, currencySymbol, value) => {
|
|
@@ -6438,10 +6362,11 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
6438
6362
|
const useTeamStyles = createUseStyles(theme => {
|
|
6439
6363
|
return {
|
|
6440
6364
|
teamSuperContainer: {
|
|
6441
|
-
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6442
6365
|
padding: ({
|
|
6443
6366
|
isMobile
|
|
6444
6367
|
} = {}) => 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`,
|
|
6368
|
+
// backgroundColor: theme?.palette?.background?.primary,
|
|
6369
|
+
|
|
6445
6370
|
'&, & *, & *:before, & *:after': {
|
|
6446
6371
|
fontFamily: theme?.typography?.fontFamily,
|
|
6447
6372
|
boxSizing: 'border-box'
|
|
@@ -6462,17 +6387,25 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6462
6387
|
lineHeight: '20px',
|
|
6463
6388
|
letterSpacing: '3px',
|
|
6464
6389
|
marginBottom: '8px',
|
|
6465
|
-
color: theme?.
|
|
6390
|
+
color: theme?.palette?.font?.default,
|
|
6466
6391
|
// wordBreak: 'break-word',
|
|
6467
6392
|
position: 'relative'
|
|
6468
6393
|
},
|
|
6394
|
+
partialBackground: {
|
|
6395
|
+
position: 'absolute',
|
|
6396
|
+
top: '0',
|
|
6397
|
+
left: '0',
|
|
6398
|
+
height: '50%',
|
|
6399
|
+
background: theme?.palette?.background?.primary,
|
|
6400
|
+
width: '100%'
|
|
6401
|
+
},
|
|
6469
6402
|
teamTitle: {
|
|
6470
6403
|
fontSize: theme.typography.fontSize.h2,
|
|
6471
6404
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6472
6405
|
lineHeight: '70px',
|
|
6473
6406
|
letterSpacing: '-3px',
|
|
6474
6407
|
wordBreak: 'break-word',
|
|
6475
|
-
color: theme?.
|
|
6408
|
+
color: theme?.palette?.font?.default,
|
|
6476
6409
|
position: 'relative'
|
|
6477
6410
|
},
|
|
6478
6411
|
sliderContainer: {
|
|
@@ -6516,7 +6449,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6516
6449
|
margin: '20px 0 0'
|
|
6517
6450
|
// overflowWrap: 'break-word'
|
|
6518
6451
|
},
|
|
6519
|
-
|
|
6520
6452
|
teamDetailsHeading: {
|
|
6521
6453
|
fontSize: theme.typography.fontSize.h6,
|
|
6522
6454
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -6560,14 +6492,15 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6560
6492
|
// margin: '15px 0 0',
|
|
6561
6493
|
// paddingBottom: '0'
|
|
6562
6494
|
},
|
|
6563
|
-
|
|
6564
6495
|
teamDetailsHeading: {
|
|
6565
6496
|
fontSize: '16px',
|
|
6566
6497
|
lineHeight: '24px',
|
|
6567
|
-
margin: '0'
|
|
6498
|
+
margin: '0',
|
|
6499
|
+
color: theme?.palette?.font?.body
|
|
6568
6500
|
},
|
|
6569
6501
|
teamDetailsSubHeading: {
|
|
6570
|
-
marginTop: '0px'
|
|
6502
|
+
marginTop: '0px',
|
|
6503
|
+
color: theme?.palette?.font?.primary
|
|
6571
6504
|
}
|
|
6572
6505
|
}
|
|
6573
6506
|
};
|
|
@@ -6678,7 +6611,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6678
6611
|
justifyContent: 'center',
|
|
6679
6612
|
flexDirection: 'column',
|
|
6680
6613
|
alignItems: 'center',
|
|
6681
|
-
|
|
6614
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6682
6615
|
padding: ({
|
|
6683
6616
|
isMobile
|
|
6684
6617
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
@@ -6693,23 +6626,22 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6693
6626
|
// }
|
|
6694
6627
|
// }
|
|
6695
6628
|
},
|
|
6696
|
-
|
|
6697
6629
|
formContainer: {
|
|
6698
6630
|
margin: '0 auto',
|
|
6699
6631
|
maxWidth: ({
|
|
6700
6632
|
containerWidth
|
|
6701
6633
|
} = {}) => containerWidth
|
|
6702
6634
|
},
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6635
|
+
partialBackground: {
|
|
6636
|
+
top: '0',
|
|
6637
|
+
left: '0',
|
|
6638
|
+
width: '100%',
|
|
6639
|
+
height: '50%',
|
|
6640
|
+
position: 'absolute',
|
|
6641
|
+
background: theme?.palette?.background?.primary
|
|
6642
|
+
},
|
|
6711
6643
|
sectionContainer: {
|
|
6712
|
-
backgroundColor: theme?.
|
|
6644
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6713
6645
|
boxShadow: theme?.shadows?.secondary,
|
|
6714
6646
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6715
6647
|
padding: '48px',
|
|
@@ -6718,7 +6650,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6718
6650
|
title: {
|
|
6719
6651
|
margin: '0',
|
|
6720
6652
|
fontSize: theme.typography.fontSize.h2,
|
|
6721
|
-
color: theme?.
|
|
6653
|
+
color: theme?.palette?.font?.default,
|
|
6722
6654
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6723
6655
|
lineHeight: '71px',
|
|
6724
6656
|
letterSpacing: '-3px',
|
|
@@ -6730,18 +6662,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6730
6662
|
display: 'flex'
|
|
6731
6663
|
// alignItems: 'flex-start',
|
|
6732
6664
|
},
|
|
6733
|
-
|
|
6734
6665
|
leftContainerForm: {
|
|
6735
6666
|
width: '65%',
|
|
6736
6667
|
display: 'flex',
|
|
6737
6668
|
flexDirection: 'column'
|
|
6738
6669
|
// justifyContent: 'space-between'
|
|
6739
6670
|
},
|
|
6740
|
-
|
|
6741
6671
|
subtitle: {
|
|
6742
6672
|
// margin: '0 0 40px 0',
|
|
6743
6673
|
fontSize: theme.typography.fontSize.h5,
|
|
6744
|
-
color: theme?.
|
|
6674
|
+
color: theme?.palette?.font?.default,
|
|
6745
6675
|
lineHeight: '32px',
|
|
6746
6676
|
wordBreak: 'break-word',
|
|
6747
6677
|
marginBottom: '32px'
|
|
@@ -6764,7 +6694,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6764
6694
|
},
|
|
6765
6695
|
addressText: {
|
|
6766
6696
|
fontSize: theme.typography.fontSize.h6,
|
|
6767
|
-
color: theme?.
|
|
6697
|
+
color: theme?.palette?.font?.default,
|
|
6768
6698
|
lineHeight: '24px',
|
|
6769
6699
|
fontSize: '16px'
|
|
6770
6700
|
},
|
|
@@ -6805,7 +6735,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6805
6735
|
width: '100%'
|
|
6806
6736
|
// padding: '0 16ox'
|
|
6807
6737
|
},
|
|
6808
|
-
|
|
6809
6738
|
rightContainer: {
|
|
6810
6739
|
width: '100%',
|
|
6811
6740
|
padding: '0'
|
|
@@ -7101,7 +7030,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7101
7030
|
padding: ({
|
|
7102
7031
|
isMobile
|
|
7103
7032
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
7104
|
-
|
|
7033
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
7105
7034
|
'&, & *, & *:before, & *:after': {
|
|
7106
7035
|
fontFamily: theme?.typography?.fontFamily,
|
|
7107
7036
|
boxSizing: 'border-box'
|
|
@@ -7113,7 +7042,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7113
7042
|
// }
|
|
7114
7043
|
// }
|
|
7115
7044
|
},
|
|
7116
|
-
|
|
7117
7045
|
contactContainer: {
|
|
7118
7046
|
width: '100%',
|
|
7119
7047
|
margin: '0 auto',
|
|
@@ -7121,8 +7049,16 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7121
7049
|
containerWidth
|
|
7122
7050
|
} = {}) => containerWidth
|
|
7123
7051
|
},
|
|
7052
|
+
partialBackground: {
|
|
7053
|
+
top: '0',
|
|
7054
|
+
left: '0',
|
|
7055
|
+
width: '100%',
|
|
7056
|
+
height: '50%',
|
|
7057
|
+
position: 'absolute',
|
|
7058
|
+
background: theme?.palette?.background?.primary
|
|
7059
|
+
},
|
|
7124
7060
|
sectionContainer: {
|
|
7125
|
-
backgroundColor: theme?.
|
|
7061
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
7126
7062
|
boxShadow: theme?.shadows?.secondary,
|
|
7127
7063
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7128
7064
|
padding: '48px',
|
|
@@ -7131,7 +7067,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7131
7067
|
title: {
|
|
7132
7068
|
margin: '0',
|
|
7133
7069
|
fontSize: theme.typography.fontSize.h2,
|
|
7134
|
-
color: theme?.
|
|
7070
|
+
color: theme?.palette?.font?.default,
|
|
7135
7071
|
lineHeight: '71px',
|
|
7136
7072
|
letterSpacing: '-3px',
|
|
7137
7073
|
textAlign: 'left',
|
|
@@ -7152,11 +7088,10 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7152
7088
|
// justifyContent: 'space-between',
|
|
7153
7089
|
// flex: 1
|
|
7154
7090
|
},
|
|
7155
|
-
|
|
7156
7091
|
subtitle: {
|
|
7157
7092
|
// margin: '0 0 auto 0',
|
|
7158
7093
|
fontSize: theme.typography.fontSize.h6,
|
|
7159
|
-
color: theme?.
|
|
7094
|
+
color: theme?.palette?.font?.default,
|
|
7160
7095
|
// lineHeight: '32px',
|
|
7161
7096
|
// margin: '16px 0',
|
|
7162
7097
|
textAlign: 'center',
|
|
@@ -7187,8 +7122,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7187
7122
|
inputField: {
|
|
7188
7123
|
width: '100%',
|
|
7189
7124
|
// maxWidth: '314px',
|
|
7190
|
-
|
|
7191
|
-
border: `1px solid ${theme?.
|
|
7125
|
+
background: theme?.palette?.background?.default,
|
|
7126
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
7192
7127
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7193
7128
|
// padding: '14px 12px',
|
|
7194
7129
|
display: 'flex',
|
|
@@ -7201,7 +7136,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7201
7136
|
fontWeight: '400',
|
|
7202
7137
|
fontSize: theme.typography.fontSize.subHead,
|
|
7203
7138
|
lineHeight: '20px',
|
|
7204
|
-
color: theme?.
|
|
7139
|
+
color: theme?.palette?.font?.primary,
|
|
7205
7140
|
fontFamily: theme?.typography?.fontFamily
|
|
7206
7141
|
},
|
|
7207
7142
|
'&:focus': {
|
|
@@ -7514,7 +7449,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7514
7449
|
webinarSuperContainer: {
|
|
7515
7450
|
display: 'flex',
|
|
7516
7451
|
justifyContent: 'center',
|
|
7517
|
-
background: theme.colors.background1,
|
|
7518
7452
|
padding: ({
|
|
7519
7453
|
isMobile
|
|
7520
7454
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7537,6 +7471,30 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7537
7471
|
maxWidth: '1440px',
|
|
7538
7472
|
fontFamily: theme?.typography?.fontFamily
|
|
7539
7473
|
},
|
|
7474
|
+
// videoTestimonialHeading: {
|
|
7475
|
+
// fontSize: theme.typography.fontSize.subHead,
|
|
7476
|
+
// lineHeight: '20px',
|
|
7477
|
+
// letterSpacing: '3px',
|
|
7478
|
+
// textTransform: 'uppercase',
|
|
7479
|
+
// color: theme.palette.font.tertiary,
|
|
7480
|
+
// wordBreak: 'break-word',
|
|
7481
|
+
// fontWeight: theme.typography.fontWeight.bold,
|
|
7482
|
+
// },
|
|
7483
|
+
|
|
7484
|
+
// videoTestimonialTitle: {
|
|
7485
|
+
// fontSize: theme.typography.fontSize.h2,
|
|
7486
|
+
// lineHeight: '71px',
|
|
7487
|
+
// fontWeight: theme.typography.fontWeight.bold,
|
|
7488
|
+
// letterSpacing: '-3px',
|
|
7489
|
+
// margin: '0',
|
|
7490
|
+
// color: theme.palette.font.default,
|
|
7491
|
+
// wordBreak: 'break-word'
|
|
7492
|
+
// },
|
|
7493
|
+
|
|
7494
|
+
// videoCarouselContainer: {
|
|
7495
|
+
// marginTop: '16px'
|
|
7496
|
+
// },
|
|
7497
|
+
|
|
7540
7498
|
webinarCarousel: {
|
|
7541
7499
|
display: 'flex',
|
|
7542
7500
|
justifyContent: 'flex-start',
|
|
@@ -7557,7 +7515,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7557
7515
|
iframeContainer: {
|
|
7558
7516
|
width: '100%',
|
|
7559
7517
|
position: 'relative',
|
|
7560
|
-
|
|
7518
|
+
paddingBottom: '56.25%',
|
|
7561
7519
|
// top: "6%",
|
|
7562
7520
|
// left: '5%'
|
|
7563
7521
|
borderRadius: '8px',
|
|
@@ -7565,9 +7523,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7565
7523
|
},
|
|
7566
7524
|
offerText: {
|
|
7567
7525
|
textAlign: 'center',
|
|
7568
|
-
color: theme
|
|
7569
|
-
marginBottom: '5%
|
|
7570
|
-
fontWeight: '700'
|
|
7526
|
+
color: theme.palette.font.primary,
|
|
7527
|
+
marginBottom: '5%'
|
|
7571
7528
|
},
|
|
7572
7529
|
offerPrice: {
|
|
7573
7530
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -7592,7 +7549,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7592
7549
|
marginTop: '5%'
|
|
7593
7550
|
// padding: '0px 5% 0px 5%'
|
|
7594
7551
|
},
|
|
7595
|
-
|
|
7596
7552
|
iframe: {
|
|
7597
7553
|
position: 'absolute',
|
|
7598
7554
|
width: '100%',
|
|
@@ -7613,7 +7569,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7613
7569
|
margin: '0',
|
|
7614
7570
|
letterSpacing: '-1px',
|
|
7615
7571
|
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7616
|
-
color: theme
|
|
7572
|
+
color: theme.palette.font.default
|
|
7617
7573
|
},
|
|
7618
7574
|
courseViewContainer: {
|
|
7619
7575
|
width: '645px',
|
|
@@ -7627,9 +7583,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7627
7583
|
},
|
|
7628
7584
|
bannerContainer: {
|
|
7629
7585
|
width: '100%',
|
|
7630
|
-
background:
|
|
7631
|
-
color:
|
|
7632
|
-
fontWeight: '600',
|
|
7586
|
+
background: '#EB5757',
|
|
7587
|
+
color: '#fff',
|
|
7633
7588
|
textAlign: 'center',
|
|
7634
7589
|
padding: '10px 10px 23px 40px',
|
|
7635
7590
|
wordWrap: 'break-word',
|
|
@@ -7648,26 +7603,24 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7648
7603
|
display: 'flex',
|
|
7649
7604
|
alignItems: 'center',
|
|
7650
7605
|
marginRight: '20px',
|
|
7651
|
-
color: theme?.colors?.font1,
|
|
7652
7606
|
'& div': {
|
|
7653
|
-
fontSize: theme.typography.fontSize.
|
|
7607
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7654
7608
|
marginLeft: '10px'
|
|
7655
7609
|
}
|
|
7656
7610
|
},
|
|
7657
7611
|
courseDetailContent: {
|
|
7658
|
-
fontSize: theme.typography.fontSize.
|
|
7659
|
-
lineHeight: '21px',
|
|
7612
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7660
7613
|
wordBreak: 'break-word',
|
|
7661
|
-
color: theme
|
|
7614
|
+
color: theme.palette.font.primary,
|
|
7662
7615
|
whiteSpace: 'pre-wrap',
|
|
7663
7616
|
width: '80%'
|
|
7664
7617
|
},
|
|
7665
7618
|
courseDetailViewFullDetails: {
|
|
7666
7619
|
cursor: 'pointer',
|
|
7667
|
-
fontSize: theme.typography.fontSize.
|
|
7620
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7668
7621
|
lineHeight: '24px',
|
|
7669
|
-
color: theme?.colors?.font1,
|
|
7670
7622
|
marginTop: '-20px',
|
|
7623
|
+
color: '#00ADE7',
|
|
7671
7624
|
wordBreak: 'break-word'
|
|
7672
7625
|
},
|
|
7673
7626
|
courseDetailTime: {
|
|
@@ -7682,7 +7635,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7682
7635
|
display: 'flex',
|
|
7683
7636
|
width: '36px',
|
|
7684
7637
|
height: '36px',
|
|
7685
|
-
backgroundColor:
|
|
7638
|
+
backgroundColor: 'rgb(240, 244, 248)',
|
|
7686
7639
|
justifyContent: 'center',
|
|
7687
7640
|
alignItems: 'center',
|
|
7688
7641
|
borderRadius: '6px'
|
|
@@ -7874,15 +7827,14 @@ const SingleVideoSlide$1 = props => {
|
|
|
7874
7827
|
className: classes.iconBackground
|
|
7875
7828
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7876
7829
|
name: 'Calendar',
|
|
7877
|
-
|
|
7878
|
-
color: theme?.colors?.background2
|
|
7830
|
+
color: theme.palette.primary.main
|
|
7879
7831
|
})), /*#__PURE__*/React.createElement("div", null, moment(data.startDate).locale(momentLocale).format('Do MMM YY') + ' ', moment(data.startTime).locale(momentLocale).format('h:mm A'), /*#__PURE__*/React.createElement("span", null, " - "), moment(data.endTime).locale(momentLocale).format('h:mm A'))), /*#__PURE__*/React.createElement("div", {
|
|
7880
7832
|
className: classes.courseDetailTag
|
|
7881
7833
|
}, /*#__PURE__*/React.createElement("span", {
|
|
7882
7834
|
className: classes.iconBackground
|
|
7883
7835
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7884
|
-
color: theme
|
|
7885
|
-
width: "
|
|
7836
|
+
color: theme.palette.primary.main,
|
|
7837
|
+
width: "20px",
|
|
7886
7838
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7887
7839
|
})), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
|
|
7888
7840
|
ref: data?.videoTextContent?.refSetter,
|
|
@@ -7940,7 +7892,6 @@ const SingleVideoSlide$1 = props => {
|
|
|
7940
7892
|
value: data.isPaid ? buyNowText : registerNowText
|
|
7941
7893
|
// isExternal: 1
|
|
7942
7894
|
},
|
|
7943
|
-
|
|
7944
7895
|
onClick: webinarCtaClick,
|
|
7945
7896
|
type: 'primary',
|
|
7946
7897
|
size: 'medium',
|
|
@@ -7989,15 +7940,13 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
7989
7940
|
});
|
|
7990
7941
|
|
|
7991
7942
|
const useCoursePromotionPage = createUseStyles(theme => {
|
|
7992
|
-
console.log(theme, 'themere');
|
|
7993
7943
|
return {
|
|
7994
7944
|
courseSuperContainer: {
|
|
7995
7945
|
display: 'flex',
|
|
7996
7946
|
justifyContent: 'center',
|
|
7997
|
-
background: theme?.colors?.background1,
|
|
7998
7947
|
padding: ({
|
|
7999
7948
|
isMobile
|
|
8000
|
-
} = {}) => isMobile ? `${theme.spacing.padding.
|
|
7949
|
+
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8001
7950
|
'&, & *, & *:before, & *:after': {
|
|
8002
7951
|
fontFamily: theme?.typography?.fontFamily,
|
|
8003
7952
|
boxSizing: 'border-box'
|
|
@@ -8009,7 +7958,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8009
7958
|
// }
|
|
8010
7959
|
// }
|
|
8011
7960
|
},
|
|
8012
|
-
|
|
8013
7961
|
sectionContainer: {
|
|
8014
7962
|
margin: '0 auto',
|
|
8015
7963
|
maxWidth: ({
|
|
@@ -8061,14 +8009,13 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8061
8009
|
iframeContainer: {
|
|
8062
8010
|
width: '100%',
|
|
8063
8011
|
position: 'relative',
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8012
|
+
paddingBottom: '56.25%'
|
|
8013
|
+
// top: "6%",
|
|
8014
|
+
// left: '5%'
|
|
8067
8015
|
},
|
|
8068
8016
|
offerText: {
|
|
8069
8017
|
textAlign: 'center',
|
|
8070
|
-
color: theme.palette.font.primary
|
|
8071
|
-
fontWeight: '700'
|
|
8018
|
+
color: theme.palette.font.primary
|
|
8072
8019
|
},
|
|
8073
8020
|
offerPrice: {
|
|
8074
8021
|
fontSize: theme.typography.fontSize.h4,
|
|
@@ -8115,7 +8062,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8115
8062
|
margin: '0',
|
|
8116
8063
|
letterSpacing: '-1px',
|
|
8117
8064
|
wordBreak: 'break-word',
|
|
8118
|
-
color: theme
|
|
8065
|
+
color: theme.palette.font.default
|
|
8119
8066
|
},
|
|
8120
8067
|
courseViewContainer: {
|
|
8121
8068
|
width: '445px',
|
|
@@ -8127,22 +8074,19 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8127
8074
|
// paddingBottom: '10px',
|
|
8128
8075
|
// paddingTop: '10px'
|
|
8129
8076
|
},
|
|
8130
|
-
|
|
8131
8077
|
bannerContainer: {
|
|
8132
8078
|
width: '100%',
|
|
8133
|
-
background:
|
|
8134
|
-
color:
|
|
8135
|
-
fontWeight: '600',
|
|
8079
|
+
background: '#EB5757',
|
|
8080
|
+
color: '#fff',
|
|
8136
8081
|
textAlign: 'center',
|
|
8137
8082
|
padding: '10px 10px 23px 40px',
|
|
8138
8083
|
wordWrap: 'break-word',
|
|
8139
8084
|
position: 'relative',
|
|
8140
|
-
fontSize:
|
|
8085
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8141
8086
|
transform: 'rotate(180deg)',
|
|
8142
8087
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8143
8088
|
// marginBottom: '16px'
|
|
8144
8089
|
},
|
|
8145
|
-
|
|
8146
8090
|
bannerContainerText: {
|
|
8147
8091
|
transform: 'rotate(180deg)'
|
|
8148
8092
|
},
|
|
@@ -8153,8 +8097,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8153
8097
|
},
|
|
8154
8098
|
courseEmblem: {
|
|
8155
8099
|
background: '#F0F4F8',
|
|
8156
|
-
fontSize: theme.typography.fontSize.
|
|
8157
|
-
borderRadius: '
|
|
8100
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8101
|
+
borderRadius: '2.00337px',
|
|
8158
8102
|
padding: '8px',
|
|
8159
8103
|
display: 'flex',
|
|
8160
8104
|
alignItems: 'center',
|
|
@@ -8170,29 +8114,27 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8170
8114
|
display: 'flex',
|
|
8171
8115
|
alignItems: 'center',
|
|
8172
8116
|
marginRight: '20px',
|
|
8173
|
-
color: theme?.colors?.font1,
|
|
8174
8117
|
'& div': {
|
|
8175
|
-
fontSize: theme.typography.fontSize.
|
|
8176
|
-
fontWeight: theme.typography.fontWeight.
|
|
8118
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8119
|
+
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8177
8120
|
marginLeft: '10px'
|
|
8178
8121
|
}
|
|
8179
8122
|
},
|
|
8180
8123
|
courseDetailContent: {
|
|
8181
|
-
marginTop: '
|
|
8182
|
-
fontSize: theme.typography.fontSize.
|
|
8183
|
-
lineHeight: '
|
|
8124
|
+
// marginTop: '16px',
|
|
8125
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8126
|
+
lineHeight: '24px',
|
|
8184
8127
|
wordBreak: 'break-word',
|
|
8185
|
-
color: theme
|
|
8128
|
+
color: theme.palette.font.primary,
|
|
8186
8129
|
whiteSpace: 'pre-wrap',
|
|
8187
8130
|
margin: '10px 0 20px'
|
|
8188
8131
|
},
|
|
8189
8132
|
courseDetailViewFullDetails: {
|
|
8190
8133
|
cursor: 'pointer',
|
|
8191
|
-
fontSize: theme.typography.fontSize.
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
color: theme.colors?.font1,
|
|
8134
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8135
|
+
lineHeight: '24px',
|
|
8136
|
+
marginTop: '-24px',
|
|
8137
|
+
color: '#00ADE7',
|
|
8196
8138
|
wordBreak: 'break-word'
|
|
8197
8139
|
},
|
|
8198
8140
|
courseDetailTime: {
|
|
@@ -8203,7 +8145,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8203
8145
|
display: 'flex',
|
|
8204
8146
|
width: '36px',
|
|
8205
8147
|
height: '36px',
|
|
8206
|
-
backgroundColor:
|
|
8148
|
+
backgroundColor: 'rgb(240, 244, 248)',
|
|
8207
8149
|
justifyContent: 'center',
|
|
8208
8150
|
alignItems: 'center',
|
|
8209
8151
|
borderRadius: '6px'
|
|
@@ -8255,7 +8197,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8255
8197
|
height: 'max-content'
|
|
8256
8198
|
// paddingRight: '10px'
|
|
8257
8199
|
},
|
|
8258
|
-
|
|
8259
8200
|
videoDetails: {
|
|
8260
8201
|
width: '100%'
|
|
8261
8202
|
},
|
|
@@ -8263,8 +8204,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8263
8204
|
// fontSize: '20px',
|
|
8264
8205
|
fontWeight: '600',
|
|
8265
8206
|
lineHeight: 'normal',
|
|
8266
|
-
letterSpacing: '0px'
|
|
8267
|
-
color: theme?.colors?.font1
|
|
8207
|
+
letterSpacing: '0px'
|
|
8268
8208
|
},
|
|
8269
8209
|
videoTestimonialTitle: {
|
|
8270
8210
|
// fontSize: '24px',
|
|
@@ -8433,32 +8373,28 @@ const SingleVideoSlide = props => {
|
|
|
8433
8373
|
className: classes.iconBackground
|
|
8434
8374
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8435
8375
|
name: 'Clock',
|
|
8436
|
-
|
|
8437
|
-
color: theme?.colors?.background2
|
|
8376
|
+
color: theme.palette.primary.main
|
|
8438
8377
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
8439
8378
|
className: classes.courseDetailTag
|
|
8440
8379
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8441
8380
|
className: classes.iconBackground
|
|
8442
8381
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8443
8382
|
name: 'Book Saved',
|
|
8444
|
-
color: theme
|
|
8445
|
-
width: "24px"
|
|
8383
|
+
color: theme.palette.primary.main
|
|
8446
8384
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? 'Physical Books' : null)) : null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
8447
8385
|
className: classes.courseDetailTag
|
|
8448
8386
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8449
8387
|
className: classes.iconBackground
|
|
8450
8388
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8451
8389
|
name: 'Certificate',
|
|
8452
|
-
color: theme
|
|
8453
|
-
|
|
8454
|
-
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText?.heading ? /*#__PURE__*/React.createElement("div", {
|
|
8390
|
+
color: theme.palette.primary.main
|
|
8391
|
+
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React.createElement("div", {
|
|
8455
8392
|
className: classes.courseDetailTag
|
|
8456
8393
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8457
8394
|
className: classes.iconBackground
|
|
8458
8395
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8459
8396
|
name: 'Certificate',
|
|
8460
|
-
color: theme
|
|
8461
|
-
width: "20px"
|
|
8397
|
+
color: theme.palette.primary.main
|
|
8462
8398
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React.createElement("p", {
|
|
8463
8399
|
ref: data?.videoTextContent?.refSetter,
|
|
8464
8400
|
className: classes.courseDetailContent,
|
|
@@ -8514,7 +8450,6 @@ const SingleVideoSlide = props => {
|
|
|
8514
8450
|
value: buyNowText
|
|
8515
8451
|
// isExternal: 1
|
|
8516
8452
|
},
|
|
8517
|
-
|
|
8518
8453
|
onClick: courseBuyNow,
|
|
8519
8454
|
type: 'primary',
|
|
8520
8455
|
size: 'medium',
|
|
@@ -8585,7 +8520,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8585
8520
|
padding: ({
|
|
8586
8521
|
isMobile
|
|
8587
8522
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8588
|
-
background:
|
|
8523
|
+
background: '#F4F9FF',
|
|
8589
8524
|
'&, & *, & *:before, & *:after': {
|
|
8590
8525
|
fontFamily: theme?.typography?.fontFamily,
|
|
8591
8526
|
boxSizing: 'border-box'
|
|
@@ -8602,7 +8537,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8602
8537
|
marginTop: '8px',
|
|
8603
8538
|
fontSize: theme.typography.fontSize.h6,
|
|
8604
8539
|
lineHeight: '23px',
|
|
8605
|
-
color:
|
|
8540
|
+
color: 'rgba(51, 51, 51, 0.5)',
|
|
8606
8541
|
marginBottom: theme.spacing.margin.tiny
|
|
8607
8542
|
},
|
|
8608
8543
|
formPageFormContainer: {
|
|
@@ -8619,10 +8554,9 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8619
8554
|
// border: '1px solid #D8E0F0',
|
|
8620
8555
|
// borderRadius: '16px'
|
|
8621
8556
|
},
|
|
8622
|
-
|
|
8623
8557
|
inputFieldLabel: {
|
|
8624
|
-
color:
|
|
8625
|
-
fontSize: theme.typography.fontSize.
|
|
8558
|
+
color: '#333',
|
|
8559
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8626
8560
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8627
8561
|
display: 'block',
|
|
8628
8562
|
marginTop: '20px',
|
|
@@ -8633,8 +8567,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8633
8567
|
borderRadius: '8px',
|
|
8634
8568
|
border: '1px solid #D8E0F0',
|
|
8635
8569
|
padding: '12px 16px',
|
|
8636
|
-
color:
|
|
8637
|
-
fontSize: theme.typography.fontSize.
|
|
8570
|
+
color: '#7D8592',
|
|
8571
|
+
fontSize: theme.typography.fontSize.subHead
|
|
8638
8572
|
},
|
|
8639
8573
|
checkboxField: {
|
|
8640
8574
|
// padding: '20px',
|
|
@@ -8642,21 +8576,21 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8642
8576
|
// borderRadius: '8px'
|
|
8643
8577
|
},
|
|
8644
8578
|
checkBoxFieldLabel: {
|
|
8645
|
-
color:
|
|
8646
|
-
fontSize: theme.typography.fontSize.
|
|
8579
|
+
color: '#333',
|
|
8580
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8647
8581
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8648
8582
|
marginTop: '20px',
|
|
8649
8583
|
marginBottom: '12px'
|
|
8650
8584
|
},
|
|
8651
8585
|
inputFieldRequired: {
|
|
8652
|
-
color:
|
|
8586
|
+
color: '#F41828'
|
|
8653
8587
|
},
|
|
8654
8588
|
checkboxFieldControl: {
|
|
8655
8589
|
padding: '8px 0',
|
|
8656
8590
|
'& label': {
|
|
8657
|
-
fontSize: theme.typography.fontSize.
|
|
8591
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8658
8592
|
marginLeft: '10px',
|
|
8659
|
-
color:
|
|
8593
|
+
color: '#7D8592'
|
|
8660
8594
|
}
|
|
8661
8595
|
},
|
|
8662
8596
|
submitBtnContainer: {
|
|
@@ -8669,7 +8603,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8669
8603
|
'& button': {
|
|
8670
8604
|
// height: '44px',
|
|
8671
8605
|
padding: '16px 24px',
|
|
8672
|
-
|
|
8606
|
+
color: '#FFFFFF',
|
|
8607
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8673
8608
|
cursor: 'pointer',
|
|
8674
8609
|
borderRadius: '8px'
|
|
8675
8610
|
}
|
|
@@ -8932,7 +8867,6 @@ const FormPage = ({
|
|
|
8932
8867
|
value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
|
|
8933
8868
|
// isExternal: 1
|
|
8934
8869
|
},
|
|
8935
|
-
|
|
8936
8870
|
type: 'primary',
|
|
8937
8871
|
size: 'medium',
|
|
8938
8872
|
target: null,
|
|
@@ -9115,7 +9049,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9115
9049
|
height: '48px'
|
|
9116
9050
|
/* margin: 18px 0px; */
|
|
9117
9051
|
},
|
|
9118
|
-
|
|
9119
9052
|
'p-young-guru-title': {
|
|
9120
9053
|
fontFamily: theme?.typography?.fontFamily,
|
|
9121
9054
|
fontStyle: 'normal',
|
|
@@ -9143,7 +9076,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9143
9076
|
textAlign: 'center'
|
|
9144
9077
|
/* padding:35px 0 40px */
|
|
9145
9078
|
},
|
|
9146
|
-
|
|
9147
9079
|
'two-columns .column': {
|
|
9148
9080
|
width: '100%',
|
|
9149
9081
|
maxWidth: '275px',
|
|
@@ -9677,7 +9609,7 @@ function PageRenderer({
|
|
|
9677
9609
|
countryCode,
|
|
9678
9610
|
currencySymbol
|
|
9679
9611
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
9680
|
-
const theme = useMemo(() =>
|
|
9612
|
+
const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
9681
9613
|
const Wrapper = SectionWrapper || Fragment;
|
|
9682
9614
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
9683
9615
|
theme: theme
|
|
@@ -9690,7 +9622,8 @@ function PageRenderer({
|
|
|
9690
9622
|
isHeader: true
|
|
9691
9623
|
}, /*#__PURE__*/React.createElement(Header, {
|
|
9692
9624
|
data: header,
|
|
9693
|
-
isLandingPage: isLandingPage
|
|
9625
|
+
isLandingPage: isLandingPage,
|
|
9626
|
+
extraProps: extraProps
|
|
9694
9627
|
})), sections?.length ? sections?.map((sectionData, sectionIndex) => /*#__PURE__*/React.createElement(Wrapper, _extends({}, !!SectionWrapper && {
|
|
9695
9628
|
sectionData,
|
|
9696
9629
|
sectionIndex
|