Initial open-source self-hosted Songs2YT edition

This commit is contained in:
Songs2YT
2026-07-17 02:23:59 +02:00
commit 2aa8a84781
134 changed files with 17758 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import { redirect } from "next/navigation";
import { getServerSession } from "next-auth";
import { authOptions } from "@/lib/auth";
import { DashboardShell } from "@/components/DashboardShell";
import { RecentYouTubeLimitAlert } from "@/components/RecentYouTubeLimitAlert";
import { UploadForm } from "@/components/UploadForm";
export default async function DashboardPage() {
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">Create Videos</h1>
<RecentYouTubeLimitAlert />
<UploadForm />
</div>
</DashboardShell>
);
}