From 6cb688bd1b2285fb917194852fdc285c798d43cc Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sat, 7 Jun 2025 20:17:01 +0200 Subject: Add new images and update portfolio layouts for enhanced presentation --- src/content.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/content.config.ts') diff --git a/src/content.config.ts b/src/content.config.ts index f3d7755..acaaf8a 100644 --- a/src/content.config.ts +++ b/src/content.config.ts @@ -20,7 +20,9 @@ const portfolio = defineCollection({ githubLink: z.string().url().optional(), onlineLink: z.string().url().optional(), demoLink: z.string().url().optional(), - images: z.array(z.string()).default([]) + images: z.array( + z.object({ src: z.string(), alt: z.string() }) + ).default([]) }), }); -- cgit v1.3