📦️ Updated Tailwind to v4, updated hardware to uses
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user