"use client"; import Link from "next/link"; import type { ReactNode } from "react"; import { usePathname } from "next/navigation"; import { Button } from "@/components/ui/button"; type AdminShellProps = { children: ReactNode; userEmail: string; signOutAction: (formData: FormData) => Promise; }; const navigation = [ { label: "Dashboard", href: "/admin" }, { label: "Categories", href: "/admin/categories" }, { label: "Projects", href: "/admin/projects" }, { label: "Apps", href: "/admin/projects?type=APP" }, { label: "Melodies", href: "/admin/melodies" }, { label: "Analytics", href: "/admin/analytics" }, { label: "Media", active: false }, ]; export default function AdminShell({ children, userEmail, signOutAction }: AdminShellProps) { const pathname = usePathname(); return (
{children}
); }