mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
23 lines
515 B
JavaScript
23 lines
515 B
JavaScript
import Link from 'next/link'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<p>hello world</p>
|
|
<div>
|
|
<Link id="navigate-unauthorized" href="/navigate-unauthorized">
|
|
navigate to page calling unauthorized()
|
|
</Link>
|
|
</div>
|
|
<div>
|
|
<Link
|
|
id="metadata-layout-unauthorized"
|
|
href="/metadata-layout-unauthorized"
|
|
>
|
|
navigate to layout with metadata API calling unauthorized()
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|