Add some of my Certificates to the page

This commit is contained in:
Michał Gdula 2024-05-24 18:41:05 +01:00
parent 683ece66db
commit 5c41d81288
10 changed files with 128 additions and 6 deletions

View file

@ -22,7 +22,19 @@ const projectsCollection = defineCollection({
}),
});
const certificatesCollection = defineCollection({
type: "data",
schema: z.object({
title: z.string(),
provider: z.string(),
achieved: z.date(),
skills: z.array(z.string()).optional(),
link: z.string().optional(),
}),
})
export const collections = {
"posts": postsCollection,
"projects": projectsCollection,
"certificates": certificatesCollection,
};