Skip to content

Commit

Permalink
added hover sounds to homepage links
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshvdw committed May 7, 2024
1 parent b952cb0 commit 72ba666
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/app.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions js/global/audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ export default function audioImplementation(homePage) {
const team_links = document.querySelectorAll(".team-link-box");
playSound(team_links, project_click, project_hover);

// NEW HOME HOVER LINKS
const home_links = document.querySelectorAll(".home-hover-outer");
playSound(home_links, project_click, project_hover);

// PROJECT LINKS & ALL ELEMENTS WITH CLASS NAME CARD SOUND
const project_links = document.querySelectorAll(
".project-link-wrapper, .project-link, .card-sound"
Expand Down

0 comments on commit 72ba666

Please sign in to comment.