This commit is contained in:
deploy-bot committed 2026-12-04 18:41:33 +00:00
commit 1396974b03
286 files changed
+19411

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
<script setup lang="ts">
import { safeUrl } from './support';
defineProps<{ buttons?: { label?: string; url?: string; style?: string }[] }>();
</script>
<template>
<p v-if="buttons && buttons.length" class="mb-buttons">
<template v-for="(button, index) in buttons" :key="index">
<a v-if="button.label" :class="['mb-btn', button.style === 'secondary' ? 'mb-btn--secondary' : 'mb-btn--primary']" :href="safeUrl(button.url)">{{ button.label }}</a>
</template>
</p>
</template>