/** * App — Main Router and Sidebar layout */ import { BrowserRouter as Router, Routes, Route, Link, useLocation } from 'react-router-dom'; import Dashboard from './pages/Dashboard'; import Playground from './pages/Playground'; import MemoryExplorer from './pages/MemoryExplorer'; import SessionView from './pages/SessionView'; function Sidebar() { const location = useLocation(); const links = [ { path: '/', label: 'Playground', icon: '[ P ]' }, { path: '/dashboard', label: 'Dashboard', icon: '[ D ]' }, { path: '/explorer', label: 'Explorer', icon: '[ E ]' }, { path: '/sessions', label: 'Sessions', icon: '[ S ]' }, ]; return (
MEMORYOS // ADMIN
[ DOCS ] API Reference
); } export default function App() { return (
} /> } /> } /> } />
); }