|
8 | 8 | */ |
9 | 9 | import { useNavigate, useLocation } from 'react-router-dom'; |
10 | 10 | import { motion } from 'framer-motion'; |
11 | | -import { Timer, FileText, Layers, Lightbulb, Sparkles, Clapperboard, BarChart3, Orbit } from 'lucide-react'; |
| 11 | +import { Timer, FileText, Layers, Lightbulb, Sparkles, Clapperboard, BarChart3, Orbit, ListChecks } from 'lucide-react'; |
12 | 12 | import { cn } from '@/lib/utils'; |
13 | 13 | import { soundPlayer } from '@/lib/audio/SoundPlayer'; |
14 | 14 | import { useIsNewbiePhase } from '@/features/onboarding/firstDive/useFirstDiveStore'; |
15 | 15 | import { getModuleSubtitle } from '@/features/onboarding/firstDive/moduleSubtitles'; |
16 | 16 |
|
17 | 17 | const modules = [ |
18 | | - { id: 'dashboard', label: '首页', route: '/', icon: BarChart3, color: 'from-indigo-500/20 to-indigo-600/10', iconColor: 'text-indigo-400' }, |
| 18 | + { id: 'dashboard', label: '首页', route: '/', icon: BarChart3, color: 'from-brand-500/20 to-brand-600/10', iconColor: 'text-brand-400' }, |
19 | 19 | { id: 'pomodoro', label: '深潜', route: '/pomodoro', icon: Timer, color: 'from-orange-500/20 to-orange-600/10', iconColor: 'text-orange-400' }, |
20 | | - { id: 'notes', label: '结礁', route: '/notes', icon: FileText, color: 'from-blue-500/20 to-blue-600/10', iconColor: 'text-blue-400' }, |
| 20 | + { id: 'notes', label: '结礁', route: '/notes', icon: FileText, color: 'from-accent-500/20 to-accent-600/10', iconColor: 'text-accent-400' }, |
21 | 21 | { id: 'flashcards', label: '闪卡', route: '/flashcards', icon: Layers, color: 'from-emerald-500/20 to-emerald-600/10', iconColor: 'text-emerald-400' }, |
22 | | - { id: 'feynman', label: '费曼', route: '/feynman', icon: Lightbulb, color: 'from-violet-500/20 to-violet-600/10', iconColor: 'text-violet-400' }, |
| 22 | + { id: 'feynman', label: '费曼', route: '/feynman', icon: Lightbulb, color: 'from-amber/20 to-amber/10', iconColor: 'text-amber' }, |
23 | 23 | { id: 'inspiration', label: '萤火海沟', route: '/inspiration', icon: Sparkles, color: 'from-pink-500/20 to-pink-600/10', iconColor: 'text-pink-400' }, |
24 | 24 | { id: 'classroom', label: '回声定位', route: '/classroom', icon: Clapperboard, color: 'from-teal-500/20 to-teal-600/10', iconColor: 'text-teal-400' }, |
25 | 25 | { id: 'constellation', label: '星座大厅', route: '/constellation', icon: Orbit, color: 'from-amber-500/20 to-amber-600/10', iconColor: 'text-amber-400' }, |
| 26 | + { id: 'sop', label: '标准作业', route: '/sop', icon: ListChecks, color: 'from-lime-500/20 to-lime-600/10', iconColor: 'text-lime-400' }, |
26 | 27 | ]; |
27 | 28 |
|
28 | 29 | const containerVariants = { |
|
0 commit comments