feat(projects): localize project titles

This commit is contained in:
poyrazavsever
2026-08-30 20:13:31 +03:00
parent ea8fcb9db4
commit 5dc68b2d5a
4 changed files with 31 additions and 11 deletions
+1
View File
@@ -121,6 +121,7 @@ export async function ProjectsContent() {
const localizeItems = (items: ProjectItem[]): LocalizedProjectItem[] => {
return items.map((item) => ({
...item,
title: getLocalizedValue(item.title, locale),
description: getLocalizedValue(item.description, locale),
architecture: getLocalizedValue(item.architecture, locale),
badge: item.badge ? getLocalizedValue(item.badge, locale) : undefined,