A React component that provides a login form with client-side validation using Zod.
- Email and password input fields
- Real-time validation using Zod schema
- Error messages displayed below invalid fields
- Form submission logs data to browser console
- Responsive design with TailwindCSS
- Loading state during form submission
The form validates:
- Email: Must be a valid email format
- Password: Must be at least 6 characters long
When submitted successfully, the validated form data is logged to the browser console and a success alert is shown.