diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-11-28 21:45:11 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-11-28 21:45:26 +0800 |
commit | 7b90f095fffdaac34a518e3f404e35477b534824 (patch) | |
tree | fb6eb1408f8270714660d2071eb7d8f04b2397ba /packages/website/ts/@next/components/siteWrap.tsx | |
parent | df6c1ae059169f5793ad2ee4ca23a3c07b798d89 (diff) | |
download | dexon-sol-tools-7b90f095fffdaac34a518e3f404e35477b534824.tar.gz dexon-sol-tools-7b90f095fffdaac34a518e3f404e35477b534824.tar.zst dexon-sol-tools-7b90f095fffdaac34a518e3f404e35477b534824.zip |
Adds very basic SiteWrap and global styling
Diffstat (limited to 'packages/website/ts/@next/components/siteWrap.tsx')
-rw-r--r-- | packages/website/ts/@next/components/siteWrap.tsx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/website/ts/@next/components/siteWrap.tsx b/packages/website/ts/@next/components/siteWrap.tsx new file mode 100644 index 000000000..1b0efd145 --- /dev/null +++ b/packages/website/ts/@next/components/siteWrap.tsx @@ -0,0 +1,26 @@ +import * as React from 'react'; +import { GlobalStyles } from 'ts/@next/constants/globalStyle'; + + +interface Props { + +} + +const SiteWrap:React.StatelessComponent<Props> = props => { + const { children } = props; + + return ( + <> + <GlobalStyles /> + + <header>0x HEADER</header> + + { children } + + <footer>OMG FOOTER</footer> + </> + ) +}; + + +export { SiteWrap } |