enable waitlisting in cloud

This commit is contained in:
KM Koushik committed 2025-09-17 22:13:03 +10:00
1 parent 8c8af1f846
commit e1cb1f27d1
6 files changed
+41 -6

No files matched your search

+14
View File
@@ -35,5 +35,19 @@ const AppAuthProvider = ({ children }: { children: React.ReactNode }) => {
return <LoginPage />;
}
if (session.user.isWaitlisted) {
return (
<div className="flex items-center justify-center min-h-screen ">
<div className="p-8 shadow-lg rounded-lg flex flex-col gap-4">
<Rocket />
<h1 className="text-2xl font-bold">You're on the Waitlist!</h1>
<p className=" text-secondary-muted">
Hang tight, we'll get to you as soon as possible.
</p>
</div>
</div>
);
}
return <>{children}</>;
};