19 lines
739 B
TypeScript
19 lines
739 B
TypeScript
import { DashboardPlaceholder } from "@/components/placeholders";
|
|
import { PlaceholderActions, ShellPage } from "@/components/page-templates";
|
|
import { getDashboardData } from "@/lib/platform-data";
|
|
|
|
export default async function DashboardPage() {
|
|
const data = await getDashboardData();
|
|
|
|
return (
|
|
<ShellPage
|
|
shell="admin"
|
|
title="Dashboard"
|
|
description="Ringkasan operasional tenant untuk open conversations, workload agent, dan campaign snapshot."
|
|
actions={<PlaceholderActions primaryHref="/inbox" primaryLabel="Open inbox" secondaryHref="/campaigns/new" secondaryLabel="Create campaign" />}
|
|
>
|
|
<DashboardPlaceholder stats={data.stats} priorityQueue={data.priorityQueue} />
|
|
</ShellPage>
|
|
);
|
|
}
|