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/dashboard/page.tsx
Normal file
18
app/dashboard/page.tsx
Normal file
@ -0,0 +1,18 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user