--- // 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 } const { person } = Astro.props const color = 'yellow' ---
{person.full_name}
{person.job_title}