-
Notifications
You must be signed in to change notification settings - Fork 1
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
Sprint-2 registration-page layout #9
Sprint-2 registration-page layout #9
Conversation
console.log({ | ||
email: data.get('email'), | ||
password: data.get('password'), | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to remove console.log
<Button size='small' variant='contained' sx={{px:4, mt: 2, backgroundColor: 'mediumaquamarine'}} onClick={()=>{ | ||
const nextPage = page-1; | ||
setPage(nextPage); | ||
}}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: add logic to check if its the first page so the button should be disabled
<Button size='small' variant='contained' sx={{px:4, mt: 2, mx: 4, backgroundColor: 'mediumaquamarine'}} onClick={()=>{ | ||
const nextPage = page+1; | ||
setPage(nextPage); | ||
}}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same thing: we'll need to add checking if its the last page and disable thwe button if its so
<Box | ||
sx={{ | ||
marginTop: 8, | ||
display: 'flex', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
styles should be moved to scss files
Sprint [sprint #2]
Task
Trello task link
Summary
Changelog
Screenshot