import { NavLink, useLocation } from 'react-router-dom' import { TreePine, FolderTree, Download } from 'lucide-react' /** * Admin-Seiten-Navigation (horizontal) * Wechselt zwischen verschiedenen Admin-Seiten */ export default function AdminPageNav() { const location = useLocation() const pages = [ { to: '/admin/hierarchy', label: 'Hierarchie', icon: TreePine }, { to: '/admin/catalogs', label: 'Kataloge', icon: FolderTree }, { to: '/admin/mediawiki-import', label: 'Wiki-Import', icon: Download } ] return ( ) }