refactor: simplify tries display by removing win/loss status
All checks were successful
Build Docker Image / build (push) Successful in 1m10s

This commit is contained in:
2026-03-05 22:51:39 +01:00
parent df224d97bb
commit 1035a98eca

View File

@@ -321,19 +321,8 @@
</p> </p>
</div> </div>
<!-- Status and Tries --> <!-- Tries -->
<div class="flex flex-col items-end gap-2"> <div class="flex flex-col items-end">
<div class="flex items-center gap-2">
{#if day.won === 1}
<span class="rounded-full bg-green-900/30 px-3 py-1 text-xs font-semibold text-green-300">
✓ Gagné
</span>
{:else}
<span class="rounded-full bg-red-900/30 px-3 py-1 text-xs font-semibold text-red-300">
✗ Perdu
</span>
{/if}
</div>
<p class="text-xs text-slate-400"> <p class="text-xs text-slate-400">
{day.tryCount} {day.tryCount === 1 ? 'tentative' : 'tentatives'} {day.tryCount} {day.tryCount === 1 ? 'tentative' : 'tentatives'}
</p> </p>