ported schema builder

This commit is contained in:
2024-03-19 14:49:50 -06:00
parent 56f0442d33
commit 3a5fe1911a
38 changed files with 4112 additions and 37 deletions

View File

@@ -0,0 +1,21 @@
import { Heading } from "@/components/heading";
import { SchemaBuilder } from "@/components/schema";
import { prisma } from "@/prisma/prismaClient";
export default async function CreateSchemaForGameSystem(
{ params }: { params: { id: string } },
) {
const gs = await prisma.gameSystem.findFirst({
where: { id: params.id },
select: { name: true },
});
return (
<>
<Heading title={gs?.name || ""} strapline="Schemas" />
<section>
<SchemaBuilder></SchemaBuilder>
</section>
</>
);
}