port to use the new PageLayout component.