shivam + claude changes
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 28s

This commit is contained in:
Shivam Patel
2026-02-08 23:18:21 -05:00
parent 3174638dd3
commit c0ffc01b88
26 changed files with 342 additions and 86 deletions

25
app/error.tsx Normal file
View File

@@ -0,0 +1,25 @@
'use client';
export default function Error({
reset,
}: {
error: Error & { digest?: string };
reset: () => void;
}) {
return (
<div className="min-h-[60vh] flex flex-col items-center justify-center px-6 text-center animate-fade-in">
<h1 className="text-4xl font-bold tracking-tight text-zinc-900 dark:text-zinc-50 mb-4">
Something went wrong
</h1>
<p className="text-lg text-zinc-500 dark:text-zinc-400 mb-8">
An unexpected error occurred.
</p>
<button
onClick={reset}
className="text-sm font-medium px-4 py-2 rounded bg-zinc-900 dark:bg-zinc-100 text-zinc-50 dark:text-zinc-900 hover:opacity-80 transition-opacity"
>
Try again
</button>
</div>
);
}