From 3143fa973f48898e12e52be0daf1c9dae0a36421 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Tue, 26 Nov 2024 12:27:02 +0100 Subject: [PATCH] Fix bugs and typo --- app/components/AppHeader.vue | 4 ++-- app/pages/portfolio/[slug].vue | 2 +- content/home/en.md | 2 +- content/home/fr.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index eebeec0..ca66c52 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -36,7 +36,7 @@ const navs = [ en: 'resume', fr: 'cv', }, - to: config.public.cloud.resume, + to: '/Resume2024.pdf', target: '_blank', icon: 'address-book-duotone', }, @@ -54,7 +54,7 @@ async function toggleTheme() { } const { locale, setLocale, locales, t } = useI18n() -const currentLocale = computed(() => locales.value.filter(l => l.code === locale.value)[0]) +const currentLocale = computed(() => locales.filter(l => l.code === locale.value)[0]) async function changeLocale() { document.body.style.animation = 'switch-on .2s' diff --git a/app/pages/portfolio/[slug].vue b/app/pages/portfolio/[slug].vue index 072f1dd..ec359c1 100644 --- a/app/pages/portfolio/[slug].vue +++ b/app/pages/portfolio/[slug].vue @@ -7,7 +7,7 @@ const { } = await useAsyncData(`portfolio:${route.params.slug}:db`, () => $fetch(`/api/posts/${route.params.slug}`, { method: 'POST' })) const { locale, locales } = useI18n() -const currentLocale = computed(() => locales.value.filter(l => l.code === locale.value)[0]) +const currentLocale = computed(() => locales.filter(l => l.code === locale.value)[0]) const { t } = useI18n({ useScope: 'local', diff --git a/content/home/en.md b/content/home/en.md index 6b4ebe8..a4323f8 100644 --- a/content/home/en.md +++ b/content/home/en.md @@ -3,7 +3,7 @@ title: Arthur Danjou • Mathematics Lover and IA Enthusiast description: I'm Arthur, a Mathematics lover and IA enthusiast. I'm currently studying at the University of Paris-Saclay. I'm passionate about Mathematics, Computer Science, and Artificial Intelligence. --- -Hey, I'm Arthur Danjou, a mathematics student at the Paris-Saclay Faculty of Science in France. +Hey, I'm Arthur Danjou, a Mathematics student in Statistics at the Paris-Dauphine University in France. With a :hover-text{hover="Technology is evolving far too quickly 🤯" position="top" text="deep understanding"} of emerging technologies, I'm at the heart of a rapidly expanding field. My background in :hover-text{hover="Maths is my diff --git a/content/home/fr.md b/content/home/fr.md index 5315c96..fe43753 100644 --- a/content/home/fr.md +++ b/content/home/fr.md @@ -3,7 +3,7 @@ title: Arthur Danjou • Mathematics Lover and IA Enthusiast description: I'm Arthur, a Mathematics lover and IA enthusiast. I'm currently studying at the University of Paris-Saclay. I'm passionate about Mathematics, Computer Science, and Artificial Intelligence. --- -Salut, je suis Arthur Danjou, étudiant en mathématiques à la faculté des sciences de Paris-Saclay en France. +Salut, je suis Arthur Danjou, étudiant en mathématiques spécialisé en Statistiques à l'Université Paris-Dauphine en France. Avec une :hover-text{hover="La technologie évolue beaucoup trop vite 🤯" position="top" text="compréhension profonde"} des technologies émergentes, je suis au cœur d'un domaine en pleine expansion. Ma formation en :hover-text{hover="Les