This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
outline/server/pages/Changelog.js
2017-11-28 22:46:26 -08:00

41 lines
894 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// @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;