diff --git a/src/components/ProjectListItem.astro b/src/components/ProjectListItem.astro index 6fc2da76..a8381ce4 100644 --- a/src/components/ProjectListItem.astro +++ b/src/components/ProjectListItem.astro @@ -8,6 +8,7 @@ const { isDevMode = false, isHidden = false, tags = [], + type = "personal", } = Astro.props; tags.sort(); diff --git a/src/components/ProjectPage.astro b/src/components/ProjectPage.astro index 6be11cad..1efa25ef 100644 --- a/src/components/ProjectPage.astro +++ b/src/components/ProjectPage.astro @@ -12,6 +12,7 @@ export interface Props { github?: string; hidden: boolean; tags?: string[]; + type: string; }; } diff --git a/src/pages/index.astro b/src/pages/index.astro index d4562a33..34bb284a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -13,6 +13,7 @@ interface ProjectMetadata { hidden: boolean; image?: string; tags?: string[]; + type: string; } interface AstroModule { @@ -146,7 +147,8 @@ const sortedTags = Array.from(allTags).sort((a, b) => a.localeCompare(b)); Developer Junior