change path for images

This commit is contained in:
jobevers 2017-02-08 15:15:45 -06:00
parent 4771682ee0
commit b8b43ec587
2 changed files with 2 additions and 2 deletions

View file

@ -98,7 +98,7 @@ export let Address = React.createClass({
});
export let Thumbnail = React.createClass({
_defaultImageUri: '/img/default-thumb.svg',
_defaultImageUri: lbry.imagePath('default-thumb.svg'),
_maxLoadTime: 10000,
_isMounted: false,

View file

@ -38,7 +38,7 @@ var Drawer = React.createClass({
<nav id="drawer">
<div id="drawer-handle">
<Link title="Close" onClick={this.props.onCloseDrawer} icon="icon-bars" className="close-drawer-link"/>
<a href="/"><img src="./img/lbry-dark-1600x528.png" style={drawerImageStyle}/></a>
<a href="/"><img src={lbry.imagePath("lbry-dark-1600x528.png")} style={drawerImageStyle}/></a>
</div>
<DrawerItem href='/?discover' viewingPage={this.props.viewingPage} label="Discover" icon="icon-search" />
<DrawerItem href='/?publish' viewingPage={this.props.viewingPage} label="Publish" icon="icon-upload" />