summaryrefslogtreecommitdiffstats
path: root/frontend/components/Page.js
blob: ceb093912d03ae70e519aae47d8d0a8198801d75 (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
import styled from "styled-components";
import Header from "./Header";
import Meta from "./Meta";
import Nav from "./Nav";
import CartList from "./CartList";

const StyledPage = styled.div`
  font-family: sans-serif;
  color: #303030;
  background: #efc600;
  padding: 100px;
`;

const Page = ({ children }) => (
  <StyledPage className="main">
    <Meta />
    <Nav />
    {/* <Header /> */}
    {/* <CartList /> */}
    {children}
  </StyledPage>
);

export default Page;