Title: Make application logo clickable to navigate to the home page
Description:
Currently, clicking the Headlamp logo in the top bar or sidebar does nothing. In most modern web applications, the logo acts as a convenient shortcut to return to the home screen or default dashboard.
We should wrap the AppLogo component in a react-router-dom <Link> that points to the home route (/). This needs to be done in:
frontend/src/components/App/TopBar.tsx
frontend/src/components/Sidebar/HeadlampButton.tsx (Ensuring that the logo is decoupled from the sidebar toggle button so they can be interacted with independently).
Expected Behavior:
Clicking the logo anywhere it appears in the app shell should instantly route the user back to the home page.
Title: Make application logo clickable to navigate to the home page
Description:
Currently, clicking the Headlamp logo in the top bar or sidebar does nothing. In most modern web applications, the logo acts as a convenient shortcut to return to the home screen or default dashboard.
We should wrap the
AppLogocomponent in areact-router-dom<Link>that points to the home route (/). This needs to be done in:frontend/src/components/App/TopBar.tsxfrontend/src/components/Sidebar/HeadlampButton.tsx(Ensuring that the logo is decoupled from the sidebar toggle button so they can be interacted with independently).Expected Behavior:
Clicking the logo anywhere it appears in the app shell should instantly route the user back to the home page.