import { participationIdentity } from '@/lib/participation-identity'; import { useTempoUi } from '@/components/tempo-brand'; import { Form, Head } from '@inertiajs/react'; import { UserPlus } from 'lucide-react'; import AuthTempoCard from '@/components/auth-tempo-card'; import InputError from '@/components/input-error'; import PasswordInput from '@/components/password-input'; import TextLink from '@/components/text-link'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; import { Spinner } from '@/components/ui/spinner'; import { login } from '@/routes'; import { store } from '@/routes/register'; type Props = { passwordRules: string; }; const controlClass = 'h-auto rounded-xl border-slate-300 bg-white px-3.5 py-3 text-sm text-slate-900 shadow-sm placeholder:text-slate-400 hover:border-slate-400 focus-visible:border-[#ed1c24] focus-visible:ring-4 focus-visible:ring-[#ed1c24]/10'; const labelClass = 'mb-1.5 block text-xs leading-normal font-bold text-slate-800'; export default function Register({ passwordRules }: Props) { const { t } = useTempoUi(); return ( <> {t('Já tem conta?')}{' '} {t('Entrar')} } >
{({ processing, errors }) => (
)}
); } Register.layout = { variant: 'tempo-card', title: 'Criar conta', description: 'Crie uma conta simples para continuar e acompanhar a sua operação. Não é necessário configurar MFA para participar.', };