erp-platform/ui/src/mocks/mockCoordinator.ts
2025-10-15 22:52:01 +03:00

79 lines
2.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const adminNavigationItems = [
{
id: "dashboard",
title: "Dashboard",
icon: "LayoutDashboard",
path: "/admin/dashboard",
description: "Genel bakış ve istatistikler",
},
{
id: "tags",
title: "Etiket Yönetimi",
icon: "Tags",
path: "/admin/tags",
description: "Soru ve içerik etiketleri",
},
{
id: "question-pools",
title: "Soru Havuzları",
icon: "Database",
path: "/admin/question-pools",
description: "Soru havuzları ve kategoriler",
},
{
id: "exams",
title: "Sınav Yönetimi",
icon: "FileText",
path: "/admin/exams",
description: "Sınavları yönetin",
},
{
id: "assignments",
title: "Ödev Yönetimi",
icon: "BookOpen",
path: "/admin/assignments",
description: "Ödevleri yönetin",
},
{
id: "tests",
title: "Test Yönetimi",
icon: "ClipboardList",
path: "/admin/tests",
description: "PDF testler ve cevap anahtarları",
},
];
export const questionTypes = [
{ value: "multiple-choice", label: "Çoktan Seçmeli", icon: "CheckCircle" },
{ value: "fill-blank", label: "Boşluk Doldurma", icon: "Edit3" },
{ value: "multiple-answer", label: "Çok Yanıtlı", icon: "CheckSquare" },
{ value: "matching", label: "Eşleştirme", icon: "Link" },
{ value: "ordering", label: "Sıralama", icon: "ArrowUpDown" },
{ value: "open-ended", label: "Açık Uçlu", icon: "MessageSquare" },
{ value: "true-false", label: "Doğru-Yanlış", icon: "ToggleLeft" },
{ value: "calculation", label: "Hesaplama", icon: "Calculator" },
];
export const difficultyLevels = [
{ value: "easy", label: "Kolay", color: "green" },
{ value: "medium", label: "Orta", color: "yellow" },
{ value: "hard", label: "Zor", color: "red" },
];
export const examTypes = [
{ value: "exam", label: "Sınav", icon: "FileText" },
{ value: "assignment", label: "Ödev", icon: "BookOpen" },
{ value: "test", label: "Test", icon: "ClipboardList" },
];
export const getBreadcrumb = (currentPath: string): string[] => {
const pathMap: Record<string, string[]> = {
"/admin/dashboard": ["Admin", "Dashboard"],
"/admin/tags": ["Admin", "Etiket Yönetimi"],
"/admin/question-pools": ["Admin", "Soru Havuzları"],
"/admin/exams": ["Admin", "Sınav Yönetimi"],
"/admin/assignments": ["Admin", "Ödev Yönetimi"],
"/admin/tests": ["Admin", "Test Yönetimi"],
};
return pathMap[currentPath] || ["Admin"];
};