<script>
    import Header from "./Header.svelte";
    import Navbar from "./Navbar.svelte";
    let { body, channel, user, schemas } = $props();
</script>

<Header {channel} {user}></Header>
<main>
    <aside class="sidebar-content">
        <Navbar {channel} {schemas}></Navbar>
    </aside>
    <div class="main-content">
        {@render body()}
    </div>
</main>
