Skip to content

Commit

Permalink
🚸 Make author in class page clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Nov 19, 2024
1 parent 135078e commit f81ac07
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/components/NFTBook/ItemCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,20 @@
v-if="iscnWorkAuthor"
class="flex flex-col justify-center min-w-0"
>
<NFTBookSpecTableLabel :text="$t('identity_type_author')" />
<NFTBookSpecTableValue :text="iscnWorkAuthor" :preset="preset" />
<NuxtLink
:to="
localeLocation({
name: 'store',
query: { q: iscnWorkAuthor },
})
"
>
<NFTBookSpecTableLabel :text="$t('identity_type_author')" />
<NFTBookSpecTableValue
:text="iscnWorkAuthor"
:preset="preset"
/>
</NuxtLink>
</li>
<li
v-if="iscnWorkPublisher"
Expand Down

0 comments on commit f81ac07

Please sign in to comment.