Skip to content

Commit

Permalink
fix(Layout): Attempt to fix static assets
Browse files Browse the repository at this point in the history
  • Loading branch information
nfroidure committed May 15, 2018
1 parent 41b1d8a commit efad916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions components/Header.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import styled, { css } from 'styled-components'
import { Link, color, spacing } from '../ui'
import logoUrl from '../static/images/logo.png'

const Header = (props) => (
<Wrapper>
<Image src={logoUrl} />
<Image src="/static/images/logo.png" />
<StyledLink href="/">
<a className={props.home && 'active' || 'not'}>Home</a>
</StyledLink>
Expand Down
2 changes: 1 addition & 1 deletion components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Layout = (props) => (
props.title ||
'A page of the Sencrop Developer Platform.'
}/>
<link rel="icon" type="image/png" href="/images/favicon.png"/>
<link rel="icon" type="image/png" href="/static//images/favicon.png"/>
<meta name="robots" content="index,follow"/>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet" />
</Head>
Expand Down

0 comments on commit efad916

Please sign in to comment.