feat: enhance routing and UI components for intern and mentor sections

This commit is contained in:
Kemas M. Aryadary Rasyad
2026-07-16 12:05:50 +07:00
parent 5689898f33
commit 99082efbdb
8 changed files with 90 additions and 57 deletions
@@ -93,7 +93,7 @@ export default function SidebarIntern({ isOpen, closeSidebar }: SidebarProps) {
PREFERENCES
</p>
<nav className="flex flex-col gap-0.5">
{prefItems.map(({ label, icon: Icon, path, danger, isLogout }) => {
{prefItems.map(({ label, icon: Icon, path, isLogout }) => {
const isActive = location.pathname === path;
return (
<button