Add terraform assets

pull/5908/head
Kamran Ahmed 5 months ago
parent c4cc0630c0
commit 4c54e20a11
  1. BIN
      public/pdfs/roadmaps/terraform.pdf
  2. BIN
      public/roadmaps/terraform.png
  3. 1
      scripts/editor-roadmap-assets.ts

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 KiB

@ -56,6 +56,7 @@ const pageUrl = `http://localhost:3000/${roadmapId}/svg`;
console.log(`Opening page ${pageUrl}`);
await page.goto(pageUrl);
await page.waitForSelector('#resource-svg-wrap');
await page.waitForTimeout(5000);
console.log(`Generating PDF ${pageUrl}`);
await page.pdf({
path: `./public/pdfs/roadmaps/${roadmapId}.pdf`,

Loading…
Cancel
Save