half-assed attempt to futz around with react-router
This commit is contained in:
parent
6e2dce2e7f
commit
9c346056ed
5 changed files with 142 additions and 48 deletions
|
|
@ -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>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue