diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index 0985265..3a24895 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx @@ -14,9 +14,9 @@ import { const navItems = [ { path: '/', label: '首页', icon: Home }, + { path: '/process-matrix', label: '49过程矩阵', icon: LayoutGrid }, { path: '/knowledge-areas', label: '知识领域', icon: BookOpen }, { path: '/process-groups', label: '过程组', icon: Layers }, - { path: '/process-matrix', label: '49过程矩阵', icon: LayoutGrid }, { path: '/process-graph', label: '过程关系图', icon: Share2 }, { path: '/settings', label: '设置', icon: Settings }, ] diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 485d32e..eb92f5d 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,9 +1,17 @@ import { Link } from 'react-router-dom' import { motion } from 'framer-motion' -import { BookOpen, Layers, GitBranch, ArrowRight } from 'lucide-react' +import { BookOpen, Layers, LayoutGrid, ArrowRight } from 'lucide-react' import { stats } from '@/data' const features = [ + { + icon: LayoutGrid, + title: '49过程矩阵', + description: '全景展示5大过程组与10大知识领域的49个过程', + link: '/process-matrix', + color: 'from-emerald-500 to-teal-500', + count: stats.processCount, + }, { icon: BookOpen, title: '知识领域', @@ -20,14 +28,6 @@ const features = [ color: 'from-blue-500 to-cyan-500', count: stats.processGroupCount, }, - { - icon: GitBranch, - title: '可视化', - description: 'ITTO流程图和数据流向可视化分析', - link: '/visualize', - color: 'from-emerald-500 to-teal-500', - count: stats.processCount, - }, ] const containerVariants = { @@ -75,10 +75,10 @@ export function HomePage() { - 查看可视化 + 查看过程矩阵 diff --git a/src/pages/ProcessMatrixPage.tsx b/src/pages/ProcessMatrixPage.tsx index c94c3ce..62da3a2 100644 --- a/src/pages/ProcessMatrixPage.tsx +++ b/src/pages/ProcessMatrixPage.tsx @@ -31,7 +31,7 @@ export function ProcessMatrixPage() { }, [isFullScreen, setMatrixFullScreen]) return ( -
+
{/* 隐藏滚动条的样式 */} {isFullScreen && (