diff --git a/.gitignore b/.gitignore index 848ee5d..310c10d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +pdf *.pdf node_modules bun.lock diff --git a/generate-pdf-marine.js b/generate-pdf-marine.js index c8db9eb..dc7f176 100644 --- a/generate-pdf-marine.js +++ b/generate-pdf-marine.js @@ -7,7 +7,7 @@ const path = require("path"); const page = await browser.newPage(); const htmlPath = "file://" + path.resolve(__dirname, "marine.html"); await page.goto(htmlPath, { waitUntil: "networkidle0" }); - await page.pdf({ path: "SagerAlaskar-CV-Marine.pdf", format: "A4", printBackground: true }); + await page.pdf({ path: "pdf/SagerAlaskar-CV-Marine.pdf", format: "A4", printBackground: true }); await browser.close(); })(); diff --git a/generate-pdf-tech.js b/generate-pdf-tech.js index 0d5a4ec..ffedcc4 100644 --- a/generate-pdf-tech.js +++ b/generate-pdf-tech.js @@ -7,7 +7,7 @@ const path = require("path"); const page = await browser.newPage(); const htmlPath = "file://" + path.resolve(__dirname, "tech.html"); await page.goto(htmlPath, { waitUntil: "networkidle0" }); - await page.pdf({ path: "SagerAlaskar-CV-Tech.pdf", format: "A4", printBackground: true }); + await page.pdf({ path: "pdf/SagerAlaskar-CV-Tech.pdf", format: "A4", printBackground: true }); await browser.close(); })(); diff --git a/marine.html b/marine.html index df217a8..0584a77 100644 --- a/marine.html +++ b/marine.html @@ -87,6 +87,10 @@ +