File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 1
- import { Center , Text } from "@chakra-ui/react" ;
1
+ import Aside from "@/components/Aside" ;
2
+ import Header from "@/components/Header" ;
3
+ import Main from "@/components/Main" ;
4
+ import { Box , Flex } from "@chakra-ui/react" ;
2
5
import Head from "next/head" ;
3
6
4
7
export default function Home ( ) {
@@ -13,9 +16,18 @@ export default function Home() {
13
16
< meta name = "viewport" content = "width=device-width, initial-scale=1" />
14
17
< link rel = "icon" href = "/favicon.ico" />
15
18
</ Head >
16
- < Center >
17
- < Text fontSize = "3xl" > Next.js - Chakra UI Template</ Text >
18
- </ Center >
19
+ < Box h = "100vh" >
20
+ < Header />
21
+
22
+ < Flex
23
+ w = "full"
24
+ direction = { { sm : "column-reverse" , md : "row" } }
25
+ pt = "20px"
26
+ >
27
+ < Main />
28
+ < Aside />
29
+ </ Flex >
30
+ </ Box >
19
31
</ >
20
32
) ;
21
33
}
You can’t perform that action at this time.
0 commit comments