feat: unify layout slot architecture - make header/footer configurable positions, footer as array, add defaultPosition fallback, add tests, update docs
This commit is contained in:
@@ -25,7 +25,7 @@ interface RenderComponents {
|
||||
afterBody: QuartzComponent[]
|
||||
left: QuartzComponent[]
|
||||
right: QuartzComponent[]
|
||||
footer: QuartzComponent
|
||||
footer: QuartzComponent[]
|
||||
frame?: string
|
||||
}
|
||||
|
||||
@@ -329,7 +329,7 @@ export function renderPage(
|
||||
afterBody,
|
||||
left,
|
||||
right,
|
||||
footer: Footer,
|
||||
footer,
|
||||
frame: frameName,
|
||||
} = components
|
||||
const Body = BodyConstructor()
|
||||
@@ -360,7 +360,7 @@ export function renderPage(
|
||||
afterBody,
|
||||
left,
|
||||
right,
|
||||
footer: Footer,
|
||||
footer,
|
||||
}),
|
||||
]}
|
||||
</Body>
|
||||
|
||||
Reference in New Issue
Block a user