新增模块
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import { useNavigate, useSearchParams } from 'react-router-dom';
|
||||
import { BrainCircuit, Calculator, Network, Boxes, ReceiptText, CalendarClock, Sparkles, LogOut } from 'lucide-react';
|
||||
import { BrainCircuit, Calculator, Network, Boxes, ReceiptText, CalendarClock, Sparkles, LogOut, Radar, ShieldCheck, ClipboardCheck, Building2 } from 'lucide-react';
|
||||
import { useTheme } from '@/shared/context/ThemeContext';
|
||||
import StarBackground from '@/shared/components/StarBackground';
|
||||
import ThemeToggle from '@/shared/components/ThemeToggle';
|
||||
@@ -15,6 +15,10 @@ const ICON_MAP: Record<string, React.ComponentType<{ size?: number; color?: stri
|
||||
ReceiptText,
|
||||
CalendarClock,
|
||||
Sparkles,
|
||||
Radar,
|
||||
ShieldCheck,
|
||||
ClipboardCheck,
|
||||
Building2,
|
||||
};
|
||||
|
||||
export default function HomePage() {
|
||||
@@ -189,7 +193,7 @@ export default function HomePage() {
|
||||
return (
|
||||
<div
|
||||
key={mod.id}
|
||||
onClick={() => navigate(mod.path)}
|
||||
onClick={() => window.open(mod.path, '_blank')}
|
||||
style={{
|
||||
borderRadius: 20,
|
||||
overflow: 'hidden',
|
||||
|
||||
Reference in New Issue
Block a user