fix(content): reconcile published team roster and assets

This commit is contained in:
DeCentN2Madness committed 2026-10-09 10:40:08 -07:00
1 parent bc399b43b6
commit 34d5394b3c
11 files changed
+1051 -183

No files matched your search

+3 -1
View File
@@ -2,6 +2,7 @@ import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
import { z } from 'astro/zod';
import { homePageSchema, homeSectionsSchema } from './types/home-sections';
import { teamPageSchema } from './types/team-page';
const language = z.enum(['en', 'ar', 'es']);
const translationKey = z.string().min(1).refine((value) => value === value.trim(), {
@@ -22,7 +23,8 @@ const shared = {
draft: z.boolean().default(false),
noindex: z.boolean().default(false),
home: homePageSchema.optional(),
sections: homeSectionsSchema.optional()
sections: homeSectionsSchema.optional(),
team: teamPageSchema.optional()
};
const pages = defineCollection({