42 lines
1.4 KiB
TypeScript
42 lines
1.4 KiB
TypeScript
import type { Metadata } from "next";
|
|
import Link from "next/link";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Seite nicht gefunden",
|
|
description: "Die aufgerufene Seite existiert nicht oder wurde verschoben.",
|
|
robots: { index: false, follow: false },
|
|
};
|
|
|
|
export default function NotFound() {
|
|
return (
|
|
<div
|
|
className="flex flex-col items-center justify-center text-center section-full"
|
|
style={{ minHeight: "70vh", paddingBlock: "80px" }}
|
|
>
|
|
<span
|
|
className="text-[11px] font-semibold uppercase tracking-widest chamfer-badge px-3 py-1 mb-6"
|
|
style={{ background: "var(--accent-yellow-light)", color: "var(--text-secondary)" }}
|
|
>
|
|
404
|
|
</span>
|
|
<h1
|
|
className="text-[42px] font-bold leading-tight mb-4"
|
|
style={{ color: "var(--text-primary)" }}
|
|
>
|
|
Seite nicht gefunden
|
|
</h1>
|
|
<p className="text-[18px] mb-8 max-w-md" style={{ color: "var(--text-secondary)" }}>
|
|
Diese Seite existiert leider nicht. Vielleicht wurde sie verschoben oder der Link ist
|
|
falsch.
|
|
</p>
|
|
<Link
|
|
href="/"
|
|
className="inline-flex items-center justify-center rounded-[var(--radius-button)] text-[15px] font-semibold text-[var(--text-primary)] hover:bg-[var(--accent-yellow-dark)] transition-colors"
|
|
style={{ background: "var(--accent-yellow)", padding: "12px 24px" }}
|
|
>
|
|
Zurück zur Startseite
|
|
</Link>
|
|
</div>
|
|
);
|
|
}
|