feat(FriendLink): move back to Image tag
All checks were successful
Deploy to Web Server / deploy (push) Successful in 11m29s

This commit is contained in:
aria 2025-08-04 07:07:40 +10:00
parent 0a85f2f487
commit 66d72b482d
Signed by: aria
SSH key fingerprint: SHA256:WqtcVnDMrv1lnUlNah5k31iywFUI/DV+5yHzCTO4Vds

View file

@ -1,9 +1,9 @@
---
// import { Image, Picture } from "astro:assets";
import { Image, Picture } from "astro:assets";
const { name, image, target } = Astro.props;
---
<a href={`${target}`} target="_blank"><img loading="lazy" decoding="async" src={image} width=176 height=62 alt={`${name}`} class="flex" /></a>
<a href={`${target}`} target="_blank"><Image loading="lazy" decoding="async" src={image} width=176 height=62 alt={`${name}`} class="flex" /></a>
<style>
img {
image-rendering: pixelated;