-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
ae12368
commit 249020d
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 { Button } from '@/shared/components/ui/button' | ||
import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/shared/components/ui/dialog' | ||
import Text from '@/shared/components/ui/text' | ||
import Image from 'next/image' | ||
|
||
interface Props { | ||
open: boolean | ||
onOpenChange: (value: boolean) => void | ||
} | ||
|
||
const FinishedBombDialog = ({ open, onOpenChange }: Props) => { | ||
return ( | ||
<Dialog open={open} onOpenChange={onOpenChange}> | ||
<DialogContent | ||
displayCloseButton={false} | ||
onPointerDownOutside={(e) => { | ||
e.preventDefault() | ||
}} | ||
className="flex flex-col px-[24px] pb-[24px] pt-[28px]" | ||
> | ||
<DialogHeader className="flex-center mb-[8px] flex-col"> | ||
<Image | ||
src={'/images/bomb-complete.png'} | ||
alt="" | ||
width={83.1} | ||
height={139} | ||
className="mb-[24px]" | ||
/> | ||
<DialogTitle className="flex items-center gap-[16px]"> | ||
<Text typography="title3">모든 오답을 터뜨렸어요!</Text> | ||
</DialogTitle> | ||
</DialogHeader> | ||
|
||
<Text typography="text1-regular" color="sub" className="text-center"> | ||
틀렸던 문제를 모두 복습했으니 <br /> | ||
픽토스님의 실력은 더 상승할 거예요 | ||
</Text> | ||
|
||
<Button onClick={() => onOpenChange(false)} className="mt-[36px] w-full"> | ||
확인 | ||
</Button> | ||
</DialogContent> | ||
</Dialog> | ||
) | ||
} | ||
|
||
export default FinishedBombDialog |
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