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/DeviceSettings/index.js

51 lines
1.4 KiB

import React from 'react';
import styled from 'styled-components';
import { H1 } from 'components/Heading';
import Icon from 'components/Icon';
import colors from 'config/colors';
import Button from 'components/Button';
import P from 'components/Paragraph';
import Link from 'components/Link';
import ICONS from 'config/icons';
import Content from 'views/Wallet/components/Content';
import { connect } from 'react-redux';
const Section = styled.section`
display: flex;
flex-direction: column;
`;
const Row = styled.div`
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
padding: 50px 0;
`;
const StyledP = styled(P)`
padding: 0 0 15px 0;
text-align: center;
`;
const DeviceSettings = () => (
<Content>
<Section>
<Row>
<Icon
size={60}
color={colors.WARNING_PRIMARY}
icon={ICONS.WARNING}
/>
<H1>Device settings is under construction</H1>
<StyledP>Please use Bitcoin wallet interface to change your device settings</StyledP>
<Link href="https://beta-wallet.trezor.io/">
<Button>Take me to the Bitcoin wallet</Button>
</Link>
</Row>
</Section>
</Content>
);
export default connect(null, null)(DeviceSettings);