feat: remove play again link and adjust layout in completion page
All checks were successful
Migrate supabase / migrate (push) Successful in 15s

This commit is contained in:
2026-03-08 19:38:34 +01:00
parent 2455c75732
commit 4c44d98444

View File

@@ -12,16 +12,9 @@
<h1 class="mb-2 text-2xl font-bold text-gray-900 sm:text-3xl">{$t.gameplay.completedTitle}</h1>
<p class="mb-6 text-sm text-gray-600 sm:text-base">{data.gameTitle} - {$t.gameplay.sessionCode}: {data.sessionCode}</p>
<div class="mb-6 rounded-xl bg-emerald-50 p-4 text-center">
<div class="rounded-xl bg-emerald-50 p-4 text-center">
<p class="mb-1 text-sm font-medium text-emerald-800">{$t.gameplay.completedIn}</p>
<p class="text-3xl font-bold text-emerald-900 sm:text-4xl">{data.formattedDuration}</p>
</div>
<a
href={resolve('/(game)/game')}
class="block w-full rounded-lg bg-emerald-600 px-4 py-3 text-center text-base font-semibold text-white transition-colors hover:bg-emerald-700"
>
{$t.gameplay.playAgain}
</a>
</div>
</div>