---
import Base from "@/layouts/Base.astro";
import Root from "@/components/AppLayout.jsx";
import { requireAuthHook } from "@/hooks/requireAuthHook";


const user = await requireAuthHook(Astro);

if (!user) {
  return Astro.redirect('/login');
}

---
<Base>
  <section>
  <div class="prose prose-neutral dark:prose-invert">
  <Root child="qs2.MediaRequestForm" client:only="react">
  </Root>
  </section>
</Base>
