Penalty Übersicht für Nutzer und Penalty-Log

This commit is contained in:
PxlLoewe
2025-06-21 22:05:16 -07:00
parent 4732ecb770
commit 93962a9ce4
15 changed files with 402 additions and 25 deletions

View File

@@ -1,7 +1,11 @@
import { ExclamationTriangleIcon } from "@radix-ui/react-icons";
import { prisma } from "@repo/db";
import { Error } from "_components/Error";
import { ReportAdmin, ReportSenderInfo } from "(app)/admin/report/_components/form";
import {
ReportAdmin,
ReportPenalties,
ReportSenderInfo,
} from "(app)/admin/report/_components/form";
export default async function Page({ params }: { params: Promise<{ id: string }> }) {
const { id } = await params;
@@ -33,6 +37,9 @@ export default async function Page({ params }: { params: Promise<{ id: string }>
<div className="card bg-base-200 shadow-xl mb-4 col-span-6 xl:col-span-3">
<ReportAdmin report={report} />
</div>
<div className="card bg-base-200 shadow-xl mb-4 col-span-6">
<ReportPenalties report={report} />
</div>
</div>
);
}