Improve propper working infobeamer

This commit is contained in:
L3D 2025-05-05 00:45:14 +02:00
parent b51d91b578
commit c789c55b8f
Signed by: L3D
GPG Key ID: CD08445BFF4313D1
7 changed files with 270 additions and 4 deletions

View File

@ -5,6 +5,7 @@
.slide { .slide {
background-color: $color-bg; background-color: $color-bg;
background-image: url('/header.svg');
} }

View File

@ -10,6 +10,8 @@ const html = htm.bind(preact.h);
const music_credits = (config) => { const music_credits = (config) => {
let inner; let inner;
// disable music
/*
if (sol.defined(config.music)) { if (sol.defined(config.music)) {
inner = html` inner = html`
<div class="music-info"> <div class="music-info">
@ -29,10 +31,11 @@ const music_credits = (config) => {
} else { } else {
inner = html``; inner = html``;
} }
*/
inner = html``;
return inner; return inner;
}; };
export { export {
music_credits music_credits
} }

View File

@ -12,7 +12,7 @@
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}
<img class="header" src="{{ .Site.BaseURL }}/header.png"> <!-- <img class="header" src="{{ .Site.BaseURL }}/header.png"> -->
<main id="main"> <main id="main">
<!-- Dynamic content inserted here --> <!-- Dynamic content inserted here -->
</main> </main>

View File

@ -12,7 +12,7 @@
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}
<img class="header" src="{{ .Site.BaseURL }}/header.png"> <!-- <img class="header" src="{{ .Site.BaseURL }}/header.png"> -->
<main id="main"> <main id="main">
<!-- Dynamic content inserted here --> <!-- Dynamic content inserted here -->
</main> </main>

View File

@ -12,7 +12,7 @@
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}
<img class="header" src="{{ .Site.BaseURL }}/header.png"> <!-- <img class="header" src="{{ .Site.BaseURL }}/header.png"> -->
<main id="main"> <main id="main">
<!-- Dynamic content inserted here --> <!-- Dynamic content inserted here -->
</main> </main>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

262
static/header.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 604 KiB