Feat: ru words; make last clue more prominent

This commit is contained in:
Grail Finder
2025-06-30 15:29:50 +03:00
parent 42c1f461b0
commit 288e74c95b
7 changed files with 3378 additions and 37 deletions

View File

@ -15,10 +15,13 @@
{{end}}
</div>
<script>
// Scroll to the bottom of the action history container
const container = document.getElementById('actionHistoryContainer');
if (container) {
container.scrollTop = container.scrollHeight;
if (!window.actionHistoryScrollSet) {
htmx.onLoad(function(target) {
if (target.id === 'actionHistoryContainer') {
target.scrollTop = target.scrollHeight;
}
});
window.actionHistoryScrollSet = true;
}
</script>
{{end}}

View File

@ -26,9 +26,10 @@
{{if .Room.IsRunning}}
<p>Turn of the <span class="text-{{.Room.TeamTurn}}-500">{{.Room.TeamTurn}}</span> team</p>
{{if .Room.MimeDone}}
<p class="text-{{.Room.TeamTurn}}-500">Waiting for guessers</p>
<p class="text-{{.Room.TeamTurn}}-500 text-xl">Waiting for guessers</p>
<p class="text-{{.Room.TeamTurn}}-500 text-xl">Given Clue: "{{.Room.FetchLastClueWord}}"</p>
{{else}}
<p class="text-{{.Room.TeamTurn}}-500">Waiting for mime</p>
<p class="text-{{.Room.TeamTurn}}-500 text-xl">Waiting for mime</p>
{{end}}
{{template "cardcounter" .Room}}
{{end}}