feat: admin dashboard UI — DashboardSection as default panel

AdminPanel: Сводка раздел первый (initialSection='dashboard')
DashboardSection: users stats, channels by platform, posts stats,
  revenue vs AI costs cards, drafts pending alert, registrations bar chart 14d
SECTIONS: +Dashboard, +Engine (Движок)
API route: /api/admin/dashboard proxy
This commit is contained in:
Ник (Claude)
2026-06-13 00:10:40 +03:00
parent a5f6c080bd
commit 92b743512c
3 changed files with 165 additions and 7 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export default async function SystemPage({ searchParams }) {
return (
<>
<Header user={user} />
<AdminPanel initialSection={searchParams?.section || 'settings'} />
<AdminPanel initialSection={searchParams?.section || 'dashboard'} />
</>
);
}