diff --git a/src/renderer/router/app-router.tsx b/src/renderer/router/app-router.tsx index db813f0a..b7c8bc3c 100644 --- a/src/renderer/router/app-router.tsx +++ b/src/renderer/router/app-router.tsx @@ -48,6 +48,14 @@ const AlbumArtistDetailRoute = lazy( () => import('/@/renderer/features/artists/routes/album-artist-detail-route'), ); +const AlbumArtistDetailSongListRoute = lazy( + () => import('../features/artists/routes/album-artist-detail-song-list-route'), +); + +const AlbumArtistDetailDiscographyRoute = lazy( + () => import('../features/artists/routes/album-artist-detail-discography-route'), +); + const AlbumDetailRoute = lazy( () => import('/@/renderer/features/albums/routes/album-detail-route'), ); @@ -119,10 +127,20 @@ export const AppRouter = () => { index element={} /> - } - path={AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL} - /> + + } + /> + } + path={AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL_DISCOGRAPHY} + /> + } + path={AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL_SONGS} + /> + } diff --git a/src/renderer/router/routes.ts b/src/renderer/router/routes.ts index b19feaba..44148e50 100644 --- a/src/renderer/router/routes.ts +++ b/src/renderer/router/routes.ts @@ -7,6 +7,7 @@ export enum AppRoute { LIBRARY_ALBUM_ARTISTS = '/library/album-artists', LIBRARY_ALBUM_ARTISTS_DETAIL = '/library/album-artists/:albumArtistId', LIBRARY_ALBUM_ARTISTS_DETAIL_DISCOGRAPHY = '/library/album-artists/:albumArtistId/discography', + LIBRARY_ALBUM_ARTISTS_DETAIL_SONGS = '/library/album-artists/:albumArtistId/songs', LIBRARY_ALBUM_ARTISTS_DETAIL_TOP_SONGS = '/library/album-artists/:albumArtistId/top-songs', LIBRARY_ARTISTS = '/library/artists', LIBRARY_ARTISTS_DETAIL = '/library/artists/:artistId',