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() @@ -76,6 +77,15 @@ const { t } = useI18n() + + {{ t('projects.buttons.viewProject') }} + () const { t } = useI18n() +const localePath = useLocalePath() const translatedCategory = computed(() => { if (!props.project.category) return '' @@ -22,7 +23,7 @@ const translatedCategory = computed(() => { itemtype="https://schema.org/CreativeWork" > - + { const { t } = useI18n() const { featuredProjects } = useProjects() +const localePath = useLocalePath() @@ -13,7 +14,7 @@ const { featuredProjects } = useProjects() {{ t('home.featuredProjects.title') }} {{ t('home.featuredProjects.subtitle') }} - + {{ t('home.cta.viewProjects') }} diff --git a/app/pages/about.vue b/app/pages/about.vue index 767bb94..0139a23 100644 --- a/app/pages/about.vue +++ b/app/pages/about.vue @@ -2,6 +2,7 @@ import { techStack } from '~/data/techstack' const { t } = useI18n() +const localePath = useLocalePath() useSeoMeta({ title: () => t('seo.about.title'), @@ -180,9 +181,9 @@ const approachCards = computed(() => [ :title="t('about.cta.title')" :subtitle="t('about.cta.description')" :primary-text="t('about.cta.button')" - primary-to="/contact" + :primary-to="localePath('/contact')" :secondary-text="t('home.cta.viewProjects')" - secondary-to="/projects" + :secondary-to="localePath('/projects')" /> diff --git a/app/pages/project/[id].vue b/app/pages/project/[id].vue index 564c29e..1e6d898 100644 --- a/app/pages/project/[id].vue +++ b/app/pages/project/[id].vue @@ -1,6 +1,7 @@
{{ t('home.featuredProjects.subtitle') }}