Kitware / UPennContrast

UPenn ?
https://upenn-contrast.netlify.com/
Apache License 2.0
8 stars 6 forks source link

More user-friendly landing page #729

Closed arjunrajlab closed 1 month ago

arjunrajlab commented 1 month ago

It would be good to have a landing page that is a bit more informative and user-friendly. Can we make a landing page that shows the icon in the middle, gives a button that says "Login", one that says “Sign up”, and then a link to the documentation? Then, if they click to sign up, they should get a form that asks for their name and email (required) along with the institution (optional) and a note asking "What are you hoping to use NimbusImage for?" (optional). When they click "Submit" on that, it should send the information to an email. The email will be provided in some file somewhere.

arjunrajlab commented 1 month ago

@bruyeret I made this branch as a small demo to show the functionality. I think it has the basics. It probably would be good to have a little NimbusImage icon on the landing dialog. It also has a stub for where we could put in an API call for generating the email:

// Replace this URL with your actual email endpoint
await axios.post('/api/signup', this.signUpForm);

https://github.com/Kitware/UPennContrast/tree/new-login-page