feat: add credits to creators in link previews using fediverse:creator (#3012)

This commit is contained in:
TAKAHASHI Shuuji 2024-10-26 15:13:21 +09:00 committed by GitHub
parent 98a910c6f1
commit 41346e318b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 0 deletions

View file

@ -104,6 +104,11 @@ function loadAttachment() {
<div :class="cardTypeIconMap[card.type]" w="30%" h="30%" text-secondary />
</div>
<StatusPreviewCardInfo :p="isSquare ? 'x-4' : '4'" :root="root" :card="card" :provider="providerName" />
<StatusPreviewCardMoreFromAuthor
v-if="card?.authors?.[0].account"
:account="card.authors[0].account"
p-4 py-2
/>
</NuxtLink>
</template>