Files
notxia.github.io/src/views/resume/ExperienceTimeline.vue
T
2023-01-24 19:49:31 +01:00

78 lines
3.0 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<div>
<div class="flex justify-center">
<div class="w-full timeline-height">
<Timeline
:right="[
{
title: t('diploma'), time_label: '2015 - 2020',
description: t('diploma description'),
start: new Date(2015, september, 1), end: new Date(2020, june, 1)
},
{
title: t('bachelor'), time_label: '2020 - 2023',
description: t('bachelor description'),
start: new Date(2020, september, 1), end: new Date(), current: true
}
]"
:left="[
{
title: t('it/is pcto toyota'), time_label: `${t('december')} 2019 | ${t('july')} 2019 | ${t('february')} 2022`,
description: 'Toyota Material Handling Manufacturing Italy',
start: new Date(2019, february, 1), end: new Date(2019, november, 1)
},
{
title: 'CS50s Introduction to AI with Python', time_label: '2022',
description: 'HarvardX',
start: new Date(2022, september, 1), end: new Date(2022, september, 1)
},
{
title: 'CISCO: IT Essentials', time_label: '2018',
description: 'CISCO Networking Academy',
start: new Date(2018, september, 1), end: new Date(2018, september, 1)
}
]" />
</div>
</div>
<p class="text-center text-xs text-gray-400 dark:text-slate-600">{{ t("like timelines") }}</p>
</div>
</template>
<script setup lang="ts">
import Timeline from "@/components/timeline/Timeline.vue";
import { useI18n } from "vue-i18n";
import locale from "./locale.timeline.json";
const { t } = useI18n({ messages: locale });
const january = 0, february = 1, march = 2, april = 3, may = 4, june = 5, july = 6, august = 7, september = 8, october = 9, november = 10, december = 11;
</script>
<style scoped>
/* Extra small devices */
@media only screen and (max-width: 600px) {
.timeline-height { height: 90rem; }
}
/* Small devices */
@media only screen and (min-width: 600px) {
.timeline-height { height: 80rem; }
}
/* Medium devices */
@media only screen and (min-width: 768px) {
.timeline-height { height: 70rem; }
}
/* Large devices */
@media only screen and (min-width: 992px) {
.timeline-height { height: 60rem; }
}
/* Extra large devices */
@media only screen and (min-width: 1200px) {
.timeline-height { height: 60rem; }
}
</style>