mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-04 04:25:28 +00:00
refactor: convert Picture component to use AstroImageTools
This commit is contained in:
@@ -17,7 +17,7 @@ const projectCollection = defineCollection({
|
||||
src: z.string(),
|
||||
height: z.number().optional(),
|
||||
width: z.number().optional(),
|
||||
aspectRatio: z.union([z.number(), z.string().regex(/^\d+:\d+$/)]),
|
||||
aspectRatio: z.number().optional(),
|
||||
})
|
||||
.optional(),
|
||||
sort: z.number().optional(),
|
||||
|
||||
Reference in New Issue
Block a user