From 46a0ba30ef54a7e36206481a4f5b2bf1f9702fca Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Mon, 12 Mar 2018 14:06:25 -0400 Subject: wip --- frontend/components/Page.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'frontend/components/Page.js') diff --git a/frontend/components/Page.js b/frontend/components/Page.js index 6256c3d..e07df88 100644 --- a/frontend/components/Page.js +++ b/frontend/components/Page.js @@ -4,7 +4,7 @@ import Meta from './Meta'; import Nav from './Nav'; import CartList from './CartList'; import { Component } from 'react'; - +import { UIProvider } from './UIContext'; // Global Style const theme = { @@ -16,7 +16,7 @@ const theme = { maxWidth: '1300px', }; -const globals = injectGlobal` +injectGlobal` html { box-sizing: border-box; font-size: 10px; @@ -44,13 +44,15 @@ const StyledPage = styled.div` `; const Page = ({ children }) => ( - - - -
- {children} - - + + + + +
+ {children} + + + ); export default Page; -- cgit v1.3