Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Join Lemmy hostname as link text in footer #1737

Merged
merged 3 commits into from
Jul 5, 2023

Conversation

dnswrsrx
Copy link
Contributor

@dnswrsrx dnswrsrx commented Jul 1, 2023

I think it makes sense to keep a link to the Join Lemmy website even though there's a logged in user. There's plenty of other useful info on that website beyond just joining Lemmy.

Using the URL avoids the phrase "Join Lemmy" and should indicate that you're navigating to said website.

Should address issue #1723

@alectrocute
Copy link
Contributor

Please export a string from config.ts for the URL. Thanks!

@dnswrsrx
Copy link
Contributor Author

dnswrsrx commented Jul 1, 2023

Please export a string from config.ts for the URL. Thanks!

Ah, I should have looked a bit more to see if there was the URL hardcoded somewhere!

Using the URL object to return the hostname. In the future if the URL changes, we don't have to change the string in multiple instances!

Copy link
Contributor

@alectrocute alectrocute left a comment

Choose a reason for hiding this comment

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

Nice changes. Looks good to me! Thanks.

@dnswrsrx dnswrsrx changed the title Use Join Lemmy URL as link text in footer when there's a user logged in Use Join Lemmy hostname as link text in footer Jul 3, 2023
dnswrsrx added 3 commits July 3, 2023 16:34
I think it makes sense to keep a link to the Join Lemmy website even
though there's a logged in user. There's plenty of other useful info on
that website beyond just joining Lemmy.

Using the URL avoids the phrase "Join Lemmy" and should indicate that
you're navigating to said website.
To maintain consistency whether logged in or not.
@dnswrsrx dnswrsrx force-pushed the footer_join_lemmy branch from dab9e64 to 5b41ce7 Compare July 3, 2023 23:35
@dessalines dessalines merged commit 3a89454 into LemmyNet:main Jul 5, 2023
@dnswrsrx dnswrsrx deleted the footer_join_lemmy branch August 24, 2023 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants