diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx new file mode 100644 index 0000000..47b2496 --- /dev/null +++ b/src/app/login/page.tsx @@ -0,0 +1,197 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple"; +import { useState } from "react"; +import { Eye, EyeOff, Lock, Mail, LogIn } from "lucide-react"; + +export default function LoginPage() { + const [email, setEmail] = useState(""); + const [password, setPassword] = useState(""); + const [showPassword, setShowPassword] = useState(false); + const [isLoading, setIsLoading] = useState(false); + + const handleSubmit = async (e: React.FormEvent) => { + e.preventDefault(); + setIsLoading(true); + // Simulate API call + setTimeout(() => { + setIsLoading(false); + console.log("Login attempted with:", { email, password }); + }, 2000); + }; + + const handleSignup = () => { + console.log("Signup clicked"); + }; + + const handleForgotPassword = () => { + console.log("Forgot password clicked"); + }; + + return ( + + + +
+
+ {/* Header */} +
+
+ +
+

Welcome Back

+

Sign in to your HealthCare Hub account

+
+ + {/* Login Form Card */} +
+
+ {/* Email Field */} +
+ +
+ + setEmail(e.target.value)} + placeholder="you@hospital.com" + className="w-full pl-10 pr-4 py-2.5 rounded-lg border border-accent/30 bg-background focus:outline-none focus:border-primary-cta focus:ring-1 focus:ring-primary-cta text-foreground placeholder-foreground/50 transition-colors" + required + /> +
+
+ + {/* Password Field */} +
+ +
+ + setPassword(e.target.value)} + placeholder="••••••••" + className="w-full pl-10 pr-10 py-2.5 rounded-lg border border-accent/30 bg-background focus:outline-none focus:border-primary-cta focus:ring-1 focus:ring-primary-cta text-foreground placeholder-foreground/50 transition-colors" + required + /> + +
+
+ + {/* Remember Me & Forgot Password */} +
+ + +
+ + {/* Submit Button */} + +
+ + {/* Divider */} +
+
+
+
+
+ New to HealthCare Hub? +
+
+ + {/* Sign Up Link */} + +
+ + {/* Security Notice */} +
+

+ 🔒 Your information is secure and HIPAA-compliant. We use enterprise-grade encryption to protect your data. +

+
+ + {/* Help Links */} +
+ + Support Center + + + + Contact Support + + + + Privacy Policy + +
+
+
+
+ ); +}