This PR implements user authentication using the Devise gem and updates the styling of the authentication-related forms to ensure consistency and improved user experience. The changes include the following:
Authentication Implementation
Added Devise gem to the Gemfile.
Configured Devise in the application.
Generated Devise views for customization.
Configured routes to use Devise controllers.
Added before_action :authenticate_user! to protect sensitive routes.
Customized Devise views to include additional fields (first_name, last_name, title).
Add Omniauth settings for Google and Facebook authentication.
Form Styling Updates
Applied consistent styling to all Devise forms (sign up, log in, password reset, password change).
Ensured forms use Bootstrap for responsive and clean design.
Added custom CSS for centering forms and enhancing the user interface.
Included error handling and validation messages in a user-friendly format.
Changes to Specific Forms
Sign Up Form: Styled and included additional fields (first_name, last_name).
Login Form: Styled to match the application theme.
Password Reset Request Form: Updated for consistency with other forms.
Password Change Form: Styled and ensured it works with the password reset token.
Description
This PR implements user authentication using the Devise gem and updates the styling of the authentication-related forms to ensure consistency and improved user experience. The changes include the following:
Authentication Implementation
before_action :authenticate_user!
to protect sensitive routes.first_name
,last_name
,title
).Form Styling Updates
Changes to Specific Forms
first_name
,last_name
).