- Fix device rename input collapsing on mobile (fixed width vs w-full inside an auto-layout table column). - Add cascade-delete confirmation for sessions with a saved recording. - Fix header connection LED: derive state from scanning/device-count/ recording instead of the Buttplug client's raw connected flag; drop the label text and hide the indicator entirely when idle. - Add a per-device disconnect button (stop + remove from store, the closest equivalent Buttplug's protocol allows per device). - Fix replay ending early: duration now comes from the recording's actual durationMs, not the last event's timestamp. - Replay robustness: show which devices are being replayed to, reset actuators to zero on start/play/pause, fully disconnect devices and the whole client on stop/unmount, surface command failures via toast. - Stop flagging the header LED red during replay - recording is only for live sessions. - Add page-number pagination to recordings/sessions/devices lists. - Wordmark SEXY -> Sexy; add proper per-page <title>s including dynamic titles for recording/session detail and replay pages. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
29 lines
985 B
TypeScript
29 lines
985 B
TypeScript
import { Suspense } from "react";
|
|
import type { Metadata } from "next";
|
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
|
|
import { LoginForm } from "@/components/auth/LoginForm";
|
|
import { BrandMark } from "@/components/layout/BrandMark";
|
|
|
|
export const metadata: Metadata = { title: "Log in" };
|
|
|
|
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>
|
|
<div className="flex items-center gap-2">
|
|
<BrandMark size={32} />
|
|
<CardTitle className="font-heading bp-gradient-text text-2xl">Sexy</CardTitle>
|
|
</div>
|
|
<CardDescription>Enter the shared access secret to continue.</CardDescription>
|
|
</CardHeader>
|
|
<CardContent>
|
|
<Suspense>
|
|
<LoginForm />
|
|
</Suspense>
|
|
</CardContent>
|
|
</Card>
|
|
</div>
|
|
);
|
|
}
|