feat(aep): carte AEP — push Gitea 2026-04-28

This commit is contained in:
Jules Neny
2026-04-28 14:00:05 +02:00
commit 21c44d8193
86 changed files with 31855 additions and 0 deletions

21
components/TypeBadge.vue Normal file
View File

@@ -0,0 +1,21 @@
<template>
<span :class="['inline-block px-2.5 py-0.5 rounded-full text-xs font-semibold uppercase tracking-wide', colorClass]">
{{ type }}
</span>
</template>
<script setup lang="ts">
const props = defineProps<{ type: string }>()
const colors: Record<string, string> = {
association: 'bg-blue-100 text-blue-700',
syndicat: 'bg-orange-100 text-orange-700',
institution: 'bg-purple-100 text-purple-700',
reseau: 'bg-teal-100 text-teal-700',
collectif: 'bg-pink-100 text-pink-700',
ecole: 'bg-yellow-100 text-yellow-700',
media: 'bg-red-100 text-red-700',
}
const colorClass = computed(() => colors[props.type] ?? 'bg-gray-100 text-gray-700')
</script>