feat(SPA): schema list and the sidebar Content group

This commit is contained in:
Florian Sylvain committed 2026-10-19 19:34:45 +02:00
1 parent 73a75d5cb9
commit 3c67cd2314
34 files changed
+2181 -18

No files matched your search

+8 -1
View File
@@ -4,7 +4,7 @@ import { t } from '@/i18n'
import { computed } from 'vue'
const props = defineProps<{
kind: 'default' | 'noindex' | 'linked' | 'guest'
kind: 'default' | 'noindex' | 'linked' | 'guest' | 'builtin'
}>()
const badges = {
@@ -36,6 +36,13 @@ const badges = {
icon: 'i-lucide-user',
class: 'border border-accented bg-transparent text-toned',
},
builtin: {
get label() {
return t('Built-in')
},
icon: 'i-lucide-lock',
class: 'border border-accented bg-transparent text-toned',
},
} as const
const badge = computed(() => badges[props.kind])