feat: add followers and following pages with API integration, enhance profile page with follower/following counts

This commit is contained in:
2025-09-06 22:22:44 +02:00
parent dc92945962
commit 8ddbf45a09
6 changed files with 183 additions and 13 deletions

View File

@@ -135,16 +135,18 @@ export function ThoughtCard({
<p className="whitespace-pre-wrap break-words">{thought.content}</p>
</CardContent>
<CardFooter className="border-t px-4 pt-2 pb-2">
<Button
variant="ghost"
size="sm"
onClick={() => setIsReplyOpen(!isReplyOpen)}
>
<MessageSquare className="mr-2 h-4 w-4" />
Reply
</Button>
</CardFooter>
{token && (
<CardFooter className="border-t px-4 pt-2 pb-2">
<Button
variant="ghost"
size="sm"
onClick={() => setIsReplyOpen(!isReplyOpen)}
>
<MessageSquare className="mr-2 h-4 w-4" />
Reply
</Button>
</CardFooter>
)}
{isReplyOpen && (
<div className="border-t p-4">