-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Jwiggiff/summer-2023-update
Summer 2023 update
- Loading branch information
Showing
21 changed files
with
7,723 additions
and
6,042 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!"); | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.