From 33bbb7a3b9e5b1a9cfbe62528b05291c09ea2b3a Mon Sep 17 00:00:00 2001 From: kayjaydee Date: Tue, 28 Apr 2026 19:29:40 +0200 Subject: [PATCH] feat(localization): implement localePath for project links across components - Updated HytaleDemoGrid.vue, ProjectCard.vue, FeaturedProjectsSection.vue, about.vue, and project/[id].vue to utilize localePath for project links, enhancing localization support. - This change ensures that project URLs are correctly localized, improving user experience across different languages. This commit strengthens the site's multilingual capabilities by standardizing project link paths. --- app/components/HytaleDemoGrid.vue | 10 ++++++++++ app/components/ProjectCard.vue | 5 +++-- app/components/sections/FeaturedProjectsSection.vue | 3 ++- app/pages/about.vue | 5 +++-- app/pages/project/[id].vue | 5 +++-- 5 files changed, 21 insertions(+), 7 deletions(-) diff --git a/app/components/HytaleDemoGrid.vue b/app/components/HytaleDemoGrid.vue index 6d38fa9..8e3ffc2 100644 --- a/app/components/HytaleDemoGrid.vue +++ b/app/components/HytaleDemoGrid.vue @@ -2,6 +2,7 @@ import { hytaleDemos } from '~/data/hytaleDemos' const { t } = useI18n() +const localePath = useLocalePath()