| 64 | |
| 65 | // Helper: section divider slide |
| 66 | function addSectionSlide(actLabel, title, subtitle) { |
| 67 | let s = pres.addSlide(); |
| 68 | s.background = { color: C.bgCard }; |
| 69 | s.addShape(pres.shapes.RECTANGLE, { x: 0, y: 0, w: 10, h: 0.06, fill: { color: C.cyan } }); |
| 70 | s.addText(actLabel, { |
| 71 | x: 0.8, y: 1.5, w: 8.4, h: 0.5, fontSize: 14, fontFace: FONT_H, |
| 72 | color: C.cyan, align: "left", margin: 0, charSpacing: 4, |
| 73 | }); |
| 74 | s.addText(title, { |
| 75 | x: 0.8, y: 2.1, w: 8.4, h: 1.2, fontSize: 36, fontFace: FONT_H, |
| 76 | color: C.white, bold: true, align: "left", margin: 0, |
| 77 | }); |
| 78 | if (subtitle) { |
| 79 | s.addText(subtitle, { |
| 80 | x: 0.8, y: 3.4, w: 8.4, h: 0.6, fontSize: 16, fontFace: FONT_B, |
| 81 | color: C.textSecondary, align: "left", margin: 0, |
| 82 | }); |
| 83 | } |
| 84 | return s; |
| 85 | } |
| 86 | |
| 87 | // Helper: content slide with title |
| 88 | function addContentSlide(title) { |