diff options
author | 2021-10-13 00:28:20 -0700 | |
---|---|---|
committer | 2021-10-13 00:28:20 -0700 | |
commit | 9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c (patch) | |
tree | b421e988ac6c23bc5bff88a95dbf15722b35e01d /examples/next/pages/second.tsx | |
parent | 88a5e2d34d25c3ac3d13a432bbd85daa075c4bcb (diff) | |
download | bun-9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c.tar.gz bun-9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c.tar.zst bun-9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c.zip |
Clean up examples a little
Diffstat (limited to 'examples/next/pages/second.tsx')
-rw-r--r-- | examples/next/pages/second.tsx | 22 |
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> + ); +} |