main #8

Closed
limepotato wants to merge 183 commits from main into blog-drafts
5 changed files with 4 additions and 2 deletions
Showing only changes of commit fdd0065b4d - Show all commits

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>