feat: add Discord profile dropdown menu with role display and integrate with admin and form layouts via AdminShellServer.

This commit is contained in:
2026-07-03 23:02:15 +07:00 Unverified
parent 6cb28421e6
commit ac6c35598c
12 changed files with 413 additions and 83 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
import { AdminShell } from "@/components/admin-shell";
import { AdminShellServer } from "@/components/admin-shell-server";
import { readdirSync } from "fs";
import { join } from "path";
import { BackendClient } from "./client";
@@ -31,7 +31,7 @@ export default async function BackendPage() {
}));
return (
<AdminShell>
<AdminShellServer>
<div className="p-6 space-y-6 max-w-6xl mx-auto w-full">
<div>
<h1 className="text-3xl font-bold tracking-tight">Backend</h1>
@@ -41,6 +41,6 @@ export default async function BackendPage() {
</div>
<BackendClient platforms={platformData} />
</div>
</AdminShell>
</AdminShellServer>
);
}