first commit

This commit is contained in:
a.alinaghipour
2026-04-05 15:53:20 +03:30
commit aa9ed69dd2
96 changed files with 7721 additions and 0 deletions

14
app/error.tsx Normal file
View File

@@ -0,0 +1,14 @@
"use client";
export default function Error({ error, reset }: { error: Error; reset: () => void }) {
return (
<div className="min-h-[70vh] flex flex-col items-center justify-center text-center px-6">
<div className="text-6xl mb-6">😬</div>
<h1 className="text-2xl font-bold mb-3">یه مشکلی پیش اومد</h1>
<p className="text-gray-500 mb-8 text-sm">{error.message}</p>
<button onClick={reset} className="bg-green-700 text-white px-6 py-3 rounded-xl font-bold hover:bg-green-800 transition">
دوباره امتحان کن
</button>
</div>
);
}