v1.14.2-present: event schedules, venues and map blocks, Present mode and its phone remote #33
1 changed files with 3 additions and 6 deletions
|
|
@ -1672,18 +1672,15 @@ function SlideView({ slide, accent }: { slide: Slide; accent: string }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (slide.kind === 'callout') {
|
if (slide.kind === 'callout') {
|
||||||
// The callout's tinted box, its text large, in the middle of the
|
// The callout's text large, in the middle of the slide under its
|
||||||
// slide under its heading.
|
// heading: no tint or bar, the slide is the callout.
|
||||||
const block = slide.blocks![0]
|
const block = slide.blocks![0]
|
||||||
return (
|
return (
|
||||||
<div className="flex h-full flex-col text-center">
|
<div className="flex h-full flex-col text-center">
|
||||||
<Scroll center>
|
<Scroll center>
|
||||||
<SlideTitle color={color}>{slide.title}</SlideTitle>
|
<SlideTitle color={color}>{slide.title}</SlideTitle>
|
||||||
<Rise order={1}>
|
<Rise order={1}>
|
||||||
<aside
|
<aside className="mx-auto max-w-[75vw] space-y-[2vh] text-[clamp(1.3rem,2.8vw,3.4rem)] leading-snug text-body">
|
||||||
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))` }}
|
|
||||||
>
|
|
||||||
<Paragraphs text={block.present?.text || block.text} accent={accent} />
|
<Paragraphs text={block.present?.text || block.text} accent={accent} />
|
||||||
</aside>
|
</aside>
|
||||||
</Rise>
|
</Rise>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue