feat: add testimonials to the call page

This commit is contained in:
Oliver Davies 2023-06-02 10:08:35 +01:00
parent baeec8fab2
commit 295ee1980d
27 changed files with 207 additions and 148 deletions

View file

@ -50,8 +50,21 @@ const talkCollection = defineCollection({
}),
});
const testimonialCollection = defineCollection({
type: 'data',
schema: z.object({
image: z.string().or(z.null()),
name: z.string(),
tagline: z.string(),
text: z.string(),
url: z.string().or(z.null()),
}),
});
export const collections = {
"daily-email": dailyEmailCollection,
blog: blogCollection,
talk: talkCollection,
testimonial: testimonialCollection,
};