diff --git a/content/projects/packages.json b/content/projects/packages.json index 79d4ad2..5735bee 100644 --- a/content/projects/packages.json +++ b/content/projects/packages.json @@ -10,6 +10,7 @@ "name": "PokemonTCGAPI", "description": "Unofficial NPM package wrapper for the PokemonTCG API.", "tags": ["TypeScript", "Node.js"], + "deprecated": true, "links": { "package": "https://www.npmjs.com/package/@bosstop/pokemontcgapi", "code": "https://github.com/SirBlobby/PokemonTCGAPI" } }, { diff --git a/src/lib/components/projects/ProjectEntry.svelte b/src/lib/components/projects/ProjectEntry.svelte index 656eaed..83e3e80 100644 --- a/src/lib/components/projects/ProjectEntry.svelte +++ b/src/lib/components/projects/ProjectEntry.svelte @@ -42,6 +42,9 @@ {#if project.featured} Featured {/if} + {#if project.deprecated} + Deprecated + {/if} {#if project.version} v{project.version} {/if} @@ -255,6 +258,10 @@ background: var(--orange); } + .deprecated { + background: var(--red); + } + .version { background: var(--blue); } diff --git a/src/lib/content/types.ts b/src/lib/content/types.ts index fb42cc6..0cf04a0 100644 --- a/src/lib/content/types.ts +++ b/src/lib/content/types.ts @@ -81,6 +81,7 @@ export interface Project { links: ProjectLinks; image?: string; featured?: boolean; + deprecated?: boolean; version?: string; organization?: string; period?: string; @@ -137,7 +138,6 @@ export interface RatedTitle { url: string; } -export interface AboutContent { export interface LabeledValue { label: string; value: string; @@ -152,10 +152,11 @@ export interface DesktopSetup { dotfilesUrl: string; } +export interface AboutContent { anilistUsername?: string; lastfmUsername?: string; - hobbies: Hobby[]; setup?: DesktopSetup; + hobbies: Hobby[]; games: Game[]; shows: RatedTitle[]; movies: RatedTitle[];