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:
@@ -153,15 +153,19 @@ export default function Statistik() {
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</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="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-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 className="text-2xl font-bold text-gray-900">{data?.cumulative.toLocaleString('de-DE') ?? 0}</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="border-2 border-gray-300 rounded-xl p-4 bg-white">
|
<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 className="text-2xl font-bold text-gray-900">{data?.tage ?? 0}</div>
|
||||||
</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>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "logbuch",
|
"name": "logbuch",
|
||||||
"version": "1.10.1",
|
"version": "1.10.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
Reference in New Issue
Block a user