Statistik: dritte Kachel 'Führungen' und Umbenennung 'Alle Events'

Mittlere Kachel von 'Führungen' in 'Alle Events' umbenannt (zeigt
Gesamtzahl aller Events) und neue Kachel 'Führungen' mit der Summe
aller Führungen ergänzt. Bump auf 1.10.2.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 15:22:33 +02:00
parent 978ed4e1da
commit 9363e17de3
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -153,15 +153,19 @@ export default function Statistik() {
</table>
</div>
<div className="grid grid-cols-2 gap-4 w-full max-w-sm">
<div className="grid grid-cols-3 gap-4 w-full max-w-2xl">
<div className="border-2 border-gray-300 rounded-xl p-4 bg-white">
<div className="text-xs text-gray-500 mb-1">Besucher {year}</div>
<div className="text-2xl font-bold text-gray-900">{data?.cumulative.toLocaleString('de-DE') ?? 0}</div>
</div>
<div className="border-2 border-gray-300 rounded-xl p-4 bg-white">
<div className="text-xs text-gray-500 mb-1">Führungen {year}</div>
<div className="text-xs text-gray-500 mb-1">Alle Events {year}</div>
<div className="text-2xl font-bold text-gray-900">{data?.tage ?? 0}</div>
</div>
<div className="border-2 border-gray-300 rounded-xl p-4 bg-white">
<div className="text-xs text-gray-500 mb-1">Führungen {year}</div>
<div className="text-2xl font-bold text-gray-900">{col('tageFuehrungen').toLocaleString('de-DE')}</div>
</div>
</div>
</div>
);
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "logbuch",
"version": "1.10.1",
"version": "1.10.2",
"private": true,
"scripts": {
"dev": "next dev",