feat(becario): botón "Inicio" en el portal → vuelve a checada.html
Añade en el header del portal del becario un botón "Inicio" que lleva a /checada.html, la pantalla de inicio donde puede escanear el QR o ir a su panel. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
afa489fd8c
commit
21a761ced2
1 file changed
+4
-1
@@ -211,7 +211,10 @@ function Portal({ session, onSalir }) {
|
||||
{resumen.telefono} <StatusBadge tone={resumen.estado}>{resumen.estado}</StatusBadge>
|
||||
</div>
|
||||
</div>
|
||||
<button onClick={salir} style={{ padding: "7px 12px", background: "transparent", border: `1px solid ${palette.line}`, borderRadius: "11px", fontFamily: fonts.body, fontWeight: 600, fontSize: "12px", color: palette.primary, cursor: "pointer" }}>Salir</button>
|
||||
<div style={{ display: "flex", gap: "8px", flexShrink: 0 }}>
|
||||
<button onClick={() => { window.location.href = "/checada.html"; }} style={{ padding: "7px 12px", background: palette.primary, border: "none", borderRadius: "11px", fontFamily: fonts.body, fontWeight: 700, fontSize: "12px", color: "#fff", cursor: "pointer" }}>Inicio</button>
|
||||
<button onClick={salir} style={{ padding: "7px 12px", background: "transparent", border: `1px solid ${palette.line}`, borderRadius: "11px", fontFamily: fonts.body, fontWeight: 600, fontSize: "12px", color: palette.primary, cursor: "pointer" }}>Salir</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main style={{ maxWidth: "440px", margin: "0 auto", padding: "18px" }}>
|
||||
|
||||
Reference in new issue
Block a user