-
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
41 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { AspectRatio } from "@repo/design-system/AspectRatio"; | ||
import { Image } from "@repo/design-system/Image"; | ||
import { Text } from "@repo/design-system/Text"; | ||
import { CenterStack } from "@repo/ui/CenterStack"; | ||
import { Spacing } from "@repo/ui/Spacing"; | ||
import { Stack } from "@repo/ui/Stack"; | ||
|
||
export const NotificationEmpty = () => { | ||
return ( | ||
<Stack className=" w-full h-full mt-[100px]"> | ||
<CenterStack className="h-full w-full px-[116px]"> | ||
<AspectRatio> | ||
<Image src={EMPTY_FALLBACK} alt="list empty fallback image" objectfit={"fill"} /> | ||
</AspectRatio> | ||
<Spacing className=" h-[39px]" /> | ||
</CenterStack> | ||
<Text variant={"body/18_sb"} className=" text-gray-600 text-center"> | ||
받은 알림이 없어요 | ||
</Text> | ||
</Stack> | ||
); | ||
}; | ||
|
||
const EMPTY_FALLBACK = "/images/notification/notification_empty.webp"; |
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,15 @@ | ||
import { TopNavigation } from "@repo/design-system/TopNavigation"; | ||
import { Stack } from "@repo/ui/Stack"; | ||
import { NotificationEmpty } from "~/features/notification/NotificationEmpty"; | ||
|
||
export default function Notification() { | ||
return ( | ||
<Stack className="w-full h-full"> | ||
<TopNavigation.Root className="w-full" left={<TopNavigation.Back />}> | ||
<TopNavigation.Title>알림</TopNavigation.Title> | ||
</TopNavigation.Root> | ||
|
||
<NotificationEmpty /> | ||
</Stack> | ||
); | ||
} |