Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7fde675ee0 | ||
|
|
65f3a28435 | ||
|
|
5822ceb7c4 | ||
|
|
52fcf579ad | ||
|
|
4ef3b4267d |
+1221
File diff suppressed because it is too large
Load Diff
+18
-20
@@ -1,25 +1,23 @@
|
|||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { getTranslations } from 'next-intl/server';
|
|
||||||
import { defaultLocale } from '@/i18n/config';
|
|
||||||
|
|
||||||
export default async function NotFound() {
|
|
||||||
const t = await getTranslations('pages.notfound');
|
|
||||||
|
|
||||||
|
export default function NotFound() {
|
||||||
return (
|
return (
|
||||||
<div className="bg-zinc-900 text-zinc-50 min-h-screen flex items-center justify-center">
|
<html lang="de">
|
||||||
<div className="text-center px-4">
|
<body className="bg-zinc-900 text-zinc-50 min-h-screen flex items-center justify-center">
|
||||||
<h1 className="text-6xl font-bold mb-4">404</h1>
|
<div className="text-center px-4">
|
||||||
<h2 className="text-2xl font-semibold mb-4">{t('title')}</h2>
|
<h1 className="text-6xl font-bold mb-4">404</h1>
|
||||||
<p className="text-zinc-400 mb-8">
|
<h2 className="text-2xl font-semibold mb-4">Page Not Found</h2>
|
||||||
{t('description')}
|
<p className="text-zinc-400 mb-8">
|
||||||
</p>
|
The page you are looking for does not exist or has been moved.
|
||||||
<Link
|
</p>
|
||||||
href={`/${defaultLocale}`}
|
<Link
|
||||||
className="px-6 py-3 bg-white text-zinc-900 hover:bg-zinc-200 rounded-lg transition-colors inline-block font-medium"
|
href="/de"
|
||||||
>
|
className="px-6 py-3 bg-blue-600 hover:bg-blue-700 text-white rounded-lg transition-colors inline-block"
|
||||||
{t('backHome')}
|
>
|
||||||
</Link>
|
Go to Homepage
|
||||||
</div>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user