--- import IconButton from '@/components/icon-button.astro'; import Timestamp from '@/components/timestamp.astro'; import Typography from '@/components/typography.astro'; import type { EducationItem } from '@/types/education-section'; import type { I18n } from '@/types/i18n'; export interface Props { educationItem: EducationItem; i18n: I18n; } const { educationItem: { title, institution, startDate, endDate, description, socials }, i18n, } = Astro.props; ---
{title} {institution}
{ socials.length > 0 && (
{socials.map(({ icon, url: iconUrl, name }) => ( ))}
) }
{description}