mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-03-16 05:09:46 +01:00
feat: ajouter des étiquettes de projet avec des badges dans la liste des projets
This commit is contained in:
@@ -142,6 +142,20 @@ const grouped_projects = computed(() => {
|
||||
<p class="italic text-xs text-muted">
|
||||
{{ project.shortDescription }}
|
||||
</p>
|
||||
<div
|
||||
v-if="project.tags?.length"
|
||||
class="flex flex-wrap gap-1.5"
|
||||
>
|
||||
<UBadge
|
||||
v-for="tag in project.tags"
|
||||
:key="tag"
|
||||
color="neutral"
|
||||
variant="outline"
|
||||
size="xs"
|
||||
>
|
||||
{{ tag }}
|
||||
</UBadge>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nuxtlink>
|
||||
|
||||
Reference in New Issue
Block a user