import Link from 'next/link'; import { VOCAB } from '../lib/collection-vocabulary.js'; /** * Last-added card spotlight on /dashboard — real ownership data only. * Market charts and watchlist ship in a follow-up convoy. */ export default function DashboardCardSpotlight({ card = null, loading = false }) { if (loading) { return ( ); } if (!card) { return ( ); } const cardId = card.card_id ?? card.id; const marketPrice = card.market_price ?? card.marketPrice; const priceLabel = marketPrice != null && !Number.isNaN(Number(marketPrice)) ? `$${Number(marketPrice).toFixed(2)}` : '—'; return ( ); }