2019-10-22 23:38:21 +02:00
|
|
|
import React from 'react'
|
|
|
|
import { makeStyles } from '@material-ui/core/styles'
|
|
|
|
import { AppBar, Toolbar, Typography, IconButton } from '@material-ui/core'
|
|
|
|
import ProfileIcon from '@material-ui/icons/AccountCircle'
|
2019-10-27 12:10:03 +01:00
|
|
|
import Status from './Status'
|
2019-10-22 23:38:21 +02:00
|
|
|
|
|
|
|
const useStyles = makeStyles(theme => ({
|
|
|
|
title: {
|
|
|
|
flexGrow: 1
|
|
|
|
}
|
|
|
|
}))
|
|
|
|
|
|
|
|
export default function BoardsAppBar() {
|
|
|
|
const styles = useStyles()
|
|
|
|
return (
|
|
|
|
<AppBar position="static">
|
|
|
|
<Toolbar>
|
|
|
|
<Typography variant="h6" className={styles.title}>IPFS Boards</Typography>
|
|
|
|
<IconButton color="inherit"><ProfileIcon /></IconButton>
|
2019-10-27 12:10:03 +01:00
|
|
|
<Status />
|
2019-10-22 23:38:21 +02:00
|
|
|
</Toolbar>
|
|
|
|
</AppBar>
|
|
|
|
)
|
|
|
|
}
|