Angepasste namne und Nachrichten
This commit is contained in:
1 parent
279f910b3e
commit
22779120b3
2 files changed
+7
-7
No files matched your search
+1
-1
@@ -66,7 +66,7 @@ function setBackgroundAndImage(person, animate = true) {
|
||||
const file = person === "A" ? "img/a.png" : "img/b.png";
|
||||
const label = person === "A" ? "Lumpia" : "Pierogi";
|
||||
const bgImage = person === "A" ? "url('img/bgA.jpg')" : "url('img/bgB.jpg')";
|
||||
const nameColor = person === "A" ? "#2ecc71" : "#e74c3c"; // Grün für A, Rot für B
|
||||
const nameColor = person === "A" ? "#4B0082" : "#DAA520";
|
||||
|
||||
// Set background immediately (smooth transition via CSS)
|
||||
document.body.style.backgroundImage = bgImage;
|
||||
|
||||
Reference in new issue
Block a user