feat: add experiences section with localization and update skills and writings components

This commit is contained in:
2025-09-06 14:19:04 +02:00
parent d40f30a06a
commit 38405ef7e3
12 changed files with 172 additions and 14 deletions

View File

@@ -79,4 +79,26 @@ export const collections = {
})),
}),
}),
experiences: defineCollection({
type: 'data',
source: 'experiences/*.json',
schema: z.object({
title: z.object({
en: z.string(),
fr: z.string(),
es: z.string(),
}),
company: z.string(),
companyUrl: z.string().url().optional(),
startDate: z.string(),
endDate: z.string().optional(),
location: z.string(),
description: z.object({
en: z.string(),
fr: z.string(),
es: z.string(),
}),
tags: z.array(z.string()),
}),
}),
}