Changed the mobile menu to the correct one

This commit is contained in:
Tiago Ribeiro
2023-11-21 00:29:58 +00:00
parent 52d4b831ae
commit 0e28473c31

View File

@@ -105,12 +105,12 @@ export default function MobileMenu({isOpen, onClose, path, user}: Props) {
</Link> </Link>
{user.type !== "student" && ( {user.type !== "student" && (
<Link <Link
href="/admin" href="/manage"
className={clsx( className={clsx(
"transition ease-in-out duration-300 w-fit", "transition ease-in-out duration-300 w-fit",
path === "/admin" && "text-mti-purple-light font-semibold border-b-2 border-b-mti-purple-light ", path === "/manage" && "text-mti-purple-light font-semibold border-b-2 border-b-mti-purple-light ",
)}> )}>
Admin Management
</Link> </Link>
)} )}
<Link <Link