diff --git a/src/components/Auth/auth.tsx b/src/components/Auth/auth.tsx new file mode 100644 index 0000000..ad4df91 --- /dev/null +++ b/src/components/Auth/auth.tsx @@ -0,0 +1,409 @@ +import React, { useState } from 'react'; +import { Eye, EyeOff, Mail, Lock, User } from 'lucide-react'; + +const AuthApp = () => { + const [currentView, setCurrentView] = useState('signin'); // 'signin' or 'signup' + + return ( +
Sign in to your account
+{errors.email}
+ )} +{errors.password}
+ )} + {formData.password && ( +Password must contain:
++ Don't have an account?{' '} + +
+Sign up for a new account
+{errors.name}
+ )} +{errors.email}
+ )} +{errors.password}
+ )} +{errors.confirmPassword}
+ )} ++ Already have an account?{' '} + +
+