bugfix: minor legibility changes

move elements around and less jitter on the crt effect because it was kinda annoying
This commit is contained in:
2026-06-19 15:05:09 -07:00
parent cee55012a5
commit 96011d6454
4 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -70,8 +70,8 @@ export default defineConfig({
return `<script type="application/json" id="${metadata}">\n${content}</script>`
}
// Embed as Base64 URI
if (['.png', '.gif'].find((ext) => filepath.endsWith(ext))) {
// Embed as data URI
if (['.png', '.jpg', '.jpeg', '.gif', '.webp', '.avif'].find((ext) => filepath.endsWith(ext))) {
const content = readFileSync(join(ROOT, filepath), 'base64')
return `data:${metadata};base64,${content}`
}