pre-bemis

This commit is contained in:
Marcelo
2026-04-22 05:04:19 +00:00
parent ac1a7900c8
commit 80d27f83b6
91 changed files with 11769 additions and 820 deletions

37
app/global-error.tsx Normal file
View File

@@ -0,0 +1,37 @@
"use client";
export default function GlobalError({
error,
reset,
}: {
error: Error & { digest?: string };
reset: () => void;
}) {
return (
<html lang="en">
<body style={{ margin: 0, fontFamily: "system-ui, sans-serif", background: "#0a0a0a", color: "#e5e5e5", minHeight: "100vh", display: "flex", alignItems: "center", justifyContent: "center" }}>
<div style={{ textAlign: "center", padding: "2rem", maxWidth: "28rem" }}>
<h1 style={{ fontSize: "1.25rem", fontWeight: 600, marginBottom: "0.5rem" }}>Something went wrong</h1>
<p style={{ fontSize: "0.875rem", color: "#a3a3a3", marginBottom: "1.5rem" }}>
An unexpected error occurred. Please try again.
</p>
<button
type="button"
onClick={() => reset()}
style={{
padding: "0.5rem 1rem",
fontSize: "0.875rem",
borderRadius: "0.5rem",
border: "1px solid rgba(255,255,255,0.2)",
background: "rgba(255,255,255,0.05)",
color: "#e5e5e5",
cursor: "pointer",
}}
>
Try again
</button>
</div>
</body>
</html>
);
}