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"; import logo from "figma:asset/e1cc93b8a3ca5c34482c2d8ace21b3610ba98443.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" && }
); }