Compare commits

...

2 commits

Author SHA1 Message Date
BuyMyMojo
46fd39d6a1
Fix goofed up title 2025-03-26 03:11:10 +11:00
BuyMyMojo
b7f702b4b6
Update nix shell and compress-images to work properly 2025-03-26 03:10:29 +11:00
3 changed files with 6 additions and 17 deletions

View file

@ -1,17 +1,3 @@
#!/bin/bash
if command -v jpegoptim >/dev/null 2>&1 ; then
echo "jpegoptim found"
find ./dist \( -iname "*.jpg" -o -iname "*.jpeg" \) | jpegoptim -p -P --files-stdin -w $(nproc --all)
else
echo "jpegoptim was not found! install either with your package manager or get the binary from the github"
echo "https://github.com/tjko/jpegoptim/releases/latest"
fi
if command -v oxipng >/dev/null 2>&1 ; then
echo "oxipng found"
oxipng -o max -a -r ./dist
else
echo "oxipng was not found! install with your package manager, cargo or get the binary from the github"
echo "https://github.com/shssoichiro/oxipng/releases/latest"
fi

View file

@ -7,5 +7,8 @@ pkgs.mkShell {
pkgs.nodejs
pkgs.pnpm
pkgs.biome
pkgs.oxipng
pkgs.jpegoptim
pkgs.croc
];
}

View file

@ -4,7 +4,7 @@ import "../styles/aria.css";
import Partition from "../components/Partition.astro";
import BaseLayout from "../layouts/BaseLayout.astro";
const pageTitle = "Extreme partition test";
const pageTitle = "Extreme format test";
const description = "All of Aria's friends with 88x31 buttons for you to click on!!";
---