refactor: simplify tries display by removing win/loss status
All checks were successful
Build Docker Image / build (push) Successful in 1m10s
All checks were successful
Build Docker Image / build (push) Successful in 1m10s
This commit is contained in:
@@ -321,19 +321,8 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- Status and Tries -->
|
||||
<div class="flex flex-col items-end gap-2">
|
||||
<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>
|
||||
<!-- Tries -->
|
||||
<div class="flex flex-col items-end">
|
||||
<p class="text-xs text-slate-400">
|
||||
{day.tryCount} {day.tryCount === 1 ? 'tentative' : 'tentatives'}
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user