Files
songs2vid/app/dashboard/history/page.tsx
T
Atakan Doğan ÖzbanandCursor c8015937f9 Align preview typography with FFmpeg output, add video/song title split, and ship OSS updates.
Separate YouTube video titles from on-video song/artist fields with Pro gating, serve curated fonts and watermark assets for 1:1 preview parity, and include billing/API/docs/deploy stack for self-hosted release.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 16:26:19 +02:00

20 lines
644 B
TypeScript

import { redirect } from "next/navigation";
import { getServerSession } from "next-auth";
import { authOptions } from "@/lib/auth";
import { DashboardShell } from "@/components/DashboardShell";
import { JobHistory } from "@/components/JobHistory";
export default async function HistoryPage() {
const session = await getServerSession(authOptions);
if (!session) redirect("/");
return (
<DashboardShell channelTitle={session.user.channelTitle}>
<div className="mx-auto max-w-4xl px-6 py-8">
<h1 className="mb-6 text-2xl font-bold text-white">History</h1>
<JobHistory />
</div>
</DashboardShell>
);
}