Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] User Auth: Created a simple login page that supports sign up and sign in. #5

Merged
merged 3 commits into from
Oct 15, 2024

Conversation

rachaelch3n
Copy link
Contributor

What's new in this PR 🧑‍🌾

Description

Create a very simple login page that supports sign up and sign in.

Screenshots

How to review

Next steps

Relevant links

Online sources

Related PRs

CC: @ccatherinetan

<button type="button" onClick={handleSignUp}>
Sign up
</button>
<button type="button" onClick={signInWithEmail}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good, maybe could put some identifier for where the email goes and where the password goes for signup/login

Copy link
Collaborator

@ccatherinetan ccatherinetan Oct 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point! maybe consider creating a placeholder for each of the text inputs
e.g. https://developer.mozilla.org/en-US/docs/Web/CSS/::placeholder
<input placeholder="Email" /> and <input placeholder="Password" />

Copy link
Collaborator

@ccatherinetan ccatherinetan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good! even tho we don't have the final designs, it would be nice to have some way to confirm that sign up / sign in has worked.

  1. for now, maybe u can route the user to home page after clicking either button
  2. maybe add a placeholder to both inputs to distinguish them for now.
  3. you can consider creating some general styles (e.g. centering each input/button etc) to practice Styled Components!

SashankBalusu pushed a commit that referenced this pull request Oct 9, 2024
@SashankBalusu
Copy link
Contributor

Apart from the previous comments it looks good and tests great for me!

@rachaelch3n rachaelch3n changed the title created simple login page [feat] User Auth: Created a simple login page that supports sign up and sign in. Oct 9, 2024
Copy link
Collaborator

@ccatherinetan ccatherinetan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great! thanks rachael! let's merge it in today

@ccatherinetan ccatherinetan merged commit 8fe8603 into main Oct 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants