mirror of https://github.com/trezor/trezor-wallet
parent
eac49bd78d
commit
03af4fdfce
@ -1,20 +1,44 @@
|
|||||||
/* @flow */
|
|
||||||
|
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { H2 } from '~/js/components/common/Heading';
|
import styled from 'styled-components';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
|
|
||||||
|
import { H2 } from '~/js/components/common/Heading';
|
||||||
import DashboardImg from '~/images/dashboard.png';
|
import DashboardImg from '~/images/dashboard.png';
|
||||||
|
|
||||||
|
const Wrapper = styled.div`
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex: 1;
|
||||||
|
`;
|
||||||
|
|
||||||
|
const StyledH2 = styled(H2)`
|
||||||
|
padding: 24px 48px;
|
||||||
|
`;
|
||||||
|
|
||||||
|
const Row = styled.div`
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
padding: 0px 48px;
|
||||||
|
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
`;
|
||||||
|
|
||||||
|
const P = styled.p`
|
||||||
|
padding: 24px 0px;
|
||||||
|
text-align: center;
|
||||||
|
`;
|
||||||
|
|
||||||
const Dashboard = () => (
|
const Dashboard = () => (
|
||||||
<section className="dashboard">
|
<Wrapper>
|
||||||
<H2>Dashboard</H2>
|
<StyledH2>Dashboard</StyledH2>
|
||||||
<div className="row">
|
<Row>
|
||||||
<H2>Please select your coin</H2>
|
<H2>Please select your coin</H2>
|
||||||
<p>You will gain access to recieving & sending selected coin</p>
|
<P>You will gain access to recieving & sending selected coin</P>
|
||||||
<img src={DashboardImg} height="34" width="auto" alt="Dashboard" />
|
<img src={DashboardImg} height="34" width="auto" alt="Dashboard" />
|
||||||
</div>
|
</Row>
|
||||||
</section>
|
</Wrapper>
|
||||||
);
|
);
|
||||||
|
|
||||||
export default connect(null, null)(Dashboard);
|
export default connect(null, null)(Dashboard);
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
.dashboard {
|
|
||||||
|
|
||||||
//height: 1000px;
|
|
||||||
|
|
||||||
.row {
|
|
||||||
flex: 1;
|
|
||||||
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
padding: 0px 48px;
|
|
||||||
padding-bottom: 98px;
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
padding: 24px 0px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in new issue