Updated header and added not found page

This commit is contained in:
2025-09-02 23:57:35 +02:00
parent 32d34a0ff5
commit 573492ba14
5 changed files with 44 additions and 23 deletions

22
src/app/not-found.tsx Normal file
View File

@@ -0,0 +1,22 @@
import Header from "@/components/header"
import { Button } from "@/components/ui/button"
import { ArrowLeftIcon } from "lucide-react"
import Link from "next/link"
export default function NotFound() {
return (
<div>
<Header searchBar />
<main className="flex flex-col items-center pt-header">
<Button className="self-start mt-4 ml-4" variant="secondary" asChild>
<Link href="/">
<ArrowLeftIcon />
Back to Main page
</Link>
</Button>
<h1 className="pt-20 text-3xl font-bold max-w-fit">404</h1>
<h1 className="text-3xl font-bold max-w-fit">Page not found</h1>
</main>
</div>
)
}