polish(becario): título de acceso según modo, sin subtítulo
El header de la pantalla de acceso deja de decir "Taboada"/"Registro de horas de servicio": ahora el título es "Iniciar sesión" o "Registrarse" según la pestaña, y se quita el subtítulo en ambas. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
31bd723b23
commit
abd81612e1
1 file changed
+4
-6
@@ -53,13 +53,11 @@ const Cargando = ({ texto = "Cargando…" }) => (
|
||||
</div>
|
||||
);
|
||||
|
||||
// Header de marca para la pantalla de acceso (logo con las mismas proporciones
|
||||
// que checada, + wordmark y subtítulo del diseño).
|
||||
const Marca = () => (
|
||||
// Header de marca para la pantalla de acceso (logo + título según el modo).
|
||||
const Marca = ({ titulo }) => (
|
||||
<div style={{ textAlign: "center", marginBottom: "18px" }}>
|
||||
<div style={{ display: "flex", justifyContent: "center", marginBottom: "10px" }}><Logo /></div>
|
||||
<h1 style={{ margin: "0 0 3px", fontFamily: fonts.title, fontWeight: 600, fontSize: "24px", color: palette.brand, letterSpacing: "-.01em" }}>Taboada</h1>
|
||||
<p style={{ margin: 0, fontFamily: fonts.body, fontSize: "13px", color: palette.inkSoft }}>Registro de horas de servicio</p>
|
||||
<h1 style={{ margin: 0, fontFamily: fonts.title, fontWeight: 600, fontSize: "24px", color: palette.brand, letterSpacing: "-.01em" }}>{titulo}</h1>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -110,7 +108,7 @@ function Acceso({ onEntra }) {
|
||||
return (
|
||||
<div style={{ minHeight: "100vh", background: palette.bgGradient, display: "flex", flexDirection: "column", justifyContent: "center", padding: "32px 20px", fontFamily: fonts.body }}>
|
||||
<div style={{ width: "100%", maxWidth: "420px", margin: "0 auto" }}>
|
||||
<Marca />
|
||||
<Marca titulo={reg ? "Registrarse" : "Iniciar sesión"} />
|
||||
<Card>
|
||||
<div style={{ display: "flex", gap: "7px", background: palette.softTint, borderRadius: "13px", padding: "4px", marginBottom: "18px" }}>
|
||||
{["login", "registro"].map((m) => (
|
||||
|
||||
Reference in new issue
Block a user