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

React log in page #148

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

React log in page #148

wants to merge 10 commits into from

Conversation

jerryliangxia
Copy link
Collaborator

@jerryliangxia jerryliangxia commented Mar 31, 2021

Summary

Write a quick summary of your changes here. Make sure to provide context for people that may be unfamiliar with what you're working on

Attached is an image of what I had working in my local computer.

Test Plan

How did you test your changes?

Related Issues

Screen Shot 2021-05-05 at 5 36 58 PM

Which issues does this PR resolve/work on?
Closes #

This is definitely just a start - I got help from: https://www.youtube.com/watch?v=qH4pJISKeoI

Let me know if I'm on the right track!

Also added <label> in index.css for the <label> element you see in LogIn.js
This was the original file I used in my local computer to get this result:
Can now run!
Removing App.js made it crash... not sure why
Crashes when onChange() function is called, I think due to type errors.
Copy link
Collaborator

@CurtisMIT CurtisMIT left a comment

Choose a reason for hiding this comment

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

@jerryliangxia Was wondering whether you could resolve the merge conflicts? I think rebasing would be a good idea? Also was wondering whether you could add a route for the login page in the routes folder and import your component there, and move your LogIn page component within the pages folder? Was wondering whether you could convert the implementation of the LogIn component into a functional component using hooks? Thanks!

Removed comments, deleted login.js and login.css files, and created a new file "index.tsx" under "pages" that displays a rough log-in form.
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.

3 participants