diff --git a/app/components/content/Activity.vue b/app/components/home/Activity.vue similarity index 100% rename from app/components/content/Activity.vue rename to app/components/home/Activity.vue diff --git a/app/components/content/CatchPhrase.vue b/app/components/home/CatchPhrase.vue similarity index 100% rename from app/components/content/CatchPhrase.vue rename to app/components/home/CatchPhrase.vue diff --git a/app/components/content/Quote.vue b/app/components/home/Quote.vue similarity index 100% rename from app/components/content/Quote.vue rename to app/components/home/Quote.vue diff --git a/app/components/content/Stats.vue b/app/components/home/Stats.vue similarity index 100% rename from app/components/content/Stats.vue rename to app/components/home/Stats.vue diff --git a/app/pages/index.vue b/app/pages/index.vue index 99769ca..0b033cb 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -3,12 +3,18 @@ const { locale } = useI18n() const { data: page } = await useAsyncData(`/home/${locale.value}`, () => { return queryCollection('main').path(`/home/${locale.value}`).first() +}, { + watch: [locale], }) diff --git a/content/home/en.md b/content/home/en.md index e38b398..282b4dc 100644 --- a/content/home/en.md +++ b/content/home/en.md @@ -32,14 +32,3 @@ As well as programming, I enjoy :hover-text{hover="Sport allows me to burn off e eagerness to learn and progress are the qualities that enable me to succeed in my :hover-text{hover="Career already begun and far from over 😎" text="career"} and :hover-text{hover="Only 2 years of study left 💪" text="studies"}. -::stats -:: - -::activity -:: - -::quote -:: - -::catch-phrase -:: diff --git a/content/home/es.md b/content/home/es.md index d0284e0..ceb28b2 100644 --- a/content/home/es.md +++ b/content/home/es.md @@ -34,15 +34,3 @@ A parte de la programación, me gusta el :hover-text{hover="el deporte me permit y :hover-text{hover="los viajes me permiten desconectar ✈️" text="viajar"}. Mi pasión, mi compromiso y mis ganas de aprender y mejorar son las cualidades que me permiten triunfar en mi :hover-text{hover="carrera que ya he empezado, y le queda mucho para terminar 😎" text="carrera"} y en mis :hover-text{hover="solo me quedan 2 años de estudios 💪" text="estudios"}. - -::stats -:: - -::activity -:: - -::quote -:: - -::catch-phrase -:: diff --git a/content/home/fr.md b/content/home/fr.md index 88c3673..e90bdec 100644 --- a/content/home/fr.md +++ b/content/home/fr.md @@ -37,16 +37,4 @@ Outre la programmation, j'aime le :hover-text{hover="Le sport me permet de dépe et :hover-text{hover="Les voyages me libèrent et m'évadent ✈️" text="voyager"}. Ma passion, mon engagement et mon envie d'apprendre et de progresser sont les qualités qui me permettent de réussir dans ma :hover-text{hover="Carrière déjà commencée et loin d'être terminée 😎" text="carrière"} et mes :hover-text{hover="Il -ne me reste que 2 ans d'études 💪" text="études"}. - -::stats -:: - -::activity -:: - -::quote -:: - -::catch-phrase -:: +ne me reste que 2 ans d'études 💪" text="études"}. \ No newline at end of file