Code formatting cleanup and addition of visual assets (logo, background)

This commit is contained in:
2026-04-16 07:24:19 +02:00
parent e993eef125
commit ec7b4d1f71
8 changed files with 9 additions and 12 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ function LoginPage({ onLogin }) {
return (
<div className="min-h-screen flex items-center justify-center bg-stone-100">
<div className="bg-white rounded-2xl shadow-lg p-8 w-full max-w-sm border-t-4 border-red-600">
<div className="text-center text-4xl mb-2">🚨</div>
<img src="/img/logo.png" alt="Quizalarm" className="w-24 h-24 mb-2" />
<h1 className="text-2xl font-bold mb-6 text-center">Quizalarm Admin</h1>
<input type="password" className="w-full p-3 border rounded-lg mb-3 text-center focus:border-red-500 outline-none" placeholder="Passwort" value={pw} onChange={(e) => setPw(e.target.value)} onKeyDown={(e) => e.key === 'Enter' && submit()} autoFocus />
{err && <p className="text-red-500 text-sm mb-3 text-center">{err}</p>}