style: 🎨 Run biome format

This commit is contained in:
BuyMyMojo 2024-12-20 17:41:56 +11:00
parent 2a4ea33de0
commit 0178f3bb80
4 changed files with 17 additions and 7 deletions

View file

@ -1,7 +1,7 @@
--- ---
const buttonFormat = "gif"; const buttonFormat = "gif";
import { Icon } from 'astro-icon/components' import { Icon } from "astro-icon/components";
--- ---
<hr class="h-1" style="" /> <hr class="h-1" style="" />

View file

@ -3,10 +3,20 @@ import { Picture, getImage } from "astro:assets";
import pfp from "../img/sites/avatar.png"; import pfp from "../img/sites/avatar.png";
import Partition from "./Partition.astro"; 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 optimizedBackground = await getImage({
const optimizedBackgroundLQ = await getImage({src: myBackground, format: 'jpeg', quality: 60, width: 680}) src: myBackground,
format: "avif",
quality: 50,
width: 680,
});
const optimizedBackgroundLQ = await getImage({
src: myBackground,
format: "jpeg",
quality: 60,
width: 680,
});
--- ---
<style is:inline> <style is:inline>
image-set( image-set(

View file

@ -6,7 +6,7 @@ const steam = "https://steamcommunity.com/profiles/76561198227003516";
const bsky = "https://bsky.app/profile/did:plc:bzrn33tcfgjxnsanvg6py3xn"; const bsky = "https://bsky.app/profile/did:plc:bzrn33tcfgjxnsanvg6py3xn";
const bskyArchive = "https://buymymojo.net/bsky/"; const bskyArchive = "https://buymymojo.net/bsky/";
import { Icon } from 'astro-icon/components' import { Icon } from "astro-icon/components";
--- ---
<h1>Places to find and/or contact me:</h1> <h1>Places to find and/or contact me:</h1>

View file

@ -7,7 +7,7 @@
@font-face { @font-face {
font-family: "Comic Shanns"; font-family: "Comic Shanns";
src: local("Comic Shanns Regular") src: local("Comic Shanns Regular");
/* ,url("/static/fonts/comic shanns.otf") /* ,url("/static/fonts/comic shanns.otf")
format("opentype"), url("/static/fonts/comic shanns 2.ttf") format("opentype"), url("/static/fonts/comic shanns 2.ttf")
format("truetype"); */ format("truetype"); */