Home.js 528 B

12345678910111213141516171819
  1. import React from "react";
  2. import { Link } from "react-router";
  3. const transparentBg = require("../styles/").transparentBg;
  4. class Home extends React.Component {
  5. render() {
  6. return (
  7. <div className="jumbotron col-sm-12 text-center" style={transparentBg}>
  8. <h1>Github Battle</h1>
  9. <p className="lead">Some fancy motto</p>
  10. <Link to="/playerOne">
  11. <button type="button" className="btn btn-lg btn-success">Get started</button>
  12. </Link>
  13. </div>
  14. );
  15. }
  16. }
  17. export default Home;