export default function Page() {
return {
}
}
Page.getLayout = function getLayout(page) {
return (
<Layout>
<NestedLayout>{page}</NestedLayout>
</Layout>
)
}
Next page with layout
Defines the structure of a page with a custom nested layout, they should be replaced with existing layouts
Library: next
Shortcut: next.page.layout
Filename pattern: *pages/*.jsx
0 Comments
Add Comment
Log in to add a comment