fix(friends.astro): 🐛 move my own button to using <img />
again over Astro's <Image />
I forgot that I enabled processing of images from my own website so it caused it to get processed and optimised which is not what I want. moved to using the basic code for my image as that is all that is needed
This commit is contained in:
parent
22fb93357c
commit
b42dacffdd
2 changed files with 10 additions and 7 deletions
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
|
@ -3,6 +3,7 @@
|
|||
"FriendLink.astro",
|
||||
"astro.config.mjs",
|
||||
".vscode",
|
||||
"NavHeader.astro"
|
||||
"NavHeader.astro",
|
||||
"friends.astro"
|
||||
]
|
||||
}
|
|
@ -84,11 +84,12 @@ const pageTitle = "Aria's friends";
|
|||
<Partition>
|
||||
<h2>My badge:</h2>
|
||||
<div class="flex w-fit h-fit" style="background-color: #FFFCBC;">
|
||||
<FriendLink
|
||||
name="Aria"
|
||||
image="https://aria.coffee/static/img/buttons/aria.gif"
|
||||
target="https://aria.coffee"
|
||||
<a href="https://aria.coffee/" target="_blank">
|
||||
<img
|
||||
alt="Aria"
|
||||
src="https://aria.coffee/static/img/buttons/aria.gif"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
<br />
|
||||
<p>Code:</p>
|
||||
|
@ -99,7 +100,8 @@ const pageTitle = "Aria's friends";
|
|||
rows="2"
|
||||
class="rounded backdrop-brightness-0 language-html"
|
||||
style="background-color: black;"
|
||||
><img src="https://aria.coffee/static/img/buttons/aria.gif" alt="Aria" style="image-rendering: pixelated;" /></textarea
|
||||
><img src="https://aria.coffee/static/img/buttons/aria.gif"
|
||||
alt="Aria" style="image-rendering: pixelated;" /></textarea
|
||||
>
|
||||
<link
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.23.0/themes/prism.min.css"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue