Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions src/app/components/FarcasterFollowButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,19 @@ export default function FarcasterFollowButton({
</svg>
<span className="text-sm">Farcaster</span>
</div>

<span
className={`flex items-center px-4 py-1 text-xs rounded-full cursor-pointer transition-colors ${isFollowingUser ? "bg-white/10 text-white hover:bg-white/20" : " bg-white text-base-blue hover:bg-white/90"}`}
>
{isFollowingUser ? "Following" : "Follow"}
</span>
{fid === currentUserFid ? (
<span
className={`flex items-center px-4 py-1 text-xs rounded-full cursor-pointer transition-colors bg-white/10 text-white hover:bg-white/20`}
>
View Profile
</span>
) : (
<span
className={`flex items-center px-4 py-1 text-xs rounded-full cursor-pointer transition-colors ${isFollowingUser ? "bg-white/10 text-white hover:bg-white/20" : " bg-white text-base-blue hover:bg-white/90"}`}
>
{isFollowingUser ? "Following" : "Follow"}
</span>
)}
</div>
</div>
);
Expand Down