diff --git a/src/app/admin/layout.tsx b/src/app/admin/layout.tsx index 3ea4c6b..996ab65 100644 --- a/src/app/admin/layout.tsx +++ b/src/app/admin/layout.tsx @@ -1,27 +1,25 @@ import type { ReactNode } from "react"; import { headers } from "next/headers"; -import Link from "next/link"; +import { PortalShell } from "@/components/layout/portal-shell"; import { requireAdmin } from "@/modules/auth/principal"; export default async function AdminLayout({ children }: Readonly<{ children: ReactNode }>) { await requireAdmin(new Headers(await headers())); return ( -
-
- - Leon Tonhäuser - - Administration -
- + {children} -
+ ); -} +} \ No newline at end of file diff --git a/src/app/admin/redaktionen/page.tsx b/src/app/admin/redaktionen/page.tsx index c498233..f9030c3 100644 --- a/src/app/admin/redaktionen/page.tsx +++ b/src/app/admin/redaktionen/page.tsx @@ -24,7 +24,7 @@ export default async function EditorialsPage() { {editorials.length === 0 ? (

Noch keine Redaktionen registriert.

) : ( -