aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/SessionExpiredPopup.tsx
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-07-05 21:42:22 -0700
committerPinapelz <yukais@pinapelz.com>2025-07-05 21:42:22 -0700
commit400d772cc391d979747510776fa8acfb5a1d00cb (patch)
tree55e1d4bd5bdbd65418e4d6f5822bd3c1c1fc1e32 /frontend/src/components/SessionExpiredPopup.tsx
parent943014fd38a3d784542f78cd4625d1ef2e220980 (diff)
implement generic score viewer and import deduplication
Diffstat (limited to 'frontend/src/components/SessionExpiredPopup.tsx')
-rw-r--r--frontend/src/components/SessionExpiredPopup.tsx32
1 files changed, 32 insertions, 0 deletions
diff --git a/frontend/src/components/SessionExpiredPopup.tsx b/frontend/src/components/SessionExpiredPopup.tsx
new file mode 100644
index 0000000..625d97d
--- /dev/null
+++ b/frontend/src/components/SessionExpiredPopup.tsx
@@ -0,0 +1,32 @@
+import { Link } from "react-router";
+
+export default function SessionExpiredPopup() {
+ return (
+ <div className="min-h-screen bg-slate-950 flex items-center justify-center">
+ <div className="text-center max-w-md mx-auto px-6">
+ <div className="bg-slate-900 rounded-lg p-8 border border-slate-700">
+ <h2 className="text-2xl font-bold text-white mb-4">
+ Session Expired
+ </h2>
+ <p className="text-slate-300 mb-6">
+ Please sign in to import your data.
+ </p>
+ <div className="space-y-3">
+ <Link
+ to="/login"
+ className="block w-full bg-violet-600 hover:bg-violet-700 text-white py-3 rounded-md font-medium transition-colors"
+ >
+ Sign In
+ </Link>
+ <Link
+ to="/"
+ className="block w-full border border-slate-600 hover:border-violet-500 text-slate-300 hover:text-white py-3 rounded-md font-medium transition-colors"
+ >
+ Back to Home
+ </Link>
+ </div>
+ </div>
+ </div>
+ </div>
+ );
+}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage