import { Outlet, NavLink } from 'react-router-dom';
import {
LayoutDashboard,
Send,
Download,
History,
Settings,
Lock,
Wifi,
WifiOff,
Server,
Pickaxe,
} from 'lucide-react';
import { useWalletStore } from '../store/wallet';
import { useNodeStore } from '../store/node';
import { useMiningStore, formatHashrate } from '../store/mining';
const navItems = [
{ to: '/dashboard', label: 'Dashboard', icon: LayoutDashboard },
{ to: '/send', label: 'Send', icon: Send },
{ to: '/receive', label: 'Receive', icon: Download },
{ to: '/history', label: 'History', icon: History },
];
const advancedNavItems = [
{ to: '/node', label: 'Node', icon: Server },
{ to: '/mining', label: 'Mining', icon: Pickaxe },
{ to: '/settings', label: 'Settings', icon: Settings },
];
export default function Layout() {
const { lockWallet, balance } = useWalletStore();
const nodeStatus = useNodeStore((state) => state.status);
const miningStatus = useMiningStore((state) => state.status);
const handleLock = async () => {
await lockWallet();
};
return (
{/* Sidebar */}
{/* Main content */}
);
}