chore: initial project import
Some checks failed
CI - Production Readiness / Verify (push) Has been cancelled
Some checks failed
CI - Production Readiness / Verify (push) Has been cancelled
This commit is contained in:
18
app/super-admin/page.tsx
Normal file
18
app/super-admin/page.tsx
Normal file
@ -0,0 +1,18 @@
|
||||
import { DashboardPlaceholder } from "@/components/placeholders";
|
||||
import { PlaceholderActions, ShellPage } from "@/components/page-templates";
|
||||
import { getPlatformSummary } from "@/lib/platform-data";
|
||||
|
||||
export default async function SuperAdminDashboardPage() {
|
||||
const data = await getPlatformSummary();
|
||||
|
||||
return (
|
||||
<ShellPage
|
||||
shell="super-admin"
|
||||
title="Super Admin Dashboard"
|
||||
description="Global KPI, tenant health, channel failures, dan subscription overview."
|
||||
actions={<PlaceholderActions primaryHref="/super-admin/tenants/new" primaryLabel="Create tenant" secondaryHref="/super-admin/channels" secondaryLabel="View channels" />}
|
||||
>
|
||||
<DashboardPlaceholder stats={data.stats} priorityQueue={data.tenants} />
|
||||
</ShellPage>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user