-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from SWDC-Team-GG/younghyun
로그인 페이지 퍼블리싱
- Loading branch information
Showing
5 changed files
with
59 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import logo from "assets/logo.svg"; | ||
import * as S from "./style"; | ||
|
||
function Login() { | ||
return ( | ||
<S.Layout> | ||
<S.Logo src={logo} /> | ||
<S.LogoText>readable</S.LogoText> | ||
<S.Input placeholder="아이디" /> | ||
<S.Input placeholder="비밀번호" /> | ||
<S.Login>로그인</S.Login> | ||
</S.Layout> | ||
); | ||
} | ||
|
||
export default Login; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import styled from "styled-components"; | ||
|
||
export const Layout = styled.form` | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
height: 80vh; | ||
gap: 2rem; | ||
`; | ||
|
||
export const Logo = styled.img` | ||
width: 6.5%; | ||
`; | ||
|
||
export const LogoText = styled.div` | ||
font-size: 2.5rem; | ||
font-weight: bold; | ||
color: #314fdd; | ||
`; | ||
|
||
export const Input = styled.input` | ||
width: 20%; | ||
font-size: 1.1rem; | ||
padding: 1rem 0.5rem; | ||
border-radius: 5px; | ||
border: 1px solid black; | ||
`; | ||
|
||
export const Login = styled.button` | ||
border-radius: 5px; | ||
padding: 1rem 2rem; | ||
border: none; | ||
background-color: #314fdd; | ||
color: white; | ||
`; |