Refactorize Landing view

pull/8/head
Vasek Mlejnsky 6 years ago
parent 2c6aabf7ff
commit c0555bea0c

@ -98,7 +98,8 @@ export default (props: Props) => {
<LandingContent> <LandingContent>
{shouldShowUnsupportedBrowser && <BrowserNotSupported />} <InstallBridge browserState={browserState} />
{/* {shouldShowUnsupportedBrowser && <BrowserNotSupported />}
{shouldShowInstallBridge && <InstallBridge browserState={browserState} />} {shouldShowInstallBridge && <InstallBridge browserState={browserState} />}
{(shouldShowConnectDevice || shouldShowDisconnectDevice) && ( {(shouldShowConnectDevice || shouldShowDisconnectDevice) && (
@ -125,10 +126,10 @@ export default (props: Props) => {
Device not recognized? Device not recognized?
</LandingFooterTextWrapper> </LandingFooterTextWrapper>
<Link <Link
text="Try installing the TREZOR Bridge."
href="#/bridge" href="#/bridge"
isGreen isGreen
/> >Try installing the TREZOR Bridge.
</Link>
</P> </P>
)} )}
<P> <P>
@ -136,17 +137,17 @@ export default (props: Props) => {
Don't have TREZOR? Don't have TREZOR?
</LandingFooterTextWrapper> </LandingFooterTextWrapper>
<Link <Link
text="Get one"
href="https://trezor.io/" href="https://trezor.io/"
target="_blank" target="_blank"
rel="noreferrer noopener" rel="noreferrer noopener"
isGreen isGreen
/> >Get one
</Link>
</P> </P>
</LandingFooterWrapper> </LandingFooterWrapper>
)} )}
</div> </div>
)} )} */}
</LandingContent> </LandingContent>
<Footer /> <Footer />

Loading…
Cancel
Save