blob: 1b07fe66580084994af1e1d05f0c3461540af0e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
|