Skip to content
HomePagesHomePages template kit

ContactRow

One row of a `contacts`-bound record list, as a renderer receives it: the collection's projection of one contact card.

One row of a contacts-bound record list, as a renderer receives it: the collection’s projection of one contact card. id is the contact’s stable row identity. Scalar fields resolve to "" when the card has no value; bio is baked verbatim and is null when the card carries none. headshot and logo resolve to a served ImageValue, or null when the card has no such image.

Import from @homepages/template-kit.

export type ContactRow = {
id: string;
name: string;
title: string;
bio: string | null;
email: string;
phone: string;
instagram: string;
linkedin: string;
x: string;
facebook: string;
website: string;
headshot: ImageValue | null;
logo: ImageValue | null;
};