From fc4d13ed3c6990024ae5c28d54c5bea560ee5733 Mon Sep 17 00:00:00 2001 From: aria Date: Tue, 27 May 2025 19:44:31 +1000 Subject: [PATCH 1/3] perf(index): Swap 0x5066's button to v2 for smaller file size --- src/pages/index.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 9dfa628..047a57e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -93,7 +93,7 @@ const age = seconds / 31556952; /> Date: Tue, 27 May 2025 19:48:27 +1000 Subject: [PATCH 2/3] feat(): add two lower quality version of FriendLink --- src/components/FriendLinkLow.astro | 16 ++++++++++++++++ src/components/FriendLinkMid.astro | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 src/components/FriendLinkLow.astro create mode 100644 src/components/FriendLinkMid.astro diff --git a/src/components/FriendLinkLow.astro b/src/components/FriendLinkLow.astro new file mode 100644 index 0000000..0f9bfa1 --- /dev/null +++ b/src/components/FriendLinkLow.astro @@ -0,0 +1,16 @@ +--- +import { Image, Picture } from "astro:assets"; + +const { name, image, target } = Astro.props; +--- + + \ No newline at end of file diff --git a/src/components/FriendLinkMid.astro b/src/components/FriendLinkMid.astro new file mode 100644 index 0000000..c39aab3 --- /dev/null +++ b/src/components/FriendLinkMid.astro @@ -0,0 +1,16 @@ +--- +import { Image, Picture } from "astro:assets"; + +const { name, image, target } = Astro.props; +--- + + \ No newline at end of file From de43493c31ed7b9c727eb6e3e94abe27b48a7e96 Mon Sep 17 00:00:00 2001 From: aria Date: Tue, 27 May 2025 19:49:39 +1000 Subject: [PATCH 3/3] perf(index): move 0x5066's button to FriendLinkMid for further file size improvements --- src/pages/index.astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 047a57e..32e9f09 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,6 +5,7 @@ import Greeting from "../components/Greeting"; import Social from "../components/Social.astro"; import BaseLayout from "../layouts/BaseLayout.astro"; import FriendLink from "../components/FriendLink.astro"; +import FriendLinkMid from "../components/FriendLinkMid.astro"; const pageTitle = "Aria"; const currentDate = new Date(); @@ -91,7 +92,7 @@ const age = seconds / 31556952; image="https://notnite.com/buttons/notnite.png" target="https://notnite.com/" /> -