Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

added link to user handles on profile following and followers #11

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

AlesPozar
Copy link

So hopefully I made it that way now you can click on followings and followers and be redirected to their profile page

@AlesPozar
Copy link
Author

Also, I hope it works, as I could not test it myself

@@ -100,7 +100,7 @@
>{user.iq}</span
>
</div>
<p class="text-sm text-muted-foreground">@{user.handle}</p>
<p class="text-sm text-muted-foreground"><a href="https://lyntr.com/@{user.handle}">@{user.handle}</a></p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works but please change href to /@{user.handle}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I hope I understood the fix correctly, is this bc it uses a hardcoded URL prefix?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I hope I understood the fix correctly, is this bc it uses a hardcoded URL prefix?

Yeah because on localhost it will redirect to lyntr.com

@GStudiosX2
Copy link
Contributor

GStudiosX2 commented Jul 30, 2024

Sorry can you merge my pr on your fork the anchor and href doesn't work because it doesn't update the currentPage store it also doesn't fully refresh the page so it doesn't go to the follower/following profile unless you manually refresh
AlesPozar#1

@face-hh
Copy link
Owner

face-hh commented Aug 9, 2024

What's the status on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants