diff --git a/src/components/Navigation.jsx b/src/components/Navigation.jsx index 8ef9dfc..4387009 100644 --- a/src/components/Navigation.jsx +++ b/src/components/Navigation.jsx @@ -17,13 +17,21 @@ export default function Navigation() { const location = useLocation(); if (location.pathname === '/') { return ( + + + + - + + + ); - } - - else if (location.pathname === '/path') { + } else if (location.pathname === '/path') { return ( ); - } - - else if (location.pathname === '/settings') { + } else if (location.pathname === '/settings' || location.pathname === '/sources') { return ( ); - } - else if (location.pathname === '/sources') { - return ( - - - - - - - - - - - - - - - - - - - - - ); - } - else if (location.pathname.startsWith('/lecture/')) { - return ( - - - - - - - - - - - - - - - - - - - - - - - - - - ); - } - else { + } else { return null }