30 lines
1014 B
TypeScript
30 lines
1014 B
TypeScript
import type { Metadata } from "next";
|
|
import Link from "next/link";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Page Not Found",
|
|
robots: { index: false, follow: false },
|
|
};
|
|
|
|
export default function NotFound() {
|
|
return (
|
|
<div className="min-h-screen flex flex-col items-center justify-center px-8">
|
|
<span className="text-8xl md:text-[12rem] font-black tracking-tighter text-transparent bg-clip-text bg-gradient-to-r from-primary to-primary-container leading-none">
|
|
404
|
|
</span>
|
|
<h1 className="text-2xl md:text-3xl font-bold mt-6 mb-3">
|
|
Page not found
|
|
</h1>
|
|
<p className="text-on-surface-variant mb-10 text-center max-w-md">
|
|
The page you're looking for doesn't exist or has been moved.
|
|
</p>
|
|
<Link
|
|
href="/"
|
|
className="bg-gradient-to-r from-primary to-primary-container text-on-primary px-8 py-3 rounded-lg font-bold hover:scale-105 transition-transform"
|
|
>
|
|
Back to Home
|
|
</Link>
|
|
</div>
|
|
);
|
|
}
|