ethlance
ethlance copied to clipboard
Sign in implementation
The top right corner should have following behaviour:
- If user didn't connect wallet yet, it says "Connect Wallet", after clicking it pops up metamask to connect a wallet
- If user has wallet connected, but is not signed it, it shows modal implemented in this issue: https://github.com/district0x/ethlance/issues/153 and lets user sign in by signing a message. If user signed in for the first time, it redirects the user to the Sign Up page.
- If user is signed in, but didn't submit his name yet, it shows his address number. After clicking on it, it goes to Sign Up page.
- If user is signed in and submitted full name already, it shows his name and profile picture, like in the screenshot. Clicking on it will take him to edit profile page.