Remove GitHub link from Header

This commit is contained in:
Alexander Burmatov 2024-05-27 15:23:49 +03:00 committed by Nadezhda Fedorova
parent 67361f0faa
commit 92356c198c
2 changed files with 1 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

View File

@ -8,7 +8,6 @@ import SearchSuggestion from './SearchSuggestion';
// styling
import makeStyles from '@mui/styles/makeStyles';
import logo from '!file-loader!../../assets/Alt_Linux_Team.svg';
import githubLogo from '../../assets/Git.png';
import { invert } from 'lodash';
const useStyles = makeStyles((theme) => ({
@ -166,13 +165,7 @@ function Header({ setSearchCurrentValue = () => {} }) {
<Grid item xs={6} md={4} className={classes.gridItem}>
{path !== '/' && <SearchSuggestion setSearchCurrentValue={setSearchCurrentValue} />}
</Grid>
<Grid item container xs={2} md={3} spacing="1.5rem" className={`${classes.gridItem}`}>
<Grid item className={classes.headerLinkContainer}>
<a className={classes.link} href="https://github.com/project-zot/zot" target="_blank" rel="noreferrer">
<img alt="github repository" src={githubLogo} className={classes.ghlogo} />
</a>
</Grid>
</Grid>
<Grid item container xs={2} md={3} spacing="1.5rem" className={`${classes.gridItem}`}></Grid>
</Grid>
</Toolbar>
</AppBar>