rsnext/test/integration/custom-routes/pages/nav.js

14 lines
281 B
JavaScript
Raw Normal View History

2019-11-09 23:34:53 +01:00
import Link from 'next/link'
export default () => (
<>
<h3 id='nav'>Nav</h3>
<Link href='/hello' as='/first'>
<a id='to-hello'>to hello</a>
</Link>
<Link href='/hello-again' as='/second'>
<a id='to-hello-again'>to hello-again</a>
</Link>
</>
)