Initial OSS scaffold from Songs2VID (pre-strip)

This commit is contained in:
Songs2VID OSS
2026-08-03 06:15:05 +02:00
commit 935abfb22e
195 changed files with 25023 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { redirect } from "next/navigation";
import { getServerSession } from "next-auth";
import { authOptions } from "@/lib/auth";
import { DashboardShell } from "@/components/DashboardShell";
import { JobProgress } from "@/components/JobProgress";
type Props = {
params: Promise<{ id: string }>;
};
export default async function JobPage({ params }: Props) {
const session = await getServerSession(authOptions);
if (!session) redirect("/");
const { id } = await params;
return (
<DashboardShell channelTitle={session.user.channelTitle}>
<div className="mx-auto max-w-4xl px-6 py-8">
<JobProgress jobId={id} />
</div>
</DashboardShell>
);
}