NGU-Web/src/lib
Zaldimmar 7eeac6b22f Let the hero's photos or brand backdrop sit behind a stream or video
hero_mode answered two questions with one value, so a livestream or
featured video could only ever sit on the brand backdrop. It's now
two settings:

  Background        brand | photos
  Beside the words  nothing | livestream | featured video

Any background goes with any feature: the photo slideshow can run
behind the stream, with its captions, progress bars and pause button
as before. The fallbacks are unchanged: photos with none added shows
brand, and a feature with no link set shows nothing beside the words.

Migration 025 adds hero_backdrop and hero_feature, maps each row's
hero_mode onto them (photos → photos + nothing, livestream/video →
brand + that feature, brand → brand + nothing) and drops hero_mode.
ADD/DROP COLUMN rather than a rebuild, so front_page's children and
touch trigger are untouched. The API's hero sends `backdrop` and
`feature` in place of `mode`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 18:29:40 -05:00
..
adminSchema.ts Let the hero's photos or brand backdrop sit behind a stream or video 2026-09-26 18:29:40 -05:00
adminTitle.tsx Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
api.ts Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
auth.tsx Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
embeds.ts Add a featured video mode to the front page hero 2026-09-26 17:55:51 -05:00
eventSeries.ts Add a reusable event calendar and put it on the front page 2026-09-25 06:28:42 -05:00
eventTypes.ts Clean up the schema: drop unused tables, rename scopes, publishable awards 2026-09-26 17:09:58 -05:00
hrefs.ts Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
media.ts Add a featured video mode to the front page hero 2026-09-26 17:55:51 -05:00
qr.ts Add a QR code page at /qr for any page on the site 2026-09-26 18:24:08 -05:00
roles.ts v1.5 - history and timeline as well as many datastructure updates added, polished, fixes 2026-09-25 02:38:51 -05:00
sections.tsx Revert the implicit-any typing of src/ 2026-09-26 15:32:28 -05:00
site.ts Add a QR code page at /qr for any page on the site 2026-09-26 18:24:08 -05:00
timeline.ts Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
timelineRefs.ts v1.5 - history and timeline as well as many datastructure updates added, polished, fixes 2026-09-25 02:38:51 -05:00
useContent.ts Add a QR code page at /qr for any page on the site 2026-09-26 18:24:08 -05:00
useFrontPage.ts Let the hero's photos or brand backdrop sit behind a stream or video 2026-09-26 18:29:40 -05:00
useHistory.ts Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
useRecord.ts Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
useResource.ts Convert src/ JavaScript modules to TypeScript 2026-09-26 15:39:42 -05:00
version.ts v1.5 - history and timeline as well as many datastructure updates added, polished, fixes 2026-09-25 02:38:51 -05:00