not-found.tsx 737 B

12345678910111213141516171819202122
  1. import Link from "next/link";
  2. import { Header } from "@/components/header";
  3. export default function NotFound() {
  4. return (
  5. <div className="flex min-h-screen flex-col">
  6. <Header />
  7. <main className="flex flex-1 flex-col items-center justify-center gap-4 px-4 text-center">
  8. <h1 className="text-6xl font-bold tracking-tight">404</h1>
  9. <p className="text-lg text-muted-foreground">
  10. This page could not be found.
  11. </p>
  12. <Link
  13. href="/"
  14. className="mt-2 inline-flex items-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 transition-colors"
  15. >
  16. Go home
  17. </Link>
  18. </main>
  19. </div>
  20. );
  21. }