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') {
|
||||
// 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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue