1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-30 19:00:53 +00:00

Bootloader refactored

This commit is contained in:
Vladimir Volek 2018-08-30 13:16:11 +02:00
parent 77135e8198
commit 847f981767

View File

@ -1,17 +1,36 @@
/* @flow */
import React from 'react'; import React from 'react';
import styled from 'styled-components';
import { H2 } from 'components/Heading'; import { H2 } from 'components/Heading';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
const Wrapper = styled.div`
display: flex;
flex-direction: column;
flex: 1;
`;
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: 10px 0px;
text-align: center;
`;
const Bootloader = () => ( const Bootloader = () => (
<section className="device-settings"> <Wrapper>
<div className="row"> <Row>
<H2>Your device is in firmware update mode</H2> <H2>Your device is in firmware update mode</H2>
<p>Please re-connect it</p> <P>Please re-connect it</P>
</div> </Row>
</section> </Wrapper>
); );
export default connect(null, null)(Bootloader); export default connect(null, null)(Bootloader);