feat: display projects as pokemons in pokemon platinum

This commit is contained in:
2025-12-11 17:16:00 +01:00
parent 25313d19a8
commit 2910eb15bd
59 changed files with 393 additions and 480 deletions

View File

@@ -4,14 +4,17 @@ import { z } from "zod";
export default defineContentConfig({
collections: {
projects: defineCollection({
type: "page",
source: "projects/**/index.md",
type: "data",
source: "projects/**/index.yml",
schema: z.object({
description: z.string(),
url: z.url().nullable(),
order: z.number(),
technologies: z.array(z.string()),
scope: z.enum(["hobby", "work"]),
title: z.string(),
link: z.url().nullable(),
description: z.string(),
summary: z.string(),
technologies: z.array(z.string()),
tasks: z.array(z.string()),
}),
}),
},