-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SKRF-111 design: Login Page 디자인 (#10)
* design: Login Page 디자인 * refactor: 코드리뷰 반영 * refactor: 코드리뷰 반영
- Loading branch information
1 parent
3015238
commit 838b2e9
Showing
5 changed files
with
113 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const LogoText = { | ||
SPACE_CLUB: 'Space Club', | ||
}; | ||
|
||
const Message = { | ||
WELCOME: '스페이스 클럽에 오신 걸 환영합니다!', | ||
}; | ||
|
||
export { LogoText, Message }; |
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,71 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
import Theme from '@styles/Theme'; | ||
|
||
const PageContainerStyled = styled.div` | ||
display: flex; | ||
height: 100vh; | ||
`; | ||
|
||
const LogoAreaStyled = styled.div` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 50%; | ||
min-width: 30rem; | ||
height: 100vh; | ||
min-height: 30rem; | ||
`; | ||
|
||
const LogoCircleStyled = styled.div` | ||
width: 28rem; | ||
height: 28rem; | ||
border-radius: 50%; | ||
background: linear-gradient( | ||
139deg, | ||
#012a36 10.1%, | ||
rgba(50, 51, 96, 0.78) 46.84%, | ||
rgba(113, 42, 124, 0.51) 69.53%, | ||
rgba(0, 221, 49, 0.15) 88.79% | ||
); | ||
overflow: hidden; | ||
`; | ||
|
||
const LogoTextStyled = styled.h1` | ||
display: flex; | ||
flex-direction: column; | ||
position: relative; | ||
top: 1rem; | ||
right: 3rem; | ||
color: ${Theme.color.logoTextColor}; | ||
text-align: end; | ||
font-size: 6.25rem; | ||
font-family: 'LogoFont'; | ||
`; | ||
|
||
const LoginAreaStyled = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
width: 50%; | ||
min-width: 30rem; | ||
height: 100vh; | ||
min-height: 30rem; | ||
font-family: 'MainBold'; | ||
`; | ||
|
||
const TitleStyled = styled.h1` | ||
padding: 0 10% 3rem 10%; | ||
font-weight: bold; | ||
font-size: large; | ||
`; | ||
|
||
export { | ||
PageContainerStyled, | ||
LogoAreaStyled, | ||
LogoCircleStyled, | ||
LogoTextStyled, | ||
LoginAreaStyled, | ||
TitleStyled, | ||
}; |
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,28 @@ | ||
import { LogoText, Message } from '@/constants/LoginPage'; | ||
|
||
import { | ||
LoginAreaStyled, | ||
LogoAreaStyled, | ||
LogoCircleStyled, | ||
LogoTextStyled, | ||
PageContainerStyled, | ||
TitleStyled, | ||
} from './LoginPage.style'; | ||
|
||
const LoginPage = () => { | ||
return ( | ||
<PageContainerStyled> | ||
<LogoAreaStyled> | ||
<LogoCircleStyled> | ||
<LogoTextStyled>{LogoText.SPACE_CLUB}</LogoTextStyled> | ||
</LogoCircleStyled> | ||
</LogoAreaStyled> | ||
<LoginAreaStyled> | ||
<TitleStyled>{Message.WELCOME}</TitleStyled> | ||
<button>Login with Kakao</button> | ||
</LoginAreaStyled> | ||
</PageContainerStyled> | ||
); | ||
}; | ||
|
||
export default LoginPage; |
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import React from 'react'; | ||
|
||
const MainPage = () => { | ||
return <div>main</div>; | ||
}; | ||
|
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