Skip to content

Commit

Permalink
Version now is displayed in tooltip, not as part of logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sofia Sazonova committed Jan 22, 2024
1 parent 6c2fa69 commit 8bc075f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions frontend/src/design/components/Logo.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, CardMedia, Grid, Typography } from '@mui/material';
import { Box, CardMedia, Grid, Tooltip, Typography } from '@mui/material';
import version from '../../generated/version.json';

export const Logo = () => (
Expand All @@ -17,9 +17,11 @@ export const Logo = () => (
</Box>
</Grid>
<Grid item>
<Typography variant="h5" color="#fff">
&nbsp;data.all {version.version}
</Typography>
<Tooltip title={'version ' + version.version} placement="top-start">
<Typography variant="h5" color="#fff">
&nbsp;data.all
</Typography>
</Tooltip>
</Grid>
</Grid>
</>
Expand Down

0 comments on commit 8bc075f

Please sign in to comment.