import React from 'react'; import { Outlet, useNavigate, useLocation } from 'react-router-dom'; import { Home, BookOpen, Bot, Grid, User } from 'lucide-react'; const ChildrenLayout: React.FC = () => { const navigate = useNavigate(); const location = useLocation(); const navItems = [ { path: '/children/home', icon: , label: '首页' }, { path: '/children/news', icon: , label: '资讯' }, { path: '/children/ai-chat', icon: , label: 'AI助手' }, { path: '/children/services', icon: , label: '服务站' }, { path: '/children/profile', icon: , label: '我的' }, ]; return (
); }; export default ChildrenLayout;