mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 08:11:13 -05:00
Add link to profile page
This commit is contained in:
@@ -371,7 +371,7 @@ export default function Profile() {
|
|||||||
<h1 className="text-3xl font-bold">
|
<h1 className="text-3xl font-bold">
|
||||||
{profile.display_name || profile.username}
|
{profile.display_name || profile.username}
|
||||||
</h1>
|
</h1>
|
||||||
{profile.display_name && <Badge variant="secondary">@{profile.username}</Badge>}
|
{profile.display_name && <Badge variant="secondary" className="cursor-pointer hover:bg-secondary/80" onClick={() => navigate(`/profile/${profile.username}`)}>@{profile.username}</Badge>}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{profile.bio && <p className="text-muted-foreground mb-4 max-w-2xl">
|
{profile.bio && <p className="text-muted-foreground mb-4 max-w-2xl">
|
||||||
|
|||||||
Reference in New Issue
Block a user