ethlance icon indicating copy to clipboard operation
ethlance copied to clipboard

Sign in implementation

Open madvas opened this issue 3 years ago • 0 comments

The top right corner should have following behaviour: image

  1. If user didn't connect wallet yet, it says "Connect Wallet", after clicking it pops up metamask to connect a wallet
  2. 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.
  3. 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.
  4. 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.

madvas avatar Oct 15 '20 11:10 madvas