import type { Page } from '@open-slide/core'; const ACCENT = '#1f9e6e';const WORD = 'story';const SUBTITLE = 'Versioned, reviewable, yours.'; const Cover: Page = () => ( <section style={{ padding: 120 }}> <h1 style={{ fontSize: 188, letterSpacing: '-0.04em' }}> Hello, <em style={{ color: ACCENT }}>{WORD}</em>. </h1> <p>{SUBTITLE}</p> </section>); export default [Cover] satisfies Page[];Hello, story.
Versioned, reviewable, yours.
Edit the file and the canvas re-renders. Anything you can write in React goes on a page.
A slide is a file.
Each page is a React component on a 1920×1080 canvas. Steps, transitions, and morphs are plain exports in the same file.