-
Zauber-Detektiv Notizbogen
+ return (
+
+
+
+ Zauber-Detektiv Notizbogen
+
-
-
Login
+
+ Melde dich an, um dein Cluedo-Magie-Sheet zu öffnen
+
-
-
setLoginEmail(e.target.value)}
- placeholder="Email"
- style={styles.input}
- />
-
setLoginPassword(e.target.value)}
- placeholder="Passwort"
- type="password"
- style={styles.input}
- />
-
+
+
setLoginEmail(e.target.value)}
+ placeholder="Email"
+ style={styles.input}
+ />
-
- Default Admin: admin@local (Passwort aus .env)
-
-
-
+
setLoginPassword(e.target.value)}
+ placeholder="Passwort"
+ type="password"
+ style={styles.input}
+ />
+
+
+
+
+
+ Deine Notizen bleiben privat – jeder Spieler sieht nur seinen eigenen Zettel.
- );
- }
+
+ );
+}
const sections = sheet
? [
@@ -777,4 +783,80 @@ const styles = {
height: 1,
background: "rgba(0,0,0,0.12)",
},
+ loginPage: {
+ minHeight: "100dvh",
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ padding: 20,
+
+ // Hintergrund bleibt Pergament
+ background:
+ `
+ radial-gradient(circle at 12% 18%, rgba(120,80,30,0.18), rgba(0,0,0,0) 38%),
+ radial-gradient(circle at 85% 22%, rgba(120,80,30,0.12), rgba(0,0,0,0) 42%),
+ radial-gradient(circle at 35% 82%, rgba(120,80,30,0.10), rgba(0,0,0,0) 45%),
+ repeating-linear-gradient(
+ 0deg,
+ rgba(255,255,255,0.03),
+ rgba(255,255,255,0.03) 1px,
+ rgba(0,0,0,0.02) 2px,
+ rgba(0,0,0,0.02) 3px
+ ),
+ linear-gradient(180deg, #f1e2c2, #e3c996)
+ `,
+ },
+
+ loginCard: {
+ width: "100%",
+ maxWidth: 420,
+ padding: 26,
+ borderRadius: 22,
+ border: "1px solid rgba(0,0,0,0.25)",
+
+ background:
+ "linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.40))",
+
+ boxShadow: "0 18px 55px rgba(0,0,0,0.35)",
+ backdropFilter: "blur(8px)",
+
+ animation: "popIn 240ms ease-out",
+ },
+
+ loginTitle: {
+ fontFamily: '"Cinzel Decorative", "IM Fell English", system-ui',
+ fontWeight: 1000,
+ fontSize: 26,
+ color: "#20140c",
+ textAlign: "center",
+ letterSpacing: 0.6,
+ },
+
+ loginSubtitle: {
+ marginTop: 6,
+ textAlign: "center",
+ opacity: 0.85,
+ fontSize: 15,
+ lineHeight: 1.4,
+ },
+
+ loginBtn: {
+ padding: "12px 14px",
+ borderRadius: 14,
+ border: "1px solid rgba(0,0,0,0.30)",
+ background:
+ "linear-gradient(180deg, #f6e2b3, #caa45a)",
+ fontWeight: 1000,
+ fontSize: 16,
+ cursor: "pointer",
+ transition: "transform 140ms ease, box-shadow 140ms ease",
+ },
+
+ loginHint: {
+ marginTop: 18,
+ fontSize: 13,
+ opacity: 0.72,
+ textAlign: "center",
+ lineHeight: 1.35,
+ },
};