Compare commits
2 Commits
08f5d620be
...
1035a98eca
| Author | SHA1 | Date | |
|---|---|---|---|
| 1035a98eca | |||
| df224d97bb |
@@ -209,7 +209,7 @@
|
|||||||
Personnage du jour
|
Personnage du jour
|
||||||
</h1>
|
</h1>
|
||||||
<p class="mt-2 text-sm text-amber-300">
|
<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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{#if hasWon}
|
{#if hasWon}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user