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
butter-studio
Commits
b6c13c09
Commit
b6c13c09
authored
Jul 03, 2021
by
Kim, Subin
Browse files
AdminPage UI 만드는 중
parent
0b3ecfa8
Changes
5
Show whitespace changes
Inline
Side-by-side
client/src/App.js
View file @
b6c13c09
...
...
@@ -6,13 +6,14 @@ import MovieListPage from "./pages/MovieListPage";
import
MoviePage
from
"
./pages/MoviePage
"
;
import
TheaterPage
from
"
./pages/TheaterPage
"
;
import
MyPage
from
"
./pages/MyPage
"
;
import
AdminPage
from
"
./pages/AdminPage
"
;
import
AdminPage
from
"
./pages/AdminPage
/AdminPage
"
;
function
App
()
{
return
(
<
Router
>
<
Switch
>
<
Route
exact
path
=
"
/
"
component
=
{
HomePage
}
/
>
<
Route
path
=
"
/admin
"
component
=
{
AdminPage
}
/
>
<
/Switch
>
<
/Router
>
);
...
...
client/src/pages/AdminPage.js
deleted
100644 → 0
View file @
0b3ecfa8
const
AdminPage
=
()
=>
{
return
(
<
div
>
<
/div
>
)
}
export
default
AdminPage
\ No newline at end of file
client/src/pages/AdminPage/AdminLayout.js
0 → 100644
View file @
b6c13c09
const
AdminLayout
=
({
children
})
=>
{
return
(
<>
<
nav
className
=
"
navbar navbar-light bg-light
"
>
<
a
className
=
"
navbar-brand ms-5
"
href
=
"
/
"
>
<
img
src
=
"
/docs/5.0/assets/brand/bootstrap-logo.svg
"
alt
=
"
main
"
width
=
"
30
"
height
=
"
24
"
/>
<
/a
>
<
/nav
>
{
children
}
<
/
>
)
}
export
default
AdminLayout
\ No newline at end of file
client/src/pages/AdminPage/AdminPage.js
0 → 100644
View file @
b6c13c09
import
AdminLayout
from
"
./AdminLayout
"
;
const
AdminPage
=
()
=>
{
return
(
<
AdminLayout
>
<
/AdminLayout
>
)
}
export
default
AdminPage
\ No newline at end of file
client/src/pages/AdminPage/index.js
0 → 100644
View file @
b6c13c09
export
{
default
}
from
"
./AdminPage
"
\ 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