aboutsummaryrefslogtreecommitdiff
path: root/examples/hello-next/pages/foo/bar/third.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello-next/pages/foo/bar/third.tsx')
-rw-r--r--examples/hello-next/pages/foo/bar/third.tsx26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/hello-next/pages/foo/bar/third.tsx b/examples/hello-next/pages/foo/bar/third.tsx
new file mode 100644
index 000000000..e1df24bc1
--- /dev/null
+++ b/examples/hello-next/pages/foo/bar/third.tsx
@@ -0,0 +1,26 @@
+import Link from "next/link";
+
+export default function Baz({}) {
+ return (
+ <div style={{ padding: 16 }}>
+ <h1>Third</h1>
+ <ul>
+ <li>
+ <Link href="/">
+ <a>Root page</a>
+ </Link>
+ </li>
+ <li>
+ <Link href="/second">
+ <a>Second page</a>
+ </Link>
+ </li>
+ <li>
+ <Link href="/posts/123">
+ <a>Post page 123</a>
+ </Link>
+ </li>
+ </ul>
+ </div>
+ );
+}