Casimir43/enhancement/665 refactor baseauthform card layout loginform link - #675
Casimir43/enhancement/665 refactor baseauthform card layout loginform link#675Casimir43 wants to merge 12 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
| onSubmit={onSubmit} | ||
| > | ||
| {logo !== null && ( | ||
| <img |
There was a problem hiding this comment.
Use Image instead of img so Next can optimize upon build.
| box-shadow: 1px 1px 0px var(--drop-shadows); | ||
|
|
||
| &:checked { | ||
| background-image: url('../../../../shared/assets/icons/check.svg'); |
There was a problem hiding this comment.
This is wild. Shame SCSS doesnt understand @/shared...
Purely visual, didnt think it was part of this issue. Should i make it actually work? it's not going to be part of seperate issue in the future? |
|
Looks good to me. Like Sakari said, you have good use of variables. You updated tests well, that's also an important thing to do. I see that you have fixed the code to use the Image tag correctly. I think this issue gets finished when you do the rest of the requested changes👍 |
📄 Pull Request Overview
Closes #665
🔧 Changes Made
Gave the login form a proper card look to match the Figma design, on desktop and mobile. Added a "Register in-game" link on the login form that takes you to the Google Play page. Updated the Finnish and English texts for the new labels and that register link. Added/updated tests for the login form.
Cleaned up the login form test.
✅ Checklist Before Submission
console.log()or other debugging statements are left. ✅📝 Additional Information