Add the split-screen auth shell, switch prompt, and password toggle

This commit is contained in:
Aaron Po
2026-10-08 23:10:48 -04:00
parent 150515a948
commit 9968f4458a
3 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import { Button } from '@headlessui/react';
interface ShowPasswordToggleProps {
shown: boolean;
onToggle: () => void;
}
const ShowPasswordToggle = ({ shown, onToggle }: ShowPasswordToggleProps) => (
<Button
type="button"
onClick={onToggle}
className="inline-flex min-h-11 items-center self-start text-[0.9375rem] font-semibold text-secondary hover:underline"
>
{shown ? 'Hide password' : 'Show password'}
</Button>
);
export default ShowPasswordToggle;