Refactor UI components and improve accessibility features

- Updated various UI components to enhance visual consistency and user experience.
- Improved focus management and accessibility features across the application.
- Streamlined controller navigation logic for better user interaction.
- Removed unused functions in useLoginSounds.ts to optimize the codebase.
This commit is contained in:
Dorian
2026-02-18 10:12:32 +00:00
parent e6fb1d20be
commit a1282f7e68
3 changed files with 9 additions and 1 deletions
@@ -96,6 +96,13 @@ export function stopSynthwave() {
}
}
/** Pop sound - plays when intro initiator (tap to start) is pressed */
export function playPop() {
const audio = new Audio('/assets/audio/pop.mp3')
audio.volume = 0.6
audio.play().catch(() => {})
}
/** Whoosh transition on successful login */
export function playLoginSuccessWhoosh() {
const woosh = new Audio('/assets/audio/woosh.mp3')