Remove dxos logo and hide system version
This commit is contained in:
@@ -11,7 +11,7 @@ import Typography from '@material-ui/core/Typography';
|
||||
import blueGrey from '@material-ui/core/colors/blueGrey';
|
||||
import GraphQLIcon from '@material-ui/icons/Adb';
|
||||
|
||||
import DXOSIcon from '../icons/DXOS';
|
||||
// import LaconicIcon from '../icons/Laconic';
|
||||
import { graphqlApi } from '../client';
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
@@ -51,10 +51,14 @@ const AppBar = ({ config }) => {
|
||||
<MuiAppBar position='fixed' elevation={0}>
|
||||
<Toolbar>
|
||||
<Link classes={{ root: classes.logoLink }} href='/'>
|
||||
<div className={classes.logo}>
|
||||
<DXOSIcon />
|
||||
{/* <div className={classes.logo}>
|
||||
<LaconicIcon />
|
||||
</div> */}
|
||||
<div className={classes.title}>
|
||||
<Typography variant='h6'>Laconic</Typography>
|
||||
</div>
|
||||
</Link>
|
||||
|
||||
<div className={classes.title}>
|
||||
<Typography variant='h6'>{config.app.title}</Typography>
|
||||
</div>
|
||||
|
||||
@@ -58,7 +58,7 @@ const Main = ({ config }) => {
|
||||
<Route path='/system' component={System} /> */}
|
||||
</Layout>
|
||||
</Route>
|
||||
<Redirect to='/system' />
|
||||
<Redirect to='/registry' />
|
||||
</Switch>
|
||||
</HashRouter>
|
||||
</ThemeProvider>
|
||||
|
||||
@@ -20,7 +20,7 @@ import { ConsoleContext, useStatusReducer } from '../hooks';
|
||||
|
||||
import Error from '../components/Error';
|
||||
|
||||
import VersionCheck from './VersionCheck';
|
||||
// import VersionCheck from './VersionCheck';
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
@@ -110,7 +110,7 @@ const StatusBar = () => {
|
||||
|
||||
<div className={classes.center}>
|
||||
<div>{name} [{version} {moment(buildDate).format('L')}]</div>
|
||||
<VersionCheck />
|
||||
{/* <VersionCheck /> */}
|
||||
</div>
|
||||
|
||||
<div className={classes.right}>
|
||||
|
||||
Reference in New Issue
Block a user