feat: Mejoras UI - Timer, mapa resultado misión y tokens

- Mover timer de votación a esquina superior izquierda (fixed, 20px margen)
- Eliminar contador de votos rechazados en resultado de misión
- Ajustar posiciones de tokens de victoria/fracaso en el mapa
- Mantener mapa visible durante toda la fase MISSION_RESULT (eliminar timeout de 7s)
- Cambiar título intro de 'Guerra Total' a 'Traidores en París'
- Ajustar tamaño de cartas aceptar/rechazar líder a cuadradas (w-32 h-32)

TODO: Afinar posiciones de tokens 3, 4 y 5 en el mapa
This commit is contained in:
Resistencia Dev
2025-12-13 01:18:52 +01:00
parent c67f97845a
commit 13d56c2431
33 changed files with 229 additions and 115 deletions

View File

@@ -23,15 +23,15 @@ export default function MissionReveal({ votes, onFinished }: MissionRevealProps)
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
>
<h2 className="text-5xl font-bold text-white mb-12 uppercase tracking-widest drop-shadow-lg">
Resultado de Misión
<h2 className="text-3xl font-bold text-white mb-12 uppercase tracking-widest drop-shadow-lg">
Resultado de la misión
</h2>
<div className="flex gap-8 justify-center mb-12 flex-wrap max-w-[90vw]">
<div className="flex gap-4 justify-center mb-12 flex-wrap max-w-[90vw]">
{votes.map((vote, idx) => (
<motion.div
key={idx}
className="w-48 h-72 rounded-xl flex items-center justify-center shadow-2xl relative overflow-hidden"
className="w-32 h-48 rounded-xl flex items-center justify-center shadow-2xl relative overflow-hidden"
initial={{ scale: 0, rotateY: 180 }}
animate={{ scale: 1, rotateY: 0 }}
transition={{