--- export type Props = { name: string, image?: string | null, count: number, bio: string | null, location: string | null, website: string | null, twitter: string | null, facebook: string | null }; const { name, image, bio, location, website, twitter, facebook, count } = Astro.props as Props; --- { image ? : ( )} {name} {bio ? bio : count > 0? count + " Posts" : "No Posts"} {location && ( 📍 {location} )} {website && (Website)} {twitter && (Twitter)} {facebook && (Facebook)}