Skip to content
Snippets Groups Projects
Verified Commit 9807e84f authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Make logo link to front page

parent a4fae612
No related branches found
No related tags found
No related merge requests found
Pipeline #117879 failed
......@@ -6,6 +6,7 @@ import { useUserContext } from 'contexts'
import LanguageSelector from 'components/languageselector'
import UserInfo from 'routes/components/userInfo'
import { getHeaderLogo } from './logos'
import { Link as RouterLink } from 'react-router-dom'
const StyledHeader = styled('header')(({ theme }) => ({
color: theme.greg.textWhite,
......@@ -56,7 +57,11 @@ const Header = () => {
return (
<StyledHeader>
<MainContainer>
<LogoContainer>{getHeaderLogo()}</LogoContainer>
<LogoContainer>
<Link component={RouterLink} to="/">
{getHeaderLogo()}
</Link>
</LogoContainer>
<Menu>
<LanguageSelector noPadding />
{spaceAvailable && <UserInfo />}
......
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