Compare commits

..

3 commits

Author SHA1 Message Date
203414e26e
perf(index): move all FriendLinks over to high variant
All checks were successful
Deploy to Web Server / deploy (push) Successful in 2m24s
2025-05-27 20:00:21 +10:00
eec691aac0
feat(FriendLink): add high variant 2025-05-27 19:59:47 +10:00
83d634817a
perf(index): try 0x5066's button with FriendLinkLow 2025-05-27 19:53:55 +10:00
2 changed files with 19 additions and 2 deletions

View file

@ -0,0 +1,16 @@
---
import { Image, Picture } from "astro:assets";
const { name, image, target } = Astro.props;
---
<a href={`${target}`} target="_blank"><Picture src={image} width={88} height={31} alt={`${name}`} class="flex" quality="high" decoding="async" loading="lazy" formats={['webp']} /></a>
<style>
img {
image-rendering: pixelated;
min-width: 88px;
width: 176px;
min-height: 31px;
height: 62px;
padding: 4px;
}
</style>

View file

@ -4,8 +4,9 @@ import Partition from "../components/Partition.astro";
import Greeting from "../components/Greeting"; import Greeting from "../components/Greeting";
import Social from "../components/Social.astro"; import Social from "../components/Social.astro";
import BaseLayout from "../layouts/BaseLayout.astro"; import BaseLayout from "../layouts/BaseLayout.astro";
import FriendLink from "../components/FriendLink.astro"; import FriendLink from "../components/FriendLinkHigh.astro";
import FriendLinkMid from "../components/FriendLinkMid.astro"; import FriendLinkMid from "../components/FriendLinkMid.astro";
import FriendLinkLow from "../components/FriendLinkLow.astro";
const pageTitle = "Aria"; const pageTitle = "Aria";
const currentDate = new Date(); const currentDate = new Date();
@ -92,7 +93,7 @@ const age = seconds / 31556952;
image="https://notnite.com/buttons/notnite.png" image="https://notnite.com/buttons/notnite.png"
target="https://notnite.com/" target="https://notnite.com/"
/> />
<FriendLinkMid <FriendLinkLow
name="0x5066" name="0x5066"
image="https://erisdump.neocities.org/buttons/88x31_2.gif" image="https://erisdump.neocities.org/buttons/88x31_2.gif"
target="https://erisdump.neocities.org" target="https://erisdump.neocities.org"