-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #401 from depromeet/hotfix/391/EmptyItem
hotfix: #391 Add PendingAnalysisPeople
- Loading branch information
Showing
2 changed files
with
57 additions
and
6 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
36 changes: 36 additions & 0 deletions
36
apps/web/src/component/retrospect/analysis/PendingAnalysisingComp.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,36 @@ | ||
import { css } from "@emotion/react"; | ||
|
||
import { Icon } from "@/component/common/Icon"; | ||
import { Spacing } from "@/component/common/Spacing"; | ||
import { Typography } from "@/component/common/typography"; | ||
|
||
export function PendingAnalysisingComp({ pendingPeople }: { pendingPeople: number }) { | ||
return ( | ||
<div | ||
css={css` | ||
height: 100dvh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
`} | ||
> | ||
<Icon icon="ic_clock" size={8} /> | ||
<Spacing size={2} /> | ||
<Typography | ||
variant="title18Bold" | ||
color="gray900" | ||
css={css` | ||
text-align: center; | ||
`} | ||
> | ||
{pendingPeople}명이 더 작성하면 <br /> | ||
분석 확인이 가능해요! | ||
</Typography> | ||
<Spacing size={3} /> | ||
<Typography variant="body16Medium" color="gray500"> | ||
모두 회고를 제출한 후에 분석을 시작할게요 | ||
</Typography> | ||
</div> | ||
); | ||
} |