Skip to content

Commit

Permalink
feat: 유저 페이지 not-found.tsx 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
hanyugeon committed Jul 30, 2024
1 parent d66d4b5 commit ff37432
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/app/profile/[userId]/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import Link from 'next/link';
import Image from 'next/image';

import Button from '@/components/common/Button';

export default function NotFound() {
return (
<div className="absolute left-0 top-0 flex h-full w-full flex-col items-center justify-center gap-[2rem]">
<Image src="/images/loading.gif" width={230} height={160} alt="loading" />
<p className="font-heading-bold">
<span className="font-bold text-main-900">다독이</span>가 길을 잃었어요.
</p>
<Link href="/bookarchive">
<Button size="large" colorScheme="main" fill={false}>
홈으로 가기
</Button>
</Link>
</div>
);
}

0 comments on commit ff37432

Please sign in to comment.