feat: Anleitung-Button im Footer + Statistik-Effect-Fix

- Footer: 3-Spalten-Layout mit 'Anleitung'-Button in der Mitte (Link auf /anleitung.html)
- anleitung.html: 'Zurück zum Logbuch'-Button oben (beim Drucken ausgeblendet)
- Statistik: synchrones setState im Effect durch abgeleiteten loading/error-State ersetzt; Fetch-Abbruch mit cancelled-Flag; as any durch ArtFuehrung-Cast ersetzt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-17 16:46:38 +02:00
parent 42a2651f8e
commit d56ebb229d
4 changed files with 43 additions and 11 deletions
+9 -1
View File
@@ -179,12 +179,20 @@ export default function MainClient({ kuerzel, beoId, beoName, role }: Props) {
</div>
)}
<footer className="mt-6 flex justify-between items-center text-xs sm:text-sm text-gray-600 px-1 sm:px-4 print:hidden">
<footer className="mt-6 grid grid-cols-3 items-center text-xs sm:text-sm text-gray-600 px-1 sm:px-4 print:hidden">
<div>
<a href="mailto:rxf@gmx.de" className="text-blue-600 hover:underline">
rxf@gmx.de
</a>
</div>
<div className="flex justify-center">
<a
href="/anleitung.html"
className="px-3 py-1.5 bg-gray-200 hover:bg-gray-300 rounded-lg text-gray-700"
>
Anleitung
</a>
</div>
<div className="text-right">
v{version} {buildDate}
</div>