diff --git a/src/components/auth/LoginForm.tsx b/src/components/auth/LoginForm.tsx index 82eacdc..3a25054 100644 --- a/src/components/auth/LoginForm.tsx +++ b/src/components/auth/LoginForm.tsx @@ -11,11 +11,12 @@ import { authClient } from '@/lib/auth-client'; import { Separator } from '@/components/ui/separator'; import { toast, Toaster } from 'sonner'; import { showErrorToast } from '@/lib/utils'; -import { Loader2, Mail, Globe } from 'lucide-react'; +import { Loader2, Mail, Globe, Eye, EyeOff } from 'lucide-react'; export function LoginForm() { const [isLoading, setIsLoading] = useState(false); + const [showPassword, setShowPassword] = useState(false); const [ssoEmail, setSsoEmail] = useState(''); const { login } = useAuth(); const { authMethods, isLoading: isLoadingMethods } = useAuthMethods(); @@ -139,15 +140,29 @@ export function LoginForm() { - +
+ + +
diff --git a/src/components/auth/SignupForm.tsx b/src/components/auth/SignupForm.tsx index bec6e6e..a2fdcf9 100644 --- a/src/components/auth/SignupForm.tsx +++ b/src/components/auth/SignupForm.tsx @@ -6,9 +6,12 @@ import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } import { toast, Toaster } from 'sonner'; import { showErrorToast } from '@/lib/utils'; import { useAuth } from '@/hooks/useAuth'; +import { Eye, EyeOff } from 'lucide-react'; export function SignupForm() { const [isLoading, setIsLoading] = useState(false); + const [showPassword, setShowPassword] = useState(false); + const [showConfirmPassword, setShowConfirmPassword] = useState(false); const { register } = useAuth(); async function handleSignup(e: React.FormEvent) { @@ -86,29 +89,57 @@ export function SignupForm() { - +
+ + +
- +
+ + +
diff --git a/src/components/dashboard/RecentActivity.tsx b/src/components/dashboard/RecentActivity.tsx index 89f95fc..565cd89 100644 --- a/src/components/dashboard/RecentActivity.tsx +++ b/src/components/dashboard/RecentActivity.tsx @@ -2,6 +2,7 @@ import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import type { MirrorJob } from "@/lib/db/schema"; import { formatDate, getStatusColor } from "@/lib/utils"; import { Button } from "../ui/button"; +import { Activity, Clock } from "lucide-react"; interface RecentActivityProps { activities: MirrorJob[]; @@ -17,11 +18,25 @@ export function RecentActivity({ activities }: RecentActivityProps) { -
- {activities.length === 0 ? ( -

No recent activity

- ) : ( - activities.map((activity, index) => ( + {activities.length === 0 ? ( +
+ +

No recent activity

+

+ Activity will appear here when you start mirroring repositories. +

+ +
+ ) : ( +
+ {activities.map((activity, index) => (
- )) - )} -
+ ))} +
+ )} );