Events: a 16:9 event photo apart from the card background

- New Event photo and Photo description (migration 061), shown whole
  at the top of the event's page, as the front page's featured event,
  on featured cards, in newsletter picks and as the share preview.
- The front page's featured event box is 16:9 (was 16:7).
- Card background is only the faded background of the event's card.
- Each event's photo starts as its card background, so nothing
  changes on screen until it's replaced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-10-02 16:03:54 -05:00
parent b816203c0c
commit e324422f32
14 changed files with 69 additions and 15 deletions

View file

@ -133,8 +133,11 @@ export type EventRecord = {
org_logo?: string | null
event_logo?: string | null
color?: string | null
/** Behind the card. See 029_event_card_image.sql. */
/** Behind the card only, cropped. See 029_event_card_image.sql. */
card_image?: string | null
/** The event's own 16:9 photo, shown whole. See 061_event_photo.sql. */
photo?: string | null
photo_alt?: string | null
/* In billing order. The first is the one `color` and `org_logo`
fell back to when the event set neither. */
hosts: EventHost[]