summaryrefslogtreecommitdiffstats
path: root/components/Page.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/Page.js')
-rw-r--r--components/Page.js25
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);