How to set up Next.js while keeping static header/footer?

A little confused setting this up in next.js while keeping a static header/footer. Here’s a sandbox of my setup:

In Studio, const inEditor = useContext(PlasmicCanvasContext); is always false - so I get a wacky layout. Does anybody have a better example of how to do this?

Hello @efficient_pelican! This inEditor seems right.:thinking_face:
Sent a DM to collect more info