Move friend buttons to front page&re-encode images
Thanks specifically to @LeNooby09 for borking your website and making my website have a borked image >:3
This commit is contained in:
parent
5a72c0519e
commit
5153e2deef
5 changed files with 189 additions and 132 deletions
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
import { Image } from "astro:assets";
|
||||
import { Image, Picture } from "astro:assets";
|
||||
|
||||
const { name, image, target } = Astro.props;
|
||||
---
|
||||
<a href={`${target}`} target="_blank"><Image src={image} width={88} height={31} alt={`${name}`} class="flex" /></a>
|
||||
<a href={`${target}`} target="_blank"><Picture src={image} width={88} height={31} alt={`${name}`} class="flex" quality="max" decoding="async" loading="lazy" formats={['webp']} /></a>
|
||||
<style>
|
||||
img {
|
||||
image-rendering: pixelated;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue