feat(projects): add project scope
This commit is contained in:
@@ -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),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user