Navigation:

Index Body

This body component is always rendered as `mainBody` wrapped in layout component. It is never rendered in modal because this example strictly defines that only post page can be rendered in modal.// See _app.ts file:
const renderAsSlave = router.pathname === '/posts/[id]'

Elements border-colors:
  • Component Layout
  • Component Dialog
  • Page Index
  • Page About
  • Page Post
Feel free to explore the code: https://github.com/svobik7/next-bodies