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

Sprint-2 registration-page layout #9

Merged

Conversation

Nargiza14
Copy link
Collaborator

Sprint [sprint #2]

Task

Trello task link

Summary

  1. Done16.08.2023 / Deadline 22.08.2023
  2. Score 45/45

Changelog

  • made layout of the registration page

Screenshot

Снимок экрана 2023-08-16 в 02 24 53

Comment on lines +10 to +13
console.log({
email: data.get('email'),
password: data.get('password'),
});
Copy link
Collaborator

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

Comment on lines +42 to +45
<Button size='small' variant='contained' sx={{px:4, mt: 2, backgroundColor: 'mediumaquamarine'}} onClick={()=>{
const nextPage = page-1;
setPage(nextPage);
}}>
Copy link
Collaborator

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

Comment on lines +52 to +55
<Button size='small' variant='contained' sx={{px:4, mt: 2, mx: 4, backgroundColor: 'mediumaquamarine'}} onClick={()=>{
const nextPage = page+1;
setPage(nextPage);
}}>
Copy link
Collaborator

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',
Copy link
Owner

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

@evgueniazet evgueniazet merged commit 5655d7b into sprint-2_login-registration-main Aug 18, 2023
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