import Link from 'next/link'; import { VOCAB } from '../lib/collection-vocabulary.js'; /** * Recently added cards grid on /dashboard (formerly Featured Collection). */ export default function DashboardFeaturedCollection({ cards = [], loading = false }) { const slots = Array.from({ length: 8 }, (_, idx) => cards[idx] || null); return (

Recently added

View all in {VOCAB.MY_COLLECTION}
{slots.map((card, idx) => { if (loading) { return (
); }