Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ShotaKitazawa committed Jan 14, 2024
1 parent 1ee76fd commit 97e069b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions client/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,24 @@ import { Toolbar, AppBar, Typography, IconButton } from '@mui/material'

import { Login } from '../Login'

const repositoryLink = 'https://github.com/ShotaKitazawa/kube-portal'

export const Header: React.FC = ({ children }) => {
return (
<div className="flex">
<AppBar position="static">
<Toolbar>
<div className="mr-2">
<IconButton edge="start" color="inherit">
<Link href="/">
<a href={repositoryLink}>
<IconButton edge="start" color="inherit">
<span className="iconify" data-icon="mdi-kubernetes" />
</Link>
</IconButton>
</IconButton>
</a>
</div>
<div className="flex-grow">
<Typography variant="h6">kube-portal</Typography>
<a href={repositoryLink}>
<Typography variant="h6">kube-portal</Typography>
</a>
</div>
<div className="ml-auto">
<Login />
Expand Down

0 comments on commit 97e069b

Please sign in to comment.