diff --git a/src/app/page.tsx b/src/app/page.tsx index 91763e1..2055f8a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -8,9 +8,10 @@ import { Database, FileCode, Zap, - ArrowRight + ArrowRight, + BookOpen } from 'lucide-react'; -import {Button } from "@/components/ui/button"; +import { Button } from "@/components/ui/button"; import { Card, CardHeader, @@ -51,6 +52,14 @@ const features = [ }, ]; +// 学习页面入口 +const studyEntry = { + icon: BookOpen, + title: '学习中心', + description: '查看课程进度,继续学习建造工程师课程', + href: '/study' +}; + const containerVariants = { hidden : { opacity: 0 }, visible: { @@ -95,6 +104,30 @@ export default function Home() { + {/* 学习入口 */} + + router.push(studyEntry.href)} + > + + + + + + {studyEntry.title} + {studyEntry.description} + + + + + + {/* Features */}