diff --git a/views/app.jsx b/views/app.jsx index eaf34b9..68f911d 100644 --- a/views/app.jsx +++ b/views/app.jsx @@ -20,7 +20,7 @@ var App = React.createClass({ return ( - + diff --git a/views/head.jsx b/views/head.jsx index 6375a5f..2095189 100644 --- a/views/head.jsx +++ b/views/head.jsx @@ -5,6 +5,8 @@ var React = require('react'); module.exports = React.createClass({ render: function() { + var image = this.props.shares ? this.props.shares[0].artwork.large : "https://match.audio/images/logo-512.png"; + var title = this.props.shares ? this.props.shares[0].artist.name + " by " + this.props.shares[0].name : "Match Audio"; return ( @@ -15,9 +17,9 @@ module.exports = React.createClass({ - + - +