feat: optimize scan flow with WebP compression and fix admin metrics visibility

This commit is contained in:
2025-12-22 10:15:29 +01:00
parent f0588418c8
commit 5e35710b67
19 changed files with 477 additions and 332 deletions

View File

@@ -33,11 +33,11 @@ export default function BottleDetails({ bottleId, sessionId, userId }: BottleDet
if (!bottle && !loading) {
return (
<div className="min-h-[60vh] flex flex-col items-center justify-center gap-6 p-6 text-center">
<div className="w-20 h-20 bg-zinc-100 dark:bg-zinc-900 rounded-full flex items-center justify-center text-zinc-400">
<div className="w-20 h-20 bg-zinc-900 rounded-full flex items-center justify-center text-zinc-500">
<WifiOff size={40} />
</div>
<div>
<h2 className="text-xl font-black text-zinc-900 dark:text-white mb-2">Flasche nicht verfügbar</h2>
<h2 className="text-xl font-black text-zinc-50 mb-2">Flasche nicht verfügbar</h2>
<p className="text-zinc-500 text-sm max-w-xs mx-auto">
Inhalte konnten nicht geladen werden. Bitte stelle eine Internetverbindung her, um diese Flasche zum ersten Mal zu laden.
</p>