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.js CHANGED
@@ -73,7 +73,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
73
73
  height: '60px'
74
74
  },
75
75
  headerContainer: {
76
- background: theme?.palette?.background?.default,
76
+ background: theme?.colors?.white,
77
77
  boxShadow: theme?.shadows?.primary,
78
78
  padding: '20px 40px',
79
79
  display: 'flex',
@@ -131,11 +131,11 @@ const useSectionStyles$a = createUseStyles(theme => ({
131
131
  lineHeight: '20px',
132
132
  display: 'flex',
133
133
  alignItems: 'center',
134
- color: theme.palette.primary.main,
134
+ color: theme?.colors?.headerText,
135
135
  padding: '20px',
136
136
  '&:hover': {
137
137
  cursor: 'pointer',
138
- background: theme.palette.primary.lightest,
138
+ background: theme?.colors?.headerHover,
139
139
  borderRadius: theme?.shape?.borderRadius?.small
140
140
  }
141
141
  },
@@ -144,7 +144,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
144
144
  alignItems: 'center',
145
145
  justifyContent: 'space-between',
146
146
  padding: '18px 24px 18px 16px',
147
- background: theme?.palette?.background?.default,
147
+ background: theme?.colors?.white,
148
148
  boxShadow: theme?.shadows?.primary,
149
149
  position: ({
150
150
  isFixed
@@ -220,7 +220,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
220
220
  height: '100%'
221
221
  },
222
222
  menuContainer: {
223
- background: theme?.palette?.background?.default,
223
+ background: theme?.colors?.white,
224
224
  boxShadow: theme.shadows.secondary,
225
225
  width: '75%',
226
226
  height: '100%',
@@ -337,9 +337,9 @@ const alpha = {
337
337
  eightyPercent: 0.8
338
338
  };
339
339
  const getRGBFromHex = hex => {
340
- const r = parseInt(hex.slice(1, 3), 16);
341
- const g = parseInt(hex.slice(3, 5), 16);
342
- const b = parseInt(hex.slice(5, 7), 16);
340
+ const r = parseInt(hex?.slice(1, 3), 16);
341
+ const g = parseInt(hex?.slice(3, 5), 16);
342
+ const b = parseInt(hex?.slice(5, 7), 16);
343
343
  return [r, g, b];
344
344
  };
345
345
  const hexToRgbA = (hex, alpha = null) => {
@@ -377,13 +377,11 @@ const buttonStyles = createUseStyles(theme => ({
377
377
  textAlign: 'center',
378
378
  color: ({
379
379
  disabled
380
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
380
+ } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.colors?.CtaTextColor,
381
381
  background: ({
382
382
  disabled
383
- } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.palette?.primary?.main,
384
- border: ({
385
- disabled
386
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.palette?.primary?.main}`,
383
+ } = {}) => disabled ? colorMixer(theme?.palette?.primary.main, 0.5).color : theme?.colors?.ctaColor,
384
+ border: 'none',
387
385
  textDecoration: 'none',
388
386
  cursor: ({
389
387
  disabled
@@ -405,13 +403,13 @@ const buttonStyles = createUseStyles(theme => ({
405
403
  lineHeight: '18px',
406
404
  color: ({
407
405
  disabled
408
- } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme.palette.primary.main,
406
+ } = {}) => disabled ? colorMixer(theme.palette.primary.main, 0.5).color : theme?.colors?.CtaTextColor,
409
407
  background: ({
410
408
  disabled
411
- } = {}) => disabled ? colorMixer(theme?.palette?.background?.default, 0.5).color : theme?.palette?.background?.default,
409
+ } = {}) => disabled ? colorMixer(theme?.palette?.parimar?.default, 0.5).color : theme?.colors?.ctaColor,
412
410
  border: ({
413
411
  disabled
414
- } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme.palette.primary.main}`,
412
+ } = {}) => disabled ? `1px solid ${colorMixer(theme.palette.primary.main, 0.5).color}` : `1px solid ${theme?.colors?.ctaColor}`,
415
413
  cursor: ({
416
414
  disabled
417
415
  } = {}) => disabled ? 'not-allowed' : 'pointer',
@@ -1044,6 +1042,25 @@ var appStore = "data:image/svg+xml,%3Csvg%20width%3D%22116%22%20height%3D%2240%2
1044
1042
 
1045
1043
  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/zrEKq6OIFPeWyQfkQueQJwPIkEevJfKR4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O/Ey/UOQw8eO0pQZxfsZJPfDXcYe57txhk60mgzNLEAY0V+Aru4lWNKlTcL/XJa9BYDa+g+35qPXZX6y+JxWunAGJi5A7uR4/mC3/3ud4FzF0AzPr6urWRU1ZPVEN6ezhfp2CPwt7/9LX5cyC/BVtF5ncwBVKGUecwP2Eno+IZ23k3BMXpC9PV8OtXf0yKslR6lQknE29DzMYcRXxRNnjmKwHtgAc73TJw4MSxvx+hvsGPzzG2k+1Yi4sCfOYxg29RjCjzmdVglIeT1hvBlP4oNryr39Hhe3cRjuzXCHGYb5DbQxzZAD4PeEEAPo9t7zs9htNrp2a2MRnTDskpiymTIFhiVFvA91cEagB7UUMOwbtwa6spmedkC7xYL9NLxdGKT3MPoxFoZN1tglFsgO4xR3gBy9bMFOrFAdhidWCvjZguMcgvkOYxR3gBy9YfOAiwz69CdvSCna8G2Qa3kw7b1oZz8tNc7jGWpp2vlM2G2QLZA+xbwk5WDudF7xad9zWdhjrX3JXZKk/GzBbIFurQATkK/LllEMvEYjNPpRv4Ye7szR6W7oc002QLZAqPMAmP5OtKkSZNGWbVzdbMFsgW6scAY69LE7WKcObBDS93wyDTZAtkCo8ACfD+2dBh8AMXeQ1B+C3UU1D9XMVsgW6BNC9iJ4jBlyhQORb4DfF9huN87Yfp3fSgn02bb5TbQ+zaAT9C3V2ocBq6DSdCqr3jlC9H7C5Ftmm060tsAvgCfIKhzGCqwidD8pM+9ndwGRnEbwAek8H8VNOJO7rX6rgAAAABJRU5ErkJggg==";
1046
1044
 
1045
+ function getShortenedSubstring(name, length, allowDots = true) {
1046
+ if (name) {
1047
+ return name.length < length ? name : `${name.substr(0, length)}${allowDots && '...'}`;
1048
+ }
1049
+ return '';
1050
+ }
1051
+ function getAppDownloadLink(androidLink = '', iosLink = '') {
1052
+ if (typeof window !== 'undefined') {
1053
+ const userAgent = window.navigator?.userAgent;
1054
+ if (/Android/.test(userAgent) && androidLink) {
1055
+ return androidLink;
1056
+ }
1057
+ if (/iPad|iPhone|iPod/.test(userAgent) && iosLink) {
1058
+ return iosLink;
1059
+ }
1060
+ return androidLink || iosLink;
1061
+ }
1062
+ }
1063
+
1047
1064
  function OptionList({
1048
1065
  optionsData,
1049
1066
  headerData,
@@ -1071,6 +1088,9 @@ function OptionList({
1071
1088
  };
1072
1089
  const tabData = tabsDataModifier();
1073
1090
  const classes = useSectionStyles$a();
1091
+
1092
+ // console.log(headerData, 'sakshat header options');
1093
+
1074
1094
  const isAndroidDelisted = headerData?.isAndroidDelisted;
1075
1095
  const apkURL = headerData?.apkURL;
1076
1096
  const downloadApkURL = isAndroidDelisted && apkURL ? apkURL : null;
@@ -1121,6 +1141,12 @@ function OptionList({
1121
1141
  alt: "appStore"
1122
1142
  })) : null);
1123
1143
  };
1144
+ const iosLink = isTutorWebsite ? headerData?.iosDownloadLink : headerData?.iosUrl;
1145
+ const androidLink = isTutorWebsite ? headerData?.androidDownloadLink : headerData?.appLink;
1146
+
1147
+ // console.log(iosLink, 'sakshat ios link');
1148
+ // console.log(androidLink, 'sakshat android link');
1149
+
1124
1150
  return /*#__PURE__*/React__default["default"].createElement("div", {
1125
1151
  className: classes.listSection
1126
1152
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1144,9 +1170,9 @@ function OptionList({
1144
1170
  list: moreContent,
1145
1171
  label: 'More',
1146
1172
  icon: arrowDown
1147
- }) : null, isTutorWebsite && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 || headerData?.appLink?.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Button, {
1173
+ }) : null, isTutorWebsite && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 || androidLink?.length > 0 || iosLink?.length > 0 ? /*#__PURE__*/React__default["default"].createElement(Button, {
1148
1174
  data: {
1149
- link: downloadApkURL ? downloadApkURL : headerData?.appLink,
1175
+ link: isAndroidDelisted ? getAppDownloadLink(downloadApkURL, iosLink) : getAppDownloadLink(androidLink, iosLink),
1150
1176
  isLink: 1,
1151
1177
  value: downloadAppText,
1152
1178
  isExternal: 1
@@ -1305,6 +1331,9 @@ function DesktopHeader({
1305
1331
  }
1306
1332
  return moreContent;
1307
1333
  };
1334
+
1335
+ // console.log(header, 'sakshat header desktop');
1336
+
1308
1337
  return /*#__PURE__*/React__default["default"].createElement("nav", {
1309
1338
  className: classes.section
1310
1339
  }, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1346,10 +1375,6 @@ function DesktopHeader({
1346
1375
  }));
1347
1376
  }
1348
1377
 
1349
- var phoneIos = "data:image/svg+xml,%3Csvg%20width%3D%2244%22%20height%3D%2244%22%20viewBox%3D%220%200%2044%2044%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20filter%3D%22url%28%23filter0_d_3094_7439%29%22%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%2240%22%20height%3D%2240%22%20rx%3D%224%22%20fill%3D%22%23F0F4F8%22%2F%3E%3Cpath%20d%3D%22M30.4539%2016.8288C30.3555%2016.8912%2028.0131%2018.1908%2028.0131%2021.0732C28.1235%2024.3612%2030.9687%2025.5132%2031.0179%2025.5132C30.9699%2025.5744%2030.5883%2027.084%2029.4603%2028.6656C28.5651%2030.0276%2027.5715%2031.4016%2026.0631%2031.4016C24.6279%2031.4016%2024.1119%2030.4932%2022.4559%2030.4932C20.6775%2030.4932%2020.1747%2031.4016%2018.8127%2031.4016C17.3043%2031.4016%2016.2375%2029.9544%2015.2931%2028.6044C14.0667%2026.838%2013.0251%2024.066%2012.9879%2021.4044C12.9627%2019.9944%2013.2327%2018.6084%2013.9191%2017.43C14.8887%2015.786%2016.6179%2014.67%2018.5067%2014.634C19.9539%2014.5848%2021.2427%2015.6264%2022.1247%2015.6264C22.9719%2015.6264%2024.5535%2014.6328%2026.3439%2014.6328C27.1167%2014.634%2029.1783%2014.8668%2030.4539%2016.8288ZM22.0023%2014.352C21.7455%2013.0632%2022.4559%2011.7756%2023.1183%2010.9536C23.9655%209.95998%2025.3023%209.28558%2026.4543%209.28558C26.5287%2010.5744%2026.0619%2011.8368%2025.2279%2012.7572C24.4803%2013.7508%2023.1927%2014.4984%2022.0023%2014.352Z%22%20fill%3D%22%234D4D4D%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3Cfilter%20id%3D%22filter0_d_3094_7439%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2244%22%20height%3D%2244%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%20result%3D%22hardAlpha%22%2F%3E%3CfeOffset%20dy%3D%221%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%221%22%2F%3E%3CfeComposite%20in2%3D%22hardAlpha%22%20operator%3D%22out%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200.16%200%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22effect1_dropShadow_3094_7439%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22effect1_dropShadow_3094_7439%22%20result%3D%22shape%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";
1350
-
1351
- var phoneAndroid = "data:image/svg+xml,%3Csvg%20width%3D%2244%22%20height%3D%2244%22%20viewBox%3D%220%200%2044%2044%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20filter%3D%22url%28%23filter0_d_3094_7442%29%22%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%2240%22%20height%3D%2240%22%20rx%3D%224%22%20fill%3D%22%23F0F4F8%22%2F%3E%3Cpath%20d%3D%22M13.9713%2011.7196C13.7108%2012.0303%2013.579%2012.4279%2013.6028%2012.8316V30.3709C13.5804%2030.7744%2013.712%2031.1716%2013.9713%2031.4829L14.0316%2031.5428L23.9128%2021.7144V21.4814L14.0316%2011.6597L13.9713%2011.7196Z%22%20fill%3D%22url%28%23paint0_linear_3094_7442%29%22%2F%3E%3Cpath%20d%3D%22M27.2088%2024.9906L23.9128%2021.7144V21.4814L27.2088%2018.2119L27.2825%2018.2519L31.1881%2020.4559C32.3069%2021.0819%2032.3069%2022.114%2031.1881%2022.7466L27.2825%2024.9506L27.2088%2024.9906Z%22%20fill%3D%22url%28%23paint1_linear_3094_7442%29%22%2F%3E%3Cpath%20d%3D%22M27.2824%2024.9507L23.9328%2021.6213L13.9712%2031.4829C14.2008%2031.6706%2014.4867%2031.777%2014.7838%2031.7854C15.0809%2031.7939%2015.3725%2031.7039%2015.6125%2031.5296L27.2623%2024.9507%22%20fill%3D%22url%28%23paint2_linear_3094_7442%29%22%2F%3E%3Cpath%20d%3D%22M27.2824%2018.2519L15.6125%2011.6663C15.375%2011.4849%2015.0816%2011.391%2014.7822%2011.4007C14.4829%2011.4104%2014.1962%2011.5231%2013.9712%2011.7196L23.9127%2021.6012L27.2824%2018.2519Z%22%20fill%3D%22url%28%23paint3_linear_3094_7442%29%22%2F%3E%3Cpath%20opacity%3D%220.1%22%20d%3D%22M27.209%2024.8774L15.6128%2031.4163C15.3815%2031.5876%2015.1007%2031.6802%2014.8123%2031.6802C14.5238%2031.6802%2014.243%2031.5876%2014.0117%2031.4163L13.9514%2031.4762L14.0117%2031.5362C14.243%2031.7075%2014.5238%2031.8%2014.8123%2031.8C15.1007%2031.8%2015.3815%2031.7075%2015.6128%2031.5362L27.2626%2024.9573L27.209%2024.8774Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20opacity%3D%220.07%22%20d%3D%22M13.9713%2031.3764C13.7116%2031.0627%2013.5801%2030.6633%2013.6029%2030.2577V30.3709C13.5804%2030.7745%2013.712%2031.1716%2013.9713%2031.4829L14.0316%2031.423L13.9713%2031.3764Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20opacity%3D%220.07%22%20d%3D%22M31.188%2022.6267L27.2087%2024.8773L27.2824%2024.9506L31.188%2022.7199C31.4171%2022.6198%2031.6154%2022.461%2031.7625%2022.2597C31.9096%2022.0585%2032.0003%2021.8221%2032.0254%2021.5746C31.9797%2021.8034%2031.88%2022.0181%2031.7344%2022.201C31.5888%2022.3839%2031.4015%2022.5298%2031.188%2022.6267Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20opacity%3D%220.3%22%20d%3D%22M15.6123%2011.7861L31.1878%2020.5691C31.3992%2020.6635%2031.5852%2020.8062%2031.7307%2020.9856C31.8762%2021.1649%2031.9771%2021.3758%2032.0252%2021.6012C32.0015%2021.3533%2031.9113%2021.1162%2031.764%2020.9148C31.6167%2020.7133%2031.4177%2020.5548%2031.1878%2020.4559L15.6123%2011.6663C14.5136%2011.0403%2013.6025%2011.5597%2013.6025%2012.8315V12.9447C13.6025%2011.6796%2014.5136%2011.1535%2015.6123%2011.7861Z%22%20fill%3D%22white%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3Cfilter%20id%3D%22filter0_d_3094_7442%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2244%22%20height%3D%2244%22%20filterUnits%3D%22userSpaceOnUse%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeFlood%20flood-opacity%3D%220%22%20result%3D%22BackgroundImageFix%22%2F%3E%3CfeColorMatrix%20in%3D%22SourceAlpha%22%20type%3D%22matrix%22%20values%3D%220%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200%22%20result%3D%22hardAlpha%22%2F%3E%3CfeOffset%20dy%3D%221%22%2F%3E%3CfeGaussianBlur%20stdDeviation%3D%221%22%2F%3E%3CfeComposite%20in2%3D%22hardAlpha%22%20operator%3D%22out%22%2F%3E%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200%200.4%200%200%200%200.16%200%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in2%3D%22BackgroundImageFix%22%20result%3D%22effect1_dropShadow_3094_7442%22%2F%3E%3CfeBlend%20mode%3D%22normal%22%20in%3D%22SourceGraphic%22%20in2%3D%22effect1_dropShadow_3094_7442%22%20result%3D%22shape%22%2F%3E%3C%2Ffilter%3E%3ClinearGradient%20id%3D%22paint0_linear_3094_7442%22%20x1%3D%2223.0419%22%20y1%3D%2212.6452%22%20x2%3D%229.73126%22%20y2%3D%2226.0365%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23008EFF%22%2F%3E%3Cstop%20offset%3D%220.01%22%20stop-color%3D%22%23008FFF%22%2F%3E%3Cstop%20offset%3D%220.26%22%20stop-color%3D%22%2300ACFF%22%2F%3E%3Cstop%20offset%3D%220.51%22%20stop-color%3D%22%2300C0FF%22%2F%3E%3Cstop%20offset%3D%220.76%22%20stop-color%3D%22%2300CDFF%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2300D1FF%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_3094_7442%22%20x1%3D%2231.3221%22%20y1%3D%2221.6012%22%20x2%3D%2212.0152%22%20y2%3D%2221.6012%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FFD800%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23FF8A00%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint2_linear_3094_7442%22%20x1%3D%2225.4535%22%20y1%3D%2223.4192%22%20x2%3D%227.40854%22%20y2%3D%2241.5735%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23FF3A44%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23B11162%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint3_linear_3094_7442%22%20x1%3D%2211.4657%22%20y1%3D%225.87984%22%20x2%3D%2219.5294%22%20y2%3D%2213.9857%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23328E71%22%2F%3E%3Cstop%20offset%3D%220.07%22%20stop-color%3D%22%232D9571%22%2F%3E%3Cstop%20offset%3D%220.48%22%20stop-color%3D%22%2315BD74%22%2F%3E%3Cstop%20offset%3D%220.8%22%20stop-color%3D%22%2306D575%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2300DE76%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";
1352
-
1353
1378
  function MobileHeader({
1354
1379
  header,
1355
1380
  navData,
@@ -1383,54 +1408,17 @@ function MobileHeader({
1383
1408
  body?.removeAttribute('style');
1384
1409
  }
1385
1410
  }, [sideMenu]);
1386
- let iosUrl = null;
1387
- let androidUrl = null;
1388
1411
  let downloadLink = null;
1389
1412
  const downloadAppText = countryCode === 'KR' ? '앱다운로드' : 'Download App';
1413
+ const apkURL = header?.apkURL;
1414
+ const isAndroidDelisted = header?.isAndroidDelisted;
1415
+ const iosDownloadLink = header?.iosDownloadLink || header?.iosUrl;
1416
+ const androidDownloadLink = header?.androidDownloadLink;
1417
+
1418
+ // console.log(header, 'sakshat header mobile');
1419
+
1390
1420
  if (isTutorWebsite) {
1391
- console.log("potato");
1392
- if (header?.iosUrl) {
1393
- iosUrl = /*#__PURE__*/React__default["default"].createElement(Button, {
1394
- data: {
1395
- link: header?.iosUrl,
1396
- isLink: 1,
1397
- value: /*#__PURE__*/React__default["default"].createElement("img", {
1398
- src: phoneIos,
1399
- alt: "iosUrl"
1400
- }),
1401
- isExternal: 1
1402
- },
1403
- type: '',
1404
- size: 'small',
1405
- target: 'blank',
1406
- rel: null,
1407
- style: {
1408
- padding: 0,
1409
- paddingRight: '8px'
1410
- }
1411
- });
1412
- }
1413
- if (header?.androidURL) {
1414
- androidUrl = /*#__PURE__*/React__default["default"].createElement(Button, {
1415
- data: {
1416
- link: header?.androidURL,
1417
- isLink: 1,
1418
- value: /*#__PURE__*/React__default["default"].createElement("img", {
1419
- src: phoneAndroid,
1420
- alt: "iosUrl"
1421
- }),
1422
- isExternal: 1
1423
- },
1424
- type: '',
1425
- size: 'small',
1426
- target: 'blank',
1427
- rel: null,
1428
- style: {
1429
- padding: 0
1430
- }
1431
- });
1432
- }
1433
- if (header?.isAndroidDelisted && header?.apkURL) {
1421
+ if (isAndroidDelisted && apkURL) {
1434
1422
  downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1435
1423
  data: {
1436
1424
  value: downloadAppText,
@@ -1441,33 +1429,19 @@ function MobileHeader({
1441
1429
  target: 'blank',
1442
1430
  rel: null,
1443
1431
  onClick: () => {
1444
- window.open(header?.iosUrl ? header?.iosUrl : header?.apkURL, "_blank");
1432
+ let url = getAppDownloadLink(apkURL, iosDownloadLink);
1433
+ window.open(url, "_blank");
1445
1434
  if (!header?.iosUrl && typeof onDownloadAppTriggered == "function") {
1446
1435
  onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
1447
1436
  }
1448
1437
  }
1449
1438
  });
1450
- } else if (iosUrl && androidUrl) {
1451
- downloadLink = /*#__PURE__*/React__default["default"].createElement("div", null, iosUrl, androidUrl);
1452
- } else if (header?.iosUrl) {
1453
- downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1454
- data: {
1455
- link: header?.iosUrl,
1456
- isLink: 1,
1457
- value: header?.downloadAppButtonText || downloadAppText,
1458
- isExternal: 1
1459
- },
1460
- type: 'primary',
1461
- size: 'small',
1462
- target: 'blank',
1463
- rel: null
1464
- });
1465
- } else if (header?.androidURL) {
1439
+ } else if (androidDownloadLink?.length || iosDownloadLink?.length) {
1466
1440
  downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1467
1441
  data: {
1468
- link: header?.androidURL,
1442
+ link: getAppDownloadLink(androidDownloadLink, iosDownloadLink),
1469
1443
  isLink: 1,
1470
- value: header?.downloadAppButtonText || downloadAppText,
1444
+ value: downloadAppText,
1471
1445
  isExternal: 1
1472
1446
  },
1473
1447
  type: 'primary',
@@ -1479,7 +1453,7 @@ function MobileHeader({
1479
1453
  downloadLink = null;
1480
1454
  }
1481
1455
  } else {
1482
- if (header?.isAndroidDelisted && header?.apkURL) {
1456
+ if (isAndroidDelisted && apkURL) {
1483
1457
  downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1484
1458
  data: {
1485
1459
  value: downloadAppText,
@@ -1490,16 +1464,18 @@ function MobileHeader({
1490
1464
  target: 'blank',
1491
1465
  rel: null,
1492
1466
  onClick: () => {
1493
- window.open(header?.iosUrl ? header?.iosUrl : header?.apkURL, "_blank");
1467
+ let url = getAppDownloadLink(apkURL, iosDownloadLink);
1468
+ window.open(url, "_blank");
1494
1469
  if (!header?.iosUrl && typeof onDownloadAppTriggered == "function") {
1495
1470
  onDownloadAppTriggered(header?.isAndroidDelisted, header?.apkURL);
1496
1471
  }
1497
1472
  }
1498
1473
  });
1499
- } else if (header?.appLink) {
1474
+ } else if (header?.appLink || header?.iosUrl) {
1475
+ console.log('inside custom website');
1500
1476
  downloadLink = /*#__PURE__*/React__default["default"].createElement(Button, {
1501
1477
  data: {
1502
- link: header?.appLink,
1478
+ link: getAppDownloadLink(header?.appLink, header?.iosUrl),
1503
1479
  isLink: 1,
1504
1480
  value: downloadAppText,
1505
1481
  isExternal: 1
@@ -1631,6 +1607,7 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1631
1607
 
1632
1608
  // '& img': { maxHeight: '55px' }
1633
1609
  },
1610
+
1634
1611
  upperContainerItem1Img: {
1635
1612
  maxHeight: '55px',
1636
1613
  paddingBottom: '84px',
@@ -2057,6 +2034,7 @@ const mobilePadding = {
2057
2034
  // 24px
2058
2035
  medium: baseFactor * 6 // 48px
2059
2036
  };
2037
+
2060
2038
  const padding = {
2061
2039
  minute: baseFactor * 2,
2062
2040
  // 16px
@@ -2116,17 +2094,13 @@ function getTheme(colorTheme = 'blue', fontFamily = 'Arial', isMobile) {
2116
2094
  const shape = {
2117
2095
  borderRadius
2118
2096
  };
2119
- const spacing = {
2120
- padding: isMobile ? mobilePadding : padding,
2121
- margin: isMobile ? mobileMargin : margin
2122
- };
2123
2097
  return {
2124
2098
  palette,
2125
2099
  shape,
2126
2100
  typography,
2127
2101
  shadows: generateShadows(palette),
2128
- borders: generateBorders(palette),
2129
- spacing
2102
+ borders: generateBorders(palette)
2103
+ // spacing
2130
2104
  };
2131
2105
  }
2132
2106
 
@@ -2248,6 +2222,178 @@ const defaultMetadata = {
2248
2222
  layout: defaultLayout
2249
2223
  };
2250
2224
 
2225
+ const GRADIENT = `linear-gradient`;
2226
+ const allColors = {
2227
+ white: '#FFFFFF',
2228
+ black: '#000000',
2229
+ lightblack: '#333333',
2230
+ gray: '#999999',
2231
+ bannerRed: '#EB5757',
2232
+ // Blue gradient
2233
+
2234
+ blue: '#1676F3',
2235
+ bluegradient: `${GRADIENT}(180deg,#5418D1 0.42%,#2C88FF 79.92%)`,
2236
+ tertiaryblue: '#F4F9FF',
2237
+ // Orange gradient
2238
+
2239
+ orange: '#FF9000',
2240
+ orangegradient: `${GRADIENT}(138deg, #E96263 12.32%, #EAAE4C 98.22%)`,
2241
+ tertiaryorange: '#FFF6EA',
2242
+ // Pink gradient
2243
+
2244
+ pink: '#F72585',
2245
+ pinkgradient: `${GRADIENT}(135deg, #F97794 0%, #623AA2 100%)`,
2246
+ tertiarypink: '#FEE9F3',
2247
+ // Violet gradient
2248
+
2249
+ violet: '#6026A8',
2250
+ violetgradient: `${GRADIENT}(226deg, #B66EC0 -12.73%, #460FA1 104.66%)`,
2251
+ tertiaryviolet: '#F5F2FA',
2252
+ // Teal gradient
2253
+
2254
+ teal: '#46A9A9',
2255
+ tealgradient: `${GRADIENT}(135deg, #0E5CAD 0%, #79F1A4 100%)`,
2256
+ tertiaryteal: '#F4FAFA',
2257
+ //Red solid
2258
+
2259
+ red: '#F41828',
2260
+ tertiaryred: '#FFF2F3',
2261
+ // Green
2262
+
2263
+ green: '#8ECE19',
2264
+ tertiarygreen: '#F4FAFA',
2265
+ //Maroon solid
2266
+
2267
+ rust: '#9B2226',
2268
+ tertiaryrust: '#FFF0F0',
2269
+ //Purple solid
2270
+
2271
+ purple: '#6269C9',
2272
+ tertiarypurple: '#F4F6FF',
2273
+ //Golden gradient
2274
+
2275
+ golden: `#F2BA35`,
2276
+ goldengradient: `${GRADIENT}(180deg, #F0EA88 0%, #CFA749 99.48%)`,
2277
+ //light green gradient
2278
+
2279
+ lightgreen: `#D6E359`,
2280
+ lightgreengradient: `${GRADIENT}(180deg, #D6E359 0%, #9DB545 100%)`,
2281
+ //light blue gradient
2282
+
2283
+ lightblue: `#A8EDF8`,
2284
+ lightbluegradient: `${GRADIENT}(90deg, #A8EDF8 0.29%, #5EC9E1 97.33%)`,
2285
+ skyblue: '#00ADE7',
2286
+ tertiaryskyblue: '#F2FCFF'
2287
+ };
2288
+
2289
+ const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
2290
+ let themeColor = theme.split('-');
2291
+ let color, gradient, darkMode;
2292
+ if (themeColor.length === 1) {
2293
+ color = themeColor[0] == 'default' ? 'skyblue' : themeColor[0];
2294
+ } else if (themeColor.length === 2) {
2295
+ color = themeColor[0];
2296
+ gradient = themeColor[1];
2297
+ } else {
2298
+ color = themeColor[0];
2299
+ gradient = themeColor[1];
2300
+ darkMode = themeColor[2];
2301
+ }
2302
+ console.log('color', allColors, gradient, darkMode);
2303
+
2304
+ // switch (color) {
2305
+ // case solidColors:
2306
+ // break;
2307
+
2308
+ // case gradientColors:
2309
+ // break;
2310
+
2311
+ // default:
2312
+ // break;
2313
+ // }
2314
+
2315
+ // type 1
2316
+ // const solidColors = {
2317
+ // font1: solidBaseColors?.black,
2318
+ // font2: solidBaseColors?.black,
2319
+ // font3: solidBaseColors?.black,
2320
+ // font4: solidBaseColors?.black,
2321
+ // AccentColor: solidBaseColors[theme],
2322
+ // background1: solidBaseColors?.white,
2323
+ // background2: solidBaseColors['tertiary' + theme],
2324
+ // background3: solidBaseColors['tertiary' + theme],
2325
+ // ctaColor: solidBaseColors[theme],
2326
+ // CtaTextColor: solidBaseColors?.white,
2327
+ // icon: solidBaseColors[theme],
2328
+ // iconBg: solidBaseColors['tertiary' + theme],
2329
+ // stripBg: solidBaseColors[theme],
2330
+ // stripText: solidBaseColors?.white,
2331
+ // inputBorderColor: solidBaseColors?.blue2,
2332
+ // tertiaryBlue2: solidBaseColors?.tertiaryblue2
2333
+ // };
2334
+
2335
+ //type 2
2336
+ // const gradientColors = {
2337
+ // font1: gradientBaseColors?.white,
2338
+ // font2: gradientBaseColors?.black,
2339
+ // font3: gradientBaseColors?.black,
2340
+ // font4: gradientBaseColors?.white,
2341
+ // AccentColor: gradientBaseColors[theme],
2342
+ // background1: gradientBaseColors[theme + 'gradient'],
2343
+ // background2: gradientBaseColors['tertiary' + theme],
2344
+ // background3: gradientBaseColors[theme + 'gradient'],
2345
+ // ctaColor: gradientBaseColors[theme + 'gradient'],
2346
+ // CtaTextColor: gradientBaseColors?.white,
2347
+ // icon: gradientBaseColors[theme],
2348
+ // iconBg: gradientBaseColors['tertiary' + theme],
2349
+ // stripBg: gradientBaseColors?.black,
2350
+ // stripText: gradientBaseColors?.white
2351
+ // };
2352
+
2353
+ const colors = {
2354
+ font1: gradient ? allColors?.white : allColors?.black,
2355
+ font2: darkMode ? allColors[color] : allColors?.black,
2356
+ font3: darkMode ? allColors?.white : allColors?.black,
2357
+ font4: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.black,
2358
+ AccentColor: allColors[color],
2359
+ background1: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors?.white,
2360
+ background2: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2361
+ background3: darkMode ? allColors?.lightblack : gradient ? allColors[color + 'gradient'] : allColors['tertiary' + color],
2362
+ ctaColor: darkMode ? allColors[color + 'gradient'] : gradient ? allColors[color + 'gradient'] : allColors[color],
2363
+ CtaTextColor: darkMode ? allColors?.lightblack : allColors?.white,
2364
+ icon: allColors[color],
2365
+ iconBg: darkMode ? allColors?.lightblack : allColors['tertiary' + color],
2366
+ stripBg: darkMode ? allColors[color + 'gradient'] : allColors?.black,
2367
+ stripText: darkMode ? allColors?.lightblack : allColors?.white,
2368
+ inputBorderColor: allColors?.blue2,
2369
+ tertiaryBlue2: allColors?.tertiaryblue2,
2370
+ white: allColors?.white,
2371
+ black: allColors?.black,
2372
+ lightblack: allColors?.lightblack,
2373
+ gray: allColors?.gray,
2374
+ bannerColor: darkMode ? allColors[color] : gradient ? allColors?.white : allColors?.bannerRed,
2375
+ bannerCtaColor: gradient ? allColors?.lightblack : allColors?.white,
2376
+ headerText: allColors[color],
2377
+ headerHover: allColors['tertiary' + color]
2378
+ };
2379
+ const typography = {
2380
+ fontFamily: `"${fontFamily}", "Roboto", "Helvetica", "Arial", "sans-serif"`,
2381
+ fontSize: isMobile ? fontSizeMob : fontSize,
2382
+ fontWeight
2383
+ };
2384
+ // const shape = { borderRadius };
2385
+ const spacing = {
2386
+ padding: isMobile ? mobilePadding : padding,
2387
+ margin: isMobile ? mobileMargin : margin
2388
+ };
2389
+ return {
2390
+ ...getTheme(theme),
2391
+ typography,
2392
+ spacing,
2393
+ colors
2394
+ };
2395
+ };
2396
+
2251
2397
  function PageRenderer$1({
2252
2398
  pageData: {
2253
2399
  metadata: {
@@ -2304,7 +2450,7 @@ function PageRenderer$1({
2304
2450
  countryCode,
2305
2451
  currencySymbol
2306
2452
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
2307
- const theme = React.useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2453
+ const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
2308
2454
  const Wrapper = SectionWrapper || React.Fragment;
2309
2455
  return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
2310
2456
  theme: theme
@@ -2342,7 +2488,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2342
2488
  padding: ({
2343
2489
  isMobile
2344
2490
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
2345
- backgroundColor: theme?.palette?.background?.primary,
2491
+ background: theme?.colors?.background2,
2346
2492
  '&, & *, & *:before, & *:after': {
2347
2493
  fontFamily: theme?.typography?.fontFamily,
2348
2494
  boxSizing: 'border-box'
@@ -2354,6 +2500,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2354
2500
  // }
2355
2501
  // }
2356
2502
  },
2503
+
2357
2504
  sectionContainer: {
2358
2505
  margin: '0 auto',
2359
2506
  maxWidth: ({
@@ -2399,14 +2546,14 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2399
2546
  marginBottom: '8px',
2400
2547
  fontSize: theme.typography.fontSize.subHead,
2401
2548
  letterSpacing: '3px',
2402
- color: theme?.palette?.font?.default,
2549
+ color: theme?.colors?.font3,
2403
2550
  wordBreak: 'break-word',
2404
2551
  maxWidth: '100%'
2405
2552
  },
2406
2553
  heading: {
2407
2554
  margin: '0',
2408
2555
  fontSize: theme.typography.fontSize.h1,
2409
- color: theme?.palette?.font?.default,
2556
+ color: theme?.colors?.font3,
2410
2557
  wordBreak: ({
2411
2558
  wordBreakValue
2412
2559
  }) => wordBreakValue || 'break-word',
@@ -2415,7 +2562,7 @@ const useSectionStyles$8 = createUseStyles(theme => ({
2415
2562
  },
2416
2563
  description: {
2417
2564
  margin: `${theme.spacing.margin.tiny}px 0px`,
2418
- color: theme?.palette?.font?.primary,
2565
+ color: theme?.colors?.font3,
2419
2566
  lineHeight: '24px',
2420
2567
  wordBreak: 'break-word'
2421
2568
  },
@@ -2532,7 +2679,7 @@ const useCarouselStyles = createUseStyles(theme => ({
2532
2679
  width: '26px',
2533
2680
  background: ({
2534
2681
  inverted
2535
- } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.palette.primary.main
2682
+ } = {}) => !!inverted ? theme?.palette?.font?.invertedDefault : theme.colors.AccentColor
2536
2683
  },
2537
2684
  '@media screen and (max-width: 767px)': {
2538
2685
  sliderClass: {
@@ -2568,7 +2715,7 @@ const useArrowButtonStyles = createUseStyles(theme => ({
2568
2715
  height: sizeHandler,
2569
2716
  border: ({
2570
2717
  inverted
2571
- }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.light}`,
2718
+ }) => `solid 1px ${inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor}`,
2572
2719
  borderRadius: '50%',
2573
2720
  display: 'flex',
2574
2721
  justifyContent: 'center',
@@ -2590,7 +2737,7 @@ function ArrowButton(props) {
2590
2737
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
2591
2738
  height: props.size === 'small' ? '12px' : '18px',
2592
2739
  name: "Angle",
2593
- color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.palette?.primary?.main,
2740
+ color: props.inverted ? theme?.palette?.font?.invertedDefault : theme?.colors?.AccentColor,
2594
2741
  inverted: true
2595
2742
  }));
2596
2743
  }
@@ -2800,7 +2947,6 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2800
2947
  justifyContent: 'center',
2801
2948
  flexDirection: 'column',
2802
2949
  alignItems: 'center',
2803
- backgroundColor: theme?.palette?.background?.default,
2804
2950
  '&, & *, & *:before, & *:after': {
2805
2951
  fontFamily: theme?.typography?.fontFamily,
2806
2952
  boxSizing: 'border-box'
@@ -2818,7 +2964,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2818
2964
  subTitleHeading: {
2819
2965
  marginBottom: '8px',
2820
2966
  fontSize: theme.typography.fontSize.subHead,
2821
- color: theme?.palette?.font?.default,
2967
+ color: theme?.colors?.black,
2822
2968
  alignItems: 'center',
2823
2969
  textAlign: 'center',
2824
2970
  wordBreak: 'break-word',
@@ -2828,7 +2974,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2828
2974
  heading: {
2829
2975
  marginBottom: theme.spacing.margin.tiny,
2830
2976
  fontSize: theme.typography.fontSize.h2,
2831
- color: theme?.palette?.font?.default,
2977
+ color: theme?.colors?.black,
2832
2978
  fontWeight: theme.typography.fontWeight.bold,
2833
2979
  textAlign: 'center',
2834
2980
  wordBreak: 'break-word'
@@ -2845,7 +2991,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2845
2991
  display: 'flex',
2846
2992
  width: 'calc(100% - 200px)',
2847
2993
  alignItems: 'center',
2848
- background: theme?.palette?.background?.default,
2994
+ background: theme?.colors?.white,
2849
2995
  boxShadow: theme?.shadows?.primary,
2850
2996
  borderRadius: theme?.shape?.borderRadius?.regular,
2851
2997
  overflow: 'hidden',
@@ -2869,33 +3015,13 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2869
3015
  '& $contentText': {
2870
3016
  marginLeft: '170px'
2871
3017
  }
2872
- },
2873
- '&:nth-child(7n+1) $contentNumber': {
2874
- background: palettes.purple.primary.lightest
2875
- },
2876
- '&:nth-child(7n+2) $contentNumber': {
2877
- background: palettes.orange.primary.lightest
2878
- },
2879
- '&:nth-child(7n+3) $contentNumber': {
2880
- background: palettes.red.primary.lightest
2881
- },
2882
- '&:nth-child(7n+4) $contentNumber': {
2883
- background: palettes.green.primary.lightest
2884
- },
2885
- '&:nth-child(7n+5) $contentNumber': {
2886
- background: palettes.pink.primary.lightest
2887
- },
2888
- '&:nth-child(7n+6) $contentNumber': {
2889
- background: palettes.blue.primary.lightest
2890
- },
2891
- '&:nth-child(7n) $contentNumber': {
2892
- background: palettes.rust.primary.lightest
2893
3018
  }
2894
3019
  },
2895
3020
  contentNumber: {
2896
3021
  position: 'absolute',
2897
3022
  top: '0',
2898
3023
  fontWeight: '700',
3024
+ background: theme?.colors?.background3,
2899
3025
  fontSize: '72px',
2900
3026
  letterSpacing: '-3px',
2901
3027
  display: 'flex',
@@ -2903,7 +3029,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2903
3029
  justifyContent: 'center',
2904
3030
  padding: '48px',
2905
3031
  height: '100%',
2906
- color: theme?.palette?.font?.default,
3032
+ color: theme?.colors?.font4,
2907
3033
  wordBreak: 'break-word'
2908
3034
  },
2909
3035
  contentText: {
@@ -2915,14 +3041,14 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2915
3041
  fontWeight: theme.typography.fontWeight.bold,
2916
3042
  lineHeight: '32px',
2917
3043
  marginBottom: '8px',
2918
- color: theme?.palette?.font?.default,
3044
+ color: theme?.colors?.lightblack,
2919
3045
  wordBreak: 'break-word'
2920
3046
  },
2921
3047
  contentPara: {
2922
3048
  fontStyle: 'normal',
2923
3049
  fontSize: '16px',
2924
3050
  lineHeight: '26px',
2925
- color: theme?.palette?.font?.primary,
3051
+ color: theme?.colors?.gray,
2926
3052
  wordBreak: 'break-word'
2927
3053
  },
2928
3054
  '@media screen and (max-width: 767px)': {
@@ -2944,6 +3070,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2944
3070
  // padding: '0'
2945
3071
  }
2946
3072
  },
3073
+
2947
3074
  '&:nth-child(2n+1)': {
2948
3075
  marginRight: '0',
2949
3076
  '& $contentText': {
@@ -2953,6 +3080,7 @@ const useSectionStyles$7 = createUseStyles(theme => ({
2953
3080
  }
2954
3081
  }
2955
3082
  },
3083
+
2956
3084
  contentNumber: {
2957
3085
  width: '100%',
2958
3086
  padding: '24px',
@@ -3333,6 +3461,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3333
3461
  return {
3334
3462
  section: {
3335
3463
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3464
+ background: theme?.colors?.background2,
3336
3465
  '&, & *, & *:before, & *:after': {
3337
3466
  fontFamily: theme?.typography?.fontFamily,
3338
3467
  boxSizing: 'border-box'
@@ -3344,6 +3473,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3344
3473
  // }
3345
3474
  // }
3346
3475
  },
3476
+
3347
3477
  sectionContainer: {
3348
3478
  margin: '0 auto',
3349
3479
  maxWidth: ({
@@ -3357,6 +3487,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3357
3487
 
3358
3488
  // padding: `${theme?.spacing?.padding?.regular}px ${theme?.spacing?.padding?.medium}px 0px ${theme?.spacing?.padding?.medium}px`
3359
3489
  },
3490
+
3360
3491
  imageContainerDiv: {
3361
3492
  width: '50%',
3362
3493
  position: 'relative'
@@ -3374,7 +3505,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3374
3505
  }
3375
3506
  },
3376
3507
  imageBorder: {
3377
- border: `2px solid ${theme?.palette?.primary?.light}`,
3508
+ // border: `2px solid ${theme?.palette?.primary?.light}`,
3378
3509
  borderRadius: theme?.shape?.borderRadius?.small,
3379
3510
  position: 'absolute',
3380
3511
  width: '100%',
@@ -3399,13 +3530,13 @@ const useSectionStyles$5 = createUseStyles(theme => {
3399
3530
  marginBottom: '8px',
3400
3531
  fontSize: theme?.typography?.fontSize?.subHead,
3401
3532
  letterSpacing: '3px',
3402
- color: theme?.palette?.font?.default,
3533
+ color: theme?.colors?.font3,
3403
3534
  wordBreak: 'break-word'
3404
3535
  },
3405
3536
  heading: {
3406
3537
  margin: '0',
3407
3538
  fontSize: theme?.typography?.fontSize?.h1,
3408
- color: theme?.palette?.font?.default,
3539
+ color: theme?.colors?.font3,
3409
3540
  wordBreak: ({
3410
3541
  wordBreakValue
3411
3542
  }) => wordBreakValue || 'break-word',
@@ -3415,7 +3546,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3415
3546
  description: {
3416
3547
  marginTop: theme.spacing.margin.tiny,
3417
3548
  marginBottom: theme.spacing.margin.tiny,
3418
- color: theme?.palette?.font?.primary,
3549
+ color: theme?.colors?.font3,
3419
3550
  lineHeight: '24px',
3420
3551
  wordBreak: 'break-word'
3421
3552
  },
@@ -3428,6 +3559,7 @@ const useSectionStyles$5 = createUseStyles(theme => {
3428
3559
  width: '100%'
3429
3560
  // padding: `${theme?.spacing?.padding?.medium}px ${theme?.spacing?.padding?.regular}px`
3430
3561
  },
3562
+
3431
3563
  imageContainer: {
3432
3564
  height: 'unset !important',
3433
3565
  '& img': {
@@ -3580,16 +3712,16 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3580
3712
  containerWidth
3581
3713
  } = {}) => containerWidth
3582
3714
  },
3583
- partialBackground: {
3584
- top: '0',
3585
- left: '0',
3586
- width: '100%',
3587
- height: '50%',
3588
- position: 'absolute',
3589
- background: theme?.palette?.background?.primary
3590
- },
3715
+ // partialBackground: {
3716
+ // top: '0',
3717
+ // left: '0',
3718
+ // width: '100%',
3719
+ // height: '50%',
3720
+ // position: 'absolute',
3721
+ // background: theme?.palette?.background?.primary
3722
+ // },
3591
3723
  sectionContainer: {
3592
- backgroundColor: theme?.palette?.background?.default,
3724
+ backgroundColor: theme?.colors?.background2,
3593
3725
  boxShadow: theme?.shadows?.secondary,
3594
3726
  borderRadius: theme?.shape?.borderRadius?.regular,
3595
3727
  padding: theme.spacing.padding.small,
@@ -3600,7 +3732,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3600
3732
  fontWeight: theme.typography.fontWeight.bold,
3601
3733
  lineHeight: '71px',
3602
3734
  letterSpacing: '-3px',
3603
- color: theme?.palette?.font?.default,
3735
+ color: theme?.colors?.font3,
3604
3736
  marginBottom: theme.spacing.padding.tiny,
3605
3737
  wordBreak: 'break-word'
3606
3738
  },
@@ -3612,7 +3744,7 @@ const useSectionStyles$4 = createUseStyles(theme => ({
3612
3744
  title: {
3613
3745
  fontSize: theme.typography.fontSize.h6,
3614
3746
  lineHeight: '32px',
3615
- color: theme?.palette?.font?.primary,
3747
+ color: theme?.colors?.font3,
3616
3748
  wordBreak: 'break-word',
3617
3749
  flex: 1
3618
3750
  },
@@ -3740,8 +3872,8 @@ const inputStyles = createUseStyles(theme => ({
3740
3872
  inputField: {
3741
3873
  width: '100%',
3742
3874
  // maxWidth: '314px',
3743
- background: theme?.palette?.background?.default,
3744
- border: `1px solid ${theme?.palette?.border?.secondary}`,
3875
+ // background: theme?.palette?.background?.default,
3876
+ border: `1px solid ${theme?.colors?.icon}`,
3745
3877
  borderRadius: theme?.shape?.borderRadius?.regular,
3746
3878
  padding: '14px 12px',
3747
3879
  display: 'flex',
@@ -3755,7 +3887,7 @@ const inputStyles = createUseStyles(theme => ({
3755
3887
  fontWeight: '400',
3756
3888
  fontSize: '16px',
3757
3889
  lineHeight: '20px',
3758
- color: theme?.palette?.font?.primary,
3890
+ color: theme?.colors?.black,
3759
3891
  fontFamily: theme?.typography?.fontFamily
3760
3892
  },
3761
3893
  '&:focus': {
@@ -3955,7 +4087,6 @@ var index$h = /*#__PURE__*/Object.freeze({
3955
4087
 
3956
4088
  const useTestimonialStyles = createUseStyles(theme => ({
3957
4089
  testimonialContainer: {
3958
- background: theme?.palette?.background?.primary,
3959
4090
  overflow: 'hidden',
3960
4091
  padding: `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
3961
4092
  '&, & *, & *:before, & *:after': {
@@ -3973,14 +4104,14 @@ const useTestimonialStyles = createUseStyles(theme => ({
3973
4104
  } = {}) => containerWidth
3974
4105
  },
3975
4106
  testimonialText: {
3976
- color: theme?.palette?.font?.default,
4107
+ color: theme?.colors?.lightblack,
3977
4108
  fontSize: theme.typography.fontSize.subHead,
3978
4109
  wordBreak: 'break-word',
3979
4110
  textTransform: 'uppercase'
3980
4111
  },
3981
4112
  testimonialHeader: {
3982
4113
  fontSize: theme.typography.fontSize.h2,
3983
- color: theme?.palette?.font?.default,
4114
+ color: theme?.colors?.lightblack,
3984
4115
  fontWeight: theme.typography.fontWeight.bold,
3985
4116
  marginBottom: theme.spacing.margin.tiny,
3986
4117
  marginTop: '8px',
@@ -3997,7 +4128,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
3997
4128
  position: 'relative',
3998
4129
  height: 'calc(100% - 12px)',
3999
4130
  width: 'calc(100% - 24px)',
4000
- background: theme?.palette?.background?.default,
4131
+ background: theme?.colors?.background1,
4001
4132
  boxShadow: theme?.shadows?.primary,
4002
4133
  borderRadius: theme?.shape?.borderRadius?.regular
4003
4134
  },
@@ -4024,7 +4155,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4024
4155
  marginBottom: theme.spacing.margin.tiny,
4025
4156
  fontSize: theme.typography.fontSize.body,
4026
4157
  wordBreak: 'break-word',
4027
- color: theme?.palette?.font?.primary,
4158
+ color: theme?.colors?.font1,
4028
4159
  lineHeight: '26px'
4029
4160
  },
4030
4161
  userContainer: {
@@ -4053,7 +4184,7 @@ const useTestimonialStyles = createUseStyles(theme => ({
4053
4184
  marginRight: '16px'
4054
4185
  },
4055
4186
  userName: {
4056
- color: theme?.palette?.font?.default,
4187
+ color: theme?.colors?.font1,
4057
4188
  margin: '0',
4058
4189
  fontSize: theme.typography.fontSize.h5,
4059
4190
  // paddingTop: '16px',
@@ -4072,19 +4203,6 @@ const useTestimonialStyles = createUseStyles(theme => ({
4072
4203
  testimonialContainer: {
4073
4204
  padding: `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px`
4074
4205
  },
4075
- // testimonialCardAndText: {
4076
- // margin: '0 20px'
4077
- // },
4078
-
4079
- // testimonialHeader: {
4080
- // fontSize: '24px',
4081
- // color: theme?.palette?.font?.default,
4082
- // margin: '4px 0 12px 0',
4083
- // overflow: 'hidden',
4084
- // // whiteSpace: 'nowrap',
4085
- // wordBreak: 'break-word',
4086
- // textOverflow: 'ellipsis'
4087
- // },
4088
4206
  testimonialText: {
4089
4207
  textAlign: 'center'
4090
4208
  },
@@ -4137,7 +4255,7 @@ function QuotesComponent() {
4137
4255
  width: "28px",
4138
4256
  height: "21px",
4139
4257
  name: "Quote",
4140
- color: theme?.palette?.primary?.main
4258
+ color: theme?.colors?.icon
4141
4259
  }));
4142
4260
  }
4143
4261
 
@@ -4448,6 +4566,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4448
4566
  fontFamily: theme?.typography?.fontFamily
4449
4567
  // boxSizing: 'border-box'
4450
4568
  },
4569
+
4451
4570
  '& h2,& h3,& p': {
4452
4571
  marginTop: '0'
4453
4572
  }
@@ -4472,6 +4591,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
4472
4591
  wordBreak: 'break-word'
4473
4592
  // marginBottom: '8px'
4474
4593
  },
4594
+
4475
4595
  videoTestimonialTitle: {
4476
4596
  fontSize: theme.typography.fontSize.h2,
4477
4597
  // lineHeight: '71px',
@@ -4665,7 +4785,7 @@ const useVideoStyles = createUseStyles(theme => {
4665
4785
  padding: ({
4666
4786
  isMobile
4667
4787
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
4668
- backgroundColor: theme?.palette?.background?.primary,
4788
+ backgroundColor: theme?.colors?.background2,
4669
4789
  '&, & *, & *:before, & *:after': {
4670
4790
  fontFamily: theme?.typography?.fontFamily,
4671
4791
  boxSizing: 'border-box'
@@ -4688,7 +4808,7 @@ const useVideoStyles = createUseStyles(theme => {
4688
4808
  fontSize: theme.typography.fontSize.subHead,
4689
4809
  textTransform: 'uppercase',
4690
4810
  lineHeight: '20px',
4691
- color: theme?.palette?.font?.default,
4811
+ color: theme?.colors?.font2,
4692
4812
  letterSpacing: '3px',
4693
4813
  wordBreak: 'break-word'
4694
4814
  },
@@ -4699,14 +4819,14 @@ const useVideoStyles = createUseStyles(theme => {
4699
4819
  letterSpacing: '-3px',
4700
4820
  marginBottom: theme.spacing.margin.tiny,
4701
4821
  marginTop: '8px',
4702
- color: theme?.palette?.font?.default,
4822
+ color: theme?.colors?.font2,
4703
4823
  wordBreak: 'break-word'
4704
4824
  },
4705
4825
  sliderContainer: {
4706
4826
  marginRight: `-${theme.spacing.padding.medium}px`
4707
4827
  },
4708
4828
  singleSlideContainer: {
4709
- backgroundColor: theme?.palette?.background?.default,
4829
+ backgroundColor: 'white',
4710
4830
  // margin: '20px',
4711
4831
  width: 'calc(100% - 24px)',
4712
4832
  height: 'calc(100% - 40px)',
@@ -4743,14 +4863,14 @@ const useVideoStyles = createUseStyles(theme => {
4743
4863
  fontWeight: theme.typography.fontWeight.bold,
4744
4864
  lineHeight: '32px',
4745
4865
  marginBottom: '8px',
4746
- color: theme?.palette?.font?.default,
4866
+ color: theme?.colors?.lightblack,
4747
4867
  wordBreak: 'break-word'
4748
4868
  },
4749
4869
  videoDetailsSubHeading: {
4750
4870
  fontSize: theme.typography.fontSize.body,
4751
4871
  lineHeight: '24px',
4752
4872
  wordBreak: 'break-word',
4753
- color: theme?.palette?.font?.primary
4873
+ color: theme?.colors?.gray
4754
4874
  },
4755
4875
  '@media (max-width: 767px)': {
4756
4876
  videoHeading: {
@@ -4897,11 +5017,10 @@ var index$e = /*#__PURE__*/Object.freeze({
4897
5017
 
4898
5018
  const useSectionStyles$3 = createUseStyles(theme => ({
4899
5019
  section: {
4900
- position: 'relative',
4901
5020
  padding: ({
4902
5021
  isMobile
4903
5022
  } = {}) => 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`,
4904
- backgroundColor: theme?.palette?.background?.default,
5023
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
4905
5024
  '&, & *, & *:before, & *:after': {
4906
5025
  fontFamily: theme?.typography?.fontFamily,
4907
5026
  boxSizing: 'border-box'
@@ -4913,27 +5032,20 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4913
5032
  // }
4914
5033
  // }
4915
5034
  },
5035
+
4916
5036
  sectionContainer: {
4917
5037
  margin: '0 auto',
4918
5038
  maxWidth: ({
4919
5039
  containerWidth
4920
5040
  } = {}) => containerWidth
4921
5041
  },
4922
- partialBackground: {
4923
- position: 'absolute',
4924
- top: '0',
4925
- left: '0',
4926
- height: '50%',
4927
- background: theme?.palette?.background?.primary,
4928
- width: '100%'
4929
- },
4930
5042
  content: {
4931
5043
  position: 'relative'
4932
5044
  },
4933
5045
  subTitleHeading: {
4934
5046
  width: '100%',
4935
5047
  fontSize: theme.typography.fontSize.subHead,
4936
- color: theme?.palette?.font?.default,
5048
+ color: theme?.colors?.font2,
4937
5049
  textTransform: 'uppercase',
4938
5050
  textAlign: 'left',
4939
5051
  lineHeight: '20px',
@@ -4945,7 +5057,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4945
5057
  fontSize: theme.typography.fontSize.h2,
4946
5058
  width: '100%',
4947
5059
  lineHeight: '70px',
4948
- color: theme?.palette?.font?.default,
5060
+ color: theme?.colors?.font2,
4949
5061
  textAlign: 'left',
4950
5062
  wordBreak: 'break-word'
4951
5063
  },
@@ -4955,7 +5067,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4955
5067
  // },
4956
5068
 
4957
5069
  card: {
4958
- background: theme?.palette?.background?.default,
5070
+ background: theme?.colors?.white,
4959
5071
  boxShadow: theme?.shadows?.primary,
4960
5072
  borderRadius: theme.shape.borderRadius.large,
4961
5073
  margin: ({
@@ -4976,7 +5088,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4976
5088
  textAlign: 'center',
4977
5089
  fontSize: theme.typography.fontSize.h6,
4978
5090
  fontWeight: theme.typography.fontWeight.bold,
4979
- color: theme?.palette?.font?.default,
5091
+ color: theme?.colors?.lightblack,
4980
5092
  margin: `16px 0px`,
4981
5093
  wordBreak: 'break-word'
4982
5094
  },
@@ -4988,7 +5100,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
4988
5100
  alignItems: 'center',
4989
5101
  justifyContent: 'center',
4990
5102
  borderRadius: '50%',
4991
- background: theme?.palette?.background?.primary
5103
+ background: theme?.colors?.background2
4992
5104
  },
4993
5105
  buttonContainerClass: {
4994
5106
  marginRight: theme.spacing.margin.regular,
@@ -5002,7 +5114,7 @@ const useSectionStyles$3 = createUseStyles(theme => ({
5002
5114
  textAlign: 'center',
5003
5115
  fontSize: theme.typography.fontSize.body,
5004
5116
  lineHeight: '22px',
5005
- color: theme?.palette?.font?.primary,
5117
+ color: theme?.colors?.gray,
5006
5118
  margin: '0',
5007
5119
  wordBreak: 'break-word'
5008
5120
  },
@@ -5088,7 +5200,7 @@ function Info({
5088
5200
  className: classes.imageContainer
5089
5201
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
5090
5202
  name: dt.icon.metadata.value,
5091
- color: theme.palette.primary.main,
5203
+ color: theme?.colors?.icon,
5092
5204
  width: isMobile ? '30px' : '40px',
5093
5205
  height: isMobile ? '30px' : '40px'
5094
5206
  })), /*#__PURE__*/React__default["default"].createElement("h3", {
@@ -5145,7 +5257,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5145
5257
  padding: ({
5146
5258
  isMobile
5147
5259
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5148
- backgroundColor: theme?.palette?.background?.default,
5260
+ backgroundColor: theme?.colors?.background2,
5149
5261
  '&, & *, & *:before, & *:after': {
5150
5262
  fontFamily: theme?.typography?.fontFamily,
5151
5263
  boxSizing: 'border-box'
@@ -5162,7 +5274,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5162
5274
  subHeading: {
5163
5275
  fontSize: theme.typography.fontSize.subHead,
5164
5276
  marginBottom: '8px',
5165
- color: theme?.palette?.font?.default,
5277
+ color: theme?.colors?.font3,
5166
5278
  wordBreak: 'break-word',
5167
5279
  textTransform: 'uppercase',
5168
5280
  letterSpacing: '3px'
@@ -5172,7 +5284,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5172
5284
  fontWeight: theme.typography.fontWeight.bold,
5173
5285
  lineHeight: 'normal',
5174
5286
  margin: '0',
5175
- color: theme?.palette?.font?.default,
5287
+ color: theme?.colors?.font3,
5176
5288
  wordBreak: 'break-word',
5177
5289
  marginBottom: theme.spacing.margin.tiny
5178
5290
  },
@@ -5183,7 +5295,7 @@ const useSectionStyles$2 = createUseStyles(theme => ({
5183
5295
  padding: '32px 0px'
5184
5296
  },
5185
5297
  textPara: {
5186
- color: theme?.palette?.font?.primary,
5298
+ color: theme?.colors?.font3,
5187
5299
  wordBreak: 'break-word',
5188
5300
  fontSize: theme.typography.fontSize.body,
5189
5301
  lineHeight: '24px'
@@ -5278,6 +5390,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5278
5390
  // }
5279
5391
  // }
5280
5392
  },
5393
+
5281
5394
  sectionContainer: {
5282
5395
  margin: '0 auto',
5283
5396
  maxWidth: ({
@@ -5308,6 +5421,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5308
5421
  position: 'relative',
5309
5422
  paddingBottom: '59.83%' // keeping aspect ratio 585x350
5310
5423
  },
5424
+
5311
5425
  contentRow: {
5312
5426
  display: 'grid',
5313
5427
  gridTemplateColumns: ({
@@ -5488,7 +5602,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5488
5602
  padding: ({
5489
5603
  isMobile
5490
5604
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5491
- backgroundColor: theme?.palette?.background?.primary,
5605
+ backgroundColor: theme?.colors?.background2,
5492
5606
  '&, & *, & *:before, & *:after': {
5493
5607
  fontFamily: theme?.typography?.fontFamily,
5494
5608
  boxSizing: 'border-box'
@@ -5503,7 +5617,7 @@ const useFaqListStyles = createUseStyles(theme => ({
5503
5617
  } = {}) => containerWidth
5504
5618
  },
5505
5619
  sectionSubheading: {
5506
- color: theme?.palette?.font.default,
5620
+ color: theme?.colors?.font3,
5507
5621
  fontSize: theme.typography.fontSize.subHead,
5508
5622
  marginBottom: '8px',
5509
5623
  wordBreak: 'break-word'
@@ -5512,15 +5626,16 @@ const useFaqListStyles = createUseStyles(theme => ({
5512
5626
  fontSize: theme.typography.fontSize.h2,
5513
5627
  fontWeight: theme.typography.fontWeight.bold,
5514
5628
  wordBreak: 'break-word',
5515
- marginBottom: `${theme.spacing.margin.tiny}px`
5629
+ marginBottom: `${theme.spacing.margin.tiny}px`,
5630
+ color: theme?.colors?.font3
5516
5631
  },
5517
5632
  container: {
5518
5633
  boxShadow: theme?.shadows?.secondary,
5519
5634
  borderRadius: '8px',
5520
- backgroundColor: theme?.palette?.background?.default
5635
+ backgroundColor: theme?.colors?.white
5521
5636
  },
5522
5637
  basicCardContainer: {
5523
- borderBottom: theme?.borders?.secondary,
5638
+ borderBottom: `1px solid #D8E0F0`,
5524
5639
  padding: `${theme.spacing.padding.tiny}px`
5525
5640
  },
5526
5641
  innerContainer: {
@@ -5539,14 +5654,14 @@ const useFaqListStyles = createUseStyles(theme => ({
5539
5654
  alignItems: 'center'
5540
5655
  },
5541
5656
  title: {
5542
- color: theme?.palette?.font.default,
5657
+ color: theme?.colors?.lightblack,
5543
5658
  fontSize: theme.typography.fontSize.h5,
5544
5659
  fontWeight: theme.typography.fontWeight.bold,
5545
5660
  margin: '0',
5546
5661
  wordBreak: 'break-word'
5547
5662
  },
5548
5663
  content: {
5549
- color: theme?.palette?.font.primary,
5664
+ color: theme?.colors?.lightblack,
5550
5665
  fontSize: theme.typography.fontSize.body,
5551
5666
  lineHeight: '24px',
5552
5667
  maxHeight: ({
@@ -5666,11 +5781,10 @@ var index$a = /*#__PURE__*/Object.freeze({
5666
5781
 
5667
5782
  const useTextGridStyles = createUseStyles(theme => ({
5668
5783
  section: {
5784
+ background: theme.colors.background1,
5669
5785
  padding: ({
5670
5786
  isMobile
5671
5787
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
5672
- // backgroundColor: theme?.palette?.background?.primary,
5673
-
5674
5788
  '&, & *, & *:before, & *:after': {
5675
5789
  fontFamily: theme?.typography?.fontFamily,
5676
5790
  boxSizing: 'border-box'
@@ -5678,12 +5792,6 @@ const useTextGridStyles = createUseStyles(theme => ({
5678
5792
  '& h2,& h3,& p': {
5679
5793
  marginTop: '0'
5680
5794
  }
5681
- // '& h2,& h3': {
5682
- // fontWeight: '500',
5683
- // '& b,& strong': {
5684
- // fontWeight: '700'
5685
- // }
5686
- // }
5687
5795
  },
5688
5796
  sectionContainer: {
5689
5797
  margin: '0 auto',
@@ -5692,7 +5800,7 @@ const useTextGridStyles = createUseStyles(theme => ({
5692
5800
  } = {}) => containerWidth
5693
5801
  },
5694
5802
  subheading: {
5695
- color: theme?.palette?.font.default,
5803
+ color: theme?.colors?.font1,
5696
5804
  fontSize: theme.typography.fontSize.subHead,
5697
5805
  lineHeight: '20px',
5698
5806
  letterSpacing: '3px',
@@ -5706,7 +5814,8 @@ const useTextGridStyles = createUseStyles(theme => ({
5706
5814
  fontWeight: theme.typography.fontWeight.bold,
5707
5815
  letterSpacing: '-3px',
5708
5816
  marginBottom: theme.spacing.margin.tiny,
5709
- wordBreak: 'break-word'
5817
+ wordBreak: 'break-word',
5818
+ color: theme?.colors?.font1
5710
5819
  },
5711
5820
  sliderContainer: {
5712
5821
  margin: '0 -10px'
@@ -5859,6 +5968,7 @@ const useCourseStyles = createUseStyles(theme => {
5859
5968
  // }
5860
5969
  // }
5861
5970
  },
5971
+
5862
5972
  sectionContainer: {
5863
5973
  margin: '0 auto',
5864
5974
  maxWidth: ({
@@ -5891,6 +6001,7 @@ const useCourseStyles = createUseStyles(theme => {
5891
6001
  // textAlign: 'center',
5892
6002
  // wordBreak: 'break-word'
5893
6003
  },
6004
+
5894
6005
  slickContainer: {
5895
6006
  marginRight: '-20px'
5896
6007
  },
@@ -5938,6 +6049,7 @@ const useCourseStyles = createUseStyles(theme => {
5938
6049
  justifyContent: 'space-between'
5939
6050
  //alignItems: 'center',
5940
6051
  },
6052
+
5941
6053
  courseCardTags: {
5942
6054
  display: 'flex',
5943
6055
  justifyContent: 'flex-start',
@@ -5968,11 +6080,12 @@ const useCourseStyles = createUseStyles(theme => {
5968
6080
  // whiteSpace: 'nowrap',
5969
6081
  // textOverflow: 'ellipsis'
5970
6082
  },
6083
+
5971
6084
  courseCardDiscount: {
5972
6085
  display: 'flex',
5973
6086
  justifyContent: 'flex-start',
5974
6087
  alignItems: 'center',
5975
- fontSize: theme.typography.fontSize.subHead,
6088
+ fontSize: theme.typography.fontSize.body,
5976
6089
  color: theme?.palette?.font?.primary,
5977
6090
  '& img': {
5978
6091
  marginRight: '5px'
@@ -6005,8 +6118,8 @@ const useCourseStyles = createUseStyles(theme => {
6005
6118
  },
6006
6119
  courseCardBuyBtn: {
6007
6120
  cursor: 'pointer',
6008
- background: theme?.palette?.primary?.main,
6009
- color: theme?.palette?.font?.invertedDefault,
6121
+ background: theme?.colors?.ctaColor,
6122
+ color: theme?.colors?.CtaTextColor,
6010
6123
  padding: '8px 16px',
6011
6124
  fontWeight: theme.typography.fontWeight.bold,
6012
6125
  cursor: 'pointer',
@@ -6074,6 +6187,7 @@ const useCourseStyles = createUseStyles(theme => {
6074
6187
  // whiteSpace: 'nowrap',
6075
6188
  // textOverflow: 'ellipsis'
6076
6189
  },
6190
+
6077
6191
  singleCard: {
6078
6192
  margin: '6px 2px'
6079
6193
  // width: 'calc(100% - 12px)'
@@ -6104,13 +6218,6 @@ async function getCourseList(baseURLs, hashToken) {
6104
6218
 
6105
6219
  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";
6106
6220
 
6107
- function getShortenedSubstring(name, length, allowDots = true) {
6108
- if (name) {
6109
- return name.length < length ? name : `${name.substr(0, length)}${allowDots && '...'}`;
6110
- }
6111
- return '';
6112
- }
6113
-
6114
6221
  const formatCurrency = (countryCode, value, currencySymbol) => {
6115
6222
  let formattedValue = Number(value);
6116
6223
  const getFormattedValue = (countryCode, currencySymbol, value) => {
@@ -6378,11 +6485,10 @@ var index$8 = /*#__PURE__*/Object.freeze({
6378
6485
  const useTeamStyles = createUseStyles(theme => {
6379
6486
  return {
6380
6487
  teamSuperContainer: {
6488
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6381
6489
  padding: ({
6382
6490
  isMobile
6383
6491
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px ${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
6384
- // backgroundColor: theme?.palette?.background?.primary,
6385
-
6386
6492
  '&, & *, & *:before, & *:after': {
6387
6493
  fontFamily: theme?.typography?.fontFamily,
6388
6494
  boxSizing: 'border-box'
@@ -6403,25 +6509,17 @@ const useTeamStyles = createUseStyles(theme => {
6403
6509
  lineHeight: '20px',
6404
6510
  letterSpacing: '3px',
6405
6511
  marginBottom: '8px',
6406
- color: theme?.palette?.font?.default,
6512
+ color: theme?.colors?.font2,
6407
6513
  // wordBreak: 'break-word',
6408
6514
  position: 'relative'
6409
6515
  },
6410
- partialBackground: {
6411
- position: 'absolute',
6412
- top: '0',
6413
- left: '0',
6414
- height: '50%',
6415
- background: theme?.palette?.background?.primary,
6416
- width: '100%'
6417
- },
6418
6516
  teamTitle: {
6419
6517
  fontSize: theme.typography.fontSize.h2,
6420
6518
  fontWeight: theme.typography.fontWeight.bold,
6421
6519
  lineHeight: '70px',
6422
6520
  letterSpacing: '-3px',
6423
6521
  wordBreak: 'break-word',
6424
- color: theme?.palette?.font?.default,
6522
+ color: theme?.colors?.font2,
6425
6523
  position: 'relative'
6426
6524
  },
6427
6525
  sliderContainer: {
@@ -6465,6 +6563,7 @@ const useTeamStyles = createUseStyles(theme => {
6465
6563
  margin: '20px 0 0'
6466
6564
  // overflowWrap: 'break-word'
6467
6565
  },
6566
+
6468
6567
  teamDetailsHeading: {
6469
6568
  fontSize: theme.typography.fontSize.h6,
6470
6569
  fontWeight: theme.typography.fontWeight.bold,
@@ -6508,15 +6607,14 @@ const useTeamStyles = createUseStyles(theme => {
6508
6607
  // margin: '15px 0 0',
6509
6608
  // paddingBottom: '0'
6510
6609
  },
6610
+
6511
6611
  teamDetailsHeading: {
6512
6612
  fontSize: '16px',
6513
6613
  lineHeight: '24px',
6514
- margin: '0',
6515
- color: theme?.palette?.font?.body
6614
+ margin: '0'
6516
6615
  },
6517
6616
  teamDetailsSubHeading: {
6518
- marginTop: '0px',
6519
- color: theme?.palette?.font?.primary
6617
+ marginTop: '0px'
6520
6618
  }
6521
6619
  }
6522
6620
  };
@@ -6627,7 +6725,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6627
6725
  justifyContent: 'center',
6628
6726
  flexDirection: 'column',
6629
6727
  alignItems: 'center',
6630
- backgroundColor: theme?.palette?.background?.default,
6728
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
6631
6729
  padding: ({
6632
6730
  isMobile
6633
6731
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
@@ -6642,22 +6740,23 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6642
6740
  // }
6643
6741
  // }
6644
6742
  },
6743
+
6645
6744
  formContainer: {
6646
6745
  margin: '0 auto',
6647
6746
  maxWidth: ({
6648
6747
  containerWidth
6649
6748
  } = {}) => containerWidth
6650
6749
  },
6651
- partialBackground: {
6652
- top: '0',
6653
- left: '0',
6654
- width: '100%',
6655
- height: '50%',
6656
- position: 'absolute',
6657
- background: theme?.palette?.background?.primary
6658
- },
6750
+ // partialBackground: {
6751
+ // top: '0',
6752
+ // left: '0',
6753
+ // width: '100%',
6754
+ // height: '50%',
6755
+ // position: 'absolute',
6756
+ // background: theme?.colors?.white
6757
+ // },
6659
6758
  sectionContainer: {
6660
- backgroundColor: theme?.palette?.background?.default,
6759
+ backgroundColor: theme?.colors?.white,
6661
6760
  boxShadow: theme?.shadows?.secondary,
6662
6761
  borderRadius: theme?.shape?.borderRadius?.regular,
6663
6762
  padding: '48px',
@@ -6666,7 +6765,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6666
6765
  title: {
6667
6766
  margin: '0',
6668
6767
  fontSize: theme.typography.fontSize.h2,
6669
- color: theme?.palette?.font?.default,
6768
+ color: theme?.colors?.lightblack,
6670
6769
  fontWeight: theme.typography.fontWeight.bold,
6671
6770
  lineHeight: '71px',
6672
6771
  letterSpacing: '-3px',
@@ -6678,16 +6777,18 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6678
6777
  display: 'flex'
6679
6778
  // alignItems: 'flex-start',
6680
6779
  },
6780
+
6681
6781
  leftContainerForm: {
6682
6782
  width: '65%',
6683
6783
  display: 'flex',
6684
6784
  flexDirection: 'column'
6685
6785
  // justifyContent: 'space-between'
6686
6786
  },
6787
+
6687
6788
  subtitle: {
6688
6789
  // margin: '0 0 40px 0',
6689
6790
  fontSize: theme.typography.fontSize.h5,
6690
- color: theme?.palette?.font?.default,
6791
+ color: theme?.colors?.lightblack,
6691
6792
  lineHeight: '32px',
6692
6793
  wordBreak: 'break-word',
6693
6794
  marginBottom: '32px'
@@ -6710,7 +6811,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6710
6811
  },
6711
6812
  addressText: {
6712
6813
  fontSize: theme.typography.fontSize.h6,
6713
- color: theme?.palette?.font?.default,
6814
+ color: theme?.colors?.lightblack,
6714
6815
  lineHeight: '24px',
6715
6816
  fontSize: '16px'
6716
6817
  },
@@ -6751,6 +6852,7 @@ const useSectionStyles$1 = createUseStyles(theme => ({
6751
6852
  width: '100%'
6752
6853
  // padding: '0 16ox'
6753
6854
  },
6855
+
6754
6856
  rightContainer: {
6755
6857
  width: '100%',
6756
6858
  padding: '0'
@@ -7046,7 +7148,7 @@ const useSectionStyles = createUseStyles(theme => ({
7046
7148
  padding: ({
7047
7149
  isMobile
7048
7150
  } = {}) => isMobile ? `${theme.spacing.padding.regular}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.small}px ${theme.spacing.padding.medium}px`,
7049
- backgroundColor: theme?.palette?.background?.default,
7151
+ background: `linear-gradient(180deg, ${theme?.colors?.background2} 50%, #FFFFFF 50%)`,
7050
7152
  '&, & *, & *:before, & *:after': {
7051
7153
  fontFamily: theme?.typography?.fontFamily,
7052
7154
  boxSizing: 'border-box'
@@ -7058,6 +7160,7 @@ const useSectionStyles = createUseStyles(theme => ({
7058
7160
  // }
7059
7161
  // }
7060
7162
  },
7163
+
7061
7164
  contactContainer: {
7062
7165
  width: '100%',
7063
7166
  margin: '0 auto',
@@ -7065,16 +7168,8 @@ const useSectionStyles = createUseStyles(theme => ({
7065
7168
  containerWidth
7066
7169
  } = {}) => containerWidth
7067
7170
  },
7068
- partialBackground: {
7069
- top: '0',
7070
- left: '0',
7071
- width: '100%',
7072
- height: '50%',
7073
- position: 'absolute',
7074
- background: theme?.palette?.background?.primary
7075
- },
7076
7171
  sectionContainer: {
7077
- backgroundColor: theme?.palette?.background?.default,
7172
+ backgroundColor: theme?.colors?.white,
7078
7173
  boxShadow: theme?.shadows?.secondary,
7079
7174
  borderRadius: theme?.shape?.borderRadius?.regular,
7080
7175
  padding: '48px',
@@ -7083,7 +7178,7 @@ const useSectionStyles = createUseStyles(theme => ({
7083
7178
  title: {
7084
7179
  margin: '0',
7085
7180
  fontSize: theme.typography.fontSize.h2,
7086
- color: theme?.palette?.font?.default,
7181
+ color: theme?.colors?.lightblack?.default,
7087
7182
  lineHeight: '71px',
7088
7183
  letterSpacing: '-3px',
7089
7184
  textAlign: 'left',
@@ -7104,10 +7199,11 @@ const useSectionStyles = createUseStyles(theme => ({
7104
7199
  // justifyContent: 'space-between',
7105
7200
  // flex: 1
7106
7201
  },
7202
+
7107
7203
  subtitle: {
7108
7204
  // margin: '0 0 auto 0',
7109
7205
  fontSize: theme.typography.fontSize.h6,
7110
- color: theme?.palette?.font?.default,
7206
+ color: theme?.colors?.lightblack,
7111
7207
  // lineHeight: '32px',
7112
7208
  // margin: '16px 0',
7113
7209
  textAlign: 'center',
@@ -7138,8 +7234,8 @@ const useSectionStyles = createUseStyles(theme => ({
7138
7234
  inputField: {
7139
7235
  width: '100%',
7140
7236
  // maxWidth: '314px',
7141
- background: theme?.palette?.background?.default,
7142
- border: `1px solid ${theme?.palette?.border?.secondary}`,
7237
+ // background: theme?.palette?.background?.default,
7238
+ border: `1px solid ${theme?.colors?.cta}`,
7143
7239
  borderRadius: theme?.shape?.borderRadius?.regular,
7144
7240
  // padding: '14px 12px',
7145
7241
  display: 'flex',
@@ -7152,7 +7248,7 @@ const useSectionStyles = createUseStyles(theme => ({
7152
7248
  fontWeight: '400',
7153
7249
  fontSize: theme.typography.fontSize.subHead,
7154
7250
  lineHeight: '20px',
7155
- color: theme?.palette?.font?.primary,
7251
+ color: theme?.colors?.lightblack,
7156
7252
  fontFamily: theme?.typography?.fontFamily
7157
7253
  },
7158
7254
  '&:focus': {
@@ -7465,6 +7561,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7465
7561
  webinarSuperContainer: {
7466
7562
  display: 'flex',
7467
7563
  justifyContent: 'center',
7564
+ background: theme.colors.background1,
7468
7565
  padding: ({
7469
7566
  isMobile
7470
7567
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
@@ -7487,30 +7584,6 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7487
7584
  maxWidth: '1440px',
7488
7585
  fontFamily: theme?.typography?.fontFamily
7489
7586
  },
7490
- // videoTestimonialHeading: {
7491
- // fontSize: theme.typography.fontSize.subHead,
7492
- // lineHeight: '20px',
7493
- // letterSpacing: '3px',
7494
- // textTransform: 'uppercase',
7495
- // color: theme.palette.font.tertiary,
7496
- // wordBreak: 'break-word',
7497
- // fontWeight: theme.typography.fontWeight.bold,
7498
- // },
7499
-
7500
- // videoTestimonialTitle: {
7501
- // fontSize: theme.typography.fontSize.h2,
7502
- // lineHeight: '71px',
7503
- // fontWeight: theme.typography.fontWeight.bold,
7504
- // letterSpacing: '-3px',
7505
- // margin: '0',
7506
- // color: theme.palette.font.default,
7507
- // wordBreak: 'break-word'
7508
- // },
7509
-
7510
- // videoCarouselContainer: {
7511
- // marginTop: '16px'
7512
- // },
7513
-
7514
7587
  webinarCarousel: {
7515
7588
  display: 'flex',
7516
7589
  justifyContent: 'flex-start',
@@ -7531,7 +7604,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7531
7604
  iframeContainer: {
7532
7605
  width: '100%',
7533
7606
  position: 'relative',
7534
- paddingBottom: '56.25%',
7607
+ aspectRatio: '4/3',
7535
7608
  // top: "6%",
7536
7609
  // left: '5%'
7537
7610
  borderRadius: '8px',
@@ -7539,8 +7612,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7539
7612
  },
7540
7613
  offerText: {
7541
7614
  textAlign: 'center',
7542
- color: theme.palette.font.primary,
7543
- marginBottom: '5%'
7615
+ color: theme?.colors?.lightblack,
7616
+ marginBottom: '5% !important',
7617
+ fontWeight: '700'
7544
7618
  },
7545
7619
  offerPrice: {
7546
7620
  fontSize: theme.typography.fontSize.h5,
@@ -7565,6 +7639,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7565
7639
  marginTop: '5%'
7566
7640
  // padding: '0px 5% 0px 5%'
7567
7641
  },
7642
+
7568
7643
  iframe: {
7569
7644
  position: 'absolute',
7570
7645
  width: '100%',
@@ -7585,7 +7660,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7585
7660
  margin: '0',
7586
7661
  letterSpacing: '-1px',
7587
7662
  wordBreak: wordBreakValue => wordBreakValue || 'break-word',
7588
- color: theme.palette.font.default
7663
+ color: theme?.colors?.font1
7589
7664
  },
7590
7665
  courseViewContainer: {
7591
7666
  width: '645px',
@@ -7599,8 +7674,9 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7599
7674
  },
7600
7675
  bannerContainer: {
7601
7676
  width: '100%',
7602
- background: '#EB5757',
7603
- color: '#fff',
7677
+ background: theme?.colors?.bannerColor,
7678
+ color: theme?.colors?.bannerCtaColor,
7679
+ fontWeight: '600',
7604
7680
  textAlign: 'center',
7605
7681
  padding: '10px 10px 23px 40px',
7606
7682
  wordWrap: 'break-word',
@@ -7619,24 +7695,26 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7619
7695
  display: 'flex',
7620
7696
  alignItems: 'center',
7621
7697
  marginRight: '20px',
7698
+ color: theme?.colors?.font1,
7622
7699
  '& div': {
7623
- fontSize: theme.typography.fontSize.subHead,
7700
+ fontSize: theme.typography.fontSize.body,
7624
7701
  marginLeft: '10px'
7625
7702
  }
7626
7703
  },
7627
7704
  courseDetailContent: {
7628
- fontSize: theme.typography.fontSize.subHead,
7705
+ fontSize: theme.typography.fontSize.body,
7706
+ lineHeight: '21px',
7629
7707
  wordBreak: 'break-word',
7630
- color: theme.palette.font.primary,
7708
+ color: theme?.colors?.font1,
7631
7709
  whiteSpace: 'pre-wrap',
7632
7710
  width: '80%'
7633
7711
  },
7634
7712
  courseDetailViewFullDetails: {
7635
7713
  cursor: 'pointer',
7636
- fontSize: theme.typography.fontSize.subHead,
7714
+ fontSize: theme.typography.fontSize.body,
7637
7715
  lineHeight: '24px',
7716
+ color: theme?.colors?.font1,
7638
7717
  marginTop: '-20px',
7639
- color: '#00ADE7',
7640
7718
  wordBreak: 'break-word'
7641
7719
  },
7642
7720
  courseDetailTime: {
@@ -7651,7 +7729,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7651
7729
  display: 'flex',
7652
7730
  width: '36px',
7653
7731
  height: '36px',
7654
- backgroundColor: 'rgb(240, 244, 248)',
7732
+ backgroundColor: theme?.colors?.icon,
7655
7733
  justifyContent: 'center',
7656
7734
  alignItems: 'center',
7657
7735
  borderRadius: '6px'
@@ -7843,14 +7921,15 @@ const SingleVideoSlide$1 = props => {
7843
7921
  className: classes.iconBackground
7844
7922
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
7845
7923
  name: 'Calendar',
7846
- color: theme.palette.primary.main
7924
+ width: "24px",
7925
+ color: theme?.colors?.background2
7847
7926
  })), /*#__PURE__*/React__default["default"].createElement("div", null, moment__default["default"](data.startDate).locale(momentLocale).format('Do MMM YY') + ' ', moment__default["default"](data.startTime).locale(momentLocale).format('h:mm A'), /*#__PURE__*/React__default["default"].createElement("span", null, " - "), moment__default["default"](data.endTime).locale(momentLocale).format('h:mm A'))), /*#__PURE__*/React__default["default"].createElement("div", {
7848
7927
  className: classes.courseDetailTag
7849
7928
  }, /*#__PURE__*/React__default["default"].createElement("span", {
7850
7929
  className: classes.iconBackground
7851
7930
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
7852
- color: theme.palette.primary.main,
7853
- width: "20px",
7931
+ color: theme?.colors?.background2,
7932
+ width: "24px",
7854
7933
  name: `${data.webinarLocation === 'Location' ? 'Location' : 'Video'}`
7855
7934
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data.webinarLocation === 'Location' ? data.webinarLink : data.webinarLocation))), /*#__PURE__*/React__default["default"].createElement("p", {
7856
7935
  ref: data?.videoTextContent?.refSetter,
@@ -7908,6 +7987,7 @@ const SingleVideoSlide$1 = props => {
7908
7987
  value: data.isPaid ? buyNowText : registerNowText
7909
7988
  // isExternal: 1
7910
7989
  },
7990
+
7911
7991
  onClick: webinarCtaClick,
7912
7992
  type: 'primary',
7913
7993
  size: 'medium',
@@ -7956,13 +8036,15 @@ var index$4 = /*#__PURE__*/Object.freeze({
7956
8036
  });
7957
8037
 
7958
8038
  const useCoursePromotionPage = createUseStyles(theme => {
8039
+ console.log(theme, 'themere');
7959
8040
  return {
7960
8041
  courseSuperContainer: {
7961
8042
  display: 'flex',
7962
8043
  justifyContent: 'center',
8044
+ background: theme?.colors?.background1,
7963
8045
  padding: ({
7964
8046
  isMobile
7965
- } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8047
+ } = {}) => isMobile ? `${theme.spacing.padding.small}px ${theme.spacing.padding.small}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
7966
8048
  '&, & *, & *:before, & *:after': {
7967
8049
  fontFamily: theme?.typography?.fontFamily,
7968
8050
  boxSizing: 'border-box'
@@ -7974,6 +8056,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
7974
8056
  // }
7975
8057
  // }
7976
8058
  },
8059
+
7977
8060
  sectionContainer: {
7978
8061
  margin: '0 auto',
7979
8062
  maxWidth: ({
@@ -8025,13 +8108,14 @@ const useCoursePromotionPage = createUseStyles(theme => {
8025
8108
  iframeContainer: {
8026
8109
  width: '100%',
8027
8110
  position: 'relative',
8028
- paddingBottom: '56.25%'
8029
- // top: "6%",
8030
- // left: '5%'
8111
+ aspectRatio: '4/3',
8112
+ borderRadius: '8px',
8113
+ overflow: 'hidden'
8031
8114
  },
8032
8115
  offerText: {
8033
8116
  textAlign: 'center',
8034
- color: theme.palette.font.primary
8117
+ color: theme.palette.font.primary,
8118
+ fontWeight: '700'
8035
8119
  },
8036
8120
  offerPrice: {
8037
8121
  fontSize: theme.typography.fontSize.h4,
@@ -8078,7 +8162,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8078
8162
  margin: '0',
8079
8163
  letterSpacing: '-1px',
8080
8164
  wordBreak: 'break-word',
8081
- color: theme.palette.font.default
8165
+ color: theme?.colors?.font1
8082
8166
  },
8083
8167
  courseViewContainer: {
8084
8168
  width: '445px',
@@ -8090,19 +8174,22 @@ const useCoursePromotionPage = createUseStyles(theme => {
8090
8174
  // paddingBottom: '10px',
8091
8175
  // paddingTop: '10px'
8092
8176
  },
8177
+
8093
8178
  bannerContainer: {
8094
8179
  width: '100%',
8095
- background: '#EB5757',
8096
- color: '#fff',
8180
+ background: theme?.colors?.bannerColor,
8181
+ color: theme?.colors?.bannerCtaColor,
8182
+ fontWeight: '600',
8097
8183
  textAlign: 'center',
8098
8184
  padding: '10px 10px 23px 40px',
8099
8185
  wordWrap: 'break-word',
8100
8186
  position: 'relative',
8101
- fontSize: theme.typography.fontSize.subHead,
8187
+ fontSize: '14px',
8102
8188
  transform: 'rotate(180deg)',
8103
8189
  clipPath: 'polygon(0 0, 100% 0, 100% calc(100% - 10px), 0 calc(100% - 10px), 15px calc(50% - 10px/2))'
8104
8190
  // marginBottom: '16px'
8105
8191
  },
8192
+
8106
8193
  bannerContainerText: {
8107
8194
  transform: 'rotate(180deg)'
8108
8195
  },
@@ -8113,8 +8200,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8113
8200
  },
8114
8201
  courseEmblem: {
8115
8202
  background: '#F0F4F8',
8116
- fontSize: theme.typography.fontSize.subHead,
8117
- borderRadius: '2.00337px',
8203
+ fontSize: theme.typography.fontSize.body,
8204
+ borderRadius: '4px',
8118
8205
  padding: '8px',
8119
8206
  display: 'flex',
8120
8207
  alignItems: 'center',
@@ -8130,27 +8217,29 @@ const useCoursePromotionPage = createUseStyles(theme => {
8130
8217
  display: 'flex',
8131
8218
  alignItems: 'center',
8132
8219
  marginRight: '20px',
8220
+ color: theme?.colors?.font1,
8133
8221
  '& div': {
8134
- fontSize: theme.typography.fontSize.subHead,
8135
- fontWeight: theme.typography.fontWeight.semiBold,
8222
+ fontSize: theme.typography.fontSize.body,
8223
+ fontWeight: theme.typography.fontWeight.medium,
8136
8224
  marginLeft: '10px'
8137
8225
  }
8138
8226
  },
8139
8227
  courseDetailContent: {
8140
- // marginTop: '16px',
8141
- fontSize: theme.typography.fontSize.subHead,
8142
- lineHeight: '24px',
8228
+ marginTop: '20px',
8229
+ fontSize: theme.typography.fontSize.body,
8230
+ lineHeight: '21px',
8143
8231
  wordBreak: 'break-word',
8144
- color: theme.palette.font.primary,
8232
+ color: theme?.colors?.font1,
8145
8233
  whiteSpace: 'pre-wrap',
8146
8234
  margin: '10px 0 20px'
8147
8235
  },
8148
8236
  courseDetailViewFullDetails: {
8149
8237
  cursor: 'pointer',
8150
- fontSize: theme.typography.fontSize.subHead,
8151
- lineHeight: '24px',
8152
- marginTop: '-24px',
8153
- color: '#00ADE7',
8238
+ fontSize: theme.typography.fontSize.body,
8239
+ textDecoration: 'underline',
8240
+ lineHeight: '21px',
8241
+ marginTop: '20px',
8242
+ color: theme.colors?.font1,
8154
8243
  wordBreak: 'break-word'
8155
8244
  },
8156
8245
  courseDetailTime: {
@@ -8161,7 +8250,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8161
8250
  display: 'flex',
8162
8251
  width: '36px',
8163
8252
  height: '36px',
8164
- backgroundColor: 'rgb(240, 244, 248)',
8253
+ backgroundColor: theme?.colors?.icon,
8165
8254
  justifyContent: 'center',
8166
8255
  alignItems: 'center',
8167
8256
  borderRadius: '6px'
@@ -8213,6 +8302,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8213
8302
  height: 'max-content'
8214
8303
  // paddingRight: '10px'
8215
8304
  },
8305
+
8216
8306
  videoDetails: {
8217
8307
  width: '100%'
8218
8308
  },
@@ -8220,7 +8310,8 @@ const useCoursePromotionPage = createUseStyles(theme => {
8220
8310
  // fontSize: '20px',
8221
8311
  fontWeight: '600',
8222
8312
  lineHeight: 'normal',
8223
- letterSpacing: '0px'
8313
+ letterSpacing: '0px',
8314
+ color: theme?.colors?.font1
8224
8315
  },
8225
8316
  videoTestimonialTitle: {
8226
8317
  // fontSize: '24px',
@@ -8389,28 +8480,32 @@ const SingleVideoSlide = props => {
8389
8480
  className: classes.iconBackground
8390
8481
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8391
8482
  name: 'Clock',
8392
- color: theme.palette.primary.main
8483
+ width: "24px",
8484
+ color: theme?.colors?.background2
8393
8485
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.courseDuration?.text)) : null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? /*#__PURE__*/React__default["default"].createElement("div", {
8394
8486
  className: classes.courseDetailTag
8395
8487
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8396
8488
  className: classes.iconBackground
8397
8489
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8398
8490
  name: 'Book Saved',
8399
- color: theme.palette.primary.main
8491
+ color: theme?.colors?.background2,
8492
+ width: "24px"
8400
8493
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isPhysicalDeliveryEnabled ? 'Physical Books' : null)) : null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? /*#__PURE__*/React__default["default"].createElement("div", {
8401
8494
  className: classes.courseDetailTag
8402
8495
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8403
8496
  className: classes.iconBackground
8404
8497
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8405
8498
  name: 'Certificate',
8406
- color: theme.palette.primary.main
8407
- })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React__default["default"].createElement("div", {
8499
+ color: theme?.colors?.background2,
8500
+ width: "20px"
8501
+ })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText?.heading ? /*#__PURE__*/React__default["default"].createElement("div", {
8408
8502
  className: classes.courseDetailTag
8409
8503
  }, /*#__PURE__*/React__default["default"].createElement("span", {
8410
8504
  className: classes.iconBackground
8411
8505
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8412
8506
  name: 'Certificate',
8413
- color: theme.palette.primary.main
8507
+ color: theme?.colors?.background2,
8508
+ width: "20px"
8414
8509
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React__default["default"].createElement("p", {
8415
8510
  ref: data?.videoTextContent?.refSetter,
8416
8511
  className: classes.courseDetailContent,
@@ -8466,6 +8561,7 @@ const SingleVideoSlide = props => {
8466
8561
  value: buyNowText
8467
8562
  // isExternal: 1
8468
8563
  },
8564
+
8469
8565
  onClick: courseBuyNow,
8470
8566
  type: 'primary',
8471
8567
  size: 'medium',
@@ -8536,7 +8632,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8536
8632
  padding: ({
8537
8633
  isMobile
8538
8634
  } = {}) => isMobile ? `${theme.spacing.padding.medium}px ${theme.spacing.padding.regular}px` : `${theme.spacing.padding.regular}px ${theme.spacing.padding.medium}px`,
8539
- background: '#F4F9FF',
8635
+ background: theme?.colors?.background3,
8540
8636
  '&, & *, & *:before, & *:after': {
8541
8637
  fontFamily: theme?.typography?.fontFamily,
8542
8638
  boxSizing: 'border-box'
@@ -8553,7 +8649,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8553
8649
  marginTop: '8px',
8554
8650
  fontSize: theme.typography.fontSize.h6,
8555
8651
  lineHeight: '23px',
8556
- color: 'rgba(51, 51, 51, 0.5)',
8652
+ color: theme?.colors?.gray,
8557
8653
  marginBottom: theme.spacing.margin.tiny
8558
8654
  },
8559
8655
  formPageFormContainer: {
@@ -8570,9 +8666,10 @@ const useFormPageStyles = createUseStyles(theme => ({
8570
8666
  // border: '1px solid #D8E0F0',
8571
8667
  // borderRadius: '16px'
8572
8668
  },
8669
+
8573
8670
  inputFieldLabel: {
8574
- color: '#333',
8575
- fontSize: theme.typography.fontSize.subHead,
8671
+ color: theme?.colors?.lightblack,
8672
+ fontSize: theme.typography.fontSize.body,
8576
8673
  fontWeight: theme.typography.fontWeight.semiBold,
8577
8674
  display: 'block',
8578
8675
  marginTop: '20px',
@@ -8583,8 +8680,8 @@ const useFormPageStyles = createUseStyles(theme => ({
8583
8680
  borderRadius: '8px',
8584
8681
  border: '1px solid #D8E0F0',
8585
8682
  padding: '12px 16px',
8586
- color: '#7D8592',
8587
- fontSize: theme.typography.fontSize.subHead
8683
+ color: theme?.colors?.lightblack,
8684
+ fontSize: theme.typography.fontSize.body
8588
8685
  },
8589
8686
  checkboxField: {
8590
8687
  // padding: '20px',
@@ -8592,21 +8689,21 @@ const useFormPageStyles = createUseStyles(theme => ({
8592
8689
  // borderRadius: '8px'
8593
8690
  },
8594
8691
  checkBoxFieldLabel: {
8595
- color: '#333',
8596
- fontSize: theme.typography.fontSize.subHead,
8692
+ color: theme?.colors?.lightblack,
8693
+ fontSize: theme.typography.fontSize.body,
8597
8694
  fontWeight: theme.typography.fontWeight.semiBold,
8598
8695
  marginTop: '20px',
8599
8696
  marginBottom: '12px'
8600
8697
  },
8601
8698
  inputFieldRequired: {
8602
- color: '#F41828'
8699
+ color: theme?.colors?.lightblack
8603
8700
  },
8604
8701
  checkboxFieldControl: {
8605
8702
  padding: '8px 0',
8606
8703
  '& label': {
8607
- fontSize: theme.typography.fontSize.subHead,
8704
+ fontSize: theme.typography.fontSize.body,
8608
8705
  marginLeft: '10px',
8609
- color: '#7D8592'
8706
+ color: theme?.colors?.lightblack
8610
8707
  }
8611
8708
  },
8612
8709
  submitBtnContainer: {
@@ -8619,8 +8716,7 @@ const useFormPageStyles = createUseStyles(theme => ({
8619
8716
  '& button': {
8620
8717
  // height: '44px',
8621
8718
  padding: '16px 24px',
8622
- color: '#FFFFFF',
8623
- fontSize: theme.typography.fontSize.subHead,
8719
+ fontSize: theme.typography.fontSize.body,
8624
8720
  cursor: 'pointer',
8625
8721
  borderRadius: '8px'
8626
8722
  }
@@ -8883,6 +8979,7 @@ const FormPage = ({
8883
8979
  value: countryCode === 'KR' ? '제출하기' : 'SUBMIT'
8884
8980
  // isExternal: 1
8885
8981
  },
8982
+
8886
8983
  type: 'primary',
8887
8984
  size: 'medium',
8888
8985
  target: null,
@@ -9065,6 +9162,7 @@ const useEmailStyles = createUseStyles(theme => ({
9065
9162
  height: '48px'
9066
9163
  /* margin: 18px 0px; */
9067
9164
  },
9165
+
9068
9166
  'p-young-guru-title': {
9069
9167
  fontFamily: theme?.typography?.fontFamily,
9070
9168
  fontStyle: 'normal',
@@ -9092,6 +9190,7 @@ const useEmailStyles = createUseStyles(theme => ({
9092
9190
  textAlign: 'center'
9093
9191
  /* padding:35px 0 40px */
9094
9192
  },
9193
+
9095
9194
  'two-columns .column': {
9096
9195
  width: '100%',
9097
9196
  maxWidth: '275px',
@@ -9625,7 +9724,7 @@ function PageRenderer({
9625
9724
  countryCode,
9626
9725
  currencySymbol
9627
9726
  }), [isMobile, isLandingPages, layout, baseURLs, hashToken, isPreview, isEdit, templateId, navList, isMasterTemplate, basePath, validations, isTutorWebsite, extraProps, hideLogin, _id, countryCode, currencySymbol]);
9628
- const theme = React.useMemo(() => getTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9727
+ const theme = React.useMemo(() => generateTheme(color, font, context.isMobile), [color, font, context.isMobile]);
9629
9728
  const Wrapper = SectionWrapper || React.Fragment;
9630
9729
  return /*#__PURE__*/React__default["default"].createElement(ThemeProvider, {
9631
9730
  theme: theme