// SignIn.jsx — resident & owner portal sign-in screen (mock) const { useState: useStateSi } = React; function SignInPage({ navigate }) { const [tab, setTab] = useStateSi('resident'); const [showForgot, setShowForgot] = useStateSi(false); const [form, setForm] = useStateSi({ email: '', password: '' }); return (
{/* Background decoration */}
Santirma
SANTIRMA
PROPERTY SOLUTIONS
{/* Tabs */}
{[ { id: 'resident', label: 'Resident' }, { id: 'owner', label: 'Owner' }, ].map(t => ( ))}
{showForgot ? (

Reset your password

Enter the email on your account — we’ll send a secure reset link.

) : (
{ e.preventDefault(); alert('Sign in successful (mock).'); }}>

{tab === 'resident' ? 'Welcome back home.' : 'Welcome back, owner.'}

{tab === 'resident' ? 'Pay rent, submit maintenance, and download documents.' : 'View statements, approve work orders, and review performance.'}

setForm({ ...form, email: e.target.value })} />
setForm({ ...form, password: e.target.value })} />
)}
); } window.SantirmaSignInPage = SignInPage;