Skip to content

Commit

Permalink
Merge pull request #71 from Nicolhetti/main
Browse files Browse the repository at this point in the history
Same style of "blog\Header" tags for "blog\card" and "archive\card"
  • Loading branch information
nurRiyad authored Nov 3, 2024
2 parents 83b4e1d + 64ba6f3 commit 32e4f6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/archive/card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion components/blog/card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 32e4f6f

Please sign in to comment.