Add page title and contribution notice

This commit is contained in:
Gabriel Augendre 2016-04-23 19:27:51 +02:00
parent ad8ee01c28
commit 3475e0543c
No known key found for this signature in database
GPG key ID: D2B6A5B41FC438B1
2 changed files with 9 additions and 3 deletions

View file

@ -5,11 +5,10 @@ var About = React.createClass({
render: function () {
return (
<div>
<h1>DAVIDS <small>DuplicAtes VIewer and Detector for Spotify</small></h1>
<h2>About</h2>
<p>
This application allows you to find duplicates in your Spotify playlists.
At the moment, it does not offer to remove them for you.
For the moment, it does not offer to remove them for you.
</p>
<p>
The app requests access to :
@ -24,6 +23,12 @@ var About = React.createClass({
information about it.
</li>
</ul>
<h2>Contribute</h2>
<p>
If you want to contribute to this project, feel free to
<a href="https://github.com/Crocmagnon/DAVIDS/issues">open an issue</a> or
<a href="https://github.com/Crocmagnon/DAVIDS/pulls">propose a pull-request</a>.
</p>
</div>
);
}

View file

@ -104,7 +104,7 @@ var App = React.createClass({
if (this.state.activeTab.finder) {
content = (
<div>
<h1>Login</h1>
<h2>Login</h2>
<p>Please <a href="/login">login with Spotify</a> first :)</p>
</div>
);
@ -128,6 +128,7 @@ var App = React.createClass({
<Authenticate activeTab={this.state.activeTab} showFinder={this.showFinder} showAbout={this.showAbout}
auth={auth} refreshAuth={this.refreshAuth}/>
<div className="container-fluid">
<h1>DAVIDS <small>DuplicAtes VIewer and Detector for Spotify</small></h1>
{content}
</div>
</div>