diy-template-components 2.0.8 → 2.0.10
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 +4 -3
- package/build/index.es.js.map +1 -1
- package/build/index.js +4 -3
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1118,6 +1118,7 @@ function OptionList({
|
|
|
1118
1118
|
})) : null);
|
|
1119
1119
|
};
|
|
1120
1120
|
const iosLink = isTutorWebsite ? headerData?.iosDownloadLink : headerData?.iosUrl;
|
|
1121
|
+
const androidLink = isTutorWebsite ? headerData?.androidDownloadLink : headerData?.appLink;
|
|
1121
1122
|
console.log(iosLink, 'sakshat ios link');
|
|
1122
1123
|
return /*#__PURE__*/React.createElement("div", {
|
|
1123
1124
|
className: classes.listSection
|
|
@@ -1142,9 +1143,9 @@ function OptionList({
|
|
|
1142
1143
|
list: moreContent,
|
|
1143
1144
|
label: 'More',
|
|
1144
1145
|
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 ||
|
|
1146
|
+
}) : null, isTutorWebsite && /*#__PURE__*/React.createElement(React.Fragment, null, isAndroidDelisted && !headerData.navs ? /*#__PURE__*/React.createElement(React.Fragment, null, renderDownloadAppButton()) : /*#__PURE__*/React.createElement(React.Fragment, null, !headerData?.navs && renderAppDownloadLinks())), isMobile ? downloadApkURL?.length > 0 || androidLink?.length > 0 || iosLink?.length > 0 ? /*#__PURE__*/React.createElement(Button, {
|
|
1146
1147
|
data: {
|
|
1147
|
-
link: isAndroidDelisted ? getAppDownloadLink(downloadApkURL, iosLink) : getAppDownloadLink(
|
|
1148
|
+
link: isAndroidDelisted ? getAppDownloadLink(downloadApkURL, iosLink) : getAppDownloadLink(androidLink, iosLink),
|
|
1148
1149
|
isLink: 1,
|
|
1149
1150
|
value: downloadAppText,
|
|
1150
1151
|
isExternal: 1
|
|
@@ -8450,7 +8451,7 @@ const SingleVideoSlide = props => {
|
|
|
8450
8451
|
name: 'Certificate',
|
|
8451
8452
|
color: theme?.colors?.background2,
|
|
8452
8453
|
width: "20px"
|
|
8453
|
-
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText
|
|
8454
|
+
})), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText?.heading ? /*#__PURE__*/React.createElement("div", {
|
|
8454
8455
|
className: classes.courseDetailTag
|
|
8455
8456
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8456
8457
|
className: classes.iconBackground
|