Skip to content

Commit

Permalink
Merge pull request #5 from Jwiggiff/summer-2023-update
Browse files Browse the repository at this point in the history
Summer 2023 update
  • Loading branch information
Jwiggiff authored Sep 30, 2023
2 parents 25ef581 + cd60b6d commit 307c358
Show file tree
Hide file tree
Showing 21 changed files with 7,723 additions and 6,042 deletions.
52 changes: 26 additions & 26 deletions generateResume.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
import express from "express";
import puppeteer from "puppeteer";

const app = express();
app.use(express.static("dist"));
let server = app.listen(3000);

(async () => {
console.log("Generating Resume...");

const browser = await puppeteer.launch({ headless: true });
const page = await browser.newPage();

await page.goto("http://localhost:3000/resume.html", {
waitUntil: "networkidle0",
});

await page.pdf({
path: "./dist/assets/JoshFriedman_resume.pdf",
format: "letter",
});

await browser.close();
server.close();
console.log("Done!");
})();
import express from "express";
import puppeteer from "puppeteer";

const app = express();
app.use(express.static("dist"));
let server = app.listen(3000);

(async () => {
console.log("Generating Resume...");

const browser = await puppeteer.launch({ headless: true });
const page = await browser.newPage();

await page.goto("http://localhost:3000/resume.html", {
waitUntil: "networkidle0",
});

await page.pdf({
path: "./dist/assets/JoshFriedman_resume.pdf",
format: "letter",
});

await browser.close();
server.close();
console.log("Done!");
})();
154 changes: 77 additions & 77 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,77 +1,77 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Josh Friedman</title>
<meta property="og:title" content="Josh Friedman" />
<meta
name="description"
content="Josh Friedman: Full Stack Developer, Nerd at Heart."
/>
<meta
property="og:description"
content="Josh Friedman: Full Stack Developer, Nerd at Heart."
/>
<meta name="author" content="Josh Friedman" />
<meta
name="keywords"
content="Josh Friedman, Full Stack Developer, Nerd at Heart"
/>
<link rel="canonical" href="https://joshfriedman.dev/" />
<meta property="og:url" content="https://joshfriedman.dev/" />
<meta property="og:site_name" content="Josh Friedman" />
<meta
property="og:image"
content="https://joshfriedman.dev/img/JoshFriedman-logo.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta
property="twitter:image"
content="https://joshfriedman.dev/img/JoshFriedman-logo.png"
/>
<meta property="twitter:title" content="Josh Friedman" />
<script type="application/ld+json">
{
"author": { "@type": "Person", "name": "Josh Friedman" },
"description": "Josh Friedman: Full Stack Developer, Nerd at Heart.",
"headline": "Josh Friedman",
"url": "https://joshfriedman.dev/",
"@type": "WebSite",
"publisher": {
"@type": "Organization",
"logo": {
"@type": "ImageObject",
"url": "https://joshfriedman.dev/img/JoshFriedman-logo.png"
},
"name": "Josh Friedman"
},
"image": "https://joshfriedman.dev/img/JoshFriedman-logo.png",
"name": "Josh Friedman",
"@context": "https://schema.org"
}
</script>

<link href="/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png" />
<link href="/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png" />

<!-- Google tag (gtag.js) -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-2ZN8K9HEP1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-2ZN8K9HEP1");
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Josh Friedman</title>
<meta property="og:title" content="Josh Friedman" />
<meta
name="description"
content="Josh Friedman: Full Stack Developer, Nerd at Heart."
/>
<meta
property="og:description"
content="Josh Friedman: Full Stack Developer, Nerd at Heart."
/>
<meta name="author" content="Josh Friedman" />
<meta
name="keywords"
content="Josh Friedman, Full Stack Developer, Nerd at Heart"
/>
<link rel="canonical" href="https://joshfriedman.dev/" />
<meta property="og:url" content="https://joshfriedman.dev/" />
<meta property="og:site_name" content="Josh Friedman" />
<meta
property="og:image"
content="https://joshfriedman.dev/img/JoshFriedman-logo.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta
property="twitter:image"
content="https://joshfriedman.dev/img/JoshFriedman-logo.png"
/>
<meta property="twitter:title" content="Josh Friedman" />
<script type="application/ld+json">
{
"author": { "@type": "Person", "name": "Josh Friedman" },
"description": "Josh Friedman: Full Stack Developer, Nerd at Heart.",
"headline": "Josh Friedman",
"url": "https://joshfriedman.dev/",
"@type": "WebSite",
"publisher": {
"@type": "Organization",
"logo": {
"@type": "ImageObject",
"url": "https://joshfriedman.dev/img/JoshFriedman-logo.png"
},
"name": "Josh Friedman"
},
"image": "https://joshfriedman.dev/img/JoshFriedman-logo.png",
"name": "Josh Friedman",
"@context": "https://schema.org"
}
</script>

<link href="/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png" />
<link href="/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png" />

<!-- Google tag (gtag.js) -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-2ZN8K9HEP1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-2ZN8K9HEP1");
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading

0 comments on commit 307c358

Please sign in to comment.