1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-30 20:28:09 +00:00

Removed unnecessary component

This commit is contained in:
Vladimir Volek 2018-10-11 15:05:14 +02:00
parent 42841b0b84
commit 0de30758a8
3 changed files with 8 additions and 17 deletions

View File

@ -1,15 +0,0 @@
/* @flow */
import React from 'react';
import styled from 'styled-components';
import DownloadImg from './images/nem-download.png';
const Img = styled.img`
display: block;
width: 100%;
height: auto;
`;
const NemImage = () => <Img src={DownloadImg} />;
export default NemImage;

View File

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 83 KiB

View File

@ -13,7 +13,7 @@ import Button from 'components/Button';
import { H3, H4 } from 'components/Heading'; import { H3, H4 } from 'components/Heading';
import P from 'components/Paragraph'; import P from 'components/Paragraph';
import NemImage from './components/NemImage'; import NemImage from './images/nem-download.png';
import type { Props as BaseProps } from '../../Container'; import type { Props as BaseProps } from '../../Container';
type Props = { type Props = {
@ -37,6 +37,12 @@ const StyledLink = styled(Link)`
top: 10px; top: 10px;
`; `;
const Img = styled.img`
display: block;
width: 100%;
height: auto;
`;
const NemWallet = (props: Props) => ( const NemWallet = (props: Props) => (
<Wrapper> <Wrapper>
<StyledLink onClick={props.onCancel}> <StyledLink onClick={props.onCancel}>
@ -49,7 +55,7 @@ const NemWallet = (props: Props) => (
<H3>NEM Wallet</H3> <H3>NEM Wallet</H3>
<P isSmaller>We have partnered up with the NEM Foundation to provide you with a full-fledged NEM Wallet.</P> <P isSmaller>We have partnered up with the NEM Foundation to provide you with a full-fledged NEM Wallet.</P>
<H4>Make sure you download the Universal Client for TREZOR support.</H4> <H4>Make sure you download the Universal Client for TREZOR support.</H4>
<NemImage /> <Img src={NemImage} />
<StyledButton>Go to nem.io</StyledButton> <StyledButton>Go to nem.io</StyledButton>
</Wrapper> </Wrapper>
); );