-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SKRF-111 design: Login Page 디자인 #10
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 }; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
const ContainerStyled = 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.div` | ||
display: flex; | ||
flex-direction: column; | ||
position: relative; | ||
top: 1rem; | ||
right: 3rem; | ||
color: #ffffff; | ||
text-align: end; | ||
font-size: 6.25rem; | ||
font-style: normal; | ||
font-family: 'LogoFont'; | ||
font-weight: 400; | ||
line-height: normal; | ||
`; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 확인 결과 적용 안 됩니다...! |
||
|
||
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.div` | ||
padding: 0 10% 3rem 10%; | ||
font-weight: bold; | ||
font-size: large; | ||
`; | ||
|
||
export { | ||
ContainerStyled, | ||
LogoAreaStyled, | ||
LogoCircleStyled, | ||
LogoTextStyled, | ||
LoginAreaStyled, | ||
TitleStyled, | ||
}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. p1; There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ㅋㅋ; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { LogoText, Message } from '@/constants/LoginPage'; | ||
|
||
import { | ||
ContainerStyled, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. p2; There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 요거는 그대로 가시나요? |
||
LoginAreaStyled, | ||
LogoAreaStyled, | ||
LogoCircleStyled, | ||
LogoTextStyled, | ||
TitleStyled, | ||
} from './LoginPage.style'; | ||
|
||
const LoginPage = () => { | ||
return ( | ||
<ContainerStyled> | ||
<LogoAreaStyled> | ||
<LogoCircleStyled> | ||
<LogoTextStyled> | ||
<span>{LogoText.SPACE_CLUB}</span> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. p2; |
||
</LogoTextStyled> | ||
</LogoCircleStyled> | ||
</LogoAreaStyled> | ||
<LoginAreaStyled> | ||
<TitleStyled>{Message.WELCOME}</TitleStyled> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. p3; There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 그렇네요! 감사합니다 ! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. p2; |
||
<button>Login with Kakao</button> | ||
</LoginAreaStyled> | ||
</ContainerStyled> | ||
); | ||
}; | ||
|
||
export default LoginPage; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import React from 'react'; | ||
|
||
const RegisterPage = () => { | ||
return <div></div>; | ||
return <div>register</div>; | ||
}; | ||
|
||
export default RegisterPage; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p4;
normal보다는 rem을 통해 구체적인 수치를 지정해주는게 좋다고 생각하는데 어떠신가요?.?