build(astro): migrate site to Astro 6

This commit is contained in:
DeCentN2Madness committed 2026-07-28 20:34:29 -07:00
1 parent 679731d3e2
commit a0cbcc7e71
10 files changed
+1537 -1073

No files matched your search

+3 -2
View File
@@ -1,5 +1,6 @@
import { defineCollection, z } from 'astro:content';
import { defineCollection } from 'astro:content';
import { glob } from 'astro/loaders';
import { z } from 'astro/zod';
import { homePageSchema, homeSectionsSchema } from './types/home-sections';
const language = z.enum(['en', 'ar', 'es']);
@@ -7,7 +8,7 @@ const shared = {
title: z.string(),
description: z.string().default(''),
slug: z.string(),
canonical: z.string().url().optional(),
canonical: z.url().optional(),
featuredImage: z.string().optional(),
alt: z.string().optional(),
lang: language,