feat: add story stat box
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user