mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
27 lines
469 B
TypeScript
27 lines
469 B
TypeScript
import Link from 'next/link'
|
|
|
|
const hrefs = [
|
|
'/parallel-routes',
|
|
'/blog/~/grid',
|
|
'/soft-navigation/a',
|
|
'/file-segments',
|
|
'/parallel-default',
|
|
'/parallel-default/subroute',
|
|
]
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<h1>Segment Explorer</h1>
|
|
<p>Examples</p>
|
|
<div>
|
|
{hrefs.map((href) => (
|
|
<div key={href}>
|
|
<Link href={href}>{href}</Link>
|
|
</div>
|
|
))}
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|