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 () { render: function () {
return ( return (
<div> <div>
<h1>DAVIDS <small>DuplicAtes VIewer and Detector for Spotify</small></h1>
<h2>About</h2> <h2>About</h2>
<p> <p>
This application allows you to find duplicates in your Spotify playlists. 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>
<p> <p>
The app requests access to : The app requests access to :
@ -24,6 +23,12 @@ var About = React.createClass({
information about it. information about it.
</li> </li>
</ul> </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> </div>
); );
} }

View file

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