Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
Today KU
Commits
6b50e528
Commit
6b50e528
authored
Oct 10, 2021
by
Kim, Subin
Browse files
필요 페이지 추가 및 App.js 경로 지정
parent
e12a8d6b
Changes
6
Show whitespace changes
Inline
Side-by-side
client/src/App.js
View file @
6b50e528
...
@@ -4,6 +4,11 @@ import SignupPage from "./pages/SignupPage";
...
@@ -4,6 +4,11 @@ import SignupPage from "./pages/SignupPage";
import
HomePage
from
"
./pages/HomePage
"
;
import
HomePage
from
"
./pages/HomePage
"
;
import
SchedulePage
from
"
./pages/SchedulePage
"
;
import
SchedulePage
from
"
./pages/SchedulePage
"
;
import
ScheduleEditPage
from
"
./pages/ScheduleEditPage
"
;
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
AdminPage
from
"
./pages/AdminPage
"
;
import
PrivateRoute
from
"
./components/PrivateRoute
"
;
import
PrivateRoute
from
"
./components/PrivateRoute
"
;
import
ErrorPage
from
"
./pages/ErrorPage
"
;
import
ErrorPage
from
"
./pages/ErrorPage
"
;
...
@@ -19,6 +24,11 @@ function App() {
...
@@ -19,6 +24,11 @@ function App() {
<
Route
path
=
"
/home
"
component
=
{
HomePage
}
/
>
<
Route
path
=
"
/home
"
component
=
{
HomePage
}
/
>
<
Route
path
=
"
/schedule/edit
"
component
=
{
ScheduleEditPage
}
/
>
<
Route
path
=
"
/schedule/edit
"
component
=
{
ScheduleEditPage
}
/
>
<
Route
path
=
"
/schedule
"
component
=
{
SchedulePage
}
/
>
<
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
"
/>
<
PrivateRoute
path
=
"
/admin
"
component
=
{
AdminPage
}
role
=
"
admin
"
/>
<
Route
component
=
{
ErrorPage
}
/
>
<
Route
component
=
{
ErrorPage
}
/
>
...
...
client/src/pages/StudyPlanEditPage.js
0 → 100644
View file @
6b50e528
const
StudyPlanEditPage
=
()
=>
{
return
(
<><
/
>
)
}
export
default
StudyPlanEditPage
\ No newline at end of file
client/src/pages/StudyPlanListPage.js
0 → 100644
View file @
6b50e528
const
StudyPlanListPage
=
()
=>
{
return
(
<><
/
>
)
}
export
default
StudyPlanListPage
\ No newline at end of file
client/src/pages/StudyPlanPage.js
0 → 100644
View file @
6b50e528
const
StudyPlanPage
=
()
=>
{
return
(
<><
/
>
)
}
export
default
StudyPlanPage
\ No newline at end of file
client/src/pages/SubjectEditPage.js
0 → 100644
View file @
6b50e528
const
SubjectEditPage
=
()
=>
{
return
(
<><
/
>
)
}
export
default
SubjectEditPage
\ No newline at end of file
client/src/pages/ToDoPage.js
0 → 100644
View file @
6b50e528
const
ToDoPage
=
()
=>
{
return
(
<><
/
>
)
}
export
default
ToDoPage
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment