feat(projects): add project scope

This commit is contained in:
2025-11-27 22:49:43 +01:00
parent 6a219d84d0
commit c8ba41d7b5
14 changed files with 166 additions and 146 deletions

View File

@@ -66,6 +66,7 @@ export const useProjectsStore = defineStore("projects", {
preview: string;
url: string | null;
technologies: string[];
scope: "hobby" | "work";
body: MarkdownBody;
}[],
currentProject: 0,
@@ -92,6 +93,7 @@ export const useProjectsStore = defineStore("projects", {
preview: `/images/projects/${id}/preview.webp`,
url: project.url,
technologies: project.technologies,
scope: project.scope,
body: simplifyMarkdownAST(project.body),
});
}