22 lines
725 B
TypeScript
22 lines
725 B
TypeScript
import { Suspense } from "react";
|
|||
|
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
|
||
|
|
import { LoginForm } from "@/components/auth/LoginForm";
|
||
|
|
|
||
|
|
export default function LoginPage() {
|
||
|
|
return (
|
||
|
|
<div className="flex min-h-dvh items-center justify-center p-4">
|
||
|
|
<Card className="bp-glass w-full max-w-sm">
|
||
|
|
<CardHeader>
|
||
|
|
<CardTitle className="font-display bp-gradient-text text-2xl">sexy</CardTitle>
|
||
|
|
<CardDescription>Enter the shared access secret to continue.</CardDescription>
|
||
|
|
</CardHeader>
|
||
|
|
<CardContent>
|
||
|
|
<Suspense>
|
||
|
|
<LoginForm />
|
||
|
|
</Suspense>
|
||
|
|
</CardContent>
|
||
|
|
</Card>
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|