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 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%20width%3D%2215%22%20height%3D%2213%22%20viewBox%3D%220%200%2015%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M14.5005%202.0975C13.986%202.32617%2013.4318%202.48017%2012.8508%202.55017C13.4447%202.19433%2013.8985%201.632%2014.1143%200.961167C13.559%201.29017%2012.9442%201.52933%2012.2897%201.65767C11.767%201.09883%2011.0192%200.75%2010.1943%200.75C8.33932%200.75%206.97665%202.48017%207.39549%204.27683C5.00965%204.15667%202.89215%203.01333%201.47582%201.27617C0.723322%202.5665%201.08615%204.25583%202.36482%205.111C1.89465%205.09583%201.45249%204.96633%201.06515%204.75167C1.03365%206.08167%201.98799%207.3265%203.36932%207.60417C2.96565%207.71383%202.52232%207.7395%202.07199%207.65317C2.43715%208.79417%203.49999%209.62367%204.75532%209.647C3.54549%2010.5943%202.02532%2011.0178%200.500488%2010.8382C1.77215%2011.6537%203.28065%2012.1285%204.90232%2012.1285C10.2363%2012.1285%2013.2487%207.624%2013.0667%203.58383C13.629%203.18017%2014.1155%202.67383%2014.5005%202.0975Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E";
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