rename sounds

This commit is contained in:
nelle 2024-09-02 15:46:26 -06:00
parent 4103000463
commit fdd0065b4d
5 changed files with 4 additions and 2 deletions

View file

@ -1,8 +1,8 @@
const clickSound = new Audio( const clickSound = new Audio(
"/assets/sounds/ui/zapsplat_multimedia_button_click_004_68776.mp3" "/assets/sounds/ui/zapsplat_button_click_2.mp3"
); );
const hoverSound = new Audio( const hoverSound = new Audio(
"/assets/sounds/ui/zapsplat_multimedia_button_click_bright_002_92099.mp3" "/assets/sounds/ui/zapsplat_button_click_bright_2.mp3"
); );
// Sound effects // Sound effects
@ -26,9 +26,11 @@ links.forEach((a) => {
a.addEventListener("click", () => { a.addEventListener("click", () => {
clickSound.play(); clickSound.play();
}); });
/*
a.addEventListener("mouseover", () => { a.addEventListener("mouseover", () => {
hoverSound.play(); hoverSound.play();
}); });
*/
}); });
// biome-ignore lint/complexity/noForEach: <explanation> // biome-ignore lint/complexity/noForEach: <explanation>