Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
fix(footer): invalid href passed to router (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Apr 6, 2020
1 parent 4c83e3b commit be984f1
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions components/footer/Footer.jsx
Expand Up @@ -43,23 +43,28 @@ const Footer = () => {
</NextLink>
</Text>
<Text textAlign={["left", "center"]} width={[1, 1 / 6]}>
<NextLink href="mailto:contact@workinfrance.beta.gouv.fr" passHref>
<a href="mailto:contact@workinfrance.beta.gouv.fr">
<StyledLink>Contactez-nous</StyledLink>
</NextLink>
</a>
</Text>
</Flex>
</Box>
<Box px={5} width={1}>
<Flex flexDirection="row-reverse" flexWrap="wrap" justifyContent="space-around">
<NextLink href={`${GITHUB_REPO}/tree/${publicRuntimeConfig.VERSION}`} passHref>
<a
href={`${GITHUB_REPO}/tree/${publicRuntimeConfig.VERSION}`}
target="_blank"
rel="noopener noreferrer"
>
<StyledLink>Contribuer sur Github</StyledLink>
</NextLink>
<NextLink
</a>
<a
href={`${GITHUB_REPO}/compare/${publicRuntimeConfig.VERSION}...master`}
passHref
target="_blank"
rel="noopener noreferrer"
>
<StyledLink>Journal des modifications</StyledLink>
</NextLink>
</a>
<Text>{`Version ${publicRuntimeConfig.VERSION}`}</Text>
</Flex>
</Box>
Expand Down

0 comments on commit be984f1

Please sign in to comment.