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-06 17:15:14 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9bde460145f4f9fa8fdbda587c702d3a3dd19765
9bde4601
1 parent
46977e1b
style: Link tag style 추가
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
frontend/src/components/Login.js
frontend/src/components/Login.js
View file @
9bde460
import
React
from
'react'
;
import
{
Link
}
from
'react-router-dom'
;
import
styled
from
'styled-components'
;
import
palette
from
'../lib/styles/palette'
;
import
Button
from
'./common/Button'
;
...
...
@@ -80,6 +81,11 @@ const ButtonBlock = styled.div`
display: flex;
justify-content: space-between;
padding: 1rem;
a {
color:
${
palette
.
blue6
}
;
text-decoration: none;
}
`
;
const
Login
=
()
=>
{
...
...
@@ -96,7 +102,7 @@ const Login = () => {
<
div
className
=
"label"
>
Password
<
/div>
<
/InputBox>
<
ButtonBlock
>
<
div
>
홈으로
<
/div
>
<
Link
to
=
"/"
>
홈으로
<
/Link
>
<
Button
color
=
"blue"
>
로그인
<
/Button>
<
/ButtonBlock>
<
/FormBlock>
...
...
Please
register
or
login
to post a comment