Add changelog

This commit is contained in:
Tom Moor
2017-11-28 22:46:26 -08:00
parent 9f3e739952
commit 21c1c1797e
9 changed files with 296 additions and 12 deletions

40
server/pages/Changelog.js Normal file
View File

@ -0,0 +1,40 @@
// @flow
import React from 'react';
import styled from 'styled-components';
import Grid from 'styled-components-grid';
import ReactMarkdown from 'react-markdown';
import { Helmet } from 'react-helmet';
import Header from './components/Header';
import { color } from '../../shared/styles/constants';
function Changelog({ body }: { body: string }) {
return (
<Grid>
<Helmet>
<title>Changelog</title>
</Helmet>
<Header>
<h1>Changelog</h1>
<p>
Were building in public. Heres what weve been changing recently.
</p>
</Header>
<Container source={body} />
</Grid>
);
}
const Container = styled(ReactMarkdown)`
width: 100%;
max-width: 720px;
margin: 0 auto;
padding: 0 2em;
hr {
border: 0;
border-bottom: 1px solid ${color.slateLight};
margin: 4em 0;
}
`;
export default Changelog;