Skip to content

Commit a29b6e3

Browse files
authored
feat: link package headers to package pages (#911)
1 parent 8abd52e commit a29b6e3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/components/Compare/ComparisonGrid.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ defineProps<{
2222
:key="index"
2323
class="comparison-cell comparison-cell-header"
2424
>
25-
<span class="font-mono text-sm font-medium text-fg truncate" :title="header">
25+
<NuxtLink
26+
:to="`/package/${header}`"
27+
class="link-subtle font-mono text-sm font-medium text-fg truncate"
28+
:title="header"
29+
>
2630
{{ header }}
27-
</span>
31+
</NuxtLink>
2832
</div>
2933
</div>
3034

0 commit comments

Comments
 (0)