improve "open in app" page

This commit is contained in:
Felix C. Stegerman
2020-05-21 08:39:17 -04:00
committed by Jaya Allamsetty
parent 393fb692ca
commit 63ca419e76
6 changed files with 32 additions and 16 deletions
@@ -121,6 +121,22 @@ class DeepLinkingMobilePage extends Component<Props> {
<p className = { `${_SNS}__text` }>
{ t(`${_TNS}.appNotInstalled`, { app: NATIVE_APP_NAME }) }
</p>
<p className = { `${_SNS}__text` }>
{ t(`${_TNS}.ifHaveApp`) }
</p>
<a
{ ...onOpenLinkProperties }
className = { `${_SNS}__href` }
href = { generateDeepLinkingURL() }
onClick = { this._onOpenApp }
target = '_top'>
<button className = { `${_SNS}__button ${_SNS}__button_primary` }>
{ t(`${_TNS}.joinInApp`) }
</button>
</a>
<p className = { `${_SNS}__text` }>
{ t(`${_TNS}.ifDoNotHaveApp`) }
</p>
<a
{ ...onOpenLinkProperties }
href = { this._generateDownloadURL() }
@@ -130,16 +146,6 @@ class DeepLinkingMobilePage extends Component<Props> {
{ t(`${_TNS}.downloadApp`) }
</button>
</a>
<a
{ ...onOpenLinkProperties }
className = { `${_SNS}__href` }
href = { generateDeepLinkingURL() }
onClick = { this._onOpenApp }
target = '_top'>
{/* <button className = { `${_SNS}__button` }> */}
{ t(`${_TNS}.openApp`) }
{/* </button> */}
</a>
{ renderPromotionalFooter() }
<DialInSummary
className = 'deep-linking-dial-in'