import { Home, Settings, Bug, Activity, FileMusic, LayoutGrid } from "lucide-react"; import { Tooltip, TooltipContent, TooltipTrigger, } from "@/components/ui/tooltip"; import { Button } from "@/components/ui/button"; import { openExternal } from "@/lib/utils"; export type PageType = "main" | "settings" | "debug" | "audio-analysis" | "audio-converter"; interface SidebarProps { currentPage: PageType; onPageChange: (page: PageType) => void; } export function Sidebar({ currentPage, onPageChange }: SidebarProps) { const navItems = [ { id: "main" as PageType, icon: Home, label: "Home" }, { id: "settings" as PageType, icon: Settings, label: "Settings" }, { id: "audio-analysis" as PageType, icon: Activity, label: "Audio Quality Analyzer" }, { id: "audio-converter" as PageType, icon: FileMusic, label: "Audio Converter" }, { id: "debug" as PageType, icon: Bug, label: "Debug Logs" }, ]; return (
{item.label}
Report Bug
Other Projects