From 8af6788c7677cfb3b24b9ef006035e97294a65e1 Mon Sep 17 00:00:00 2001 From: nomad Date: Wed, 4 Jun 2025 17:58:11 +0300 Subject: [PATCH] updates --- .gitignore | 1 + generate-pdf-marine.js | 2 +- generate-pdf-tech.js | 2 +- marine.html | 4 ++++ style.css | 10 ++++++++++ style2.css | 8 ++++++++ tech.html | 5 ++++- 7 files changed, 29 insertions(+), 3 deletions(-) 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 @@ +