a guest Mar 24th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // src/app/components/Nav.js
- // Next.js has a nice router we'll use
- import Link from 'next/link'
- // The links are based on the URLs that will serve those pages
- export default () =>
- <Link href='/'><a>Home</a></Link>
- <Link href='/about'><a>About</a></Link>
RAW Paste Data