From 3638bbabc073b44f3d0e74e3b59bf5fc3b33266a Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Thu, 13 Nov 2025 11:22:36 +0100 Subject: [PATCH] =?UTF-8?q?refactor:=20simplifier=20le=20format=20des=20no?= =?UTF-8?q?ms=20de=20comp=C3=A9tences=20en=20rempla=C3=A7ant=20les=20objet?= =?UTF-8?q?s=20de=20langue=20par=20des=20cha=C3=AEnes=20de=20caract=C3=A8r?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content.config.ts | 2 +- content/skills.json | 32 ++++++-------------------------- 2 files changed, 7 insertions(+), 27 deletions(-) diff --git a/content.config.ts b/content.config.ts index 306b88c..43dfcb1 100644 --- a/content.config.ts +++ b/content.config.ts @@ -39,7 +39,7 @@ export default defineContentConfig({ schema: z.object({ body: z.array(z.object({ id: z.string(), - name: z.string(), // TODO: replace in content dir + name: z.string(), items: z.array(z.object({ name: z.string(), icon: z.string() diff --git a/content/skills.json b/content/skills.json index 555a75c..8ef9964 100644 --- a/content/skills.json +++ b/content/skills.json @@ -1,12 +1,8 @@ { "body": [ { - "id": "programmation", - "name": { - "en": "Programming", - "fr": "Programmation", - "es": "Programación" - }, + "id": "Programming", + "name": "Programming", "items": [ { "name": "TypeScript", @@ -40,11 +36,7 @@ }, { "id": "frontend", - "name": { - "en": "Frontend Development", - "fr": "Développement Frontend", - "es": "Desarrollo Frontend" - }, + "name": "Frontend Development", "items": [ { "name": "Nuxt Stack", @@ -66,11 +58,7 @@ }, { "id": "devops", - "name": { - "en": "DevOps & Infrastructure", - "fr": "DevOps & Infrastructure", - "es": "DevOps & Infrastructure" - }, + "name": "DevOps & Infrastructure", "items": [ { "name": "Docker", @@ -104,11 +92,7 @@ }, { "id": "backend", - "name": { - "en": "BackEnd & Data", - "fr": "BackEnd & Data", - "es": "BackEnd & Data" - }, + "name": "BackEnd & Data", "items": [ { "name": "AdonisJs", @@ -134,11 +118,7 @@ }, { "id": "python-frameworks", - "name": { - "en": "Python Frameworks", - "fr": "Frameworks Python", - "es": "Frameworks Python" - }, + "name": "Python Frameworks", "items": [ { "name": "Tensorflow",