Skip to content

Commit

Permalink
quick links
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmorris committed Feb 25, 2017
1 parent bbd2da6 commit 5c712e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/About.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component } from 'react';
import { Link } from 'react-router';

import './About.css';

Expand All @@ -24,6 +25,7 @@ class About extends Component {
var sections = SECTIONS.map(this.renderSection);
return (
<div className="container">
<Link to="/">Home</Link>
<h1>About</h1>
{sections}
</div>);
Expand Down
5 changes: 5 additions & 0 deletions src/Songsim.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component } from 'react';
import {Link} from 'react-router';

import './Songsim.css';

Expand Down Expand Up @@ -287,6 +288,10 @@ class Songsim extends Component {

{debug}

<div className="footer">
<Link to="/about">About</Link>
</div>

</div>
);
}
Expand Down

0 comments on commit 5c712e0

Please sign in to comment.