--- /** * InterestCard.astro * --------------------------------------------------------------------------- * Generic highlight card used across interest pages (the spec's "Highlights * (Card Grid)" sections). Each card: an mdi icon, a bold title, and a body. * Spec emojis in the highlight tables are mapped to mdi icon names at the call * site. * * Optional `currently` prop restyles the card as a "what's active now" item * with a pulse dot, matching the spec's "Currently" sections. */ import Icon from '@components/Icon.astro'; interface Props { icon: string; title: string; /** Optional small status pill text, e.g. "Complete", "Reading". */ status?: string; currently?: boolean; class?: string; } const { icon, title, status, currently = false, class: className = '' } = Astro.props; ---
{currently && ( Active )} {status && !currently && ( {status} )}

{title}