feat(projects): add technology badges on the previews

This commit is contained in:
2025-11-27 18:37:59 +01:00
parent b1d9563a1d
commit 58a8c3e32e
10 changed files with 67 additions and 0 deletions

View File

@@ -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),
});
}