Amélioration de la configuration du contenu et ajout de nouvelles ressources : mise à jour des collections de profil et de mathématiques, correction des types de fichiers, et ajustement des titres des ressources.

This commit is contained in:
2025-11-14 23:51:46 +01:00
parent f100b8fe04
commit 75a136fdba
10 changed files with 189 additions and 30 deletions

View File

@@ -112,31 +112,13 @@ export default defineContentConfig({
}))
})
}),
mathematics: defineCollection({
type: 'page',
source: 'mathematics.md'
}),
profile: defineCollection({
type: 'page',
source: 'profile.json',
schema: z.object({
shortBio: z.string(),
location: z.object({
current: z.string(),
timezone: z.string(),
remote: z.boolean()
}),
availability: z.object({
status: z.string(),
types: z.array(z.string()),
preferences: z.array(z.string()),
startDate: z.string().optional()
}),
careerGoals: z.array(z.string()),
workPreferences: z.object({
workStyle: z.array(z.string()),
companySize: z.array(z.string()),
industries: z.array(z.string()),
roles: z.array(z.string())
}),
achievements: z.array(z.string())
})
source: 'profile.md'
})
}
})