feat: display projects as pokemons in pokemon platinum
This commit is contained in:
@@ -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()),
|
||||
}),
|
||||
}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user