Commit b6c13c09 authored by Kim, Subin's avatar Kim, Subin
Browse files

AdminPage UI 만드는 중

parent 0b3ecfa8
......@@ -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>
);
......
const AdminPage = () => {
return (
<div>
</div>
)
}
export default AdminPage
\ No newline at end of file
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
import AdminLayout from "./AdminLayout";
const AdminPage = () => {
return (
<AdminLayout>
</AdminLayout>
)
}
export default AdminPage
\ No newline at end of file
export { default } from "./AdminPage"
\ 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