rename sounds
This commit is contained in:
parent
4103000463
commit
fdd0065b4d
5 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
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(
|
||||
"/assets/sounds/ui/zapsplat_multimedia_button_click_bright_002_92099.mp3"
|
||||
"/assets/sounds/ui/zapsplat_button_click_bright_2.mp3"
|
||||
);
|
||||
|
||||
// Sound effects
|
||||
|
@ -26,9 +26,11 @@ links.forEach((a) => {
|
|||
a.addEventListener("click", () => {
|
||||
clickSound.play();
|
||||
});
|
||||
/*
|
||||
a.addEventListener("mouseover", () => {
|
||||
hoverSound.play();
|
||||
});
|
||||
*/
|
||||
});
|
||||
|
||||
// biome-ignore lint/complexity/noForEach: <explanation>
|
||||
|
|
Loading…
Reference in a new issue