aboutsummaryrefslogtreecommitdiff
path: root/examples/next/pages/second.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/next/pages/second.tsx')
-rw-r--r--examples/next/pages/second.tsx22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/next/pages/second.tsx b/examples/next/pages/second.tsx
new file mode 100644
index 000000000..0e7b5a5cf
--- /dev/null
+++ b/examples/next/pages/second.tsx
@@ -0,0 +1,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>
+ );
+}