mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-01-31 20:29:34 +01:00
feat: add experiences section with localization and update skills and writings components
This commit is contained in:
@@ -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()),
|
||||
}),
|
||||
}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user