This commit is contained in:
stefan.tollkuehn committed 2026-09-30 17:03:52 +02:00
1 parent de8ea49ee7
commit 2214845361
2 files changed
+41

No files matched your search

+40
View File
@@ -37,6 +37,19 @@
gap: 8px;
}
.logo-bar {
position: fixed;
top: 16px;
left: 16px;
z-index: 100;
}
.logo-bar img {
display: block;
height: 60px;
width: auto;
}
.lang-menu {
position: relative;
}
@@ -276,6 +289,10 @@
</head>
<body>
<nav id="logoBar" class="logo-bar hidden">
<img id="logoImage" src="" alt="Logo">
</nav>
<nav class="navbar">
<a class="button secondary" href="https://www.bnvb-ingenieure.de/impressum" target="_blank" rel="noopener noreferrer" data-i18n="impressum">
Impressum
@@ -529,6 +546,10 @@
* set wallpaper for webpage
*/
backgroundImage: "assets/background.png",
/*
* Set logo
*/
logo: "assets/logo.svg",
/*
* Download URLs for jitsi-meet-electron client
*/
@@ -991,6 +1012,20 @@
document.body.style.backgroundPosition = "center";
}
/* ============================================================
* LOGO
* ============================================================
*/
function applyLogo() {
if (!CONFIG.logo) {
return;
}
logoImage.src = CONFIG.logo;
logoBar.classList.remove("hidden");
}
/* ============================================================
* DOM elements
* ============================================================
@@ -1040,6 +1075,10 @@
const invalidNameError = document.getElementById("invalidNameError");
const invalidRoomName = document.getElementById("invalidRoomName");
/* Logo DOM elements */
const logoBar = document.getElementById("logoBar");
const logoImage = document.getElementById("logoImage");
/* ============================================================
* GET ROOM FROM QUERY-PARAMETER
* ============================================================
@@ -1795,6 +1834,7 @@ END:VCALENDAR`;
applyTranslations();
applyBackgroundImage();
applyLogo();
updateLanguageMenu();
initialize();
</script>