import { experienceBgHorizontal, experienceBgVertical } from "@/_assets/decorations"; import experience, { WorkplaceEntry } from "@/_data/experience"; import Image from "next/image"; import Link from "next/link"; import React from "react"; import cls from "./ExperienceSection.module.scss"; const ExperienceSection: React.FC = () => (

My work experience

{ {
{ experience.map((i, index) =>

{ i.year }

{ i.place }

{ i.title }

{ i.tech ?? Contact me }

) }
); function getAriaLabel(item: WorkplaceEntry): string { const str: string[] = []; if (item.year) str.push(`${item.year} -`); str.push(item.title); if (item.place) str.push(`at ${item.place}`); if (item.tech) return str.join(" ") + `. ${item.tech}`; else return str.join(" "); } export default ExperienceSection;