diff --git a/src/components/sidebar/Sidebar.js b/src/components/sidebar/Sidebar.js index 4135a11..290256d 100644 --- a/src/components/sidebar/Sidebar.js +++ b/src/components/sidebar/Sidebar.js @@ -139,13 +139,15 @@ const Sidebar = ({ course = false }) => {
-
-
router.push('/profile?tab=settings')} className={`w-full flex flex-row items-center cursor-pointer py-2 my-2 hover:bg-gray-700 rounded-lg ${isActive('/profile?tab=settings') ? 'bg-gray-700' : ''}`}> -

Settings

-
-
session ? signOut() : router.push('/auth/signin')} className={`w-full flex flex-row items-center cursor-pointer py-2 my-2 hover:bg-gray-700 rounded-lg ${isActive('/auth/signin') ? 'bg-gray-700' : ''}`}> -

{session ? 'Logout' : 'Login'}

-
+
router.push('/profile?tab=settings')} className={`w-full flex flex-row items-center cursor-pointer py-2 my-2 hover:bg-gray-700 rounded-lg ${isActive('/profile?tab=settings') ? 'bg-gray-700' : ''}`}> +

Settings

+
+
session ? signOut() : router.push('/auth/signin')} className={`w-full flex flex-row items-center cursor-pointer py-2 my-2 hover:bg-gray-700 rounded-lg ${isActive('/auth/signin') ? 'bg-gray-700' : ''}`}> +

{session ? 'Logout' : 'Login'}

+
+ {/* todo: have to add this extra button to push the sidebar to the right space but it doesnt seem to cause any negative side effects? */} +
+

Logout