Nudge the logo off centre

The lettering does not sit in the middle of its own image, so centring
the image leaves the logo looking pushed to one side.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H9v2Xoa6eoeGYpK6gp95k9
This commit is contained in:
simon
2026-08-10 23:50:42 +02:00
co-authored by Claude Opus 5
parent 7706fe46c6
commit b846146992
3 changed files with 16 additions and 5 deletions
+6 -1
View File
@@ -121,9 +121,14 @@ const IMAGE_TYPES = new Set(['.jpg', '.jpeg', '.png', '.webp', '.avif']);
const LOGO_FILE = 'logo.png';
export const LOGO_SRC = `/assets/${LOGO_FILE}`;
// How much of the screen's width the logo spans, centred.
// How much of the screen's width the logo spans.
export const LOGO_WIDTH = 0.6;
// The lettering does not sit in the middle of its own image, so centring the
// image leaves the logo looking pushed to one side. This nudges it back, as a
// fraction of the logo's width — positive moves it right.
export const LOGO_OFFSET = 0.1;
function readBackgrounds() {
let files;
try {