feat: full site build — Project/Melody schema (Option A), admin CRUD, public sections, uploads, email+SMTP, internal analytics, legal pages, docs

This commit is contained in:
2026-08-05 20:53:40 +02:00
parent d87f3033c6
commit c26f41511f
122 changed files with 15068 additions and 41 deletions
+17
View File
@@ -0,0 +1,17 @@
import { redirect } from "next/navigation";
import LoginForm from "@/components/admin/login-form";
import { auth } from "@/lib/auth";
export default async function AdminLoginPage() {
const session = await auth();
if (session?.user) {
redirect("/admin");
}
return (
<main className="flex min-h-screen items-center justify-center bg-background p-6 text-foreground">
<LoginForm />
</main>
);
}