From b63f5f424e9851bc8d9cdc49dc4dfb12da6dbe0d Mon Sep 17 00:00:00 2001 From: Timo Knuth Date: Tue, 13 Jan 2026 16:43:58 +0100 Subject: [PATCH] Fehler.. --- src/app/error.tsx | 184 +++++++++++++++++++++--------------------- src/app/not-found.tsx | 36 ++++----- 2 files changed, 111 insertions(+), 109 deletions(-) diff --git a/src/app/error.tsx b/src/app/error.tsx index 1d99b54..e0ce5a9 100644 --- a/src/app/error.tsx +++ b/src/app/error.tsx @@ -17,103 +17,107 @@ export default function Error({ }, [error]); return ( -
-
- {/* Error Icon */} -
-
- - - -
+ + +
+
+ {/* Error Icon */} +
+
+ + + +
- {/* Error Text */} -

500

-

- Something Went Wrong -

-

- We're sorry, but something unexpected happened. Our team has been notified and is working on a fix. -

- - {/* Error Details (only in development) */} - {process.env.NODE_ENV === 'development' && error.message && ( -
-

- Error: {error.message} + {/* Error Text */} +

500

+

+ Something Went Wrong +

+

+ We're sorry, but something unexpected happened. Our team has been notified and is working on a fix.

- {error.digest && ( -

- Digest: {error.digest} -

+ + {/* Error Details (only in development) */} + {process.env.NODE_ENV === 'development' && error.message && ( +
+

+ Error: {error.message} +

+ {error.digest && ( +

+ Digest: {error.digest} +

+ )} +
)}
- )} -
- {/* Action Buttons */} -
- + {/* Action Buttons */} +
+ - - - -
+ + + +
- {/* Help Text */} -
-

- If this problem persists, please{' '} - - check our FAQ - - {' '}or contact support. -

+ {/* Help Text */} +
+

+ If this problem persists, please{' '} + + check our FAQ + + {' '}or contact support. +

+
+
-
-
+ + ); } diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 2ae0897..dbafe4f 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -1,6 +1,6 @@ import React from 'react'; import Link from 'next/link'; -import { Button } from '@/components/ui/Button'; + import '@/styles/globals.css'; @@ -41,24 +41,22 @@ export default function NotFound() { {/* Action Button */}
- - + + + + + Back to Home