diy-template-components 2.0.7 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js CHANGED
@@ -1071,7 +1071,9 @@ function OptionList({
1071
1071
  };
1072
1072
  const tabData = tabsDataModifier();
1073
1073
  const classes = useSectionStyles$a();
1074
- console.log(headerData, 'sakshat header options');
1074
+
1075
+ // console.log(headerData, 'sakshat header options');
1076
+
1075
1077
  const isAndroidDelisted = headerData?.isAndroidDelisted;
1076
1078
  const apkURL = headerData?.apkURL;
1077
1079
  const downloadApkURL = isAndroidDelisted && apkURL ? apkURL : null;
@@ -1118,7 +1120,9 @@ function OptionList({
1118
1120
  })) : null);
1119
1121
  };
1120
1122
  const iosLink = isTutorWebsite ? headerData?.iosDownloadLink : headerData?.iosUrl;
1121
- console.log(iosLink, 'sakshat ios link');
1123
+
1124
+ // console.log(iosLink, 'sakshat ios link');
1125
+
1122
1126
  return /*#__PURE__*/React.createElement("div", {
1123
1127
  className: classes.listSection
1124
1128
  }, /*#__PURE__*/React.createElement("div", {
@@ -1142,7 +1146,7 @@ function OptionList({
1142
1146
  list: moreContent,
1143
1147
  label: 'More',
1144
1148
  icon: arrowDown
1145
- }) : null, isTutorWebsite && /*#__PURE__*/React.createElement(React.Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React.createElement(React.Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React.createElement(React.Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 || headerData?.androidDownloadLink?.length || headerData?.iosDownloadLink?.length > 0 ? /*#__PURE__*/React.createElement(Button, {
1149
+ }) : null, isTutorWebsite && /*#__PURE__*/React.createElement(React.Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React.createElement(React.Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React.createElement(React.Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 || headerData?.androidDownloadLink?.length || headerData?.iosDownloadLink?.length > 0 || headerData?.iosUrl?.length > 0 ? /*#__PURE__*/React.createElement(Button, {
1146
1150
  data: {
1147
1151
  link: isAndroidDelisted ? getAppDownloadLink(downloadApkURL, iosLink) : getAppDownloadLink(headerData?.androidDownloadLink, iosLink),
1148
1152
  isLink: 1,
@@ -1302,7 +1306,9 @@ function DesktopHeader({
1302
1306
  }
1303
1307
  return moreContent;
1304
1308
  };
1305
- console.log(header, 'sakshat header desktop');
1309
+
1310
+ // console.log(header, 'sakshat header desktop');
1311
+
1306
1312
  return /*#__PURE__*/React.createElement("nav", {
1307
1313
  className: classes.section
1308
1314
  }, !(header?.websiteLogo === DEFAULT_HEADER_IMAGE_LP && isCustomWebsite) ? /*#__PURE__*/React.createElement("div", {
@@ -1381,7 +1387,9 @@ function MobileHeader({
1381
1387
  const isAndroidDelisted = header?.isAndroidDelisted;
1382
1388
  const iosDownloadLink = header?.iosDownloadLink;
1383
1389
  const androidDownloadLink = header?.androidDownloadLink;
1384
- console.log(header, 'sakshat header mobile');
1390
+
1391
+ // console.log(header, 'sakshat header mobile');
1392
+
1385
1393
  if (isTutorWebsite) {
1386
1394
  if (isAndroidDelisted && apkURL) {
1387
1395
  downloadLink = /*#__PURE__*/React.createElement(Button, {
@@ -8450,7 +8458,7 @@ const SingleVideoSlide = props => {
8450
8458
  name: 'Certificate',
8451
8459
  color: theme?.colors?.background2,
8452
8460
  width: "20px"
8453
- })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React.createElement("div", {
8461
+ })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText?.heading ? /*#__PURE__*/React.createElement("div", {
8454
8462
  className: classes.courseDetailTag
8455
8463
  }, /*#__PURE__*/React.createElement("span", {
8456
8464
  className: classes.iconBackground