feat: enhance routing and UI components for intern and mentor sections
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -42,7 +42,7 @@ export default function SubmitStatusTable({
|
||||
: "Assignment was submitted early";
|
||||
|
||||
const rows = [
|
||||
{ label: "Submission status", value: "Submitted for grading" },
|
||||
{ label: "Submission status", value: "Submitted" },
|
||||
{ label: "Time Remaining", value: timeLabel },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user