fix(events): resolve the ticket QR logo through @brand-app-logo #151

Merged
padreug merged 1 commit from fix/events-ticket-qr-brand-logo into dev 2026-09-09 13:00:01 +00:00
Showing only changes of commit 4faa57f87a - Show all commits

fix(events): resolve the ticket QR logo through @brand-app-logo

ticketQr.ts imported @brand/logo.png by literal filename, so any brand
kit that ships its logo as SVG only (cfaun's does) failed the events
standalone build with ENOENT. Every other logo consumer goes through
the @brand-app-logo alias, which resolves the per-app or brand logo in
SVG-then-PNG order; use the same alias here.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nx87UjQtd1HS5u4DwCMve8
Padreug 2026-09-09 14:48:31 +02:00

View file

@ -1,4 +1,4 @@
import brandLogo from '@brand/logo.png' import brandLogo from '@brand-app-logo?url'
/** /**
* Render the scannable `ticket://<id>` QR every ticket surface uses * Render the scannable `ticket://<id>` QR every ticket surface uses