From 99dc51414b65e5add49acf5f3183af90b0945b4f Mon Sep 17 00:00:00 2001 From: NotXia <35894453+NotXia@users.noreply.github.com> Date: Tue, 24 Jan 2023 19:49:31 +0100 Subject: [PATCH] Update timeline --- src/components/timeline/Timeline.vue | 15 ++++++++------- src/views/resume/ExperienceTimeline.vue | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/components/timeline/Timeline.vue b/src/components/timeline/Timeline.vue index bb04ec4..a43b05e 100644 --- a/src/components/timeline/Timeline.vue +++ b/src/components/timeline/Timeline.vue @@ -1,15 +1,16 @@ @@ -61,7 +62,7 @@ interface Event { title: string, description: string, time_label: string, - start: Date, end: Date + start: Date, end: Date, current?: boolean }; const props = defineProps({ right: { diff --git a/src/views/resume/ExperienceTimeline.vue b/src/views/resume/ExperienceTimeline.vue index 38ed995..17a75db 100644 --- a/src/views/resume/ExperienceTimeline.vue +++ b/src/views/resume/ExperienceTimeline.vue @@ -12,7 +12,7 @@ { title: t('bachelor'), time_label: '2020 - 2023', description: t('bachelor description'), - start: new Date(2020, september, 1), end: new Date(2023, december, 1) + start: new Date(2020, september, 1), end: new Date(), current: true } ]" :left="[