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

[Web]: Update flags to reflect user location, not currency #978

Closed
1 task done
ssandino opened this issue Dec 6, 2024 · 0 comments · Fixed by #986
Closed
1 task done

[Web]: Update flags to reflect user location, not currency #978

ssandino opened this issue Dec 6, 2024 · 0 comments · Fixed by #986
Labels
help wanted Extra attention is needed website Issues concerning Website

Comments

@ssandino
Copy link
Member

ssandino commented Dec 6, 2024

Is your feature request related to a problem? Please describe.

Currently, the flag in the navigation is linked to the currency, which can be confusing since flags are typically associated with locations. Additionally, displaying the user’s own country flag helps build trust.

Current Status:
Flag linked to currency. Since we only support three currencies, there are currently only three flags displayed.

Image

Describe the solution/feature

The goal is to link the flag to the user’s location, which is determined in the middleware. Based on this information, the appropriate country flag will be displayed.

This approach will remain independent of the current setup where all users outside Switzerland are routed to the International page (.../int/...). This routing behavior should not change.

Describe alternatives you've considered

No response

Criteria for Completion

No response

Anything else?

No response

Code of Conduct

  • I've read the Code of Conduct and understand my responsibilities as a member of the Social Income community
@ssandino ssandino added website Issues concerning Website help wanted Extra attention is needed labels Dec 6, 2024
@dnhn dnhn closed this as completed in #986 Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed website Issues concerning Website
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant