Skip to content
Snippets Groups Projects
Commit d8dc7bb4 authored by esikkala's avatar esikkala
Browse files

Logo: set color to keep Google Lighthouse happy

parent 1ef33545
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,9 @@ const useStyles = makeStyles(theme => ({ ...@@ -87,6 +87,9 @@ const useStyles = makeStyles(theme => ({
justifyContent: 'left' justifyContent: 'left'
}, },
mainLogoTypography: { mainLogoTypography: {
// set color and background explicitly to keep Google Lighthouse happy
color: '#fff',
background: theme.palette.primary.main,
whiteSpace: 'nowrap', whiteSpace: 'nowrap',
[theme.breakpoints.down('sm')]: { [theme.breakpoints.down('sm')]: {
fontSize: '1.25rem', fontSize: '1.25rem',
...@@ -298,7 +301,13 @@ const TopBar = props => { ...@@ -298,7 +301,13 @@ const TopBar = props => {
target='_blank' target='_blank'
rel='noopener noreferrer' rel='noopener noreferrer'
> >
<Button><img className={classes.secoLogoImage} src={secoLogo} /></Button> <Button aria-label='link to Semantic Computing research group homepage'>
<img
className={classes.secoLogoImage}
src={secoLogo}
alt='Semantic Computing research group logo'
/>
</Button>
</a> </a>
<div className={classes.sectionMobile}> <div className={classes.sectionMobile}>
{props.layoutConfig.topBar.showLanguageButton && {props.layoutConfig.topBar.showLanguageButton &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment