Skip to content

Commit eebd3f5

Browse files
committed
chore: remove unused content collection
1 parent 437fb66 commit eebd3f5

1 file changed

Lines changed: 0 additions & 40 deletions

File tree

content.config.ts

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,6 @@ const Template = z.object({
133133
links: z.array(Button).optional(),
134134
})
135135

136-
const ShowcaseItem = z.object({
137-
name: z.string().optional(),
138-
url: z.string().optional(),
139-
hostname: z.string().optional(),
140-
screenshotUrl: z.string().optional(),
141-
screenshotOptions: z
142-
.object({
143-
delay: z.number(),
144-
})
145-
.optional(),
146-
})
147-
148136
const Starter = z.object({
149137
title: z.string(),
150138
description: z.string(),
@@ -326,33 +314,5 @@ export default defineContentConfig({
326314
source: 'starters/*',
327315
schema: Starter,
328316
}),
329-
showcase: defineCollection({
330-
type: 'data',
331-
source: 'showcase.yml',
332-
schema: BaseSection.extend({
333-
head: z
334-
.object({
335-
title: z.string().optional(),
336-
description: z.string().optional(),
337-
})
338-
.optional(),
339-
websites: z.array(ShowcaseItem),
340-
}),
341-
}),
342-
team: defineCollection({
343-
type: 'page',
344-
source: 'team.yml',
345-
schema: PageHero.extend({
346-
users: z.array(
347-
z.object({
348-
name: z.string(),
349-
location: z.string(),
350-
sponsor: z.string().url(),
351-
avatar: Image,
352-
links: z.array(Link),
353-
}),
354-
),
355-
}),
356-
}),
357317
},
358318
})

0 commit comments

Comments
 (0)