Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
students
Today KU
Commits
0254fa6b
Commit
0254fa6b
authored
Oct 07, 2021
by
Kim, Subin
Browse files
모바일 화면으로 맞추기
parent
d3e4910c
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/App.js
View file @
0254fa6b
...
...
@@ -9,15 +9,15 @@ import Err from "./pages/ErrorPage";
function
App
()
{
return
(
<
Router
basename
=
{
process
.
env
.
PUBLIC_URL
}
>
<
Switch
>
<
div
style
=
{{
width
:
"
400px
"
}}
>
<
Route
path
=
"
/
"
component
=
{
Err
}
/
>
<
div
className
=
"
mx-auto
"
style
=
{{
width
:
"
400px
"
}}
>
<
Switch
>
<
Route
exact
path
=
"
/
"
component
=
{
Err
}
/
>
<
Route
path
=
"
/home
"
component
=
{
HomePage
}
/
>
<
Route
path
=
"
/schedule/edit
"
component
=
{
ScheduleEditPage
}
/
>
<
Route
path
=
"
/schedule
"
component
=
{
SchedulePage
}
/
>
{
/*
<PrivateRoute path="/admin" component={AdminPage} role="admin" />
*/
}
<
/
div
>
<
/
Switch
>
<
PrivateRoute
path
=
"
/admin
"
component
=
{
AdminPage
}
role
=
"
admin
"
/>
<
/
Switch
>
<
/
div
>
<
/Router
>
);
}
...
...
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