Skip to content

Commit

Permalink
added thanos logo in react app
Browse files Browse the repository at this point in the history
Signed-off-by: hackeramitkumar <amit9116260192@gmail.com>
  • Loading branch information
hackeramitkumar committed Apr 6, 2023
1 parent 96fd6db commit f70ad27
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 40 deletions.
80 changes: 40 additions & 40 deletions pkg/ui/bindata.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions pkg/ui/react-app/src/thanos/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
} from 'reactstrap';
import PathPrefixProps from '../types/PathPrefixProps';
import { ThemeToggle } from '../Theme';
import logo from './images/icon-dark.png';

interface NavConfig {
name: string;
Expand Down Expand Up @@ -96,6 +97,7 @@ const Navigation: FC<PathPrefixProps & NavigationProps> = ({ pathPrefix, thanosC
<Navbar className="mb-3" dark color="dark" expand="md" fixed="top">
<NavbarToggler onClick={toggle} className="mr-2" />
<Link className="navbar-brand" to={`${pathPrefix}${defaultRoute}`}>
<img src={logo} alt="thanos" style={{ width: '2rem', marginRight: '0.5rem' }} />
Thanos - {thanosComponent[0].toUpperCase()}
{thanosComponent.substr(1, thanosComponent.length)}
</Link>
Expand Down
Binary file added pkg/ui/react-app/src/thanos/images/icon-dark.png
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 f70ad27

Please sign in to comment.