First, I did some refactoring for /src/components/sounds
The paths to mp3s are now enum values
The bgMusic is now played on login (allegedly pls test)
Added a ButtonWithSound component that behaves exactly like a normal material-ui Button but you can overwrite the volume and source props to change the played sound.
You can add sounds by adding more files in /public/static/mp3 wav is not mpp3 but w/e
First, I did some refactoring for
/src/components/sounds
The paths to mp3s are now enum values
The bgMusic is now played on login (allegedly pls test)
Added a
ButtonWithSound
component that behaves exactly like a normal material-uiButton
but you can overwrite thevolume
andsource
props to change the played sound.You can add sounds by adding more files in
/public/static/mp3
wav is not mpp3 but w/e