aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/SessionExpiredPopup.tsx
blob: 625d97dbbc1b6d2421bb58e90a000e2da7a43267 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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