-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
138 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
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
72 changes: 72 additions & 0 deletions
72
apps/admin/src/pages/SignUpComplete/SignUpCompletePage.styles.ts
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,72 @@ | ||
import styled from '@emotion/styled'; | ||
import { Link } from 'react-router-dom'; | ||
|
||
const SignUpCompletePage = styled.div` | ||
width: 100vw; | ||
height: 100vh; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: ${({ theme }) => theme.palette.grey.g20}; | ||
`; | ||
|
||
const SignUpCompleteContent = styled.div``; | ||
|
||
const Card = styled.div` | ||
width: 600px; | ||
background-color: ${({ theme }) => theme.palette.grey.w}; | ||
box-shadow: 0px 8px 14px 0px #8b8b8b26; | ||
margin-bottom: 40px; | ||
border-radius: 8px; | ||
`; | ||
|
||
const CardContent = styled.div` | ||
padding: 60px 0; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
`; | ||
|
||
const CardContentTitle = styled.h3` | ||
${({ theme }) => theme.typo.h3}; | ||
color: ${({ theme }) => theme.palette.grey.g90}; | ||
text-align: center; | ||
margin-bottom: 4px; | ||
`; | ||
|
||
const CardContentDescription = styled.p` | ||
${({ theme }) => theme.typo.b3}; | ||
color: ${({ theme }) => theme.palette.grey.g70}; | ||
margin-bottom: 40px; | ||
`; | ||
|
||
const CardContentLink = styled(Link)` | ||
${({ theme }) => theme.typo.b3}; | ||
color: ${({ theme }) => theme.palette.grey.g70}; | ||
font-weight: 600; | ||
text-decoration: underline; | ||
margin-bottom: 40px; | ||
`; | ||
|
||
const StartButton = styled.button` | ||
width: 388px; | ||
height: 48px; | ||
display: inline-flex; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: ${({ theme }) => theme.palette.primary.o1}; | ||
color: ${({ theme }) => theme.palette.grey.w}; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
`; | ||
|
||
export default { | ||
SignUpCompletePage, | ||
SignUpCompleteContent, | ||
Card, | ||
CardContent, | ||
CardContentTitle, | ||
CardContentDescription, | ||
CardContentLink, | ||
StartButton, | ||
}; |
47 changes: 47 additions & 0 deletions
47
apps/admin/src/pages/SignUpComplete/SignUpCompletePage.tsx
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,47 @@ | ||
import { useNavigate } from 'react-router-dom'; | ||
import Styled from './SignUpCompletePage.styles'; | ||
|
||
const SignUpCompletePage = () => { | ||
const navigate = useNavigate(); | ||
|
||
return ( | ||
<Styled.SignUpCompletePage> | ||
<Styled.SignUpCompleteContent> | ||
<Styled.Card> | ||
<Styled.CardContent> | ||
{/* Note: 추후 이미지 교체 */} | ||
<div | ||
style={{ | ||
width: '388px', | ||
height: '230px', | ||
backgroundColor: '#F2F3F5', | ||
marginBottom: '28px', | ||
}} | ||
> | ||
img | ||
</div> | ||
<Styled.CardContentTitle>어서오세요 %사용자명%님!</Styled.CardContentTitle> | ||
<Styled.CardContentDescription> | ||
원활한 이용을 위해{' '} | ||
<Styled.CardContentLink to="https://naver.com"> | ||
서비스 이용약관 | ||
</Styled.CardContentLink>{' '} | ||
확인 후 동의해주세요. | ||
</Styled.CardContentDescription> | ||
<Styled.StartButton | ||
onClick={() => { | ||
navigate('/home'); | ||
}} | ||
> | ||
약관 동의하고 시작하기 | ||
</Styled.StartButton> | ||
</Styled.CardContent> | ||
</Styled.Card> | ||
{/* Note: 추후 로고로 교체 */} | ||
<p style={{ textAlign: 'center' }}>Boolti logo</p> | ||
</Styled.SignUpCompleteContent> | ||
</Styled.SignUpCompletePage> | ||
); | ||
}; | ||
|
||
export default SignUpCompletePage; |