diff --git a/ui/sign-in/index.html b/ui/sign-in/index.html index 4be561f..65e3a2c 100644 --- a/ui/sign-in/index.html +++ b/ui/sign-in/index.html @@ -3,7 +3,7 @@ - Sign in — cameleer3 + Sign in — Cameleer diff --git a/ui/sign-in/src/SignInPage.tsx b/ui/sign-in/src/SignInPage.tsx index 5f0315f..a46b404 100644 --- a/ui/sign-in/src/SignInPage.tsx +++ b/ui/sign-in/src/SignInPage.tsx @@ -1,4 +1,5 @@ import { type FormEvent, useMemo, useState } from 'react'; +import { Eye, EyeOff } from 'lucide-react'; import { Card, Input, Button, Alert, FormField } from '@cameleer/design-system'; import cameleerLogo from '@cameleer/design-system/assets/cameleer3-logo.svg'; import { signIn } from './experience-api'; @@ -36,6 +37,7 @@ export function SignInPage() { const subtitle = useMemo(() => SUBTITLES[Math.floor(Math.random() * SUBTITLES.length)], []); const [username, setUsername] = useState(''); const [password, setPassword] = useState(''); + const [showPassword, setShowPassword] = useState(false); const [loading, setLoading] = useState(false); const [error, setError] = useState(null); @@ -58,7 +60,7 @@ export function SignInPage() {
- cameleer3 + Cameleer

{subtitle}

@@ -82,15 +84,29 @@ export function SignInPage() { - setPassword(e.target.value)} - placeholder="••••••••" - autoComplete="current-password" - disabled={loading} - /> +
+ setPassword(e.target.value)} + placeholder="••••••••" + autoComplete="current-password" + disabled={loading} + /> + +