--- import Avatar from '@ui/Avatar.astro' import { people } from '@shared/lib/people' import { requireIndex } from '@shared/lib/array' interface Props { personId?: number right?: boolean } const { personId = 0, right } = Astro.props const person = requireIndex(people, personId) ---
{ !right && (
) }
{person.full_name}
{person.job_title}
{ right && (
) }