Skip to content

Commit

Permalink
load book-icon.png via JS
Browse files Browse the repository at this point in the history
  • Loading branch information
vivshaw committed Aug 21, 2017
1 parent 7c518cb commit e2c5ccd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
File renamed without changes
3 changes: 2 additions & 1 deletion src/components/Landing.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import RaisedButton from 'material-ui/RaisedButton';
import typography from 'material-ui/styles/typography';
import muiThemeable from 'material-ui/styles/muiThemeable';

import logo from '../book-icon.png';
import getWidth, { widths } from '../utils/getWidth';

const Hero = styled.div`
Expand Down Expand Up @@ -56,7 +57,7 @@ class Landing extends Component {
return (
<Hero muiTheme={muiTheme}>
<HeroTitle wide={wide}>
<BookLogo src="/book-icon.png" wide={wide} />
<BookLogo src={logo} wide={wide} />
<HeroH1 wide={wide} muiTheme={muiTheme}>
Flybrary
</HeroH1>
Expand Down

0 comments on commit e2c5ccd

Please sign in to comment.