Skip to content

Conversation

YuraPetrovskyi
Copy link
Collaborator

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review on my code
  • My changes generate no new warnings or errors
  • New and previously existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Description

** Closes #414**
This PR introduces redesigned Login and Sign Up pages using the newly created Input component and applies various UI improvements for consistency with the Figma v2 design.

It also adds layout refinements such as:

  • Footer sticking to the bottom of the screen
  • Removal of the back button in auth layout
  • Background in Storybook stories for better context

Files changed

  • app/(auth)/login/page.tsx: Switched to the new Input component and added validations
  • app/(auth)/signup/page.tsx: Switched to the new Input component, added refugee toggle and validations
  • components/AuthForm.tsx: Refactored logic to support required field errors and updated styles
  • app/(auth)/layout.tsx: Removed back button
  • components/form/Input.stories.tsx: Added container background for realistic preview

UI changes

Updated Login and Sign Up pages
✅ Improved styling and spacing
✅ Inputs now follow consistent sizing and validation rules
✅ Storybook Input stories show realistic width and background

Changes to Documentation

No documentation changes were required.

Tests

Only manual testing has been performed at this stage:

  • Verified inputs, validation, and password toggle on both login and signup
  • Tested error message displays and submit prevention on incomplete forms

Copy link

netlify bot commented Aug 4, 2025

👷 Deploy request for cool-creponne-3e1272 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit dda1eb4

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.

Log in and sign up page v2

1 participant