feat: add resume
This commit is contained in:
parent
37b8f3fec4
commit
5d8a649a01
11 changed files with 50 additions and 3 deletions
|
@ -13,6 +13,9 @@
|
||||||
],
|
],
|
||||||
"portfolio": [
|
"portfolio": [
|
||||||
"developomp-site-portfolio"
|
"developomp-site-portfolio"
|
||||||
|
],
|
||||||
|
"resume": [
|
||||||
|
"developomp-site-resume"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1
apps/main/.gitignore
vendored
1
apps/main/.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
static/skills.svg
|
static/skills.svg
|
||||||
|
static/resume.pdf
|
||||||
|
|
|
@ -4,8 +4,9 @@
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"cp": "cp ../../packages/content/dist/skills.svg ../../packages/content/dist/resume.pdf static",
|
||||||
"dev": "vite dev",
|
"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-*",
|
"clean": "rm -rf .svelte-kit .turbo build node_modules vite.config.ts.timestamp-*",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"lint": "eslint ."
|
"lint": "eslint ."
|
||||||
|
|
7
apps/main/src/routes/(resume)/resume/+page.svelte
Normal file
7
apps/main/src/routes/(resume)/resume/+page.svelte
Normal 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>
|
14
apps/main/src/routes/(resume)/resume/style.scss
Normal file
14
apps/main/src/routes/(resume)/resume/style.scss
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
html,
|
||||||
|
body,
|
||||||
|
#root,
|
||||||
|
iframe {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
|
||||||
|
border: 0;
|
||||||
|
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
|
@ -35,6 +35,19 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"ignore": ["**/.*"]
|
"ignore": ["**/.*"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"target": "resume",
|
||||||
|
"cleanUrls": true,
|
||||||
|
"public": "apps/resume/dist",
|
||||||
|
"rewrites": [
|
||||||
|
{
|
||||||
|
"source": "**",
|
||||||
|
"destination": "https://developomp.com/resume",
|
||||||
|
"type": 301
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ignore": ["**/.*"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,8 +32,9 @@ developomp-site is a monorepo managed by [turborepo](https://turbo.build/repo)
|
||||||
and pnpm workspace.
|
and pnpm workspace.
|
||||||
|
|
||||||
- https://developomp.com - about me, built with **SvelteKit**
|
- 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://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:
|
The following services/technologies are used by the project:
|
||||||
|
|
||||||
|
|
BIN
packages/content/resume/resume.odt
Normal file
BIN
packages/content/resume/resume.odt
Normal file
Binary file not shown.
BIN
packages/content/resume/resume.pdf
Normal file
BIN
packages/content/resume/resume.pdf
Normal file
Binary file not shown.
|
@ -6,3 +6,4 @@ export const iconsDirectoryPath = `${outPath}/icons`
|
||||||
export const mapFilePath = `${outPath}/map.json`
|
export const mapFilePath = `${outPath}/map.json`
|
||||||
export const portfolioFilePath = `${outPath}/portfolio.json`
|
export const portfolioFilePath = `${outPath}/portfolio.json`
|
||||||
export const searchIndexFilePath = `${outPath}/search.json`
|
export const searchIndexFilePath = `${outPath}/search.json`
|
||||||
|
export const resumeFilePath = `${outPath}/resume.pdf`
|
||||||
|
|
|
@ -8,7 +8,12 @@
|
||||||
|
|
||||||
import fs from "fs"
|
import fs from "fs"
|
||||||
|
|
||||||
import { mapFilePath, markdownPath, portfolioFilePath } from "./config"
|
import {
|
||||||
|
mapFilePath,
|
||||||
|
markdownPath,
|
||||||
|
portfolioFilePath,
|
||||||
|
resumeFilePath,
|
||||||
|
} from "./config"
|
||||||
import {
|
import {
|
||||||
fillTags,
|
fillTags,
|
||||||
generatePortfolioSVGs,
|
generatePortfolioSVGs,
|
||||||
|
@ -75,6 +80,7 @@ async function main() {
|
||||||
* Save results
|
* Save results
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
fs.copyFileSync("resume/resume.pdf", resumeFilePath)
|
||||||
fs.writeFileSync(mapFilePath, JSON.stringify(contentMap))
|
fs.writeFileSync(mapFilePath, JSON.stringify(contentMap))
|
||||||
fs.writeFileSync(
|
fs.writeFileSync(
|
||||||
portfolioFilePath,
|
portfolioFilePath,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue