File tree Expand file tree Collapse file tree 3 files changed +17
-28
lines changed Expand file tree Collapse file tree 3 files changed +17
-28
lines changed Original file line number Diff line number Diff line change
1
+ export default function Timer ( ) {
2
+ return < div > timer</ div > ;
3
+ }
Original file line number Diff line number Diff line change 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" ;
5
- import Head from "next/head" ;
1
+ import MainLayout from "@/lib/@common/layouts/MainLayout" ;
2
+ import { Center , Text } from "@chakra-ui/react" ;
6
3
7
4
export default function Home ( ) {
8
5
return (
9
- < >
10
- < Head >
11
- < title > codeisneverodd</ title >
12
- < meta
13
- name = "description"
14
- content = "Generated by nextjs-chakra-template"
15
- />
16
- < meta name = "viewport" content = "width=device-width, initial-scale=1" />
17
- < link rel = "icon" href = "/favicon.ico" />
18
- </ Head >
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 >
31
- </ >
6
+ < MainLayout title = "Home" >
7
+ < Center w = "full" h = "calc(100vh - 100px)" >
8
+ < Text fontSize = "6xl" fontWeight = "bold" >
9
+ codeisneverodd
10
+ </ Text >
11
+ </ Center >
12
+ </ MainLayout >
32
13
) ;
33
14
}
Original file line number Diff line number Diff line change
1
+ import MainLayout from "@/lib/@common/layouts/MainLayout" ;
2
+
3
+ export default function Timer ( ) {
4
+ return < MainLayout title = "Timer" > 타이머</ MainLayout > ;
5
+ }
You can’t perform that action at this time.
0 commit comments