feat: add picture, improve layout
This commit is contained in:
parent
bf720b79ee
commit
b3d158d52c
10 changed files with 361 additions and 168 deletions
|
|
@ -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}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue