-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17 Added 404 page, added new icon for 404 page, added svg webpack loader
- Loading branch information
1 parent
e00eb8f
commit b79460c
Showing
6 changed files
with
1,282 additions
and
22 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,24 @@ | ||
'use client'; | ||
|
||
import NotFoundIcon from '@/public/assets/icons/404.svg'; | ||
import { useRouter } from 'next/navigation'; | ||
|
||
export default function NotFoundPage() { | ||
const router = useRouter(); | ||
|
||
return ( | ||
<div className="flex h-screen w-full items-center justify-center gap-4 p-4"> | ||
<div className="flex flex-col items-center justify-center gap-4"> | ||
<NotFoundIcon className="size-48" /> | ||
<p className="max-w-md text-center text-sm"> | ||
Looks like you`ve stumbled upon a page that`s playing hide and seek | ||
with us. Don`t worry, it happens to the best of us. But fear not, | ||
we`re here to help you get back on track! | ||
</p> | ||
<button onClick={() => router.push('/')} className="btn"> | ||
Go back home | ||
</button> | ||
</div> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.