feat: enhance project intern management with improved loading states and refetch functionality

This commit is contained in:
Kemas M. Aryadary Rasyad
2026-07-27 14:37:54 +07:00
parent f76ab5a3e5
commit 1ee784e70d
7 changed files with 40 additions and 104 deletions
@@ -1,13 +1,12 @@
import { useNavigate, useLocation } from 'react-router-dom';
import { Home, FolderKanban, UsersRound, Medal, Settings, HelpCircle, LogOut, X } from 'lucide-react';
import { Home, FolderKanban, UsersRound, FileBadge , Settings, HelpCircle, LogOut, X } from 'lucide-react';
import { FaUserTie } from "react-icons/fa";
const navItems = [
// belum kutambahin
{ label: "Home", icon: Home, path: "/mentor" },
{ label: "List Projects", icon: FolderKanban, path: "/mentor/projects" },
{ label: "Interns", icon: UsersRound, path: "/mentor/intern" },
{ label: "Certificates", icon: Medal, path: "/mentor/certificates" },
{ label: "Certificates", icon: FileBadge, path: "/mentor/certificates" },
];
const prefItems = [