# Portfolio folder (public site)

| File | Purpose |
|------|---------|
| `Sevendyne-Portfolio-Brochure.html` | Source HTML for the one-pager brochure (edit here; copy to `../sales-pack/` when publishing). |
| `Sevendyne-Portfolio-Brochure.pdf` | Generated with `wkhtmltopdf` from the HTML above. |
| `Sevendyne-Portfolio-Brochure.pptx` | Slide summary; regenerate with `python3 build_brochure_pptx.py`. |
| `Sevendyne-Email-Marketing-Kit.pdf` | Copy of outreach sequences / scripts (also under `sevendyne_sales/data/`). |
| `index.html` | Portfolio page (links to brochure downloads). |

## Regenerate PDF

Use **`--print-media-type`** so `@media print` rules apply (3 logical sheets, no single-page clip).  
Optional: `QT_QPA_PLATFORM=xcb` reduces Wayland noise on some Linux desktops.

```bash
cd "$(dirname "$0")"
wkhtmltopdf --quiet --print-media-type --disable-smart-shrinking \
  --page-size A4 \
  --margin-top 10mm --margin-bottom 10mm --margin-left 10mm --margin-right 10mm \
  --enable-local-file-access \
  --dpi 96 \
  "file://$(pwd)/Sevendyne-Portfolio-Brochure.html" \
  Sevendyne-Portfolio-Brochure.pdf
```

The HTML is **one continuous sheet** (single `.page`); the PDF may be **2–4 paper pages** depending on renderer, without splitting content across separate HTML “paths.”  
Source: sync from `sevendyne_sales/data/sevendyne-brochure.html` before building.

## Regenerate PPTX

```bash
python3 build_brochure_pptx.py
```

After edits, copy mirrors if needed:

- `sevendyne_marketing/materials/brochures/`
- `sevendyne_web/sales-pack/`
