diff --git a/web/frontend/app/features/auth/components/AuthSplitLayout.tsx b/web/frontend/app/features/auth/components/AuthSplitLayout.tsx new file mode 100644 index 00000000..73338500 --- /dev/null +++ b/web/frontend/app/features/auth/components/AuthSplitLayout.tsx @@ -0,0 +1,20 @@ +interface AuthSplitLayoutProps { + headline: string; + blurb: string; + children: React.ReactNode; +} + +const AuthSplitLayout = ({ headline, blurb, children }: AuthSplitLayoutProps) => ( +
+ {lead}{' '} + + {label} + +
+); + +export default AuthSwitchPrompt; diff --git a/web/frontend/app/features/auth/components/ShowPasswordToggle.tsx b/web/frontend/app/features/auth/components/ShowPasswordToggle.tsx new file mode 100644 index 00000000..c61c9e14 --- /dev/null +++ b/web/frontend/app/features/auth/components/ShowPasswordToggle.tsx @@ -0,0 +1,18 @@ +import { Button } from '@headlessui/react'; + +interface ShowPasswordToggleProps { + shown: boolean; + onToggle: () => void; +} + +const ShowPasswordToggle = ({ shown, onToggle }: ShowPasswordToggleProps) => ( + +); + +export default ShowPasswordToggle;