|
1 | | -import { BackwardButton } from "#/components/backwardButton"; |
2 | | -import { Layout } from "#/components/layout"; |
3 | | -import { StepHeader } from "#/components/stepHeader"; |
4 | | -import { colors } from "#/constants/color"; |
5 | | - |
6 | 1 | export default function Home() { |
7 | 2 | return ( |
8 | | - <Layout.Root> |
9 | | - <Layout.Header> |
10 | | - <BackwardButton /> |
11 | | - <div className="ygi:flex ygi:h-layout-header-height ygi:w-full ygi:items-center ygi:justify-center ygi:bg-surface-gray"> |
12 | | - Header |
13 | | - </div> |
14 | | - <StepHeader.Root> |
15 | | - <StepHeader.Title>스텝 헤더 제목</StepHeader.Title> |
16 | | - <StepHeader.Description> |
17 | | - 스텝 헤더 설명 문구가 여기에 들어갑니다. |
18 | | - </StepHeader.Description> |
19 | | - </StepHeader.Root> |
20 | | - </Layout.Header> |
21 | | - <Layout.Content> |
22 | | - <div className="ygi:flex ygi:h-80 ygi:w-full ygi:items-center ygi:justify-center ygi:bg-surface-primary"> |
23 | | - <h1 className="ygi:display-28-bd ygi:text-text-primary"> |
24 | | - section 1 |
25 | | - </h1> |
26 | | - </div> |
27 | | - <div className="ygi:flex ygi:h-80 ygi:w-full ygi:items-center ygi:justify-center ygi:bg-surface-secondary"> |
28 | | - <h1 className="ygi:display-28-bd ygi:text-text-primary"> |
29 | | - section 2 |
30 | | - </h1> |
31 | | - </div> |
32 | | - <div className="ygi:flex ygi:h-80 ygi:w-full ygi:items-center ygi:justify-center ygi:bg-button-secondary"> |
33 | | - <h1 className="ygi:display-28-bd ygi:text-text-inverse"> |
34 | | - section 3 |
35 | | - </h1> |
36 | | - </div> |
37 | | - <div className="ygi:flex ygi:h-80 ygi:w-full ygi:items-center ygi:justify-center ygi:bg-button-secondary-hover"> |
38 | | - <h1 className="ygi:display-28-bd ygi:text-text-inverse"> |
39 | | - section 4 |
40 | | - </h1> |
41 | | - </div> |
42 | | - |
43 | | - {/* color 변수 기반 예시 */} |
44 | | - <div |
45 | | - className="ygi:flex ygi:h-80 ygi:w-full ygi:items-center ygi:justify-center" |
46 | | - style={{ backgroundColor: colors.palette.primary[500] }} |
47 | | - > |
48 | | - <h1 |
49 | | - className="ygi:display-28-bd" |
50 | | - style={{ color: colors.text.inverse }} |
51 | | - > |
52 | | - section 5 (colors 변수 사용) |
53 | | - </h1> |
54 | | - </div> |
55 | | - </Layout.Content> |
56 | | - <Layout.Footer> |
57 | | - <div className="ygi:flex ygi:h-layout-footer-height ygi:w-full ygi:items-center ygi:justify-center ygi:bg-surface-gray"> |
58 | | - Footer |
59 | | - </div> |
60 | | - </Layout.Footer> |
61 | | - </Layout.Root> |
| 3 | + <div className="ygi:flex ygi:h-screen ygi:flex-col ygi:items-center ygi:justify-center"> |
| 4 | + <h1>Hello World</h1> |
| 5 | + </div> |
62 | 6 | ); |
63 | 7 | } |
0 commit comments