Skip to content

Commit

Permalink
Add 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
pahans committed May 21, 2024
1 parent 1311d94 commit 72afb80
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Button } from "@/components/ui/button";
import Link from "next/link";

const NotFound = () => {
return (
<div className="text-center space-y-10">
<h2>Not Found</h2>
<p>Could not find requested resource</p>
<Button asChild>
<Link href="/">Return Home</Link>
</Button>
</div>
);
};

export default NotFound;

0 comments on commit 72afb80

Please sign in to comment.