Skip to content

Instantly share code, notes, and snippets.

@timothyde
Created April 13, 2020 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timothyde/b8bdbad8c0fc1754694f11ed6d6ebeaa to your computer and use it in GitHub Desktop.
Save timothyde/b8bdbad8c0fc1754694f11ed6d6ebeaa to your computer and use it in GitHub Desktop.
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 () => {
return (
<Link to={localeLink('/')}>
<Logo src={signature} />
</Link>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment