import { Link, useLocation } from 'react-router-dom' import type { ReactNode } from 'react' const nav = [ { to: '/', label: 'Dashboard', icon: '⊞' }, { to: '/settings', label: 'Settings', icon: '🖥' }, { to: '/configs', label: 'Configs', icon: '⚙' }, { to: '/modlists', label: 'Modlists', icon: '📦' }, { to: '/mods', label: 'Mods', icon: '🗂' }, { to: '/logs', label: 'Logs', icon: '📋' }, { to: '/status', label: 'Status', icon: '📊' }, ] export default function Layout({ children }: { children: ReactNode }) { const loc = useLocation() return (
{children}
) }