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

feat: Dynamically Link back to the Goose homepage from the extensions site #953

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nick-w-nick
Copy link

I noticed that if you're on the extensions site homepage and click the goose icon in the top left corner, it doesn't go anywhere. That's because it's meant to be clicked while on an extensions detail page so it takes you back to the main extensions page.

This has a downside due to this link being hardcoded to "/", and since the extensions site and the main site are separate projects, the extensions site treats the "/" path (its' homepage) as the root instead of the actual goose homepage.

To get the best of both worlds, I've made it so that if you're on an extension detail page, the goose icon will still redirect you back to the extension site homepage, but if you click the icon while you're on the extension home page, it will redirect you back to the main goose site, as you would normally expect since they are on the same domain.

@nick-w-nick nick-w-nick changed the title Dynamically Link back to the Goose homepage from the extensions site feat: Dynamically Link back to the Goose homepage from the extensions site Jan 30, 2025
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.

1 participant