import { NavLink, Route, Routes } from "react-router-dom"; import { LayoutDashboard, FilePlus2, Settings as SettingsIcon, Landmark } from "lucide-react"; import Dashboard from "./pages/Dashboard"; import NewClosing from "./pages/NewClosing"; import Closing from "./pages/Closing"; import Settings from "./pages/Settings"; function SideLink({ to, icon: Icon, children, end }: { to: string; icon: typeof LayoutDashboard; children: string; end?: boolean; }) { return ( `flex items-center gap-3 px-3 py-2.5 rounded-xl text-sm font-medium transition-colors ${ isActive ? "bg-primary-soft text-primary" : "text-subink hover:bg-neutralbg hover:text-ink" }` } > {children} ); } export default function App() { return (
} /> } /> } /> } />
); }