--- import { Image } from '@astrojs/image/components'; import Button from '@/components/button.astro'; import IconButton from '@/components/icon-button.astro'; import SectionCard from '@/components/section-card.astro'; import TagsList from '@/components/tags-list.astro'; import Typography from '@/components/typography.astro'; import type { SectionKey } from '@/types/data'; import type { MainSection } from '@/types/main-section'; export interface Props extends MainSection {} const { image, fullName, role, socials, details, description, action: { label, url, downloadedFileName }, tags, } = Astro.props; const section: SectionKey = 'main'; ---
{fullName}
{fullName} {role}
{ socials.length > 0 && (
{socials.map(({ icon, url: iconUrl, name }) => ( ))}
) }
{ details.map(({ label: detailLabel, value }) => (
{detailLabel}: {value}
)) }
{description}