diy-template-components 2.0.11 → 2.0.12

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 CHANGED
@@ -57,7 +57,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
57
57
  height: '60px'
58
58
  },
59
59
  headerContainer: {
60
- background: theme?.palette?.background?.default,
60
+ background: theme?.colors?.white,
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.palette.primary.main,
118
+ color: theme?.colors?.headerText,
119
119
  padding: '20px',
120
120
  '&:hover': {
121
121
  cursor: 'pointer',
122
- background: theme.palette.primary.lightest,
122
+ background: theme?.colors?.headerHover,
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?.palette?.background?.default,
131
+ background: theme?.colors?.white,
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?.palette?.background?.default,
207
+ background: theme?.colors?.white,
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.slice(1, 3), 16);
325
- const g = parseInt(hex.slice(3, 5), 16);
326
- const b = parseInt(hex.slice(5, 7), 16);
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,13 +361,11 @@ 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?.palette?.background?.default,
364
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
365
365
  background: ({
366
366
  disabled
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}`,
367
+ } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
368
+ border: 'none',
371
369
  textDecoration: 'none',
372
370
  cursor: ({
373
371
  disabled
@@ -389,13 +387,13 @@ const buttonStyles = createUseStyles(theme => ({
389
387
  lineHeight: '18px',
390
388
  color: ({
391
389
  disabled
392
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
390
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
393
391
  background: ({
394
392
  disabled
395
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
393
+ } = {}) => disabled ? colorMixer(theme?.palette?.parimar?.default, 0.5).color : theme?.colors?.ctaColor,
396
394
  border: ({
397
395
  disabled
398
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
396
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
399
397
  cursor: ({
400
398
  disabled
401
399
  } = {}) => disabled ? 'not-allowed' : 'pointer',
@@ -1028,6 +1026,25 @@ var appStore = "data:image/svg+xml,%3Csvg%20width%3D%22116%22%20height%3D%2240%2
1028
1026
 
1029
1027
  var downloadApkImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQwAAABLCAYAAACFprnzAAAMPmlDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnltSIbTQpYTepEgNICWEFkB6EWyEJEAoMQaCih1ZVHAtqFjAhq6KKHZA7IidRbH3xYKKsi4W7MqbFNB1X/nefN/c+e8/Z/5z5tyZe+8AoH6cKxbnoRoA5IsKJfFhQYzRqWkM0lNAAcaADJyBJ5dXIGbFxkYBWAbbv5d31wEia684yrT+2f9fiyZfUMADAImFOINfwMuHeD8AeA1PLCkEgCjjLSYXimUYVqAtgQFCPF+GsxS4RoYzFHi33CYxng1xGwBkVS5XkgWA2iXIM4p4WVBDrQ9iFxFfKAJAnQGxf37+RD7E6RDbQhsxxDJ9ZsYPOll/08wY0uRys4awYi7yQg4WFojzuFP/z3T875KfJx30YQ2rarYkPF42Z5i3m7kTI2VYFeJeUUZ0DMRaEH8Q8uX2EKPUbGl4ksIeNeIVsGHOgC7ELnxucCTERhCHivKio5R8RqYwlAMxXCHoFGEhJxFifYjnCwpCEpQ2GyQT45W+0MZMCZul5M9yJXK/Ml/3pblJLKX+62wBR6mPqRVnJ6ZATIXYskiYHA2xGsROBbkJkUqbkcXZ7OhBG4k0Xha/JcTxAlFYkEIfK8qUhMYr7cvzCwbni23IFnKilXhvYXZiuCI/WBuPK48fzgW7JBCxkgZ1BAWjowbnwhcEhyjmjj0TiJISlDofxIVB8YqxOFWcF6u0x80FeWEy3hxi94KiBOVYPLkQLkiFPp4pLoxNVMSJF+dwI2IV8eBLQBRgg2DAAFJYM8BEkAOEHb1NvfBO0RMKuEACsoAAOCqZwREp8h4RvCaAYvAnRAJQMDQuSN4rAEWQ/zrEKq6OIFPeWyQfkQueQJwPIkEevJfK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ahfO/Ey/UOQw8eO0pQZxfsZJPfDXcYe57txhk60mgzNLEAY0V+Aru4lWNKlTcL/XJa9BYDa+g+35qPXZX6y+JxWunAGJi5A7uR4/mC3/3ud4FzF0AzPr6urWRU1ZPVEN6ezhfp2CPwt7/9LX5cyC/BVtF5ncwBVKGUecwP2Eno+IZ23k3BMXpC9PV8OtXf0yKslR6lQknE29DzMYcRXxRNnjmKwHtgAc73TJw4MSxvx+hvsGPzzG2k+1Yi4sCfOYxg29RjCjzmdVglIeT1hvBlP4oNryr39Hhe3cRjuzXCHGYb5DbQxzZAD4PeEEAPo9t7zs9htNrp2a2MRnTDskpiymTIFhiVFvA91cEagB7UUMOwbtwa6spmedkC7xYL9NLxdGKT3MPoxFoZN1tglFsgO4xR3gBy9bMFOrFAdhidWCvjZguMcgvkOYxR3gBy9YfOAiwz69CdvSCna8G2Qa3kw7b1oZz8tNc7jGWpp2vlM2G2QLZA+xbwk5WDudF7xad9zWdhjrX3JXZKk/GzBbIFurQATkK/LllEMvEYjNPpRv4Ye7szR6W7oc002QLZAqPMAmP5OtKkSZNGWbVzdbMFsgW6scAY69LE7WKcObBDS93wyDTZAtkCo8ACfD+2dBh8AMXeQ1B+C3UU1D9XMVsgW6BNC9iJ4jBlyhQORb4DfF9huN87Yfp3fSgn02bb5TbQ+zaAT9C3V2ocBq6DSdCqr3jlC9H7C5Ftmm060tsAvgCfIKhzGCqwidD8pM+9ndwGRnEbwAek8H8VNOJO7rX6rgAAAABJRU5ErkJggg==";
1030
1028
 
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
+
1031
1048
  function OptionList({
1032
1049
  optionsData,
1033
1050
  headerData,
@@ -1055,6 +1072,9 @@ function OptionList({
1055
1072
  };
1056
1073
  const tabData = tabsDataModifier();
1057
1074
  const classes = useSectionStyles$a();
1075
+
1076
+ // console.log(headerData, 'sakshat header options');
1077
+
1058
1078
  const isAndroidDelisted = headerData?.isAndroidDelisted;
1059
1079
  const apkURL = headerData?.apkURL;
1060
1080
  const downloadApkURL = isAndroidDelisted && apkURL ? apkURL : null;
@@ -1105,6 +1125,12 @@ function OptionList({
1105
1125
  alt: "appStore"
1106
1126
  })) : null);
1107
1127
  };
1128
+ const iosLink = isTutorWebsite ? headerData?.iosDownloadLink : headerData?.iosUrl;
1129
+ const androidLink = isTutorWebsite ? headerData?.androidDownloadLink : headerData?.appLink;
1130
+
1131
+ // console.log(iosLink, 'sakshat ios link');
1132
+ // console.log(androidLink, 'sakshat android link');
1133
+
1108
1134
  return /*#__PURE__*/React.createElement("div", {
1109
1135
  className: classes.listSection
1110
1136
  }, /*#__PURE__*/React.createElement("div", {
@@ -1128,9 +1154,9 @@ function OptionList({
1128
1154
  list: moreContent,
1129
1155
  label: 'More',
1130
1156
  icon: arrowDown
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, {
1157
+ }) : 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 || androidLink?.length > 0 || iosLink?.length > 0 ? /*#__PURE__*/React.createElement(Button, {
1132
1158
  data: {
1133
- link: downloadApkURL ? downloadApkURL : headerData?.appLink,
1159
+ link: isAndroidDelisted ? getAppDownloadLink(downloadApkURL, iosLink) : getAppDownloadLink(androidLink, iosLink),
1134
1160
  isLink: 1,
1135
1161
  value: downloadAppText,
1136
1162
  isExternal: 1
@@ -1289,6 +1315,9 @@ function DesktopHeader({
1289
1315
  }
1290
1316
  return moreContent;
1291
1317
  };
1318
+
1319
+ // console.log(header, 'sakshat header desktop');
1320
+
1292
1321
  return /*#__PURE__*/React.createElement("nav", {
1293
1322
  className: classes.section
1294
1323
  }, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
@@ -1330,10 +1359,6 @@ function DesktopHeader({
1330
1359
  }));
1331
1360
  }
1332
1361
 
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
-
1337
1362
  function MobileHeader({
1338
1363
  header,
1339
1364
  navData,
@@ -1367,54 +1392,17 @@ function MobileHeader({
1367
1392
  body?.removeAttribute('style');
1368
1393
  }
1369
1394
  }, [sideMenu]);
1370
- let iosUrl = null;
1371
- let androidUrl = null;
1372
1395
  let downloadLink = null;
1373
1396
  const downloadAppText = countryCode === 'KR' ? '앱다운로드' : 'Download App';
1397
+ const apkURL = header?.apkURL;
1398
+ const isAndroidDelisted = header?.isAndroidDelisted;
1399
+ const iosDownloadLink = header?.iosDownloadLink || header?.iosUrl;
1400
+ const androidDownloadLink = header?.androidDownloadLink;
1401
+
1402
+ // console.log(header, 'sakshat header mobile');
1403
+
1374
1404
  if (isTutorWebsite) {
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, {
1399
- data: {
1400
- link: header?.androidURL,
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) {
1405
+ if (isAndroidDelisted && apkURL) {
1418
1406
  downloadLink = /*#__PURE__*/React.createElement(Button, {
1419
1407
  data: {
1420
1408
  value: downloadAppText,
@@ -1425,33 +1413,19 @@ function MobileHeader({
1425
1413
  target: 'blank',
1426
1414
  rel: null,
1427
1415
  onClick: () => {
1428
- window.open(header?.iosUrl ? header?.iosUrl : header?.apkURL, "_blank");
1416
+ let url = getAppDownloadLink(apkURL, iosDownloadLink);
1417
+ window.open(url, "_blank");
1429
1418
  if (!header?.iosUrl && typeof onDownloadAppTriggered == "function") {
1430
1419
  onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
1431
1420
  }
1432
1421
  }
1433
1422
  });
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',
1447
- rel: null
1448
- });
1449
- } else if (header?.androidURL) {
1423
+ } else if (androidDownloadLink?.length || iosDownloadLink?.length) {
1450
1424
  downloadLink = /*#__PURE__*/React.createElement(Button, {
1451
1425
  data: {
1452
- link: header?.androidURL,
1426
+ link: getAppDownloadLink(androidDownloadLink, iosDownloadLink),
1453
1427
  isLink: 1,
1454
- value: header?.downloadAppButtonText || downloadAppText,
1428
+ value: downloadAppText,
1455
1429
  isExternal: 1
1456
1430
  },
1457
1431
  type: 'primary',
@@ -1463,7 +1437,7 @@ function MobileHeader({
1463
1437
  downloadLink = null;
1464
1438
  }
1465
1439
  } else {
1466
- if (header?.isAndroidDelisted && header?.apkURL) {
1440
+ if (isAndroidDelisted && apkURL) {
1467
1441
  downloadLink = /*#__PURE__*/React.createElement(Button, {
1468
1442
  data: {
1469
1443
  value: downloadAppText,
@@ -1474,16 +1448,18 @@ function MobileHeader({
1474
1448
  target: 'blank',
1475
1449
  rel: null,
1476
1450
  onClick: () => {
1477
- window.open(header?.iosUrl ? header?.iosUrl : header?.apkURL, "_blank");
1451
+ let url = getAppDownloadLink(apkURL, iosDownloadLink);
1452
+ window.open(url, "_blank");
1478
1453
  if (!header?.iosUrl && typeof onDownloadAppTriggered == "function") {
1479
1454
  onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
1480
1455
  }
1481
1456
  }
1482
1457
  });
1483
- } else if (header?.appLink) {
1458
+ } else if (header?.appLink || header?.iosUrl) {
1459
+ console.log('inside custom website');
1484
1460
  downloadLink = /*#__PURE__*/React.createElement(Button, {
1485
1461
  data: {
1486
- link: header?.appLink,
1462
+ link: getAppDownloadLink(header?.appLink, header?.iosUrl),
1487
1463
  isLink: 1,
1488
1464
  value: downloadAppText,
1489
1465
  isExternal: 1
@@ -1615,6 +1591,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1615
1591
 
1616
1592
  // '& img': { maxHeight: '55px' }
1617
1593
  },
1594
+
1618
1595
  upperContainerItem1Img: {
1619
1596
  maxHeight: '55px',
1620
1597
  paddingBottom: '84px',
@@ -2041,6 +2018,7 @@ const mobilePadding = {
2041
2018
  // 24px
2042
2019
  medium: baseFactor * 6 // 48px
2043
2020
  };
2021
+
2044
2022
  const padding = {
2045
2023
  minute: baseFactor * 2,
2046
2024
  // 16px
@@ -2100,17 +2078,13 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
2100
2078
  const shape = {
2101
2079
  borderRadius
2102
2080
  };
2103
- const spacing = {
2104
- padding: isMobile ? mobilePadding : padding,
2105
- margin: isMobile ? mobileMargin : margin
2106
- };
2107
2081
  return {
2108
2082
  palette,
2109
2083
  shape,
2110
2084
  typography,
2111
2085
  shadows: generateShadows(palette),
2112
- borders: generateBorders(palette),
2113
- spacing
2086
+ borders: generateBorders(palette)
2087
+ // spacing
2114
2088
  };
2115
2089
  }
2116
2090
 
@@ -2232,6 +2206,178 @@ const defaultMetadata = {
2232
2206
  layout: defaultLayout
2233
2207
  };
2234
2208
 
2209
+ const GRADIENT = `linear-gradient`;
2210
+ const allColors = {
2211
+ white: '#FFFFFF',
2212
+ black: '#000000',
2213
+ lightblack: '#333333',
2214
+ gray: '#999999',
2215
+ bannerRed: '#EB5757',
2216
+ // Blue gradient
2217
+
2218
+ blue: '#1676F3',
2219
+ bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
2220
+ tertiaryblue: '#F4F9FF',
2221
+ // Orange gradient
2222
+
2223
+ orange: '#FF9000',
2224
+ orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
2225
+ tertiaryorange: '#FFF6EA',
2226
+ // Pink gradient
2227
+
2228
+ pink: '#F72585',
2229
+ pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
2230
+ tertiarypink: '#FEE9F3',
2231
+ // Violet gradient
2232
+
2233
+ violet: '#6026A8',
2234
+ violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
2235
+ tertiaryviolet: '#F5F2FA',
2236
+ // Teal gradient
2237
+
2238
+ teal: '#46A9A9',
2239
+ tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
2240
+ tertiaryteal: '#F4FAFA',
2241
+ //Red solid
2242
+
2243
+ red: '#F41828',
2244
+ tertiaryred: '#FFF2F3',
2245
+ // Green
2246
+
2247
+ green: '#8ECE19',
2248
+ tertiarygreen: '#F4FAFA',
2249
+ //Maroon solid
2250
+
2251
+ rust: '#9B2226',
2252
+ tertiaryrust: '#FFF0F0',
2253
+ //Purple solid
2254
+
2255
+ purple: '#6269C9',
2256
+ tertiarypurple: '#F4F6FF',
2257
+ //Golden gradient
2258
+
2259
+ golden: `#F2BA35`,
2260
+ goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
2261
+ //light green gradient
2262
+
2263
+ lightgreen: `#D6E359`,
2264
+ lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
2265
+ //light blue gradient
2266
+
2267
+ lightblue: `#A8EDF8`,
2268
+ lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
2269
+ skyblue: '#00ADE7',
2270
+ tertiaryskyblue: '#F2FCFF'
2271
+ };
2272
+
2273
+ const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
2274
+ let themeColor = theme.split('-');
2275
+ let color, gradient, darkMode;
2276
+ if (themeColor.length === 1) {
2277
+ color = themeColor[0] == 'default' ? 'skyblue' : themeColor[0];
2278
+ } else if (themeColor.length === 2) {
2279
+ color = themeColor[0];
2280
+ gradient = themeColor[1];
2281
+ } else {
2282
+ color = themeColor[0];
2283
+ gradient = themeColor[1];
2284
+ darkMode = themeColor[2];
2285
+ }
2286
+ console.log('color', allColors, gradient, darkMode);
2287
+
2288
+ // switch (color) {
2289
+ // case solidColors:
2290
+ // break;
2291
+
2292
+ // case gradientColors:
2293
+ // break;
2294
+
2295
+ // default:
2296
+ // break;
2297
+ // }
2298
+
2299
+ // type 1
2300
+ // const solidColors = {
2301
+ // font1: solidBaseColors?.black,
2302
+ // font2: solidBaseColors?.black,
2303
+ // font3: solidBaseColors?.black,
2304
+ // font4: solidBaseColors?.black,
2305
+ // AccentColor: solidBaseColors[theme],
2306
+ // background1: solidBaseColors?.white,
2307
+ // background2: solidBaseColors['tertiary' + theme],
2308
+ // background3: solidBaseColors['tertiary' + theme],
2309
+ // ctaColor: solidBaseColors[theme],
2310
+ // CtaTextColor: solidBaseColors?.white,
2311
+ // icon: solidBaseColors[theme],
2312
+ // iconBg: solidBaseColors['tertiary' + theme],
2313
+ // stripBg: solidBaseColors[theme],
2314
+ // stripText: solidBaseColors?.white,
2315
+ // inputBorderColor: solidBaseColors?.blue2,
2316
+ // tertiaryBlue2: solidBaseColors?.tertiaryblue2
2317
+ // };
2318
+
2319
+ //type 2
2320
+ // const gradientColors = {
2321
+ // font1: gradientBaseColors?.white,
2322
+ // font2: gradientBaseColors?.black,
2323
+ // font3: gradientBaseColors?.black,
2324
+ // font4: gradientBaseColors?.white,
2325
+ // AccentColor: gradientBaseColors[theme],
2326
+ // background1: gradientBaseColors[theme + 'gradient'],
2327
+ // background2: gradientBaseColors['tertiary' + theme],
2328
+ // background3: gradientBaseColors[theme + 'gradient'],
2329
+ // ctaColor: gradientBaseColors[theme + 'gradient'],
2330
+ // CtaTextColor: gradientBaseColors?.white,
2331
+ // icon: gradientBaseColors[theme],
2332
+ // iconBg: gradientBaseColors['tertiary' + theme],
2333
+ // stripBg: gradientBaseColors?.black,
2334
+ // stripText: gradientBaseColors?.white
2335
+ // };
2336
+
2337
+ const colors = {
2338
+ font1: gradient ? allColors?.white : allColors?.black,
2339
+ font2: darkMode ? allColors[color] : allColors?.black,
2340
+ font3: darkMode ? allColors?.white : allColors?.black,
2341
+ font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
2342
+ AccentColor: allColors[color],
2343
+ background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
2344
+ background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2345
+ background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
2346
+ ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
2347
+ CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
2348
+ icon: allColors[color],
2349
+ iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2350
+ stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
2351
+ stripText: darkMode ? allColors?.lightblack : allColors?.white,
2352
+ inputBorderColor: allColors?.blue2,
2353
+ tertiaryBlue2: allColors?.tertiaryblue2,
2354
+ white: allColors?.white,
2355
+ black: allColors?.black,
2356
+ lightblack: allColors?.lightblack,
2357
+ gray: allColors?.gray,
2358
+ bannerColor: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.bannerRed,
2359
+ bannerCtaColor: gradient ? allColors?.lightblack : allColors?.white,
2360
+ headerText: allColors[color],
2361
+ headerHover: allColors['tertiary' + color]
2362
+ };
2363
+ const typography = {
2364
+ fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
2365
+ fontSize: isMobile ? fontSizeMob : fontSize,
2366
+ fontWeight
2367
+ };
2368
+ // const shape = { borderRadius };
2369
+ const spacing = {
2370
+ padding: isMobile ? mobilePadding : padding,
2371
+ margin: isMobile ? mobileMargin : margin
2372
+ };
2373
+ return {
2374
+ ...getTheme(theme),
2375
+ typography,
2376
+ spacing,
2377
+ colors
2378
+ };
2379
+ };
2380
+
2235
2381
  function PageRenderer$1({
2236
2382
  pageData: {
2237
2383
  metadata: {
@@ -2288,7 +2434,7 @@ function PageRenderer$1({
2288
2434
  countryCode,
2289
2435
  currencySymbol
2290
2436
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
2291
- const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2437
+ const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2292
2438
  const Wrapper = SectionWrapper || Fragment;
2293
2439
  return /*#__PURE__*/React.createElement(ThemeProvider, {
2294
2440
  theme: theme
@@ -2326,7 +2472,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2326
2472
  padding: ({
2327
2473
  isMobile
2328
2474
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2329
- backgroundColor: theme?.palette?.background?.primary,
2475
+ background: theme?.colors?.background2,
2330
2476
  '&, & *, & *:before, & *:after': {
2331
2477
  fontFamily: theme?.typography?.fontFamily,
2332
2478
  boxSizing: 'border-box'
@@ -2338,6 +2484,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2338
2484
  // }
2339
2485
  // }
2340
2486
  },
2487
+
2341
2488
  sectionContainer: {
2342
2489
  margin: '0 auto',
2343
2490
  maxWidth: ({
@@ -2383,14 +2530,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2383
2530
  marginBottom: '8px',
2384
2531
  fontSize: theme.typography.fontSize.subHead,
2385
2532
  letterSpacing: '3px',
2386
- color: theme?.palette?.font?.default,
2533
+ color: theme?.colors?.font3,
2387
2534
  wordBreak: 'break-word',
2388
2535
  maxWidth: '100%'
2389
2536
  },
2390
2537
  heading: {
2391
2538
  margin: '0',
2392
2539
  fontSize: theme.typography.fontSize.h1,
2393
- color: theme?.palette?.font?.default,
2540
+ color: theme?.colors?.font3,
2394
2541
  wordBreak: ({
2395
2542
  wordBreakValue
2396
2543
  }) => wordBreakValue || 'break-word',
@@ -2399,7 +2546,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2399
2546
  },
2400
2547
  description: {
2401
2548
  margin: `${theme.spacing.margin.tiny}px 0px`,
2402
- color: theme?.palette?.font?.primary,
2549
+ color: theme?.colors?.font3,
2403
2550
  lineHeight: '24px',
2404
2551
  wordBreak: 'break-word'
2405
2552
  },
@@ -2516,7 +2663,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2516
2663
  width: '26px',
2517
2664
  background: ({
2518
2665
  inverted
2519
- } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
2666
+ } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.colors.AccentColor
2520
2667
  },
2521
2668
  '@media screen and (max-width: 767px)': {
2522
2669
  sliderClass: {
@@ -2552,7 +2699,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2552
2699
  height: sizeHandler,
2553
2700
  border: ({
2554
2701
  inverted
2555
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2702
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor}`,
2556
2703
  borderRadius: '50%',
2557
2704
  display: 'flex',
2558
2705
  justifyContent: 'center',
@@ -2574,7 +2721,7 @@ function ArrowButton(props) {
2574
2721
  }, /*#__PURE__*/React.createElement(Icon, {
2575
2722
  height: props.size === 'small' ? '12px' : '18px',
2576
2723
  name: "Angle",
2577
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2724
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor,
2578
2725
  inverted: true
2579
2726
  }));
2580
2727
  }
@@ -2784,7 +2931,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2784
2931
  justifyContent: 'center',
2785
2932
  flexDirection: 'column',
2786
2933
  alignItems: 'center',
2787
- backgroundColor: theme?.palette?.background?.default,
2788
2934
  '&, & *, & *:before, & *:after': {
2789
2935
  fontFamily: theme?.typography?.fontFamily,
2790
2936
  boxSizing: 'border-box'
@@ -2802,7 +2948,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2802
2948
  subTitleHeading: {
2803
2949
  marginBottom: '8px',
2804
2950
  fontSize: theme.typography.fontSize.subHead,
2805
- color: theme?.palette?.font?.default,
2951
+ color: theme?.colors?.black,
2806
2952
  alignItems: 'center',
2807
2953
  textAlign: 'center',
2808
2954
  wordBreak: 'break-word',
@@ -2812,7 +2958,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2812
2958
  heading: {
2813
2959
  marginBottom: theme.spacing.margin.tiny,
2814
2960
  fontSize: theme.typography.fontSize.h2,
2815
- color: theme?.palette?.font?.default,
2961
+ color: theme?.colors?.black,
2816
2962
  fontWeight: theme.typography.fontWeight.bold,
2817
2963
  textAlign: 'center',
2818
2964
  wordBreak: 'break-word'
@@ -2829,7 +2975,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2829
2975
  display: 'flex',
2830
2976
  width: 'calc(100% - 200px)',
2831
2977
  alignItems: 'center',
2832
- background: theme?.palette?.background?.default,
2978
+ background: theme?.colors?.white,
2833
2979
  boxShadow: theme?.shadows?.primary,
2834
2980
  borderRadius: theme?.shape?.borderRadius?.regular,
2835
2981
  overflow: 'hidden',
@@ -2853,33 +2999,13 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2853
2999
  '& $contentText': {
2854
3000
  marginLeft: '170px'
2855
3001
  }
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
2877
3002
  }
2878
3003
  },
2879
3004
  contentNumber: {
2880
3005
  position: 'absolute',
2881
3006
  top: '0',
2882
3007
  fontWeight: '700',
3008
+ background: theme?.colors?.background3,
2883
3009
  fontSize: '72px',
2884
3010
  letterSpacing: '-3px',
2885
3011
  display: 'flex',
@@ -2887,7 +3013,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2887
3013
  justifyContent: 'center',
2888
3014
  padding: '48px',
2889
3015
  height: '100%',
2890
- color: theme?.palette?.font?.default,
3016
+ color: theme?.colors?.font4,
2891
3017
  wordBreak: 'break-word'
2892
3018
  },
2893
3019
  contentText: {
@@ -2899,14 +3025,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2899
3025
  fontWeight: theme.typography.fontWeight.bold,
2900
3026
  lineHeight: '32px',
2901
3027
  marginBottom: '8px',
2902
- color: theme?.palette?.font?.default,
3028
+ color: theme?.colors?.lightblack,
2903
3029
  wordBreak: 'break-word'
2904
3030
  },
2905
3031
  contentPara: {
2906
3032
  fontStyle: 'normal',
2907
3033
  fontSize: '16px',
2908
3034
  lineHeight: '26px',
2909
- color: theme?.palette?.font?.primary,
3035
+ color: theme?.colors?.gray,
2910
3036
  wordBreak: 'break-word'
2911
3037
  },
2912
3038
  '@media screen and (max-width: 767px)': {
@@ -2928,6 +3054,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2928
3054
  // padding: '0'
2929
3055
  }
2930
3056
  },
3057
+
2931
3058
  '&:nth-child(2n+1)': {
2932
3059
  marginRight: '0',
2933
3060
  '& $contentText': {
@@ -2937,6 +3064,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2937
3064
  }
2938
3065
  }
2939
3066
  },
3067
+
2940
3068
  contentNumber: {
2941
3069
  width: '100%',
2942
3070
  padding: '24px',
@@ -3317,6 +3445,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3317
3445
  return {
3318
3446
  section: {
3319
3447
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3448
+ background: theme?.colors?.background2,
3320
3449
  '&, & *, & *:before, & *:after': {
3321
3450
  fontFamily: theme?.typography?.fontFamily,
3322
3451
  boxSizing: 'border-box'
@@ -3328,6 +3457,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3328
3457
  // }
3329
3458
  // }
3330
3459
  },
3460
+
3331
3461
  sectionContainer: {
3332
3462
  margin: '0 auto',
3333
3463
  maxWidth: ({
@@ -3341,6 +3471,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3341
3471
 
3342
3472
  // padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
3343
3473
  },
3474
+
3344
3475
  imageContainerDiv: {
3345
3476
  width: '50%',
3346
3477
  position: 'relative'
@@ -3358,7 +3489,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3358
3489
  }
3359
3490
  },
3360
3491
  imageBorder: {
3361
- border: `2px solid ${theme?.palette?.primary?.light}`,
3492
+ // border: `2px solid ${theme?.palette?.primary?.light}`,
3362
3493
  borderRadius: theme?.shape?.borderRadius?.small,
3363
3494
  position: 'absolute',
3364
3495
  width: '100%',
@@ -3383,13 +3514,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
3383
3514
  marginBottom: '8px',
3384
3515
  fontSize: theme?.typography?.fontSize?.subHead,
3385
3516
  letterSpacing: '3px',
3386
- color: theme?.palette?.font?.default,
3517
+ color: theme?.colors?.font3,
3387
3518
  wordBreak: 'break-word'
3388
3519
  },
3389
3520
  heading: {
3390
3521
  margin: '0',
3391
3522
  fontSize: theme?.typography?.fontSize?.h1,
3392
- color: theme?.palette?.font?.default,
3523
+ color: theme?.colors?.font3,
3393
3524
  wordBreak: ({
3394
3525
  wordBreakValue
3395
3526
  }) => wordBreakValue || 'break-word',
@@ -3399,7 +3530,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3399
3530
  description: {
3400
3531
  marginTop: theme.spacing.margin.tiny,
3401
3532
  marginBottom: theme.spacing.margin.tiny,
3402
- color: theme?.palette?.font?.primary,
3533
+ color: theme?.colors?.font3,
3403
3534
  lineHeight: '24px',
3404
3535
  wordBreak: 'break-word'
3405
3536
  },
@@ -3412,6 +3543,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3412
3543
  width: '100%'
3413
3544
  // padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3414
3545
  },
3546
+
3415
3547
  imageContainer: {
3416
3548
  height: 'unset !important',
3417
3549
  '& img': {
@@ -3564,16 +3696,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3564
3696
  containerWidth
3565
3697
  } = {}) => containerWidth
3566
3698
  },
3567
- partialBackground: {
3568
- top: '0',
3569
- left: '0',
3570
- width: '100%',
3571
- height: '50%',
3572
- position: 'absolute',
3573
- background: theme?.palette?.background?.primary
3574
- },
3699
+ // partialBackground: {
3700
+ // top: '0',
3701
+ // left: '0',
3702
+ // width: '100%',
3703
+ // height: '50%',
3704
+ // position: 'absolute',
3705
+ // background: theme?.palette?.background?.primary
3706
+ // },
3575
3707
  sectionContainer: {
3576
- backgroundColor: theme?.palette?.background?.default,
3708
+ backgroundColor: theme?.colors?.background2,
3577
3709
  boxShadow: theme?.shadows?.secondary,
3578
3710
  borderRadius: theme?.shape?.borderRadius?.regular,
3579
3711
  padding: theme.spacing.padding.small,
@@ -3584,7 +3716,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3584
3716
  fontWeight: theme.typography.fontWeight.bold,
3585
3717
  lineHeight: '71px',
3586
3718
  letterSpacing: '-3px',
3587
- color: theme?.palette?.font?.default,
3719
+ color: theme?.colors?.font3,
3588
3720
  marginBottom: theme.spacing.padding.tiny,
3589
3721
  wordBreak: 'break-word'
3590
3722
  },
@@ -3596,7 +3728,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3596
3728
  title: {
3597
3729
  fontSize: theme.typography.fontSize.h6,
3598
3730
  lineHeight: '32px',
3599
- color: theme?.palette?.font?.primary,
3731
+ color: theme?.colors?.font3,
3600
3732
  wordBreak: 'break-word',
3601
3733
  flex: 1
3602
3734
  },
@@ -3724,8 +3856,8 @@ const inputStyles = createUseStyles(theme => ({
3724
3856
  inputField: {
3725
3857
  width: '100%',
3726
3858
  // maxWidth: '314px',
3727
- background: theme?.palette?.background?.default,
3728
- border: `1px solid ${theme?.palette?.border?.secondary}`,
3859
+ // background: theme?.palette?.background?.default,
3860
+ border: `1px solid ${theme?.colors?.icon}`,
3729
3861
  borderRadius: theme?.shape?.borderRadius?.regular,
3730
3862
  padding: '14px 12px',
3731
3863
  display: 'flex',
@@ -3739,7 +3871,7 @@ const inputStyles = createUseStyles(theme => ({
3739
3871
  fontWeight: '400',
3740
3872
  fontSize: '16px',
3741
3873
  lineHeight: '20px',
3742
- color: theme?.palette?.font?.primary,
3874
+ color: theme?.colors?.black,
3743
3875
  fontFamily: theme?.typography?.fontFamily
3744
3876
  },
3745
3877
  '&:focus': {
@@ -3939,7 +4071,6 @@ var index$h = /*#__PURE__*/Object.freeze({
3939
4071
 
3940
4072
  const useTestimonialStyles = createUseStyles(theme => ({
3941
4073
  testimonialContainer: {
3942
- background: theme?.palette?.background?.primary,
3943
4074
  overflow: 'hidden',
3944
4075
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3945
4076
  '&, & *, & *:before, & *:after': {
@@ -3957,14 +4088,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
3957
4088
  } = {}) => containerWidth
3958
4089
  },
3959
4090
  testimonialText: {
3960
- color: theme?.palette?.font?.default,
4091
+ color: theme?.colors?.lightblack,
3961
4092
  fontSize: theme.typography.fontSize.subHead,
3962
4093
  wordBreak: 'break-word',
3963
4094
  textTransform: 'uppercase'
3964
4095
  },
3965
4096
  testimonialHeader: {
3966
4097
  fontSize: theme.typography.fontSize.h2,
3967
- color: theme?.palette?.font?.default,
4098
+ color: theme?.colors?.lightblack,
3968
4099
  fontWeight: theme.typography.fontWeight.bold,
3969
4100
  marginBottom: theme.spacing.margin.tiny,
3970
4101
  marginTop: '8px',
@@ -3981,7 +4112,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3981
4112
  position: 'relative',
3982
4113
  height: 'calc(100% - 12px)',
3983
4114
  width: 'calc(100% - 24px)',
3984
- background: theme?.palette?.background?.default,
4115
+ background: theme?.colors?.background1,
3985
4116
  boxShadow: theme?.shadows?.primary,
3986
4117
  borderRadius: theme?.shape?.borderRadius?.regular
3987
4118
  },
@@ -4008,7 +4139,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4008
4139
  marginBottom: theme.spacing.margin.tiny,
4009
4140
  fontSize: theme.typography.fontSize.body,
4010
4141
  wordBreak: 'break-word',
4011
- color: theme?.palette?.font?.primary,
4142
+ color: theme?.colors?.font1,
4012
4143
  lineHeight: '26px'
4013
4144
  },
4014
4145
  userContainer: {
@@ -4037,7 +4168,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4037
4168
  marginRight: '16px'
4038
4169
  },
4039
4170
  userName: {
4040
- color: theme?.palette?.font?.default,
4171
+ color: theme?.colors?.font1,
4041
4172
  margin: '0',
4042
4173
  fontSize: theme.typography.fontSize.h5,
4043
4174
  // paddingTop: '16px',
@@ -4056,19 +4187,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
4056
4187
  testimonialContainer: {
4057
4188
  padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
4058
4189
  },
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
- // },
4072
4190
  testimonialText: {
4073
4191
  textAlign: 'center'
4074
4192
  },
@@ -4121,7 +4239,7 @@ function QuotesComponent() {
4121
4239
  width: "28px",
4122
4240
  height: "21px",
4123
4241
  name: "Quote",
4124
- color: theme?.palette?.primary?.main
4242
+ color: theme?.colors?.icon
4125
4243
  }));
4126
4244
  }
4127
4245
 
@@ -4432,6 +4550,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4432
4550
  fontFamily: theme?.typography?.fontFamily
4433
4551
  // boxSizing: 'border-box'
4434
4552
  },
4553
+
4435
4554
  '& h2,& h3,& p': {
4436
4555
  marginTop: '0'
4437
4556
  }
@@ -4456,6 +4575,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4456
4575
  wordBreak: 'break-word'
4457
4576
  // marginBottom: '8px'
4458
4577
  },
4578
+
4459
4579
  videoTestimonialTitle: {
4460
4580
  fontSize: theme.typography.fontSize.h2,
4461
4581
  // lineHeight: '71px',
@@ -4649,7 +4769,7 @@ const useVideoStyles = createUseStyles(theme => {
4649
4769
  padding: ({
4650
4770
  isMobile
4651
4771
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4652
- backgroundColor: theme?.palette?.background?.primary,
4772
+ backgroundColor: theme?.colors?.background2,
4653
4773
  '&, & *, & *:before, & *:after': {
4654
4774
  fontFamily: theme?.typography?.fontFamily,
4655
4775
  boxSizing: 'border-box'
@@ -4672,7 +4792,7 @@ const useVideoStyles = createUseStyles(theme => {
4672
4792
  fontSize: theme.typography.fontSize.subHead,
4673
4793
  textTransform: 'uppercase',
4674
4794
  lineHeight: '20px',
4675
- color: theme?.palette?.font?.default,
4795
+ color: theme?.colors?.font2,
4676
4796
  letterSpacing: '3px',
4677
4797
  wordBreak: 'break-word'
4678
4798
  },
@@ -4683,14 +4803,14 @@ const useVideoStyles = createUseStyles(theme => {
4683
4803
  letterSpacing: '-3px',
4684
4804
  marginBottom: theme.spacing.margin.tiny,
4685
4805
  marginTop: '8px',
4686
- color: theme?.palette?.font?.default,
4806
+ color: theme?.colors?.font2,
4687
4807
  wordBreak: 'break-word'
4688
4808
  },
4689
4809
  sliderContainer: {
4690
4810
  marginRight: `-${theme.spacing.padding.medium}px`
4691
4811
  },
4692
4812
  singleSlideContainer: {
4693
- backgroundColor: theme?.palette?.background?.default,
4813
+ backgroundColor: 'white',
4694
4814
  // margin: '20px',
4695
4815
  width: 'calc(100% - 24px)',
4696
4816
  height: 'calc(100% - 40px)',
@@ -4727,14 +4847,14 @@ const useVideoStyles = createUseStyles(theme => {
4727
4847
  fontWeight: theme.typography.fontWeight.bold,
4728
4848
  lineHeight: '32px',
4729
4849
  marginBottom: '8px',
4730
- color: theme?.palette?.font?.default,
4850
+ color: theme?.colors?.lightblack,
4731
4851
  wordBreak: 'break-word'
4732
4852
  },
4733
4853
  videoDetailsSubHeading: {
4734
4854
  fontSize: theme.typography.fontSize.body,
4735
4855
  lineHeight: '24px',
4736
4856
  wordBreak: 'break-word',
4737
- color: theme?.palette?.font?.primary
4857
+ color: theme?.colors?.gray
4738
4858
  },
4739
4859
  '@media (max-width: 767px)': {
4740
4860
  videoHeading: {
@@ -4881,11 +5001,10 @@ var index$e = /*#__PURE__*/Object.freeze({
4881
5001
 
4882
5002
  const useSectionStyles$3 = createUseStyles(theme => ({
4883
5003
  section: {
4884
- position: 'relative',
4885
5004
  padding: ({
4886
5005
  isMobile
4887
5006
  } = {}) => 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`,
4888
- backgroundColor: theme?.palette?.background?.default,
5007
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
4889
5008
  '&, & *, & *:before, & *:after': {
4890
5009
  fontFamily: theme?.typography?.fontFamily,
4891
5010
  boxSizing: 'border-box'
@@ -4897,27 +5016,20 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4897
5016
  // }
4898
5017
  // }
4899
5018
  },
5019
+
4900
5020
  sectionContainer: {
4901
5021
  margin: '0 auto',
4902
5022
  maxWidth: ({
4903
5023
  containerWidth
4904
5024
  } = {}) => containerWidth
4905
5025
  },
4906
- partialBackground: {
4907
- position: 'absolute',
4908
- top: '0',
4909
- left: '0',
4910
- height: '50%',
4911
- background: theme?.palette?.background?.primary,
4912
- width: '100%'
4913
- },
4914
5026
  content: {
4915
5027
  position: 'relative'
4916
5028
  },
4917
5029
  subTitleHeading: {
4918
5030
  width: '100%',
4919
5031
  fontSize: theme.typography.fontSize.subHead,
4920
- color: theme?.palette?.font?.default,
5032
+ color: theme?.colors?.font2,
4921
5033
  textTransform: 'uppercase',
4922
5034
  textAlign: 'left',
4923
5035
  lineHeight: '20px',
@@ -4929,7 +5041,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4929
5041
  fontSize: theme.typography.fontSize.h2,
4930
5042
  width: '100%',
4931
5043
  lineHeight: '70px',
4932
- color: theme?.palette?.font?.default,
5044
+ color: theme?.colors?.font2,
4933
5045
  textAlign: 'left',
4934
5046
  wordBreak: 'break-word'
4935
5047
  },
@@ -4939,7 +5051,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4939
5051
  // },
4940
5052
 
4941
5053
  card: {
4942
- background: theme?.palette?.background?.default,
5054
+ background: theme?.colors?.white,
4943
5055
  boxShadow: theme?.shadows?.primary,
4944
5056
  borderRadius: theme.shape.borderRadius.large,
4945
5057
  margin: ({
@@ -4960,7 +5072,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4960
5072
  textAlign: 'center',
4961
5073
  fontSize: theme.typography.fontSize.h6,
4962
5074
  fontWeight: theme.typography.fontWeight.bold,
4963
- color: theme?.palette?.font?.default,
5075
+ color: theme?.colors?.lightblack,
4964
5076
  margin: `16px 0px`,
4965
5077
  wordBreak: 'break-word'
4966
5078
  },
@@ -4972,7 +5084,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4972
5084
  alignItems: 'center',
4973
5085
  justifyContent: 'center',
4974
5086
  borderRadius: '50%',
4975
- background: theme?.palette?.background?.primary
5087
+ background: theme?.colors?.background2
4976
5088
  },
4977
5089
  buttonContainerClass: {
4978
5090
  marginRight: theme.spacing.margin.regular,
@@ -4986,7 +5098,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4986
5098
  textAlign: 'center',
4987
5099
  fontSize: theme.typography.fontSize.body,
4988
5100
  lineHeight: '22px',
4989
- color: theme?.palette?.font?.primary,
5101
+ color: theme?.colors?.gray,
4990
5102
  margin: '0',
4991
5103
  wordBreak: 'break-word'
4992
5104
  },
@@ -5072,7 +5184,7 @@ function Info({
5072
5184
  className: classes.imageContainer
5073
5185
  }, /*#__PURE__*/React.createElement(Icon, {
5074
5186
  name: dt.icon.metadata.value,
5075
- color: theme.palette.primary.main,
5187
+ color: theme?.colors?.icon,
5076
5188
  width: isMobile ? '30px' : '40px',
5077
5189
  height: isMobile ? '30px' : '40px'
5078
5190
  })), /*#__PURE__*/React.createElement("h3", {
@@ -5129,7 +5241,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5129
5241
  padding: ({
5130
5242
  isMobile
5131
5243
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5132
- backgroundColor: theme?.palette?.background?.default,
5244
+ backgroundColor: theme?.colors?.background2,
5133
5245
  '&, & *, & *:before, & *:after': {
5134
5246
  fontFamily: theme?.typography?.fontFamily,
5135
5247
  boxSizing: 'border-box'
@@ -5146,7 +5258,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5146
5258
  subHeading: {
5147
5259
  fontSize: theme.typography.fontSize.subHead,
5148
5260
  marginBottom: '8px',
5149
- color: theme?.palette?.font?.default,
5261
+ color: theme?.colors?.font3,
5150
5262
  wordBreak: 'break-word',
5151
5263
  textTransform: 'uppercase',
5152
5264
  letterSpacing: '3px'
@@ -5156,7 +5268,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5156
5268
  fontWeight: theme.typography.fontWeight.bold,
5157
5269
  lineHeight: 'normal',
5158
5270
  margin: '0',
5159
- color: theme?.palette?.font?.default,
5271
+ color: theme?.colors?.font3,
5160
5272
  wordBreak: 'break-word',
5161
5273
  marginBottom: theme.spacing.margin.tiny
5162
5274
  },
@@ -5167,7 +5279,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5167
5279
  padding: '32px 0px'
5168
5280
  },
5169
5281
  textPara: {
5170
- color: theme?.palette?.font?.primary,
5282
+ color: theme?.colors?.font3,
5171
5283
  wordBreak: 'break-word',
5172
5284
  fontSize: theme.typography.fontSize.body,
5173
5285
  lineHeight: '24px'
@@ -5262,6 +5374,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5262
5374
  // }
5263
5375
  // }
5264
5376
  },
5377
+
5265
5378
  sectionContainer: {
5266
5379
  margin: '0 auto',
5267
5380
  maxWidth: ({
@@ -5292,6 +5405,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5292
5405
  position: 'relative',
5293
5406
  paddingBottom: '59.83%' // keeping aspect ratio 585x350
5294
5407
  },
5408
+
5295
5409
  contentRow: {
5296
5410
  display: 'grid',
5297
5411
  gridTemplateColumns: ({
@@ -5472,7 +5586,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5472
5586
  padding: ({
5473
5587
  isMobile
5474
5588
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5475
- backgroundColor: theme?.palette?.background?.primary,
5589
+ backgroundColor: theme?.colors?.background2,
5476
5590
  '&, & *, & *:before, & *:after': {
5477
5591
  fontFamily: theme?.typography?.fontFamily,
5478
5592
  boxSizing: 'border-box'
@@ -5487,7 +5601,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5487
5601
  } = {}) => containerWidth
5488
5602
  },
5489
5603
  sectionSubheading: {
5490
- color: theme?.palette?.font.default,
5604
+ color: theme?.colors?.font3,
5491
5605
  fontSize: theme.typography.fontSize.subHead,
5492
5606
  marginBottom: '8px',
5493
5607
  wordBreak: 'break-word'
@@ -5496,15 +5610,16 @@ const useFaqListStyles = createUseStyles(theme => ({
5496
5610
  fontSize: theme.typography.fontSize.h2,
5497
5611
  fontWeight: theme.typography.fontWeight.bold,
5498
5612
  wordBreak: 'break-word',
5499
- marginBottom: `${theme.spacing.margin.tiny}px`
5613
+ marginBottom: `${theme.spacing.margin.tiny}px`,
5614
+ color: theme?.colors?.font3
5500
5615
  },
5501
5616
  container: {
5502
5617
  boxShadow: theme?.shadows?.secondary,
5503
5618
  borderRadius: '8px',
5504
- backgroundColor: theme?.palette?.background?.default
5619
+ backgroundColor: theme?.colors?.white
5505
5620
  },
5506
5621
  basicCardContainer: {
5507
- borderBottom: theme?.borders?.secondary,
5622
+ borderBottom: `1px solid #D8E0F0`,
5508
5623
  padding: `${theme.spacing.padding.tiny}px`
5509
5624
  },
5510
5625
  innerContainer: {
@@ -5523,14 +5638,14 @@ const useFaqListStyles = createUseStyles(theme => ({
5523
5638
  alignItems: 'center'
5524
5639
  },
5525
5640
  title: {
5526
- color: theme?.palette?.font.default,
5641
+ color: theme?.colors?.lightblack,
5527
5642
  fontSize: theme.typography.fontSize.h5,
5528
5643
  fontWeight: theme.typography.fontWeight.bold,
5529
5644
  margin: '0',
5530
5645
  wordBreak: 'break-word'
5531
5646
  },
5532
5647
  content: {
5533
- color: theme?.palette?.font.primary,
5648
+ color: theme?.colors?.lightblack,
5534
5649
  fontSize: theme.typography.fontSize.body,
5535
5650
  lineHeight: '24px',
5536
5651
  maxHeight: ({
@@ -5650,11 +5765,10 @@ var index$a = /*#__PURE__*/Object.freeze({
5650
5765
 
5651
5766
  const useTextGridStyles = createUseStyles(theme => ({
5652
5767
  section: {
5768
+ background: theme.colors.background1,
5653
5769
  padding: ({
5654
5770
  isMobile
5655
5771
  } = {}) => 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
-
5658
5772
  '&, & *, & *:before, & *:after': {
5659
5773
  fontFamily: theme?.typography?.fontFamily,
5660
5774
  boxSizing: 'border-box'
@@ -5662,12 +5776,6 @@ const useTextGridStyles = createUseStyles(theme => ({
5662
5776
  '& h2,& h3,& p': {
5663
5777
  marginTop: '0'
5664
5778
  }
5665
- // '& h2,& h3': {
5666
- // fontWeight: '500',
5667
- // '& b,& strong': {
5668
- // fontWeight: '700'
5669
- // }
5670
- // }
5671
5779
  },
5672
5780
  sectionContainer: {
5673
5781
  margin: '0 auto',
@@ -5676,7 +5784,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5676
5784
  } = {}) => containerWidth
5677
5785
  },
5678
5786
  subheading: {
5679
- color: theme?.palette?.font.default,
5787
+ color: theme?.colors?.font1,
5680
5788
  fontSize: theme.typography.fontSize.subHead,
5681
5789
  lineHeight: '20px',
5682
5790
  letterSpacing: '3px',
@@ -5690,7 +5798,8 @@ const useTextGridStyles = createUseStyles(theme => ({
5690
5798
  fontWeight: theme.typography.fontWeight.bold,
5691
5799
  letterSpacing: '-3px',
5692
5800
  marginBottom: theme.spacing.margin.tiny,
5693
- wordBreak: 'break-word'
5801
+ wordBreak: 'break-word',
5802
+ color: theme?.colors?.font1
5694
5803
  },
5695
5804
  sliderContainer: {
5696
5805
  margin: '0 -10px'
@@ -5843,6 +5952,7 @@ const useCourseStyles = createUseStyles(theme => {
5843
5952
  // }
5844
5953
  // }
5845
5954
  },
5955
+
5846
5956
  sectionContainer: {
5847
5957
  margin: '0 auto',
5848
5958
  maxWidth: ({
@@ -5875,6 +5985,7 @@ const useCourseStyles = createUseStyles(theme => {
5875
5985
  // textAlign: 'center',
5876
5986
  // wordBreak: 'break-word'
5877
5987
  },
5988
+
5878
5989
  slickContainer: {
5879
5990
  marginRight: '-20px'
5880
5991
  },
@@ -5922,6 +6033,7 @@ const useCourseStyles = createUseStyles(theme => {
5922
6033
  justifyContent: 'space-between'
5923
6034
  //alignItems: 'center',
5924
6035
  },
6036
+
5925
6037
  courseCardTags: {
5926
6038
  display: 'flex',
5927
6039
  justifyContent: 'flex-start',
@@ -5952,11 +6064,12 @@ const useCourseStyles = createUseStyles(theme => {
5952
6064
  // whiteSpace: 'nowrap',
5953
6065
  // textOverflow: 'ellipsis'
5954
6066
  },
6067
+
5955
6068
  courseCardDiscount: {
5956
6069
  display: 'flex',
5957
6070
  justifyContent: 'flex-start',
5958
6071
  alignItems: 'center',
5959
- fontSize: theme.typography.fontSize.subHead,
6072
+ fontSize: theme.typography.fontSize.body,
5960
6073
  color: theme?.palette?.font?.primary,
5961
6074
  '& img': {
5962
6075
  marginRight: '5px'
@@ -5989,8 +6102,8 @@ const useCourseStyles = createUseStyles(theme => {
5989
6102
  },
5990
6103
  courseCardBuyBtn: {
5991
6104
  cursor: 'pointer',
5992
- background: theme?.palette?.primary?.main,
5993
- color: theme?.palette?.font?.invertedDefault,
6105
+ background: theme?.colors?.ctaColor,
6106
+ color: theme?.colors?.CtaTextColor,
5994
6107
  padding: '8px 16px',
5995
6108
  fontWeight: theme.typography.fontWeight.bold,
5996
6109
  cursor: 'pointer',
@@ -6058,6 +6171,7 @@ const useCourseStyles = createUseStyles(theme => {
6058
6171
  // whiteSpace: 'nowrap',
6059
6172
  // textOverflow: 'ellipsis'
6060
6173
  },
6174
+
6061
6175
  singleCard: {
6062
6176
  margin: '6px 2px'
6063
6177
  // width: 'calc(100% - 12px)'
@@ -6088,13 +6202,6 @@ async function getCourseList(baseURLs, hashToken) {
6088
6202
 
6089
6203
  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";
6090
6204
 
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
-
6098
6205
  const formatCurrency = (countryCode, value, currencySymbol) => {
6099
6206
  let formattedValue = Number(value);
6100
6207
  const getFormattedValue = (countryCode, currencySymbol, value) => {
@@ -6362,11 +6469,10 @@ var index$8 = /*#__PURE__*/Object.freeze({
6362
6469
  const useTeamStyles = createUseStyles(theme => {
6363
6470
  return {
6364
6471
  teamSuperContainer: {
6472
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6365
6473
  padding: ({
6366
6474
  isMobile
6367
6475
  } = {}) => 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
-
6370
6476
  '&, & *, & *:before, & *:after': {
6371
6477
  fontFamily: theme?.typography?.fontFamily,
6372
6478
  boxSizing: 'border-box'
@@ -6387,25 +6493,17 @@ const useTeamStyles = createUseStyles(theme => {
6387
6493
  lineHeight: '20px',
6388
6494
  letterSpacing: '3px',
6389
6495
  marginBottom: '8px',
6390
- color: theme?.palette?.font?.default,
6496
+ color: theme?.colors?.font2,
6391
6497
  // wordBreak: 'break-word',
6392
6498
  position: 'relative'
6393
6499
  },
6394
- partialBackground: {
6395
- position: 'absolute',
6396
- top: '0',
6397
- left: '0',
6398
- height: '50%',
6399
- background: theme?.palette?.background?.primary,
6400
- width: '100%'
6401
- },
6402
6500
  teamTitle: {
6403
6501
  fontSize: theme.typography.fontSize.h2,
6404
6502
  fontWeight: theme.typography.fontWeight.bold,
6405
6503
  lineHeight: '70px',
6406
6504
  letterSpacing: '-3px',
6407
6505
  wordBreak: 'break-word',
6408
- color: theme?.palette?.font?.default,
6506
+ color: theme?.colors?.font2,
6409
6507
  position: 'relative'
6410
6508
  },
6411
6509
  sliderContainer: {
@@ -6449,6 +6547,7 @@ const useTeamStyles = createUseStyles(theme => {
6449
6547
  margin: '20px 0 0'
6450
6548
  // overflowWrap: 'break-word'
6451
6549
  },
6550
+
6452
6551
  teamDetailsHeading: {
6453
6552
  fontSize: theme.typography.fontSize.h6,
6454
6553
  fontWeight: theme.typography.fontWeight.bold,
@@ -6492,15 +6591,14 @@ const useTeamStyles = createUseStyles(theme => {
6492
6591
  // margin: '15px 0 0',
6493
6592
  // paddingBottom: '0'
6494
6593
  },
6594
+
6495
6595
  teamDetailsHeading: {
6496
6596
  fontSize: '16px',
6497
6597
  lineHeight: '24px',
6498
- margin: '0',
6499
- color: theme?.palette?.font?.body
6598
+ margin: '0'
6500
6599
  },
6501
6600
  teamDetailsSubHeading: {
6502
- marginTop: '0px',
6503
- color: theme?.palette?.font?.primary
6601
+ marginTop: '0px'
6504
6602
  }
6505
6603
  }
6506
6604
  };
@@ -6611,7 +6709,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6611
6709
  justifyContent: 'center',
6612
6710
  flexDirection: 'column',
6613
6711
  alignItems: 'center',
6614
- backgroundColor: theme?.palette?.background?.default,
6712
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6615
6713
  padding: ({
6616
6714
  isMobile
6617
6715
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
@@ -6626,22 +6724,23 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6626
6724
  // }
6627
6725
  // }
6628
6726
  },
6727
+
6629
6728
  formContainer: {
6630
6729
  margin: '0 auto',
6631
6730
  maxWidth: ({
6632
6731
  containerWidth
6633
6732
  } = {}) => containerWidth
6634
6733
  },
6635
- partialBackground: {
6636
- top: '0',
6637
- left: '0',
6638
- width: '100%',
6639
- height: '50%',
6640
- position: 'absolute',
6641
- background: theme?.palette?.background?.primary
6642
- },
6734
+ // partialBackground: {
6735
+ // top: '0',
6736
+ // left: '0',
6737
+ // width: '100%',
6738
+ // height: '50%',
6739
+ // position: 'absolute',
6740
+ // background: theme?.colors?.white
6741
+ // },
6643
6742
  sectionContainer: {
6644
- backgroundColor: theme?.palette?.background?.default,
6743
+ backgroundColor: theme?.colors?.white,
6645
6744
  boxShadow: theme?.shadows?.secondary,
6646
6745
  borderRadius: theme?.shape?.borderRadius?.regular,
6647
6746
  padding: '48px',
@@ -6650,7 +6749,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6650
6749
  title: {
6651
6750
  margin: '0',
6652
6751
  fontSize: theme.typography.fontSize.h2,
6653
- color: theme?.palette?.font?.default,
6752
+ color: theme?.colors?.lightblack,
6654
6753
  fontWeight: theme.typography.fontWeight.bold,
6655
6754
  lineHeight: '71px',
6656
6755
  letterSpacing: '-3px',
@@ -6662,16 +6761,18 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6662
6761
  display: 'flex'
6663
6762
  // alignItems: 'flex-start',
6664
6763
  },
6764
+
6665
6765
  leftContainerForm: {
6666
6766
  width: '65%',
6667
6767
  display: 'flex',
6668
6768
  flexDirection: 'column'
6669
6769
  // justifyContent: 'space-between'
6670
6770
  },
6771
+
6671
6772
  subtitle: {
6672
6773
  // margin: '0 0 40px 0',
6673
6774
  fontSize: theme.typography.fontSize.h5,
6674
- color: theme?.palette?.font?.default,
6775
+ color: theme?.colors?.lightblack,
6675
6776
  lineHeight: '32px',
6676
6777
  wordBreak: 'break-word',
6677
6778
  marginBottom: '32px'
@@ -6694,7 +6795,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6694
6795
  },
6695
6796
  addressText: {
6696
6797
  fontSize: theme.typography.fontSize.h6,
6697
- color: theme?.palette?.font?.default,
6798
+ color: theme?.colors?.lightblack,
6698
6799
  lineHeight: '24px',
6699
6800
  fontSize: '16px'
6700
6801
  },
@@ -6735,6 +6836,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6735
6836
  width: '100%'
6736
6837
  // padding: '0 16ox'
6737
6838
  },
6839
+
6738
6840
  rightContainer: {
6739
6841
  width: '100%',
6740
6842
  padding: '0'
@@ -7030,7 +7132,7 @@ const useSectionStyles = createUseStyles(theme => ({
7030
7132
  padding: ({
7031
7133
  isMobile
7032
7134
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
7033
- backgroundColor: theme?.palette?.background?.default,
7135
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
7034
7136
  '&, & *, & *:before, & *:after': {
7035
7137
  fontFamily: theme?.typography?.fontFamily,
7036
7138
  boxSizing: 'border-box'
@@ -7042,6 +7144,7 @@ const useSectionStyles = createUseStyles(theme => ({
7042
7144
  // }
7043
7145
  // }
7044
7146
  },
7147
+
7045
7148
  contactContainer: {
7046
7149
  width: '100%',
7047
7150
  margin: '0 auto',
@@ -7049,16 +7152,8 @@ const useSectionStyles = createUseStyles(theme => ({
7049
7152
  containerWidth
7050
7153
  } = {}) => containerWidth
7051
7154
  },
7052
- partialBackground: {
7053
- top: '0',
7054
- left: '0',
7055
- width: '100%',
7056
- height: '50%',
7057
- position: 'absolute',
7058
- background: theme?.palette?.background?.primary
7059
- },
7060
7155
  sectionContainer: {
7061
- backgroundColor: theme?.palette?.background?.default,
7156
+ backgroundColor: theme?.colors?.white,
7062
7157
  boxShadow: theme?.shadows?.secondary,
7063
7158
  borderRadius: theme?.shape?.borderRadius?.regular,
7064
7159
  padding: '48px',
@@ -7067,7 +7162,7 @@ const useSectionStyles = createUseStyles(theme => ({
7067
7162
  title: {
7068
7163
  margin: '0',
7069
7164
  fontSize: theme.typography.fontSize.h2,
7070
- color: theme?.palette?.font?.default,
7165
+ color: theme?.colors?.lightblack?.default,
7071
7166
  lineHeight: '71px',
7072
7167
  letterSpacing: '-3px',
7073
7168
  textAlign: 'left',
@@ -7088,10 +7183,11 @@ const useSectionStyles = createUseStyles(theme => ({
7088
7183
  // justifyContent: 'space-between',
7089
7184
  // flex: 1
7090
7185
  },
7186
+
7091
7187
  subtitle: {
7092
7188
  // margin: '0 0 auto 0',
7093
7189
  fontSize: theme.typography.fontSize.h6,
7094
- color: theme?.palette?.font?.default,
7190
+ color: theme?.colors?.lightblack,
7095
7191
  // lineHeight: '32px',
7096
7192
  // margin: '16px 0',
7097
7193
  textAlign: 'center',
@@ -7122,8 +7218,8 @@ const useSectionStyles = createUseStyles(theme => ({
7122
7218
  inputField: {
7123
7219
  width: '100%',
7124
7220
  // maxWidth: '314px',
7125
- background: theme?.palette?.background?.default,
7126
- border: `1px solid ${theme?.palette?.border?.secondary}`,
7221
+ // background: theme?.palette?.background?.default,
7222
+ border: `1px solid ${theme?.colors?.cta}`,
7127
7223
  borderRadius: theme?.shape?.borderRadius?.regular,
7128
7224
  // padding: '14px 12px',
7129
7225
  display: 'flex',
@@ -7136,7 +7232,7 @@ const useSectionStyles = createUseStyles(theme => ({
7136
7232
  fontWeight: '400',
7137
7233
  fontSize: theme.typography.fontSize.subHead,
7138
7234
  lineHeight: '20px',
7139
- color: theme?.palette?.font?.primary,
7235
+ color: theme?.colors?.lightblack,
7140
7236
  fontFamily: theme?.typography?.fontFamily
7141
7237
  },
7142
7238
  '&:focus': {
@@ -7449,6 +7545,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7449
7545
  webinarSuperContainer: {
7450
7546
  display: 'flex',
7451
7547
  justifyContent: 'center',
7548
+ background: theme.colors.background1,
7452
7549
  padding: ({
7453
7550
  isMobile
7454
7551
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7471,30 +7568,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7471
7568
  maxWidth: '1440px',
7472
7569
  fontFamily: theme?.typography?.fontFamily
7473
7570
  },
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
-
7498
7571
  webinarCarousel: {
7499
7572
  display: 'flex',
7500
7573
  justifyContent: 'flex-start',
@@ -7515,7 +7588,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7515
7588
  iframeContainer: {
7516
7589
  width: '100%',
7517
7590
  position: 'relative',
7518
- paddingBottom: '56.25%',
7591
+ aspectRatio: '4/3',
7519
7592
  // top: "6%",
7520
7593
  // left: '5%'
7521
7594
  borderRadius: '8px',
@@ -7523,8 +7596,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7523
7596
  },
7524
7597
  offerText: {
7525
7598
  textAlign: 'center',
7526
- color: theme.palette.font.primary,
7527
- marginBottom: '5%'
7599
+ color: theme?.colors?.lightblack,
7600
+ marginBottom: '5% !important',
7601
+ fontWeight: '700'
7528
7602
  },
7529
7603
  offerPrice: {
7530
7604
  fontSize: theme.typography.fontSize.h5,
@@ -7549,6 +7623,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7549
7623
  marginTop: '5%'
7550
7624
  // padding: '0px 5% 0px 5%'
7551
7625
  },
7626
+
7552
7627
  iframe: {
7553
7628
  position: 'absolute',
7554
7629
  width: '100%',
@@ -7569,7 +7644,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7569
7644
  margin: '0',
7570
7645
  letterSpacing: '-1px',
7571
7646
  wordBreak: wordBreakValue => wordBreakValue || 'break-word',
7572
- color: theme.palette.font.default
7647
+ color: theme?.colors?.font1
7573
7648
  },
7574
7649
  courseViewContainer: {
7575
7650
  width: '645px',
@@ -7583,8 +7658,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7583
7658
  },
7584
7659
  bannerContainer: {
7585
7660
  width: '100%',
7586
- background: '#EB5757',
7587
- color: '#fff',
7661
+ background: theme?.colors?.bannerColor,
7662
+ color: theme?.colors?.bannerCtaColor,
7663
+ fontWeight: '600',
7588
7664
  textAlign: 'center',
7589
7665
  padding: '10px 10px 23px 40px',
7590
7666
  wordWrap: 'break-word',
@@ -7603,24 +7679,26 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7603
7679
  display: 'flex',
7604
7680
  alignItems: 'center',
7605
7681
  marginRight: '20px',
7682
+ color: theme?.colors?.font1,
7606
7683
  '& div': {
7607
- fontSize: theme.typography.fontSize.subHead,
7684
+ fontSize: theme.typography.fontSize.body,
7608
7685
  marginLeft: '10px'
7609
7686
  }
7610
7687
  },
7611
7688
  courseDetailContent: {
7612
- fontSize: theme.typography.fontSize.subHead,
7689
+ fontSize: theme.typography.fontSize.body,
7690
+ lineHeight: '21px',
7613
7691
  wordBreak: 'break-word',
7614
- color: theme.palette.font.primary,
7692
+ color: theme?.colors?.font1,
7615
7693
  whiteSpace: 'pre-wrap',
7616
7694
  width: '80%'
7617
7695
  },
7618
7696
  courseDetailViewFullDetails: {
7619
7697
  cursor: 'pointer',
7620
- fontSize: theme.typography.fontSize.subHead,
7698
+ fontSize: theme.typography.fontSize.body,
7621
7699
  lineHeight: '24px',
7700
+ color: theme?.colors?.font1,
7622
7701
  marginTop: '-20px',
7623
- color: '#00ADE7',
7624
7702
  wordBreak: 'break-word'
7625
7703
  },
7626
7704
  courseDetailTime: {
@@ -7635,7 +7713,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7635
7713
  display: 'flex',
7636
7714
  width: '36px',
7637
7715
  height: '36px',
7638
- backgroundColor: 'rgb(240, 244, 248)',
7716
+ backgroundColor: theme?.colors?.icon,
7639
7717
  justifyContent: 'center',
7640
7718
  alignItems: 'center',
7641
7719
  borderRadius: '6px'
@@ -7827,14 +7905,15 @@ const SingleVideoSlide$1 = props => {
7827
7905
  className: classes.iconBackground
7828
7906
  }, /*#__PURE__*/React.createElement(Icon, {
7829
7907
  name: 'Calendar',
7830
- color: theme.palette.primary.main
7908
+ width: "24px",
7909
+ color: theme?.colors?.background2
7831
7910
  })), /*#__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", {
7832
7911
  className: classes.courseDetailTag
7833
7912
  }, /*#__PURE__*/React.createElement("span", {
7834
7913
  className: classes.iconBackground
7835
7914
  }, /*#__PURE__*/React.createElement(Icon, {
7836
- color: theme.palette.primary.main,
7837
- width: "20px",
7915
+ color: theme?.colors?.background2,
7916
+ width: "24px",
7838
7917
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7839
7918
  })), /*#__PURE__*/React.createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React.createElement("p", {
7840
7919
  ref: data?.videoTextContent?.refSetter,
@@ -7892,6 +7971,7 @@ const SingleVideoSlide$1 = props => {
7892
7971
  value: data.isPaid ? buyNowText : registerNowText
7893
7972
  // isExternal: 1
7894
7973
  },
7974
+
7895
7975
  onClick: webinarCtaClick,
7896
7976
  type: 'primary',
7897
7977
  size: 'medium',
@@ -7940,13 +8020,15 @@ var index$4 = /*#__PURE__*/Object.freeze({
7940
8020
  });
7941
8021
 
7942
8022
  const useCoursePromotionPage = createUseStyles(theme => {
8023
+ console.log(theme, 'themere');
7943
8024
  return {
7944
8025
  courseSuperContainer: {
7945
8026
  display: 'flex',
7946
8027
  justifyContent: 'center',
8028
+ background: theme?.colors?.background1,
7947
8029
  padding: ({
7948
8030
  isMobile
7949
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8031
+ } = {}) => isMobile ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7950
8032
  '&, & *, & *:before, & *:after': {
7951
8033
  fontFamily: theme?.typography?.fontFamily,
7952
8034
  boxSizing: 'border-box'
@@ -7958,6 +8040,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7958
8040
  // }
7959
8041
  // }
7960
8042
  },
8043
+
7961
8044
  sectionContainer: {
7962
8045
  margin: '0 auto',
7963
8046
  maxWidth: ({
@@ -8009,13 +8092,14 @@ const useCoursePromotionPage = createUseStyles(theme => {
8009
8092
  iframeContainer: {
8010
8093
  width: '100%',
8011
8094
  position: 'relative',
8012
- paddingBottom: '56.25%'
8013
- // top: "6%",
8014
- // left: '5%'
8095
+ aspectRatio: '4/3',
8096
+ borderRadius: '8px',
8097
+ overflow: 'hidden'
8015
8098
  },
8016
8099
  offerText: {
8017
8100
  textAlign: 'center',
8018
- color: theme.palette.font.primary
8101
+ color: theme.palette.font.primary,
8102
+ fontWeight: '700'
8019
8103
  },
8020
8104
  offerPrice: {
8021
8105
  fontSize: theme.typography.fontSize.h4,
@@ -8062,7 +8146,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8062
8146
  margin: '0',
8063
8147
  letterSpacing: '-1px',
8064
8148
  wordBreak: 'break-word',
8065
- color: theme.palette.font.default
8149
+ color: theme?.colors?.font1
8066
8150
  },
8067
8151
  courseViewContainer: {
8068
8152
  width: '445px',
@@ -8074,19 +8158,22 @@ const useCoursePromotionPage = createUseStyles(theme => {
8074
8158
  // paddingBottom: '10px',
8075
8159
  // paddingTop: '10px'
8076
8160
  },
8161
+
8077
8162
  bannerContainer: {
8078
8163
  width: '100%',
8079
- background: '#EB5757',
8080
- color: '#fff',
8164
+ background: theme?.colors?.bannerColor,
8165
+ color: theme?.colors?.bannerCtaColor,
8166
+ fontWeight: '600',
8081
8167
  textAlign: 'center',
8082
8168
  padding: '10px 10px 23px 40px',
8083
8169
  wordWrap: 'break-word',
8084
8170
  position: 'relative',
8085
- fontSize: theme.typography.fontSize.subHead,
8171
+ fontSize: '14px',
8086
8172
  transform: 'rotate(180deg)',
8087
8173
  clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
8088
8174
  // marginBottom: '16px'
8089
8175
  },
8176
+
8090
8177
  bannerContainerText: {
8091
8178
  transform: 'rotate(180deg)'
8092
8179
  },
@@ -8097,8 +8184,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8097
8184
  },
8098
8185
  courseEmblem: {
8099
8186
  background: '#F0F4F8',
8100
- fontSize: theme.typography.fontSize.subHead,
8101
- borderRadius: '2.00337px',
8187
+ fontSize: theme.typography.fontSize.body,
8188
+ borderRadius: '4px',
8102
8189
  padding: '8px',
8103
8190
  display: 'flex',
8104
8191
  alignItems: 'center',
@@ -8114,27 +8201,29 @@ const useCoursePromotionPage = createUseStyles(theme => {
8114
8201
  display: 'flex',
8115
8202
  alignItems: 'center',
8116
8203
  marginRight: '20px',
8204
+ color: theme?.colors?.font1,
8117
8205
  '& div': {
8118
- fontSize: theme.typography.fontSize.subHead,
8119
- fontWeight: theme.typography.fontWeight.semiBold,
8206
+ fontSize: theme.typography.fontSize.body,
8207
+ fontWeight: theme.typography.fontWeight.medium,
8120
8208
  marginLeft: '10px'
8121
8209
  }
8122
8210
  },
8123
8211
  courseDetailContent: {
8124
- // marginTop: '16px',
8125
- fontSize: theme.typography.fontSize.subHead,
8126
- lineHeight: '24px',
8212
+ marginTop: '20px',
8213
+ fontSize: theme.typography.fontSize.body,
8214
+ lineHeight: '21px',
8127
8215
  wordBreak: 'break-word',
8128
- color: theme.palette.font.primary,
8216
+ color: theme?.colors?.font1,
8129
8217
  whiteSpace: 'pre-wrap',
8130
8218
  margin: '10px 0 20px'
8131
8219
  },
8132
8220
  courseDetailViewFullDetails: {
8133
8221
  cursor: 'pointer',
8134
- fontSize: theme.typography.fontSize.subHead,
8135
- lineHeight: '24px',
8136
- marginTop: '-24px',
8137
- color: '#00ADE7',
8222
+ fontSize: theme.typography.fontSize.body,
8223
+ textDecoration: 'underline',
8224
+ lineHeight: '21px',
8225
+ marginTop: '20px',
8226
+ color: theme.colors?.font1,
8138
8227
  wordBreak: 'break-word'
8139
8228
  },
8140
8229
  courseDetailTime: {
@@ -8145,7 +8234,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8145
8234
  display: 'flex',
8146
8235
  width: '36px',
8147
8236
  height: '36px',
8148
- backgroundColor: 'rgb(240, 244, 248)',
8237
+ backgroundColor: theme?.colors?.icon,
8149
8238
  justifyContent: 'center',
8150
8239
  alignItems: 'center',
8151
8240
  borderRadius: '6px'
@@ -8197,6 +8286,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8197
8286
  height: 'max-content'
8198
8287
  // paddingRight: '10px'
8199
8288
  },
8289
+
8200
8290
  videoDetails: {
8201
8291
  width: '100%'
8202
8292
  },
@@ -8204,7 +8294,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8204
8294
  // fontSize: '20px',
8205
8295
  fontWeight: '600',
8206
8296
  lineHeight: 'normal',
8207
- letterSpacing: '0px'
8297
+ letterSpacing: '0px',
8298
+ color: theme?.colors?.font1
8208
8299
  },
8209
8300
  videoTestimonialTitle: {
8210
8301
  // fontSize: '24px',
@@ -8373,28 +8464,32 @@ const SingleVideoSlide = props => {
8373
8464
  className: classes.iconBackground
8374
8465
  }, /*#__PURE__*/React.createElement(Icon, {
8375
8466
  name: 'Clock',
8376
- color: theme.palette.primary.main
8467
+ width: "24px",
8468
+ color: theme?.colors?.background2
8377
8469
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React.createElement("div", {
8378
8470
  className: classes.courseDetailTag
8379
8471
  }, /*#__PURE__*/React.createElement("span", {
8380
8472
  className: classes.iconBackground
8381
8473
  }, /*#__PURE__*/React.createElement(Icon, {
8382
8474
  name: 'Book Saved',
8383
- color: theme.palette.primary.main
8475
+ color: theme?.colors?.background2,
8476
+ width: "24px"
8384
8477
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? 'Physical Books' : null)) : null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? /*#__PURE__*/React.createElement("div", {
8385
8478
  className: classes.courseDetailTag
8386
8479
  }, /*#__PURE__*/React.createElement("span", {
8387
8480
  className: classes.iconBackground
8388
8481
  }, /*#__PURE__*/React.createElement(Icon, {
8389
8482
  name: 'Certificate',
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", {
8483
+ color: theme?.colors?.background2,
8484
+ width: "20px"
8485
+ })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText?.heading ? /*#__PURE__*/React.createElement("div", {
8392
8486
  className: classes.courseDetailTag
8393
8487
  }, /*#__PURE__*/React.createElement("span", {
8394
8488
  className: classes.iconBackground
8395
8489
  }, /*#__PURE__*/React.createElement(Icon, {
8396
8490
  name: 'Certificate',
8397
- color: theme.palette.primary.main
8491
+ color: theme?.colors?.background2,
8492
+ width: "20px"
8398
8493
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React.createElement("p", {
8399
8494
  ref: data?.videoTextContent?.refSetter,
8400
8495
  className: classes.courseDetailContent,
@@ -8450,6 +8545,7 @@ const SingleVideoSlide = props => {
8450
8545
  value: buyNowText
8451
8546
  // isExternal: 1
8452
8547
  },
8548
+
8453
8549
  onClick: courseBuyNow,
8454
8550
  type: 'primary',
8455
8551
  size: 'medium',
@@ -8520,7 +8616,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8520
8616
  padding: ({
8521
8617
  isMobile
8522
8618
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8523
- background: '#F4F9FF',
8619
+ background: theme?.colors?.background3,
8524
8620
  '&, & *, & *:before, & *:after': {
8525
8621
  fontFamily: theme?.typography?.fontFamily,
8526
8622
  boxSizing: 'border-box'
@@ -8537,7 +8633,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8537
8633
  marginTop: '8px',
8538
8634
  fontSize: theme.typography.fontSize.h6,
8539
8635
  lineHeight: '23px',
8540
- color: 'rgba(51, 51, 51, 0.5)',
8636
+ color: theme?.colors?.gray,
8541
8637
  marginBottom: theme.spacing.margin.tiny
8542
8638
  },
8543
8639
  formPageFormContainer: {
@@ -8554,9 +8650,10 @@ const useFormPageStyles = createUseStyles(theme => ({
8554
8650
  // border: '1px solid #D8E0F0',
8555
8651
  // borderRadius: '16px'
8556
8652
  },
8653
+
8557
8654
  inputFieldLabel: {
8558
- color: '#333',
8559
- fontSize: theme.typography.fontSize.subHead,
8655
+ color: theme?.colors?.lightblack,
8656
+ fontSize: theme.typography.fontSize.body,
8560
8657
  fontWeight: theme.typography.fontWeight.semiBold,
8561
8658
  display: 'block',
8562
8659
  marginTop: '20px',
@@ -8567,8 +8664,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8567
8664
  borderRadius: '8px',
8568
8665
  border: '1px solid #D8E0F0',
8569
8666
  padding: '12px 16px',
8570
- color: '#7D8592',
8571
- fontSize: theme.typography.fontSize.subHead
8667
+ color: theme?.colors?.lightblack,
8668
+ fontSize: theme.typography.fontSize.body
8572
8669
  },
8573
8670
  checkboxField: {
8574
8671
  // padding: '20px',
@@ -8576,21 +8673,21 @@ const useFormPageStyles = createUseStyles(theme => ({
8576
8673
  // borderRadius: '8px'
8577
8674
  },
8578
8675
  checkBoxFieldLabel: {
8579
- color: '#333',
8580
- fontSize: theme.typography.fontSize.subHead,
8676
+ color: theme?.colors?.lightblack,
8677
+ fontSize: theme.typography.fontSize.body,
8581
8678
  fontWeight: theme.typography.fontWeight.semiBold,
8582
8679
  marginTop: '20px',
8583
8680
  marginBottom: '12px'
8584
8681
  },
8585
8682
  inputFieldRequired: {
8586
- color: '#F41828'
8683
+ color: theme?.colors?.lightblack
8587
8684
  },
8588
8685
  checkboxFieldControl: {
8589
8686
  padding: '8px 0',
8590
8687
  '& label': {
8591
- fontSize: theme.typography.fontSize.subHead,
8688
+ fontSize: theme.typography.fontSize.body,
8592
8689
  marginLeft: '10px',
8593
- color: '#7D8592'
8690
+ color: theme?.colors?.lightblack
8594
8691
  }
8595
8692
  },
8596
8693
  submitBtnContainer: {
@@ -8603,8 +8700,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8603
8700
  '& button': {
8604
8701
  // height: '44px',
8605
8702
  padding: '16px 24px',
8606
- color: '#FFFFFF',
8607
- fontSize: theme.typography.fontSize.subHead,
8703
+ fontSize: theme.typography.fontSize.body,
8608
8704
  cursor: 'pointer',
8609
8705
  borderRadius: '8px'
8610
8706
  }
@@ -8867,6 +8963,7 @@ const FormPage = ({
8867
8963
  value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
8868
8964
  // isExternal: 1
8869
8965
  },
8966
+
8870
8967
  type: 'primary',
8871
8968
  size: 'medium',
8872
8969
  target: null,
@@ -9049,6 +9146,7 @@ const useEmailStyles = createUseStyles(theme => ({
9049
9146
  height: '48px'
9050
9147
  /* margin: 18px 0px; */
9051
9148
  },
9149
+
9052
9150
  'p-young-guru-title': {
9053
9151
  fontFamily: theme?.typography?.fontFamily,
9054
9152
  fontStyle: 'normal',
@@ -9076,6 +9174,7 @@ const useEmailStyles = createUseStyles(theme => ({
9076
9174
  textAlign: 'center'
9077
9175
  /* padding:35px 0 40px */
9078
9176
  },
9177
+
9079
9178
  'two-columns .column': {
9080
9179
  width: '100%',
9081
9180
  maxWidth: '275px',
@@ -9609,7 +9708,7 @@ function PageRenderer({
9609
9708
  countryCode,
9610
9709
  currencySymbol
9611
9710
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
9612
- const theme = useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9711
+ const theme = useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9613
9712
  const Wrapper = SectionWrapper || Fragment;
9614
9713
  return /*#__PURE__*/React.createElement(ThemeProvider, {
9615
9714
  theme: theme