Fix sharing url on first page view
This commit is contained in:
parent
be8236a428
commit
2e0b6a151e
4 changed files with 9 additions and 7 deletions
|
@ -16,13 +16,13 @@ module.exports = React.createClass({
|
|||
<meta charSet="utf-8" />
|
||||
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
|
||||
<title>{this.props.shares ? "Listen to " + this.props.shares[0].name + " by " + this.props.shares[0].artist.name + " on Match Audio": "Match Audio"}</title>
|
||||
<meta name="description" content="" />
|
||||
<meta name="description" content="Match Audio matches album and track links from Youtube, Rdio, Spotify, Deezer, Google Music, Xbox Music, Beats Music, and iTunes and give you back one link with matches we find on all of them." />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#FE4365" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:site" content="@MatchAudio" />
|
||||
<meta name="twitter:title" property="og:title" content={title} />
|
||||
<meta name="twitter:description" property="og:description" content="We've matched this music on Rdio, Spotify, Deezer, Beats Music, Google Music and iTunes so you can open it in your favourite service." />
|
||||
<meta name="twitter:description" property="og:description" content="Match Audio matches album and track links from Youtube, Rdio, Spotify, Deezer, Google Music, Xbox Music, Beats Music, and iTunes and give you back one link with matches we find on all of them." />
|
||||
<meta name="twitter:image:src" property="og:image" content={image} />
|
||||
<meta property="og:url" content={shareUrl} />
|
||||
<link rel="shortcut icon" href="/images/favicon.png" />
|
||||
|
|
|
@ -141,8 +141,9 @@ module.exports = React.createClass({
|
|||
</div>
|
||||
<div className="row blurb">
|
||||
<div className="col-md-6 col-md-offset-3">
|
||||
<p>Make sharing from music services better.
|
||||
We match album and track links from Rdio, Spotify, Deezer, Beats Music, Google Music and iTunes and give you back a link with all of them.
|
||||
<p>Match Audio makes sharing from music services better.
|
||||
What happens when you share your favourite song on Spotify with a friend, but they don't use Spotify?
|
||||
</p><p>We match album and track links from Youtube, Rdio, Spotify, Deezer, Google Music, Xbox Music, Beats Music, and iTunes and give you back one link with matches we find on all of them.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -116,7 +116,8 @@ module.exports = React.createClass({
|
|||
this.setState({
|
||||
name: shares[0].name,
|
||||
artist: shares[0].artist.name,
|
||||
shares: shares
|
||||
shares: shares,
|
||||
shareUrl: "https://match.audio/" + this.props.shares[0].service + "/" + this.props.shares[0].type + "/" + this.props.shares[0].id
|
||||
});
|
||||
}.bind(this));
|
||||
}.bind(this)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue