This commit is contained in:
2025-09-12 22:39:35 -04:00
parent 1d0b310228
commit 3afc944a67
6 changed files with 55 additions and 33 deletions

View File

@@ -1,13 +1,13 @@
---
import Base from "../layouts/Base.astro";
import Root from "../components/AppLayout.jsx";
import "@styles/player.css";
import { requireAuthHook } from "@/hooks/requireAuthHook";
const user = await requireAuthHook(Astro);
---
<Base>
<section>
<div class="prose prose-neutral dark:prose-invert">
<Root child="Player" client:only="react">
<Root child="Player" user={user} client:only="react">
</Root>
</section>
</Base>