style: 🎨 Run biome format
This commit is contained in:
parent
2a4ea33de0
commit
0178f3bb80
4 changed files with 17 additions and 7 deletions
|
@ -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,
|
||||
});
|
||||
---
|
||||
<style is:inline>
|
||||
image-set(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue