Skip to content

Commit 72294f1

Browse files
committed
Formatted Header.vue Code
1 parent 0e5bdbb commit 72294f1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/blog/Header.vue

+4-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ withDefaults(defineProps<Props>(), {
4444
<LogoTag />
4545
<template v-for="tag in tags" :key="tag">
4646
<NuxtLink :to="`/categories/${tag.toLocaleLowerCase()}`">
47-
<span class="bg-gray-200 dark:bg-slate-900 rounded-md px-2 py-1 font-semibold hover:bg-gray-300 dark:hover:bg-slate-800 transition-colors duration-200">{{
48-
tag
49-
}}</span>
47+
<span
48+
class="bg-gray-200 dark:bg-slate-900 rounded-md px-2 py-1 font-semibold hover:bg-gray-300 dark:hover:bg-slate-800 transition-colors duration-200"
49+
>{{ tag }}</span
50+
>
5051
</NuxtLink>
5152
</template>
5253
</div>

0 commit comments

Comments
 (0)