// Finish → Slides: a printable slide deck for a session or the whole study (Save as PDF in the print dialog). import { useState } from 'react'; import { sessionsFor } from '../utils/handout.js'; import { printSlides } from '../utils/slides.js'; export default function SlidesExport({ project }) { const sessions = sessionsFor(project); const [which, setWhich] = useState('all'); const [dark, setDark] = useState(false); const [blocked, setBlocked] = useState(false); if (sessions.length === 0) return null; const go = () => setBlocked(!printSlides(project, which === 'all' ? null : [which], { dark })); return (

Slides

A 16:9 slide for each session’s passage, each outline point (with the verse it quotes) and the discussion questions. Choose “Save as PDF” in the print dialog, then open it in any slide viewer or project it from the PDF. It isn’t a PowerPoint file.

{blocked &&

Allow pop-ups for this site to print the slides.

}
); }