Removes test and todo pages from app navigation

Cleans up navigation by excluding test and todo-related pages and their associated files.
Simplifies the app structure to focus on the timestamp feature and prepares for future refactoring or feature updates.
This commit is contained in:
雨霖铃
2026-01-19 23:14:32 +08:00
parent c37d721aad
commit d8a9e2e1e7
4 changed files with 2 additions and 311 deletions
+2 -6
View File
@@ -1,18 +1,14 @@
import {HashRouter as Router, Routes, Route, NavLink} from 'react-router-dom';
import {useState, useEffect} from 'react';
import TimestampPage from './pages/TimestampPage';
import ElectronicWoodenFishPage from "./pages/ElectronicWoodenFishPage";
import TodoListPage from "./pages/TodoListPage";
// import ElectronicWoodenFishPage from "./pages/ElectronicWoodenFishPage";
import './App.css';
import TestPage from "./pages/TestPage";
// 导航项配置数组,便于后续添加
// 为了测试折叠功能,我们添加更多导航项
const navItems = [
{path: '/', label: '时间戳', element: <TimestampPage/>},
{path: '/dzmy', label: '电子木鱼', element: <ElectronicWoodenFishPage/>},
{path: '/todo', label: '待办', element: <TodoListPage/>},
{path: '/test', label: '测试', element: <TestPage/>}
// {path: '/dzmy', label: '电子木鱼', element: <ElectronicWoodenFishPage/>},
];
function App() {