'use client'; import { useRealtimeInvalidation } from '@/hooks/use-realtime-invalidation'; import { PageHeader } from '@/components/shared/page-header'; import { KpiCardsWithBoundary } from './kpi-cards'; import { PipelineChart } from './pipeline-chart'; import { RevenueForecast } from './revenue-forecast'; import { ActivityFeed } from './activity-feed'; export function DashboardShell() { useRealtimeInvalidation({ 'interest:stageChanged': [ ['dashboard', 'pipeline'], ['dashboard', 'forecast'], ], 'client:created': [['dashboard', 'kpis']], 'berth:statusChanged': [ ['dashboard', 'kpis'], ['dashboard', 'forecast'], ], }); return (
Last 30 days} variant="gradient" /> {/* Row 1: KPI cards */}
{/* Row 2: Pipeline chart + Revenue forecast */}
{/* Row 3: Activity feed */}
); }