-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99f4ec0
commit 8dfad9b
Showing
18 changed files
with
336 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
import { Route, Routes } from "react-router-dom"; | ||
import DashBoard from "./components/layout/DashBoard"; | ||
import SignInPage from "./pages/Auth/SignInPage"; | ||
import LoginPage from "./pages/Auth/LoginPage"; | ||
import LandingPage from "./pages/Home/LandingPage"; | ||
|
||
function App() { | ||
return <div className="container">하이</div>; | ||
return ( | ||
<Routes> | ||
<Route element={<DashBoard />}> | ||
<Route index element={<LandingPage />} /> | ||
<Route path="auth"> | ||
<Route path="signIn" element={<LoginPage />} /> | ||
<Route path="signIn" element={<SignInPage />} /> | ||
</Route> | ||
</Route> | ||
</Routes> | ||
); | ||
} | ||
|
||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from "react"; | ||
|
||
const Create = () => { | ||
return <div>새 일기 만드는 페이지</div>; | ||
}; | ||
|
||
export default Create; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from "react"; | ||
|
||
const Drawing = () => { | ||
return <div>그림 캔버스 api</div>; | ||
}; | ||
|
||
export default Drawing; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from "react"; | ||
|
||
const Login = () => { | ||
return <div>로그인</div>; | ||
}; | ||
|
||
export default Login; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from "react"; | ||
|
||
const SignIn = () => { | ||
return <div>회원가입</div>; | ||
}; | ||
|
||
export default SignIn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from "react"; | ||
import { Outlet } from "react-router-dom"; | ||
import Container from "./style"; | ||
|
||
const DashBoard = () => { | ||
return ( | ||
<Container> | ||
<Outlet /> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default DashBoard; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import React from "react"; | ||
|
||
const Home = () => { | ||
return <div>홈페이지</div>; | ||
}; | ||
|
||
export default Home; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import styled from "styled-components"; | ||
|
||
const Container = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
position: relative; | ||
width: 360px; | ||
min-height: 100vh; | ||
background-color: #fff; | ||
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04); | ||
@media screen and (max-width: 480px) { | ||
width: 100%; | ||
} | ||
`; | ||
|
||
export default Container; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from "react"; | ||
import Container from "../../components/layout/style"; | ||
import Login from "../../components/auth/Login"; | ||
|
||
const LoginPage = () => { | ||
return ( | ||
<Container> | ||
<Login /> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default LoginPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from "react"; | ||
import Container from "../../components/layout/style"; | ||
import SignIn from "../../components/auth/SignIn"; | ||
|
||
const SignInPage = () => { | ||
return ( | ||
<Container> | ||
<SignIn /> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default SignInPage; |
Oops, something went wrong.