mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-12-06 19:56:45 +10:30
46 lines
865 B
TypeScript
46 lines
865 B
TypeScript
import { icon } from "@/lib/icon";
|
|
import {
|
|
AppWindow,
|
|
BookOpen,
|
|
Calendar,
|
|
ChartLine,
|
|
ClipboardList,
|
|
FileChartColumn,
|
|
FolderOpen,
|
|
GraduationCap,
|
|
Hand,
|
|
House,
|
|
LayoutDashboard,
|
|
Megaphone,
|
|
MessageSquare,
|
|
MessagesSquare,
|
|
Newspaper,
|
|
Settings,
|
|
Target,
|
|
} from "lucide-static";
|
|
|
|
const PAGE_ICONS: Record<string, string> = {
|
|
analytics: ChartLine,
|
|
assessments: ClipboardList,
|
|
courses: BookOpen,
|
|
dashboard: LayoutDashboard,
|
|
documents: FolderOpen,
|
|
forums: MessagesSquare,
|
|
goals: Target,
|
|
home: House,
|
|
messages: MessageSquare,
|
|
myed: GraduationCap,
|
|
news: Newspaper,
|
|
notices: Megaphone,
|
|
portals: AppWindow,
|
|
reports: FileChartColumn,
|
|
settings: Settings,
|
|
timetable: Calendar,
|
|
welcome: Hand,
|
|
};
|
|
|
|
export function pageIcon(key: string): string | undefined {
|
|
const svg = PAGE_ICONS[key];
|
|
return svg && icon(svg);
|
|
}
|