--- import { Image } from '@astrojs/image/components'; import Button from '@/atoms/button.astro'; import IconButton from '@/atoms/icon-button.astro'; import SectionCard from '@/atoms/section-card.astro'; import Tag from '@/atoms/tag.astro'; import Typography from '@/atoms/typography.astro'; 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; ---
{fullName}
{fullName} {role}
{ socials.length > 0 && (
{socials.map(({ icon, url: iconUrl }) => ( ))}
) }
{ details.map(({ label: detailLabel, value }) => (
{detailLabel}: {value}
)) }
{description}
{ tags.map(({ icon, iconColor, name, url: tagUrl }) => tagUrl ? ( {name} ) : ( {name} ) ) }