-
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
2 changed files
with
29 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,29 @@ | ||
import MainContainer from '@/components/shared/MainContainer'; | ||
import Image from 'next/image'; | ||
import { useRouter } from 'next/router'; | ||
import React from 'react'; | ||
|
||
const NotFoundPage = () => { | ||
const router = useRouter(); | ||
return ( | ||
<MainContainer> | ||
<Image | ||
src="/404img.gif" | ||
width={500} | ||
height={500} | ||
alt="404" | ||
className="mt-[160px]" | ||
/> | ||
<div className="flex items-center justify-center text-3xl font-extrabold"> | ||
페이지가 존재하지 않습니다. | ||
</div> | ||
<div | ||
onClick={() => router.replace('/')} | ||
className="cursor-pointer mt-16 mx-auto rounded-lg w-[360px] h-12 bg-space-purple text-white text-xl font-semibold flex items-center justify-center"> | ||
홈으로 | ||
</div> | ||
</MainContainer> | ||
); | ||
}; | ||
|
||
export default NotFoundPage; |