diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index 03e29bc..f02bb07 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -5,7 +5,7 @@ import Player from '@/components/Player' import Sidebar from '@/components/Sidebar' import reactQueryClient from '@/utils/reactQueryClient' import Main from './components/Main' -import TitleBar from './components/Titlebar' +import TitleBar from './components/TitleBar' const App = () => { return ( diff --git a/src/renderer/assets/icons/windows-max.svg b/src/renderer/assets/icons/windows-max.svg deleted file mode 100644 index 79aa709..0000000 --- a/src/renderer/assets/icons/windows-max.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/renderer/assets/icons/windows-maximize.svg b/src/renderer/assets/icons/windows-maximize.svg new file mode 100644 index 0000000..d523709 --- /dev/null +++ b/src/renderer/assets/icons/windows-maximize.svg @@ -0,0 +1 @@ + diff --git a/src/renderer/assets/icons/windows-min.svg b/src/renderer/assets/icons/windows-minimize.svg similarity index 100% rename from src/renderer/assets/icons/windows-min.svg rename to src/renderer/assets/icons/windows-minimize.svg diff --git a/src/renderer/assets/icons/windows-unmax.svg b/src/renderer/assets/icons/windows-un-maximize.svg similarity index 100% rename from src/renderer/assets/icons/windows-unmax.svg rename to src/renderer/assets/icons/windows-un-maximize.svg diff --git a/src/renderer/components/FMCard.tsx b/src/renderer/components/FMCard.tsx index 168f829..a10b8cf 100644 --- a/src/renderer/components/FMCard.tsx +++ b/src/renderer/components/FMCard.tsx @@ -55,6 +55,7 @@ const MediaControls = () => { } const FMCard = () => { + const navigate = useNavigate() const [background, setBackground] = useState('') const playerSnapshot = useSnapshot(player) @@ -83,7 +84,11 @@ const FMCard = () => { style={{ background }} > {coverUrl ? ( - + track?.al?.id && navigate(`/album/${track.al.id}`)} + className='rounded-lg shadow-2xl' + src={coverUrl} + /> ) : (
)} diff --git a/src/renderer/components/Router.tsx b/src/renderer/components/Router.tsx index 4b5db71..0ff9f8d 100644 --- a/src/renderer/components/Router.tsx +++ b/src/renderer/components/Router.tsx @@ -7,16 +7,26 @@ import Playlist from '@/pages/Playlist' import Artist from '@/pages/Artist' import Search from '@/pages/Search' import Library from '@/pages/Library' +import Podcast from '@/pages/Podcast' +import Settings from '@/pages/Settings' const routes: RouteObject[] = [ { path: '/', element: