import { Map, User, Swords, Dice5, ScrollText, Volume2, Settings, ChevronDown, } from "lucide-react"; import { useState } from "react"; import { Dashboard } from "./components/Dashboard"; import { SettingsPanel } from "./components/SettingsPanel"; type View = "dashboard" | "settings"; const navItems = [ { icon: Map, label: "World" }, { icon: User, label: "NPCs" }, { icon: Swords, label: "Encounter" }, { icon: Dice5, label: "Dice" }, { icon: ScrollText, label: "Session" }, { icon: Volume2, label: "Sound" }, ]; export default function App() { const [view, setView] = useState("dashboard"); const [activeNav, setActiveNav] = useState(0); return (
{/* Left Rail */} {/* Main Content Area */}
{/* Title Bar */}
DM-Pal
My Campaign
{/* Main Content */}
{view === "dashboard" ? : }
); }