Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions app/auth-error/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Link from "next/link";
import { ArrowLeft, Lock } from "lucide-react";
import { Logo } from "@/client/components/ui/logo";

export const metadata = {
title: "Authentication Error — Statify",
Expand Down Expand Up @@ -44,15 +45,16 @@ export default async function AuthErrorPage({
const isClosedBeta = reason === "not_whitelisted";

return (
<main className="min-h-screen bg-background flex flex-col items-center justify-center px-6 lg:px-16 relative overflow-hidden">
<div className="min-h-screen bg-background flex flex-col relative overflow-hidden">
{/* Background glow */}
<div className="absolute top-0 left-0 w-full h-full opacity-5 pointer-events-none">
<div
className={`absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[600px] h-[600px] rounded-full blur-[160px] ${isClosedBeta ? "bg-primary" : "bg-error"}`}
/>
</div>

<div className="relative z-10 w-full max-w-2xl text-center">
<main className="relative z-10 flex-1 flex items-center justify-center px-6 lg:px-16 py-16">
<div className="w-full max-w-2xl text-center">
{isClosedBeta ? (
<>
<div className="inline-flex items-center gap-2 ghost-border bg-white/5 px-4 py-2 mb-8">
Expand Down Expand Up @@ -120,7 +122,12 @@ export default async function AuthErrorPage({
</p>
</>
)}
</div>
</main>
</div>
</main>

<footer className="relative z-10 w-full border-t border-divider px-6 lg:px-12 py-4 flex items-center justify-center">
<Logo />
</footer>
</div>
);
}
Loading