feat: add story stat box

This commit is contained in:
2022-08-08 18:41:29 -04:00
parent f469f86734
commit e802e3723c
5 changed files with 77 additions and 10 deletions

View File

@@ -1,7 +1,13 @@
<script setup lang="ts">
const { dest } = defineProps<{ dest: string }>();
</script>
<template>
<div
class="inline-block text-xs rounded-full py-1 px-2 mt-1 mr-1 bg-gray-300 dark:bg-gray-500;"
>
<slot />
</div>
<a :href="dest">
<div
class="inline-block text-xs rounded-full py-1 px-2 mt-1 mr-1 bg-gray-300 dark:bg-gray-500;"
>
<slot />
</div>
</a>
</template>