import type { ReactNode } from "react"
import { Link, NavLink, Outlet, useLocation } from "react-router-dom"
import { BarChart3, Blocks, LayoutDashboard, RotateCcw, Sparkles } from "lucide-react"
import { cn } from "@/lib/utils"
import { useTheme } from "@/hooks/useTheme"
import { useAppStore } from "@/store/useAppStore"
function ShellNavItem(props: { to: string; icon: ReactNode; label: string }) {
return (
cn(
"group flex items-center gap-3 rounded-xl px-3 py-2 text-sm transition",
isActive
? "bg-[color:var(--panel)] shadow-[var(--glow)]"
: "text-[color:var(--muted)] hover:bg-[color:var(--panel2)] hover:text-[color:var(--text)]",
)
}
>
{props.icon}
{props.label}
)
}
export default function ConsoleLayout() {
const { toggleTheme, isDark } = useTheme()
const resetDemo = useAppStore((s) => s.resetDemo)
const location = useLocation()
const showDataLink = location.pathname.startsWith("/campaign/")
return (
)
}