diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 46d806f..47c8893 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -10,6 +10,8 @@ import {Button} from "$lib/components/ui/button"; import {PlaybackMode, PlaybackStateSvelte} from "$lib/player.svelte.js"; import PlayerSidebar from "$lib/components/custom/PlayerSidebar.svelte"; + import AlbumView from "$lib/components/custom/Views/AlbumView.svelte"; + import {AlbumViews, Views} from "$lib/components/custom/Views/views.svelte"; function toFixedNumber(num, digits, base){ const pow = Math.pow(base ?? 10, digits); @@ -202,13 +204,29 @@ -
- -
-

Center

+{#snippet centerModule()} +
+ {#if viewMode === Views.Albums} + + {:else if viewMode === Views.Artists} +

Get Fucked

+ {/if}
+{/snippet} + +{#snippet leftModule()} +{/snippet} + +{#snippet rightModule()} +{/snippet} + +
+ {@render leftModule()} + {@render centerModule()} + {@render rightModule()} +