Fix: Cambio a Rondas.mp3 y corrección lógica votación
Some checks failed
CI/CD - Francia Ocupada (La Resistencia) / build-and-deploy (push) Failing after 7s

This commit is contained in:
Resistencia Dev
2025-12-18 20:31:30 +01:00
parent c8bad3ea73
commit 94d1ffbf56
3 changed files with 5874 additions and 4 deletions

5870
client/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -19,7 +19,7 @@
"tailwind-merge": "^2.0.0" "tailwind-merge": "^2.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^20", "@types/node": "^20.19.27",
"@types/react": "^18", "@types/react": "^18",
"@types/react-dom": "^18", "@types/react-dom": "^18",
"autoprefixer": "^10.0.1", "autoprefixer": "^10.0.1",
@@ -29,4 +29,4 @@
"tailwindcss": "^3.3.0", "tailwindcss": "^3.3.0",
"typescript": "^5" "typescript": "^5"
} }
} }

View File

@@ -258,7 +258,7 @@ export default function GameBoard({ gameState, currentPlayerId, actions }: GameB
<div className="relative z-10 w-full flex-1 overflow-y-auto p-4 flex flex-col items-center"> <div className="relative z-10 w-full flex-1 overflow-y-auto p-4 flex flex-col items-center">
{isHost && ( {isHost && (
<audio <audio
src="/assets/audio/Rondas.ogg" src="/assets/audio/Rondas.mp3"
autoPlay autoPlay
onEnded={() => actions.finishRollCall()} // Host avanza cuando acaba audio onEnded={() => actions.finishRollCall()} // Host avanza cuando acaba audio
/> />
@@ -577,7 +577,7 @@ export default function GameBoard({ gameState, currentPlayerId, actions }: GameB
</div> </div>
</div> </div>
{!currentPlayer?.hasVoted ? ( {gameState.teamVotes[currentPlayerId] === undefined ? (
<div className="flex gap-8"> <div className="flex gap-8">
<button onClick={() => actions.voteTeam(true)} className="group"> <button onClick={() => actions.voteTeam(true)} className="group">
<div className="w-32 h-48 bg-white rounded-lg shadow-xl flex flex-col items-center justify-center border-2 border-blue-500 group-hover:border-blue-400 group-hover:shadow-blue-500/50 transition-all transform group-hover:-translate-y-4 relative overflow-hidden p-2"> <div className="w-32 h-48 bg-white rounded-lg shadow-xl flex flex-col items-center justify-center border-2 border-blue-500 group-hover:border-blue-400 group-hover:shadow-blue-500/50 transition-all transform group-hover:-translate-y-4 relative overflow-hidden p-2">