diff --git a/src/content/config.ts b/src/content/config.ts deleted file mode 100644 index 441fbff..0000000 --- a/src/content/config.ts +++ /dev/null @@ -1,96 +0,0 @@ -// // https://docs.astro.build/en/guides/content-collections/#defining-collections - -// import { z, defineCollection } from 'astro:content'; -// import { docsSchema } from '@astrojs/starlight/schema'; - -// const productsCollection = defineCollection({ -// type: 'content', -// schema: ({ image }) => z.object({ -// title: z.string(), -// description: z.string(), -// main: z.object({ -// id: z.number(), -// content: z.string(), -// imgCard: image(), -// imgMain: image(), -// imgAlt: z.string(), -// }), -// tabs: z.array( -// z.object({ -// id: z.string(), -// dataTab: z.string(), -// title: z.string(), -// }) -// ), -// longDescription: z.object({ -// title: z.string(), -// subTitle: z.string(), -// btnTitle: z.string(), -// btnURL: z.string(), -// }), -// descriptionList: z.array( -// z.object({ -// title: z.string(), -// subTitle: z.string(), -// }) -// ), -// specificationsLeft: z.array( -// z.object({ -// title: z.string(), -// subTitle: z.string(), -// }) -// ), -// specificationsRight: z.array( -// z.object({ -// title: z.string(), -// subTitle: z.string(), -// }) -// ).optional(), -// tableData: z.array( -// z.object({ -// feature: z.array(z.string()), -// description: z.array(z.array(z.string())), -// }) -// ).optional(), -// blueprints: z.object({ -// first: image().optional(), -// second: image().optional(), -// }), -// }), -// }); - -// const blogCollection = defineCollection({ -// type: "content", -// schema: ({ image }) => z.object ({ -// title: z.string(), -// description: z.string(), -// contents: z.array(z.string()), -// author: z.string(), -// role: z.string().optional(), -// authorImage: image(), -// authorImageAlt: z.string(), -// pubDate: z.date(), -// cardImage: image(), -// cardImageAlt: z.string(), -// readTime: z.number(), -// tags: z.array(z.string()).optional(), -// }), -// }); - -// const insightsCollection = defineCollection({ -// type: "content", -// schema: ({ image }) => z.object ({ -// title: z.string(), -// description: z.string(), -// // contents: z.array(z.string()), -// cardImage: image(), -// cardImageAlt: z.string(), -// }), -// }); - -// export const collections = { -// docs: defineCollection({ schema: docsSchema() }), -// 'products': productsCollection, -// 'blog': blogCollection, -// 'insights': insightsCollection, -// }; \ No newline at end of file