feat: standardizer changes

This commit is contained in:
Leon Tonhäuser committed 2026-08-11 11:19:10 +02:00
1 parent 8728308fc6
commit 70ebcc9cd5
13 files changed
+147 -119

No files matched your search

+5 -4
View File
@@ -4,6 +4,7 @@ import { usages, editorialAccounts } from "@/db/schema";
import { requireAdmin } from "@/modules/auth/principal";
import { headers } from "next/headers";
import Link from "next/link";
import { PageHeader } from "@/components/ui/page-header";
import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
import { Button } from "@/components/ui/button";
@@ -51,10 +52,10 @@ export default async function AdminDashboardPage() {
return (
<div className="space-y-8 animate-in fade-in slide-in-from-bottom-4 duration-500">
<div>
<h1 className="text-4xl font-bold tracking-tight">Admin Dashboard</h1>
<p className="text-muted-foreground mt-2">Willkommen zurück! Hier ist ein Überblick über die aktuelle Nutzung des Portals.</p>
</div>
<PageHeader
title="Admin Dashboard"
description="Willkommen zurück! Hier ist ein Überblick über die aktuelle Nutzung des Portals."
/>
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
<Card>
+7 -2
View File
@@ -1,5 +1,7 @@
import { desc } from "drizzle-orm";
import { PageHeader } from "@/components/ui/page-header";
import { db } from "@/db/client";
import { editorialAccounts } from "@/db/schema";
@@ -23,8 +25,11 @@ export default async function EditorialsPage() {
return (
<section className="content-section" aria-labelledby="editorials-title">
<p className="eyebrow">Kontoverwaltung</p>
<h1 id="editorials-title">Redaktionen</h1>
<PageHeader
kicker="Kontoverwaltung"
title="Redaktionen"
titleId="editorials-title"
/>
{activeEditorials.length === 0 ? (
<p>Noch keine aktiven Redaktionen registriert.</p>
) : (