import { defineContentConfig, defineCollection, z } from "@nuxt/content"; export default defineContentConfig({ collections: { index_en: defineCollection({ type: "page", source: "en-US/index.yml", schema: z.object({ capabilities: z.object({ title: z.string(), features: z.array( z.object({ title: z.string(), description: z.string(), icon: z.string(), }) ), }), featuredProjects: z.object({ title: z.string(), projects: z.array( z.object({ title: z.string(), description: z.string(), image: z.string(), demoLink: z.string(), }) ), }), techStack: z.object({ title: z.string(), }), whyChooseUs: z.object({ title: z.string(), features: z.array( z.object({ title: z.string(), description: z.string(), icon: z.string(), }) ), }), }), }), index_zh: defineCollection({ type: "page", source: "zh-CN/index.yml", schema: z.object({ capabilities: z.object({ title: z.string(), features: z.array( z.object({ title: z.string(), description: z.string(), icon: z.string(), }) ), }), featuredProjects: z.object({ title: z.string(), projects: z.array( z.object({ title: z.string(), description: z.string(), image: z.string(), demoLink: z.string(), }) ), }), techStack: z.object({ title: z.string(), }), whyChooseUs: z.object({ title: z.string(), features: z.array( z.object({ title: z.string(), description: z.string(), icon: z.string(), }) ), }), }), }), }, });