add grid system and style examples.jsx

This commit is contained in:
2017-01-17 01:24:37 -08:00
parent 02a7df11f9
commit 8595209afc
3 changed files with 23 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
var React = require('react');
var {Link} = require('react-router');
// var Examples = React.createClass({
// render: function () {
// return (
@@ -8,9 +8,20 @@ var React = require('react');
// }
// });
var Examples = () => {
var Examples = (props) => {
return (
<h3>Examples</h3>
);
<div>
<h1 className="text-center">Examples</h1>
<p>Here are a few example locations to try out:</p>
<ol>
<li>
<Link to='/?location=newyork'>New York, NY</Link>
</li>
<li>
<Link to='/?location=Rio'>Rio, Brazil</Link>
</li>
</ol>
</div>
)
};
module.exports = Examples;