Skip to content

Commit

Permalink
feat: 결과보기 페이지 개발중
Browse files Browse the repository at this point in the history
  • Loading branch information
ArpaAP committed Aug 28, 2024
1 parent ed7e61f commit e345a9c
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ import { Route, Routes } from "react-router-dom";

import { RootLayout } from "./components/layout/RootLayout";
import HomePage from "./pages/HomePage";
import ResultPage from "./pages/ResultPage";

export const Router = () => {
return (
<Routes>
<Route path="/" element={<RootLayout />}>
<Route index element={<HomePage />}></Route>
<Route path="/result" element={<ResultPage />}></Route>
</Route>
</Routes>
);
Expand Down
14 changes: 14 additions & 0 deletions src/pages/ResultPage.styled.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import styled from "@emotion/styled";

export const TitleContainer = styled.div`
display: flex;
flex-direction: column;
gap: 1rem;
`;

export const Line = styled.hr`
width: 100%;
margin: 1.25rem 0;
height: 1px;
border: 1px solid #e0e0e0;
`;
21 changes: 21 additions & 0 deletions src/pages/ResultPage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import TopBar from "@/components/layout/TopBar";
import { Text } from "@/components/typography";

import { Line, TitleContainer } from "./ResultPage.styled";

export default function ResultPage() {
return (
<>
<TopBar title="결과 보기" />
<TitleContainer>
<Text size="s" color="gray">
OOO님의 동BTI는...
</Text>
<Text size="xl" color="primary" weight="bold">
무대를 좋아하는 연주가형
</Text>
</TitleContainer>
<Line />
</>
);
}

0 comments on commit e345a9c

Please sign in to comment.