add sound and style

This commit is contained in:
2025-07-17 12:33:17 +02:00
parent bf53c6bd8c
commit 7db92d4e42
2 changed files with 2 additions and 2 deletions

BIN
nginx/html/fart.mp3 Normal file

Binary file not shown.

View File

@@ -59,7 +59,7 @@
position: fixed; position: fixed;
width: max-content; width: max-content;
font-family: Poppins, Helvetica, sans-serif; font-family: Poppins, Helvetica, sans-serif;
font-size: 1rem; top: 5%;
" "
> >
mindboost - media server mindboost - media server
@@ -92,7 +92,7 @@
/* ---------- Audio-setup & wobbly button ---------- */ /* ---------- Audio-setup & wobbly button ---------- */
;(async () => { ;(async () => {
const BUTTON = document.getElementById("soundBtn") const BUTTON = document.getElementById("soundBtn")
const AUDIO_FILE = "demo-ping.mp3" // <-- change path/format at will const AUDIO_FILE = "fart.mp3" // <-- change path/format at will
let ctx, buffer let ctx, buffer
// Pre-fetch & decode once (lazy: only on first click) // Pre-fetch & decode once (lazy: only on first click)