File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+ import type { mastodon } from ' masto'
3
+
4
+ defineProps <{
5
+ account: mastodon .v1 .Account
6
+ }>()
7
+ </script >
8
+
9
+ <template >
10
+ <div
11
+ max-h-2xl
12
+ flex gap-2
13
+ my-auto
14
+ bg-gray-300
15
+ >
16
+ <span z-0 >More from</span >
17
+ <AccountInlineInfo :account =" account" hover:bg-gray-300 />
18
+ </div >
19
+ </template >
Original file line number Diff line number Diff line change @@ -104,6 +104,11 @@ function loadAttachment() {
104
104
<div :class =" cardTypeIconMap[card.type]" w =" 30%" h =" 30%" text-secondary />
105
105
</div >
106
106
<StatusPreviewCardInfo :p =" isSquare ? 'x-4' : '4'" :root =" root" :card =" card" :provider =" providerName" />
107
+ <StatusPreviewCardMoreFromAuthor
108
+ v-if =" card?.authors?.[0].account"
109
+ :account =" card.authors[0].account"
110
+ p-4 py-2
111
+ />
107
112
</NuxtLink >
108
113
</template >
109
114
You can’t perform that action at this time.
0 commit comments