Skip to content

frontend: Make application lable clickable #5926

@CygnusMaximillian

Description

@CygnusMaximillian

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:

  1. frontend/src/components/App/TopBar.tsx
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions