2026-08-25 07:51:38 +02:00
|
|
|
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
|
|
|
|
import { RecordingsTable } from "@/components/recordings/RecordingsTable";
|
|
|
|
|
import { listRecordings } from "@/lib/db/queries/recordings";
|
|
|
|
|
|
|
|
|
|
export const dynamic = "force-dynamic";
|
|
|
|
|
|
|
|
|
|
export default async function RecordingsPage() {
|
|
|
|
|
const recordings = await listRecordings();
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div className="flex flex-col gap-6">
|
|
|
|
|
<div>
|
2026-08-25 16:43:28 +02:00
|
|
|
<h1 className="font-heading text-2xl font-semibold">Recordings</h1>
|
2026-08-25 07:51:38 +02:00
|
|
|
<p className="text-sm text-muted-foreground">Saved sessions you can replay against connected devices.</p>
|
|
|
|
|
</div>
|
|
|
|
|
<Card className="bp-glass">
|
|
|
|
|
<CardHeader>
|
|
|
|
|
<CardTitle className="text-base">Library</CardTitle>
|
|
|
|
|
</CardHeader>
|
|
|
|
|
<CardContent>
|
|
|
|
|
<RecordingsTable recordings={recordings} />
|
|
|
|
|
</CardContent>
|
|
|
|
|
</Card>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|