feat: add picture, improve layout

This commit is contained in:
Alexander Daichendt 2025-07-04 17:05:28 +02:00
parent bf720b79ee
commit b3d158d52c
10 changed files with 361 additions and 168 deletions

View file

@ -3,7 +3,8 @@ import { Picture as AstroPicture } from "astro:assets";
---
<AstroPicture
src={Astro.props.src}
alt={Astro.props.alt}
formats={["avif", "webp"]}
src={Astro.props.src}
alt={Astro.props.alt}
formats={["avif", "webp"]}
{...Astro.props}
/>