From 0178f3bb80e8178cfad49d95e996ace84a37fd26 Mon Sep 17 00:00:00 2001 From: BuyMyMojo Date: Fri, 20 Dec 2024 17:41:56 +1100 Subject: [PATCH] style: :art: Run biome format --- src/components/Footer.astro | 2 +- src/components/NavHeader.astro | 16 +++++++++++++--- src/components/Social.astro | 2 +- src/styles/aria.css | 4 ++-- 4 files changed, 17 insertions(+), 7 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 061d51b..d8012e1 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,7 +1,7 @@ --- const buttonFormat = "gif"; -import { Icon } from 'astro-icon/components' +import { Icon } from "astro-icon/components"; ---
diff --git a/src/components/NavHeader.astro b/src/components/NavHeader.astro index 14b07c4..a481ca8 100644 --- a/src/components/NavHeader.astro +++ b/src/components/NavHeader.astro @@ -3,10 +3,20 @@ import { Picture, getImage } from "astro:assets"; import pfp from "../img/sites/avatar.png"; import Partition from "./Partition.astro"; -import myBackground from "../img/sites/avatar-ht-f.png" +import myBackground from "../img/sites/avatar-ht-f.png"; -const optimizedBackground = await getImage({src: myBackground, format: 'avif', quality: 50, width: 680}) -const optimizedBackgroundLQ = await getImage({src: myBackground, format: 'jpeg', quality: 60, width: 680}) +const optimizedBackground = await getImage({ + src: myBackground, + format: "avif", + quality: 50, + width: 680, +}); +const optimizedBackgroundLQ = await getImage({ + src: myBackground, + format: "jpeg", + quality: 60, + width: 680, +}); ---