Compare commits
2 Commits
08f5d620be
...
1035a98eca
| Author | SHA1 | Date | |
|---|---|---|---|
| 1035a98eca | |||
| df224d97bb |
@@ -209,7 +209,7 @@
|
||||
Personnage du jour
|
||||
</h1>
|
||||
<p class="mt-2 text-sm text-amber-300">
|
||||
{data.winCount} {data.winCount > 1 ? 'personnes' : 'personne'} ont trouvé aujourd'hui 🎉
|
||||
{data.winCount} {data.winCount > 1 ? 'personnes' : 'personne'} {data.winCount > 1 ? 'ont' : 'a'} trouvé aujourd'hui 🎉
|
||||
</p>
|
||||
</div>
|
||||
{#if hasWon}
|
||||
|
||||
@@ -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