Add following and followers

This commit is contained in:
Mirai Kumiko 2025-06-11 15:03:21 +02:00
parent f8bedff913
commit 0b88881934
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
8 changed files with 261 additions and 4 deletions

View file

@ -66,9 +66,9 @@
</dl>
<% end %>
<div class="flex mt-5 gap-3">
<a href={~p"/@#{@user.username}"}>1.7K Posts</a>
<a href={~p"/@#{@user.username}/following"}>33 Following</a>
<a href={~p"/@#{@user.username}/followers"}>31 Followers</a>
<a href={~p"/@#{@user.username}"}>{length(@notes)} Posts</a>
<a href={~p"/@#{@user.username}/following"}>{@following} Following</a>
<a href={~p"/@#{@user.username}/followers"}>{@followers} Followers</a>
</div>
</div>
<div class="flex justify-between px-20 py-2 mt-5 border-y border-gray-300">