Files
whatsapp-inbox-platform/app/dashboard/page.tsx
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
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>
);
}