import React from 'react' import Head from 'next/head' import Link from 'next/link' import NProgress from 'nprogress' import Router from 'next/router' Router.onRouteChangeStart = (url) => { console.log(`Loading: ${url}`) NProgress.start() } Router.onRouteChangeComplete = () => NProgress.done() Router.onRouteChangeError = () => NProgress.done() const linkStyle = { margin: '0 10px 0 0' } export default () => (
)