Added a simple page for users who dont have an account, The user arrives here by not having an account and clicking ‘enter here’ on the home page at '/'.
It Allows the user to make a choice to create an account or to restore an account. The page stub can be found in /src/page-new.html
Build
- Rebuild the HTML and CSS for the page that is titled "You must bee new here"
- X in top right corner takes the user to the route to "/"
- Add the X image to the sprite file "welcome-sprite.webp"
- Rename 'welcome-sprite.webp' to 'swarm-city-sprite.webp'
- Ensure all links are updated for the sprite file
- Add esc key press to change the route to "/"
- "Create new user" button changes the route to "/tokens"
- "Restore a backup file" text link changes the route to "/restore"
- Make responsive for desktop
- Rename 'User' to 'Account'
- Update wiki Route Table with this new route
- Ensure margins and padding are consistent with '/' for mobile and desktop
Test
- The X button exists
- The X button calls the esc function
- The "Create new account" button exists
- The "Create new account" button calls the account function
- "Restore a backup file" exists
- "Restore a backup file" text link calls the resstore function
- Ensure the css classes are kept to a minimum
- Reuse the colors from shared styles
- Do not include a font
- Build, Deploy Test
- Refresh page, reloads the page