@@ -3,7 +3,7 @@ import { useCloudMusic } from '../../../../context/CloudMusicContext';
33import { PlayIcon , PauseIcon , SkipForwardIcon , SkipBackIcon } from '@phosphor-icons/react' ;
44import { motion , AnimatePresence } from 'framer-motion' ;
55import GenerativeArt from '../../../../components/GenerativeArt' ;
6- import { useLocation } from 'react-router-dom' ;
6+ import { useLocation , useNavigate } from 'react-router-dom' ;
77
88const TinyCloudPlayer = ( ) => {
99 const {
@@ -18,6 +18,7 @@ const TinyCloudPlayer = () => {
1818 duration
1919 } = useCloudMusic ( ) ;
2020 const location = useLocation ( ) ;
21+ const navigate = useNavigate ( ) ;
2122
2223 // Disable on the main Aether app page to avoid redundancy, and on About pages
2324 if ( location . pathname . startsWith ( '/apps/aether' ) || location . pathname . startsWith ( '/about' ) ) return null ;
@@ -52,7 +53,10 @@ const TinyCloudPlayer = () => {
5253 </ div >
5354
5455 { /* Cover Art / Icon - Square & Glitchy */ }
55- < div className = "relative w-10 h-10 md:w-12 md:h-12 flex-shrink-0 border border-cyan-500/50 bg-black overflow-hidden" >
56+ < div
57+ className = "relative w-10 h-10 md:w-12 md:h-12 flex-shrink-0 border border-cyan-500/50 bg-black overflow-hidden cursor-pointer"
58+ onClick = { ( ) => { navigate ( '/apps/aether' ) } }
59+ >
5660 { currentTrack ?. cover ? (
5761 < img
5862 src = { currentTrack . cover }
@@ -67,15 +71,17 @@ const TinyCloudPlayer = () => {
6771 </ div >
6872
6973 { /* Track Info */ }
70- < div className = "flex-1 min-w-0 flex flex-col justify-center gap-0.5 md:gap-1" >
71- < h4 className = "text-[10px] md:text-xs font-bold text-cyan-400 truncate uppercase tracking-widest" >
72- { currentTrack ?. title || "NO SIGNAL" }
73- </ h4 >
74- < p className = "text-[9px] md:text-[10px] text-cyan-700 truncate font-bold" >
75- { currentTrack ?. artist || "UNKNOWN" }
76- </ p >
74+ < div
75+ onClick = { ( ) => navigate ( '/apps/aether' ) }
76+ className = "flex-1 min-w-0 flex flex-col justify-center gap-0.5 md:gap-1 cursor-pointer"
77+ >
78+ < h4 className = "text-[10px] md:text-xs font-bold text-cyan-400 truncate uppercase tracking-widest hover:underline" >
79+ { currentTrack ?. title || "NO SIGNAL" }
80+ </ h4 >
81+ < p className = "text-[9px] md:text-[10px] text-cyan-700 truncate font-bold hover:underline" >
82+ { currentTrack ?. artist || "UNKNOWN" }
83+ </ p >
7784 </ div >
78-
7985 { /* Controls - Mechanical Buttons */ }
8086 < div className = "flex items-center gap-1" >
8187 < button
0 commit comments