Merge pull request #71 from Nicolhetti/main

Same style of "blog\Header" tags for "blog\card" and "archive\card"
This commit is contained in:
Al Asad Nur Riyad
2024-11-03 21:34:44 +06:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ withDefaults(defineProps<Props>(), {
</div>
<div class="flex items-center gap-1 flex-wrap">
<LogoTag />
<p v-for="tag in tags" :key="tag">
<p v-for="tag in tags" :key="tag" class="bg-gray-200 dark:bg-slate-900 rounded-md px-2 py-1 font-semibold">
{{ tag }}
</p>
</div>

View File

@@ -42,7 +42,7 @@ withDefaults(defineProps<Props>(), {
<div class="flex items-center gap-1 flex-wrap">
<LogoTag />
<template v-for="tag in tags" :key="tag">
<span>{{ tag }}</span>
<span class="bg-gray-200 dark:bg-slate-900 rounded-md px-2 py-1 font-semibold">{{ tag }}</span>
</template>
</div>
</div>