chore(ops): harden deployment and runtime setup
This commit is contained in:
parent
1d7e7c41c9
commit
c35bd5877e
30 changed files with 534 additions and 61 deletions
18
app/global-error.tsx
Normal file
18
app/global-error.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
"use client";
|
||||
|
||||
export default function GlobalErrorPage({ reset }: { error: Error & { digest?: string }; reset: () => void }) {
|
||||
return (
|
||||
<html lang="de">
|
||||
<body>
|
||||
<section className="error-page">
|
||||
<div className="error-card">
|
||||
<p className="eyebrow">Runtime</p>
|
||||
<h1>Ein unerwarteter Fehler ist aufgetreten</h1>
|
||||
<p className="lead">Die Anwendung konnte diesen Bereich nicht laden. Bitte versuchen Sie es erneut.</p>
|
||||
<button className="button" type="button" onClick={reset}>Erneut versuchen</button>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue