File tree 2 files changed +18
-3
lines changed
2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ export default function Layout({
10
10
return (
11
11
< >
12
12
< HealHeader />
13
- < main id = "main-content" className = "flex-grow" >
14
- { children }
15
- </ main >
13
+ { children }
16
14
< HealFooter />
17
15
</ >
18
16
) ;
Original file line number Diff line number Diff line change 1
1
import Document , {
2
2
DocumentContext ,
3
3
DocumentInitialProps ,
4
+ Head ,
5
+ Html ,
6
+ Main ,
7
+ NextScript ,
4
8
} from 'next/document' ;
5
9
import { ColorSchemeScript } from '@mantine/core' ;
6
10
@@ -19,6 +23,19 @@ class Gen3Document extends Document {
19
23
) ,
20
24
} ;
21
25
}
26
+ render ( ) {
27
+ return (
28
+ < Html lang = "en" >
29
+ < Head />
30
+ < body className = "flex flex-col min-h-screen" >
31
+ < main id = "main-content" className = "flex-grow" >
32
+ < Main />
33
+ < NextScript />
34
+ </ main >
35
+ </ body >
36
+ </ Html >
37
+ ) ;
38
+ }
22
39
}
23
40
24
41
export default Gen3Document ;
You can’t perform that action at this time.
0 commit comments