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(
|
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>
|
||||||
|
|
Loading…
Reference in a new issue