feat: following and followers routes (#4)
This commit is contained in:
parent
39249e378f
commit
a6a189ba59
7 changed files with 127 additions and 39 deletions
|
@ -71,9 +71,15 @@ const createdAt = $computed(() => {
|
|||
</div>
|
||||
</div>
|
||||
<div flex gap-5>
|
||||
<div><span font-bold>{{ account.statusesCount }}</span> Posts</div>
|
||||
<div><span font-bold>{{ account.followingCount }}</span> Following</div>
|
||||
<div><span font-bold>{{ account.followersCount }}</span> Followers</div>
|
||||
<NuxtLink :to="`/@${account.acct}/`">
|
||||
<span font-bold>{{ account.statusesCount }}</span> Posts
|
||||
</NuxtLink>
|
||||
<NuxtLink :to="`/@${account.acct}/following`">
|
||||
<span font-bold>{{ account.followingCount }}</span> Following
|
||||
</NuxtLink>
|
||||
<NuxtLink :to="`/@${account.acct}/followers`">
|
||||
<span font-bold>{{ account.followersCount }}</span> Followers
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue