feat(01-02): create useProjects() composable with i18n support

- useProjects() returns projects, featuredProjects, filterByCategory, search, findById
- Added title/description/longDescription fields to Project interface
- Uses Nuxt auto-imports (computed, useI18n, Ref)
- i18n keys follow projects.${id}.title pattern
This commit is contained in:
2026-04-08 14:59:29 +02:00
parent 2b97bc767e
commit 55019f68b8
3 changed files with 80 additions and 32 deletions
+3
View File
@@ -5,6 +5,9 @@ export interface ProjectButton {
export interface Project {
id: string
title: string
description: string
longDescription?: string
image: string
technologies: string[]
category: string