--- import type { BskyProfile } from '../lib/types'; import { escapeHtml, formatCount } from '../lib/render'; import { HANDLE } from '../lib/atproto'; interface Props { profile: BskyProfile; } const { profile } = Astro.props; --- {profile.banner ? ( ) : ( )}
{profile.displayName

{profile.displayName || HANDLE}

@{profile.handle}

{profile.description &&

{profile.description}

}
{formatCount(profile.postsCount || 0)} POSTS {formatCount(profile.followingCount || profile.followsCount || 0)} FOLLOWING {formatCount(profile.followersCount || 0)} FOLLOWERS