--- // TODO: fallback to people[1] when person omitted — unused on card-gradients, so `person` is required here. import Icon from '@ui/Icon.astro'; import Avatar from '@ui/Avatar.astro'; import ButtonList from '@ui/ButtonList.astro'; interface Person { full_name?: string; job_title?: string; [key: string]: unknown; } interface Props { person: Person; color?: string; } const { person, color = 'yellow' } = Astro.props; ---