feat: update routing parameters, add header component, and refactor project details; enhance breadcrumb labels and task timeline

This commit is contained in:
Kemas M. Aryadary Rasyad
2026-06-16 11:47:47 +07:00
parent b7489e3be7
commit 8b20c11822
12 changed files with 318 additions and 90 deletions
+4 -6
View File
@@ -6,19 +6,17 @@ const breadcrumbRoutes = [
// --- AREA INTERN ---
{ path: '/intern', breadcrumb: 'Home' },
{ path: '/intern/projects', breadcrumb: 'Projects' },
{ path: '/intern/projects/:id', breadcrumb: 'Detail Project' }, // Otomatis handle ID dinamis
{ path: '/intern/projects/:id', breadcrumb: 'Forum' },
{ path: '/intern/certificates', breadcrumb: 'Certificates' },
{ path: '/intern/tasks', breadcrumb: 'Tasks' },
{ path: '/intern/tasks/:id', breadcrumb: 'Detail Task' },
{ path: '/intern/tasks/:id/submit', breadcrumb: 'Submit Task' },
{ path: '/intern/projects/:id/submit', breadcrumb: 'Submit Task' },
{ path: '/intern/faq', breadcrumb: 'FAQ' },
{ path: '/intern/notifications', breadcrumb: 'Notifications' },
{ path: '/intern/settings', breadcrumb: 'Settings' },
// --- AREA MENTOR / ADMIN ---
{ path: '/mentor', breadcrumb: 'Home' },
{ path: '/mentor/projects', breadcrumb: 'Managed Projects' },
{ path: '/mentor/projects/:id', breadcrumb: 'Project Overview' },
{ path: '/mentor/projects', breadcrumb: 'List Projects' },
{ path: '/mentor/projects/:id', breadcrumb: 'Forum' },
{ path: '/mentor/certificates', breadcrumb: 'Approve Certificates' },
{ path: '/mentor/intern', breadcrumb: 'List Intern' },
{ path: '/mentor/faq', breadcrumb: 'FAQ' },