This commit is contained in:
Timo Knuth 2026-01-13 16:43:58 +01:00
parent 9746fb970d
commit b63f5f424e
2 changed files with 111 additions and 109 deletions

View File

@ -17,6 +17,8 @@ export default function Error({
}, [error]);
return (
<html lang="en">
<body>
<div className="min-h-screen bg-white flex items-center justify-center px-4">
<div className="max-w-2xl w-full text-center">
{/* Error Icon */}
@ -115,5 +117,7 @@ export default function Error({
</div>
</div>
</div>
</body>
</html>
);
}

View File

@ -1,6 +1,6 @@
import React from 'react';
import Link from 'next/link';
import { Button } from '@/components/ui/Button';
import '@/styles/globals.css';
@ -41,8 +41,7 @@ export default function NotFound() {
{/* Action Button */}
<div className="flex justify-center">
<Link href="/">
<Button size="lg">
<Link href="/" className="inline-flex items-center justify-center px-4 py-2 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500">
<svg
className="w-5 h-5 mr-2"
fill="none"
@ -58,7 +57,6 @@ export default function NotFound() {
/>
</svg>
Back to Home
</Button>
</Link>
</div>
</div>