diy-template-components 2.0.8 → 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 +13 -5
- package/build/index.es.js.map +1 -1
- package/build/index.js +13 -5
- package/build/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
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", {
|
|
@@ -1302,7 +1306,9 @@ function DesktopHeader({
|
|
|
1302
1306
|
}
|
|
1303
1307
|
return moreContent;
|
|
1304
1308
|
};
|
|
1305
|
-
|
|
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
|
-
|
|
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
|
|
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
|