feat(projects): add technology badges on the previews
This commit is contained in:
@@ -65,6 +65,7 @@ export const useProjectsStore = defineStore("projects", {
|
||||
thumbnail: string;
|
||||
preview: string;
|
||||
url: string | null;
|
||||
technologies: string[];
|
||||
body: MarkdownBody;
|
||||
}[],
|
||||
currentProject: 0,
|
||||
@@ -90,6 +91,7 @@ export const useProjectsStore = defineStore("projects", {
|
||||
thumbnail: `/images/projects/${id}/thumbnail.webp`,
|
||||
preview: `/images/projects/${id}/preview.webp`,
|
||||
url: project.url,
|
||||
technologies: project.technologies,
|
||||
body: simplifyMarkdownAST(project.body),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user