19 lines
674 B
TypeScript
19 lines
674 B
TypeScript
import { DashboardPlaceholder } from "@/components/placeholders";
|
|
import { PlaceholderActions, ShellPage } from "@/components/page-templates";
|
|
import { getDashboardData } from "@/lib/platform-data";
|
|
|
|
export default async function AgentDashboardPage() {
|
|
const data = await getDashboardData();
|
|
|
|
return (
|
|
<ShellPage
|
|
shell="agent"
|
|
title="Agent Dashboard"
|
|
description="Assigned conversations, unread queue, due follow-up, dan personal stats."
|
|
actions={<PlaceholderActions primaryHref="/agent/inbox" primaryLabel="Open my inbox" />}
|
|
>
|
|
<DashboardPlaceholder stats={data.stats} priorityQueue={data.priorityQueue} />
|
|
</ShellPage>
|
|
);
|
|
}
|