Skip to content

Commit fc18a89

Browse files
committed
feat(pwa): M1 Task2 - BottomNav 增加课堂助手入口
1 parent af50f1e commit fc18a89

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎client/src/components/layout/BottomNav.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
* @ai-context: 布局组件:BottomNav。
33
*/
44
import { NavLink, useLocation } from 'react-router-dom';
5-
import { Home, Timer, FileText, Layers, Lightbulb, Sparkles, Orbit } from 'lucide-react';
5+
import { Home, Timer, FileText, Layers, Lightbulb, Sparkles, Orbit, GraduationCap } from 'lucide-react';
66
import { cn } from '@/lib/utils';
77
import { soundPlayer } from '@/lib/audio/SoundPlayer';
88

99
const tabs = [
1010
{ to: '/', label: '首页', icon: Home },
1111
{ to: '/pomodoro', label: '深潜', icon: Timer },
1212
{ to: '/notes', label: '结礁', icon: FileText },
13+
{ to: '/classroom', label: '课堂', icon: GraduationCap },
1314
{ to: '/flashcards', label: '闪卡', icon: Layers },
1415
{ to: '/feynman', label: '费曼', icon: Lightbulb },
1516
{ to: '/inspiration', label: '灵感', icon: Sparkles },

0 commit comments

Comments
 (0)