Skip to content

Commit 2a2271a

Browse files
feat: auth error page
1 parent 58ca465 commit 2a2271a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import Link from "next/link";
2+
3+
export default function AuthCodeError() {
4+
return (
5+
<main
6+
className="min-h-dvh flex items-center justify-center bg-cover bg-center bg-no-repeat p-6 font-cinzel text-white"
7+
style={{ backgroundImage: "url('/geminiblurred.png')" }}
8+
>
9+
<div className="w-full max-w-md bg-white/10 backdrop-blur-lg border border-white/20 rounded-2xl shadow-[0_0_30px_rgba(255,255,255,0.25)] p-8 text-center">
10+
<h1 className="text-3xl font-bold mb-4">⚠️ Authentication Failed</h1>
11+
<p className="text-white/70 mb-6">
12+
Something went wrong while signing you in. This could happen if the login was cancelled or
13+
took too long.
14+
</p>
15+
<Link
16+
href="/login"
17+
className="inline-block px-6 py-2 bg-indigo-600 hover:bg-indigo-500 rounded-md font-semibold transition shadow-[0_0_20px_rgba(140,120,255,0.7)]"
18+
>
19+
Try Again
20+
</Link>
21+
</div>
22+
</main>
23+
);
24+
}

0 commit comments

Comments
 (0)