Skip to content

Commit

Permalink
Link qdb logo to Console panel
Browse files Browse the repository at this point in the history
  • Loading branch information
insmac committed Sep 15, 2023
1 parent 9a1d78c commit 993989d
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions packages/web-console/src/scenes/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,9 @@ const Logo = styled.div`
flex: 0 0 4rem;
background: ${color("black")};
z-index: 1;
a {
display: flex;
flex: 1;
align-items: center;
justify-content: center;
}
align-items: center;
justify-content: center;
cursor: pointer;
`

type NavigationProps = Readonly<{
Expand Down Expand Up @@ -100,10 +96,8 @@ const Sidebar = () => {

return (
<Wrapper>
<Logo>
<a href="https://questdb.io" rel="noreferrer" target="_blank">
<img alt="QuestDB Logo" height="26" src="/assets/favicon.svg" />
</a>
<Logo onClick={() => dispatch(actions.console.setActivePanel("console"))}>
<img alt="QuestDB Logo" height="26" src="/assets/favicon.svg" />
</Logo>

<PopperHover
Expand Down

0 comments on commit 993989d

Please sign in to comment.