Use 404 image when no image is available
All checks were successful
Deploy to Server / deploy (push) Successful in 10s

This commit is contained in:
Joakim Hellsén 2026-03-10 11:27:17 +01:00
commit 768d986556
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk
5 changed files with 88 additions and 6 deletions

8
static/404.svg Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256">
<rect width="100%" height="100%" fill="#9146ff" />
<g fill="#fff" font-family="Arial, Helvetica, sans-serif" font-size="24" font-weight="700">
<text x="50%" y="45%" dominant-baseline="middle" text-anchor="middle">:(</text>
<text x="50%" y="60%" dominant-baseline="middle" text-anchor="middle">404</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 457 B