Showing
1 changed file
with
3 additions
and
0 deletions
| 1 | import React from 'react'; | 1 | import React from 'react'; |
| 2 | import styled from 'styled-components'; | 2 | import styled from 'styled-components'; |
| 3 | +import { Link } from 'react-router-dom'; | ||
| 3 | import Button from '../components/common/Button'; | 4 | import Button from '../components/common/Button'; |
| 4 | import DropDownButton from '../components/common/DropdownButton'; | 5 | import DropDownButton from '../components/common/DropdownButton'; |
| 5 | import Input from '../components/common/Input'; | 6 | import Input from '../components/common/Input'; |
| ... | @@ -40,7 +41,9 @@ const HomePage = () => { | ... | @@ -40,7 +41,9 @@ const HomePage = () => { |
| 40 | 41 | ||
| 41 | {/* Todo : 로그인 했을 경우 로그인 버튼 숨기기 */} | 42 | {/* Todo : 로그인 했을 경우 로그인 버튼 숨기기 */} |
| 42 | <LoginButtonBlock> | 43 | <LoginButtonBlock> |
| 44 | + <Link to="/login"> | ||
| 43 | <Button>로그인</Button> | 45 | <Button>로그인</Button> |
| 46 | + </Link> | ||
| 44 | </LoginButtonBlock> | 47 | </LoginButtonBlock> |
| 45 | </Main> | 48 | </Main> |
| 46 | ); | 49 | ); | ... | ... |
-
Please register or login to post a comment