diy-template-components 2.0.9 → 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 -456
- package/build/index.es.js.map +1 -1
- package/build/index.js +382 -456
- 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,9 +1055,6 @@ function OptionList({
|
|
|
1071
1055
|
};
|
|
1072
1056
|
const tabData = tabsDataModifier();
|
|
1073
1057
|
const classes = useSectionStyles$a();
|
|
1074
|
-
|
|
1075
|
-
// console.log(headerData, 'sakshat header options');
|
|
1076
|
-
|
|
1077
1058
|
const isAndroidDelisted = headerData?.isAndroidDelisted;
|
|
1078
1059
|
const apkURL = headerData?.apkURL;
|
|
1079
1060
|
const downloadApkURL = isAndroidDelisted && apkURL ? apkURL : null;
|
|
@@ -1083,7 +1064,12 @@ function OptionList({
|
|
|
1083
1064
|
download: true,
|
|
1084
1065
|
href: headerData?.apkURL,
|
|
1085
1066
|
target: "_blank",
|
|
1086
|
-
className: classes.socialBtnItems
|
|
1067
|
+
className: classes.socialBtnItems,
|
|
1068
|
+
onClick: () => {
|
|
1069
|
+
if (typeof onDownloadAppTriggered == "function") {
|
|
1070
|
+
onDownloadAppTriggered(isAndroidDelisted, headerData?.apkURL);
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1087
1073
|
}, /*#__PURE__*/React.createElement("img", {
|
|
1088
1074
|
style: {
|
|
1089
1075
|
width: '139px',
|
|
@@ -1119,10 +1105,6 @@ function OptionList({
|
|
|
1119
1105
|
alt: "appStore"
|
|
1120
1106
|
})) : null);
|
|
1121
1107
|
};
|
|
1122
|
-
const iosLink = isTutorWebsite ? headerData?.iosDownloadLink : headerData?.iosUrl;
|
|
1123
|
-
|
|
1124
|
-
// console.log(iosLink, 'sakshat ios link');
|
|
1125
|
-
|
|
1126
1108
|
return /*#__PURE__*/React.createElement("div", {
|
|
1127
1109
|
className: classes.listSection
|
|
1128
1110
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -1146,9 +1128,9 @@ function OptionList({
|
|
|
1146
1128
|
list: moreContent,
|
|
1147
1129
|
label: 'More',
|
|
1148
1130
|
icon: arrowDown
|
|
1149
|
-
}) : 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?.
|
|
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, {
|
|
1150
1132
|
data: {
|
|
1151
|
-
link:
|
|
1133
|
+
link: downloadApkURL ? downloadApkURL : headerData?.appLink,
|
|
1152
1134
|
isLink: 1,
|
|
1153
1135
|
value: downloadAppText,
|
|
1154
1136
|
isExternal: 1
|
|
@@ -1272,7 +1254,8 @@ function DesktopHeader({
|
|
|
1272
1254
|
header,
|
|
1273
1255
|
navData,
|
|
1274
1256
|
isTutorWebsite,
|
|
1275
|
-
isLandingPage = false
|
|
1257
|
+
isLandingPage = false,
|
|
1258
|
+
onDownloadAppTriggered
|
|
1276
1259
|
}) {
|
|
1277
1260
|
const {
|
|
1278
1261
|
isFixed = true
|
|
@@ -1306,9 +1289,6 @@ function DesktopHeader({
|
|
|
1306
1289
|
}
|
|
1307
1290
|
return moreContent;
|
|
1308
1291
|
};
|
|
1309
|
-
|
|
1310
|
-
// console.log(header, 'sakshat header desktop');
|
|
1311
|
-
|
|
1312
1292
|
return /*#__PURE__*/React.createElement("nav", {
|
|
1313
1293
|
className: classes.section
|
|
1314
1294
|
}, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -1341,7 +1321,8 @@ function DesktopHeader({
|
|
|
1341
1321
|
isMobile: false,
|
|
1342
1322
|
isLandingPages: isLandingPage,
|
|
1343
1323
|
moreContent: moreContentFn(),
|
|
1344
|
-
isTutorWebsite: isTutorWebsite
|
|
1324
|
+
isTutorWebsite: isTutorWebsite,
|
|
1325
|
+
onDownloadAppTriggered: onDownloadAppTriggered
|
|
1345
1326
|
}))) : /*#__PURE__*/React.createElement("div", {
|
|
1346
1327
|
style: {
|
|
1347
1328
|
paddingTop: '30px'
|
|
@@ -1349,11 +1330,16 @@ function DesktopHeader({
|
|
|
1349
1330
|
}));
|
|
1350
1331
|
}
|
|
1351
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
|
+
|
|
1352
1337
|
function MobileHeader({
|
|
1353
1338
|
header,
|
|
1354
1339
|
navData,
|
|
1355
1340
|
isTutorWebsite,
|
|
1356
|
-
isLandingPage = false
|
|
1341
|
+
isLandingPage = false,
|
|
1342
|
+
onDownloadAppTriggered
|
|
1357
1343
|
}) {
|
|
1358
1344
|
const {
|
|
1359
1345
|
isCustomWebsite,
|
|
@@ -1381,35 +1367,91 @@ function MobileHeader({
|
|
|
1381
1367
|
body?.removeAttribute('style');
|
|
1382
1368
|
}
|
|
1383
1369
|
}, [sideMenu]);
|
|
1370
|
+
let iosUrl = null;
|
|
1371
|
+
let androidUrl = null;
|
|
1384
1372
|
let downloadLink = null;
|
|
1385
1373
|
const downloadAppText = countryCode === 'KR' ? '앱다운로드' : 'Download App';
|
|
1386
|
-
const apkURL = header?.apkURL;
|
|
1387
|
-
const isAndroidDelisted = header?.isAndroidDelisted;
|
|
1388
|
-
const iosDownloadLink = header?.iosDownloadLink;
|
|
1389
|
-
const androidDownloadLink = header?.androidDownloadLink;
|
|
1390
|
-
|
|
1391
|
-
// console.log(header, 'sakshat header mobile');
|
|
1392
|
-
|
|
1393
1374
|
if (isTutorWebsite) {
|
|
1394
|
-
|
|
1395
|
-
|
|
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, {
|
|
1396
1399
|
data: {
|
|
1397
|
-
link:
|
|
1400
|
+
link: header?.androidURL,
|
|
1398
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: {
|
|
1399
1420
|
value: downloadAppText,
|
|
1400
1421
|
isExternal: 1
|
|
1401
1422
|
},
|
|
1402
1423
|
type: 'primary',
|
|
1403
1424
|
size: 'small',
|
|
1404
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',
|
|
1405
1447
|
rel: null
|
|
1406
1448
|
});
|
|
1407
|
-
} else if (
|
|
1449
|
+
} else if (header?.androidURL) {
|
|
1408
1450
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1409
1451
|
data: {
|
|
1410
|
-
link:
|
|
1452
|
+
link: header?.androidURL,
|
|
1411
1453
|
isLink: 1,
|
|
1412
|
-
value: downloadAppText,
|
|
1454
|
+
value: header?.downloadAppButtonText || downloadAppText,
|
|
1413
1455
|
isExternal: 1
|
|
1414
1456
|
},
|
|
1415
1457
|
type: 'primary',
|
|
@@ -1421,24 +1463,27 @@ function MobileHeader({
|
|
|
1421
1463
|
downloadLink = null;
|
|
1422
1464
|
}
|
|
1423
1465
|
} else {
|
|
1424
|
-
if (isAndroidDelisted && apkURL) {
|
|
1466
|
+
if (header?.isAndroidDelisted && header?.apkURL) {
|
|
1425
1467
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1426
1468
|
data: {
|
|
1427
|
-
link: getAppDownloadLink(header?.apkURL, header?.iosUrl),
|
|
1428
|
-
isLink: 1,
|
|
1429
1469
|
value: downloadAppText,
|
|
1430
1470
|
isExternal: 1
|
|
1431
1471
|
},
|
|
1432
1472
|
type: 'primary',
|
|
1433
1473
|
size: 'small',
|
|
1434
1474
|
target: 'blank',
|
|
1435
|
-
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
|
+
}
|
|
1436
1482
|
});
|
|
1437
|
-
} else if (header?.appLink
|
|
1438
|
-
console.log('inside custom website');
|
|
1483
|
+
} else if (header?.appLink) {
|
|
1439
1484
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
1440
1485
|
data: {
|
|
1441
|
-
link:
|
|
1486
|
+
link: header?.appLink,
|
|
1442
1487
|
isLink: 1,
|
|
1443
1488
|
value: downloadAppText,
|
|
1444
1489
|
isExternal: 1
|
|
@@ -1510,7 +1555,8 @@ function MobileHeader({
|
|
|
1510
1555
|
|
|
1511
1556
|
function Header({
|
|
1512
1557
|
data,
|
|
1513
|
-
isLandingPage
|
|
1558
|
+
isLandingPage,
|
|
1559
|
+
extraProps
|
|
1514
1560
|
}) {
|
|
1515
1561
|
const {
|
|
1516
1562
|
isMobile,
|
|
@@ -1523,12 +1569,14 @@ function Header({
|
|
|
1523
1569
|
navData: filterHiddenNavs(),
|
|
1524
1570
|
header: data,
|
|
1525
1571
|
isTutorWebsite: isTutorWebsite,
|
|
1526
|
-
isLandingPage: isLandingPage
|
|
1572
|
+
isLandingPage: isLandingPage,
|
|
1573
|
+
onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
|
|
1527
1574
|
}) : /*#__PURE__*/React.createElement(DesktopHeader, {
|
|
1528
1575
|
navData: filterHiddenNavs(),
|
|
1529
1576
|
header: data,
|
|
1530
1577
|
isTutorWebsite: isTutorWebsite,
|
|
1531
|
-
isLandingPage: isLandingPage
|
|
1578
|
+
isLandingPage: isLandingPage,
|
|
1579
|
+
onDownloadAppTriggered: extraProps.DownloadAppButtonTriggered
|
|
1532
1580
|
});
|
|
1533
1581
|
}
|
|
1534
1582
|
|
|
@@ -1567,7 +1615,6 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
1567
1615
|
|
|
1568
1616
|
// '& img': { maxHeight: '55px' }
|
|
1569
1617
|
},
|
|
1570
|
-
|
|
1571
1618
|
upperContainerItem1Img: {
|
|
1572
1619
|
maxHeight: '55px',
|
|
1573
1620
|
paddingBottom: '84px',
|
|
@@ -1994,7 +2041,6 @@ const mobilePadding = {
|
|
|
1994
2041
|
// 24px
|
|
1995
2042
|
medium: baseFactor * 6 // 48px
|
|
1996
2043
|
};
|
|
1997
|
-
|
|
1998
2044
|
const padding = {
|
|
1999
2045
|
minute: baseFactor * 2,
|
|
2000
2046
|
// 16px
|
|
@@ -2054,13 +2100,17 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
|
|
|
2054
2100
|
const shape = {
|
|
2055
2101
|
borderRadius
|
|
2056
2102
|
};
|
|
2103
|
+
const spacing = {
|
|
2104
|
+
padding: isMobile ? mobilePadding : padding,
|
|
2105
|
+
margin: isMobile ? mobileMargin : margin
|
|
2106
|
+
};
|
|
2057
2107
|
return {
|
|
2058
2108
|
palette,
|
|
2059
2109
|
shape,
|
|
2060
2110
|
typography,
|
|
2061
2111
|
shadows: generateShadows(palette),
|
|
2062
|
-
borders: generateBorders(palette)
|
|
2063
|
-
|
|
2112
|
+
borders: generateBorders(palette),
|
|
2113
|
+
spacing
|
|
2064
2114
|
};
|
|
2065
2115
|
}
|
|
2066
2116
|
|
|
@@ -2182,178 +2232,6 @@ const defaultMetadata = {
|
|
|
2182
2232
|
layout: defaultLayout
|
|
2183
2233
|
};
|
|
2184
2234
|
|
|
2185
|
-
const GRADIENT = `linear-gradient`;
|
|
2186
|
-
const allColors = {
|
|
2187
|
-
white: '#FFFFFF',
|
|
2188
|
-
black: '#000000',
|
|
2189
|
-
lightblack: '#333333',
|
|
2190
|
-
gray: '#999999',
|
|
2191
|
-
bannerRed: '#EB5757',
|
|
2192
|
-
// Blue gradient
|
|
2193
|
-
|
|
2194
|
-
blue: '#1676F3',
|
|
2195
|
-
bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
|
|
2196
|
-
tertiaryblue: '#F4F9FF',
|
|
2197
|
-
// Orange gradient
|
|
2198
|
-
|
|
2199
|
-
orange: '#FF9000',
|
|
2200
|
-
orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
|
|
2201
|
-
tertiaryorange: '#FFF6EA',
|
|
2202
|
-
// Pink gradient
|
|
2203
|
-
|
|
2204
|
-
pink: '#F72585',
|
|
2205
|
-
pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
|
|
2206
|
-
tertiarypink: '#FEE9F3',
|
|
2207
|
-
// Violet gradient
|
|
2208
|
-
|
|
2209
|
-
violet: '#6026A8',
|
|
2210
|
-
violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
|
|
2211
|
-
tertiaryviolet: '#F5F2FA',
|
|
2212
|
-
// Teal gradient
|
|
2213
|
-
|
|
2214
|
-
teal: '#46A9A9',
|
|
2215
|
-
tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
|
|
2216
|
-
tertiaryteal: '#F4FAFA',
|
|
2217
|
-
//Red solid
|
|
2218
|
-
|
|
2219
|
-
red: '#F41828',
|
|
2220
|
-
tertiaryred: '#FFF2F3',
|
|
2221
|
-
// Green
|
|
2222
|
-
|
|
2223
|
-
green: '#8ECE19',
|
|
2224
|
-
tertiarygreen: '#F4FAFA',
|
|
2225
|
-
//Maroon solid
|
|
2226
|
-
|
|
2227
|
-
rust: '#9B2226',
|
|
2228
|
-
tertiaryrust: '#FFF0F0',
|
|
2229
|
-
//Purple solid
|
|
2230
|
-
|
|
2231
|
-
purple: '#6269C9',
|
|
2232
|
-
tertiarypurple: '#F4F6FF',
|
|
2233
|
-
//Golden gradient
|
|
2234
|
-
|
|
2235
|
-
golden: `#F2BA35`,
|
|
2236
|
-
goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
|
|
2237
|
-
//light green gradient
|
|
2238
|
-
|
|
2239
|
-
lightgreen: `#D6E359`,
|
|
2240
|
-
lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
|
|
2241
|
-
//light blue gradient
|
|
2242
|
-
|
|
2243
|
-
lightblue: `#A8EDF8`,
|
|
2244
|
-
lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
|
|
2245
|
-
skyblue: '#00ADE7',
|
|
2246
|
-
tertiaryskyblue: '#F2FCFF'
|
|
2247
|
-
};
|
|
2248
|
-
|
|
2249
|
-
const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
|
|
2250
|
-
let themeColor = theme.split('-');
|
|
2251
|
-
let color, gradient, darkMode;
|
|
2252
|
-
if (themeColor.length === 1) {
|
|
2253
|
-
color = themeColor[0] == 'default' ? 'skyblue' : themeColor[0];
|
|
2254
|
-
} else if (themeColor.length === 2) {
|
|
2255
|
-
color = themeColor[0];
|
|
2256
|
-
gradient = themeColor[1];
|
|
2257
|
-
} else {
|
|
2258
|
-
color = themeColor[0];
|
|
2259
|
-
gradient = themeColor[1];
|
|
2260
|
-
darkMode = themeColor[2];
|
|
2261
|
-
}
|
|
2262
|
-
console.log('color', allColors, gradient, darkMode);
|
|
2263
|
-
|
|
2264
|
-
// switch (color) {
|
|
2265
|
-
// case solidColors:
|
|
2266
|
-
// break;
|
|
2267
|
-
|
|
2268
|
-
// case gradientColors:
|
|
2269
|
-
// break;
|
|
2270
|
-
|
|
2271
|
-
// default:
|
|
2272
|
-
// break;
|
|
2273
|
-
// }
|
|
2274
|
-
|
|
2275
|
-
// type 1
|
|
2276
|
-
// const solidColors = {
|
|
2277
|
-
// font1: solidBaseColors?.black,
|
|
2278
|
-
// font2: solidBaseColors?.black,
|
|
2279
|
-
// font3: solidBaseColors?.black,
|
|
2280
|
-
// font4: solidBaseColors?.black,
|
|
2281
|
-
// AccentColor: solidBaseColors[theme],
|
|
2282
|
-
// background1: solidBaseColors?.white,
|
|
2283
|
-
// background2: solidBaseColors['tertiary' + theme],
|
|
2284
|
-
// background3: solidBaseColors['tertiary' + theme],
|
|
2285
|
-
// ctaColor: solidBaseColors[theme],
|
|
2286
|
-
// CtaTextColor: solidBaseColors?.white,
|
|
2287
|
-
// icon: solidBaseColors[theme],
|
|
2288
|
-
// iconBg: solidBaseColors['tertiary' + theme],
|
|
2289
|
-
// stripBg: solidBaseColors[theme],
|
|
2290
|
-
// stripText: solidBaseColors?.white,
|
|
2291
|
-
// inputBorderColor: solidBaseColors?.blue2,
|
|
2292
|
-
// tertiaryBlue2: solidBaseColors?.tertiaryblue2
|
|
2293
|
-
// };
|
|
2294
|
-
|
|
2295
|
-
//type 2
|
|
2296
|
-
// const gradientColors = {
|
|
2297
|
-
// font1: gradientBaseColors?.white,
|
|
2298
|
-
// font2: gradientBaseColors?.black,
|
|
2299
|
-
// font3: gradientBaseColors?.black,
|
|
2300
|
-
// font4: gradientBaseColors?.white,
|
|
2301
|
-
// AccentColor: gradientBaseColors[theme],
|
|
2302
|
-
// background1: gradientBaseColors[theme + 'gradient'],
|
|
2303
|
-
// background2: gradientBaseColors['tertiary' + theme],
|
|
2304
|
-
// background3: gradientBaseColors[theme + 'gradient'],
|
|
2305
|
-
// ctaColor: gradientBaseColors[theme + 'gradient'],
|
|
2306
|
-
// CtaTextColor: gradientBaseColors?.white,
|
|
2307
|
-
// icon: gradientBaseColors[theme],
|
|
2308
|
-
// iconBg: gradientBaseColors['tertiary' + theme],
|
|
2309
|
-
// stripBg: gradientBaseColors?.black,
|
|
2310
|
-
// stripText: gradientBaseColors?.white
|
|
2311
|
-
// };
|
|
2312
|
-
|
|
2313
|
-
const colors = {
|
|
2314
|
-
font1: gradient ? allColors?.white : allColors?.black,
|
|
2315
|
-
font2: darkMode ? allColors[color] : allColors?.black,
|
|
2316
|
-
font3: darkMode ? allColors?.white : allColors?.black,
|
|
2317
|
-
font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
|
|
2318
|
-
AccentColor: allColors[color],
|
|
2319
|
-
background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
|
|
2320
|
-
background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2321
|
-
background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
|
|
2322
|
-
ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
|
|
2323
|
-
CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2324
|
-
icon: allColors[color],
|
|
2325
|
-
iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
|
|
2326
|
-
stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
|
|
2327
|
-
stripText: darkMode ? allColors?.lightblack : allColors?.white,
|
|
2328
|
-
inputBorderColor: allColors?.blue2,
|
|
2329
|
-
tertiaryBlue2: allColors?.tertiaryblue2,
|
|
2330
|
-
white: allColors?.white,
|
|
2331
|
-
black: allColors?.black,
|
|
2332
|
-
lightblack: allColors?.lightblack,
|
|
2333
|
-
gray: allColors?.gray,
|
|
2334
|
-
bannerColor: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.bannerRed,
|
|
2335
|
-
bannerCtaColor: gradient ? allColors?.lightblack : allColors?.white,
|
|
2336
|
-
headerText: allColors[color],
|
|
2337
|
-
headerHover: allColors['tertiary' + color]
|
|
2338
|
-
};
|
|
2339
|
-
const typography = {
|
|
2340
|
-
fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
|
|
2341
|
-
fontSize: isMobile ? fontSizeMob : fontSize,
|
|
2342
|
-
fontWeight
|
|
2343
|
-
};
|
|
2344
|
-
// const shape = { borderRadius };
|
|
2345
|
-
const spacing = {
|
|
2346
|
-
padding: isMobile ? mobilePadding : padding,
|
|
2347
|
-
margin: isMobile ? mobileMargin : margin
|
|
2348
|
-
};
|
|
2349
|
-
return {
|
|
2350
|
-
...getTheme(theme),
|
|
2351
|
-
typography,
|
|
2352
|
-
spacing,
|
|
2353
|
-
colors
|
|
2354
|
-
};
|
|
2355
|
-
};
|
|
2356
|
-
|
|
2357
2235
|
function PageRenderer$1({
|
|
2358
2236
|
pageData: {
|
|
2359
2237
|
metadata: {
|
|
@@ -2410,7 +2288,7 @@ function PageRenderer$1({
|
|
|
2410
2288
|
countryCode,
|
|
2411
2289
|
currencySymbol
|
|
2412
2290
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
2413
|
-
const theme = useMemo(() =>
|
|
2291
|
+
const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
2414
2292
|
const Wrapper = SectionWrapper || Fragment;
|
|
2415
2293
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
2416
2294
|
theme: theme
|
|
@@ -2448,7 +2326,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2448
2326
|
padding: ({
|
|
2449
2327
|
isMobile
|
|
2450
2328
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
2451
|
-
|
|
2329
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
2452
2330
|
'&, & *, & *:before, & *:after': {
|
|
2453
2331
|
fontFamily: theme?.typography?.fontFamily,
|
|
2454
2332
|
boxSizing: 'border-box'
|
|
@@ -2460,7 +2338,6 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2460
2338
|
// }
|
|
2461
2339
|
// }
|
|
2462
2340
|
},
|
|
2463
|
-
|
|
2464
2341
|
sectionContainer: {
|
|
2465
2342
|
margin: '0 auto',
|
|
2466
2343
|
maxWidth: ({
|
|
@@ -2506,14 +2383,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2506
2383
|
marginBottom: '8px',
|
|
2507
2384
|
fontSize: theme.typography.fontSize.subHead,
|
|
2508
2385
|
letterSpacing: '3px',
|
|
2509
|
-
color: theme?.
|
|
2386
|
+
color: theme?.palette?.font?.default,
|
|
2510
2387
|
wordBreak: 'break-word',
|
|
2511
2388
|
maxWidth: '100%'
|
|
2512
2389
|
},
|
|
2513
2390
|
heading: {
|
|
2514
2391
|
margin: '0',
|
|
2515
2392
|
fontSize: theme.typography.fontSize.h1,
|
|
2516
|
-
color: theme?.
|
|
2393
|
+
color: theme?.palette?.font?.default,
|
|
2517
2394
|
wordBreak: ({
|
|
2518
2395
|
wordBreakValue
|
|
2519
2396
|
}) => wordBreakValue || 'break-word',
|
|
@@ -2522,7 +2399,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
|
|
|
2522
2399
|
},
|
|
2523
2400
|
description: {
|
|
2524
2401
|
margin: `${theme.spacing.margin.tiny}px 0px`,
|
|
2525
|
-
color: theme?.
|
|
2402
|
+
color: theme?.palette?.font?.primary,
|
|
2526
2403
|
lineHeight: '24px',
|
|
2527
2404
|
wordBreak: 'break-word'
|
|
2528
2405
|
},
|
|
@@ -2639,7 +2516,7 @@ const useCarouselStyles = createUseStyles(theme => ({
|
|
|
2639
2516
|
width: '26px',
|
|
2640
2517
|
background: ({
|
|
2641
2518
|
inverted
|
|
2642
|
-
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.
|
|
2519
|
+
} = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
|
|
2643
2520
|
},
|
|
2644
2521
|
'@media screen and (max-width: 767px)': {
|
|
2645
2522
|
sliderClass: {
|
|
@@ -2675,7 +2552,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
|
|
|
2675
2552
|
height: sizeHandler,
|
|
2676
2553
|
border: ({
|
|
2677
2554
|
inverted
|
|
2678
|
-
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2555
|
+
}) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
|
|
2679
2556
|
borderRadius: '50%',
|
|
2680
2557
|
display: 'flex',
|
|
2681
2558
|
justifyContent: 'center',
|
|
@@ -2697,7 +2574,7 @@ function ArrowButton(props) {
|
|
|
2697
2574
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
2698
2575
|
height: props.size === 'small' ? '12px' : '18px',
|
|
2699
2576
|
name: "Angle",
|
|
2700
|
-
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.
|
|
2577
|
+
color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
|
|
2701
2578
|
inverted: true
|
|
2702
2579
|
}));
|
|
2703
2580
|
}
|
|
@@ -2907,6 +2784,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2907
2784
|
justifyContent: 'center',
|
|
2908
2785
|
flexDirection: 'column',
|
|
2909
2786
|
alignItems: 'center',
|
|
2787
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
2910
2788
|
'&, & *, & *:before, & *:after': {
|
|
2911
2789
|
fontFamily: theme?.typography?.fontFamily,
|
|
2912
2790
|
boxSizing: 'border-box'
|
|
@@ -2924,7 +2802,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2924
2802
|
subTitleHeading: {
|
|
2925
2803
|
marginBottom: '8px',
|
|
2926
2804
|
fontSize: theme.typography.fontSize.subHead,
|
|
2927
|
-
color: theme?.
|
|
2805
|
+
color: theme?.palette?.font?.default,
|
|
2928
2806
|
alignItems: 'center',
|
|
2929
2807
|
textAlign: 'center',
|
|
2930
2808
|
wordBreak: 'break-word',
|
|
@@ -2934,7 +2812,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2934
2812
|
heading: {
|
|
2935
2813
|
marginBottom: theme.spacing.margin.tiny,
|
|
2936
2814
|
fontSize: theme.typography.fontSize.h2,
|
|
2937
|
-
color: theme?.
|
|
2815
|
+
color: theme?.palette?.font?.default,
|
|
2938
2816
|
fontWeight: theme.typography.fontWeight.bold,
|
|
2939
2817
|
textAlign: 'center',
|
|
2940
2818
|
wordBreak: 'break-word'
|
|
@@ -2951,7 +2829,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2951
2829
|
display: 'flex',
|
|
2952
2830
|
width: 'calc(100% - 200px)',
|
|
2953
2831
|
alignItems: 'center',
|
|
2954
|
-
background: theme?.
|
|
2832
|
+
background: theme?.palette?.background?.default,
|
|
2955
2833
|
boxShadow: theme?.shadows?.primary,
|
|
2956
2834
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
2957
2835
|
overflow: 'hidden',
|
|
@@ -2975,13 +2853,33 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2975
2853
|
'& $contentText': {
|
|
2976
2854
|
marginLeft: '170px'
|
|
2977
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
|
|
2978
2877
|
}
|
|
2979
2878
|
},
|
|
2980
2879
|
contentNumber: {
|
|
2981
2880
|
position: 'absolute',
|
|
2982
2881
|
top: '0',
|
|
2983
2882
|
fontWeight: '700',
|
|
2984
|
-
background: theme?.colors?.background3,
|
|
2985
2883
|
fontSize: '72px',
|
|
2986
2884
|
letterSpacing: '-3px',
|
|
2987
2885
|
display: 'flex',
|
|
@@ -2989,7 +2887,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
2989
2887
|
justifyContent: 'center',
|
|
2990
2888
|
padding: '48px',
|
|
2991
2889
|
height: '100%',
|
|
2992
|
-
color: theme?.
|
|
2890
|
+
color: theme?.palette?.font?.default,
|
|
2993
2891
|
wordBreak: 'break-word'
|
|
2994
2892
|
},
|
|
2995
2893
|
contentText: {
|
|
@@ -3001,14 +2899,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3001
2899
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3002
2900
|
lineHeight: '32px',
|
|
3003
2901
|
marginBottom: '8px',
|
|
3004
|
-
color: theme?.
|
|
2902
|
+
color: theme?.palette?.font?.default,
|
|
3005
2903
|
wordBreak: 'break-word'
|
|
3006
2904
|
},
|
|
3007
2905
|
contentPara: {
|
|
3008
2906
|
fontStyle: 'normal',
|
|
3009
2907
|
fontSize: '16px',
|
|
3010
2908
|
lineHeight: '26px',
|
|
3011
|
-
color: theme?.
|
|
2909
|
+
color: theme?.palette?.font?.primary,
|
|
3012
2910
|
wordBreak: 'break-word'
|
|
3013
2911
|
},
|
|
3014
2912
|
'@media screen and (max-width: 767px)': {
|
|
@@ -3030,7 +2928,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3030
2928
|
// padding: '0'
|
|
3031
2929
|
}
|
|
3032
2930
|
},
|
|
3033
|
-
|
|
3034
2931
|
'&:nth-child(2n+1)': {
|
|
3035
2932
|
marginRight: '0',
|
|
3036
2933
|
'& $contentText': {
|
|
@@ -3040,7 +2937,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
|
|
|
3040
2937
|
}
|
|
3041
2938
|
}
|
|
3042
2939
|
},
|
|
3043
|
-
|
|
3044
2940
|
contentNumber: {
|
|
3045
2941
|
width: '100%',
|
|
3046
2942
|
padding: '24px',
|
|
@@ -3421,7 +3317,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3421
3317
|
return {
|
|
3422
3318
|
section: {
|
|
3423
3319
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
3424
|
-
background: theme?.colors?.background2,
|
|
3425
3320
|
'&, & *, & *:before, & *:after': {
|
|
3426
3321
|
fontFamily: theme?.typography?.fontFamily,
|
|
3427
3322
|
boxSizing: 'border-box'
|
|
@@ -3433,7 +3328,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3433
3328
|
// }
|
|
3434
3329
|
// }
|
|
3435
3330
|
},
|
|
3436
|
-
|
|
3437
3331
|
sectionContainer: {
|
|
3438
3332
|
margin: '0 auto',
|
|
3439
3333
|
maxWidth: ({
|
|
@@ -3447,7 +3341,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3447
3341
|
|
|
3448
3342
|
// padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
|
|
3449
3343
|
},
|
|
3450
|
-
|
|
3451
3344
|
imageContainerDiv: {
|
|
3452
3345
|
width: '50%',
|
|
3453
3346
|
position: 'relative'
|
|
@@ -3465,7 +3358,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3465
3358
|
}
|
|
3466
3359
|
},
|
|
3467
3360
|
imageBorder: {
|
|
3468
|
-
|
|
3361
|
+
border: `2px solid ${theme?.palette?.primary?.light}`,
|
|
3469
3362
|
borderRadius: theme?.shape?.borderRadius?.small,
|
|
3470
3363
|
position: 'absolute',
|
|
3471
3364
|
width: '100%',
|
|
@@ -3490,13 +3383,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3490
3383
|
marginBottom: '8px',
|
|
3491
3384
|
fontSize: theme?.typography?.fontSize?.subHead,
|
|
3492
3385
|
letterSpacing: '3px',
|
|
3493
|
-
color: theme?.
|
|
3386
|
+
color: theme?.palette?.font?.default,
|
|
3494
3387
|
wordBreak: 'break-word'
|
|
3495
3388
|
},
|
|
3496
3389
|
heading: {
|
|
3497
3390
|
margin: '0',
|
|
3498
3391
|
fontSize: theme?.typography?.fontSize?.h1,
|
|
3499
|
-
color: theme?.
|
|
3392
|
+
color: theme?.palette?.font?.default,
|
|
3500
3393
|
wordBreak: ({
|
|
3501
3394
|
wordBreakValue
|
|
3502
3395
|
}) => wordBreakValue || 'break-word',
|
|
@@ -3506,7 +3399,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3506
3399
|
description: {
|
|
3507
3400
|
marginTop: theme.spacing.margin.tiny,
|
|
3508
3401
|
marginBottom: theme.spacing.margin.tiny,
|
|
3509
|
-
color: theme?.
|
|
3402
|
+
color: theme?.palette?.font?.primary,
|
|
3510
3403
|
lineHeight: '24px',
|
|
3511
3404
|
wordBreak: 'break-word'
|
|
3512
3405
|
},
|
|
@@ -3519,7 +3412,6 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
3519
3412
|
width: '100%'
|
|
3520
3413
|
// padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
|
|
3521
3414
|
},
|
|
3522
|
-
|
|
3523
3415
|
imageContainer: {
|
|
3524
3416
|
height: 'unset !important',
|
|
3525
3417
|
'& img': {
|
|
@@ -3672,16 +3564,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3672
3564
|
containerWidth
|
|
3673
3565
|
} = {}) => containerWidth
|
|
3674
3566
|
},
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3567
|
+
partialBackground: {
|
|
3568
|
+
top: '0',
|
|
3569
|
+
left: '0',
|
|
3570
|
+
width: '100%',
|
|
3571
|
+
height: '50%',
|
|
3572
|
+
position: 'absolute',
|
|
3573
|
+
background: theme?.palette?.background?.primary
|
|
3574
|
+
},
|
|
3683
3575
|
sectionContainer: {
|
|
3684
|
-
backgroundColor: theme?.
|
|
3576
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
3685
3577
|
boxShadow: theme?.shadows?.secondary,
|
|
3686
3578
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3687
3579
|
padding: theme.spacing.padding.small,
|
|
@@ -3692,7 +3584,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3692
3584
|
fontWeight: theme.typography.fontWeight.bold,
|
|
3693
3585
|
lineHeight: '71px',
|
|
3694
3586
|
letterSpacing: '-3px',
|
|
3695
|
-
color: theme?.
|
|
3587
|
+
color: theme?.palette?.font?.default,
|
|
3696
3588
|
marginBottom: theme.spacing.padding.tiny,
|
|
3697
3589
|
wordBreak: 'break-word'
|
|
3698
3590
|
},
|
|
@@ -3704,7 +3596,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
|
|
|
3704
3596
|
title: {
|
|
3705
3597
|
fontSize: theme.typography.fontSize.h6,
|
|
3706
3598
|
lineHeight: '32px',
|
|
3707
|
-
color: theme?.
|
|
3599
|
+
color: theme?.palette?.font?.primary,
|
|
3708
3600
|
wordBreak: 'break-word',
|
|
3709
3601
|
flex: 1
|
|
3710
3602
|
},
|
|
@@ -3832,8 +3724,8 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3832
3724
|
inputField: {
|
|
3833
3725
|
width: '100%',
|
|
3834
3726
|
// maxWidth: '314px',
|
|
3835
|
-
|
|
3836
|
-
border: `1px solid ${theme?.
|
|
3727
|
+
background: theme?.palette?.background?.default,
|
|
3728
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
3837
3729
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
3838
3730
|
padding: '14px 12px',
|
|
3839
3731
|
display: 'flex',
|
|
@@ -3847,7 +3739,7 @@ const inputStyles = createUseStyles(theme => ({
|
|
|
3847
3739
|
fontWeight: '400',
|
|
3848
3740
|
fontSize: '16px',
|
|
3849
3741
|
lineHeight: '20px',
|
|
3850
|
-
color: theme?.
|
|
3742
|
+
color: theme?.palette?.font?.primary,
|
|
3851
3743
|
fontFamily: theme?.typography?.fontFamily
|
|
3852
3744
|
},
|
|
3853
3745
|
'&:focus': {
|
|
@@ -4047,6 +3939,7 @@ var index$h = /*#__PURE__*/Object.freeze({
|
|
|
4047
3939
|
|
|
4048
3940
|
const useTestimonialStyles = createUseStyles(theme => ({
|
|
4049
3941
|
testimonialContainer: {
|
|
3942
|
+
background: theme?.palette?.background?.primary,
|
|
4050
3943
|
overflow: 'hidden',
|
|
4051
3944
|
padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4052
3945
|
'&, & *, & *:before, & *:after': {
|
|
@@ -4064,14 +3957,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4064
3957
|
} = {}) => containerWidth
|
|
4065
3958
|
},
|
|
4066
3959
|
testimonialText: {
|
|
4067
|
-
color: theme?.
|
|
3960
|
+
color: theme?.palette?.font?.default,
|
|
4068
3961
|
fontSize: theme.typography.fontSize.subHead,
|
|
4069
3962
|
wordBreak: 'break-word',
|
|
4070
3963
|
textTransform: 'uppercase'
|
|
4071
3964
|
},
|
|
4072
3965
|
testimonialHeader: {
|
|
4073
3966
|
fontSize: theme.typography.fontSize.h2,
|
|
4074
|
-
color: theme?.
|
|
3967
|
+
color: theme?.palette?.font?.default,
|
|
4075
3968
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4076
3969
|
marginBottom: theme.spacing.margin.tiny,
|
|
4077
3970
|
marginTop: '8px',
|
|
@@ -4088,7 +3981,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4088
3981
|
position: 'relative',
|
|
4089
3982
|
height: 'calc(100% - 12px)',
|
|
4090
3983
|
width: 'calc(100% - 24px)',
|
|
4091
|
-
background: theme?.
|
|
3984
|
+
background: theme?.palette?.background?.default,
|
|
4092
3985
|
boxShadow: theme?.shadows?.primary,
|
|
4093
3986
|
borderRadius: theme?.shape?.borderRadius?.regular
|
|
4094
3987
|
},
|
|
@@ -4115,7 +4008,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4115
4008
|
marginBottom: theme.spacing.margin.tiny,
|
|
4116
4009
|
fontSize: theme.typography.fontSize.body,
|
|
4117
4010
|
wordBreak: 'break-word',
|
|
4118
|
-
color: theme?.
|
|
4011
|
+
color: theme?.palette?.font?.primary,
|
|
4119
4012
|
lineHeight: '26px'
|
|
4120
4013
|
},
|
|
4121
4014
|
userContainer: {
|
|
@@ -4144,7 +4037,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4144
4037
|
marginRight: '16px'
|
|
4145
4038
|
},
|
|
4146
4039
|
userName: {
|
|
4147
|
-
color: theme?.
|
|
4040
|
+
color: theme?.palette?.font?.default,
|
|
4148
4041
|
margin: '0',
|
|
4149
4042
|
fontSize: theme.typography.fontSize.h5,
|
|
4150
4043
|
// paddingTop: '16px',
|
|
@@ -4163,6 +4056,19 @@ const useTestimonialStyles = createUseStyles(theme => ({
|
|
|
4163
4056
|
testimonialContainer: {
|
|
4164
4057
|
padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
|
|
4165
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
|
+
// },
|
|
4166
4072
|
testimonialText: {
|
|
4167
4073
|
textAlign: 'center'
|
|
4168
4074
|
},
|
|
@@ -4215,7 +4121,7 @@ function QuotesComponent() {
|
|
|
4215
4121
|
width: "28px",
|
|
4216
4122
|
height: "21px",
|
|
4217
4123
|
name: "Quote",
|
|
4218
|
-
color: theme?.
|
|
4124
|
+
color: theme?.palette?.primary?.main
|
|
4219
4125
|
}));
|
|
4220
4126
|
}
|
|
4221
4127
|
|
|
@@ -4526,7 +4432,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4526
4432
|
fontFamily: theme?.typography?.fontFamily
|
|
4527
4433
|
// boxSizing: 'border-box'
|
|
4528
4434
|
},
|
|
4529
|
-
|
|
4530
4435
|
'& h2,& h3,& p': {
|
|
4531
4436
|
marginTop: '0'
|
|
4532
4437
|
}
|
|
@@ -4551,7 +4456,6 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
4551
4456
|
wordBreak: 'break-word'
|
|
4552
4457
|
// marginBottom: '8px'
|
|
4553
4458
|
},
|
|
4554
|
-
|
|
4555
4459
|
videoTestimonialTitle: {
|
|
4556
4460
|
fontSize: theme.typography.fontSize.h2,
|
|
4557
4461
|
// lineHeight: '71px',
|
|
@@ -4745,7 +4649,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4745
4649
|
padding: ({
|
|
4746
4650
|
isMobile
|
|
4747
4651
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
4748
|
-
backgroundColor: theme?.
|
|
4652
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
4749
4653
|
'&, & *, & *:before, & *:after': {
|
|
4750
4654
|
fontFamily: theme?.typography?.fontFamily,
|
|
4751
4655
|
boxSizing: 'border-box'
|
|
@@ -4768,7 +4672,7 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4768
4672
|
fontSize: theme.typography.fontSize.subHead,
|
|
4769
4673
|
textTransform: 'uppercase',
|
|
4770
4674
|
lineHeight: '20px',
|
|
4771
|
-
color: theme?.
|
|
4675
|
+
color: theme?.palette?.font?.default,
|
|
4772
4676
|
letterSpacing: '3px',
|
|
4773
4677
|
wordBreak: 'break-word'
|
|
4774
4678
|
},
|
|
@@ -4779,14 +4683,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4779
4683
|
letterSpacing: '-3px',
|
|
4780
4684
|
marginBottom: theme.spacing.margin.tiny,
|
|
4781
4685
|
marginTop: '8px',
|
|
4782
|
-
color: theme?.
|
|
4686
|
+
color: theme?.palette?.font?.default,
|
|
4783
4687
|
wordBreak: 'break-word'
|
|
4784
4688
|
},
|
|
4785
4689
|
sliderContainer: {
|
|
4786
4690
|
marginRight: `-${theme.spacing.padding.medium}px`
|
|
4787
4691
|
},
|
|
4788
4692
|
singleSlideContainer: {
|
|
4789
|
-
backgroundColor:
|
|
4693
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
4790
4694
|
// margin: '20px',
|
|
4791
4695
|
width: 'calc(100% - 24px)',
|
|
4792
4696
|
height: 'calc(100% - 40px)',
|
|
@@ -4823,14 +4727,14 @@ const useVideoStyles = createUseStyles(theme => {
|
|
|
4823
4727
|
fontWeight: theme.typography.fontWeight.bold,
|
|
4824
4728
|
lineHeight: '32px',
|
|
4825
4729
|
marginBottom: '8px',
|
|
4826
|
-
color: theme?.
|
|
4730
|
+
color: theme?.palette?.font?.default,
|
|
4827
4731
|
wordBreak: 'break-word'
|
|
4828
4732
|
},
|
|
4829
4733
|
videoDetailsSubHeading: {
|
|
4830
4734
|
fontSize: theme.typography.fontSize.body,
|
|
4831
4735
|
lineHeight: '24px',
|
|
4832
4736
|
wordBreak: 'break-word',
|
|
4833
|
-
color: theme?.
|
|
4737
|
+
color: theme?.palette?.font?.primary
|
|
4834
4738
|
},
|
|
4835
4739
|
'@media (max-width: 767px)': {
|
|
4836
4740
|
videoHeading: {
|
|
@@ -4977,10 +4881,11 @@ var index$e = /*#__PURE__*/Object.freeze({
|
|
|
4977
4881
|
|
|
4978
4882
|
const useSectionStyles$3 = createUseStyles(theme => ({
|
|
4979
4883
|
section: {
|
|
4884
|
+
position: 'relative',
|
|
4980
4885
|
padding: ({
|
|
4981
4886
|
isMobile
|
|
4982
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`,
|
|
4983
|
-
|
|
4888
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
4984
4889
|
'&, & *, & *:before, & *:after': {
|
|
4985
4890
|
fontFamily: theme?.typography?.fontFamily,
|
|
4986
4891
|
boxSizing: 'border-box'
|
|
@@ -4992,20 +4897,27 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
4992
4897
|
// }
|
|
4993
4898
|
// }
|
|
4994
4899
|
},
|
|
4995
|
-
|
|
4996
4900
|
sectionContainer: {
|
|
4997
4901
|
margin: '0 auto',
|
|
4998
4902
|
maxWidth: ({
|
|
4999
4903
|
containerWidth
|
|
5000
4904
|
} = {}) => containerWidth
|
|
5001
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
|
+
},
|
|
5002
4914
|
content: {
|
|
5003
4915
|
position: 'relative'
|
|
5004
4916
|
},
|
|
5005
4917
|
subTitleHeading: {
|
|
5006
4918
|
width: '100%',
|
|
5007
4919
|
fontSize: theme.typography.fontSize.subHead,
|
|
5008
|
-
color: theme?.
|
|
4920
|
+
color: theme?.palette?.font?.default,
|
|
5009
4921
|
textTransform: 'uppercase',
|
|
5010
4922
|
textAlign: 'left',
|
|
5011
4923
|
lineHeight: '20px',
|
|
@@ -5017,7 +4929,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5017
4929
|
fontSize: theme.typography.fontSize.h2,
|
|
5018
4930
|
width: '100%',
|
|
5019
4931
|
lineHeight: '70px',
|
|
5020
|
-
color: theme?.
|
|
4932
|
+
color: theme?.palette?.font?.default,
|
|
5021
4933
|
textAlign: 'left',
|
|
5022
4934
|
wordBreak: 'break-word'
|
|
5023
4935
|
},
|
|
@@ -5027,7 +4939,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5027
4939
|
// },
|
|
5028
4940
|
|
|
5029
4941
|
card: {
|
|
5030
|
-
background: theme?.
|
|
4942
|
+
background: theme?.palette?.background?.default,
|
|
5031
4943
|
boxShadow: theme?.shadows?.primary,
|
|
5032
4944
|
borderRadius: theme.shape.borderRadius.large,
|
|
5033
4945
|
margin: ({
|
|
@@ -5048,7 +4960,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5048
4960
|
textAlign: 'center',
|
|
5049
4961
|
fontSize: theme.typography.fontSize.h6,
|
|
5050
4962
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5051
|
-
color: theme?.
|
|
4963
|
+
color: theme?.palette?.font?.default,
|
|
5052
4964
|
margin: `16px 0px`,
|
|
5053
4965
|
wordBreak: 'break-word'
|
|
5054
4966
|
},
|
|
@@ -5060,7 +4972,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5060
4972
|
alignItems: 'center',
|
|
5061
4973
|
justifyContent: 'center',
|
|
5062
4974
|
borderRadius: '50%',
|
|
5063
|
-
background: theme?.
|
|
4975
|
+
background: theme?.palette?.background?.primary
|
|
5064
4976
|
},
|
|
5065
4977
|
buttonContainerClass: {
|
|
5066
4978
|
marginRight: theme.spacing.margin.regular,
|
|
@@ -5074,7 +4986,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
|
|
|
5074
4986
|
textAlign: 'center',
|
|
5075
4987
|
fontSize: theme.typography.fontSize.body,
|
|
5076
4988
|
lineHeight: '22px',
|
|
5077
|
-
color: theme?.
|
|
4989
|
+
color: theme?.palette?.font?.primary,
|
|
5078
4990
|
margin: '0',
|
|
5079
4991
|
wordBreak: 'break-word'
|
|
5080
4992
|
},
|
|
@@ -5160,7 +5072,7 @@ function Info({
|
|
|
5160
5072
|
className: classes.imageContainer
|
|
5161
5073
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
5162
5074
|
name: dt.icon.metadata.value,
|
|
5163
|
-
color: theme
|
|
5075
|
+
color: theme.palette.primary.main,
|
|
5164
5076
|
width: isMobile ? '30px' : '40px',
|
|
5165
5077
|
height: isMobile ? '30px' : '40px'
|
|
5166
5078
|
})), /*#__PURE__*/React.createElement("h3", {
|
|
@@ -5217,7 +5129,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5217
5129
|
padding: ({
|
|
5218
5130
|
isMobile
|
|
5219
5131
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5220
|
-
backgroundColor: theme?.
|
|
5132
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
5221
5133
|
'&, & *, & *:before, & *:after': {
|
|
5222
5134
|
fontFamily: theme?.typography?.fontFamily,
|
|
5223
5135
|
boxSizing: 'border-box'
|
|
@@ -5234,7 +5146,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5234
5146
|
subHeading: {
|
|
5235
5147
|
fontSize: theme.typography.fontSize.subHead,
|
|
5236
5148
|
marginBottom: '8px',
|
|
5237
|
-
color: theme?.
|
|
5149
|
+
color: theme?.palette?.font?.default,
|
|
5238
5150
|
wordBreak: 'break-word',
|
|
5239
5151
|
textTransform: 'uppercase',
|
|
5240
5152
|
letterSpacing: '3px'
|
|
@@ -5244,7 +5156,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5244
5156
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5245
5157
|
lineHeight: 'normal',
|
|
5246
5158
|
margin: '0',
|
|
5247
|
-
color: theme?.
|
|
5159
|
+
color: theme?.palette?.font?.default,
|
|
5248
5160
|
wordBreak: 'break-word',
|
|
5249
5161
|
marginBottom: theme.spacing.margin.tiny
|
|
5250
5162
|
},
|
|
@@ -5255,7 +5167,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
|
|
|
5255
5167
|
padding: '32px 0px'
|
|
5256
5168
|
},
|
|
5257
5169
|
textPara: {
|
|
5258
|
-
color: theme?.
|
|
5170
|
+
color: theme?.palette?.font?.primary,
|
|
5259
5171
|
wordBreak: 'break-word',
|
|
5260
5172
|
fontSize: theme.typography.fontSize.body,
|
|
5261
5173
|
lineHeight: '24px'
|
|
@@ -5350,7 +5262,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5350
5262
|
// }
|
|
5351
5263
|
// }
|
|
5352
5264
|
},
|
|
5353
|
-
|
|
5354
5265
|
sectionContainer: {
|
|
5355
5266
|
margin: '0 auto',
|
|
5356
5267
|
maxWidth: ({
|
|
@@ -5381,7 +5292,6 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
5381
5292
|
position: 'relative',
|
|
5382
5293
|
paddingBottom: '59.83%' // keeping aspect ratio 585x350
|
|
5383
5294
|
},
|
|
5384
|
-
|
|
5385
5295
|
contentRow: {
|
|
5386
5296
|
display: 'grid',
|
|
5387
5297
|
gridTemplateColumns: ({
|
|
@@ -5562,7 +5472,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5562
5472
|
padding: ({
|
|
5563
5473
|
isMobile
|
|
5564
5474
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
5565
|
-
backgroundColor: theme?.
|
|
5475
|
+
backgroundColor: theme?.palette?.background?.primary,
|
|
5566
5476
|
'&, & *, & *:before, & *:after': {
|
|
5567
5477
|
fontFamily: theme?.typography?.fontFamily,
|
|
5568
5478
|
boxSizing: 'border-box'
|
|
@@ -5577,7 +5487,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5577
5487
|
} = {}) => containerWidth
|
|
5578
5488
|
},
|
|
5579
5489
|
sectionSubheading: {
|
|
5580
|
-
color: theme?.
|
|
5490
|
+
color: theme?.palette?.font.default,
|
|
5581
5491
|
fontSize: theme.typography.fontSize.subHead,
|
|
5582
5492
|
marginBottom: '8px',
|
|
5583
5493
|
wordBreak: 'break-word'
|
|
@@ -5586,16 +5496,15 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5586
5496
|
fontSize: theme.typography.fontSize.h2,
|
|
5587
5497
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5588
5498
|
wordBreak: 'break-word',
|
|
5589
|
-
marginBottom: `${theme.spacing.margin.tiny}px
|
|
5590
|
-
color: theme?.colors?.font3
|
|
5499
|
+
marginBottom: `${theme.spacing.margin.tiny}px`
|
|
5591
5500
|
},
|
|
5592
5501
|
container: {
|
|
5593
5502
|
boxShadow: theme?.shadows?.secondary,
|
|
5594
5503
|
borderRadius: '8px',
|
|
5595
|
-
backgroundColor: theme?.
|
|
5504
|
+
backgroundColor: theme?.palette?.background?.default
|
|
5596
5505
|
},
|
|
5597
5506
|
basicCardContainer: {
|
|
5598
|
-
borderBottom:
|
|
5507
|
+
borderBottom: theme?.borders?.secondary,
|
|
5599
5508
|
padding: `${theme.spacing.padding.tiny}px`
|
|
5600
5509
|
},
|
|
5601
5510
|
innerContainer: {
|
|
@@ -5614,14 +5523,14 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
5614
5523
|
alignItems: 'center'
|
|
5615
5524
|
},
|
|
5616
5525
|
title: {
|
|
5617
|
-
color: theme?.
|
|
5526
|
+
color: theme?.palette?.font.default,
|
|
5618
5527
|
fontSize: theme.typography.fontSize.h5,
|
|
5619
5528
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5620
5529
|
margin: '0',
|
|
5621
5530
|
wordBreak: 'break-word'
|
|
5622
5531
|
},
|
|
5623
5532
|
content: {
|
|
5624
|
-
color: theme?.
|
|
5533
|
+
color: theme?.palette?.font.primary,
|
|
5625
5534
|
fontSize: theme.typography.fontSize.body,
|
|
5626
5535
|
lineHeight: '24px',
|
|
5627
5536
|
maxHeight: ({
|
|
@@ -5741,10 +5650,11 @@ var index$a = /*#__PURE__*/Object.freeze({
|
|
|
5741
5650
|
|
|
5742
5651
|
const useTextGridStyles = createUseStyles(theme => ({
|
|
5743
5652
|
section: {
|
|
5744
|
-
background: theme.colors.background1,
|
|
5745
5653
|
padding: ({
|
|
5746
5654
|
isMobile
|
|
5747
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
|
+
|
|
5748
5658
|
'&, & *, & *:before, & *:after': {
|
|
5749
5659
|
fontFamily: theme?.typography?.fontFamily,
|
|
5750
5660
|
boxSizing: 'border-box'
|
|
@@ -5752,6 +5662,12 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5752
5662
|
'& h2,& h3,& p': {
|
|
5753
5663
|
marginTop: '0'
|
|
5754
5664
|
}
|
|
5665
|
+
// '& h2,& h3': {
|
|
5666
|
+
// fontWeight: '500',
|
|
5667
|
+
// '& b,& strong': {
|
|
5668
|
+
// fontWeight: '700'
|
|
5669
|
+
// }
|
|
5670
|
+
// }
|
|
5755
5671
|
},
|
|
5756
5672
|
sectionContainer: {
|
|
5757
5673
|
margin: '0 auto',
|
|
@@ -5760,7 +5676,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5760
5676
|
} = {}) => containerWidth
|
|
5761
5677
|
},
|
|
5762
5678
|
subheading: {
|
|
5763
|
-
color: theme?.
|
|
5679
|
+
color: theme?.palette?.font.default,
|
|
5764
5680
|
fontSize: theme.typography.fontSize.subHead,
|
|
5765
5681
|
lineHeight: '20px',
|
|
5766
5682
|
letterSpacing: '3px',
|
|
@@ -5774,8 +5690,7 @@ const useTextGridStyles = createUseStyles(theme => ({
|
|
|
5774
5690
|
fontWeight: theme.typography.fontWeight.bold,
|
|
5775
5691
|
letterSpacing: '-3px',
|
|
5776
5692
|
marginBottom: theme.spacing.margin.tiny,
|
|
5777
|
-
wordBreak: 'break-word'
|
|
5778
|
-
color: theme?.colors?.font1
|
|
5693
|
+
wordBreak: 'break-word'
|
|
5779
5694
|
},
|
|
5780
5695
|
sliderContainer: {
|
|
5781
5696
|
margin: '0 -10px'
|
|
@@ -5928,7 +5843,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5928
5843
|
// }
|
|
5929
5844
|
// }
|
|
5930
5845
|
},
|
|
5931
|
-
|
|
5932
5846
|
sectionContainer: {
|
|
5933
5847
|
margin: '0 auto',
|
|
5934
5848
|
maxWidth: ({
|
|
@@ -5961,7 +5875,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
5961
5875
|
// textAlign: 'center',
|
|
5962
5876
|
// wordBreak: 'break-word'
|
|
5963
5877
|
},
|
|
5964
|
-
|
|
5965
5878
|
slickContainer: {
|
|
5966
5879
|
marginRight: '-20px'
|
|
5967
5880
|
},
|
|
@@ -6009,7 +5922,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6009
5922
|
justifyContent: 'space-between'
|
|
6010
5923
|
//alignItems: 'center',
|
|
6011
5924
|
},
|
|
6012
|
-
|
|
6013
5925
|
courseCardTags: {
|
|
6014
5926
|
display: 'flex',
|
|
6015
5927
|
justifyContent: 'flex-start',
|
|
@@ -6040,12 +5952,11 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6040
5952
|
// whiteSpace: 'nowrap',
|
|
6041
5953
|
// textOverflow: 'ellipsis'
|
|
6042
5954
|
},
|
|
6043
|
-
|
|
6044
5955
|
courseCardDiscount: {
|
|
6045
5956
|
display: 'flex',
|
|
6046
5957
|
justifyContent: 'flex-start',
|
|
6047
5958
|
alignItems: 'center',
|
|
6048
|
-
fontSize: theme.typography.fontSize.
|
|
5959
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
6049
5960
|
color: theme?.palette?.font?.primary,
|
|
6050
5961
|
'& img': {
|
|
6051
5962
|
marginRight: '5px'
|
|
@@ -6078,8 +5989,8 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6078
5989
|
},
|
|
6079
5990
|
courseCardBuyBtn: {
|
|
6080
5991
|
cursor: 'pointer',
|
|
6081
|
-
background: theme?.
|
|
6082
|
-
color: theme?.
|
|
5992
|
+
background: theme?.palette?.primary?.main,
|
|
5993
|
+
color: theme?.palette?.font?.invertedDefault,
|
|
6083
5994
|
padding: '8px 16px',
|
|
6084
5995
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6085
5996
|
cursor: 'pointer',
|
|
@@ -6147,7 +6058,6 @@ const useCourseStyles = createUseStyles(theme => {
|
|
|
6147
6058
|
// whiteSpace: 'nowrap',
|
|
6148
6059
|
// textOverflow: 'ellipsis'
|
|
6149
6060
|
},
|
|
6150
|
-
|
|
6151
6061
|
singleCard: {
|
|
6152
6062
|
margin: '6px 2px'
|
|
6153
6063
|
// width: 'calc(100% - 12px)'
|
|
@@ -6178,6 +6088,13 @@ async function getCourseList(baseURLs, hashToken) {
|
|
|
6178
6088
|
|
|
6179
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";
|
|
6180
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
|
+
|
|
6181
6098
|
const formatCurrency = (countryCode, value, currencySymbol) => {
|
|
6182
6099
|
let formattedValue = Number(value);
|
|
6183
6100
|
const getFormattedValue = (countryCode, currencySymbol, value) => {
|
|
@@ -6445,10 +6362,11 @@ var index$8 = /*#__PURE__*/Object.freeze({
|
|
|
6445
6362
|
const useTeamStyles = createUseStyles(theme => {
|
|
6446
6363
|
return {
|
|
6447
6364
|
teamSuperContainer: {
|
|
6448
|
-
background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
|
|
6449
6365
|
padding: ({
|
|
6450
6366
|
isMobile
|
|
6451
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
|
+
|
|
6452
6370
|
'&, & *, & *:before, & *:after': {
|
|
6453
6371
|
fontFamily: theme?.typography?.fontFamily,
|
|
6454
6372
|
boxSizing: 'border-box'
|
|
@@ -6469,17 +6387,25 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6469
6387
|
lineHeight: '20px',
|
|
6470
6388
|
letterSpacing: '3px',
|
|
6471
6389
|
marginBottom: '8px',
|
|
6472
|
-
color: theme?.
|
|
6390
|
+
color: theme?.palette?.font?.default,
|
|
6473
6391
|
// wordBreak: 'break-word',
|
|
6474
6392
|
position: 'relative'
|
|
6475
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
|
+
},
|
|
6476
6402
|
teamTitle: {
|
|
6477
6403
|
fontSize: theme.typography.fontSize.h2,
|
|
6478
6404
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6479
6405
|
lineHeight: '70px',
|
|
6480
6406
|
letterSpacing: '-3px',
|
|
6481
6407
|
wordBreak: 'break-word',
|
|
6482
|
-
color: theme?.
|
|
6408
|
+
color: theme?.palette?.font?.default,
|
|
6483
6409
|
position: 'relative'
|
|
6484
6410
|
},
|
|
6485
6411
|
sliderContainer: {
|
|
@@ -6523,7 +6449,6 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6523
6449
|
margin: '20px 0 0'
|
|
6524
6450
|
// overflowWrap: 'break-word'
|
|
6525
6451
|
},
|
|
6526
|
-
|
|
6527
6452
|
teamDetailsHeading: {
|
|
6528
6453
|
fontSize: theme.typography.fontSize.h6,
|
|
6529
6454
|
fontWeight: theme.typography.fontWeight.bold,
|
|
@@ -6567,14 +6492,15 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6567
6492
|
// margin: '15px 0 0',
|
|
6568
6493
|
// paddingBottom: '0'
|
|
6569
6494
|
},
|
|
6570
|
-
|
|
6571
6495
|
teamDetailsHeading: {
|
|
6572
6496
|
fontSize: '16px',
|
|
6573
6497
|
lineHeight: '24px',
|
|
6574
|
-
margin: '0'
|
|
6498
|
+
margin: '0',
|
|
6499
|
+
color: theme?.palette?.font?.body
|
|
6575
6500
|
},
|
|
6576
6501
|
teamDetailsSubHeading: {
|
|
6577
|
-
marginTop: '0px'
|
|
6502
|
+
marginTop: '0px',
|
|
6503
|
+
color: theme?.palette?.font?.primary
|
|
6578
6504
|
}
|
|
6579
6505
|
}
|
|
6580
6506
|
};
|
|
@@ -6685,7 +6611,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6685
6611
|
justifyContent: 'center',
|
|
6686
6612
|
flexDirection: 'column',
|
|
6687
6613
|
alignItems: 'center',
|
|
6688
|
-
|
|
6614
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6689
6615
|
padding: ({
|
|
6690
6616
|
isMobile
|
|
6691
6617
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
@@ -6700,23 +6626,22 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6700
6626
|
// }
|
|
6701
6627
|
// }
|
|
6702
6628
|
},
|
|
6703
|
-
|
|
6704
6629
|
formContainer: {
|
|
6705
6630
|
margin: '0 auto',
|
|
6706
6631
|
maxWidth: ({
|
|
6707
6632
|
containerWidth
|
|
6708
6633
|
} = {}) => containerWidth
|
|
6709
6634
|
},
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6635
|
+
partialBackground: {
|
|
6636
|
+
top: '0',
|
|
6637
|
+
left: '0',
|
|
6638
|
+
width: '100%',
|
|
6639
|
+
height: '50%',
|
|
6640
|
+
position: 'absolute',
|
|
6641
|
+
background: theme?.palette?.background?.primary
|
|
6642
|
+
},
|
|
6718
6643
|
sectionContainer: {
|
|
6719
|
-
backgroundColor: theme?.
|
|
6644
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
6720
6645
|
boxShadow: theme?.shadows?.secondary,
|
|
6721
6646
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6722
6647
|
padding: '48px',
|
|
@@ -6725,7 +6650,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6725
6650
|
title: {
|
|
6726
6651
|
margin: '0',
|
|
6727
6652
|
fontSize: theme.typography.fontSize.h2,
|
|
6728
|
-
color: theme?.
|
|
6653
|
+
color: theme?.palette?.font?.default,
|
|
6729
6654
|
fontWeight: theme.typography.fontWeight.bold,
|
|
6730
6655
|
lineHeight: '71px',
|
|
6731
6656
|
letterSpacing: '-3px',
|
|
@@ -6737,18 +6662,16 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6737
6662
|
display: 'flex'
|
|
6738
6663
|
// alignItems: 'flex-start',
|
|
6739
6664
|
},
|
|
6740
|
-
|
|
6741
6665
|
leftContainerForm: {
|
|
6742
6666
|
width: '65%',
|
|
6743
6667
|
display: 'flex',
|
|
6744
6668
|
flexDirection: 'column'
|
|
6745
6669
|
// justifyContent: 'space-between'
|
|
6746
6670
|
},
|
|
6747
|
-
|
|
6748
6671
|
subtitle: {
|
|
6749
6672
|
// margin: '0 0 40px 0',
|
|
6750
6673
|
fontSize: theme.typography.fontSize.h5,
|
|
6751
|
-
color: theme?.
|
|
6674
|
+
color: theme?.palette?.font?.default,
|
|
6752
6675
|
lineHeight: '32px',
|
|
6753
6676
|
wordBreak: 'break-word',
|
|
6754
6677
|
marginBottom: '32px'
|
|
@@ -6771,7 +6694,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6771
6694
|
},
|
|
6772
6695
|
addressText: {
|
|
6773
6696
|
fontSize: theme.typography.fontSize.h6,
|
|
6774
|
-
color: theme?.
|
|
6697
|
+
color: theme?.palette?.font?.default,
|
|
6775
6698
|
lineHeight: '24px',
|
|
6776
6699
|
fontSize: '16px'
|
|
6777
6700
|
},
|
|
@@ -6812,7 +6735,6 @@ const useSectionStyles$1 = createUseStyles(theme => ({
|
|
|
6812
6735
|
width: '100%'
|
|
6813
6736
|
// padding: '0 16ox'
|
|
6814
6737
|
},
|
|
6815
|
-
|
|
6816
6738
|
rightContainer: {
|
|
6817
6739
|
width: '100%',
|
|
6818
6740
|
padding: '0'
|
|
@@ -7108,7 +7030,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7108
7030
|
padding: ({
|
|
7109
7031
|
isMobile
|
|
7110
7032
|
} = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
|
|
7111
|
-
|
|
7033
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
7112
7034
|
'&, & *, & *:before, & *:after': {
|
|
7113
7035
|
fontFamily: theme?.typography?.fontFamily,
|
|
7114
7036
|
boxSizing: 'border-box'
|
|
@@ -7120,7 +7042,6 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7120
7042
|
// }
|
|
7121
7043
|
// }
|
|
7122
7044
|
},
|
|
7123
|
-
|
|
7124
7045
|
contactContainer: {
|
|
7125
7046
|
width: '100%',
|
|
7126
7047
|
margin: '0 auto',
|
|
@@ -7128,8 +7049,16 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7128
7049
|
containerWidth
|
|
7129
7050
|
} = {}) => containerWidth
|
|
7130
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
|
+
},
|
|
7131
7060
|
sectionContainer: {
|
|
7132
|
-
backgroundColor: theme?.
|
|
7061
|
+
backgroundColor: theme?.palette?.background?.default,
|
|
7133
7062
|
boxShadow: theme?.shadows?.secondary,
|
|
7134
7063
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7135
7064
|
padding: '48px',
|
|
@@ -7138,7 +7067,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7138
7067
|
title: {
|
|
7139
7068
|
margin: '0',
|
|
7140
7069
|
fontSize: theme.typography.fontSize.h2,
|
|
7141
|
-
color: theme?.
|
|
7070
|
+
color: theme?.palette?.font?.default,
|
|
7142
7071
|
lineHeight: '71px',
|
|
7143
7072
|
letterSpacing: '-3px',
|
|
7144
7073
|
textAlign: 'left',
|
|
@@ -7159,11 +7088,10 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7159
7088
|
// justifyContent: 'space-between',
|
|
7160
7089
|
// flex: 1
|
|
7161
7090
|
},
|
|
7162
|
-
|
|
7163
7091
|
subtitle: {
|
|
7164
7092
|
// margin: '0 0 auto 0',
|
|
7165
7093
|
fontSize: theme.typography.fontSize.h6,
|
|
7166
|
-
color: theme?.
|
|
7094
|
+
color: theme?.palette?.font?.default,
|
|
7167
7095
|
// lineHeight: '32px',
|
|
7168
7096
|
// margin: '16px 0',
|
|
7169
7097
|
textAlign: 'center',
|
|
@@ -7194,8 +7122,8 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7194
7122
|
inputField: {
|
|
7195
7123
|
width: '100%',
|
|
7196
7124
|
// maxWidth: '314px',
|
|
7197
|
-
|
|
7198
|
-
border: `1px solid ${theme?.
|
|
7125
|
+
background: theme?.palette?.background?.default,
|
|
7126
|
+
border: `1px solid ${theme?.palette?.border?.secondary}`,
|
|
7199
7127
|
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
7200
7128
|
// padding: '14px 12px',
|
|
7201
7129
|
display: 'flex',
|
|
@@ -7208,7 +7136,7 @@ const useSectionStyles = createUseStyles(theme => ({
|
|
|
7208
7136
|
fontWeight: '400',
|
|
7209
7137
|
fontSize: theme.typography.fontSize.subHead,
|
|
7210
7138
|
lineHeight: '20px',
|
|
7211
|
-
color: theme?.
|
|
7139
|
+
color: theme?.palette?.font?.primary,
|
|
7212
7140
|
fontFamily: theme?.typography?.fontFamily
|
|
7213
7141
|
},
|
|
7214
7142
|
'&:focus': {
|
|
@@ -7521,7 +7449,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7521
7449
|
webinarSuperContainer: {
|
|
7522
7450
|
display: 'flex',
|
|
7523
7451
|
justifyContent: 'center',
|
|
7524
|
-
background: theme.colors.background1,
|
|
7525
7452
|
padding: ({
|
|
7526
7453
|
isMobile
|
|
7527
7454
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
@@ -7544,6 +7471,30 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7544
7471
|
maxWidth: '1440px',
|
|
7545
7472
|
fontFamily: theme?.typography?.fontFamily
|
|
7546
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
|
+
|
|
7547
7498
|
webinarCarousel: {
|
|
7548
7499
|
display: 'flex',
|
|
7549
7500
|
justifyContent: 'flex-start',
|
|
@@ -7564,7 +7515,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7564
7515
|
iframeContainer: {
|
|
7565
7516
|
width: '100%',
|
|
7566
7517
|
position: 'relative',
|
|
7567
|
-
|
|
7518
|
+
paddingBottom: '56.25%',
|
|
7568
7519
|
// top: "6%",
|
|
7569
7520
|
// left: '5%'
|
|
7570
7521
|
borderRadius: '8px',
|
|
@@ -7572,9 +7523,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7572
7523
|
},
|
|
7573
7524
|
offerText: {
|
|
7574
7525
|
textAlign: 'center',
|
|
7575
|
-
color: theme
|
|
7576
|
-
marginBottom: '5%
|
|
7577
|
-
fontWeight: '700'
|
|
7526
|
+
color: theme.palette.font.primary,
|
|
7527
|
+
marginBottom: '5%'
|
|
7578
7528
|
},
|
|
7579
7529
|
offerPrice: {
|
|
7580
7530
|
fontSize: theme.typography.fontSize.h5,
|
|
@@ -7599,7 +7549,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7599
7549
|
marginTop: '5%'
|
|
7600
7550
|
// padding: '0px 5% 0px 5%'
|
|
7601
7551
|
},
|
|
7602
|
-
|
|
7603
7552
|
iframe: {
|
|
7604
7553
|
position: 'absolute',
|
|
7605
7554
|
width: '100%',
|
|
@@ -7620,7 +7569,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7620
7569
|
margin: '0',
|
|
7621
7570
|
letterSpacing: '-1px',
|
|
7622
7571
|
wordBreak: wordBreakValue => wordBreakValue || 'break-word',
|
|
7623
|
-
color: theme
|
|
7572
|
+
color: theme.palette.font.default
|
|
7624
7573
|
},
|
|
7625
7574
|
courseViewContainer: {
|
|
7626
7575
|
width: '645px',
|
|
@@ -7634,9 +7583,8 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7634
7583
|
},
|
|
7635
7584
|
bannerContainer: {
|
|
7636
7585
|
width: '100%',
|
|
7637
|
-
background:
|
|
7638
|
-
color:
|
|
7639
|
-
fontWeight: '600',
|
|
7586
|
+
background: '#EB5757',
|
|
7587
|
+
color: '#fff',
|
|
7640
7588
|
textAlign: 'center',
|
|
7641
7589
|
padding: '10px 10px 23px 40px',
|
|
7642
7590
|
wordWrap: 'break-word',
|
|
@@ -7655,26 +7603,24 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7655
7603
|
display: 'flex',
|
|
7656
7604
|
alignItems: 'center',
|
|
7657
7605
|
marginRight: '20px',
|
|
7658
|
-
color: theme?.colors?.font1,
|
|
7659
7606
|
'& div': {
|
|
7660
|
-
fontSize: theme.typography.fontSize.
|
|
7607
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7661
7608
|
marginLeft: '10px'
|
|
7662
7609
|
}
|
|
7663
7610
|
},
|
|
7664
7611
|
courseDetailContent: {
|
|
7665
|
-
fontSize: theme.typography.fontSize.
|
|
7666
|
-
lineHeight: '21px',
|
|
7612
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7667
7613
|
wordBreak: 'break-word',
|
|
7668
|
-
color: theme
|
|
7614
|
+
color: theme.palette.font.primary,
|
|
7669
7615
|
whiteSpace: 'pre-wrap',
|
|
7670
7616
|
width: '80%'
|
|
7671
7617
|
},
|
|
7672
7618
|
courseDetailViewFullDetails: {
|
|
7673
7619
|
cursor: 'pointer',
|
|
7674
|
-
fontSize: theme.typography.fontSize.
|
|
7620
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
7675
7621
|
lineHeight: '24px',
|
|
7676
|
-
color: theme?.colors?.font1,
|
|
7677
7622
|
marginTop: '-20px',
|
|
7623
|
+
color: '#00ADE7',
|
|
7678
7624
|
wordBreak: 'break-word'
|
|
7679
7625
|
},
|
|
7680
7626
|
courseDetailTime: {
|
|
@@ -7689,7 +7635,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
|
|
|
7689
7635
|
display: 'flex',
|
|
7690
7636
|
width: '36px',
|
|
7691
7637
|
height: '36px',
|
|
7692
|
-
backgroundColor:
|
|
7638
|
+
backgroundColor: 'rgb(240, 244, 248)',
|
|
7693
7639
|
justifyContent: 'center',
|
|
7694
7640
|
alignItems: 'center',
|
|
7695
7641
|
borderRadius: '6px'
|
|
@@ -7881,15 +7827,14 @@ const SingleVideoSlide$1 = props => {
|
|
|
7881
7827
|
className: classes.iconBackground
|
|
7882
7828
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7883
7829
|
name: 'Calendar',
|
|
7884
|
-
|
|
7885
|
-
color: theme?.colors?.background2
|
|
7830
|
+
color: theme.palette.primary.main
|
|
7886
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", {
|
|
7887
7832
|
className: classes.courseDetailTag
|
|
7888
7833
|
}, /*#__PURE__*/React.createElement("span", {
|
|
7889
7834
|
className: classes.iconBackground
|
|
7890
7835
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
7891
|
-
color: theme
|
|
7892
|
-
width: "
|
|
7836
|
+
color: theme.palette.primary.main,
|
|
7837
|
+
width: "20px",
|
|
7893
7838
|
name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
|
|
7894
7839
|
})), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
|
|
7895
7840
|
ref: data?.videoTextContent?.refSetter,
|
|
@@ -7947,7 +7892,6 @@ const SingleVideoSlide$1 = props => {
|
|
|
7947
7892
|
value: data.isPaid ? buyNowText : registerNowText
|
|
7948
7893
|
// isExternal: 1
|
|
7949
7894
|
},
|
|
7950
|
-
|
|
7951
7895
|
onClick: webinarCtaClick,
|
|
7952
7896
|
type: 'primary',
|
|
7953
7897
|
size: 'medium',
|
|
@@ -7996,15 +7940,13 @@ var index$4 = /*#__PURE__*/Object.freeze({
|
|
|
7996
7940
|
});
|
|
7997
7941
|
|
|
7998
7942
|
const useCoursePromotionPage = createUseStyles(theme => {
|
|
7999
|
-
console.log(theme, 'themere');
|
|
8000
7943
|
return {
|
|
8001
7944
|
courseSuperContainer: {
|
|
8002
7945
|
display: 'flex',
|
|
8003
7946
|
justifyContent: 'center',
|
|
8004
|
-
background: theme?.colors?.background1,
|
|
8005
7947
|
padding: ({
|
|
8006
7948
|
isMobile
|
|
8007
|
-
} = {}) => 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`,
|
|
8008
7950
|
'&, & *, & *:before, & *:after': {
|
|
8009
7951
|
fontFamily: theme?.typography?.fontFamily,
|
|
8010
7952
|
boxSizing: 'border-box'
|
|
@@ -8016,7 +7958,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8016
7958
|
// }
|
|
8017
7959
|
// }
|
|
8018
7960
|
},
|
|
8019
|
-
|
|
8020
7961
|
sectionContainer: {
|
|
8021
7962
|
margin: '0 auto',
|
|
8022
7963
|
maxWidth: ({
|
|
@@ -8068,14 +8009,13 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8068
8009
|
iframeContainer: {
|
|
8069
8010
|
width: '100%',
|
|
8070
8011
|
position: 'relative',
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8012
|
+
paddingBottom: '56.25%'
|
|
8013
|
+
// top: "6%",
|
|
8014
|
+
// left: '5%'
|
|
8074
8015
|
},
|
|
8075
8016
|
offerText: {
|
|
8076
8017
|
textAlign: 'center',
|
|
8077
|
-
color: theme.palette.font.primary
|
|
8078
|
-
fontWeight: '700'
|
|
8018
|
+
color: theme.palette.font.primary
|
|
8079
8019
|
},
|
|
8080
8020
|
offerPrice: {
|
|
8081
8021
|
fontSize: theme.typography.fontSize.h4,
|
|
@@ -8122,7 +8062,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8122
8062
|
margin: '0',
|
|
8123
8063
|
letterSpacing: '-1px',
|
|
8124
8064
|
wordBreak: 'break-word',
|
|
8125
|
-
color: theme
|
|
8065
|
+
color: theme.palette.font.default
|
|
8126
8066
|
},
|
|
8127
8067
|
courseViewContainer: {
|
|
8128
8068
|
width: '445px',
|
|
@@ -8134,22 +8074,19 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8134
8074
|
// paddingBottom: '10px',
|
|
8135
8075
|
// paddingTop: '10px'
|
|
8136
8076
|
},
|
|
8137
|
-
|
|
8138
8077
|
bannerContainer: {
|
|
8139
8078
|
width: '100%',
|
|
8140
|
-
background:
|
|
8141
|
-
color:
|
|
8142
|
-
fontWeight: '600',
|
|
8079
|
+
background: '#EB5757',
|
|
8080
|
+
color: '#fff',
|
|
8143
8081
|
textAlign: 'center',
|
|
8144
8082
|
padding: '10px 10px 23px 40px',
|
|
8145
8083
|
wordWrap: 'break-word',
|
|
8146
8084
|
position: 'relative',
|
|
8147
|
-
fontSize:
|
|
8085
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8148
8086
|
transform: 'rotate(180deg)',
|
|
8149
8087
|
clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
|
|
8150
8088
|
// marginBottom: '16px'
|
|
8151
8089
|
},
|
|
8152
|
-
|
|
8153
8090
|
bannerContainerText: {
|
|
8154
8091
|
transform: 'rotate(180deg)'
|
|
8155
8092
|
},
|
|
@@ -8160,8 +8097,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8160
8097
|
},
|
|
8161
8098
|
courseEmblem: {
|
|
8162
8099
|
background: '#F0F4F8',
|
|
8163
|
-
fontSize: theme.typography.fontSize.
|
|
8164
|
-
borderRadius: '
|
|
8100
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8101
|
+
borderRadius: '2.00337px',
|
|
8165
8102
|
padding: '8px',
|
|
8166
8103
|
display: 'flex',
|
|
8167
8104
|
alignItems: 'center',
|
|
@@ -8177,29 +8114,27 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8177
8114
|
display: 'flex',
|
|
8178
8115
|
alignItems: 'center',
|
|
8179
8116
|
marginRight: '20px',
|
|
8180
|
-
color: theme?.colors?.font1,
|
|
8181
8117
|
'& div': {
|
|
8182
|
-
fontSize: theme.typography.fontSize.
|
|
8183
|
-
fontWeight: theme.typography.fontWeight.
|
|
8118
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8119
|
+
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8184
8120
|
marginLeft: '10px'
|
|
8185
8121
|
}
|
|
8186
8122
|
},
|
|
8187
8123
|
courseDetailContent: {
|
|
8188
|
-
marginTop: '
|
|
8189
|
-
fontSize: theme.typography.fontSize.
|
|
8190
|
-
lineHeight: '
|
|
8124
|
+
// marginTop: '16px',
|
|
8125
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8126
|
+
lineHeight: '24px',
|
|
8191
8127
|
wordBreak: 'break-word',
|
|
8192
|
-
color: theme
|
|
8128
|
+
color: theme.palette.font.primary,
|
|
8193
8129
|
whiteSpace: 'pre-wrap',
|
|
8194
8130
|
margin: '10px 0 20px'
|
|
8195
8131
|
},
|
|
8196
8132
|
courseDetailViewFullDetails: {
|
|
8197
8133
|
cursor: 'pointer',
|
|
8198
|
-
fontSize: theme.typography.fontSize.
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
color: theme.colors?.font1,
|
|
8134
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8135
|
+
lineHeight: '24px',
|
|
8136
|
+
marginTop: '-24px',
|
|
8137
|
+
color: '#00ADE7',
|
|
8203
8138
|
wordBreak: 'break-word'
|
|
8204
8139
|
},
|
|
8205
8140
|
courseDetailTime: {
|
|
@@ -8210,7 +8145,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8210
8145
|
display: 'flex',
|
|
8211
8146
|
width: '36px',
|
|
8212
8147
|
height: '36px',
|
|
8213
|
-
backgroundColor:
|
|
8148
|
+
backgroundColor: 'rgb(240, 244, 248)',
|
|
8214
8149
|
justifyContent: 'center',
|
|
8215
8150
|
alignItems: 'center',
|
|
8216
8151
|
borderRadius: '6px'
|
|
@@ -8262,7 +8197,6 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8262
8197
|
height: 'max-content'
|
|
8263
8198
|
// paddingRight: '10px'
|
|
8264
8199
|
},
|
|
8265
|
-
|
|
8266
8200
|
videoDetails: {
|
|
8267
8201
|
width: '100%'
|
|
8268
8202
|
},
|
|
@@ -8270,8 +8204,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
|
|
|
8270
8204
|
// fontSize: '20px',
|
|
8271
8205
|
fontWeight: '600',
|
|
8272
8206
|
lineHeight: 'normal',
|
|
8273
|
-
letterSpacing: '0px'
|
|
8274
|
-
color: theme?.colors?.font1
|
|
8207
|
+
letterSpacing: '0px'
|
|
8275
8208
|
},
|
|
8276
8209
|
videoTestimonialTitle: {
|
|
8277
8210
|
// fontSize: '24px',
|
|
@@ -8440,32 +8373,28 @@ const SingleVideoSlide = props => {
|
|
|
8440
8373
|
className: classes.iconBackground
|
|
8441
8374
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8442
8375
|
name: 'Clock',
|
|
8443
|
-
|
|
8444
|
-
color: theme?.colors?.background2
|
|
8376
|
+
color: theme.palette.primary.main
|
|
8445
8377
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
8446
8378
|
className: classes.courseDetailTag
|
|
8447
8379
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8448
8380
|
className: classes.iconBackground
|
|
8449
8381
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8450
8382
|
name: 'Book Saved',
|
|
8451
|
-
color: theme
|
|
8452
|
-
width: "24px"
|
|
8383
|
+
color: theme.palette.primary.main
|
|
8453
8384
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? 'Physical Books' : null)) : null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? /*#__PURE__*/React.createElement("div", {
|
|
8454
8385
|
className: classes.courseDetailTag
|
|
8455
8386
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8456
8387
|
className: classes.iconBackground
|
|
8457
8388
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8458
8389
|
name: 'Certificate',
|
|
8459
|
-
color: theme
|
|
8460
|
-
|
|
8461
|
-
})), /*#__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", {
|
|
8462
8392
|
className: classes.courseDetailTag
|
|
8463
8393
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8464
8394
|
className: classes.iconBackground
|
|
8465
8395
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
8466
8396
|
name: 'Certificate',
|
|
8467
|
-
color: theme
|
|
8468
|
-
width: "20px"
|
|
8397
|
+
color: theme.palette.primary.main
|
|
8469
8398
|
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React.createElement("p", {
|
|
8470
8399
|
ref: data?.videoTextContent?.refSetter,
|
|
8471
8400
|
className: classes.courseDetailContent,
|
|
@@ -8521,7 +8450,6 @@ const SingleVideoSlide = props => {
|
|
|
8521
8450
|
value: buyNowText
|
|
8522
8451
|
// isExternal: 1
|
|
8523
8452
|
},
|
|
8524
|
-
|
|
8525
8453
|
onClick: courseBuyNow,
|
|
8526
8454
|
type: 'primary',
|
|
8527
8455
|
size: 'medium',
|
|
@@ -8592,7 +8520,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8592
8520
|
padding: ({
|
|
8593
8521
|
isMobile
|
|
8594
8522
|
} = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
|
|
8595
|
-
background:
|
|
8523
|
+
background: '#F4F9FF',
|
|
8596
8524
|
'&, & *, & *:before, & *:after': {
|
|
8597
8525
|
fontFamily: theme?.typography?.fontFamily,
|
|
8598
8526
|
boxSizing: 'border-box'
|
|
@@ -8609,7 +8537,7 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8609
8537
|
marginTop: '8px',
|
|
8610
8538
|
fontSize: theme.typography.fontSize.h6,
|
|
8611
8539
|
lineHeight: '23px',
|
|
8612
|
-
color:
|
|
8540
|
+
color: 'rgba(51, 51, 51, 0.5)',
|
|
8613
8541
|
marginBottom: theme.spacing.margin.tiny
|
|
8614
8542
|
},
|
|
8615
8543
|
formPageFormContainer: {
|
|
@@ -8626,10 +8554,9 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8626
8554
|
// border: '1px solid #D8E0F0',
|
|
8627
8555
|
// borderRadius: '16px'
|
|
8628
8556
|
},
|
|
8629
|
-
|
|
8630
8557
|
inputFieldLabel: {
|
|
8631
|
-
color:
|
|
8632
|
-
fontSize: theme.typography.fontSize.
|
|
8558
|
+
color: '#333',
|
|
8559
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8633
8560
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8634
8561
|
display: 'block',
|
|
8635
8562
|
marginTop: '20px',
|
|
@@ -8640,8 +8567,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8640
8567
|
borderRadius: '8px',
|
|
8641
8568
|
border: '1px solid #D8E0F0',
|
|
8642
8569
|
padding: '12px 16px',
|
|
8643
|
-
color:
|
|
8644
|
-
fontSize: theme.typography.fontSize.
|
|
8570
|
+
color: '#7D8592',
|
|
8571
|
+
fontSize: theme.typography.fontSize.subHead
|
|
8645
8572
|
},
|
|
8646
8573
|
checkboxField: {
|
|
8647
8574
|
// padding: '20px',
|
|
@@ -8649,21 +8576,21 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8649
8576
|
// borderRadius: '8px'
|
|
8650
8577
|
},
|
|
8651
8578
|
checkBoxFieldLabel: {
|
|
8652
|
-
color:
|
|
8653
|
-
fontSize: theme.typography.fontSize.
|
|
8579
|
+
color: '#333',
|
|
8580
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8654
8581
|
fontWeight: theme.typography.fontWeight.semiBold,
|
|
8655
8582
|
marginTop: '20px',
|
|
8656
8583
|
marginBottom: '12px'
|
|
8657
8584
|
},
|
|
8658
8585
|
inputFieldRequired: {
|
|
8659
|
-
color:
|
|
8586
|
+
color: '#F41828'
|
|
8660
8587
|
},
|
|
8661
8588
|
checkboxFieldControl: {
|
|
8662
8589
|
padding: '8px 0',
|
|
8663
8590
|
'& label': {
|
|
8664
|
-
fontSize: theme.typography.fontSize.
|
|
8591
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8665
8592
|
marginLeft: '10px',
|
|
8666
|
-
color:
|
|
8593
|
+
color: '#7D8592'
|
|
8667
8594
|
}
|
|
8668
8595
|
},
|
|
8669
8596
|
submitBtnContainer: {
|
|
@@ -8676,7 +8603,8 @@ const useFormPageStyles = createUseStyles(theme => ({
|
|
|
8676
8603
|
'& button': {
|
|
8677
8604
|
// height: '44px',
|
|
8678
8605
|
padding: '16px 24px',
|
|
8679
|
-
|
|
8606
|
+
color: '#FFFFFF',
|
|
8607
|
+
fontSize: theme.typography.fontSize.subHead,
|
|
8680
8608
|
cursor: 'pointer',
|
|
8681
8609
|
borderRadius: '8px'
|
|
8682
8610
|
}
|
|
@@ -8939,7 +8867,6 @@ const FormPage = ({
|
|
|
8939
8867
|
value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
|
|
8940
8868
|
// isExternal: 1
|
|
8941
8869
|
},
|
|
8942
|
-
|
|
8943
8870
|
type: 'primary',
|
|
8944
8871
|
size: 'medium',
|
|
8945
8872
|
target: null,
|
|
@@ -9122,7 +9049,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9122
9049
|
height: '48px'
|
|
9123
9050
|
/* margin: 18px 0px; */
|
|
9124
9051
|
},
|
|
9125
|
-
|
|
9126
9052
|
'p-young-guru-title': {
|
|
9127
9053
|
fontFamily: theme?.typography?.fontFamily,
|
|
9128
9054
|
fontStyle: 'normal',
|
|
@@ -9150,7 +9076,6 @@ const useEmailStyles = createUseStyles(theme => ({
|
|
|
9150
9076
|
textAlign: 'center'
|
|
9151
9077
|
/* padding:35px 0 40px */
|
|
9152
9078
|
},
|
|
9153
|
-
|
|
9154
9079
|
'two-columns .column': {
|
|
9155
9080
|
width: '100%',
|
|
9156
9081
|
maxWidth: '275px',
|
|
@@ -9684,7 +9609,7 @@ function PageRenderer({
|
|
|
9684
9609
|
countryCode,
|
|
9685
9610
|
currencySymbol
|
|
9686
9611
|
}), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
|
|
9687
|
-
const theme = useMemo(() =>
|
|
9612
|
+
const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
|
|
9688
9613
|
const Wrapper = SectionWrapper || Fragment;
|
|
9689
9614
|
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
9690
9615
|
theme: theme
|
|
@@ -9697,7 +9622,8 @@ function PageRenderer({
|
|
|
9697
9622
|
isHeader: true
|
|
9698
9623
|
}, /*#__PURE__*/React.createElement(Header, {
|
|
9699
9624
|
data: header,
|
|
9700
|
-
isLandingPage: isLandingPage
|
|
9625
|
+
isLandingPage: isLandingPage,
|
|
9626
|
+
extraProps: extraProps
|
|
9701
9627
|
})), sections?.length ? sections?.map((sectionData, sectionIndex) => /*#__PURE__*/React.createElement(Wrapper, _extends({}, !!SectionWrapper && {
|
|
9702
9628
|
sectionData,
|
|
9703
9629
|
sectionIndex
|