import React from 'react'
import { Router, Routes, Link } from 'react-static'

// tslint:disable-next-line:no-implicit-dependencies

import './app.css'

const App = () => (
  <Router>
    <div>
      <nav>
        <Link exact to="/">
          Home
        </Link>
        <Link to="/about">About</Link>
        <Link to="/blog">Blog</Link>
      </nav>
      <div className="content">
        <Routes />
      </div>
    </div>
  </Router>
)

export default App
