v1.14.2-present: event schedules, venues and map blocks, Present mode and its phone remote #33

Merged
ngu-git-admin merged 40 commits from event-schedule into main 2026-11-21 23:02:06 +00:00
Showing only changes of commit c26e662406 - Show all commits

View file

@ -1672,18 +1672,15 @@ function SlideView({ slide, accent }: { slide: Slide; accent: string }) {
}
if (slide.kind === 'callout') {
// The callout's tinted box, its text large, in the middle of the
// slide under its heading.
// The callout's text large, in the middle of the slide under its
// heading: no tint or bar, the slide is the callout.
const block = slide.blocks![0]
return (
<div className="flex h-full flex-col text-center">
<Scroll center>
<SlideTitle color={color}>{slide.title}</SlideTitle>
<Rise order={1}>
<aside
className="mx-auto max-w-[75vw] space-y-[2vh] border-l-[0.5vw] px-[3vw] py-[3vh] text-[clamp(1.3rem,2.8vw,3.4rem)] leading-snug text-body"
style={{ borderColor: accent, background: `color-mix(in srgb, ${accent} 10%, var(--color-surface))` }}
>
<aside className="mx-auto max-w-[75vw] space-y-[2vh] text-[clamp(1.3rem,2.8vw,3.4rem)] leading-snug text-body">
<Paragraphs text={block.present?.text || block.text} accent={accent} />
</aside>
</Rise>