[feature/frontend] Add login button to index page which reiterates info about clients #3377
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds a 'Log in' button to the index page. When clicked, a page will be shown which contains
/settings
The goal is to provide an easier way to discover how to log on / access the settings without having to read and understand all of the text on the index first. I was talking with someone recently who had set up an account but wasn't sure what to do next; they had skimmed the index page but their eyes glossed over the part where there was a list of software with different logos. I think reiterating just that information when a user is trying to log in is an improvement.
I also think it's nice to have a way to get to settings that doesn't require typing
/settings
in the address bar.This change is live at https://electron.phosphor.buzz if you want to try it out. I tried to make it look OK at different widths and think it turned out alright.
Checklist
Please put an x inside each checkbox to indicate that you've read and followed it:
[ ]
->[x]
If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want).
go fmt ./...
andgolangci-lint run
.