aboutsummaryrefslogtreecommitdiff
path: root/src/content.config.ts
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-06-07 20:17:01 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2025-06-07 20:17:01 +0200
commit6cb688bd1b2285fb917194852fdc285c798d43cc (patch)
tree535293539e53dfa3ec3aeca8f217b6d066350c75 /src/content.config.ts
parent36d3a2c4c6dbfcc74271d0956eff9b1e454fc138 (diff)
Add new images and update portfolio layouts for enhanced presentation
Diffstat (limited to 'src/content.config.ts')
-rw-r--r--src/content.config.ts4
1 files changed, 3 insertions, 1 deletions
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([])
}),
});