diff --git a/src/app/p/[secret]/layout.tsx b/src/app/p/[secret]/layout.tsx index 69229ac..e91e3cb 100644 --- a/src/app/p/[secret]/layout.tsx +++ b/src/app/p/[secret]/layout.tsx @@ -3,6 +3,7 @@ import { auth } from "@clerk/nextjs/server"; import Link from "next/link"; import { createTRPCCaller } from "@/trpc/server"; import { timingSafeStringEqual } from "@/lib/timing-safe-compare"; +import { AdminMobileNav } from "@/components/admin/AdminMobileNav"; import { LayoutDashboard, Users, @@ -71,10 +72,19 @@ export default async function AdminLayout({ children, params }: AdminLayoutProps : []), ]; + const navForMobile = nav.map(({ href, label, Icon }) => ({ + href, + label, + icon: , + })); + return ( -
- {/* Sidebar */} -