remove reduntand global player

This commit is contained in:
2026-02-06 04:01:22 -08:00
parent b25110dfe3
commit 3418d19a57

View File

@@ -21,21 +21,15 @@
{@render children()}
</main>
<!-- Desktop sidebar column (in normal flow) -->
<aside class="hidden lg:block">
<ClientOnly showFallback={false}>
{#snippet children()}
<GlobalPlayer />
{/snippet}
</ClientOnly>
</aside>
<!-- Desktop sidebar column (in normal flow).
Reserve space in the grid, but render the player only once below. -->
<aside class="hidden lg:block"></aside>
</div>
<!-- Mobile player (client-only, overlays via fixed positioning inside GlobalPlayer) -->
<div class="lg:hidden">
<!-- Single GlobalPlayer instance (client-only).
It renders either the desktop sidebar UI or the mobile bar/drawer internally. -->
<ClientOnly showFallback={false}>
{#snippet children()}
<GlobalPlayer />
{/snippet}
</ClientOnly>
</div>