refactor: remove portfolio
This commit is contained in:
parent
565297c9b3
commit
584b4a60da
54 changed files with 28 additions and 1085 deletions
|
@ -1,14 +0,0 @@
|
|||
import portfolio from "../dist/portfolio.json" assert { type: "json" }
|
||||
import type { PortfolioProject } from "../src/types/types"
|
||||
|
||||
export type ProjectKey = keyof typeof portfolio.projects
|
||||
|
||||
// sort of like src/types/types.ts > PortfolioData but exported
|
||||
export default portfolio as {
|
||||
// waiting for https://github.com/microsoft/TypeScript/issues/32063
|
||||
skills: string[]
|
||||
|
||||
projects: {
|
||||
[key in ProjectKey]: PortfolioProject
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue