import { useState } from "react"; import { Dashboard } from "./components/Dashboard"; import { Inventory } from "./components/Inventory"; import { ProtocolChecker } from "./components/ProtocolChecker"; import { LayoutDashboard, Package, FileCheck } from "lucide-react"; const logo = "/logo.png"; type Tab = "dashboard" | "inventory" | "protocol"; export default function App() { const [activeTab, setActiveTab] = useState("dashboard"); const navItems = [ { id: "dashboard" as Tab, label: "Dashboard", icon: LayoutDashboard }, { id: "inventory" as Tab, label: "Inventory", icon: Package }, { id: "protocol" as Tab, label: "Protocol Checker", icon: FileCheck }, ]; return (
{/* Sidebar */} {/* Main Content */}
{activeTab === "dashboard" && } {activeTab === "inventory" && } {activeTab === "protocol" && }
); }