File tree 1 file changed +19
-13
lines changed
packages/homepage/src/layouts 1 file changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,22 @@ import '../css/global.css';
8
8
import Navigation from '../components/Navigation' ;
9
9
import Footer from '../components/Footer' ;
10
10
11
- const TemplateWrapper = ( { children } ) => (
12
- < ThemeProvider theme = { theme } >
13
- < div >
14
- < div style = { { position : 'absolute' , left : 0 , right : 0 , zIndex : 20 } } >
15
- < Navigation />
16
- </ div >
17
- < div style = { { maxWidth : '100vw' , overflowX : 'hidden' } } > { children ( ) } </ div >
18
- < Footer />
19
- </ div >
20
- </ ThemeProvider >
21
- ) ;
22
-
23
- export default TemplateWrapper ;
11
+ // eslint-disable-next-line
12
+ export default class TemplateWrapper extends React . Component {
13
+ render ( ) {
14
+ const { children } = this . props ;
15
+ return (
16
+ < ThemeProvider theme = { theme } >
17
+ < div >
18
+ < div style = { { position : 'absolute' , left : 0 , right : 0 , zIndex : 20 } } >
19
+ < Navigation />
20
+ </ div >
21
+ < div style = { { maxWidth : '100vw' , overflowX : 'hidden' } } >
22
+ { children ( ) }
23
+ </ div >
24
+ < Footer />
25
+ </ div >
26
+ </ ThemeProvider >
27
+ ) ;
28
+ }
29
+ }
You can’t perform that action at this time.
0 commit comments