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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user