Fonction
-
-
-
+ :label="fn"
+ variant="fonction"
+ :active="modelValue.includes(fn)"
+ :count="modelValue.includes(fn) ? (modelValue.indexOf(fn) + 1) : (counts[fn] ?? 0)"
+ @toggle="toggle(fn)"
+ />
+
{{ modelValue.length }} actif{{ modelValue.length > 1 ? 's' : '' }}
diff --git a/components/HashtagFilter.vue b/components/HashtagFilter.vue
index 467d29b..2d4a430 100644
--- a/components/HashtagFilter.vue
+++ b/components/HashtagFilter.vue
@@ -1,6 +1,6 @@
-
+
FAMILLES
@@ -25,17 +25,16 @@
style="font-size: 0.7rem; color: var(--nav-text-muted); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0;"
>{{ hashtagsVisible ? 'Replier' : 'Afficher (' + props.allHashtags.length + ')' }}
-
-
+ {{ tag }}
-
+ :label="tag"
+ variant="fonction"
+ :active="selectedHashtags.includes(tag)"
+ @toggle="toggleHashtag(tag)"
+ />
+
@@ -93,5 +92,4 @@ function toggleHashtag(tag: string) {
transition: all 0.15s;
user-select: none;
}
-.chip-small { font-size: 0.7rem; padding: 2px 8px; }
diff --git a/components/OrgCard.vue b/components/OrgCard.vue
deleted file mode 100644
index 4d3c160..0000000
--- a/components/OrgCard.vue
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
{{ org.nom }}
-
-
-
-
- {{ org.description }}
-
-
-
-
-
-
-
-
-
diff --git a/components/TagBadge.vue b/components/TagBadge.vue
deleted file mode 100644
index 59bb305..0000000
--- a/components/TagBadge.vue
+++ /dev/null
@@ -1,11 +0,0 @@
-
- {{ tag }}
-
-
-
diff --git a/pages/agences.vue b/pages/agences.vue
index c2f1dfb..e4728e0 100644
--- a/pages/agences.vue
+++ b/pages/agences.vue
@@ -87,14 +87,15 @@
/>