Summary / Closing Page Generator
Creates summary and closing slides for PowerPoint presentations using PptxGenJS. Used for wrap-up and call-to-action.
Layout Options
| Layout |
Best For |
| Key Takeaways |
Educational, corporate, data-driven |
| CTA / Next Steps |
Sales pitches, proposals, project kick-offs |
| Thank You / Contact |
Conference talks, keynotes |
| Split Recap |
Presentations needing both recap and action |
Code Example: Key Takeaways
function createSlide(pres, theme) {
const slide = pres.addSlide();
slide.background = { color: theme.bg };
// Title
slide.addText("Key Takeaways", {
x: 0.5, y: 0.3, w: 9, h: 1,
fontSize: 44, fontFace: "Arial",
color: theme.primary, bold: true
});
// Takeaways
slide.addText([
{ text: "Takeaway one: Brief summary of main point", options: { bullet: true, fontSize: 18 } },
{ text: "Takeaway two: Another key insight", options: { bullet: true, fontSize: 18 } },
{ text: "Takeaway three: Final important point", options: { bullet: true, fontSize: 18 } }
], {
x: 0.5, y: 1.8, w: 9, h: 2.5,
fontFace: "Arial", color: theme.secondary, valign: "top"
});
// CTA
slide.addText("Contact us at: email@example.com", {
x: 0.5, y: 4.5, w: 9, h: 0.5,
fontSize: 16, fontFace: "Arial",
color: theme.accent, align: "center"
});
// Page number badge
slide.addShape(pres.shapes.OVAL, { x: 9.3, y: 5.1, w: 0.4, h: 0.4, fill: { color: theme.accent } });
slide.addText("N", { x: 9.3, y: 5.1, w: 0.4, h: 0.4, fontSize: 12, color: "FFFFFF", bold: true, align: "center", valign: "middle" });
return slide;
}
module.exports = { createSlide };
Common Pitfalls
- No CTA: Every summary should include a clear call to action or next steps
- Too many takeaways: Keep to 3-5 concise items
- Weak closing: Main closing statement should be prominent and memorable
- Missing contact info: Include email or social handles for follow-up
Verification Checklist
1---2name: summary-page-generator3description: Use when creating summary/closing slides for PowerPoint presentations with PptxGenJS.4---56# Summary / Closing Page Generator78Creates summary and closing slides for PowerPoint presentations using PptxGenJS. Used for wrap-up and call-to-action.910## Layout Options1112| Layout | Best For |13|--------|----------|14| Key Takeaways | Educational, corporate, data-driven |15| CTA / Next Steps | Sales pitches, proposals, project kick-offs |16| Thank You / Contact | Conference talks, keynotes |17| Split Recap | Presentations needing both recap and action |1819## Code Example: Key Takeaways2021```javascript22function createSlide(pres, theme) {23 const slide = pres.addSlide();24 slide.background = { color: theme.bg };2526 // Title27 slide.addText("Key Takeaways", {28 x: 0.5, y: 0.3, w: 9, h: 1,29 fontSize: 44, fontFace: "Arial",30 color: theme.primary, bold: true31 });3233 // Takeaways34 slide.addText([35 { text: "Takeaway one: Brief summary of main point", options: { bullet: true, fontSize: 18 } },36 { text: "Takeaway two: Another key insight", options: { bullet: true, fontSize: 18 } },37 { text: "Takeaway three: Final important point", options: { bullet: true, fontSize: 18 } }38 ], {39 x: 0.5, y: 1.8, w: 9, h: 2.5,40 fontFace: "Arial", color: theme.secondary, valign: "top"41 });4243 // CTA44 slide.addText("Contact us at: email@example.com", {45 x: 0.5, y: 4.5, w: 9, h: 0.5,46 fontSize: 16, fontFace: "Arial",47 color: theme.accent, align: "center"48 });4950 // Page number badge51 slide.addShape(pres.shapes.OVAL, { x: 9.3, y: 5.1, w: 0.4, h: 0.4, fill: { color: theme.accent } });52 slide.addText("N", { x: 9.3, y: 5.1, w: 0.4, h: 0.4, fontSize: 12, color: "FFFFFF", bold: true, align: "center", valign: "middle" });5354 return slide;55}56module.exports = { createSlide };57```5859## Common Pitfalls6061- **No CTA**: Every summary should include a clear call to action or next steps62- **Too many takeaways**: Keep to 3-5 concise items63- **Weak closing**: Main closing statement should be prominent and memorable64- **Missing contact info**: Include email or social handles for follow-up6566## Verification Checklist6768- [ ] Closing title present and prominent69- [ ] Key takeaways listed (3-5 items)70- [ ] Call to action or next steps included71- [ ] Contact information present (if applicable)72- [ ] Page number badge included73- [ ] Consistent tone with cover page