order tag

This commit is contained in:
Julien Calixte
2022-12-11 22:51:38 +01:00
parent 5c07bad59b
commit ed33e0f127
3 changed files with 31 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
<script setup lang="ts">
interface Props {
order: number
}
defineProps<Props>()
</script>
<template>
<span class="order-tag">{{ order }}</span>
</template>
<style scoped lang="scss">
.order-tag {
padding: 0 0.5rem;
background-color: #fffa65;
color: var(--vt-c-black);
font-family: var(--code-font-family);
border-radius: 0.5rem;
}
</style>