diy-template-components 5.17.0 → 5.19.0
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 +10 -6
- package/build/index.es.js.map +1 -1
- package/build/index.js +10 -6
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -677,7 +677,7 @@ var phoneIcon = "data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%2
|
|
|
677
677
|
|
|
678
678
|
var facebook2 = "data:image/svg+xml,%3Csvg%20width%3D%229%22%20height%3D%2214%22%20viewBox%3D%220%200%209%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M2.45882%204.66715H0.125488V7.00049H2.45882V14.0005H5.95882V7.00049H8.08216L8.29216%204.66715H5.95882V3.69532C5.95882%203.13765%206.07082%202.91715%206.60982%202.91715H8.29216V0.000488281H5.48749C3.38982%200.000488281%202.45882%200.924488%202.45882%202.69315V4.66715Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E";
|
|
679
679
|
|
|
680
|
-
var twitter = "data:image/svg+xml,%3Csvg%
|
|
680
|
+
var twitter = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22%23ffffff%22%3E%20%20%3Cpath%20d%3D%22M18.901%201.153h3.68l-8.04%209.19%209.46%2012.504h-7.406l-5.8-7.584-6.64%207.584H.475l8.6-9.83L0%201.153h7.594l5.243%206.932L18.9%201.153zm-1.29%2019.39h2.04L6.482%203.358H4.29l13.32%2017.185z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
|
|
681
681
|
|
|
682
682
|
var menu = "data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M3%2018H21V16H3V18ZM3%2013H21V11H3V13ZM3%206V8H21V6H3Z%22%20fill%3D%22%231676F3%22%2F%3E%3C%2Fsvg%3E";
|
|
683
683
|
|
|
@@ -2231,7 +2231,8 @@ function MobileHeader({
|
|
|
2231
2231
|
isTutorWebsite,
|
|
2232
2232
|
isLandingPage = false,
|
|
2233
2233
|
onDownloadAppTriggered,
|
|
2234
|
-
extraProps
|
|
2234
|
+
extraProps,
|
|
2235
|
+
orgId
|
|
2235
2236
|
}) {
|
|
2236
2237
|
const {
|
|
2237
2238
|
isCustomWebsite,
|
|
@@ -2399,7 +2400,7 @@ function MobileHeader({
|
|
|
2399
2400
|
// styling={isMobile ? { margin: '0 40px' } : {}}
|
|
2400
2401
|
}))));
|
|
2401
2402
|
};
|
|
2402
|
-
if (isTutorWebsite) {
|
|
2403
|
+
if (isTutorWebsite && (orgId != 1125872 || extraProps?.orgId != 1125872)) {
|
|
2403
2404
|
if (isAndroidDelisted && apkURL) {
|
|
2404
2405
|
downloadLink = /*#__PURE__*/React.createElement(Button, {
|
|
2405
2406
|
data: {
|
|
@@ -2530,7 +2531,8 @@ function MobileHeader({
|
|
|
2530
2531
|
function Header({
|
|
2531
2532
|
data,
|
|
2532
2533
|
isLandingPage,
|
|
2533
|
-
extraProps
|
|
2534
|
+
extraProps,
|
|
2535
|
+
orgId
|
|
2534
2536
|
}) {
|
|
2535
2537
|
const {
|
|
2536
2538
|
isMobile,
|
|
@@ -2545,7 +2547,8 @@ function Header({
|
|
|
2545
2547
|
isTutorWebsite: isTutorWebsite,
|
|
2546
2548
|
isLandingPage: isLandingPage,
|
|
2547
2549
|
onDownloadAppTriggered: extraProps?.DownloadAppButtonTriggered,
|
|
2548
|
-
extraProps: extraProps
|
|
2550
|
+
extraProps: extraProps,
|
|
2551
|
+
orgId: orgId
|
|
2549
2552
|
}) : /*#__PURE__*/React.createElement(DesktopHeader, {
|
|
2550
2553
|
navData: filterHiddenNavs(),
|
|
2551
2554
|
header: data,
|
|
@@ -3863,7 +3866,8 @@ function PageRenderer$1({
|
|
|
3863
3866
|
hideLogin
|
|
3864
3867
|
}, /*#__PURE__*/React.createElement(Header, {
|
|
3865
3868
|
data: header,
|
|
3866
|
-
isLandingPage: isLandingPage
|
|
3869
|
+
isLandingPage: isLandingPage,
|
|
3870
|
+
orgId: orgId
|
|
3867
3871
|
})), sections?.length ? sections?.map((sectionData, sectionIndex) => /*#__PURE__*/React.createElement(Wrapper, _extends({}, !!SectionWrapper && {
|
|
3868
3872
|
sectionData,
|
|
3869
3873
|
sectionIndex
|