feat: add resume

This commit is contained in:
Kim, Jimin 2023-07-10 19:57:07 +09:00
parent 37b8f3fec4
commit 5d8a649a01
11 changed files with 50 additions and 3 deletions

View file

@ -13,6 +13,9 @@
],
"portfolio": [
"developomp-site-portfolio"
],
"resume": [
"developomp-site-resume"
]
}
}

View file

@ -1 +1,2 @@
static/skills.svg
static/resume.pdf

View file

@ -4,8 +4,9 @@
"type": "module",
"private": true,
"scripts": {
"cp": "cp ../../packages/content/dist/skills.svg ../../packages/content/dist/resume.pdf static",
"dev": "vite dev",
"build": "cp ../../packages/content/dist/skills.svg static && vite build",
"build": "pnpm cp && vite build",
"clean": "rm -rf .svelte-kit .turbo build node_modules vite.config.ts.timestamp-*",
"preview": "vite preview",
"lint": "eslint ."

View file

@ -0,0 +1,7 @@
<script lang="ts">
import "./style.scss"
// doing this crazy setup to have proper favicon
</script>
<iframe title="resume" src="/resume.pdf">a</iframe>

View file

@ -0,0 +1,14 @@
html,
body,
#root,
iframe {
padding: 0;
margin: 0;
width: 100vw;
height: 100vh;
border: 0;
overflow: hidden;
}

View file

@ -35,6 +35,19 @@
}
],
"ignore": ["**/.*"]
},
{
"target": "resume",
"cleanUrls": true,
"public": "apps/resume/dist",
"rewrites": [
{
"source": "**",
"destination": "https://developomp.com/resume",
"type": 301
}
],
"ignore": ["**/.*"]
}
]
}

View file

@ -32,8 +32,9 @@ developomp-site is a monorepo managed by [turborepo](https://turbo.build/repo)
and pnpm workspace.
- https://developomp.com - about me, built with **SvelteKit**
- https://blog.developomp.com - Blogging site, built with **React + CRA**
- https://blog.developomp.com - Blogging site, built with **React + Vite**
- https://portfolio.developomp.com - Portfolio, built with **React + Vite**
- https://resume.developomp.com - Portfolio, simply redirects to https://developomp.com/resume
The following services/technologies are used by the project:

Binary file not shown.

Binary file not shown.

View file

@ -6,3 +6,4 @@ export const iconsDirectoryPath = `${outPath}/icons`
export const mapFilePath = `${outPath}/map.json`
export const portfolioFilePath = `${outPath}/portfolio.json`
export const searchIndexFilePath = `${outPath}/search.json`
export const resumeFilePath = `${outPath}/resume.pdf`

View file

@ -8,7 +8,12 @@
import fs from "fs"
import { mapFilePath, markdownPath, portfolioFilePath } from "./config"
import {
mapFilePath,
markdownPath,
portfolioFilePath,
resumeFilePath,
} from "./config"
import {
fillTags,
generatePortfolioSVGs,
@ -75,6 +80,7 @@ async function main() {
* Save results
*/
fs.copyFileSync("resume/resume.pdf", resumeFilePath)
fs.writeFileSync(mapFilePath, JSON.stringify(contentMap))
fs.writeFileSync(
portfolioFilePath,