+
+

- {/* @chisel-passkeys */}
-
- {/* @end-chisel-passkeys */}
+
+
+ {t('Área reservada')}
+
+
+ {t('Entrar na sua conta')}
+
+
+ {t('Aceda à sua conta Tempo.')}
+
+
-
-
- {status && (
-
- {status}
+ >
+ )}
+
- )}
+
+ {/* @chisel-registration */}
+
+ {t('Ainda não tem conta?')}{' '}
+
+ {t('Criar conta')}
+
+
+ {/* @end-chisel-registration */}
+
>
);
}
Login.layout = {
+ variant: 'tempo-card',
title: 'Entrar na sua conta',
- description:
- 'Entre para continuar a operação que escolheu. Os dados preenchidos permanecem guardados neste navegador.',
+ description: 'Aceda à sua conta Tempo.',
};
diff --git a/resources/js/pages/auth/register.tsx b/resources/js/pages/auth/register.tsx
index 75b98678..dfd6f167 100644
--- a/resources/js/pages/auth/register.tsx
+++ b/resources/js/pages/auth/register.tsx
@@ -1,6 +1,8 @@
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';
@@ -15,22 +17,47 @@ 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 (
<>
-