Build compact live control view

This commit is contained in:
hnzio committed 2026-10-24 01:54:41 +02:00
1 parent 3389ba17f4
commit bd9ffe6faa
10 files changed
+1735 -787

No files matched your search

+2 -1
View File
@@ -2,5 +2,6 @@ import type { LayoutServerLoad } from './$types';
export const load: LayoutServerLoad = ({ locals, url }) => ({
user: url.pathname.startsWith('/heinzlive/') ? null : locals.user,
presentationMode: url.pathname.startsWith('/heinzlive/')
presentationMode: url.pathname.startsWith('/heinzlive/'),
liveControllerMode: url.pathname === '/live'
});
+2
View File
@@ -34,6 +34,8 @@
{#if data.presentationMode}
{@render children()}
{:else if data.user && data.liveControllerMode}
<main id="main-content" class="live-controller-shell">{@render children()}</main>
{:else if data.user}
<div class="app-shell">
<aside class="sidebar">
File diff suppressed because it is too large. Load diff