Files
Jiachi LiuandGitHub 33477b7e64 [segment-explorer] display the builtin conventions (#80961)
Track built-in conventions in segment explorer. The default `global-not-found.js` and `global-error.js` will be displayed.
Their style will be different to the others, we'll follow up in the later PRs.

Closes NEXT-4576
2025-06-27 16:41:07 +02:00

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>
)
}