📦️ Updated Tailwind to v4, updated hardware to uses

This commit is contained in:
2025-02-15 13:29:01 +01:00
parent cfd11a98ec
commit 7c5b228e59
24 changed files with 611 additions and 869 deletions

View File

@ -16,8 +16,8 @@ const projectCollection = defineCollection({
})
})
const hardwareCollection = defineCollection({
loader: glob({ pattern: "**\/*.yaml", base: "./src/content/hardware" }),
const usesCollection = defineCollection({
loader: glob({ pattern: "**\/*.yaml", base: "./src/content/uses" }),
schema: z.object({
title: z.string(),
accessories: z.optional(z.array(z.string())),
@ -27,5 +27,5 @@ const hardwareCollection = defineCollection({
export const collections = {
projects: projectCollection,
hardware: hardwareCollection
uses: usesCollection
}