mirror of
https://github.com/Fluffy-Bean/website.git
synced 2025-05-29 23:03:15 +00:00
Import image from path
Update page title based on post/project title Use more optimised Image element leg
This commit is contained in:
parent
5c41d81288
commit
44a15873f4
9 changed files with 60 additions and 25 deletions
|
@ -1,8 +1,11 @@
|
|||
---
|
||||
import { Image } from "astro:assets";
|
||||
|
||||
import leg from "../../public/leg.webp";
|
||||
---
|
||||
|
||||
<a class="button" id="music" href="https://www.last.fm/user/Fluffy_Bean_" target="_blank">
|
||||
<img src="/leg.webp" alt="Track cover art" id="music-image"/>
|
||||
<Image src={leg} width="64" height="64" loading="eager" alt="Track cover art" id="music-image" />
|
||||
<ul>
|
||||
<li id="music-title">Track Name</li>
|
||||
<li id="music-artist">by Artist</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue