diff --git a/src/components/AboutMeSectionExperience.vue b/src/components/AboutMeSectionExperience.vue index e184df0a..c6bd1bd5 100644 --- a/src/components/AboutMeSectionExperience.vue +++ b/src/components/AboutMeSectionExperience.vue @@ -7,34 +7,47 @@ const getListClassName = (index: number) => ({ 'before:content-["▸"]': !index, }) +type Period = [string] | [string, string] | string + const list: { title: string, company: string, - period: [string, string] | string, + link: string, + period: Period, }[] = [ + { + title: 'Software Engineer', + company: 'TSMC', + link: 'https://www.tsmc.com/', + period: ['2024/02'], + }, { title: 'Software Engineer', company: 'ASUS AICS', + link: 'https://aics.asus.com/', period: ['2022/07', '2023/05'], }, { title: 'Software Engineer', company: '3drens', + link: 'https://www.3drens.com/', period: ['2021/08', '2022/03'], }, { title: 'Software Engineer', company: 'gogoout', + link: 'https://gogoout.com/', period: ['2019/12', '2021/07'], }, { title: 'Summer Engineering Intern', company: 'Hiero7', + link: 'https://www.hiero7.com/', period: 'Summer 2018', }, ] -const getFormattedPeriod = (period: [string, string] | string) => { +const getFormattedPeriod = (period: Period) => { if (typeof period === 'string') return period const start = getFormattedYear(period[0]) @@ -48,15 +61,19 @@ const getFormattedPeriod = (period: [string, string] | string) => {