diff --git a/app/components/content/Activity.vue b/app/components/content/Activity.vue index 561a633..3616107 100644 --- a/app/components/content/Activity.vue +++ b/app/components/content/Activity.vue @@ -13,7 +13,8 @@ const getActivity = computed(() => { if (!activity) return const active = activity.name === 'Visual Studio Code' ? !activity.details.includes('Idling') : activity.state.toLowerCase().includes('editing') - const project = activity.details ? activity.details.replace('Workspace:', '') : '' + const capitalise = (str: string) => str.charAt(0).toUpperCase() + str.slice(1) + const project = activity.details ? capitalise(activity.details.replace('Workspace:', '')) : '' const state = activity.state.split(' ')[1] const start = { ago: useTimeAgo(activity.timestamps.start).value, diff --git a/content/home/en.md b/content/home/en.md index 3164a40..7f1f57f 100644 --- a/content/home/en.md +++ b/content/home/en.md @@ -1,3 +1,7 @@ +--- +title: Arthur Danjou • Mathematics Lover and IA Enthusiast +--- + Hey, I'm Arthur Danjou, a mathematics student at the Paris-Saclay Faculty of Science 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 main passion ∑" position="right" text="mathematics"} gives me a head start in diff --git a/content/home/fr.md b/content/home/fr.md index 0ce013d..c6b2401 100644 --- a/content/home/fr.md +++ b/content/home/fr.md @@ -1,4 +1,8 @@ -Bonjour, je suis Arthur Danjou, étudiant en mathématiques à la faculté des sciences de Paris-Saclay en France. +--- +title: Arthur Danjou • Mathematics Lover and IA Enthusiast +--- + +Salut, je suis Arthur Danjou, étudiant en mathématiques à la faculté des sciences de Paris-Saclay 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 diff --git a/nuxt.config.ts b/nuxt.config.ts index 02d39e6..57b913a 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -5,7 +5,6 @@ export default defineNuxtConfig({ app: { pageTransition: { name: 'page', mode: 'out-in' }, head: { - htmlAttrs: { lang: 'en' }, templateParams: { separator: '•' } @@ -119,4 +118,4 @@ export default defineNuxtConfig({ }, compatibilityDate: '2024-07-08' -}) \ No newline at end of file +})