Present: the logo as a plain image, no dark mode plate, full size

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-11-12 04:40:19 -06:00
parent c35e65be63
commit 584340b0ee

View file

@ -82,7 +82,6 @@ import {
import ContentBlocks, { eventLine } from '../components/ContentBlocks.tsx'
import { LocationNumber, MapPicture, isMarked, locationNumber } from '../components/MapBlock.tsx'
import { Paragraphs } from '../components/InlineText.tsx'
import Logo from '../components/Logo.tsx'
import { Presenting } from '../lib/presenting.ts'
import {
useEvent,
@ -1009,7 +1008,15 @@ function Player({
<span
className={`pointer-events-none absolute right-[3vw] ${frame === 'border' ? 'bottom-[4vh]' : 'bottom-[3vh]'}`}
>
<Logo src={mediaUrl(look.logo)} className="block h-[8vh] w-auto max-w-[16vw] object-contain" />
{/* A plain img, not Logo: no dark mode plate (the dark
theme has its own logo, 096) and the full file, not the
640px copy. Hides itself if it fails to load. */}
<img
src={mediaUrl(look.logo) ?? ''}
alt=""
onError={(e) => (e.currentTarget.style.display = 'none')}
className="block h-[8vh] w-auto max-w-[16vw] object-contain"
/>
</span>
)}