Files
Wira Basalamah adde003fba
Some checks failed
CI - Production Readiness / Verify (push) Has been cancelled
chore: initial project import
2026-04-21 09:29:29 +07:00

19 lines
769 B
TypeScript

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>
);
}