---
import Base from "../layouts/Base.astro";
import Root from "../components/AppLayout.jsx";

// User populated by middleware when logged in
const user = Astro.locals.user as any;
---
<Base>
  <section class="page-section">
    <Root child="Player" user={user} client:only="react" />
  </section>
</Base>
