diff options
| author | Wes Bos <wesbos@gmail.com> | 2017-08-25 09:33:53 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2017-08-25 09:33:53 -0400 |
| commit | 7af74ff8988961c988f03c95961b70c2918521ae (patch) | |
| tree | d73cd0dd94751b76595b7febcae4162811c2040b /components/Page.js | |
| parent | 416c2cbae0e69b724876d232bf813eefd7550174 (diff) | |
yay
Diffstat (limited to 'components/Page.js')
| -rw-r--r-- | components/Page.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/components/Page.js b/components/Page.js new file mode 100644 index 0000000..1b07fe6 --- /dev/null +++ b/components/Page.js @@ -0,0 +1,25 @@ +import Header from './Header' +import Meta from './Meta' +import withData from '../lib/withData'; +import Nav from './Nav'; +import styled from 'styled-components'; + +const StyledPage = styled.div` + font-family: sans-serif; + color: #303030; + background: #efc600; + padding: 100px; +`; + +const Page = ({ children }) => ( + <StyledPage className="main"> + <Meta /> + <Header /> + <Nav></Nav> + <div> + { children } + </div> + </StyledPage> +) + +export default withData(Page); |
