Skip to content

Commit

Permalink
Add logo and favicon (open-telemetry#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliano Costa authored Aug 23, 2022
1 parent c75f224 commit 45a0ff4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/frontend/components/Header/Header.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ export const NavBarBrand = styled(Link)`
}
`;

export const BrandImg = styled.img.attrs({
src: '/images/opentelemetry-demo-logo.png',
})`
width: 280px;
height: auto;
`;

export const Controls = styled.div`
display: flex;
height: 60px;
Expand Down
4 changes: 3 additions & 1 deletion src/frontend/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ const Header = () => {
<S.Header>
<S.NavBar>
<S.Container>
<S.NavBarBrand href="/">LOGO</S.NavBarBrand>
<S.NavBarBrand href="/">
<a><S.BrandImg /></a>
</S.NavBarBrand>
<S.Controls>
<CurrencySwitcher />
<CartIcon />
Expand Down
Binary file modified src/frontend/public/favicon.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 45a0ff4

Please sign in to comment.