--- import Link from '@/components/Link.astro' import AvatarComponent from '@/components/ui/avatar' import type { Link as SocialLink } from '@/consts' import { cn } from '@/lib/utils' import type { CollectionEntry } from 'astro:content' import SocialIcons from './SocialIcons.astro' type Props = { author: CollectionEntry<'authors'> linkDisabled?: boolean } const { author, linkDisabled = false } = Astro.props const { name, avatar, bio, pronouns, github, twitter, linkedin, website, mail, } = author.data const socialLinks: SocialLink[] = [ website && { href: website, label: 'Website' }, github && { href: github, label: 'GitHub' }, twitter && { href: twitter, label: 'Twitter' }, linkedin && { href: linkedin, label: 'LinkedIn' }, mail && { href: mail, label: 'Email' }, ].filter(Boolean) as SocialLink[] ---

{name}

{ pronouns && ( ({pronouns}) ) }

{bio}