blob: 7bb5786116e449c81aa72a263ac1a4f60d11444a (
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
|
import * as React from 'react';
import ThemeContext from 'ts/context';
import GlobalStyles from 'ts/globalStyles';
import MetaTags from 'ts/components/MetaTags';
import Header from 'ts/components/Header';
import Hero from 'ts/components/Hero';
import Footer from 'ts/components/Footer';
interface BaseProps {
context: any;
children: React.ReactNode;
}
function Base(props: BaseProps) {
return (
<ThemeContext.Provider value={props.context}>
<MetaTags />
<GlobalStyles />
<Header />
<Hero />
{props.children}
<Footer />
</ThemeContext.Provider>
);
}
export default Base;
|