This commit is contained in:
sajjadtalkhabi
2026-05-15 17:12:51 +03:30
parent b8ced45375
commit c82701888a
101 changed files with 8125 additions and 96 deletions
@@ -0,0 +1,75 @@
const sampleLessons = (seed) => [
{
id: `${seed}-l1`,
title: 'درس مبانی اندیشه اسلامی',
learningHours: 18,
sessionsCount: 3,
quizzesCount: 3,
studentsCount: 34,
},
{
id: `${seed}-l2`,
title: 'درس اصول اخلاق اسلامی',
learningHours: 18,
sessionsCount: 3,
quizzesCount: 3,
studentsCount: 34,
},
]
export const studentTerms = [
{
id: 1,
title: 'دوره مبانی اندیشه اسلامی',
teacher: { firstName: 'علیرضا', lastName: 'حسنی', fullName: 'علیرضا حسنی' },
teacherName: 'علیرضا حسنی',
status: 'watching',
statusLabel: 'در حال گذراندن',
startDate: '2025-09-23T00:00:00.000Z',
endDate: '2026-01-20T00:00:00.000Z',
faStartDate: '۱۴۰۴/۰۵/۱۲',
faEndDate: '۱۴۰۴/۰۷/۱۲',
courses: sampleLessons(1),
},
{
id: 2,
title: 'دوره اصول اخلاق اسلامی',
teacher: { firstName: 'حسین', lastName: 'نیک محمدی', fullName: 'حسین نیک محمدی' },
teacherName: 'حسین نیک محمدی',
status: 'waitForExam',
statusLabel: 'در انتظار آزمون',
startDate: '2025-09-23T00:00:00.000Z',
endDate: '2026-01-20T00:00:00.000Z',
faStartDate: '۱۴۰۴/۰۵/۱۲',
faEndDate: '۱۴۰۴/۰۷/۱۲',
courses: sampleLessons(2),
},
{
id: 3,
title: 'دوره معارف قرآنی',
teacher: { firstName: 'مریم', lastName: 'احمدی', fullName: 'مریم احمدی' },
teacherName: 'مریم احمدی',
status: 'completed',
statusLabel: 'تکمیل شده',
startDate: '2025-01-20T00:00:00.000Z',
endDate: '2025-05-20T00:00:00.000Z',
faStartDate: '۱۴۰۳/۱۱/۰۱',
faEndDate: '۱۴۰۴/۰۳/۰۱',
gpa: 19.255,
courses: sampleLessons(3),
},
{
id: 4,
title: 'دوره تاریخ تشیع',
teacher: { firstName: 'فاطمه', lastName: 'رضایی', fullName: 'فاطمه رضایی' },
teacherName: 'فاطمه رضایی',
status: 'failed',
statusLabel: 'عدم قبولی',
startDate: '2024-09-22T00:00:00.000Z',
endDate: '2024-12-22T00:00:00.000Z',
faStartDate: '۱۴۰۳/۰۷/۰۱',
faEndDate: '۱۴۰۳/۱۰/۰۱',
gpa: 8.5,
courses: sampleLessons(4),
},
]