@@ -11,6 +11,7 @@ import {
1111 BroadcastIcon ,
1212 LightningIcon ,
1313 CpuIcon ,
14+ SpeakerHighIcon ,
1415} from '@phosphor-icons/react' ;
1516import PostTile from '../../components/PostTile' ;
1617import ProjectTile from '../../components/ProjectTile' ;
@@ -41,6 +42,11 @@ const StatusPill = () => {
4142 return ( ) => clearInterval ( timer ) ;
4243 } , [ ] ) ;
4344
45+ const playAttackSound = ( ) => {
46+ const audio = new Audio ( '/sounds/faah.mp3' ) ;
47+ audio . play ( ) . catch ( ( e ) => console . error ( 'Audio play failed' , e ) ) ;
48+ } ;
49+
4450 return (
4551 < div className = "fixed bottom-6 right-6 z-40 flex flex-col items-end gap-0" >
4652 < AnimatePresence >
@@ -64,6 +70,17 @@ const StatusPill = () => {
6470 </ div >
6571 < div className = "h-px bg-transparent border-t border-dashed border-blue-100/30 my-1" />
6672
73+ < div className = "flex justify-between items-center text-gray-400" >
74+ < span > AUDIO</ span >
75+ < button
76+ onClick = { playAttackSound }
77+ className = "text-[10px] border border-white/40 text-white px-2 py-0.5 hover:bg-white hover:text-black transition-colors flex items-center gap-2"
78+ >
79+ < span > [ATTACK!!!]</ span >
80+ < SpeakerHighIcon size = { 12 } weight = "fill" />
81+ </ button >
82+ </ div >
83+
6784 < div className = "flex justify-between items-center text-gray-400" >
6885 < span > THEME</ span >
6986 < button
@@ -74,7 +91,7 @@ const StatusPill = () => {
7491 }
7592 className = "text-[10px] border border-white/40 text-white px-2 py-0.5 hover:bg-white hover:text-black transition-colors"
7693 >
77- [{ fezcodexTheme } ]
94+ [{ fezcodexTheme . toUpperCase ( ) } ]
7895 </ button >
7996 </ div >
8097
0 commit comments