Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
GCL_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
안형욱
2021-05-10 17:19:26 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
18ff2abbaa40f805007cd60b14400da3e9bb0d26
18ff2abb
1 parent
c95ab355
feat: 로그인 버튼 클릭시 로그인 페이지 이동
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
frontend/src/pages/HomePage.js
frontend/src/pages/HomePage.js
View file @
18ff2ab
import
React
from
'react'
;
import
styled
from
'styled-components'
;
import
{
Link
}
from
'react-router-dom'
;
import
Button
from
'../components/common/Button'
;
import
DropDownButton
from
'../components/common/DropdownButton'
;
import
Input
from
'../components/common/Input'
;
...
...
@@ -40,7 +41,9 @@ const HomePage = () => {
{
/* Todo : 로그인 했을 경우 로그인 버튼 숨기기 */
}
<
LoginButtonBlock
>
<
Link
to
=
"/login"
>
<
Button
>
로그인
<
/Button>
<
/Link>
<
/LoginButtonBlock>
<
/Main>
);
...
...
Please
register
or
login
to post a comment