Commit 6b50e528 authored by Kim, Subin's avatar Kim, Subin
Browse files

필요 페이지 추가 및 App.js 경로 지정

parent e12a8d6b
......@@ -4,6 +4,11 @@ import SignupPage from "./pages/SignupPage";
import HomePage from "./pages/HomePage";
import SchedulePage from "./pages/SchedulePage";
import ScheduleEditPage from "./pages/ScheduleEditPage";
import ToDoPage from "./pages/ToDoPage";
import StudyPlanListPage from "./pages/StudyPlanListPage";
import StudyPlanPage from "./pages/StudyPlanPage";
import StudyPlanEditPage from "./pages/StudyPlanEditPage";
import SubjectEditPage from "./pages/SubjectEditPage";
import AdminPage from "./pages/AdminPage";
import PrivateRoute from "./components/PrivateRoute";
import ErrorPage from "./pages/ErrorPage";
......@@ -19,6 +24,11 @@ function App() {
<Route path="/home" component={HomePage} />
<Route path="/schedule/edit" component={ScheduleEditPage} />
<Route path="/schedule" component={SchedulePage} />
<Route path="/todo" component={ToDoPage} />
<Route path="/studyplan/edit" component={StudyPlanEditPage} />
<Route path="/studyplan/:" component={StudyPlanPage} />
<Route path="/studyplan" component={StudyPlanListPage} />
<Route path="/subject/edit" component={SubjectEditPage} />
<PrivateRoute path="/admin" component={AdminPage} role="admin" />
<Route component={ErrorPage} />
......
const StudyPlanEditPage = () => {
return (
<></>
)
}
export default StudyPlanEditPage
\ No newline at end of file
const StudyPlanListPage = () => {
return (
<></>
)
}
export default StudyPlanListPage
\ No newline at end of file
const StudyPlanPage = () => {
return (
<></>
)
}
export default StudyPlanPage
\ No newline at end of file
const SubjectEditPage = () => {
return (
<></>
)
}
export default SubjectEditPage
\ No newline at end of file
const ToDoPage = () => {
return (
<></>
)
}
export default ToDoPage
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment