--- // Port of preview/pages/users.html (layout: default) // Note: the Liquid template assigns `progress` and `online_counter` per person // but never renders them — omitted here. // Note: the avatar include passes `rounded=true`, which ui/avatar.html ignores // (no such param) — omitted; Avatar.astro has no `rounded` prop. import DefaultLayout from '@shared/layouts/DefaultLayout.astro'; import Avatar from '@shared/components/ui/Avatar.astro'; import Icon from '@shared/components/Icon.astro'; import Pagination from '@shared/components/ui/Pagination.astro'; import people from '@data/people.json'; interface Person { full_name?: string; job_title?: string; photo?: string; [key: string]: unknown; } const users = (people as Person[]).slice(0, 18); ---
{ users.map((person, idx) => { const index = idx + 1; return (

{person.full_name}

{person.job_title}
{index === 1 ? ( Owner ) : index < 5 ? ( Admin ) : null}
); }) }