mirror of https://github.com/trezor/trezor-wallet
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.
66 lines
1.4 KiB
66 lines
1.4 KiB
import React from 'react';
|
|
import styled from 'styled-components';
|
|
|
|
import { H2 } from 'components/common/Heading';
|
|
import colors from 'config/colors';
|
|
|
|
const Wrapper = styled.div`
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: row;
|
|
background: ${colors.WHITE};
|
|
padding: 50px;
|
|
`;
|
|
|
|
const StyledH2 = styled(H2)`
|
|
padding-bottom: 10px;
|
|
`;
|
|
|
|
const Column = styled.div`
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
`;
|
|
|
|
const Sign = styled(Column)``;
|
|
|
|
const Verify = styled(Column)`
|
|
padding-left: 20px;
|
|
`;
|
|
|
|
const Label = styled.div`
|
|
color: ${colors.LABEL};
|
|
padding: 5px 0px;
|
|
`;
|
|
|
|
const Textarea = styled.textarea`
|
|
resize: vertical;
|
|
width: 100%;
|
|
`;
|
|
|
|
const Input = styled.input``;
|
|
|
|
const SignVerify = () => (
|
|
<Wrapper>
|
|
<Sign>
|
|
<StyledH2>Sign message</StyledH2>
|
|
<Label>Message</Label>
|
|
<Textarea rows="4" maxLength="255" />
|
|
<Label>Address</Label>
|
|
<Input type="text" />
|
|
<Label>Signature</Label>
|
|
<Textarea rows="4" maxLength="255" readOnly="readonly" />
|
|
</Sign>
|
|
<Verify>
|
|
<StyledH2>Verify message</StyledH2>
|
|
<Label>Message</Label>
|
|
<Textarea rows="4" maxLength="255" />
|
|
<Label>Address</Label>
|
|
<Input type="text" />
|
|
<Label>Signature</Label>
|
|
<Textarea rows="4" maxLength="255" />
|
|
</Verify>
|
|
</Wrapper>
|
|
);
|
|
|
|
export default SignVerify; |