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

@ -147,13 +147,27 @@ export const events = {
{ path: "event_logo", label: "Event logo", widget: "image", folder: "logos", resolve: mediaUrl, full: true },
{ path: "org_logo", label: "Org logo override", widget: "image", folder: "logos", resolve: mediaUrl, full: true },
{ path: "color", label: "Color", widget: "color" },
{
path: "photo",
label: "Event photo",
widget: "image",
resolve: mediaUrl,
full: true,
help: "16:9, eg. 1920 x 1080, shown whole: at the top of the event's page, as the front page's featured event, on featured cards, in the newsletter and when the page is shared.",
},
{
path: "photo_alt",
label: "Photo description",
full: true,
help: "What the photo shows, for people who can't see it, eg. Campers around the fire at the 2025 retreat. Default: none (read as decoration).",
},
{
path: "card_image",
label: "Card background",
widget: "image",
resolve: mediaUrl,
full: true,
help: "A photo behind the event's card, faded so the text stays readable.",
help: "Only behind the event's card, faded so the text stays readable and cropped to the card's shape (about square). Keep the subject centered and leave words out.",
},
],
},