migrate to astro
This commit is contained in:
parent
82150df591
commit
5e67b2bb0d
135 changed files with 5886 additions and 8330 deletions
9
src/components/Picture.astro
Normal file
9
src/components/Picture.astro
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
import { Picture as AstroPicture } from "astro:assets";
|
||||
---
|
||||
|
||||
<AstroPicture
|
||||
src={Astro.props.src}
|
||||
alt={Astro.props.alt}
|
||||
formats={["avif", "webp"]}
|
||||
/>
|
||||
Loading…
Add table
Add a link
Reference in a new issue