import { DashboardView } from '@/components/views/dashboard-view';
import { EMPTY_METRICS } from '@/lib/catalog';
import type { CatalogDashboardProps } from '@/types/catalog';

/*
 * Legacy landing page (component 'catalog/dashboard'); the catalog
 * dashboard is rendered by catalog/index via the DashboardController.
 * Both share the same view so this stays a thin wrapper.
 */
export default function Dashboard({ metrics }: Partial<CatalogDashboardProps>) {
    return <DashboardView metrics={metrics ?? EMPTY_METRICS} />;
}
