Last active
April 13, 2020 17:49
-
-
Save timothyde/1e9b4c57363ee5e367064931a2f69c8b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import styled from 'styled-components' | |
import { Link } from 'gatsby' | |
import { localeLink } from '../../utils/localeLink' | |
import signature from '../../images/signature.svg' | |
const Logo = styled.img` | |
display: inline-block; | |
margin: 0; | |
margin-right: 1rem; | |
padding: 0; | |
width: 60px; | |
cursor: pointer; | |
` | |
export default ({ location }) => { | |
return ( | |
<Link to={localeLink(location, '/')}> | |
<Logo src={signature} /> | |
</Link> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment