Commit aa3619c4 authored by Jiwon Yoon's avatar Jiwon Yoon
Browse files

login,signup,admin

parent 6da1d58d
...@@ -23,6 +23,7 @@ function App() { ...@@ -23,6 +23,7 @@ function App() {
<Route path="/login" component={LoginPage} /> <Route path="/login" component={LoginPage} />
<Route path="/signup" component={SignupPage} /> <Route path="/signup" component={SignupPage} />
<Route path="/movie" component={MovieListPage} /> <Route path="/movie" component={MovieListPage} />
<Route path="/admin" component={AdminPage}/>
</Switch> </Switch>
</Router> </Router>
</div> </div>
......
const SubNav = () => { const SubNav = () => {
return ( return (
<nav class="nav justify-content-end py-1"> <nav class="nav justify-content-end py-1">
<a class="nav-link text-white" href="#">로그인</a> <a class="nav-link text-white" href="/login">로그인</a>
<a class="nav-link text-white" href="#">회원가입</a> <a class="nav-link text-white" href="/signup">회원가입</a>
</nav> </nav>
) )
} }
......
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