Skip to content

Commit

Permalink
feat: add 404 page (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndom91 authored Nov 27, 2024
1 parent 19c0ff4 commit a22656e
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
20 changes: 20 additions & 0 deletions app/(docs)/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import Link from "next/link"

export default function NotFound() {
return (
<div className="grid w-full min-w-0 max-w-[var(--fd-page-width)] flex-col place-items-center md:transition-[max-width]">
<div className="prose flex flex-col gap-4 lg:flex-row">
<div className="flex flex-col justify-center">
<h2 className="text-3xl font-bold">Page Not Found</h2>
<p>
Could not find requested resource, please
<br />
try again later or <Link href="/">return home</Link>.
</p>
</div>

<img src="/img/markus-broke.svg" className="mx-auto" />
</div>
</div>
)
}
30 changes: 30 additions & 0 deletions public/img/markus-broke.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a22656e

Please sign in to comment.