half-assed attempt to futz around with react-router

This commit is contained in:
Nick Pegg 2017-10-01 20:38:04 -07:00
parent 6e2dce2e7f
commit 9c346056ed
5 changed files with 142 additions and 48 deletions

View file

@ -1,13 +1,14 @@
import React, { Component } from 'react';
import { Link } from 'react-router-dom';
class Header extends Component {
render() {
return (
<div className="page-header">
<div className="container">
<a href="/">
<Link to="/">
<h1>nickpegg.com</h1>
</a>
</Link>
</div>
</div>
);