Present: slide order, presentation settings, blocks drawn for a screen

- Setup's Order list: drag or move any slide; saved in the address
- A heading-only section titles the slides after it, no slide of its own
- Event Presentation settings (095): background image and color, dim,
  frame, accent, text color, logo
- Blocks: Presentation text and Leave out of the presentation; map
  blocks get a slide per section, map only, no details, location slides
- Presented, links are plain text, people a row of round photos and
  names, organizations their logos

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-11-12 03:41:06 -06:00
parent a79559d290
commit 7e21a0dd40
16 changed files with 652 additions and 68 deletions

View file

@ -70,6 +70,35 @@ export type ContentBlock = {
/** A map block's own sections of its venue's locations, by key
* (094). With any, `venue` holds only the locations they name. */
map_sections?: MapSection[]
/** How it's presented (095); null with nothing set. */
present?: BlockPresent | null
}
/** A block's presentation settings (095), EventPresent.tsx. */
export type BlockPresent = {
hide: boolean
/** In place of its text, eg. a shorter heading. */
text: string | null
/** A map: a slide per map section. */
map_split: boolean
map_no_list: boolean
map_no_details: boolean
/** A map: which locations get a slide; null every marked one. */
places: 'picked' | 'none' | null
place_keys: string[]
}
/** An event's presentation look (095). */
export type EventPresentLook = {
background: string | null
background_color: string | null
/** Percent of the color over the image; null 60. */
dim: number | null
/** null the accent bar, title line and timer. */
frame: 'border' | 'none' | null
accent: string | null
text_color: string | null
logo: string | null
}
export type MapSection = { name: string; keys: string[] }
@ -246,6 +275,8 @@ export type EventRecord = {
show_contents?: boolean
/** Above the link buttons; null shows none (089). */
links_heading?: string | null
/** Its page presented (095). */
present?: EventPresentLook
blocks: ContentBlock[]
people: EventPerson[]
awards: EventAward[]