Frontend/src/app/not-found.tsx

18 lines
488 B
TypeScript

import Link from "next/link";
import { Button } from "@/app/components/ui/button";
import { ReactElement } from "react";
export default function NotFound(): ReactElement {
return (
<div className="flex text-center flex-col gap-4">
<div>
<h2 className="text-red-400 font-2xl font-semibold">Not Found</h2>
<p>The page you are looking for was not found.</p>
</div>
<Link href="/">
<Button>Return Home</Button>
</Link>
</div>
);
}