aboutsummaryrefslogtreecommitdiff
path: root/examples/hello-next/pages/second.tsx
blob: 0e7b5a5cf84059de9e46a282fb6b125000f2f971 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import Link from "next/link";

export default function Second({}) {
  return (
    <div style={{ padding: 16 }}>
      <h1>Second</h1>

      <ul>
        <li>
          <Link href="/">
            <a>Root page</a>
          </Link>
        </li>
        <li>
          <Link href="/foo/bar/third">
            <a>Third! page</a>
          </Link>
        </li>
      </ul>
    </div>
  );
}