diff --git a/app/components/sections/FeaturedProjectsSection.vue b/app/components/sections/FeaturedProjectsSection.vue index 3af4537..49af8b5 100644 --- a/app/components/sections/FeaturedProjectsSection.vue +++ b/app/components/sections/FeaturedProjectsSection.vue @@ -7,8 +7,8 @@ const { featuredProjects } = useProjects()
-

{{ t('home.projects.title') }}

-

{{ t('home.projects.subtitle') }}

+

{{ t('home.featuredProjects.title') }}

+

{{ t('home.featuredProjects.subtitle') }}

-

{{ t('home.testimonials.title') }}

-

{{ t('home.testimonials.subtitle') }}

+

{{ t('testimonials.title') }}

+

{{ t('testimonials.subtitle') }}

{{ testimonialsStats.totalReviews }}

-

{{ t('home.testimonials.stats.clients') }}

+

{{ t('testimonials.stats.clients') }}

{{ testimonialsStats.averageRating }}/5

-

{{ t('home.testimonials.stats.rating') }}

+

{{ t('testimonials.stats.rating') }}

{{ testimonialsStats.projectsCompleted }}

-

{{ t('home.testimonials.stats.projects') }}

+

{{ t('testimonials.stats.projects') }}

diff --git a/app/composables/useProjects.ts b/app/composables/useProjects.ts index 58466cf..497651b 100644 --- a/app/composables/useProjects.ts +++ b/app/composables/useProjects.ts @@ -11,10 +11,10 @@ export function useProjects() { const projects = computed(() => projectsData.map((p) => ({ ...p, - title: t(`projects.${p.id}.title`), - description: t(`projects.${p.id}.description`), - longDescription: te(`projects.${p.id}.longDescription`) - ? t(`projects.${p.id}.longDescription`) + title: t(`projectData.${p.id}.title`), + description: t(`projectData.${p.id}.description`), + longDescription: te(`projectData.${p.id}.longDescription`) + ? t(`projectData.${p.id}.longDescription`) : undefined, })), )