mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-26 14:20:26 +01:00
refactor: simplifier le format des noms de compétences en remplaçant les objets de langue par des chaînes de caractères
This commit is contained in:
@@ -39,7 +39,7 @@ export default defineContentConfig({
|
|||||||
schema: z.object({
|
schema: z.object({
|
||||||
body: z.array(z.object({
|
body: z.array(z.object({
|
||||||
id: z.string(),
|
id: z.string(),
|
||||||
name: z.string(), // TODO: replace in content dir
|
name: z.string(),
|
||||||
items: z.array(z.object({
|
items: z.array(z.object({
|
||||||
name: z.string(),
|
name: z.string(),
|
||||||
icon: z.string()
|
icon: z.string()
|
||||||
|
|||||||
@@ -1,12 +1,8 @@
|
|||||||
{
|
{
|
||||||
"body": [
|
"body": [
|
||||||
{
|
{
|
||||||
"id": "programmation",
|
"id": "Programming",
|
||||||
"name": {
|
"name": "Programming",
|
||||||
"en": "Programming",
|
|
||||||
"fr": "Programmation",
|
|
||||||
"es": "Programación"
|
|
||||||
},
|
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"name": "TypeScript",
|
"name": "TypeScript",
|
||||||
@@ -40,11 +36,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "frontend",
|
"id": "frontend",
|
||||||
"name": {
|
"name": "Frontend Development",
|
||||||
"en": "Frontend Development",
|
|
||||||
"fr": "Développement Frontend",
|
|
||||||
"es": "Desarrollo Frontend"
|
|
||||||
},
|
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"name": "Nuxt Stack",
|
"name": "Nuxt Stack",
|
||||||
@@ -66,11 +58,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "devops",
|
"id": "devops",
|
||||||
"name": {
|
"name": "DevOps & Infrastructure",
|
||||||
"en": "DevOps & Infrastructure",
|
|
||||||
"fr": "DevOps & Infrastructure",
|
|
||||||
"es": "DevOps & Infrastructure"
|
|
||||||
},
|
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"name": "Docker",
|
"name": "Docker",
|
||||||
@@ -104,11 +92,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "backend",
|
"id": "backend",
|
||||||
"name": {
|
"name": "BackEnd & Data",
|
||||||
"en": "BackEnd & Data",
|
|
||||||
"fr": "BackEnd & Data",
|
|
||||||
"es": "BackEnd & Data"
|
|
||||||
},
|
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"name": "AdonisJs",
|
"name": "AdonisJs",
|
||||||
@@ -134,11 +118,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "python-frameworks",
|
"id": "python-frameworks",
|
||||||
"name": {
|
"name": "Python Frameworks",
|
||||||
"en": "Python Frameworks",
|
|
||||||
"fr": "Frameworks Python",
|
|
||||||
"es": "Frameworks Python"
|
|
||||||
},
|
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"name": "Tensorflow",
|
"name": "Tensorflow",
|
||||||
|
|||||||
Reference in New Issue
Block a user