Moved the Logout button to be sticky
This commit is contained in:
@@ -57,6 +57,7 @@ export default function Sidebar({path}: Props) {
|
|||||||
onClick={logout}
|
onClick={logout}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
"p-4 px-8 rounded-full flex gap-4 items-center cursor-pointer text-black hover:text-mti-orange transition duration-300 ease-in-out",
|
"p-4 px-8 rounded-full flex gap-4 items-center cursor-pointer text-black hover:text-mti-orange transition duration-300 ease-in-out",
|
||||||
|
"absolute bottom-8",
|
||||||
)}>
|
)}>
|
||||||
<RiLogoutBoxFill size={20} />
|
<RiLogoutBoxFill size={20} />
|
||||||
<span className="text-lg font-medium">Log Out</span>
|
<span className="text-lg font-medium">Log Out</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user