aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/siteWrap.tsx
blob: eebf6c25ced5121fd322691e41f4db20abdc5554 (plain) (blame)
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
26
27
28
29
30
31
32
33
34
35
import * as React from 'react';
import styled from 'styled-components';
import { GlobalStyles } from 'ts/@next/constants/globalStyle';
import { Header } from 'ts/@next/components/header';


interface Props {

}

const SiteWrap: React.StatelessComponent<Props> = props => {
  const { children } = props;

  return (
    <>
      <GlobalStyles />

      <Header />

      <Main>
        { children }
      </Main>

      <footer>OMG FOOTER</footer>
    </>
  );
};

const Main = styled.main`
  border: 1px solid blue;
  padding: 30px;
`;


export { SiteWrap }