2026-08-25 07:51:38 +02:00
|
|
|
import { Suspense } from "react";
|
2026-08-25 21:26:18 +02:00
|
|
|
import type { Metadata } from "next";
|
2026-08-25 07:51:38 +02:00
|
|
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
|
|
|
|
|
import { LoginForm } from "@/components/auth/LoginForm";
|
2026-08-25 16:43:28 +02:00
|
|
|
import { BrandMark } from "@/components/layout/BrandMark";
|
2026-08-25 07:51:38 +02:00
|
|
|
|
2026-08-25 21:26:18 +02:00
|
|
|
export const metadata: Metadata = { title: "Log in" };
|
|
|
|
|
|
2026-08-25 07:51:38 +02:00
|
|
|
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>
|
2026-08-25 16:43:28 +02:00
|
|
|
<div className="flex items-center gap-2">
|
|
|
|
|
<BrandMark size={32} />
|
2026-08-26 18:47:30 +02:00
|
|
|
<CardTitle className="font-heading text-2xl">Sexy</CardTitle>
|
2026-08-25 16:43:28 +02:00
|
|
|
</div>
|
2026-08-25 07:51:38 +02:00
|
|
|
<CardDescription>Enter the shared access secret to continue.</CardDescription>
|
|
|
|
|
</CardHeader>
|
|
|
|
|
<CardContent>
|
|
|
|
|
<Suspense>
|
|
|
|
|
<LoginForm />
|
|
|
|
|
</Suspense>
|
|
|
|
|
</CardContent>
|
|
|
|
|
</Card>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|