import Link from 'next/link'; import { t } from '@/i18n'; import { formatDate, formatPct, grouped } from '@/lib/format'; import { routes } from '@/lib/site'; import { topicById } from '@/lib/topics'; import type { IndicatorSummary } from '@/lib/types'; /** Featured / recently updated indicators as a dense list (name, topic, coverage, last year). */ export function IndicatorList({ items, showUpdated = false, limit = 12 }: { items: IndicatorSummary[]; showUpdated?: boolean; limit?: number }) { if (items.length === 0) return

{t('common.noDataLong')}

; return ( ); }