-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Feat] 완료 페이지 구현 #77
Merged
Merged
[Feat] 완료 페이지 구현 #77
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
bbab788
:dizzy: 로띠 라이브러리 추가
woobottle 43a80cb
:bug: 로띠 라이브러리 제거
woobottle 35c303a
:art: 로띠 라이브러리 추가
woobottle 33aec60
:art: 로띠 라이브러리 제거
woobottle 112b236
:art: 로띠 라이브러리 추가
woobottle 088b61a
:art: 로띠 예시 추가
woobottle b79e42f
:art: 완료페이지 추가
woobottle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+30.4 MB
...-darwin-x64-npm-13.4.19-39dbd25b1a-10.zip → ...arwin-arm64-npm-13.4.19-fca715fb2a-10.zip
Binary file not shown.
Binary file renamed
BIN
+13.4 MB
...e-darwin-x64-npm-1.3.99-8989f94d5b-10.zip → ...darwin-arm64-npm-1.3.99-8536dce105-10.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 { type PropsWithChildren } from 'react'; | ||
import { css } from '@styled-system/css'; | ||
|
||
export default function Layout({ children }: PropsWithChildren) { | ||
return <div className={containerCss}>{children}</div>; | ||
} | ||
|
||
const containerCss = css({ | ||
maxWidth: '475px', | ||
margin: '0 auto', | ||
minHeight: '100vh', | ||
|
||
display: 'flex', | ||
flexDirection: 'column', | ||
flex: 1, | ||
}); |
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 @@ | ||
'use client'; | ||
import lottieJson from '@/assets/lotties/lottieExample.json'; | ||
import Button from '@/components/Button/Button'; | ||
import { css } from '@styled-system/css'; | ||
import Lottie from 'react-lottie-player'; | ||
|
||
export default function CompletePage() { | ||
return ( | ||
<main className={mainWrapperCss}> | ||
<div className={containerCss}> | ||
<div className={contentWrapperCss}> | ||
<div className={titleWrapperCss}> | ||
<span className={titleCss}>오늘의 미션완료!</span> | ||
<span className={subTitleCss}>{'잘 하셨어요, 오늘도 한 걸음 성장하셨네요 :)'}</span> | ||
</div> | ||
<div className={lottieWrapperCss}> | ||
<Lottie loop animationData={lottieJson} play /> | ||
</div> | ||
</div> | ||
<Button type="button" size="large" variant="primary"> | ||
<span className={buttonTextCss}>확인</span> | ||
</Button> | ||
</div> | ||
</main> | ||
); | ||
} | ||
|
||
const mainWrapperCss = css({ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
backgroundColor: 'bg.surface2', | ||
height: '100vh', | ||
}); | ||
|
||
const containerCss = css({ | ||
display: 'flex', | ||
flex: 1, | ||
flexDirection: 'column', | ||
justifyContent: 'space-between', | ||
padding: '16px 24px', | ||
}); | ||
|
||
const contentWrapperCss = css({ | ||
flex: 1, | ||
justifyContent: 'center', | ||
display: 'flex', | ||
flexDirection: 'column', | ||
gap: '25px', | ||
}); | ||
|
||
const titleWrapperCss = css({ | ||
display: 'flex', | ||
flexDirection: 'column', | ||
textAlign: 'center', | ||
gap: '4px', | ||
}); | ||
|
||
const titleCss = css({ | ||
textStyle: 'title2', | ||
color: 'text.primary', | ||
}); | ||
|
||
const subTitleCss = css({ | ||
textStyle: 'body2', | ||
color: 'text.secondary', | ||
}); | ||
|
||
const lottieWrapperCss = css({}); | ||
|
||
const buttonTextCss = css({ | ||
textStyle: 'subtitle4', | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
굿