-
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 2 commits
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,69 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
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: #ffffff; | ||
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 as ContainerStyled, | ||
LogoAreaStyled, | ||
LogoCircleStyled, | ||
LogoTextStyled, | ||
LoginAreaStyled, | ||
TitleStyled, | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
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>{LogoText.SPACE_CLUB}</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. p2; |
||
<button>Login with Kakao</button> | ||
</LoginAreaStyled> | ||
</ContainerStyled> | ||
); | ||
}; | ||
|
||
export default LoginPage; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
import React from 'react'; | ||
|
||
import LoginPage from './LoginPage/LoginPage'; | ||
|
||
const MainPage = () => { | ||
return <div>main</div>; | ||
return ( | ||
<div> | ||
<LoginPage /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default MainPage; |
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.
font-style
,font-weight
적용되는지 확인 부탁드립니당:)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.
확인 결과 적용 안 됩니다...!