diff --git a/beaky-frontend/src/lib/BetsTable.svelte b/beaky-frontend/src/lib/BetsTable.svelte new file mode 100644 index 0000000..6fcaa26 --- /dev/null +++ b/beaky-frontend/src/lib/BetsTable.svelte @@ -0,0 +1,171 @@ + + +
| Match | +Date | +League | +Bet Type | +Pick | +Outcome | +Confidence | +
|---|---|---|---|---|---|---|
| + {bet.team1Name} vs {bet.team2Name} + | ++ {date ? date.toLocaleDateString('cs-CZ', { day: 'numeric', month: 'short', year: 'numeric' }) : '—'} + | +{bet.league ?? '—'} | +{formatBetType(bet.ticketType)} | +{formatBetDetail(bet)} | ++ {outcome} + | +
+
+
+
+
+
+ {conf}%
+ |
+