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/Landing/views/Version/index.js

33 lines
803 B

import React from 'react';
import styled from 'styled-components';
import LandingWrapper from 'views/Landing/components/LandingWrapper';
import { Link, H5, H6 } from 'trezor-ui-components';
const Wrapper = styled.div`
display: flex;
flex: 1;
flex-direction: column;
align-items: center;
justify-content: center;
`;
const Line = styled.div`
padding: 20px;
`;
const Version = () => (
<LandingWrapper>
<Wrapper>
<H6>APPLICATION VERSION</H6>
<H5>{VERSION}</H5>
<Line />
<H6>LAST COMMIT HASH</H6>
<Link isGray href={`https://github.com/trezor/trezor-wallet/commits/${COMMITHASH}`}>
<H5>{COMMITHASH}</H5>
</Link>
</Wrapper>
</LandingWrapper>
);
export default Version;