You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-wallet/src/views/Wallet/views/Dashboard/index.js

65 lines
1.4 KiB

import React from 'react';
import styled from 'styled-components';
import { connect } from 'react-redux';
import Content from 'views/Wallet/components/Content';
import EthIcon from 'images/coins/eth.png';
import RippleIcon from 'images/coins/xrp.png';
import { H1 } from 'components/Heading';
import Paragraph from 'components/Paragraph';
const Wrapper = styled.div`
display: flex;
flex-direction: column;
`;
const Row = styled.div`
flex: 1;
display: flex;
padding: 50px 0;
flex-direction: column;
align-items: center;
`;
const StyledP = styled(Paragraph)`
padding: 0 0 15px 0;
text-align: center;
`;
const Overlay = styled.div`
display: flex;
width: 100%;
height: 40px;
justify-content: center;
align-items: center;
opacity: 0.2;
background: white;
`;
const Image = styled.img`
margin-right: 10px;
&:last-child {
margin-right: 0px;
}
`;
const Dashboard = () => (
<Content>
<Wrapper>
<Row data-test="Dashboard__page__content">
<H1>Please select your coin</H1>
<StyledP>You will gain access to receiving &amp; sending selected coin</StyledP>
<Overlay>
<Image src={EthIcon} width={20} />
<Image src={RippleIcon} width={25} />
</Overlay>
</Row>
</Wrapper>
</Content>
);
export default connect(null, null)(Dashboard);