官网 初版

This commit is contained in:
rucky
2026-03-18 17:13:27 +08:00
parent 879c4bdfc8
commit 241a76caeb
95 changed files with 8889 additions and 113 deletions

View File

@@ -0,0 +1,24 @@
import { prisma } from "@/lib/db";
import { ReleaseForm } from "@/components/admin/ReleaseForm";
export const dynamic = "force-dynamic";
export default async function NewReleasePage() {
const addons = await prisma.addon.findMany({
select: { id: true, name: true },
orderBy: { name: "asc" },
});
return (
<div className="mx-auto max-w-2xl space-y-6">
<h1 className="text-3xl font-bold"></h1>
{addons.length === 0 ? (
<p className="text-muted-foreground">
</p>
) : (
<ReleaseForm addons={addons} />
)}
</div>
);
}